/* =============================================
   N R GUGALE & CO — MAIN STYLESHEET
   ICAI Colour Palette: Navy #003087 | Gold #F7A600
   ============================================= */

:root {
  --navy:      #003087;
  --navy-dark: #001f5c;
  --navy-mid:  #00409a;
  --gold:      #F7A600;
  --gold-dark: #d98f00;
  --gold-light:#fff3cc;
  --white:     #ffffff;
  --off-white: #f8f7f4;
  --text:      #1a1a2e;
  --text-mid:  #4a4a6a;
  --text-light:#7a7a9a;
  --border:    #e0dfd8;
  --shadow:    0 4px 24px rgba(0,48,135,0.10);
  --shadow-lg: 0 12px 48px rgba(0,48,135,0.16);
  --radius:    12px;
  --radius-lg: 20px;
  --font-head: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', sans-serif;
  --transition: 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 600; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 600; }
h3 { font-size: 1.35rem; font-weight: 600; }
p  { color: var(--text-mid); font-size: 1rem; }

.gold { color: var(--gold); }
.center { text-align: center; }
.sub-text { color: var(--text-light); margin-bottom: 2.5rem; }

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
  display: block;
}

section {
  padding: 90px 0;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--navy-dark);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 30px;
  border-radius: 50px;
  letter-spacing: 0.02em;
  transition: var(--transition);
  border: 2px solid var(--gold);
}
.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(247,166,0,0.35);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 50px;
  transition: var(--transition);
}
.btn-whatsapp:hover {
  background: #25D366;
  border-color: #25D366;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 26px;
  border-radius: 50px;
  transition: var(--transition);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

/* ===== HEADER ===== */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(0,48,135,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(247,166,0,0.2);
  transition: var(--transition);
}
#header.scrolled {
  background: rgba(0,30,92,0.98);
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-wrap {
  position: relative;
  width: 44px;
  height: 44px;
}
.icai-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 6px;
}
.icai-badge-fallback {
  width: 44px;
  height: 44px;
  background: var(--gold);
  color: var(--navy-dark);
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.icai-badge-fallback.small {
  width: 36px;
  height: 36px;
  font-size: 0.9rem;
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.firm-name {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.firm-sub {
  font-size: 0.68rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}

#mainNav ul {
  display: flex;
  gap: 2rem;
  align-items: center;
}
#mainNav a {
  color: rgba(255,255,255,0.82);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: var(--transition);
  position: relative;
}
#mainNav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: var(--transition);
}
#mainNav a:hover { color: var(--gold); }
#mainNav a:hover::after { transform: scaleX(1); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
#hero {
  min-height: 100vh;
  background: var(--navy-dark);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 80% 50%, rgba(0,64,154,0.6) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 10% 80%, rgba(247,166,0,0.08) 0%, transparent 60%),
    linear-gradient(135deg, #001040 0%, #003087 50%, #001f5c 100%);
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(247,166,0,0.04) 59px, rgba(247,166,0,0.04) 60px),
    repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(247,166,0,0.04) 59px, rgba(247,166,0,0.04) 60px);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}
.hero-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1.2rem;
}
#hero h1 {
  color: var(--white);
  max-width: 720px;
  margin-bottom: 1.4rem;
}
.hero-desc {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  max-width: 540px;
  margin-bottom: 2.2rem;
  line-height: 1.75;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
.hero-scroll-hint span {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ===== ABOUT ===== */
#about {
  background: var(--off-white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 5rem;
  align-items: center;
}
.about-text h2 { margin-bottom: 1.2rem; }
.about-text p { margin-bottom: 1rem; }
.about-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-light);
  letter-spacing: 0.04em;
}
.about-badge-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}
.about-badge {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 12px rgba(0,48,135,0.12), 0 0 0 24px rgba(0,48,135,0.06);
}
.badge-inner {
  text-align: center;
  color: var(--white);
}
.badge-icai {
  display: block;
  font-family: var(--font-head);
  font-size: 1rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 600;
}
.badge-member {
  display: block;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 4px 0;
}
.badge-est {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
}
.about-address-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  box-shadow: var(--shadow);
  width: 100%;
}
.about-address-card svg { color: var(--navy); margin-top: 3px; flex-shrink: 0; }
.about-address-card strong { display: block; font-size: 0.85rem; color: var(--navy); margin-bottom: 4px; }
.about-address-card p { font-size: 0.85rem; line-height: 1.6; }

