:root {
  --primary:    #c8972a;
  --primary-dk: #a07a1e;
  --dark:       #0d1b2a;
  --dark2:      #152235;
  --text:       #334155;
  --light:      #f8f5f0;
  --white:      #ffffff;
  --border:     #e2d9cc;
  --ticker-bg:  #c8972a;
  --nav-h:      90px;
  --r:          6px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 15px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

h1,h2,h3,h4,h5 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  color: var(--dark);
  line-height: 1.25;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 72px 0; }
.section-sm { padding: 48px 0; }

.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: var(--r);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .4px;
  transition: all .25s;
  cursor: pointer;
  border: none;
}
.btn-primary   { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dk); transform: translateY(-2px); }
.btn-outline   { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-dark      { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--dark2); transform: translateY(-2px); }

/* ========= TICKER ========= */
.ticker-wrap {
  background: var(--ticker-bg);
  color: #fff;
  overflow: hidden;
  padding: 8px 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .3px;
  position: relative;
  z-index: 200;
}
.ticker-inner {
  display: flex;
  white-space: nowrap;
  animation: ticker 60s linear infinite;
  will-change: transform;
}
.ticker-inner span { padding-right: 60px; }
@keyframes ticker { from { transform: translateX(0) } to { transform: translateX(-50%) } }

/* ========= HEADER — new clean design ========= */
header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: #fff;
  border-bottom: 3px solid var(--primary);
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
  transition: box-shadow .3s;
}
header.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,.14); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 20px;
}

/* ── Logo ── */
.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
}
.logo-fallback {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-icon {
  background: var(--dark);
  color: var(--primary);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 18px;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-text strong { display: block; font-size: 15px; color: var(--dark); font-family: 'Playfair Display', serif; }
.logo-text small  { font-size: 11px; color: var(--primary); font-weight: 600; }

/* ── Desktop Nav ── */
.desktop-nav { display: flex; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 13px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--dark);
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.nav-link:hover,
.nav-link.nav-active { background: var(--primary); color: #fff; }
.nav-link.nav-active { font-weight: 600; }
.nav-has-arrow svg   { transition: transform .2s; }
.has-dropdown:hover .nav-has-arrow svg { transform: rotate(180deg); }

/* ── Mega Menu ── */
.has-dropdown { position: relative; }

.mega-menu {
  display: grid;
  grid-template-columns: 1fr 1fr 200px;
  gap: 0;
  position: absolute;
  top: 100%; /* flush — no gap so mouse stays in hover zone */
  left: 50%;
  transform: translateX(-50%) translateY(8px); /* single transform — duplicate removed */
  min-width: 580px;
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--primary);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 16px 48px rgba(0,0,0,.14);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
  z-index: 600;
}

/* CSS :hover as fallback + JS .is-open class as primary trigger */
.has-dropdown:hover .mega-menu,
.has-dropdown.is-open .mega-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

/* Invisible bridge fills gap between nav link and menu top */
.has-dropdown::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 10px;
  background: transparent;
  z-index: 601;
}

.mega-col { padding: 20px 18px; }
.mega-col + .mega-col { border-left: 1px solid var(--border); }

.mega-heading {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--primary);
  margin: 0 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}

.mega-col a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  font-size: 13.5px;
  color: var(--dark);
  font-weight: 500;
  border-radius: 6px;
  text-decoration: none;
  margin-bottom: 2px;
  transition: background .15s, color .15s;
}
.mega-col a:hover { background: var(--light); color: var(--primary); }
.mega-icon { font-size: 14px; }

/* Mega CTA column */
.mega-cta-col { background: var(--dark); border-radius: 0 0 10px 0; }
.mega-cta-box { text-align: center; padding: 10px 0; }
.mega-cta-title { color: #fff; font-family: 'Playfair Display', serif; font-size: .95rem; margin: 0 0 4px; }
.mega-cta-reg   { color: var(--primary); font-size: 1.1rem; font-weight: 700; margin: 0 0 4px; }
.mega-cta-sub   { color: rgba(255,255,255,.5); font-size: 11px; margin: 0 0 14px; }
.mega-cta-btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 9px 18px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s;
}
.mega-cta-btn:hover { background: var(--primary-dk); }

