/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f3f4f6;
  color: #111827;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1150px;
  margin: auto;
}

/* =========================
   NAVBAR REBUILD
   ========================= */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.8rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LEFT: Logo */
.nav-left .logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #111827;
}

.nav-left .logo img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.nav-left .logo span {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

/* CENTER: Desktop Links */
.nav-center {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-center a {
  text-decoration: none;
  color: #4b5563;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-center a:hover {
  color: #2563eb;
}

/* RIGHT: Socials + Join */
.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-socials {
  display: flex;
  gap: 1rem;
}

.nav-socials a {
  color: #6b7280;
  font-size: 1.2rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-socials a:hover {
  color: #2563eb;
  transform: translateY(-2px);
}

.join-btn {
  background: #2563eb;
  color: white;
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.join-btn:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(37, 99, 235, 0.3);
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #111827;
  border-radius: 2px;
  transition: 0.3s;
}

/* MOBILE MENU PANEL */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: #ffffff;
  z-index: 2000;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  padding: 2rem;
}

.mobile-menu.show {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.mobile-menu-header .logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-menu-header .logo img {
  width: 35px;
}

.close-menu {
  background: none;
  border: none;
  font-size: 2rem;
  color: #6b7280;
  cursor: pointer;
  line-height: 1;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-links a {
  text-decoration: none;
  color: #111827;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f3f4f6;
}

.mobile-join-btn {
  margin-top: 1rem;
  background: #2563eb;
  color: white !important;
  text-align: center;
  padding: 0.8rem !important;
  border-radius: 12px;
  border-bottom: none !important;
}

/* OVERLAY */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .nav-center {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  .nav-socials {
    display: none;
  }
}

@media (max-width: 480px) {
  .nav-left .logo span {
    font-size: 0.9rem;
  }
  
  .nav-left .logo img {
    width: 32px;
    height: 32px;
  }
  
  .join-btn {
    display: none;
  }
  
  .mobile-menu {
    width: 85%;
  }
}

body.menu-open {
  overflow: hidden;
}

/* HERO */
.hero {
  padding: 4rem 0;
  background: radial-gradient(circle at top left, #e0ebff, #ffffff 60%);
  position: relative;
  overflow: hidden
}
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* hide the existing big preview box if you don't want to delete HTML yet */
.hero .hero-preview { display: none !important; }

/* strengthen overlay so text shows clearly */
.hero .video-overlay {
  background: rgba(2,6,23,0.55); /* darker: change alpha 0.45->0.65 to taste */
  z-index: 1;
}

/* ensure hero text content sits above overlay */
.hero .hero-content {
  position: relative;
  z-index: 3; /* must be higher than overlay */
}

/* headline and lead styling for excellent contrast */
.hero .hero-content h1,
.hero .hero-content .lead {
  color: #ffffff;                /* bright white text */
  text-shadow: 0 6px 20px rgba(0,0,0,0.55); /* soft dark glow for legibility */
}

/* headline size tweak if needed */
.hero .hero-content h1 { font-weight:700; font-size:2.6rem; }

/* lead paragraph slightly translucent white (keeps readable) */
.hero .hero-content .lead { color: rgba(255,255,255,0.92); line-height:1.6; }

/* smaller CTA buttons on dark background (invert if needed) */
.hero .hero-buttons .btn-primary { background: #0b5ed7; color: #fff; }
.hero .hero-buttons .btn-outline { border-color: rgba(255,255,255,0.7); color: rgba(255,255,255,0.95); }

/* small top-right logo in hero */
.hero-small-logo {
  position: absolute;
  top: 14px;          /* tweak to align with header */
  right: 18px;
  width: 64px;        /* smaller size */
  height: 64px;
  object-fit: contain;
  border-radius: 6px; /* optional */
  background: rgba(255,255,255,0.95); /* white card for logo contrast */
  padding: 6px;
  box-shadow: 0 8px 20px rgba(2,6,23,0.18);
  z-index: 4;
}

/* on small screens reduce size and avoid overlap */
@media (max-width: 720px) {
  .hero-small-logo { width:48px; height:48px; top:10px; right:12px; padding:5px; }
  .hero .hero-content h1 { font-size:1.6rem; }
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35); /* dark overlay to reduce brightness */
}

.hero-video {
  animation: slowVid 1s linear forwards;
  /* this only ensures smooth start; not required */
}
@media (prefers-reduced-motion: no-preference) {
  .hero-video {
    /* Slow motion: 0.5 means half-speed, 0.3 means very slow */
    --playback: 0.45;
  }
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.hero-text {
  flex: 1 1 320px;
  animation: fadeUp 0.8s ease-out;
}

.hero-text h1 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.hero-text p {
  max-width: 520px;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.hero-buttons {
  display: flex;
  gap: 0.8rem;
}

.btn-primary {
  background: #1d4ed8;
  padding: 0.65rem 1.3rem;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  transition: 0.2s;
}

.btn-primary:hover {
  background: #163ea6;
}

.btn-outline {
  border: 1px solid #1d4ed8;
  padding: 0.65rem 1.3rem;
  border-radius: 999px;
  text-decoration: none;
  color: #1d4ed8;
}

.btn-outline:hover {
  background: #e3ecff;
}

.hero-image {
  flex: 1 1 260px;
  animation: fadeIn 1s ease-out;
}

.hero-logo {
  width: 260px;
  animation: float 4s infinite, fadeIn 1s ease-out;
  margin: auto;
}

.hero-placeholder {
  padding: 4rem 2rem;
  border-radius: 1.25rem;
  border: 1px dashed #bcd3ff;
  background: #f9fafb;
  text-align: center;
  animation: float 4s infinite;
  color: #6b7280;
}

/* GENERAL SECTION */
.section {
  padding: 3rem 0;
}

.section-alt {
  background: #daebff;
}

.section-highlight {
  text-align: center;
  background: #1d4ed8;
  color: white;
  padding: 3rem 0;
}

.section h2 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 1.9rem;
}

.section-intro {
  max-width: 650px;
  margin: auto;
  text-align: center;
  margin-bottom: 2rem;
  color: #4b5563;
}

/* CARDS */
.card-grid,
.about-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card {
  background: white;
  padding: 1.4rem;
  border-radius: 0.9rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: 0.2s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

/* LEADERS */
.leader-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.leader-photo {
  width: 96px;
  height: 96px;
  margin: 0 auto 0.75rem;
  border-radius: 999px;
  overflow: hidden;
  border: 3px solid #dbeafe;
  background: #f3f4f6; /* fallback while image loads */
  display: flex;
  align-items: center;
  justify-content: center;
}

.leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.leader-card {
  text-align: center;
  background: white;
  padding: 1.4rem;
  border-radius: 0.9rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: 0.2s;
}

.leader-card:hover {
  transform: translateY(-5px);
}

.placeholder-photo {
  width: 90px;
  height: 90px;
  background: #e5e7eb;
  border-radius: 50%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* GALLERY */
.gallery-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.gallery-item {
  height: 120px;
  background: #e6e8ec;
  border-radius: 0.8rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ===== Premium CTA styles ===== */
.cta-premium { position: relative; overflow: visible; padding: 60px 0 0; background: linear-gradient(135deg,#0b5ed7 0%, #163cff 48%, #0b2bd6 100%); color:#fff; }
.cta-premium .cta-bg { position:absolute; inset:0; top:-30px; z-index:0; opacity:0.98; pointer-events:none; }
.cta-premium .cta-wave { position:absolute; left:0; bottom:-1px; width:100%; height:70px; }

/* layout */
.cta-wrap { display:flex; gap:28px; align-items:center; justify-content:space-between; position:relative; z-index:2; padding:48px 16px; }
@media (max-width:920px){ .cta-wrap { flex-direction:column; text-align:center } .cta-right{ order:-1 } }

/* left */
.cta-left { flex:1; max-width:760px; text-align:left; }
@media (max-width:920px) { .cta-left{text-align:center} }

.cta-left h2 { margin:0 0 12px; font-size:36px; font-weight:800; letter-spacing:-0.02em; color:#fff; text-shadow:0 10px 30px rgba(2,6,23,0.35); }
.cta-left .lead { color: rgba(255,255,255,0.92); font-size:16px; margin-bottom:18px; line-height:1.6; }

/* benefits */
.benefits { display:flex; gap:12px; margin:18px 0 10px; list-style:none; padding:0 }
@media (max-width:720px){ .benefits{ flex-direction:column; align-items:center } }
.benefit-card { background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03)); border-radius:12px; padding:14px 16px; min-width:200px; box-shadow: 0 8px 20px rgba(2,6,23,0.12); color:#fff; display:flex; gap:10px; align-items:flex-start; flex-direction:column; text-align:left; transition: transform .28s ease; }
.benefit-card strong{ display:block; font-size:15px; margin-bottom:4px }
.benefit-card span{ display:block; font-size:13px; color:rgba(255,255,255,0.85) }
.benefit-card:hover{ transform: translateY(-6px) }

/* inline icons */
.benefit-icon{ width:36px;height:36px; flex:0 0 36px; }

/* actions */
.cta-actions{ margin-top:18px; margin-bottom:45px; display:flex; gap:12px; align-items:center }
.cta-primary { background:#fff;color:#0b5ed7;padding:12px 22px;border-radius:28px;font-weight:700;text-decoration:none;box-shadow:0 12px 30px rgba(11,94,215,0.14);transition:transform .18s ease, box-shadow .18s ease; }
.cta-primary:focus, .cta-primary:hover { transform:translateY(-4px); box-shadow:0 18px 40px rgba(11,94,215,0.22) }
.cta-ghost { color: rgba(255,255,255,0.95); border:1px solid rgba(255,255,255,0.14); padding:10px 18px;border-radius:20px;text-decoration:none }

/* right visual card */
.cta-right { width:320px; display:flex; align-items:center; justify-content:center }
.cta-card { width:300px; border-radius:14px; overflow:hidden; background:linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03)); box-shadow: 0 30px 80px rgba(2,6,23,0.22); position:relative; padding:0; }
.cta-card-img{ display:block; width:100%; height:200px; object-fit:cover; }
.cta-card-badge{ position:absolute; bottom:12px; left:12px; background: rgba(255,255,255,0.95); color:#ffffff; padding:8px 12px; border-radius:12px; font-weight:700; box-shadow:0 8px 20px rgba(2,6,23,0.08) }

/* animations: fade-up */
.fade-up{ opacity:0; transform: translateY(16px); transition:opacity .7s ease, transform .7s ease; }
.fade-up.inview{ opacity:1; transform: translateY(0); }

/* modal */
.modal{ position:fixed; inset:0; display:none; align-items:center; justify-content:center; background: rgba(2,6,23,0.6); z-index:9999; padding:18px; }
.modal[aria-hidden="false"]{ display:flex }
.modal-inner{ background:#fff;border-radius:12px; padding:20px; max-width:520px; width:100%; box-shadow:0 30px 90px rgba(2,6,23,0.3); color:#0b1220; position:relative }
.modal-close{ position:absolute; top:12px; right:12px; background:transparent; border:none; font-size:18px; cursor:pointer }
.modal-inner h3{ margin:0 0 6px }
.modal-inner .muted{ color:#6b7280; margin-bottom:12px; }






/* CONTACT */
.contact-form {
  background: rgb(239, 248, 223);
  padding: 1.6rem;
  max-width: 500px;
  margin: auto;
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.form-group {
  margin-bottom: 1rem;
}

label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
}

input,
textarea {
  width: 100%;
  padding: 0.6rem;
  border-radius: 0.5rem;
  border: 1px solid #d1d5db;
  font-size: 0.9rem;
}

input:focus,
textarea:focus {
  border-color: #1d4ed8;
  outline: none;
}

.form-status {
  margin-top: 0.6rem;
  font-size: 0.85rem;
}


/* FOOTER */
.footer {
  padding: 1.4rem 0;
  background: #111827;
  color: #9ca3af;
  text-align: center;
}
.footer-insta {
  color: #E4405F;
  font-weight: 600;
  text-decoration: none;
  font-size: 18px;
  transition: 0.3s;
}

.footer-insta:hover {
  color: #ff5f7f;
}

/* PROFESSIONAL FOOTER STYLES */
.site-footer { background:#071028; color:rgba(255,255,255,0.92); margin-top:36px; }
.site-footer a { color:inherit; text-decoration:none; }
.container { max-width:1150px; margin:0 auto; padding:0 16px; }

/* top area */
.footer-inner { display:flex; gap:28px; align-items:flex-start; justify-content:space-between; padding:36px 16px; flex-wrap:wrap; }
.footer-brand { display:flex; gap:12px; align-items:center; min-width:240px; }
.footer-logo { width:56px; height:56px; object-fit:contain; border-radius:8px; background:#fff; padding:6px; box-shadow:0 6px 18px rgba(2,6,23,0.25); }
.footer-org { display:block; font-size:1.05rem; color:#fff; }
.footer-tag { font-size:0.92rem; color:rgba(255,255,255,0.78); }

/* nav */
.footer-nav ul { display:flex; gap:12px; flex-wrap:wrap; padding:0; margin:0; list-style:none; align-items:center; }
.footer-nav a { padding:6px 8px; color:rgba(255,255,255,0.92); transition:color .15s; }
.footer-nav a:hover, .footer-nav a:focus { color:#8ec5ff; outline:none; text-decoration:underline; }

/* contact column */
.footer-contact { min-width:240px; display:flex; flex-direction:column; gap:8px; align-items:flex-end; }
.footer-contact .contact-row { color:rgba(255,255,255,0.92); font-weight:600; }
.footer-contact a { color:inherit; }
.footer-social { margin-top:8px; display:flex; gap:10px; align-items:center; justify-content:flex-end; }
.social-link { display:inline-flex; align-items:center; justify-content:center; width:36px; height:36px; border-radius:8px; background:rgba(255,255,255,0.04); transition:transform .18s, background .18s; color:#ff6b81; font-size:16px; }
.social-link:hover { transform:translateY(-3px); background:rgba(255,255,255,0.07); color:#ff7b91; }

/* bottom strip */
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.04); background:#040814; }
.footer-bottom-inner { display:flex; justify-content:space-between; align-items:center; padding:12px 16px; gap:12px; flex-wrap:wrap; color:rgba(255,255,255,0.7); }
.footer-legal { color:rgba(255,255,255,0.7); text-decoration:underline; font-size:0.95rem; }

/* FOOTER LOGO STRIP */
.footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    margin: 38px 0 20px;
    flex-wrap: wrap;
}

.footer-logos img {
    height: 46px; /* Adjust the size here */
    width: auto;
    opacity: 0.85;
    filter: grayscale(20%);
    transition: transform 0.3s ease, opacity 0.3s ease, filter 0.3s;
}

.footer-logos img:hover {
    transform: scale(1.08);
    opacity: 1;
    filter: grayscale(0%);
}


/* --- PREMIUM PARTNER LOGO STRIP --- */
/* Pull footer logos upward (reduce large space above) */
.footer-partners {
    padding-top: 0px !important;
    margin-top: -35px !important;
    padding-bottom: 30px !important;   /* move UP */
}

/* Move logos row upward slightly */
.partners-row {
    margin-top: -10px !important;
    margin-bottom: 25px !important;
}

/* Reduce space below footer upper section */
.footer-inner {
    padding-bottom: 0px !important;
    margin-bottom: 0px !important;
}

/* Tighten spacing between footer links & logos */
.footer-inner > * {
    margin-bottom: 4px !important;
}

/* logo row */
.footer-logo-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* glass cards */
.footer-logo-card {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(6px);
    border-radius: 12px;
    padding: 4px 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.35s ease;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

/* hover effect */
.footer-logo-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 34px rgba(0,0,0,0.26);
}

/* logo images */
.footer-logo-card img {
    height: 48px;
    width: auto;
    
    transition: 0.35s ease;
    border-radius: 6px;
    
}

.footer-logo-card:hover img {
    opacity: 1;
    transform: scale(1.07);
}




/* small screens */
@media (max-width:820px) {
  .footer-inner { gap:18px; padding:28px 16px; }
  .footer-nav { order:3; width:100%; }
  .footer-contact { order:2; width:100%; align-items:flex-start; }
  .footer-brand { order:1; width:100%; }
  .footer-nav ul { justify-content:flex-start; gap:10px; margin-top:8px; }
  .footer-bottom-inner { flex-direction:column; align-items:center; text-align:center; gap:8px; }
}



/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}


.nav-toggle {
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  cursor: pointer;
}

/* Mobile */
/* Old mobile styles removed as they are now consolidated above */

@media (max-width: 768px) {
  .hero {
    padding: 2.6rem 0 2.2rem;
  }

  .hero-text h1 {
    font-size: 1.45rem;
    line-height: 1.25;
  }

  .hero-text p {
    font-size: 0.95rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .hero-buttons a {
    width: 100%;
    text-align: center;
  }
}
@media (max-width: 768px) {
  .section {
    padding: 2.2rem 0;
  }

  .card,
  .leader-card {
    padding: 1.1rem;
  }

  .section-intro {
    font-size: 0.95rem;
    margin-bottom: 1.4rem;
  }
}
@media (max-width: 768px) {
  .gallery-banner > div {
    flex-direction: column;
    text-align: left;
    padding: 16px;
  }

  .gallery-banner img {
    height: 160px !important;
    margin-top: 10px;
  }
}
@media (max-width: 768px) {
  .cta-left h2 {
    font-size: 1.6rem;
  }

  .cta-left .lead {
    font-size: 0.95rem;
  }

  .benefit-card {
    min-width: unset;
    width: 100%;
    text-align: center;
    align-items: center;
  }

  .cta-actions {
    flex-direction: column;
  }

  .cta-actions a {
    width: 100%;
    text-align: center;
  }
}
@media (max-width: 768px) {
  .contact-form {
    padding: 1.2rem;
  }

  .contact-form button {
    width: 100%;
  }
}
@media (max-width: 768px) {
  .footer-inner {
    padding: 22px 16px 10px;
    gap: 14px;
  }

  .footer-brand {
    justify-content: center;
    text-align: center;
  }

  .footer-contact,
  .footer-nav {
    align-items: center;
    text-align: center;
  }

  .footer-logo-row {
    gap: 8px;
  }

  .footer-logo-card img {
    height: 42px;
  }

  .footer-bottom-inner {
    padding: 10px 0;
  }
}
/* ===============================
   MOBILE PREMIUM OPTIMIZATION
   =============================== */
@media (max-width: 768px) {

  /* ---------- NAVBAR ---------- */
  .navbar {
    height: 64px;
  }

  .nav-content {
    padding: 0 14px;
  }

  /* Show full name instead of only SSF */
  .unit-text {
    display: inline;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
  }

  .ssf-text {
    font-size: 1.1rem;
  }

  /* Hamburger premium */
  .nav-toggle {
    font-size: 28px;
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(0,0,0,0.05);
  }

  .nav-links {
    top: 64px;
    border-radius: 0 0 14px 14px;
    gap: 14px;
  }

  .nav-links a {
    font-size: 1rem;
    padding: 10px 14px;
  }

  /* ---------- HERO ---------- */
  .hero {
    padding: 5.5rem 0 4rem;
  }

  .hero-small-logo {
    top: 72px;
    right: 14px;
    width: 44px;
    height: 44px;
    padding: 4px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-text h1 {
    font-size: 1.55rem;
    line-height: 1.3;
  }

  .hero-text p {
    font-size: 0.95rem;
    margin: 0 auto 1.4rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .hero-buttons a {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
  }

  .video-overlay {
    background: rgba(2,6,23,0.65); /* stronger contrast */
  }

  /* ---------- GALLERY TEASER ---------- */
  #gallery-teaser .container {
    padding: 2rem 0 !important;
  }

  .gallery-banner div {
    flex-direction: column;
    text-align: center;
  }

  .gallery-banner img {
    height: 120px !important;
    margin-top: 10px;
  }

  /* ---------- CONTACT ---------- */
  .contact-form {
    margin-top: 1.5rem;
    padding: 1.4rem;
  }

  .contact-form button {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
  }

  /* ---------- FOOTER ---------- */
  .site-footer {
    text-align: center;
  }

  .footer-inner {
    padding: 28px 16px 12px;
    gap: 18px;
  }

  .footer-brand {
    flex-direction: column;
    text-align: center;
  }

  .footer-logo {
    margin-bottom: 8px;
  }

  .footer-nav ul {
    justify-content: center;
  }

  .footer-contact {
    align-items: center;
  }

  .footer-social {
    justify-content: center;
  }

  /* Partner logos – premium compact grid */
  .footer-logo-row {
    gap: 10px;
    padding: 10px 0 4px;
  }

  .footer-logo-card {
    padding: 6px;
  }

  .footer-logo-card img {
    height: 42px;
  }

  .footer-bottom-inner {
    text-align: center;
  }
}
/* ===================================================
   MOBILE PREMIUM OVERRIDES (FINAL)
   Screen ≤ 768px
=================================================== */
@media (max-width: 768px) {

  /* ---------- NAVBAR ---------- */
  .nav-content {
    padding: 10px 14px;
  }

  /* move hamburger to RIGHT */
  .nav-toggle {
    position: absolute;
    right: 14px;
    top: 14px;
    font-size: 26px;
    border-radius: 10px;
    padding: 6px 10px;
    background: rgba(0,0,0,0.04);
  }

  /* logo + text alignment */
  .logo {
    gap: 8px;
  }

  .logo img {
    width: 30px;
    height: 30px;
  }

  .ssf-text {
    font-size: 1.05rem;
  }

  .unit-text {
    font-size: 0.9rem;
    font-weight: 500;
  }

  /* mobile menu panel */
  .nav-links {
    top: 60px;
    padding: 18px;
    border-radius: 0 0 16px 16px;
  }

  .nav-links a {
    font-size: 1rem;
    padding: 10px 12px;
  }

  /* ---------- HERO ---------- */
  .hero {
    padding: 2.8rem 0 3.2rem;
  }

  /* center everything clean */
  .hero-content {
    text-align: center;
    align-items: center;
  }

  /* smaller, premium heading */
  .hero-text h1 {
    font-size: 1.45rem;
    letter-spacing: 0.04em;
    margin-bottom: 0.6rem;
  }

  .hero-text p {
    font-size: 0.95rem;
    line-height: 1.55;
    max-width: 92%;
    margin: 0 auto 1.2rem;
  }

  /* CTA buttons full width & clean */
  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .hero-buttons a {
    width: 92%;
    margin: auto;
    font-size: 0.95rem;
    padding: 0.7rem 1rem;
  }

  /* hero floating logo – smaller & aligned */
  .hero-small-logo {
    width: 44px;
    height: 44px;
    top: 12px;
    right: 12px;
    padding: 4px;
  }

  /* ---------- CONTACT FORM ---------- */
  .contact-form {
    padding: 1.2rem;
    border-radius: 16px;
  }

  .contact-form button {
    width: 100%;
    font-size: 0.95rem;
  }

  /* ---------- FOOTER (PREMIUM MOBILE) ---------- */
  .site-footer {
    text-align: left;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 28px 16px 12px;
  }

  /* brand row: logo + name inline */
  .footer-brand {
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }

  .footer-logo {
    width: 42px;
    height: 42px;
  }

  .footer-org {
    font-size: 0.95rem;
  }

  .footer-tag {
    font-size: 0.82rem;
  }

  /* nav links compact */
  .footer-nav ul {
    gap: 10px;
  }

  .footer-nav a {
    font-size: 0.85rem;
  }

  /* email left, insta right */
  .footer-contact {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .footer-contact .contact-row {
    font-size: 0.85rem;
  }

  .footer-social {
    margin-top: 0;
  }

  /* partner logos tighter */
  .footer-logo-row {
    gap: 8px;
    margin-top: 10px;
  }

  .footer-logo-card img {
    height: 36px;
  }

  /* bottom strip */
  .footer-bottom-inner {
    font-size: 0.8rem;
  }
}
/* ===== MOBILE SLIDE MENU ===== */
@media (max-width: 768px) {

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 78%;
    height: 100vh;
    background: #ffffff;
    flex-direction: column;
    padding: 90px 22px 24px;
    gap: 14px;
    box-shadow: -18px 0 40px rgba(0,0,0,0.15);
    transition: right 0.35s ease;
    z-index: 999;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 10px;
  }

  .nav-links a {
    font-size: 1.05rem;
    font-weight: 600;
  }

  /* dark overlay behind menu */
  .mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    z-index: 998;
  }

  .mobile-nav-overlay.show {
    opacity: 1;
    pointer-events: auto;
  }
}
@media (max-width: 768px) {

  .hero-content {
    padding-top: 80px;
  }

  .hero-text h1 {
    text-transform: uppercase;
    font-size: 1.35rem;
    letter-spacing: 0.06em;
  }

  .hero-text p {
    font-size: 0.9rem;
    opacity: 0.92;
  }

  .hero-small-logo {
    top: 70px;
    right: 50%;
    transform: translateX(50%);
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  }
}
@media (max-width: 768px) {

  .footer-brand {
    align-items: center;
  }

  .footer-brand div {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .footer-nav ul {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .footer-nav ul::-webkit-scrollbar {
    display: none;
  }

  .footer-contact {
    margin-top: 10px;
  }

  .footer-logo-row {
    margin-top: 16px;
  }
}
/* ===============================
   MOBILE PREMIUM HERO FIX
   =============================== */
@media (max-width: 768px) {

  /* ===== NAVBAR ===== */
  .navbar {
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .navbar .logo {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.2px;
  }

  .navbar .menu-toggle {
    margin-left: auto;
  }

  /* ===== HERO SECTION ===== */
  .hero {
    padding: 40px 16px 28px;
    text-align: left;
  }

  /* move logo inward + smaller */
  .hero-logo {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 36px;
    height: 36px;
  }

  /* MAIN HEADING */
  .hero h1 {
    font-size: 20px;              /* ↓ smaller */
    line-height: 1.25;
    font-weight: 700;
    margin-bottom: 10px;
    max-width: 90%;
  }

  /* DESCRIPTION */
  .hero p {
    font-size: 13px;              /* ↓ smaller */
    line-height: 1.55;
    max-width: 92%;
    margin-bottom: 16px;
    color: rgba(255,255,255,0.9);
  }

  /* ===== BUTTONS ===== */
  .hero-buttons {
    display: flex;
    gap: 10px;
  }

  .hero-buttons a {
    font-size: 13px;              /* ↓ smaller text */
    padding: 8px 14px;            /* ↓ smaller button */
    border-radius: 22px;
  }

  .hero-buttons a.primary {
    min-width: auto;
  }

  .hero-buttons a.secondary {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.5);
  }
}
/* ===============================
   MOBILE PREMIUM HERO FIX
   =============================== */
@media (max-width: 768px) {

  /* ===== NAVBAR ===== */
  .navbar {
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .navbar .logo {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.2px;
  }

  .navbar .menu-toggle {
    margin-left: auto;
  }

  /* ===== HERO SECTION ===== */
  .hero {
    padding: 40px 16px 28px;
    text-align: left;
  }

  /* move logo inward + smaller */
  .hero-logo {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 36px;
    height: 36px;
  }

  /* MAIN HEADING */
  .hero h1 {
    font-size: 20px;              /* ↓ smaller */
    line-height: 1.25;
    font-weight: 700;
    margin-bottom: 10px;
    max-width: 90%;
  }

  /* DESCRIPTION */
  .hero p {
    font-size: 13px;              /* ↓ smaller */
    line-height: 1.55;
    max-width: 92%;
    margin-bottom: 16px;
    color: rgba(255,255,255,0.9);
  }

  /* ===== BUTTONS ===== */
  .hero-buttons {
    display: flex;
    gap: 10px;
  }

  .hero-buttons a {
    font-size: 13px;              /* ↓ smaller text */
    padding: 8px 14px;            /* ↓ smaller button */
    border-radius: 22px;
  }

  .hero-buttons a.primary {
    min-width: auto;
  }

  .hero-buttons a.secondary {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.5);
  }
}
/* ================================
   MOBILE PREMIUM OVERRIDES
   ================================ */
@media (max-width: 480px) {

  /* ---------- NAVBAR ---------- */
  .navbar .nav-content {
    padding: 20px 5px;
  }

  .logo {
    gap: 5px;
  }

  .logo img {
    width: 26px;
    height: 26px;
  }

  .ssf-text {
    font-size: 0.95rem;
    line-height: 1;
    white-space: nowrap;
  }

  .unit-text {
    font-size: 0.95rem;
    line-height: 1;
    white-space: nowrap;
  }

  .nav-toggle {
    position: absolute;
    right: 14px;
    top: 14px;
    font-size: 22px;
  }
  .nav-links {
    top: 56px;
    right: 0;
    left: auto;
    width: 75%;
    height: calc(100vh - 56px);
    background: #ffffff;
    padding: 20px;
    align-items: flex-start;
    animation: slideIn 0.3s ease forwards;
  }

  /* ---------- HERO LAYOUT ---------- */
  .hero {
    padding: 3rem 3 2rem;
  }

  .hero-content {
    align-items: flex-start;
    text-align: left;
    
  }

  /* small logo – fixed & clean */
  .hero-small-logo {
    top: 12px;
    right: 30px;
    width: 42px;
    height: 42px;
    padding: 4px;
  }

  /* ---------- HERO TEXT ---------- */
  .hero-text h1 {
    top: 12px;
     right: 30px;
    font-size: 1.35rem;
    line-height: 1;
    margin-bottom: 0.6rem;
    letter-spacing: 0.3px;
  }

  .hero-text p {
    font-size: 0.88rem;
    line-height: 1.20;
    max-width: 100%;
    margin-bottom: 1rem;
  }

  /* ---------- BUTTONS (SAME LINE, SMALL) ---------- */
  .hero-buttons {
    display: flex;
    gap: 8px;
  
  }

  .hero-buttons a {
    font-size: 0.8rem;
    padding: 8px 14px;
    border-radius: 999px;
  }

  /* ---------- OVERLAY FIX ---------- */
  .video-overlay {
    background: rgba(2, 6, 23, 0.62);
  }

}
/* ================================
   MOBILE FOOTER – PREMIUM LAYOUT
   ================================ */
@media (max-width: 480px) {

  /* overall footer spacing */
  .site-footer {
    padding-top: 20px;
  }

  /* -------- TOP BRAND ROW -------- */
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 16px 10px;
  }

  .footer-brand {
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }

  .footer-logo {
    width: 42px;
    height: 42px;
    padding: 4px;
    
  }

  .footer-org {
    font-size: 0.95rem;
    line-height: 1.2;
    text-align: left;
  }

  .footer-tag {
    font-size: 0.8rem;
    line-height: 1.2;
    opacity: 0.85;
  }

  /* -------- LINKS (SINGLE LINE) -------- */
  .footer-nav ul {
    justify-content: flex-start;
    gap: 14px;
    font-size: .8rem;
    margin-top: 6px;
  }

  .footer-nav a {
    padding: 0;
    font-weight: 500;
  }

  /* -------- PARTNER LOGOS -------- */
  .footer-partners {
    width: 100%;
    margin: 10px 40px 6px;
    padding: 0 12px;
  }

  .footer-logo-row {
    justify-content: flex-start;
    gap: 8px;
  }

  .footer-logo-card {
    padding: 6px;
  }

  .footer-logo-card img {
    height: 34px;
  }

  /* -------- EMAIL + INSTAGRAM ROW -------- */
  .footer-contact {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
  }

  .footer-contact .contact-row {
    font-size: 0.8rem;
    font-weight: 500;
  }

  .footer-social {
    margin-top: 0;
  }

  .social-link {
    width: 32px;
    height: 32px;
    font-size: 15px;
  }

  /* -------- BOTTOM STRIP -------- */
  .footer-bottom-inner {
    flex-direction: column;
    gap: 6px;
    font-size: 0.75rem;
    text-align: center;
  }

}
/* =========================================
   MOBILE: MOVE EMAIL + INSTAGRAM BELOW LOGOS
   ========================================= */
@media (max-width: 480px) {

  /* allow footer children to be reordered */
  .footer-inner {
    display: flex;
    flex-direction: column;
  }

  /* brand stays at top */
  .footer-brand {
    order: 1;
  }

  /* nav links under brand */
  .footer-nav {
    order: 2;
  }

  /* partner logos come next */
  .footer-partners {
    order: 3;
    margin-top: 10px;
  }

  /* EMAIL + INSTAGRAM NOW BELOW PARTNERS */
  .footer-contact {
    order: 4;
    margin-top: 10px;
    padding-top: 6px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  /* align email left, instagram right */
  .footer-contact {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

}
@media (max-width: 480px) {

  /* FOOTER STACK */
  .site-footer .footer-inner {
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: left;
  }

  /* BRAND ROW */
  .footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .footer-logo {
    width: 36px;
    height: 36px;
  }

  .footer-org {
    font-size: 14px;
    font-weight: 600;
  }

  .footer-tag {
    font-size: 12px;
    opacity: 0.7;
  }

  /* NAV LINKS */
  .footer-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 12.5px;
    padding: 0;
    margin: 0;
  }

  /* PARTNER LOGOS */
  .footer-logo-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 20px;
    margin-left: 0px;
    margin-right: 0px;
    margin-bottom:0px;
    
  }

  .footer-logo-card img {
    height: 36px;
    width: auto;
  }

  /* EMAIL + INSTA ROW */
  .footer-contact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.12);
  }

  .footer-social a {
    font-size: 18px;
  }
}
@media (max-width: 480px) {

  /* REMOVE EXTRA SPACE AROUND PARTNER SECTION */
  .footer-partners {
    margin: 0;
    padding: 0;
  }

  /* TIGHTEN LOGO ROW */
  .footer-logo-row {
    margin: 8px 10 6px 10;   /* top | right | bottom | left */
    padding: 0;
    gap: 10px;             /* reduce space between logos */
    justify-content: flex-start;
  }

  /* REMOVE CARD PADDING CAUSING EMPTY SPACE */
  .footer-logo-card {
    padding: 0;
    margin: 0;
  }

  .footer-logo-card img {
    display: block;
    height: 34px;         /* compact */
    margin: 0;
  }

  /* REMOVE EXTRA SPACE BELOW LOGOS */
  .footer-contact {
    margin-top: 3px;
    padding-top: 3px;
  }
}



@media (max-width: 480px) {

  /* ===== PARTNER SECTION RESET ===== */
  .footer-partners {
    padding: 12px 10px 8px;
    margin: 0;
  }

  /* ===== PERFECT CENTER GRID ===== */
  .footer-logo-row {
    display: grid;
    grid-template-columns: repeat(9, 5fr); /* premium grid */
    gap: 10px;
    justify-items: center;
    align-items: center;
    padding: 0 5px;
    margin: 0 auto;
    max-width: 360px;
  }

  /* ===== UNIFORM LOGO CARD ===== */
  .footer-logo-card {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 6px rgba(0,0,0,0.25);
    margin-top: 40px; 
    margin-left: 0px;
    margin-right: 0px; 
    padding: 0;
  }

  /* ===== LOGO IMAGE ===== */
  .footer-logo-card img {
    max-width: 36px;
    max-height: 36px;
    object-fit: contain;
    display: block;
  }

}

@media (max-width: 480px) {

  /* ===== FOOTER BOTTOM STRIP ===== */
  .footer-bottom-inner {
    flex-direction: column;
    gap: 6px;
    font-size: 0.75rem;
    text-align: center;
    padding: 8px 0;
  }

}


/* ===============================
   FINAL MOBILE NAVBAR POLISH
   =============================== */

@media (max-width: 480px) {

  /* NAVBAR CONTAINER */
  .navbar {
    height: 56px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  /* LEFT: LOGO + TEXT */
  .navbar .brand {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .navbar .brand img {
    width: 28px;
    height: 28px;
    object-fit: contain;
  }

  .navbar .brand span {
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.2px;
    color: #1f2937;
    line-height: 1;
    white-space: nowrap;
  }

  /* RIGHT: HAMBURGER */
  .menu-toggle {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
  }

  .menu-toggle span,
  .menu-toggle span::before,
  .menu-toggle span::after {
    background: #111827;
  }

}



/* ==================================
   HERO OVERLAY – MOBILE TYPOGRAPHY
   ================================== */

@media (max-width: 480px) {

  /* HERO OVERLAY CONTAINER */
  .hero-overlay {
    align-items: flex-start;
    text-align: left;
    padding: 72px 18px 0;
  }

  /* LOGO IN HERO */
  .hero-overlay img {
    width: 42px;
    height: 42px;
    margin-bottom: 10px;
    border-radius: 10px;
  }

  /* MAIN HEADING */
  .hero-overlay h1 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.3px;
    margin-bottom: 10px;
    max-width: 90%;
  }

  /* DESCRIPTION TEXT */
  .hero-overlay p {
    font-size: 13.5px;
    line-height: 1.6;
    font-weight: 400;
    opacity: 0.92;
    max-width: 92%;
    margin-bottom: 16px;
  }

  /* BUTTON GROUP */
  .hero-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }

  /* BUTTONS – SMALLER & CLEAN */
  .hero-buttons a {
    padding: 9px 16px;
    font-size: 13px;
    border-radius: 22px;
  }

}


/* ===============================
   MOBILE MENU – SLIDE ANIMATION
   =============================== */

@media (max-width: 768px) {

  .menu-toggle {
    font-size: 22px;
    background: none;
    border: none;
    cursor: pointer;
  }

  /* DARK BACKDROP */
  .menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 998;
  }

  /* MENU PANEL */
  .mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 78%;
    max-width: 280px;
    height: 100vh;
    background: #ffffff;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(.4,0,.2,1);
    z-index: 999;
    padding: 80px 20px 20px;
  }

  .mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .mobile-menu li {
    margin-bottom: 18px;
  }

  .mobile-menu a {
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    color: #111;
  }

  /* ACTIVE STATE */
  body.menu-open .mobile-menu {
    transform: translateX(0);
  }

  body.menu-open .menu-overlay {
    opacity: 1;
    pointer-events: all;
  }
}



/* ===============================
   DESKTOP FOOTER FINAL ALIGNMENT
   =============================== */

@media (min-width: 769px) {

  /* MAIN GRID */
  .footer-inner {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    grid-template-areas:
      "brand nav contact"
      "brand partners contact";
    gap: 28px 40px;
    align-items: start;
    padding: 48px 0 28px;
  }

  /* GRID AREAS */
  .footer-brand { grid-area: brand; }
  .footer-nav { grid-area: nav; }
  .footer-contact { grid-area: contact; }
  .footer-partners { grid-area: partners; }

  /* BRAND */
  .footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 14px;
  }

  .footer-logo {
    width: 44px;
    height: 44px;
  }

  .footer-org {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
  }

  .footer-tag {
    font-size: 13px;
    opacity: 0.75;
    margin-top: 4px;
  }

  /* NAV LINKS (CENTER) */
  .footer-nav ul {
    display: flex;
    justify-content: center;
    gap: 18px;
    padding: 0;
    margin: 0 0;
    list-style: none;
  }

  .footer-nav a {
    font-size: 14px;
    opacity: 0.85;
    white-space: nowrap;
  }

  .footer-nav a:hover {
    opacity: 1;
  }

  /* PARTNER LOGOS (BELOW NAV, CENTERED) */
  .footer-partners {
    display: flex;
    justify-content: center;
    margin-top: 10px;
  }

  .footer-logo-row {
    display: flex;
    gap: 14px;
    align-items: center;
  }

  .footer-logo-card {
    width: 52px;
    height: 52px;
    top: 12px;
    padding: 6px;
  }

  /* CONTACT RIGHT */
  .footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
  }

  .contact-row {
    font-size: 14px;
    opacity: 0.9;
  }

  .footer-social {
    margin-top: 2px;
  }

  /* BOTTOM BAR */
  .footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    opacity: 0.7;
    padding-top: 18px;
  }
}


/* ===============================
   FIX FOOTER NAV WRAPPING (DESKTOP)
   =============================== */

@media (min-width: 769px) {

  /* Give NAV more horizontal room */
  .footer-inner {
    grid-template-columns: 1.2fr 1.6fr 1.2fr;
  }

  /* Force nav items in one line */
  .footer-nav ul {
    flex-wrap: nowrap;
    white-space: nowrap;
  }

  .footer-nav li {
    flex-shrink: 0;
  }

  /* Slightly reduce nav font for safety */
  .footer-nav a {
    font-size: 13.5px;
    letter-spacing: 0.2px;
  }

}
/* =================================
   CONTROLLED GAP BETWEEN NAV & LOGOS
   ================================= */

@media (min-width: 769px) {

  /* Footer nav */
  .footer-nav {
    margin-bottom: 14px; /* intentional gap */
  }

  /* Partner logos block */
  .footer-partners {
    margin-top: 0;
    padding-top: 12px; /* visual separation */
  }

  /* Logo row */
  .footer-logo-row {
    margin-top: 15px;
    gap: 16px;
  }

}


/* =========================
   PREMIUM MOBILE HAMBURGER
   ========================= */

.nav-toggle {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;        /* ↓ smaller */
  height: 2px;        /* thin = premium */
  background-color: #1f2937;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* spacing between bars */
.nav-toggle span:not(:last-child) {
  margin-bottom: 4px;
}

/* navbar vertical alignment */
.navbar {
  display: flex;
  align-items: center; /* ← THIS FIXES THE MISALIGNMENT */
}

/* ================================
   PREMIUM MOBILE NAV TOGGLE
   ================================ */

.nav-toggle {
  width: 36px;               /* smaller, premium */
  height: 36px;
  padding: 0;
  margin: 0;
  border-radius: 10px;
  background: transparent;

  display: flex;
  flex-direction: column;
  justify-content: center;   /* vertical center */
  align-items: center;       /* horizontal center */
  gap: 4px;                  /* clean spacing */

  cursor: pointer;
}

/* hamburger lines */
.nav-toggle span {
  width: 18px;               /* reduce size */
  height: 2px;               /* thin = premium */
  background-color: #1f2937; /* dark neutral */
  border-radius: 2px;
  display: block;
}

/* navbar vertical alignment fix */
.navbar {
  display: flex;
  align-items: center;
}
/* Mobile nav hidden */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 260px;
    background: #ffffff;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 999;
    padding-top: 80px;
  }

  .nav-links.open {
    transform: translateX(0);
  }
}
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 998;
}

.mobile-nav-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* =========================
   MOBILE PREMIUM – PROGRAMS
   ========================= */
@media (max-width: 768px) {

  #programs {
    padding: 3rem 1.25rem;
    background: linear-gradient(180deg, #eef4ff 0%, #f8fafc 100%);
  }

  #programs h2 {
    font-size: 1.6rem;
    font-weight: 800;
    text-align: center;
    color: #0f172a;
    margin-bottom: 2rem;
    letter-spacing: -0.3px;
  }

  #programs .card-grid,
  #programs .program-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  #programs .card,
  #programs .program-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.4rem 1.3rem 1.6rem;
    border: 1px solid #e5e7eb;
    box-shadow:
      0 10px 30px rgba(15, 23, 42, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.7);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }

  #programs .card:active,
  #programs .program-card:active {
    transform: scale(0.98);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
  }

  #programs h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.4rem;
    letter-spacing: -0.2px;
  }

  #programs p {
    font-size: 0.92rem;
    line-height: 1.55;
    color: #475569;
    margin: 0;
  }

  /* optional subtle accent line */
  #programs .card::before,
  #programs .program-card::before {
    content: "";
    display: block;
    width: 36px;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #38bdf8);
    border-radius: 99px;
    margin-bottom: 0.6rem;
  }
}
/* =========================
   MOBILE – PREMIUM INTERACTION
   ========================= */
@media (max-width: 768px) {

  #programs .card {
    position: relative;
    overflow: hidden;
    will-change: transform;
  }

  /* soft gradient glow on top */
  #programs .card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      120deg,
      rgba(37, 99, 235, 0.08),
      rgba(56, 189, 248, 0.04),
      transparent 60%
    );
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
  }

  /* tap / hover feel */
  #programs .card:active {
    transform: translateY(-2px) scale(0.985);
  }

  #programs .card:active::after {
    opacity: 1;
  }

  /* typography polish */
  #programs h3 {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  #programs h3::before {
    content: "●";
    font-size: 0.6rem;
    color: #2563eb;
  }

  /* subtle divider between cards */
  #programs .card:not(:last-child) {
    margin-bottom: 0.4rem;
  }
}