/* ===== PARTNERS ===== */
#partners {
  background: var(--white);
}
#partners h2 { margin-bottom: 3rem; }
.partners-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.partner-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  display: flex;
  gap: 1.6rem;
  align-items: flex-start;
  transition: var(--transition);
}
.partner-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--navy);
}
.partner-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 3px solid var(--gold);
}
.partner-avatar.rachana { background: var(--navy-mid); }
.partner-info h3 { font-size: 1.25rem; color: var(--navy); margin-bottom: 8px; }
.partner-credentials {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.cred {
  background: var(--navy);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
  letter-spacing: 0.06em;
}
.partner-qual {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 0.8rem;
}
.partner-bio {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.65;
}
.partner-areas strong {
  font-size: 0.82rem;
  color: var(--navy);
  display: block;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.partner-areas ul { display: flex; flex-direction: column; gap: 4px; }
.partner-areas li {
  font-size: 0.85rem;
  color: var(--text-mid);
  padding-left: 14px;
  position: relative;
}
.partner-areas li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.7rem;
  top: 2px;
}

/* ===== SERVICES ===== */
#services {
  background: var(--navy);
  color: var(--white);
}
#services h2 { color: var(--white); margin-bottom: 3rem; }
#services .section-label { color: var(--gold); opacity: 0.9; }
#services p.center { color: rgba(255,255,255,0.65); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: var(--transition);
}
.service-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: var(--gold);
  transform: translateY(-4px);
}
.service-card.featured {
  background: rgba(247,166,0,0.1);
  border-color: var(--gold);
}
.service-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy-dark);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 14px;
  border-radius: 20px;
  white-space: nowrap;
}
.service-icon {
  width: 64px;
  height: 64px;
  background: rgba(247,166,0,0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  color: var(--gold);
}
.service-card h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 0.7rem;
}
.service-card > p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
  line-height: 1.6;
}
.service-list { display: flex; flex-direction: column; gap: 7px; }
.service-list li {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  padding-left: 16px;
  position: relative;
}
.service-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.55rem;
  top: 4px;
}

/* ===== REVIEWS ===== */
#reviews {
  background: var(--off-white);
}
#reviews h2 { margin-bottom: 0.5rem; }
.reviews-note { font-size: 0.85rem; color: var(--text-light); margin-bottom: 2.5rem; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.review-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.review-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 0.8rem;
}
.star { color: #f59e0b; font-size: 1rem; }
.review-text {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-mid);
  margin-bottom: 1rem;
  font-style: italic;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.reviewer-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.reviewer-name { font-size: 0.88rem; font-weight: 600; color: var(--text); }
.review-date { font-size: 0.75rem; color: var(--text-light); }
.reviews-placeholder {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 2rem;
  background: var(--white);
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
}
.placeholder-icon { font-size: 3rem; margin-bottom: 1rem; }
.reviews-placeholder p { margin-bottom: 0.5rem; }
.reviews-placeholder p.small { font-size: 0.82rem; color: var(--text-light); margin-bottom: 1.5rem; }
.reviews-placeholder code { background: var(--off-white); padding: 2px 6px; border-radius: 4px; font-size: 0.8rem; }
.reviews-cta { text-align: center; margin-top: 1.5rem; }

/* ===== ARTICLES ===== */
#articles { background: var(--white); }
#articles h2 { margin-bottom: 0.5rem; }
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 1rem;
}
.article-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.article-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.article-tag {
  display: inline-block;
  background: var(--navy);
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 0.8rem;
}
.article-body { padding: 1.6rem; }
.article-body h3 {
  color: var(--navy);
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}
.article-body p {
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--text-light);
  border-top: 1px solid var(--border);
  padding-top: 0.8rem;
  margin-top: 0.5rem;
}
.article-read-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}
.article-read-more:hover { color: var(--gold); gap: 8px; }
.articles-empty {
  text-align: center;
  color: var(--text-light);
  padding: 2rem;
  display: none;
}