/* ── Header Right ── */
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* ── Hamburger button — hidden on desktop ── */
.hamburger-btn {
  display: none;           /* HIDDEN on desktop — only shows on mobile */
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 6px;
  background: var(--dark);
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.hamburger-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all .3s;
}
.hamburger-btn.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn.is-open span:nth-child(2) { opacity: 0; }
.hamburger-btn.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile breakpoint: switch nav to hamburger ── */
@media (max-width: 960px) {
  .desktop-nav         { display: none; }
  .hamburger-btn       { display: flex; }
  .header-right .btn   { display: none; }  /* hide CTA on mobile, it's in mobile nav */
  .header-inner        { height: 68px; }
}

/* ── Mobile Overlay — completely separate from desktop nav ── */
.mobile-overlay {
  display: none;           /* hidden by default */
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: var(--dark);
  overflow-y: auto;
  padding: 24px 24px 40px;
}
.mobile-overlay.is-open { display: block; }

.mobile-nav-inner { max-width: 460px; margin: 0 auto; }

/* ── Mobile backdrop ── */
.mobile-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 8999;
  background: rgba(0,0,0,.55);
}
.mobile-backdrop.is-open { display: block; }

/* ── Mobile close button ── */
.mobile-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 6px;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  margin-left: auto;
  margin-bottom: 24px;
  transition: background .2s;
}
.mobile-close-btn:hover { background: rgba(255,255,255,.2); }

/* ── Mobile logo ── */
.mobile-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.mobile-logo .logo-icon {
  background: var(--primary);
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 18px;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mobile-logo strong { display: block; color: #fff; font-size: 15px; }
.mobile-logo small  { color: var(--primary); font-size: 11px; font-weight: 600; }

/* ── Mobile nav list ── */
.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}
.mobile-nav-list > li { border-bottom: 1px solid rgba(255,255,255,.07); }
.mobile-nav-list > li > a {
  display: block;
  padding: 14px 4px;
  color: rgba(255,255,255,.85);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s;
}
.mobile-nav-list > li > a:hover { color: var(--primary); }

/* ── Mobile accordion ── */
.mobile-acc-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 4px;
  background: none;
  border: none;
  color: rgba(255,255,255,.85);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
  transition: color .2s;
}
.mobile-acc-trigger:hover { color: var(--primary); }
.mobile-acc-trigger span {
  width: 22px;
  height: 22px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  transition: transform .25s, background .2s;
  flex-shrink: 0;
}
.mobile-accordion.open .mobile-acc-trigger span { transform: rotate(45deg); background: var(--primary); border-color: var(--primary); }

