
/*-----------------------Navigation------------*/
:root {
  --blue-desaturated: #6D85A8;
  --blue-darker: #4A5E7A;
  --bright-yellow: #FAC60A;

  --text: #223044;
  --muted: rgba(34, 48, 68, 0.72);
  --surface: rgba(255, 255, 255, 0.78);
  --surface-solid: #ffffff;
  --border: rgba(34, 48, 68, 0.10);
  --shadow: 0 18px 45px rgba(74, 94, 122, 0.14);

  --radius: 16px;
  --radius-pill: 999px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}




* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #ffffff;
  color: #333;
  line-height: 1.6;
}












/* Navbar Base */
#navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--surface);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

.nav-container {
  width: min(1200px, 92%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Logo */
.logo {
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.logo span {
  color: var(--blue-darker);
  position: relative;
}

.logo span::after {
  content: "";
  display: block;
  height: 3px;
  width: 100%;
  border-radius: 6px;
  margin-top: 4px;
  background: linear-gradient(90deg, var(--bright-yellow), rgba(250, 198, 10, 0.35));
  opacity: 0.9;
}

/* Menu (desktop) */
.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 10px;
  border-radius: 12px;
  position: relative;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

.nav-link:hover {
  color: var(--text);
  background: rgba(74, 94, 122, 0.06);
}

/* subtle underline indicator */
.nav-link::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background: var(--bright-yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
  opacity: 0.9;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

/* Accessible focus */
.nav-link:focus-visible,
.btn-nav-primary:focus-visible,
.menu-toggle:focus-visible,
.dropdown a:focus-visible {
  outline: 0px solid rgba(250, 198, 10, 0.45);
  outline-offset: 3px;
  border-radius: 12px;
}

/* Dropdown */
.has-sub { position: relative; }

.utilities-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.caret {
  width: 8px;
  height: 8px;
  border-right: 2px solid rgba(34, 48, 68, 0.55);
  border-bottom: 2px solid rgba(34, 48, 68, 0.55);
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
  margin-top: -2px;
}

.has-sub:hover .caret,
.has-sub.is-open .caret {
  transform: rotate(-135deg);
  border-color: rgba(34, 48, 68, 0.75);
}

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 200px;

  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: var(--radius);

  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.has-sub:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.has-sub.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.92rem;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}

.dropdown a:hover {
  background: rgba(74, 94, 122, 0.06);
  color: var(--blue-darker);
  transform: translateX(2px);
}

/* Start Course Button */
.btn-nav-primary {
  background-color: var(--bright-yellow);
  color: #ffffff !important;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
  border: 0px solid var(--blue-darker);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  white-space: nowrap;
}

.btn-nav-primary:hover {
  background-color: var(--bright-yellow);
  border-color: var(--bright-yellow);
  color: var(--surface-solid);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(250, 198, 10, 0.22);
}

/* Menu toggle (hamburger) */
.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 10px;
  border-radius: 12px;
}

.menu-toggle .bar {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: rgba(34, 48, 68, 0.8);
  border-radius: 999px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

/* animate to X when active */
.menu-toggle.is-active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
.menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.22);
  backdrop-filter: blur(2px);
  z-index: 1050;
}

/* Mobile drawer */
@media (max-width: 968px) {
  body { overflow-x: hidden; }

  .menu-toggle { display: inline-flex; }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(380px, 82%);
    height: 100vh;
    background: var(--surface-solid);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 6px;

    padding: 84px 18px 18px;
    border-left: 1px solid var(--border);
    box-shadow: -16px 0 40px rgba(0,0,0,0.08);
    z-index: 1100;

    transition: right 0.45s var(--ease);
  }

  .nav-menu.active { right: 0; }

  .nav-link {
    padding: 12px 12px;
    border-radius: 14px;
  }

  .nav-link::after {
    left: 12px;
    right: 12px;
    bottom: 8px;
  }

  /* dropdown becomes inline section on mobile */
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    background: transparent;
    padding: 0 0 0 6px;
    margin-top: 2px;
    display: none;
  }

  .has-sub.is-open .dropdown {
    display: flex;
  }

  .dropdown a {
    background: rgba(74, 94, 122, 0.04);
  }

  .btn-nav-primary {
    margin-top: 10px;
    width: 100%;
    padding: 12px 18px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}










