/* Default (Light) Mode Styles */
body {
    background-color: white;
    color: black;
}

.navbar {
    background-color: #f8f9fa; /* Light background for the navbar */
}

/* Dark Mode Styles */
body.night-mode {
    background-color: #2c2c2c !important; /* Dark grey background for the body */
    color: #ffffff !important; /* White text by default */
}

body.night-mode .navbar {
    background-color: #1f1f1f; /* Slightly darker background for navbar */
}

body.night-mode .navbar-brand-2 h1 {
    color: #3399ff; /* Logo color blue for the title */
}

body.night-mode footer {
    background-color: #1a1a1a; /* Darker footer background */
    color: #aaaaaa; /* Soft grey footer text */
}

/* Links or clickable text in night mode */
body.night-mode .presimulare span {
    color: white;
}

/* Button Styles in Night Mode */
body.night-mode #nightModeToggle {
    background-color: #3399ff; /* Blue background for night mode toggle button */
    color: #ffffff; /* White text for the button */
    border: none;
    padding: 8px 16px;
    cursor: pointer;
}

/* Navbar text (links) */
body.night-mode .navbar-nav .nav-link {
    color: #ffffff; /* White text for navbar links */
}

body.night-mode .navbar-nav .nav-link:hover {
    color: #3399ff; /* Blue hover effect for links */
}

/* Specific text or content for better readability */
body.night-mode h1, body.night-mode h2, body.night-mode h3, body.night-mode p {
    color: #ffffff; /* White text for headings and paragraphs */
}

body.night-mode .presimulare label {
    color: #3399ff; /* Blue for checkboxes labels */
}

body.night-mode .presimulare span {
    color: #ffffff; /* White for countdown and other span text */
}

/* Resources Section: card styles */
body.night-mode .card {
    background-color: #3a3a3a; /* Dark background for cards */
    color: #ffffff; /* White text */
}

body.night-mode .card-title {
    color: #3399ff; /* Blue color for card titles */
}




/* Night Mode Styles for the Card */
body.night-mode .card {
    background-color: #3a3a3a !important;
    color: #ffffff; /* White text for better contrast */
    border: 1px solid #444; /* Optional: Adds a subtle border */
}

body.night-mode .card-title {
    color: #3399ff; /* Blue color for card titles */
}

body.night-mode .card-text {
    color: #080808; /* Lighter grey for card text */
}

/* Button Styles inside Card */


body.night-mode .card .btn:hover {
    background-color: #2670d5; /* Darker blue when hovering */
}


/* Night Mode Styles for Tables */
body.night-mode table {
    background-color: #333; /* Dark background for the entire table */
    color: #ffffff; /* White text for better contrast */
    border-collapse: collapse; /* Ensures borders are collapsed together */
    width: 100%; /* Ensure table takes up full width */
}

body.night-mode table th, 
body.night-mode table td {
    padding: 12px 15px; /* Adds padding for spacing inside cells */
    border: 1px solid #444; /* Light border for a subtle contrast */
}

body.night-mode table th {
    background-color: #555; /* Darker background for table headers */
    color: #ffffff; /* White text for header */
    text-align: left; /* Align headers to the left */
}

body.night-mode table td {
    background-color: #3a3a3a; /* Dark gray background for table data */
    color: #cccccc; /* Lighter text color for table data */
}

/* Hover effect for table rows */
body.night-mode table tr:hover {
    background-color: #555; /* Slightly lighter background for rows when hovered */
}

/* Table Links */


body.night-mode table a:hover {
    text-decoration: underline; /* Underline links on hover */
}

/* Dark Mode Styles for Hero Section */
body.night-mode .hero {
    background-color: #1e1e1e; /* Dark background */
    background-image: none; /* Remove grid background */
    color: white; /* Change text color */
}

body.night-mode .hero p {
    color: #f0f0f0; /* Lighter text color */
}

body.night-mode .hero .buttons button {
    background: #333; /* Darker button background */
    color: white; /* Button text color */
}

body.night-mode .hero .buttons button:hover {
    background: #555; /* Slightly lighter on hover */
}


/* Light Mode (Default) */
#timeUntilMay22, #timeUntilMarch9 {
    font-size: 26px;
    color: #333; /* Default dark grey */
    margin-left: 40px;
}
    