.mobile-acc-body {
  max-height: 0;
  overflow: hidden;
  list-style: none;
  padding: 0;
  margin: 0;
  transition: max-height .3s ease;
}
.mobile-accordion.open .mobile-acc-body { max-height: 400px; }
.mobile-acc-body li a {
  display: block;
  padding: 10px 4px 10px 20px;
  color: rgba(255,255,255,.6);
  font-size: 14px;
  text-decoration: none;
  border-left: 2px solid rgba(200,151,42,.3);
  margin-left: 4px;
  margin-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.mobile-acc-body li a:hover { color: var(--primary); border-left-color: var(--primary); }

/* ── Mobile nav footer ── */
.mobile-nav-footer {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.mobile-nav-footer p { color: rgba(255,255,255,.55); font-size: 13px; margin-bottom: 8px; }
.mobile-nav-footer a { color: var(--primary); text-decoration: none; }

/* ========= HERO ========= */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 60%, #1c3a5e 100%);
  color: #fff;
  padding: 96px 0 80px;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c8972a' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; }
.hero-badge { display: inline-block; background: rgba(200,151,42,.2); border: 1px solid rgba(200,151,42,.4); color: var(--primary); padding: 5px 14px; border-radius: 20px; font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 20px; }
.hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); color: #fff; margin-bottom: 18px; }
.hero h1 span { color: var(--primary); }
.hero p { font-size: 16px; color: rgba(255,255,255,.75); max-width: 480px; margin-bottom: 32px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-roles { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }
.hero-roles .role-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  padding: 8px 16px; border-radius: 4px; font-size: 13px; font-weight: 500; color: #fff;
}
.hero-roles .role-badge::before { content: "◆"; color: var(--primary); font-size: 9px; }
.hero-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 36px;
  backdrop-filter: blur(10px);
}
.hero-card h3 { color: #fff; font-size: 1.1rem; margin-bottom: 4px; }
.hero-card p  { color: rgba(255,255,255,.6); font-size: 13px; margin-bottom: 24px; }
.sebi-badge { background: rgba(200,151,42,.15); border: 1px solid var(--primary); padding: 14px; border-radius: 8px; text-align: center; color: #fff; }
.sebi-badge strong { display: block; font-size: 1.1rem; color: var(--primary); }
.sebi-badge small { font-size: 11px; color: rgba(255,255,255,.6); }

/* ========= SECTION HEADERS ========= */
.section-header { text-align: center; margin-bottom: 52px; }
.section-header .eyebrow { display: block; text-transform: uppercase; font-size: 12px; font-weight: 700; letter-spacing: 2px; color: var(--primary); margin-bottom: 10px; }
.section-header h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.section-header p  { max-width: 560px; margin: 12px auto 0; color: #64748b; font-size: 15px; }
.divider { width: 48px; height: 3px; background: var(--primary); border-radius: 2px; margin: 14px auto 0; }
.eyebrow { display: block; text-transform: uppercase; font-size: 12px; font-weight: 700; letter-spacing: 2px; color: var(--primary); margin-bottom: 10px; }

/* ========= SERVICES GRID ========= */
.services-bg { background: var(--light); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,.1); }
.service-card img { width: 100%; height: 200px; object-fit: cover; }
.service-card-body { padding: 20px 22px; }
.service-card-body h3 { font-size: 1.1rem; margin-bottom: 8px; }
.service-card-body p  { font-size: 13px; color: #64748b; }
.service-card-body a  { display: inline-block; margin-top: 14px; color: var(--primary); font-weight: 600; font-size: 13px; }

/* ========= STATS ========= */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-box { text-align: center; padding: 36px 20px; background: var(--white); border-radius: 10px; border: 1px solid var(--border); }
.stat-box .num { font-family: "Playfair Display", serif; font-size: 3rem; color: var(--primary); display: block; line-height: 1; }
.stat-box p    { font-size: 14px; color: #64748b; margin-top: 8px; }

/* ========= ABOUT STRIP ========= */
.about-grid { display: grid; grid-template-columns: 360px 1fr; gap: 60px; align-items: center; }
.about-img { border-radius: 10px; overflow: hidden; box-shadow: 0 16px 48px rgba(0,0,0,.12); }
.about-img img { width: 100%; }
.about-content h2 { font-size: 2rem; margin-bottom: 16px; }
.about-content p  { color: #64748b; margin-bottom: 14px; }
.cert-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.cert-pill  { background: var(--light); border: 1px solid var(--border); border-radius: 20px; padding: 4px 14px; font-size: 12px; font-weight: 600; color: var(--dark); }

/* ========= QUOTE BANNER ========= */
.quote-banner {
  background: linear-gradient(135deg, var(--dark), var(--dark2));
  color: #fff;
  text-align: center;
  padding: 72px 24px;
}
.quote-banner blockquote { font-family: "Playfair Display", serif; font-size: clamp(1.3rem, 2.5vw, 2rem); max-width: 700px; margin: 0 auto 12px; line-height: 1.5; color: rgba(255,255,255,.9); }
.quote-banner cite { color: var(--primary); font-style: normal; font-weight: 600; font-size: 14px; }

/* ========= CTA BANNER ========= */
.cta-banner { background: var(--primary); color: #fff; padding: 60px 24px; text-align: center; }
.cta-banner h2 { color: #fff; font-size: clamp(1.4rem, 2.5vw, 2rem); margin-bottom: 10px; }
.cta-banner p  { font-size: 15px; opacity: .85; margin-bottom: 28px; }

/* ========= LOGO SLIDER ========= */
.logo-slider-wrap { overflow: hidden; padding: 32px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.logo-slider { display: flex; gap: 48px; animation: slide 20s linear infinite; will-change: transform; }
.logo-slider img { height: 52px; object-fit: contain; filter: grayscale(1) opacity(.6); transition: filter .2s; }
.logo-slider img:hover { filter: grayscale(0) opacity(1); }
@keyframes slide { from { transform: translateX(0) } to { transform: translateX(-50%) } }

/* ========= FOOTER ========= */
footer { background: var(--dark); color: rgba(255,255,255,.7); font-size: 13.5px; }
.footer-top { padding: 60px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; }
.footer-logo img { height: 48px; filter: brightness(10); margin-bottom: 12px; }
.footer-logo p    { font-size: 12.5px; line-height: 1.7; max-width: 280px; color: rgba(255,255,255,.5); }
.footer-col h4    { color: #fff; font-family: "DM Sans", sans-serif; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { color: rgba(255,255,255,.6); transition: color .2s; font-size: 13px; }
.footer-col ul li a:hover { color: var(--primary); }
.footer-contact p { margin-bottom: 8px; color: rgba(255,255,255,.6); font-size: 13px; }
.footer-contact a { color: var(--primary); }
.footer-bottom { background: rgba(0,0,0,.3); padding: 16px 0; text-align: center; font-size: 12px; color: rgba(255,255,255,.4); }

/* ========= INNER PAGE BANNER ========= */
.page-banner {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
  padding: 60px 0;
  text-align: center;
  color: #fff;
}
.page-banner h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 10px; }
.page-banner p   { color: rgba(255,255,255,.65); }
.breadcrumb { display: flex; justify-content: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.5); margin-top: 10px; }
.breadcrumb a { color: var(--primary); }
.breadcrumb span { color: rgba(255,255,255,.3); }

/* ========= CONTACT PAGE ========= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.contact-info-card { background: var(--dark); color: #fff; border-radius: 10px; padding: 40px; }
.contact-info-card h3 { color: var(--primary); margin-bottom: 24px; }
.contact-item { display: flex; gap: 16px; margin-bottom: 28px; }
.contact-icon { width: 44px; height: 44px; background: rgba(200,151,42,.15); border: 1px solid rgba(200,151,42,.3); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.contact-item h4  { color: #fff; font-family: "DM Sans"; font-size: 14px; font-weight: 600; }
.contact-item p   { color: rgba(255,255,255,.6); font-size: 13px; line-height: 1.6; }
.contact-item a   { color: var(--primary); }
.contact-form-card { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 40px; }
.contact-form-card h3 { margin-bottom: 24px; }
.form-row  { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label  { display: block; font-size: 13px; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 12px 14px;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  color: var(--dark);
  background: var(--light);
  transition: border-color .2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--primary); background: var(--white); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-success { display: none; background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; padding: 14px; border-radius: 6px; font-size: 14px; margin-top: 14px; }

/* ========= TEXT / DISCLOSURE PAGES ========= */
.text-page-content { max-width: 860px; margin: 0 auto; }
.text-page-content h2 { margin: 32px 0 12px; font-size: 1.3rem; }
.text-page-content p  { color: #4b5563; margin-bottom: 14px; }
.text-page-content ul { padding-left: 20px; list-style: disc; margin-bottom: 14px; }
.text-page-content ul li { color: #4b5563; margin-bottom: 8px; }
.text-page-content table { width: 100%; border-collapse: collapse; margin-bottom: 24px; font-size: 14px; }
.text-page-content table th { background: var(--dark); color: #fff; padding: 12px 14px; text-align: left; font-family: "DM Sans"; font-size: 13px; }
.text-page-content table td { padding: 11px 14px; border-bottom: 1px solid var(--border); }
.text-page-content table tr:nth-child(even) td { background: var(--light); }

/* ========= ABOUT PAGE ========= */
.objective-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.objective-card { background: var(--light); border: 1px solid var(--border); border-radius: 10px; padding: 28px; }
.objective-card .icon { font-size: 2rem; margin-bottom: 14px; }
.objective-card h3  { font-size: 1.1rem; margin-bottom: 8px; }
.objective-card p   { font-size: 14px; color: #64748b; }

/* PAGE LOAD ANIMATION — only below-fold sections; hero/page-banner excluded to avoid LCP & CLS penalty */
@keyframes fadeUp {
  from { opacity:0; transform:translateY(20px); }
  to   { opacity:1; transform:translateY(0); }
}
.section, .section-sm { animation: fadeUp .55s ease both; }

/* ========= RESPONSIVE — tablets ========= */
@media (max-width: 900px) {
  .services-grid   { grid-template-columns: repeat(2, 1fr); }
  .stats-row       { grid-template-columns: repeat(2, 1fr); }
  .about-grid      { grid-template-columns: 1fr; }
  .footer-grid     { grid-template-columns: 1fr 1fr; }
  .contact-grid    { grid-template-columns: 1fr; }
  .hero-grid       { grid-template-columns: 1fr; }
  .hero-card       { display: none; }
  .objective-grid  { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .form-row  { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
}

/* ========= RESPONSIVE — mobile (≤768px) ========= */
@media (max-width: 768px) {
  /* Hero mobile */
  .hero { padding: 56px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.9rem; }

  /* About grid mobile */
  .about-grid { grid-template-columns: 1fr; }
  .about-img { max-width: 320px; margin: 0 auto; }

  /* Services mobile */
  .services-grid { grid-template-columns: 1fr 1fr; }

  /* Footer mobile */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; }

  /* Stats */
  .stats-row { grid-template-columns: 1fr 1fr; }

  /* Objective */
  .objective-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .stats-row     { grid-template-columns: 1fr 1fr; }
  .hero h1       { font-size: 1.6rem; }
  .hero-btns     { flex-direction: column; }

  /* Service page grid */
  div[style*="grid-template-columns:1fr 340px"] {
    display: block !important;
  }
  div[style*="grid-template-columns:1fr 380px"] {
    display: block !important;
  }
  div[style*="grid-template-columns:1fr 320px"] {
    display: block !important;
  }
}

/* ── Blog styles ────────────────────────────────────────────── */
@media (max-width: 900px) {
  div[style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: repeat(2,1fr) !important;
  }
}
@media (max-width: 580px) {
  div[style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: 1fr !important;
  }
  div[style*="grid-template-columns:repeat(4,1fr)"] {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* ── Testimonial cards ──────────────────────────────────────── */
.tcard { transition: transform .25s, box-shadow .25s; }
.tcard:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,.1); }

/* ── Gallery ─────────────────────────────────────────────────── */
.gallery-item { cursor: pointer; }
.gallery-item img { transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.06); }
@media (max-width: 900px) {
  #galleryGrid { grid-template-columns: repeat(3,1fr) !important; }
}
@media (max-width: 600px) {
  #galleryGrid { grid-template-columns: repeat(2,1fr) !important; }
}

/* ── Performance table ──────────────────────────────────────── */
@media (max-width: 600px) {
  table { font-size: 12px; }
  table th, table td { padding: 8px 10px; }
}

/* ── Sticky header shadow on scroll ────────────────────────── */
header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.14); }

/* ── Service page responsive ────────────────────────────────── */
@media (max-width: 900px) {
  .service-layout { grid-template-columns: 1fr !important; }
}

/* ── Print styles ───────────────────────────────────────────── */
@media print {
  .ticker-wrap, header, footer, .whatsapp-float, #scrollTop { display: none !important; }
  body { font-size: 12pt; color: #000; }
  .page-banner { background: #f0f0f0 !important; color: #000 !important; }
  a { color: #000; }
}