/*--------------Footer---------------*/
/* Footer Container */
.main-footer {
  background-color: #0d1c2b;
  padding: 100px 0 50px;
  border-top: 1px solid #e2e8f0;
  font-family: 'Inter', sans-serif;
  color: #333c49;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

/* Typography & Links */
.footer-column h4 {
  color: #739ad8;
  margin-bottom: 20px;
  font-size: 1.1rem;
  font-weight: 700;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  text-decoration: none;
  color: #64748b;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: var(--accent-color);
}

/* Brand Section */
.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  text-decoration: none;
  color: #e2e8f0;
  display: block;
  margin-bottom: 15px;
}

.footer-logo span { color: #5c7fac; font-weight: 400; }

/* Newsletter Form */
.footer-form {
  display: flex;
  margin-top: 15px;
}

.footer-form input {
  padding: 10px 15px;
  border: 1px solid #cbd5e1;
  border-radius: 6px 0 0 6px;
  outline: none;
  width: 100%;
}

.footer-form button {
  background: #1e293b;
  color: white;
  border: none;
  padding: 0 20px;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
}

/* SDG Section (The colorful part from your image) */
.sdg-section {
  text-align: center;
  padding: 40px 0;
  border-top: 1px solid #e2e8f0;
}

.sdg-text {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #94a3b8;
  margin-bottom: 20px;
}

.sdg-icon-row {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.sdg-icon-box {
  width: 45px;
  height: 45px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.sdg-icon-box:hover { transform: scale(1.1); }

.sdg-icon-box.blue   { background-color: #00add8; }
.sdg-icon-box.orange { background-color: #f39200; }
.sdg-icon-box.red    { background-color: #e5243b; }
.sdg-icon-box.green  { background-color: #4c9f38; }

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 0.85rem;
  color: #94a3b8;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-form { justify-content: center; }
  .sdg-icon-row { flex-wrap: wrap; }
}




/*----------------Counselling Section-----------------*/



/* Assumes your existing :root variables exist (blue/yellow). Adds a few neutrals. */
:root{
  --text: #223044;
  --muted: rgba(34, 48, 68, 0.72);
  --border: rgba(34, 48, 68, 0.10);
  --shadow: 0 18px 45px rgba(74, 94, 122, 0.14);
  --radius: 22px;
  --radius-lg: 28px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}



.counselling-section {
    margin: 50px 20%;
}

/* Section intro polish */
.section-intro{
  max-width: 720px;
  margin: 0 auto 28px;
  text-align: center;
}


.tagline{
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
  color: var(--text);
}

.description{
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

/* Bento grid */
.counselling-bento{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.bento-card{
  grid-column: span 6;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.9);
  box-shadow: 0 10px 22px rgba(0,0,0,0.04);
  overflow: hidden;
  position: relative;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.bento-card::before{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(900px 220px at 30% 0%, rgba(250,198,10,0.22), transparent 55%);
  opacity: 0.0;
  transition: opacity 0.35s var(--ease);
  pointer-events:none;
}

.bento-card:hover{
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.bento-card:hover::before{
  opacity: 1;
}

.bento-card.featured{
  grid-column: span 12;
}

.card-content{
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 220px;
}

.card-top{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
}

.icon-circle{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.65);
}

.icon-circle img{
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.pill{
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--blue-darker);
  background: rgba(74, 94, 122, 0.08);
  border: 1px solid rgba(74, 94, 122, 0.14);
  padding: 8px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.card-title{
  margin: 0;
  color: var(--text);
  font-size: 1.25rem;
  letter-spacing: -0.015em;
}

.card-text{
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.98rem;
}

.card-actions{
  margin-top: auto;
  display:flex;
  align-items:center;
  justify-content:flex-start;
}

/* Tint variants */
.yellow-tint{
  background: linear-gradient(180deg, rgba(250,198,10,0.12), rgba(255,255,255,0.92));
}
.blue-tint{
  background: linear-gradient(180deg, rgba(109,133,168,0.14), rgba(255,255,255,0.92));
}
.grey-tint{
  background: linear-gradient(180deg, rgba(15,23,42,0.06), rgba(255,255,255,0.92));
}
.blue-bg{
  background: linear-gradient(180deg, rgba(74,94,122,0.16), rgba(255,255,255,0.92));
}

.yellow-tint:hover { border-color: rgba(250,198,10,0.65); }
.blue-tint:hover { border-color: rgba(109,133,168,0.65); }
.grey-tint:hover { border-color: rgba(34,48,68,0.28); }
.blue-bg:hover { border-color: rgba(74,94,122,0.45); }

/* Buttons: unified system */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.btn:focus-visible{
  outline: 3px solid rgba(250,198,10,0.45);
  outline-offset: 3px;
}

.btn-primary{
  background: var(--blue-darker);
  border-color: var(--blue-darker);
  color: #fff;
  padding: 14px 22px;
}

.btn-primary:hover{
  background: var(--bright-yellow);
  border-color: var(--bright-yellow);
  color: var(--blue-darker);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(250,198,10,0.22);
}

.btn-outline{
  background: transparent;
  border-color: rgba(34,48,68,0.18);
  color: var(--text);
}

.btn-outline:hover{
  border-color: rgba(250,198,10,0.55);
  background: rgba(250,198,10,0.10);
  transform: translateY(-2px);
}

.btn-ghost{
  background: rgba(74,94,122,0.06);
  border-color: rgba(74,94,122,0.10);
  color: var(--text);
}

.btn-ghost:hover{
  background: rgba(74,94,122,0.10);
  transform: translateY(-2px);
}

/* Modal (no display toggling; uses hidden + opacity/transform) */
.modal-overlay{
  position: fixed;
  inset: 0;
  background: rgba(30, 41, 59, 0.55);
  backdrop-filter: blur(10px);
  z-index: 1200;

  display: grid;
  place-items: center;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s var(--ease);
}

.modal-overlay.active{
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog{
  width: min(560px, 92%);
  background: rgba(255,255,255,0.96);
  border: 1px solid var(--border);
  border-radius: 30px;
  box-shadow: var(--shadow);
  padding: 26px;

  transform: translateY(14px) scale(0.985);
  transition: transform 0.28s var(--ease);
}

.modal-overlay.active .modal-dialog{
  transform: translateY(0) scale(1);
}

.modal-head{
  text-align: center;
  padding: 8px 12px 0;
}

#modalTitle{
  margin: 0;
  font-size: 1.35rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.modal-accent{
  width: 64px;
  height: 4px;
  background: var(--bright-yellow);
  margin: 16px auto 8px;
  border-radius: 999px;
}

#modalDescription{
  margin: 10px auto 0;
  max-width: 46ch;
  text-align: center;
  color: var(--muted);
  line-height: 1.75;
}

.modal-actions{
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.close-modal{
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(34,48,68,0.12);
  background: rgba(255,255,255,0.85);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.close-modal:hover{
  transform: rotate(8deg);
  background: rgba(250,198,10,0.10);
}

/* Responsive */
@media (max-width: 980px){
  .bento-card{ grid-column: span 12; }
  .bento-card.featured{ grid-column: span 12; }
}

@media (prefers-reduced-motion: reduce){
  *{ transition: none !important; }
}


/*-----------------Counselling Page Ends-------------------*/





