/* ============================================================
   manipathak.com — Main Stylesheet v3  (fully merged, no duplicates)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=DM+Serif+Display:ital@0;1&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --navy:    #0A1628;
  --navy-2:  #112240;
  --blue:    #1558D6;
  --blue-lt: #3B82F6;
  --sky:     #EFF6FF;
  --amber:   #F59E0B;
  --green:   #059669;
  --white:   #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100:#F3F4F6;
  --gray-200:#E5E7EB;
  --gray-400:#9CA3AF;
  --gray-600:#4B5563;
  --gray-800:#1F2937;
  --text:    #1F2937;
  --text-lt: #4B5563;
  --radius:  10px;
  --shadow:  0 4px 24px rgba(10,22,40,0.08);
  --shadow-lg: 0 12px 48px rgba(10,22,40,0.14);
  --font-sans: 'Sora', sans-serif;
  --font-serif: 'DM Serif Display', serif;
  --font-mono: 'JetBrains Mono', monospace;
  --max-w: 1200px;
  --nav-h: 70px;
  --transition: 0.22s cubic-bezier(0.4,0,0.2,1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 80px;
}
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* clip vs hidden: doesn't break position:sticky on iOS */
}
img, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--navy); }
ul { list-style: none; }

/* ── Layout ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ── Typography ── */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-sans); color: var(--navy); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p  { margin-bottom: 1.2rem; color: var(--text-lt); font-size: 1.05rem; }
p:last-child { margin-bottom: 0; }
.serif { font-family: var(--font-serif); }
.mono  { font-family: var(--font-mono); }
.text-blue   { color: var(--blue); }
.text-amber  { color: var(--amber); }
.text-green  { color: var(--green); }
.text-navy   { color: var(--navy); }
.text-white  { color: var(--white); }
.text-center { text-align: center; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius);
  font-family: var(--font-sans); font-size: 0.95rem; font-weight: 600;
  cursor: pointer; border: 2px solid transparent;
  transition: all var(--transition); text-decoration: none;
  white-space: nowrap; line-height: 1;
}
.btn-primary  { background: var(--blue);  color: var(--white); border-color: var(--blue); }
.btn-primary:hover  { background: var(--navy); border-color: var(--navy); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(21,88,214,0.3); }
.btn-outline  { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover  { background: var(--blue); color: var(--white); transform: translateY(-2px); }
.btn-white    { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-white:hover    { background: var(--sky); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,255,255,0.3); }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-sm { padding: 9px 18px; font-size: 0.875rem; }

/* ── Badges ── */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 100px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; }
.badge-blue  { background: #DBEAFE; color: var(--blue); }
.badge-amber { background: #FEF3C7; color: #92400E; }
.badge-green { background: #D1FAE5; color: #065F46; }
.badge-dark  { background: var(--navy); color: var(--white); }

/* ── Section spacing ── */
.section    { padding: 80px 0; }
.section-lg { padding: 100px 0; }
.section-sm { padding: 48px 0; }
.section-title  { margin-bottom: 16px; }
.section-sub    { font-size: 1.1rem; color: var(--text-lt); max-width: 640px; margin-bottom: 48px; }
.section-header { margin-bottom: 56px; }

/* ── Cards ── */
.card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 14px; padding: 32px;
  box-shadow: var(--shadow); transition: all var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #BFDBFE; }
.card-dark { background: var(--navy-2); border-color: rgba(255,255,255,0.07); }
.card-dark h3, .card-dark h4 { color: var(--white); }
.card-dark p { color: rgba(255,255,255,0.7); }

/* ── Grids ── */
.grid   { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ── Flex helpers ── */
.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap    { flex-wrap: wrap; }
.gap-2 { gap: 8px; }  .gap-3 { gap: 12px; }  .gap-4 { gap: 16px; }  .gap-6 { gap: 24px; }  .gap-8 { gap: 32px; }

/* ── Utility ── */
.mt-8 { margin-top: 32px; } .mt-4 { margin-top: 16px; }
.mb-8 { margin-bottom: 32px; } .mb-4 { margin-bottom: 16px; }
.py-2 { padding-top: 8px; padding-bottom: 8px; }
.rounded-full { border-radius: 100px; }
.overflow-hidden { overflow: hidden; }
.w-full { width: 100%; }
.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; width: 100%; }

/* =============================================================
   NAVIGATION — Desktop mega menu + mobile drawer
   ============================================================= */

.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}
.site-nav.scrolled { box-shadow: 0 2px 20px rgba(10,22,40,0.1); }

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h); max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  gap: 8px;
}