/* =========================
   LEADERS – MOBILE ELITE LOOK
   ========================= */
@media (max-width: 768px) {

  #leaders {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  }

  #leaders h2 {
    font-size: 1.55rem;
    letter-spacing: -0.4px;
    margin-bottom: 1.6rem;
  }

  .leader-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .leader-card {
    position: relative;
    background: #ffffff;
    border-radius: 18px;
    padding: 1.4rem 1.2rem 1.6rem;
    box-shadow:
      0 8px 24px rgba(15, 23, 42, 0.08),
      0 2px 6px rgba(15, 23, 42, 0.04);
    text-align: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
  }

  /* subtle accent strip */
  .leader-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 40%;
    height: 4px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #2563eb, #38bdf8);
    border-radius: 0 0 6px 6px;
  }

  .leader-card:active {
    transform: translateY(-3px) scale(0.985);
    box-shadow:
      0 14px 36px rgba(15, 23, 42, 0.12),
      0 4px 10px rgba(15, 23, 42, 0.06);
  }

  .leader-photo {
    width: 96px;
    height: 96px;
    margin: 0 auto 0.9rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #e5e7eb;
    background: #f1f5f9;
  }

  .leader-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .leader-card h3 {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    color: #0f172a;
  }

  .leader-card p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
  }

}
/* =========================
   SCROLL REVEAL – PREMIUM
   ========================= */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease-out,
    transform 0.7s ease-out;
  will-change: transform, opacity;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* softer reveal for cards */
