/* ==========================================================================
   KITE Nepal Technosis Pvt. Ltd. — Master Stylesheet
   Premium corporate IT theme (Light + Dark) — Pure CSS3
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand palette */
  --brand-1: #2563eb;      /* primary blue   */
  --brand-2: #7c3aed;      /* violet         */
  --brand-3: #06b6d4;      /* cyan accent    */
  --brand-grad: linear-gradient(135deg, #2563eb 0%, #7c3aed 55%, #06b6d4 100%);
  --brand-grad-soft: linear-gradient(135deg, rgba(37,99,235,.12), rgba(124,58,237,.12));

  /* Light theme surfaces */
  --bg: #f6f8fc;
  --bg-alt: #ffffff;
  --surface: #ffffff;
  --surface-2: #f1f5fb;
  --text: #0f172a;
  --text-soft: #475569;
  --text-mute: #64748b;
  --border: #e2e8f0;
  --shadow-sm: 0 4px 14px rgba(15, 23, 42, .06);
  --shadow-md: 0 12px 34px rgba(15, 23, 42, .10);
  --shadow-lg: 0 28px 60px rgba(15, 23, 42, .16);
  --glass: rgba(255, 255, 255, .65);
  --glass-brd: rgba(255, 255, 255, .55);
  --nav-bg: rgba(255, 255, 255, .78);

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --maxw: 1240px;
  --gutter: clamp(18px, 4vw, 48px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* Dark theme */
[data-theme="dark"] {
  --bg: #070b16;
  --bg-alt: #0b1120;
  --surface: #0f1729;
  --surface-2: #131c31;
  --text: #eef2ff;
  --text-soft: #b9c2d8;
  --text-mute: #8b96b3;
  --border: #1e293b;
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, .35);
  --shadow-md: 0 14px 40px rgba(0, 0, 0, .5);
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, .6);
  --glass: rgba(15, 23, 41, .55);
  --glass-brd: rgba(148, 163, 184, .16);
  --nav-bg: rgba(9, 14, 26, .72);
}

/* ---------- Reset & base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { 
  overflow-x: hidden; 
  width: 100%;
}
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', 'Poppins', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  transition: background .4s var(--ease), color .4s var(--ease);
}
h1, h2, h3, h4, h5 { font-family: 'Poppins', 'Inter', sans-serif; line-height: 1.15; font-weight: 700; letter-spacing: -.02em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
section { position: relative; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.grid { display: grid; gap: clamp(18px, 2.4vw, 30px); }
.text-center { text-align: center; }
.gradient-text {
  background: var(--brand-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* Section eyebrow + heading */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--brand-1); padding: 7px 16px; border-radius: 100px;
  background: var(--brand-grad-soft); border: 1px solid var(--border); margin-bottom: 18px;
}
.section-head { max-width: 720px; margin: 0 auto clamp(38px, 5vw, 60px); text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 14px; }
.section-head p { color: var(--text-soft); font-size: 1.03rem; }

/* ---------- Buttons ---------- */
.btn {
  --pad: 14px 28px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: var(--pad); border-radius: 100px; font-weight: 600; font-size: .96rem;
  cursor: pointer; border: 1px solid transparent; position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s;
  white-space: nowrap;
}
.btn i { transition: transform .3s var(--ease); }
.btn-primary { background: var(--brand-grad); color: #fff; box-shadow: 0 10px 26px rgba(37,99,235,.35); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(124,58,237,.45); }
.btn-primary:hover i { transform: translateX(4px); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--brand-1); color: var(--brand-1); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline:hover { background: rgba(255,255,255,.14); transform: translateY(-3px); }
.btn-sm { padding: 10px 20px; font-size: .85rem; }

/* ---------- Loading screen ---------- */
#loader {
  position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center;
  background: var(--bg); transition: opacity .6s ease, visibility .6s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; }