/* Logo */
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.nav-logo-mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--navy); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.nav-logo-mark span { color: var(--white); font-weight: 800; font-size: 1rem; font-family: var(--font-sans); }
.nav-logo-text { font-weight: 700; font-size: 1.1rem; color: var(--navy); white-space: nowrap; }
.nav-logo-text span { color: var(--blue); }

/* Desktop links area */
.nav-links { display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center; }

/* Both <a> and <button> nav items share the same look */
.nav-item {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 12px; border-radius: 8px;
  color: var(--gray-800); font-size: 0.88rem; font-weight: 500;
  text-decoration: none; background: none; border: none;
  cursor: pointer; font-family: var(--font-sans);
  transition: all var(--transition); white-space: nowrap; line-height: 1.4;
}
.nav-item:hover, .nav-item.active { background: var(--sky); color: var(--blue); }

/* CTA area */
.nav-cta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-contact-link {
  color: var(--text-lt); font-size: 0.88rem; font-weight: 500;
  padding: 7px 12px; border-radius: 8px; text-decoration: none;
  transition: all var(--transition); white-space: nowrap;
}
.nav-contact-link:hover { background: var(--sky); color: var(--blue); }

/* Hamburger — hidden on desktop, shown on mobile */
.nav-burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; padding: 8px;
  background: none; border: none; cursor: pointer; border-radius: 8px;
  transition: background var(--transition); flex-shrink: 0;
}
.nav-burger:hover { background: var(--gray-100); }
.nav-burger span {
  display: block; width: 22px; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: all 0.3s ease; transform-origin: center;
}
/* Burger → X animation via JS adding .is-open */
.nav-burger.is-open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.is-open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── MEGA MENU ── */
.nav-mega-wrap { position: relative; }

.nav-mega-btn svg {
  width: 12px; height: 12px;
  transition: transform var(--transition); flex-shrink: 0;
}
.nav-mega-btn[aria-expanded="true"] { background: var(--sky); color: var(--blue); }
.nav-mega-btn[aria-expanded="true"] svg { transform: rotate(180deg); }

.mega-panel {
  display: none;
  position: absolute;
  top: calc(100% + 14px);
  left: 50%; transform: translateX(-50%);
  width: min(720px, calc(100vw - 32px));  /* never wider than viewport */
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(10,22,40,0.14), 0 4px 16px rgba(10,22,40,0.06);
  z-index: 1100;
  animation: megaFadeIn 0.16s ease both;
  overflow: hidden;
}
@keyframes megaFadeIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.mega-panel.open { display: block; }

/* Arrow pointer above panel */
.mega-panel::before {
  content: '';
  position: absolute; top: -7px; left: 50%;
  width: 13px; height: 13px;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  border-left: 1px solid var(--gray-200);
  transform: translateX(-50%) rotate(45deg);
}

.mega-inner {
  display: grid; grid-template-columns: 1fr 1fr 200px;
}

.mega-col { padding: 22px 18px; }
.mega-col + .mega-col { border-left: 1px solid var(--gray-100); }
.mega-aside-col { background: var(--gray-50); border-radius: 0 18px 18px 0; padding: 20px 16px; }