.reveal.fade {
  transform: translateY(18px);
}

/* staggered delay support */
.reveal.delay-1 { transition-delay: 0.08s; }
.reveal.delay-2 { transition-delay: 0.16s; }
.reveal.delay-3 { transition-delay: 0.24s; }
.reveal.delay-4 { transition-delay: 0.32s; }

/* mobile tuning */
@media (max-width: 768px) {
  .reveal {
    transform: translateY(22px);
  }
}


/* =========================
   BUTTON MICRO-INTERACTIONS
   ========================= */

.btn-primary,
.btn-outline,
.btn-small,
.cta-primary,
.cta-ghost {
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease,
    color 0.18s ease;
}

/* hover */
.btn-primary:hover,
.cta-primary:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.28);
}

/* outline / ghost hover */
.btn-outline:hover,
.cta-ghost:hover {
  transform: translateY(-1px);
  background: rgba(37, 99, 235, 0.06);
}

/* tap / click */
.btn-primary:active,
.btn-outline:active,
.btn-small:active,
.cta-primary:active,
.cta-ghost:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* =========================
   PROGRAM CARD INTERACTION
   ========================= */

.card {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

/* mobile: reduce motion */
@media (max-width: 768px) {
  .card:hover {
    transform: translateY(-3px);
  }
}


/* =========================
   NAV LINK MICRO EFFECT
   ========================= */

.nav-links a {
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #2563eb;
  transition: width 0.25s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* =========================
   PARTNER LOGO FEEDBACK
   ========================= */

.footer-logo-card img {
  transition:
    transform 0.25s ease,
    filter 0.25s ease;
  filter: grayscale(100%);
}

.footer-logo-card img:hover {
  transform: translateY(-4px) scale(1.03);
  filter: grayscale(0%);
}

/* =========================
   MOBILE TAP FEEDBACK
   ========================= */

a, button {
  -webkit-tap-highlight-color: transparent;
}

a:active,
button:active {
  opacity: 0.85;
}

/* =========================
   DESKTOP: HIDE HAMBURGER
   ========================= */

@media (min-width: 769px) {
  .nav-toggle {
    display: none !important;
  }
}
@media (min-width: 769px) {
  .navbar .nav-content {
    align-items: center;
  }
}


@media (min-width: 1024px) {
  #leaders {
    background: linear-gradient(180deg, #f8fafc 0%, #eef5ff 100%);
    padding: 6rem 0;
  }

  #leaders h2 {
    font-size: 2.6rem;
    letter-spacing: -0.5px;
    margin-bottom: 3.5rem;
  }
}
@media (min-width: 1024px) {
  .leader-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    align-items: stretch;
  }
}
@media (min-width: 1024px) {
  .leader-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    box-shadow:
      0 10px 30px rgba(15, 23, 42, 0.08),
      inset 0 1px 0 rgba(255,255,255,0.6);
    transition: 
      transform 0.35s ease,
      box-shadow 0.35s ease;
    position: relative;
    overflow: hidden;
  }

  .leader-card:hover {
    transform: translateY(-10px);
    box-shadow:
      0 20px 50px rgba(15, 23, 42, 0.18);
  }
}
@media (min-width: 1024px) {
  .leader-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    margin-bottom: 0.4rem;
  }

  .leader-card p {
    font-size: 0.95rem;
    color: #475569;
    font-weight: 500;
  }
}
@media (min-width: 1024px) {
  .leader-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
      600px circle at top center,
      rgba(37, 99, 235, 0.08),
      transparent 40%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
  }

  .leader-card:hover::after {
    opacity: 1;
  }
}


