
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: '__Source_Sans_3_58d470', '__Source_Sans_3_Fallback_58d470';
  background: #fff;
  color: #1a1a2e;
  overflow-x: hidden;
}

/* ========== NAVBAR ========== */
.navbar {
  background: #fff;
  border-bottom: 1px solid #e8ecf0;
  height: 84px;
  display: flex;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 36px;
  gap: 0;
  font-family: 'Instrument Sans', 'Poppins', sans-serif;
}

/* ── Logo ── */
.nav-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo img {
  height: 65px;
  width: auto;
  display: block;
  margin-left: 60px;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.nav-logo-name {
  font-size: 16px;
  font-weight: 500;
  color: #111827;
  line-height: 1.1;
  letter-spacing: -0.1px;
  font-family: 'Instrument Sans', 'Poppins', sans-serif;
}
.nav-logo-sub {
  font-size: 12px;
  font-weight: 400;
  color: #000000;
  letter-spacing: 0.1px;
  white-space: nowrap;
  line-height: 1;
  font-family: 'Instrument Sans', 'Poppins', sans-serif;
}

/* ── Nav links ── */
.nav-links {
  display: flex;
  gap: 2px;
  list-style: none;
  align-items: center;
  margin-left: 10px;
}
.nav-links > li > a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: #000000;
  transition: color .18s;
  padding: 19px 16px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'Instrument Sans', 'Poppins', sans-serif;
  letter-spacing: 0.01em;
}
.nav-links > li > a.active { color: #1565c0; font-weight: 600; }
.nav-links > li > a:hover  { color: #1565c0; background: #f5f8ff; }

/* ── Nav separator ── */
.nav-divider {
  color: #000000;
  font-size: 18px;
  font-weight: 300;
  padding: 0 20px;
  line-height: 1;
  align-self: center;
  user-select: none;
  flex-shrink: 0;
}

/* ── Dropdown chevron — SVG ── */
.nav-dropdown > a .nav-chevron {
  width: 13px; height: 13px;
  transition: transform .22s;
  flex-shrink: 0;
  color: #000000;
  stroke-width: 2;
}
.nav-dropdown:hover > a .nav-chevron { transform: rotate(180deg); color: #1565c0; }

/* ── Dropdown menu ── */
.nav-dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  border: 1px solid #e8ecf0;
  padding: 8px 0;
  min-width: 220px;
  z-index: 999;
  list-style: none;
}
.dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 500;
  color: #000000;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.dropdown-menu li a:hover { background: #f0f6ff; color: #1565c0; }
.nav-dropdown:hover .dropdown-menu { display: block; }

/* ── Career Quiz (mobile nav only, hidden desktop) ── */
.nav-quiz-mobile { display: none; }

/* ── Action buttons ── */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  margin-left: auto;
}

/* Career Quiz button */
.btn-career-quiz {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #1565c0;
  border: 1.5px solid #1565c0;
  border-radius: 8px;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Instrument Sans', 'Poppins', sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s;
  white-space: nowrap;
  line-height: 1;
}
.btn-career-quiz img { width: 18px; height: 18px; object-fit: contain; }
.btn-career-quiz:hover { background: #eff6ff; }

/* Talk To Mentor button */
.btn-talk-mentor {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1565c0;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Instrument Sans', 'Poppins', sans-serif;
  text-decoration: none;
  transition: background .18s;
  white-space: nowrap;
  line-height: 1;
}
.btn-talk-mentor img { width: 18px; height: 18px; object-fit: contain; filter: brightness(0) invert(1); }
.btn-talk-mentor:hover { background: #0d47a1; color: #fff; }

/* WhatsApp — plain icon + text, no background */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 0;
  padding: 0;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity .18s;
  margin-left: 12px;
}
.btn-whatsapp img { width: 40px; height: 40px; object-fit: contain; flex-shrink: 0; }
.btn-whatsapp-text {
  font-size: 16px;
  font-weight: 500;
  color: #111827;
  font-family: 'Instrument Sans', 'Poppins', sans-serif;
  white-space: nowrap;
  line-height: 1;
}
.btn-whatsapp:hover { opacity: 0.75; }

/* ── Mobile-only elements — hidden on desktop ── */
.mob-close-row,
.mob-actions { display: none; }

/* =====================================
   MOBILE RESPONSIVE
===================================== */
.mobile-menu-btn { display: none; }

@media (max-width: 991px) {

  /* Navbar bar */
  .navbar {
    padding: 0 16px;
    height: 64px;
    flex-wrap: nowrap;
    align-items: center;
    position: relative;
    /* No z-index here — prevents stacking context that traps the overlay inside it */
  }

  /* Hamburger — leftmost */
  .mobile-menu-btn {
    display: block;
    order: -1;
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: #111827;
    padding: 8px 10px 8px 0;
    line-height: 1;
    flex-shrink: 0;
    margin-left: 5px;
  }

  /* Logo — show text on mobile */
  .nav-logo { order: 0; gap: 8px; }
  .nav-logo img { height: 46px; margin-left:5px; }
  .nav-logo-text { display: flex; }
  .nav-logo-name { font-size: 13px; }
  .nav-logo-sub { display: none; }

  /* Actions — pushed right */
  .nav-actions { order: 1; margin-left: auto; gap: 8px; }
  .nav-divider { display: none; }

  /* Mobile header: Career Quiz (small outline) + WhatsApp circle */
  .btn-career-quiz {
    display: inline-flex;
    padding: 6px 10px;
    font-size: 11px;
    border-radius: 6px;
    gap: 4px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .btn-career-quiz img { width: 12px; height: 12px; }
  .btn-talk-mentor { display: none; }
  .btn-whatsapp { display: inline-flex; margin-left: 0; flex-shrink: 0; }
  .btn-whatsapp-text { display: none; }
  .btn-whatsapp img { width: 30px; height: 30px; }

  /* ── Full-screen mobile nav overlay ── */
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #fff;
    z-index: 9999;
    flex-direction: column;
    padding: 0;
    gap: 0;
    margin: 0;
    width: 100%;
    overflow-y: auto;
  }
  .navbar.mobile-open .nav-links { display: flex; }
  .nav-links li { width: 100%; }

  /* Close row — top of overlay */
  .mob-close-row {
    display: flex !important;
    justify-content: flex-end;
    align-items: center;
    padding: 10px 16px;
    border-bottom: 1px solid #f3f4f6;
    flex-shrink: 0;
    min-height: 44px;
  }
  .mob-close-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #111827;
    line-height: 1;
    padding: 4px 6px;
    font-weight: 400;
  }

  /* Nav items */
  .nav-links > li > a {
    display: flex;
    font-size: 16px;
    font-weight: 500;
    padding: 18px 24px;
    border-radius: 0;
    border-bottom: 1px solid #f0f2f5;
    background: none !important;
    justify-content: space-between;
    align-items: center;
    color: #111827;
  }

  /* Hide old mobile quiz item */
  .nav-quiz-mobile { display: none !important; }

  /* Mobile dropdowns */
  .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0;
    min-width: 0;
    display: none;
    background: #f8fafc;
    top: auto;
  }
  .dropdown-menu li a {
    font-size: 14px;
    padding: 13px 24px 13px 40px;
    color: #4b5563;
    white-space: normal;
    border-bottom: 1px solid #f0f0f0;
  }
  .dropdown-menu li:last-child a { border-bottom: none; }
  .nav-dropdown.mobile-open > a .nav-chevron { transform: rotate(180deg); color: #1565c0; }
  .nav-dropdown.mobile-open .dropdown-menu { display: block; }

  /* Action buttons — directly below nav items */
  .mob-actions {
    display: flex !important;
    flex-direction: column;
    gap: 12px;
    padding: 20px 20px 32px;
    margin-top: 0;
    border-top: 1px solid #f3f4f6;
    flex-shrink: 0;
  }
  .mob-btn-mentor {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #1565c0;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 15px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Instrument Sans', 'Poppins', sans-serif;
    cursor: pointer;
    width: 100%;
  }
  .mob-btn-mentor img { width: 18px; height: 18px; object-fit: contain; filter: brightness(0) invert(1); }
  /* Career Quiz mobile button — force center against .nav-links > li > a overrides */
  .mob-actions .mob-btn-quiz {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    background: #fff !important;
    color: #1565c0 !important;
    border: 1.5px solid #1565c0 !important;
    border-radius: 8px !important;
    padding: 14px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    font-family: 'Instrument Sans', 'Poppins', sans-serif !important;
    text-decoration: none !important;
    width: 100% !important;
  }
  .mob-actions .mob-btn-quiz img { width: 18px; height: 18px; object-fit: contain; }
}