.mega-section-label {
  font-size: 0.65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--gray-400); margin-bottom: 10px; padding-bottom: 8px;
  border-bottom: 1px solid var(--gray-200);
}
.mega-link {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 9px; border-radius: 9px;
  text-decoration: none; color: var(--text);
  transition: all var(--transition); margin-bottom: 3px;
}
.mega-link:hover { background: var(--sky); }
.mega-link:hover .mega-link-body strong { color: var(--blue); }
.mega-icon {
  width: 32px; height: 32px; min-width: 32px; border-radius: 7px;
  background: var(--sky); display: flex; align-items: center;
  justify-content: center; font-size: 0.9rem;
  transition: background var(--transition);
}
.mega-link:hover .mega-icon { background: #DBEAFE; }
.mega-link-body { display: flex; flex-direction: column; }
.mega-link-body strong { font-size: 0.83rem; font-weight: 600; color: var(--navy); line-height: 1.3; }
.mega-link-body span  { font-size: 0.74rem; color: var(--text-lt); margin-top: 1px; line-height: 1.3; }

.mega-aside-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 12px; padding: 14px;
}
.mega-aside-icon  { font-size: 1.4rem; margin-bottom: 5px; }
.mega-aside-title { font-weight: 700; font-size: 0.84rem; color: var(--navy); margin-bottom: 5px; }
.mega-aside-card p { font-size: 0.75rem; color: var(--text-lt); line-height: 1.5; margin: 0; }

.mega-quick-link {
  display: flex; align-items: center; gap: 7px;
  padding: 7px 9px; border-radius: 7px;
  text-decoration: none; font-size: 0.8rem; font-weight: 500;
  color: var(--text-lt); transition: all var(--transition); margin-bottom: 2px;
}
.mega-quick-link:hover { background: var(--white); color: var(--blue); }

/* ── MOBILE OVERLAY ── */
.mobile-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(10,22,40,0.55);
  z-index: 1200;
  backdrop-filter: blur(2px);
  -webkit-tap-highlight-color: transparent;
}
.mobile-overlay.open { display: block; }

/* ── MOBILE DRAWER ── */
.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(360px, 100vw);
  background: var(--white);
  z-index: 1300;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  display: flex; flex-direction: column;
  overflow: hidden;
  box-shadow: -8px 0 32px rgba(10,22,40,0.12);
}
.mobile-menu.open { transform: translateX(0); }

.mobile-menu-inner {
  display: flex; flex-direction: column;
  height: 100%; overflow: hidden;
}

.mobile-menu-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--gray-200);
  flex-shrink: 0;
}
.mobile-close {
  width: 36px; height: 36px; min-width: 36px; border-radius: 50%;
  background: var(--gray-100); border: none; cursor: pointer;
  font-size: 1rem; color: var(--text);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.mobile-close:hover { background: var(--gray-200); }

.mobile-nav {
  flex: 1; overflow-y: auto; padding: 10px 14px;
  -webkit-overflow-scrolling: touch;
}
.mob-link {
  display: block; padding: 12px 12px; border-radius: 9px;
  color: var(--text); font-weight: 500; font-size: 0.97rem;
  text-decoration: none; transition: all var(--transition);
}
.mob-link:hover, .mob-link.active { background: var(--sky); color: var(--blue); }

.mob-accordion {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 12px 12px; border-radius: 9px;
  background: none; border: none; cursor: pointer;
  color: var(--text); font-weight: 500; font-size: 0.97rem;
  font-family: var(--font-sans); text-align: left;
  transition: all var(--transition);
}
.mob-accordion:hover { background: var(--sky); color: var(--blue); }
.mob-accordion svg { transition: transform var(--transition); flex-shrink: 0; }
.mob-accordion[aria-expanded="true"] { background: var(--sky); color: var(--blue); }
.mob-accordion[aria-expanded="true"] svg { transform: rotate(180deg); }

.mob-accordion-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}
.mob-accordion-panel.open { max-height: 500px; }

.mob-sub-link {
  display: block; padding: 9px 12px 9px 16px; border-radius: 8px;
  color: var(--text-lt); font-size: 0.88rem;
  text-decoration: none; transition: all var(--transition);
}
.mob-sub-link:hover { background: var(--sky); color: var(--blue); }