.leader-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 22px;
  padding: 3rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;

  box-shadow:
    0 12px 30px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255,255,255,0.7);

  transition:
    transform 0.35s cubic-bezier(.2,.8,.2,1),
    box-shadow 0.35s ease;
}
.leader-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 25px 60px rgba(15, 23, 42, 0.18);
}
.leader-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px circle at top center,
    rgba(37, 99, 235, 0.08),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.leader-card:hover::after {
  opacity: 1;
}
.leader-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);

  width: 72px;
  height: 4px;
  border-radius: 0 0 6px 6px;

  background: linear-gradient(90deg, #2563eb, #60a5fa);
}
@media (min-width: 769px) {
  .leader-card::before {
    width: 88px;
    height: 4px;
  }
}
@media (hover: hover) {
  .leader-card:hover::before {
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.55);
  }
}
.leader-card {
  position: relative;
}

.leader-card p {
  display: inline-block;
  margin-top: 0.6rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;

  color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
  border-radius: 999px;
}


#leaders {
  background: linear-gradient(180deg, #0f172a, #020617);
}

#leaders h2 {
  color: #ffffff;
}

#leaders .leader-card {
  background: rgba(255, 255, 255, 0.95);
}

#leaders .leader-card h3 {
  color: #020617;
}

#leaders .leader-card p {
  color: #2563eb;
}
#leaders {
  position: relative;
  overflow: hidden;
}