/* ===== CONTACT ===== */
#contact { background: var(--off-white); }
#contact h2 { margin-bottom: 3rem; }
.contact-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 1.4rem; }
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-icon {
  width: 42px;
  height: 42px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item strong { display: block; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--navy); margin-bottom: 4px; }
.contact-item p { font-size: 0.9rem; line-height: 1.7; }
.contact-item a:hover { color: var(--gold); }
.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.contact-map iframe { display: block; }
.contact-whatsapp-row { margin-top: 0.5rem; }
.btn-whatsapp-large {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 50px;
  transition: var(--transition);
}
.btn-whatsapp-large:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.3);
}

/* ===== FOOTER ===== */
#footer {
  background: var(--navy-dark);
  color: var(--white);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .brand { margin-bottom: 1rem; }
.footer-brand .firm-name { color: var(--white); }
.footer-desc { font-size: 0.85rem; color: rgba(255,255,255,0.55); line-height: 1.7; }
.footer-links strong, .footer-services strong, .footer-contact strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer-links ul, .footer-services ul { display: flex; flex-direction: column; gap: 8px; }
.footer-links li, .footer-services li { font-size: 0.86rem; color: rgba(255,255,255,0.6); }
.footer-links a:hover { color: var(--gold); }
.footer-contact p { font-size: 0.86rem; color: rgba(255,255,255,0.6); margin-bottom: 6px; }
.footer-contact a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  text-align: center;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.4); margin-bottom: 4px; }
.footer-disclaimer { font-size: 0.74rem !important; color: rgba(255,255,255,0.25) !important; }

/* ===== FLOATING WHATSAPP ===== */
.floating-wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  z-index: 999;
  transition: var(--transition);
  animation: waPulse 2.5s ease-in-out infinite;
}
.floating-wa:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.7);
  animation: none;
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.5); }
  50% { box-shadow: 0 4px 36px rgba(37,211,102,0.8), 0 0 0 10px rgba(37,211,102,0.1); }
}

/* ===== ARTICLE MODAL ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,20,60,0.8);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}
.modal-overlay.active { display: flex; }
.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 720px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  animation: modalIn 0.3s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-close {
  position: absolute;
  top: 18px; right: 18px;
  background: var(--off-white);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: var(--transition);
}
.modal-close:hover { background: var(--navy); color: var(--white); }
.modal-tag { font-size: 0.75rem; color: var(--gold); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; margin-bottom: 0.8rem; }
.modal-title { font-family: var(--font-head); font-size: 1.8rem; color: var(--navy); margin-bottom: 0.5rem; line-height: 1.3; }
.modal-meta { font-size: 0.82rem; color: var(--text-light); margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.modal-content { font-size: 0.95rem; line-height: 1.85; color: var(--text-mid); white-space: pre-wrap; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-badge-col { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .partners-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  #mainNav { display: none; }
  #mainNav.open {
    display: flex;
    position: fixed;
    inset: 70px 0 0 0;
    background: var(--navy-dark);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 999;
  }
  #mainNav.open ul { flex-direction: column; text-align: center; gap: 1.8rem; }
  #mainNav.open a { font-size: 1.2rem; }
  .hamburger { display: flex; }
  section { padding: 60px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .about-stats { flex-direction: column; gap: 1.2rem; }
  .partner-card { flex-direction: column; }
}
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .header-inner { padding: 0 18px; }
  .hero-content { padding: 0 18px; }
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