.mobile-menu-footer {
  padding: 16px 18px;
  border-top: 1px solid var(--gray-200);
  background: var(--gray-50);
  flex-shrink: 0;
}

/* ── NAV BREAKPOINTS ── */
/* Desktop (>960px): show nav-links, hide burger */
@media (min-width: 961px) {
  .nav-burger  { display: none !important; }
  .nav-links   { display: flex; }
  .nav-contact-link { display: inline-flex; }
}
/* Mobile/Tablet (≤960px): hide nav-links, show burger */
@media (max-width: 960px) {
  .nav-burger  { display: flex !important; }
  .nav-links   { display: none !important; }
  .nav-contact-link { display: none; }
  .nav-cta .btn { display: none; }
}

/* =============================================================
   HERO
   ============================================================= */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  background: var(--navy); position: relative; overflow: hidden;
  padding-top: var(--nav-h);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 80% at 60% 50%, rgba(21,88,214,0.25) 0%, transparent 70%),
    radial-gradient(ellipse 60% 60% at 10% 80%, rgba(245,158,11,0.08) 0%, transparent 60%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: var(--max-w); margin: 0 auto; padding: 80px 24px;
  display: grid; grid-template-columns: 1fr 400px; gap: 56px; align-items: center;
}
.hero-eyebrow { margin-bottom: 20px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(21,88,214,0.2); border: 1px solid rgba(59,130,246,0.3);
  color: #93C5FD; padding: 6px 14px; border-radius: 100px;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.05em;
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--amber); font-family: var(--font-serif); }
.hero-desc { color: rgba(255,255,255,0.72); font-size: 1.1rem; margin-bottom: 36px; max-width: 560px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.hero-stat-num { font-size: 1.9rem; font-weight: 800; color: var(--white); line-height: 1; }
.hero-stat-num span { color: var(--amber); }
.hero-stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.55); margin-top: 2px; }
.hero-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px; padding: 28px; backdrop-filter: blur(8px);
}
.hero-card-title { color: var(--white); font-size: 1rem; font-weight: 600; margin-bottom: 20px; }
.proof-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.proof-icon { width: 36px; height: 36px; border-radius: 8px; background: rgba(21,88,214,0.3); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.1rem; }
.proof-text strong { display: block; color: var(--white); font-size: 0.9rem; }
.proof-text span { color: rgba(255,255,255,0.55); font-size: 0.8rem; }

/* ── TRUST BAR ── */
.trust-bar { background: var(--gray-50); border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); padding: 24px 0; }
.trust-inner { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; color: var(--text-lt); font-size: 0.88rem; font-weight: 600; }
.trust-icon { font-size: 1.1rem; }

/* ── SERVICE CARDS ── */
.service-icon {
  width: 52px; height: 52px; border-radius: 12px; background: var(--sky);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 18px; transition: all var(--transition);
}
.card:hover .service-icon { background: var(--blue); }

/* ── TESTIMONIALS ── */
.testimonial-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: 14px; padding: 28px; }
.testimonial-stars { color: var(--amber); font-size: 1rem; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-text  { color: var(--text); font-size: 0.95rem; line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--blue); display: flex; align-items: center; justify-content: center; color: var(--white); font-weight: 700; font-size: 1rem; flex-shrink: 0; }
.testimonial-name { font-weight: 600; color: var(--navy); font-size: 0.9rem; }
.testimonial-role { color: var(--text-lt); font-size: 0.8rem; }

/* ── PROCESS ── */
.process-step { position: relative; padding-left: 64px; padding-bottom: 40px; }
.process-step:not(:last-child)::before { content: ''; position: absolute; left: 19px; top: 44px; bottom: 0; width: 2px; background: var(--gray-200); }
.step-num { position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: var(--white); font-weight: 700; font-size: 0.9rem; display: flex; align-items: center; justify-content: center; }
.step-title { font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.step-desc  { color: var(--text-lt); font-size: 0.95rem; }

/* ── CTA SECTION ── */
.cta-section { background: var(--navy); position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 70% at 50% 0%, rgba(21,88,214,0.35) 0%, transparent 70%); }
.cta-inner { position: relative; z-index: 1; text-align: center; }
.cta-inner h2 { color: var(--white); margin-bottom: 16px; }
.cta-inner p  { color: rgba(255,255,255,0.7); margin-bottom: 32px; }