#leaders::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(59,130,246,0.08), transparent 60%);
  pointer-events: none;
}


#news .card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 18px;
  padding: 2rem;
  box-shadow:
    0 10px 30px rgba(15, 23, 42, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
}
#news .card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 24px 50px rgba(15, 23, 42, 0.18),
    inset 0 0 0 1px rgba(37, 99, 235, 0.15);
}
#news .card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #020617;
  margin-bottom: 0.6rem;
}
#news .card .meta {
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 0.75rem;
  display: block;
}
#news .card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);

  width: 72px;
  height: 4px;
  border-radius: 0 0 6px 6px;

  background: linear-gradient(90deg, #2563eb, #60a5fa)
}
@media (min-width: 900px) {
  #news .card-grid .card:nth-child(2) {
    transform: translateY(-10px) scale(1.03);
    box-shadow:
      0 28px 60px rgba(15, 23, 42, 0.22);
  }
}


#gallery-teaser {
  background: linear-gradient(
    180deg,
    #f8fafc 0%,
    #eef2ff 100%
  );
  
}


#gallery-teaser .container > div {
  max-width: 860px;
  margin: auto;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  border-radius: 22px;
  padding: 2.2rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: center;
  box-shadow:
    0 25px 60px rgba(15, 23, 42, 0.15),
    inset 0 0 0 1px rgba(255,255,255,0.6);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