.loader-logo { font-family: 'Poppins'; font-weight: 800; font-size: 1.6rem; letter-spacing: -.02em; margin-bottom: 18px; }
.loader-ring {
  width: 54px; height: 54px; margin: 0 auto; border-radius: 50%;
  border: 4px solid var(--border); border-top-color: var(--brand-1);
  animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: all .4s var(--ease);
  /* Solid glass background from the very start (not transparent) */
  background: var(--nav-bg); backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 14px 0;
  /* Override navbar container max-width to allow more space on desktops */
  max-width: 1440px !important;
  width: 100%;
  margin-inline: auto;
}
/* On scroll we just deepen the shadow for a subtle lift */
.navbar.scrolled {
  box-shadow: var(--shadow-md);
}
.brand { display: flex; align-items: center; gap: 12px; font-family: 'Poppins'; font-weight: 800; font-size: 1.18rem; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px; background: var(--brand-grad);
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.1rem;
  box-shadow: 0 8px 22px rgba(37,99,235,.4);
}
.brand small { display: block; font-size: .62rem; font-weight: 500; letter-spacing: .16em; color: var(--text-mute); text-transform: uppercase; }
.nav-links { 
  display: flex; 
  align-items: center; 
  gap: 4px; 
  flex-wrap: nowrap; 
}
.nav-links a {
  padding: 9px 13px; border-radius: 10px; font-size: .9rem; font-weight: 500; color: var(--text-soft);
  transition: color .25s, background .25s; position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--brand-1); background: var(--brand-grad-soft); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle {
  width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); cursor: pointer; font-size: 1rem;
  display: grid; place-items: center; transition: all .3s var(--ease);
}
.theme-toggle:hover { color: var(--brand-1); transform: rotate(20deg); border-color: var(--brand-1); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); color: var(--text); font-size: 1.2rem; cursor: pointer; }

/* Mega/dropdown container for mobile handled in responsive.css */

/* ---------- Hero ---------- */
.hero { min-height: 100vh; display: grid; align-items: center; position: relative; overflow: hidden; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.08); transition: opacity 1.4s ease, transform 7s ease;
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(6,10,25,.92) 0%, rgba(10,15,32,.72) 45%, rgba(37,99,235,.35) 100%);
}
.hero-content { position: relative; z-index: 3; color: #fff; max-width: 780px; padding-block: 120px; }
.hero-content .eyebrow { color: #cbd5ff; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.22); }
.hero-content h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); font-weight: 800; margin-bottom: 20px; }
.hero-content h1 span { display: block; }
.hero-content p { font-size: clamp(1.02rem, 1.6vw, 1.22rem); color: #dbe2f4; max-width: 540px; margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-dots { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 4; }
.hero-dots button { width: 34px; height: 5px; border-radius: 5px; border: none; background: rgba(255,255,255,.4); cursor: pointer; transition: background .3s; }
.hero-dots button.active { background: #fff; width: 48px; }
.scroll-cue { position: absolute; bottom: 30px; right: var(--gutter); z-index: 4; color: rgba(255,255,255,.75); font-size: .78rem; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-cue span { width: 24px; height: 40px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px; position: relative; }
.scroll-cue span::after { content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 4px; height: 8px; border-radius: 3px; background: #fff; animation: cue 1.6s infinite; }
@keyframes cue { 0%{opacity:0;transform:translate(-50%,0)} 40%{opacity:1} 80%{opacity:0;transform:translate(-50%,14px)} }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 160px 0 80px; position: relative; overflow: hidden; text-align: center; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: var(--brand-grad-soft); z-index: -1; }
.page-hero .blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; z-index: -1; }
.page-hero .blob.b1 { width: 340px; height: 340px; background: var(--brand-1); top: -80px; left: -60px; }
.page-hero .blob.b2 { width: 300px; height: 300px; background: var(--brand-3); bottom: -100px; right: -40px; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.page-hero p { color: var(--text-soft); max-width: 620px; margin: 16px auto 0; }
.breadcrumb { display: inline-flex; gap: 8px; align-items: center; font-size: .85rem; color: var(--text-mute); margin-top: 18px; }
.breadcrumb a:hover { color: var(--brand-1); }

/* ---------- Card base ---------- */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
  overflow: hidden; position: relative;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }

/* Glass card */
.glass {
  background: var(--glass); border: 1px solid var(--glass-brd);
  backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%);
}

/* ---------- Service cards ---------- */
.services-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.service-card { padding: 30px 26px; }
.service-card .ic {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
  font-size: 1.5rem; color: #fff; background: var(--brand-grad); margin-bottom: 18px;
  box-shadow: 0 10px 26px rgba(37,99,235,.3); transition: transform .4s var(--ease);
}
.service-card:hover .ic { transform: rotate(-8deg) scale(1.08); }
.service-card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.service-card p { color: var(--text-soft); font-size: .93rem; margin-bottom: 14px; }
.service-card .more { font-size: .85rem; font-weight: 600; color: var(--brand-1); display: inline-flex; gap: 6px; align-items: center; }
.service-card .more i { transition: transform .3s; }
.service-card:hover .more i { transform: translateX(5px); }

/* ---------- Brand cards ---------- */
.brands-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.brand-card { display: flex; flex-direction: column; }
.brand-card .media { height: 180px; position: relative; overflow: hidden; }
.brand-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.brand-card:hover .media img { transform: scale(1.08); }
.brand-card .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.35)); }
.brand-card .body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.brand-logo {
  width: 54px; height: 54px; border-radius: 14px; background: var(--brand-grad); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; margin-top: -50px;
  position: relative; z-index: 2; box-shadow: var(--shadow-md); border: 3px solid var(--surface);
}
.brand-card h3 { font-size: 1.25rem; }
.brand-card p { color: var(--text-soft); font-size: .92rem; flex: 1; }