/* ── BLOG CARDS ── */
.blog-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: 14px; overflow: hidden; transition: all var(--transition); display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-thumb { aspect-ratio: 16/9; background: var(--sky); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; }
.blog-body  { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-meta  { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.blog-date  { color: var(--text-lt); font-size: 0.8rem; }
.blog-card h3 { font-size: 1.05rem; margin-bottom: 10px; line-height: 1.4; }
.blog-card h3 a { color: var(--navy); }
.blog-card h3 a:hover { color: var(--blue); }
.blog-card p { font-size: 0.92rem; color: var(--text-lt); flex: 1; }
.blog-read-more { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-size: 0.88rem; font-weight: 600; margin-top: 16px; }

/* ── ABOUT PAGE ── */
.about-hero { background: var(--navy); color: var(--white); padding: 120px 0 80px; }
.about-hero h1 { color: var(--white); }
.about-hero p  { color: rgba(255,255,255,0.75); }
.about-photo { width: 100%; border-radius: 20px; aspect-ratio: 4/5; background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%); display: flex; align-items: center; justify-content: center; font-size: 5rem; }
.timeline-item { padding-left: 52px; position: relative; padding-bottom: 36px; }
.timeline-item:not(:last-child)::before { content: ''; position: absolute; left: 15px; top: 34px; bottom: 0; width: 2px; background: var(--gray-200); }
.timeline-dot  { position: absolute; left: 0; top: 4px; width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: var(--white); font-size: 0.75rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.timeline-year { font-size: 0.78rem; font-weight: 700; color: var(--blue); letter-spacing: 0.06em; margin-bottom: 4px; }
.timeline-role { font-weight: 700; color: var(--navy); }
.timeline-desc { font-size: 0.92rem; color: var(--text-lt); margin-top: 4px; }

/* ── PRICING ── */
.pricing-card { border: 2px solid var(--gray-200); border-radius: 16px; padding: 36px; position: relative; transition: all var(--transition); }
.pricing-card.popular { border-color: var(--blue); }
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.popular-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--blue); color: var(--white); padding: 4px 16px; border-radius: 100px; font-size: 0.78rem; font-weight: 700; white-space: nowrap; }
.price-amount { font-size: 3rem; font-weight: 800; color: var(--navy); line-height: 1; }
.price-period { font-size: 1rem; color: var(--text-lt); font-weight: 400; }
.price-feature { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--gray-100); font-size: 0.92rem; color: var(--text); }
.price-check { color: var(--green); font-weight: 700; flex-shrink: 0; }

/* ── CONTACT ── */
.contact-form { background: var(--white); border: 1px solid var(--gray-200); border-radius: 16px; padding: 40px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; color: var(--navy); font-size: 0.9rem; margin-bottom: 7px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 2px solid var(--gray-200); border-radius: 10px;
  font-family: var(--font-sans); font-size: 0.95rem; color: var(--text);
  background: var(--white); outline: none; transition: border-color var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--blue); }
.form-group textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── FAQ ACCORDION ── */
.faq-item { border: 1px solid var(--gray-200); border-radius: 12px; margin-bottom: 10px; overflow: hidden; }
.faq-q { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; cursor: pointer; font-weight: 600; color: var(--navy); background: var(--white); transition: background var(--transition); }
.faq-q:hover { background: var(--sky); }
.faq-q svg { flex-shrink: 0; transition: transform var(--transition); }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { padding: 0 24px; max-height: 0; overflow: hidden; transition: all 0.3s ease; }
.faq-item.open .faq-a { padding: 0 24px 20px; max-height: 600px; }
.faq-a p { color: var(--text-lt); font-size: 0.95rem; }