#gallery-teaser .container > div:hover {
  transform: translateY(-10px);
  box-shadow:
    0 40px 90px rgba(15, 23, 42, 0.25);
}
#gallery-teaser h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #020617;
  margin-bottom: 0.5rem;
}
#gallery-teaser img {
  width: 100%;
  border-radius: 16px;
  box-shadow:
    0 12px 30px rgba(15, 23, 42, 0.25);
  transition: transform 0.4s ease;
}

#gallery-teaser .container > div:hover img {
  transform: scale(1.05);
}
#gallery-teaser .container > div::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 35%;
  background: linear-gradient(90deg, #2563eb, #38bdf8);
  border-radius: 22px 22px 0 0;
}

/* 🔥 MOBILE FIX — Center Gallery Teaser */
@media (max-width: 768px) {
  #gallery-teaser .container {
    text-align: center;
  }

  .gallery-banner > div {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .gallery-banner strong {
    display: block;
    text-align: center;
  }

  .gallery-banner img {
    margin-top: 14px;
  }
}


/* ===== PREMIUM GLASS CARD ===== */
.gallery-banner > div {
  position: relative;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all 0.35s ease;
  overflow: hidden;
}

/* glow border */
.gallery-banner > div::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    120deg,
    rgba(59,130,246,0.45),
    rgba(99,102,241,0.45),
    rgba(59,130,246,0.45)
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: -1;
}

/* hover */
.gallery-banner:hover > div {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 25px 60px rgba(30,64,175,0.25);
}

.gallery-banner:hover > div::before {
  opacity: 1;
}


/* ===== PROGRAMS – PREMIUM CARD LOOK ===== */

.card-grid .card {
  position: relative;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 20px;
  padding: 1.9rem 1.7rem 1.8rem;
  box-shadow:
    0 14px 34px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  overflow: hidden;
}

/* Premium top gradient line */
.card-grid .card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(
    90deg,
    #2563eb,
    #38bdf8,
    #22c55e
  );
}

/* Card hover – desktop only */
@media (hover: hover) {
  .card-grid .card:hover {
    transform: translateY(-6px);
    box-shadow:
      0 22px 50px rgba(15, 23, 42, 0.14),
      inset 0 1px 0 rgba(255, 255, 255, 0.7);
  }
}

/* Card title refinement */
.card-grid .card h3 {
  font-weight: 700;
  letter-spacing: 0.2px;
  margin-bottom: 0.6rem;
}