/* ---------- Projects ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.filter-btn {
  padding: 9px 20px; border-radius: 100px; border: 1px solid var(--border); background: var(--surface);
  color: var(--text-soft); font-weight: 500; font-size: .88rem; cursor: pointer; transition: all .3s var(--ease);
}
.filter-btn:hover { border-color: var(--brand-1); color: var(--brand-1); }
.filter-btn.active { background: var(--brand-grad); color: #fff; border-color: transparent; box-shadow: 0 8px 20px rgba(37,99,235,.3); }
.projects-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.project-card .media { height: 190px; overflow: hidden; position: relative; }
.project-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.project-card:hover .media img { transform: scale(1.1); }
.project-card .body { padding: 22px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 13px; border-radius: 100px;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.badge.completed { background: rgba(16,185,129,.14); color: #10b981; }
.badge.running   { background: rgba(37,99,235,.14); color: #2563eb; }
.badge.upcoming  { background: rgba(245,158,11,.16); color: #f59e0b; }
.badge.planning  { background: rgba(124,58,237,.16); color: #7c3aed; }
.badge.research  { background: rgba(6,182,212,.16); color: #06b6d4; }
.project-card .media .badge { position: absolute; top: 14px; left: 14px; z-index: 2; backdrop-filter: blur(6px); }
.project-card h3 { font-size: 1.15rem; margin: 10px 0 8px; }
.project-card p { color: var(--text-soft); font-size: .9rem; margin-bottom: 14px; }
.tech-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.tech-tags span { font-size: .72rem; padding: 4px 10px; border-radius: 8px; background: var(--surface-2); color: var(--text-mute); font-weight: 500; }

/* ---------- Portfolio ---------- */
.portfolio-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.portfolio-card { aspect-ratio: 4/3; position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; }
.portfolio-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.portfolio-card:hover img { transform: scale(1.12); }
.portfolio-card .pf-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px; background: linear-gradient(180deg, transparent 40%, rgba(6,10,25,.85));
  opacity: 0; transform: translateY(14px); transition: all .4s var(--ease); color: #fff;
}
.portfolio-card:hover .pf-overlay { opacity: 1; transform: translateY(0); }
.portfolio-card .pf-overlay span { font-size: .74rem; color: var(--brand-3); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.portfolio-card .pf-overlay h3 { font-size: 1.2rem; margin-top: 4px; }

/* ---------- Gallery ---------- */
.gallery-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); grid-auto-rows: 200px; }
.gallery-item { position: relative; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item::after { content: "\f00e"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(37,99,235,.5); opacity: 0; transition: opacity .4s; font-size: 1.4rem; }
.gallery-item:hover::after { opacity: 1; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 5000; background: rgba(4,7,16,.94); display: none; place-items: center; padding: 30px; }
.lightbox.open { display: grid; }
.lightbox img { max-width: 90vw; max-height: 84vh; border-radius: 14px; box-shadow: var(--shadow-lg); }
.lightbox .lb-close, .lightbox .lb-nav { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.2); width: 52px; height: 52px; border-radius: 50%; cursor: pointer; font-size: 1.2rem; display: grid; place-items: center; transition: background .3s; }
.lightbox .lb-close:hover, .lightbox .lb-nav:hover { background: var(--brand-1); }
.lightbox .lb-close { top: 24px; right: 24px; }
.lightbox .lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- Stats / counters ---------- */
.stats { background: var(--brand-grad); color: #fff; position: relative; overflow: hidden; }
.stats::before { content: ""; position: absolute; inset: 0; background: url('../assets/images/pattern.svg'); opacity: .08; }
.stats-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); text-align: center; }
.stat .num { font-family: 'Poppins'; font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 800; line-height: 1; }
.stat .num small { font-size: 1.6rem; }
.stat p { margin-top: 8px; font-size: .95rem; opacity: .9; letter-spacing: .04em; text-transform: uppercase; }
.stat i { font-size: 1.8rem; margin-bottom: 12px; opacity: .85; }