/* ── PAGE HEADER (inner pages) ── */
.page-header { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); padding: 120px 0 80px; }
.page-header h1 { color: var(--white); margin-bottom: 16px; }
.page-header p  { color: rgba(255,255,255,0.72); font-size: 1.1rem; max-width: 640px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,0.55); font-size: 0.85rem; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,0.3); font-size: 0.85rem; }
.breadcrumb .current { color: rgba(255,255,255,0.85); font-size: 0.85rem; }

/* ── STATS ── */
.stat-card { text-align: center; padding: 32px 24px; }
.stat-big { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; color: var(--blue); line-height: 1; margin-bottom: 6px; }
.stat-label { color: var(--text-lt); font-size: 0.9rem; }

/* ── TOAST ── */
.toast { position: fixed; bottom: 24px; right: 24px; background: var(--green); color: var(--white); padding: 14px 22px; border-radius: 10px; font-size: 0.92rem; font-weight: 600; z-index: 9999; transform: translateY(80px); opacity: 0; transition: all 0.4s ease; pointer-events: none; }
.toast.show { transform: translateY(0); opacity: 1; }

/* ── FOOTER ── */
.site-footer { background: var(--navy); color: var(--white); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.footer-logo-text { font-size: 1.3rem; font-weight: 800; color: var(--white); margin-bottom: 12px; }
.footer-logo-text span { color: var(--blue); }
.footer-desc { color: rgba(255,255,255,0.55); font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; flex-wrap: wrap; }
.social-link { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,0.07); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); font-size: 0.85rem; transition: all var(--transition); text-decoration: none; }
.social-link:hover { background: var(--blue); color: var(--white); }
.footer-col-title { color: var(--white); font-size: 0.9rem; font-weight: 700; margin-bottom: 18px; letter-spacing: 0.04em; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255,255,255,0.55); font-size: 0.88rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 24px 0; margin-top: 56px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { color: rgba(255,255,255,0.4); font-size: 0.82rem; margin: 0; }
.footer-bottom a { color: rgba(255,255,255,0.4); font-size: 0.82rem; }
.footer-bottom a:hover { color: var(--white); }

/* ── 404 ── */
.error-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--navy); text-align: center; padding: 24px; }
.error-code  { font-size: clamp(6rem, 20vw, 12rem); font-weight: 900; color: var(--blue); line-height: 1; opacity: 0.5; font-family: var(--font-mono); }
.error-title { color: var(--white); font-size: clamp(1.5rem, 4vw, 2.5rem); margin-bottom: 16px; }
.error-desc  { color: rgba(255,255,255,0.6); max-width: 480px; margin: 0 auto 32px; }

/* ── LEGAL ── */
.legal-content { max-width: 800px; margin: 0 auto; padding: 80px 24px; }
.legal-content h2 { font-size: 1.4rem; margin-top: 44px; margin-bottom: 14px; }
.legal-content h3 { font-size: 1.1rem; margin-top: 28px; margin-bottom: 10px; color: var(--text); }
.legal-content p, .legal-content li { color: var(--text-lt); font-size: 0.97rem; line-height: 1.8; }
.legal-content ul { padding-left: 24px; list-style: disc; margin-bottom: 16px; }
.legal-content ul li { margin-bottom: 6px; }
.legal-update { background: var(--sky); border-left: 4px solid var(--blue); padding: 12px 18px; border-radius: 0 8px 8px 0; margin-bottom: 36px; font-size: 0.88rem; color: var(--blue); font-weight: 600; }