/* Card text polish */
.card-grid .card p {
  color: #374151;
  line-height: 1.65;
  font-size: 0.96rem;
}

/* Mobile spacing refinement */
@media (max-width: 768px) {
  .card-grid .card {
    padding: 1.7rem 1.5rem 1.6rem;
  }
  
}



#about .card {
  position: relative;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 22px;
  padding: 2.2rem 2rem;
  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255,255,255,0.7);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  overflow: hidden;
}
#about .card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(
    90deg,
    #2563eb,
    #38bdf8
  );
}
#about .card p {
  color: #374151;
  line-height: 1.7;
  font-size: 0.98rem;
}
@media (hover: hover) {
  #about .card:hover {
    transform: translateY(-6px);
    box-shadow:
      0 26px 60px rgba(15, 23, 42, 0.14),
      inset 0 1px 0 rgba(255,255,255,0.7);
  }
}
@media (max-width: 768px) {
  #about .card {
    padding: 1.9rem 1.6rem;
  }

  #about .section-intro {
    font-size: 1rem;
  }
}



/* NAVBAR BASE */
.navbar{
  position:fixed;
  top:0;
  width:100%;
  z-index:1000;
  backdrop-filter: blur(14px);
  background: rgba(255,255,255,0.65);
  border-bottom:1px solid rgba(255,255,255,0.3);
  transition: all .3s ease;
}

/* SHADOW ON SCROLL */
.navbar.scrolled{
  box-shadow:0 8px 30px rgba(0,0,0,0.08);
}

/* CONTAINER */
.nav-container{
  max-width:1200px;
  margin:auto;
  padding:14px 22px;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

/* LOGO */
.logo{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:700;
  font-size:18px;
}
.logo img{
  width:38px;
}

/* MENU */
.nav-menu{
  display:flex;
  gap:28px;
}

.nav-link{
  position:relative;
  text-decoration:none;
  color:#111;
  font-weight:500;
  transition:.3s;
}

/* HOVER UNDERLINE ANIMATION */
.nav-link::after{
  content:"";
  position:absolute;
  bottom:-6px;
  left:0;
  width:0%;
  height:2px;
  background:#2563eb;
  transition:.3s;
}

.nav-link:hover::after{
  width:100%;
}

.nav-link:hover{
  color:#2563eb;
}

/* ACTIVE LINK */
.nav-link.active{
  color:#2563eb;
}
.nav-link.active::after{
  width:100%;
}

/* RIGHT SIDE */
.nav-right{
  display:flex;
  align-items:center;
  gap:16px;
}

/* ICON BUTTON */
.icon-btn{
  font-size:18px;
  color:#111;
  transition:.3s;
}
.icon-btn:hover{
  transform:translateY(-2px) scale(1.1);
  color:#2563eb;
}

/* JOIN BUTTON */
.join-btn{
  padding:8px 18px;
  border-radius:999px;
  background:linear-gradient(45deg,#2563eb,#4f46e5);
  color:white;
  text-decoration:none;
  font-weight:600;
  box-shadow:0 4px 15px rgba(37,99,235,.35);
  transition:.3s;
}
.join-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 25px rgba(37,99,235,.5);
}

/* HAMBURGER */
.hamburger{
  display:none;
  flex-direction:column;
  gap:5px;
  cursor:pointer;
}
.hamburger span{
  width:25px;
  height:3px;
  background:#111;
  transition:.3s;
}

/* MOBILE */
@media(max-width:900px){
  .nav-menu{
    position:fixed;
    top:70px;
    right:-100%;
    flex-direction:column;
    background:white;
    width:240px;
    padding:30px;
    height:100vh;
    transition:.4s;
  }

  .nav-menu.active{
    right:0;
  }

  .hamburger{
    display:flex;
  }
}

/* ===== FINAL NAVBAR SYSTEM ===== */

.navbar{
  position:fixed;
  top:18px;
  left:50%;
  transform:translateX(-50%);
  width:82%;
  max-width:1120px;
  border-radius:60px;
  backdrop-filter:blur(18px);
  background:rgba(255,255,255,.72);
  box-shadow:0 12px 40px rgba(0,0,0,.12);
  z-index:9999;
}

/* layout */
.nav-container{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  padding:12px 26px;
}

/* logo */
.logo{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:700;
  font-size:18px;
}

/* center links */
.nav-menu{
  display:flex;
  justify-content:center;
  gap:36px;
}

/* links */
.nav-link{
  text-decoration:none;
  color:#222;
  font-weight:500;
  position:relative;
}

.nav-link::after{
  content:"";
  position:absolute;
  bottom:-6px;
  left:50%;
  transform:translateX(-50%);
  width:0;
  height:2px;
  background:#2563eb;
  transition:.3s;
}

.nav-link:hover{
  color:#2563eb;
}
.nav-link:hover::after{
  width:100%;
}

/* right side */
.nav-right{
  display:flex;
  align-items:center;
  gap:16px;
}

/* icons */
.icon-btn{
  font-size:18px;
  color:#222;
  transition:.25s;
}
.icon-btn:hover{
  transform:scale(1.15);
  color:#2563eb;
}

/* join button */
.join-btn{
  padding:9px 20px;
  border-radius:40px;
  background:linear-gradient(45deg,#2563eb,#4f46e5);
  color:white;
  font-weight:600;
  text-decoration:none;
  box-shadow:0 6px 20px rgba(37,99,235,.35);
  transition:.3s;
}
.join-btn:hover{
  transform:translateY(-2px);
}


.navbar{
  position:fixed;
  top:14px;
  left:50%;
  transform:translateX(-50%);
  width:76%;              /* reduced width */
  max-width:1050px;       /* tighter premium bar */
  border-radius:60px;
  backdrop-filter:blur(18px);
  background:rgba(255,255,255,.75);
  box-shadow:0 10px 35px rgba(0,0,0,.12);
  z-index:9999;
}

.nav-container{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  padding:10px 18px; /* reduced padding */
}

.logo{
  justify-self:start;
}


.nav-right{
  display:flex;
  align-items:center;
  gap:14px;
  justify-self:end;
}

.nav-menu{
  gap:28px;
}



/* ===== FINAL NAVBAR OVERRIDE (DO NOT PLACE ABOVE ANYTHING) ===== */

.navbar{
  width:75% !important;
  max-width:1000px !important;
  left:50% !important;
  transform:translateX(-50%) !important;
}

.nav-container{
  display:grid !important;
  grid-template-columns:auto 1fr auto !important;
  align-items:center !important;
  padding:10px 16px !important;
}

.logo{
  justify-self:start !important;
}

.nav-menu{
  justify-self:center !important;
}

.nav-right{
  justify-self:end !important;
}


/* NAVBAR */
.navbar{
  position:fixed;
  top:18px;
  left:50%;
  transform:translateX(-50%);
  width:88%;
  max-width:1200px;
  backdrop-filter:blur(18px);
  background:rgba(255,255,255,.7);
  border-radius:60px;
  box-shadow:0 10px 40px rgba(0,0,0,.12);
  z-index:999;
}

.nav-container{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  padding:12px 26px;
}

/* LEFT */
.nav-left{ justify-self:start; }

.logo{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:700;
}

.logo img{ width:38px; }

/* CENTER */
.nav-center{
  display:flex;
  gap:34px;
  justify-self:center;
}

.nav-center a{
  text-decoration:none;
  color:#222;
  font-weight:500;
  position:relative;
}

.nav-center a::after{
  content:"";
  position:absolute;
  bottom:-6px;
  left:50%;
  transform:translateX(-50%);
  width:0;
  height:2px;
  background:#2563eb;
  transition:.3s;
}

.nav-center a:hover::after{
  width:100%;
}

/* RIGHT */
.nav-right{
  display:flex;
  align-items:center;
  gap:16px;
  justify-self:end;
}

.nav-right i{
  font-size:18px;
  color:#222;
  transition:.3s;
}

.nav-right i:hover{
  transform:scale(1.15);
  color:#2563eb;
}

/* JOIN */
.join-btn{
  padding:9px 20px;
  border-radius:40px;
  background:linear-gradient(45deg,#2563eb,#4f46e5);
  color:#fff;
  font-weight:600;
  text-decoration:none;
}

/* HAMBURGER */
.hamburger{
  display:none;
  flex-direction:column;
  gap:4px;
  cursor:pointer;
}

.hamburger span{
  width:22px;
  height:2px;
  background:#111;
}

/* MOBILE MENU */
.mobile-menu{
  position:fixed;
  top:0;
  right:-100%;
  width:260px;
  height:100vh;
  background:#fff;
  padding:100px 30px;
  display:flex;
  flex-direction:column;
  gap:18px;
  transition:.35s;
  z-index:998;
}

.mobile-menu a{
  text-decoration:none;
  color:#111;
  font-weight:500;
}

.mobile-menu.show{ right:0; }

.overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.4);
  opacity:0;
  pointer-events:none;
  transition:.3s;
  z-index:997;
}

.overlay.show{
  opacity:1;
  pointer-events:auto;
}

/* RESPONSIVE */
@media(max-width:900px){

  .nav-center{ display:none; }
  .hamburger{ display:flex; }

}


.navbar{
  width:88%;
  max-width:1200px;
}

.navbar{
  position:fixed;
  top:18px;
  left:50%;
  transform:translateX(-50%);
  
  width:96%;          /* increase stretch */
  max-width:1400px;   /* allow longer navbar */

  backdrop-filter:blur(18px);
  background:rgba(255,255,255,.72);
  border-radius:60px;
  box-shadow:0 10px 40px rgba(0,0,0,.12);
  z-index:999;
}

.nav-container{
  padding:14px 42px;
}
.nav-center{
  gap:42px;
}

.logo span{
  white-space:nowrap;
}

.logo span{
  font-size:15px;
  letter-spacing:.3px;
}


.navbar{
  position:fixed;
  top:18px;
  left:50%;
  transform:translateX(-50%);
  
  width:98vw;        /* FULL LENGTH */
  max-width:none;    /* remove restriction */

  backdrop-filter:blur(18px);
  background:rgba(255,255,255,.72);
  border-radius:60px;
  box-shadow:0 10px 40px rgba(0,0,0,.12);
  z-index:999;
}

/* ===============================
   FINAL NAVBAR OVERRIDE — FORCE FIX
   =============================== */

/* NAVBAR CONTAINER */
.navbar{
  position:fixed !important;
  top:18px !important;
  left:50% !important;
  transform:translateX(-50%) !important;

  width:98vw !important;
  max-width:none !important;

  backdrop-filter:blur(18px) !important;
  background:rgba(255,255,255,.75) !important;

  border-radius:60px !important;
  box-shadow:0 10px 40px rgba(0,0,0,.15) !important;

  z-index:9999 !important;
}

/* INNER LAYOUT GRID */
.nav-container{
  width:100% !important;
  max-width:none !important;

  display:grid !important;
  grid-template-columns:1fr auto 1fr !important;
  align-items:center !important;

  padding:14px 55px !important;
}

/* LEFT */
.nav-left{ justify-self:start !important; }

.logo{
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
}

.logo img{
  width:40px !important;
}

.logo span{
  white-space:nowrap !important;
  font-size:15px !important;
  font-weight:700 !important;
}

/* CENTER */
.nav-center{
  display:flex !important;
  gap:46px !important;
  justify-self:center !important;
}

.nav-center a{
  text-decoration:none !important;
  color:#222 !important;
  font-weight:500 !important;
  position:relative !important;
}

.nav-center a::after{
  content:"";
  position:absolute;
  bottom:-6px;
  left:50%;
  transform:translateX(-50%);
  width:0;
  height:2px;
  background:#2563eb;
  transition:.3s;
}

.nav-center a:hover::after{
  width:100%;
}


/* ===== NAVBAR PROFESSIONAL COMPACT FIX ===== */

.navbar{
  height:60px;
  padding:0 18px;
  backdrop-filter: blur(12px);
  border-radius:40px;
  margin-top:14px;
}

/* container alignment */
.nav-container{
  height:60px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

/* logo size */
.logo img{
  height:32px;
}

.logo span{
  font-size:15px;
  font-weight:600;
  letter-spacing:.3px;
}

/* nav links spacing */
.nav-center{
  gap:22px;
}

.nav-center a{
  font-size:14px;
  padding:6px 4px;
}

/* right section */
.nav-right{
  gap:14px;
}

/* icons */
.nav-right i{
  font-size:16px;
}

/* join button */
.join-btn{
  padding:7px 16px;
  font-size:13px;
  border-radius:22px;
}

/* ===== hover polish ===== */

.nav-center a{
  transition:.25s;
}

.nav-center a:hover{
  transform:translateY(-1px);
  opacity:.75;
}

.join-btn{
  transition:.25s;
}

.join-btn:hover{
  transform:translateY(-1px) scale(1.03);
  box-shadow:0 6px 16px rgba(37,99,235,.25);
}

/* ===== scroll shrink effect ===== */

.navbar.scrolled{
  height:54px;
  backdrop-filter: blur(16px);
}

/* ===== MOBILE NAVBAR ===== */

@media(max-width:768px){

  .navbar{
    height:54px;
    border-radius:32px;
    padding:0 14px;
  }

  .logo span{
    font-size:14px;
  }

  .logo img{
    height:28px;
  }

  .nav-center{
    display:none;
  }

  .nav-right a{
    display:none;
  }

  .hamburger{
    display:flex;
  }
}


/* ===== NAVBAR EDGE ALIGN FIX ===== */

/* remove side spacing */
.navbar{
  padding-left:6px !important;
  padding-right:6px !important;
}

/* container full width */
.nav-container{
  padding-left:9px !important;
  padding-right:9px !important;
}

/* ===== CIRCLE LOGO ===== */

.logo{
  display:flex;
  align-items:center;
  gap:10px;
}

.logo img{
  height:36px;
  width:36px;
  object-fit:cover;
  border-radius:50%;
  padding:2px;
  background:rgba(255,255,255,.65);
  box-shadow:
  0 2px 6px rgba(0,0,0,.08),
  inset 0 0 0 1px rgba(255,255,255,.6);
  transition:.3s;
}

/* subtle hover animation */
.logo img:hover{
  transform:scale(1.08);
}

/* ===== RIGHT SIDE ALIGN FIX ===== */

.nav-right{
  margin-right:20px  !important;
   
  padding-right:10px !important;
  gap:12px;
}

/* remove extra spacing from join button */
.join-btn{
  margin-right:5px !important;
}

/* ===== PERFECT CENTER NAV ===== */

.nav-center{
  flex:1;
  display:flex;
  justify-content:center;
}

/* ===== MOBILE ===== */

@media(max-width:768px){

  .navbar{
    padding-left:8px !important;
    padding-right:8px !important;
  }

  .logo img{
    height:30px;
    width:30px;
  }
}


/* =========================
   MOBILE NAVBAR ONLY FIX
   does NOT affect desktop
   ========================= */

@media (max-width:768px){

  /* navbar size */
  .navbar{
    height:58px !important;
    padding:0 12px !important;
    border-radius:34px !important;
  }

  /* hide center nav */
  .nav-center,
  .nav-links{
    display:none !important;
  }

  /* hide right icons + join */
  .nav-right a{
    display:none !important;
  }

  /* show hamburger */
  .hamburger{
    display:flex !important;
  }

  /* left section layout */
  .logo{
    gap:8px !important;
  }

  /* logo circle */
  .logo img{
    width:32px !important;
    height:32px !important;
    border-radius:50%;
    padding:5px;
  }

  /* text size */
  .logo span{
    font-size:14px !important;
    font-weight:600;
  }


  /* ======================
     MOBILE SLIDE MENU
     ====================== */

  .mobile-menu{
    position:fixed;
    top:0;
    right:-100%;
    width:250px;
    height:100%;
    background:white;
    padding:100px 30px;
    display:flex;
    flex-direction:column;
    gap:24px;
    transition:.35s ease;
    z-index:9999;
  }

  .mobile-menu.show{
    right:0;
  }

  .mobile-menu a{
    font-size:17px;
    text-decoration:none;
    color:#111;
    font-weight:500;
  }


  /* overlay */
  .overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.45);
    opacity:0;
    pointer-events:none;
    transition:.3s;
    z-index:9998;
  }

  .overlay.show{
    opacity:1;
    pointer-events:auto;
  }

}