/* Dark Mode Styles */
body.night-mode #timeUntilMay22,
body.night-mode #timeUntilMarch9 {
    color: #ffffff !important; /* White text for better contrast */
}
/* =============================== */
/* SUBMED ROADMAP – IZOLAT TOTAL */
/* =============================== */

.submed-roadmap-section {
  margin-top: 80px;
  margin-bottom: 80px;
}

/* Title – folosim titlu-sectiune deja existent */

/* FEATURE CARDS */
.submed-features-grid {
  margin-top: 40px;
}

.submed-feature-card {
  background: #fff;
  border: 2px solid #ececec;
  padding: 30px 25px;
  height: 100%;
  transition: 0.2s ease;
}

.submed-feature-card:hover {
  border-color: #407BFF;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(64,123,255,0.12);
}

.submed-feature-icon {
  font-size: 2rem;
  margin-bottom: 15px;
  display: block;
}

.submed-feature-card h5 {
  font-weight: 700;
  margin-bottom: 10px;
}

.submed-feature-card p {
  font-size: 0.9rem;
  color: #5a5a6a;
  margin-bottom: 12px;
}

.submed-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  text-transform: uppercase;
  background: #407BFF;
  color: white;
}

.submed-badge.soon {
  background: #ddd;
  color: #777;
}

/* TIMELINE */
.submed-timeline {
  position: relative;
  margin-top: 50px;
  padding-left: 30px;
  border-left: 3px solid #407BFF;
}

.submed-timeline-item {
  position: relative;
  margin-bottom: 50px;
}

.submed-timeline-item::before {
  content: '';
  position: absolute;
  left: -41px;
  top: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ccc;
}

.submed-timeline-item.done::before {
  background: #22c55e;
}

.submed-timeline-item.active::before {
  background: #407BFF;
}

.submed-phase {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: #407BFF;
}

.submed-phase.done-phase {
  color: #22c55e;
}

.submed-date {
  font-size: 0.8rem;
  color: #888;
  display: block;
  margin-top: 10px;
}

/* Responsive fix */
@media (max-width: 768px) {
  .submed-timeline {
    padding-left: 20px;
  }

  .submed-timeline-item::before {
    left: -31px;
  }
}
/* Stiluri pentru Secțiunile de sub Hero */
.landing-content {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    padding: 60px 0;
}

.section-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--primary);
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.section-headline {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 40px;
}

/* --- CARDURI BENEFICII (DASHBOARD LOOK) --- */
.feature-box {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(226, 224, 216, 0.8);
    border-radius: 10px; /* Mai puțin rotunjit */
    padding: 35px;
    height: 100%;
    transition: all 0.3s ease;
}

.feature-box:hover {
    border-color: var(--primary);
    background: white;
    transform: translateY(-3px);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    display: block;
}

/* --- UNIVERSITĂȚI (STILUL TĂU CU IMAGINI) --- */
.uni-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.uni-link-card {
    position: relative;
    height: 280px;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    display: block;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.uni-link-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.uni-link-card:hover img {
    transform: scale(1.05);
}

.uni-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
}

.uni-overlay h4 {
    color: white;
    font-weight: 700;
    margin: 0;
    font-size: 1.1rem;
}

.uni-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    color: white;
    padding: 5px 12px;
    border-radius: 5px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    font-weight: 700;
}

/* --- ROADMAP / TIMELINE --- */
.roadmap-shell {
    margin-top: 80px;
    border-left: 2px solid rgba(200, 198, 188, 0.5);
    padding-left: 30px;
    position: relative;
}

.roadmap-item {
    background: white;
    border: 1px solid rgba(226, 224, 216, 0.8);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    position: relative;
}

.roadmap-item::before {
    content: '';
    position: absolute;
    left: -37px;
    top: 30px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #c8c6bc;
    border: 3px solid var(--background);
}

.roadmap-item.active { border-left: 4px solid var(--primary); }

.roadmap-item.active::before { background: var(--primary); }

.roadmap-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    background: #f0efe9;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 700;
    margin-top: 10px;
    display: inline-block;
}
.roadmap-tag-2 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    background: #f0efe9;
    color: yellow;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 700;
    margin-top: 10px;
    display: inline-block;
    animation: pulse 2s infinite;
}