/* ── COURSES ── */
.course-card { border: 1px solid var(--gray-200); border-radius: 14px; overflow: hidden; transition: all var(--transition); }
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.course-thumb { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%); display: flex; align-items: center; justify-content: center; padding: 32px; }
.course-thumb-text { color: var(--white); font-size: 1.3rem; font-weight: 800; text-align: center; }
.course-body { padding: 24px; }
.course-tag  { display: inline-flex; gap: 6px; margin-bottom: 10px; }
.course-meta { display: flex; gap: 16px; margin: 14px 0; flex-wrap: wrap; }
.course-meta-item { display: flex; align-items: center; gap: 6px; color: var(--text-lt); font-size: 0.82rem; }

/* ── CASE STUDIES ── */
.case-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: 14px; padding: 32px; }
.case-result { display: flex; gap: 24px; flex-wrap: wrap; margin: 16px 0; }
.case-metric { text-align: center; }
.case-metric-val   { font-size: 2rem; font-weight: 800; color: var(--green); }
.case-metric-label { font-size: 0.78rem; color: var(--text-lt); }

/* ── RESOURCES ── */
.tool-card { border: 1px solid var(--gray-200); border-radius: 12px; padding: 24px; display: flex; gap: 18px; align-items: flex-start; transition: all var(--transition); }
.tool-card:hover { border-color: var(--blue); box-shadow: 0 4px 16px rgba(21,88,214,0.1); }
.tool-icon { width: 48px; height: 48px; border-radius: 10px; background: var(--sky); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.tool-info h4 { color: var(--navy); margin-bottom: 4px; }
.tool-info p  { font-size: 0.85rem; color: var(--text-lt); margin: 0; }
.tool-rating  { display: flex; align-items: center; gap: 4px; color: var(--amber); font-size: 0.82rem; margin-top: 6px; }

/* ── ANIMATIONS ── */
@keyframes fadeUp  { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse   { 0%,100% { transform: scale(1); } 50% { transform: scale(1.04); } }
.animate-up { animation: fadeUp 0.6s ease both; }
.delay-1 { animation-delay: 0.1s; } .delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; } .delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* ── SCROLL REVEAL ── */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].revealed { opacity: 1; transform: none; }

/* =============================================================
   RESPONSIVE — Mobile-first fixes
   ============================================================= */

/* Tablet: ≤1024px */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-content { grid-template-columns: 1fr; gap: 0; }
  .hero-card { display: none; }
  .hero-content { padding: 64px 24px; }
}

/* Mobile: ≤640px */
@media (max-width: 640px) {
  .container    { padding: 0 16px; }
  .section      { padding: 56px 0; }
  .section-lg   { padding: 72px 0; }
  h1 { font-size: clamp(1.6rem, 8vw, 2.2rem); }
  h2 { font-size: clamp(1.3rem, 6vw, 1.8rem); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr !important; }
  .form-row     { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .site-footer  { padding-top: 48px; }
  .page-header  { padding: 96px 0 56px; }
  .page-header h1 { font-size: clamp(1.4rem, 7vw, 1.9rem); }
  .about-hero   { padding: 96px 0 56px; }
  .contact-form { padding: 24px 18px; }
  .pricing-card { padding: 24px 18px; }
  .price-amount { font-size: 2.2rem; }
  .cta-inner .flex-wrap { flex-direction: column; }
  .cta-inner .btn { width: 100%; justify-content: center; }
  .blog-body    { padding: 18px; }
  .hero-ctas    { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-stats   { gap: 20px; }
  .trust-inner  { gap: 16px; justify-content: flex-start; }
}

/* Extra small: ≤400px */
@media (max-width: 400px) {
  .container { padding: 0 12px; }
  .card { padding: 20px 16px; }
  .hero-stats .hero-stat { min-width: 40%; }
  .nav-logo-text { font-size: 0.95rem; }
}

/* ── PRINT ── */
@media print {
  .site-nav, .site-footer, .cta-section, .mobile-overlay, .mobile-menu { display: none; }
  body { font-size: 12pt; }
}

/* ── Inline responsive two-column grids (homepage sections) ── */
@media (max-width: 900px) {
  .resp-2col-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
}
@media (max-width: 640px) {
  .resp-2col-grid { gap: 28px !important; }
}
/* Also sync assets copy */