/* ===== MOVE HAMBURGER RIGHT (MOBILE ONLY) ===== */
@media (max-width:768px){

  /* push right section to edge */
  .nav-right{
    margin-left:auto !important;
    justify-content:flex-end !important;
  }

  /* make sure hamburger is last item */
  .hamburger{
    margin-left:50px !important;
    order:999 !important;
  }

  /* if logo container stretches */
  .nav-left{
    flex:1;
  }

}


/* ===== HERO TITLE ROW ===== */

.hero-text h1{
  display:flex;
  align-items:center;
  gap:14px;
  font-size:clamp(28px,5vw,48px);
  font-weight:700;
  line-height:1.2;
}

/* hero logo */
.hero-small-logo{
  position:static !important;
  width:44px;
  height:44px;
  border-radius:50%;
  background:white;
  padding:6px;
  box-shadow:0 4px 14px rgba(0,0,0,.15);
}

/* mobile */
@media(max-width:768px){

  .hero-text h1{
    gap:10px;
    font-size:24px;
  }

  .hero-small-logo{
    width:36px;
    height:36px;
  }

}


/* ===== FIX GALLERY NAVBAR TOP SPACING ===== */

body.gallery-page{
  padding-top:90px; /* pushes content below floating navbar */
}

/* keep navbar visually separated from top */
body.gallery-page .navbar{
  top:18px;
}

/* optional: make spacing identical to homepage */
body.gallery-page .container:first-child{
  margin-top:10px;
}
/* ── SAHITYOTSAV CTA BUTTON ── */
.btn-sahityotsav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #fbbf24, #f59e0b 58%, #d97706);
  color: #071028;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.78rem 1.7rem;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 8px 26px rgba(251,191,36,0.38);
  transition: all 0.25s ease;
  border: 1px solid rgba(255,255,255,0.28);
  white-space: nowrap;
}
.btn-sahityotsav:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(251,191,36,0.5);
  filter: brightness(1.04);
}