/* ---------- About preview ---------- */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about-media .float-badge {
  position: absolute; bottom: -22px; left: -22px; padding: 20px 26px; border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow-lg); display: flex; gap: 14px; align-items: center;
}
.about-media .float-badge .n { font-size: 1.8rem; font-weight: 800; font-family: 'Poppins'; }
.mv-list { display: grid; gap: 16px; margin: 24px 0; }
.mv-item { display: flex; gap: 16px; }
.mv-item .ic { flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px; background: var(--brand-grad-soft); color: var(--brand-1); display: grid; place-items: center; font-size: 1.15rem; }
.mv-item h4 { font-size: 1.05rem; margin-bottom: 2px; }
.mv-item p { color: var(--text-soft); font-size: .92rem; }

/* ---------- Testimonials ---------- */
.testi-grid { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.testi-card { padding: 30px; display: flex; flex-direction: column; gap: 16px; }
.testi-card .quote { color: var(--brand-2); font-size: 1.8rem; }
.testi-card p { color: var(--text-soft); font-style: italic; flex: 1; }
.testi-card .who { display: flex; align-items: center; gap: 14px; }
.testi-card .who img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.testi-card .who h4 { font-size: 1rem; }
.testi-card .who small { color: var(--text-mute); }
.stars { color: #f59e0b; font-size: .9rem; }

/* ---------- Students ---------- */
.students-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.student-card { text-align: center; padding: 28px 22px; }
.student-card img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px; border: 4px solid var(--surface); box-shadow: var(--shadow-md); }
.student-card h4 { font-size: 1.08rem; }
.student-card .course { color: var(--brand-1); font-weight: 600; font-size: .85rem; margin: 4px 0; }
.student-card .job { color: var(--text-soft); font-size: .88rem; }
.student-card .country { display: inline-flex; gap: 6px; align-items: center; margin-top: 8px; font-size: .8rem; color: var(--text-mute); }

/* ---------- Partners slider ---------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 60px; width: max-content; animation: scrollx 28s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track .logo { font-family: 'Poppins'; font-weight: 700; font-size: 1.3rem; color: var(--text-mute); opacity: .7; display: flex; align-items: center; gap: 10px; transition: color .3s, opacity .3s; white-space: nowrap; }
.marquee-track .logo:hover { color: var(--brand-1); opacity: 1; }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ---------- News / Blog cards ---------- */
.posts-grid { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.post-card .media { height: 210px; overflow: hidden; }
.post-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .media img { transform: scale(1.08); }
.post-card .body { padding: 24px; }
.post-meta { display: flex; gap: 14px; font-size: .78rem; color: var(--text-mute); margin-bottom: 10px; }
.post-meta .cat { color: var(--brand-1); font-weight: 700; }
.post-card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.post-card h3 a:hover { color: var(--brand-1); }
.post-card p { color: var(--text-soft); font-size: .92rem; margin-bottom: 14px; }

/* ---------- Video cards ---------- */
.video-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.video-card { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; cursor: pointer; }
.video-card img { width: 100%; height: 100%; object-fit: cover; }
.video-card .play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(6,10,25,.4); transition: background .3s; }
.video-card:hover .play { background: rgba(6,10,25,.2); }
.video-card .play i { width: 66px; height: 66px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--brand-1); display: grid; place-items: center; font-size: 1.4rem; transition: transform .3s; }
.video-card:hover .play i { transform: scale(1.12); }

/* ---------- FAQ accordion ---------- */
.faq-wrap { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.faq-q { width: 100%; text-align: left; padding: 20px 24px; background: none; border: none; color: var(--text); font-weight: 600; font-size: 1.02rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: inherit; }
.faq-q i { transition: transform .3s var(--ease); color: var(--brand-1); }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a p { padding: 0 24px 20px; color: var(--text-soft); font-size: .94rem; }

/* ---------- Team ---------- */
.team-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.team-card { text-align: center; padding-bottom: 24px; }
.team-card .media { height: 260px; overflow: hidden; position: relative; }
.team-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.team-card:hover .media img { transform: scale(1.07); }
.team-social { position: absolute; bottom: 14px; left: 50%; transform: translate(-50%, 20px); display: flex; gap: 8px; opacity: 0; transition: all .4s var(--ease); }
.team-card:hover .team-social { opacity: 1; transform: translate(-50%, 0); }
.team-social a { width: 38px; height: 38px; border-radius: 10px; background: var(--glass); backdrop-filter: blur(8px); border: 1px solid var(--glass-brd); color: #fff; display: grid; place-items: center; transition: background .3s; }
.team-social a:hover { background: var(--brand-1); }
.team-card h4 { margin-top: 16px; font-size: 1.1rem; }
.team-card .role { color: var(--brand-1); font-weight: 600; font-size: .85rem; }

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 820px; margin: 0 auto; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--border); }
.tl-item { position: relative; padding-bottom: 34px; }
.tl-item::before { content: ""; position: absolute; left: -30px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--brand-grad); box-shadow: 0 0 0 4px var(--bg); }
.tl-item .year { font-weight: 800; color: var(--brand-1); font-family: 'Poppins'; }
.tl-item h4 { margin: 4px 0 6px; }
.tl-item p { color: var(--text-soft); font-size: .93rem; }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-weight: 600; font-size: .88rem; }
.field input, .field textarea, .field select {
  padding: 13px 16px; border-radius: var(--radius-sm); border: 1px solid var(--border);
  background: var(--surface); color: var(--text); font-family: inherit; font-size: .95rem; transition: border .3s, box-shadow .3s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand-1); box-shadow: 0 0 0 4px rgba(37,99,235,.14); }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .85rem; color: var(--text-mute); }

/* ---------- Contact info ---------- */
.contact-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.info-item { display: flex; gap: 16px; margin-bottom: 22px; }
.info-item .ic { width: 50px; height: 50px; flex-shrink: 0; border-radius: 14px; background: var(--brand-grad-soft); color: var(--brand-1); display: grid; place-items: center; font-size: 1.15rem; }
.info-item h4 { font-size: 1rem; margin-bottom: 2px; }
.info-item p { color: var(--text-soft); font-size: .92rem; }
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); height: 100%; min-height: 300px; background: var(--surface-2); display: grid; place-items: center; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--brand-grad); border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 70px); text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 14px; }
.cta-band p { opacity: .92; max-width: 560px; margin: 0 auto 28px; }
.cta-band .hero-cta { justify-content: center; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 50px; }
.footer h5 { font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; color: var(--text-mute); margin-bottom: 18px; }
.footer .col p { color: var(--text-soft); font-size: .92rem; margin: 16px 0; }
.footer .col a { display: block; color: var(--text-soft); font-size: .92rem; padding: 6px 0; transition: color .25s, transform .25s; }
.footer .col a:hover { color: var(--brand-1); transform: translateX(4px); }
.newsletter { display: flex; gap: 8px; margin-top: 14px; }
.newsletter input { flex: 1; padding: 12px 14px; border-radius: 100px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-family: inherit; }
.newsletter button { border: none; border-radius: 100px; padding: 0 18px; background: var(--brand-grad); color: #fff; cursor: pointer; }
.social-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.social-row a { width: 40px; height: 40px; border-radius: 11px; background: var(--surface); border: 1px solid var(--border); display: grid; place-items: center; color: var(--text-soft); transition: all .3s var(--ease); }
.social-row a:hover { background: var(--brand-grad); color: #fff; transform: translateY(-4px); border-color: transparent; }
.footer-bottom { border-top: 1px solid var(--border); padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .86rem; color: var(--text-mute); }
.footer-bottom a { color: var(--brand-1); font-weight: 600; }

/* ---------- Floating buttons ---------- */
.floating-social { position: fixed; left: 18px; bottom: 24px; z-index: 900; display: flex; flex-direction: column; gap: 10px; }
.floating-social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-md); transform: scale(0); animation: pop .4s var(--ease) forwards; transition: transform .3s; }
.floating-social a:hover { transform: scale(1.12); }
.floating-social a:nth-child(1){animation-delay:.1s} .floating-social a:nth-child(2){animation-delay:.2s} .floating-social a:nth-child(3){animation-delay:.3s} .floating-social a:nth-child(4){animation-delay:.4s}
@keyframes pop { to { transform: scale(1); } }
.fs-fb{background:#1877f2} .fs-ig{background:linear-gradient(45deg,#f09433,#e6683c,#dc2743,#bc1888)} .fs-wa{background:#25d366} .fs-yt{background:#ff0000}

#backTop { position: fixed; right: 22px; bottom: 24px; z-index: 900; width: 50px; height: 50px; border-radius: 50%; border: none; background: var(--brand-grad); color: #fff; font-size: 1.1rem; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(20px); transition: all .4s var(--ease); box-shadow: var(--shadow-md); }
#backTop.show { opacity: 1; visibility: visible; transform: translateY(0); }
#backTop:hover { transform: translateY(-4px) scale(1.06); }

/* ---------- Bg utility ---------- */
.bg-alt { background: var(--bg-alt); }
.divider { height: 1px; background: var(--border); border: none; }
