/* ===== Design Tokens (extracted from logo) ===== */
:root {
  /* Logo-derived palette */
  --navy: #1a2e44;
  --blue: #2196d3;
  --blue-dark: #1976b0;
  --blue-light: #e8f4fc;
  --blue-glow: rgba(33, 150, 211, 0.12);
  --green: #6fb04a;
  --green-dark: #5a9a3a;
  --green-light: #eef8e8;
  --green-glow: rgba(111, 176, 74, 0.12);

  /* Semantic aliases */
  --primary: var(--navy);
  --accent-1: var(--blue);
  --accent-2: var(--green);
  --text: #1c2d3f;
  --text-light: #fff;
  --muted: #5a6d7e;
  --surface: #ffffff;
  --bg: #f6fafd;
  --bg-alt: #f0f6fb;
  --bg-dark: var(--navy);
  --border: #dbe5ee;
  --border-light: #e9eff5;

  /* Effects */
  --shadow: 0 10px 30px rgba(26, 46, 68, 0.1);
  --shadow-sm: 0 4px 14px rgba(26, 46, 68, 0.06);
  --shadow-color: 0 8px 24px rgba(33, 150, 211, 0.12);
  --radius: 16px;
  --radius-sm: 12px;
  --radius-xs: 8px;

  /* Spacing */
  --space-1: clamp(0.5rem, 0.4rem + 0.4vw, 0.75rem);
  --space-2: clamp(0.9rem, 0.7rem + 0.8vw, 1.25rem);
  --space-3: clamp(1.4rem, 1rem + 1.2vw, 2rem);
  --space-4: clamp(2rem, 1.4rem + 2vw, 3.2rem);
  --space-5: clamp(1.5rem, 1rem + 1.5vw, 2.5rem);
}

/* ===== Reset / Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  padding-left: 1.1rem;
}

/* ===== Typography ===== */
h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 var(--space-1);
  color: var(--primary);
}

h1 {
  font-size: clamp(2rem, 1.2rem + 3.2vw, 3.4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.4rem, 1rem + 1.5vw, 2.2rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.05rem, 0.9rem + 0.8vw, 1.35rem);
}

p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 0.86rem + 0.35vw, 1.08rem);
}

.eyebrow {
  color: var(--accent-1);
  font-size: clamp(0.75rem, 0.65rem + 0.4vw, 0.88rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.eyebrow-light {
  color: #b8e6ff;
}

/* ===== Layout ===== */
.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.section {
  padding-block: var(--space-5);
}

.section-alt {
  background: var(--bg-alt);
}

.split {
  display: grid;
  gap: var(--space-3);
}

/* ===== Buttons ===== */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: var(--space-2);
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 0.82rem 1.6rem;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  display: inline-block;
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(33, 150, 211, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(33, 150, 211, 0.45);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(111, 176, 74, 0.3);
}

.btn-secondary:hover {
  box-shadow: 0 6px 20px rgba(111, 176, 74, 0.4);
}

.btn-outline {
  border: 2px solid var(--blue);
  color: var(--blue);
  background: transparent;
}

.btn-outline:hover {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 14px rgba(33, 150, 211, 0.3);
}

.btn-on-dark {
  border: 2px solid #fff;
  color: var(--navy);
  background: #fff;
}

.btn-on-dark:hover,
.btn-on-dark:active {
  background: var(--blue-light);
  color: var(--navy);
  border-color: var(--blue-light);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
}

/* ===== Top Bar / Navigation ===== */
.topbar {
  position: relative;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border-light);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-2);
  padding: 0.8rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 200px;
  width: auto;
  object-fit: contain;
}

/* Hamburger toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: 7px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: var(--radius-xs);
  transition: background 0.15s;
}

.nav-toggle:hover {
  background: var(--blue-light);
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.4rem 1rem;
  padding-top: 0.35rem;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.3rem 0.5rem;
  border-radius: var(--radius-xs);
  transition: color 0.15s, background 0.15s;
}

.nav a:hover {
  color: var(--blue);
  background: var(--blue-light);
}

/* ===== Hero ===== */
.hero {
  padding-top: clamp(1.5rem, 1rem + 1.5vw, 2.75rem);
  padding-bottom: var(--space-5);
  background:
    radial-gradient(ellipse 70% 50% at 80% 20%, rgba(33, 150, 211, 0.08), transparent),
    radial-gradient(ellipse 50% 60% at 10% 80%, rgba(111, 176, 74, 0.06), transparent),
    linear-gradient(175deg, #ffffff 0%, var(--bg) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(33, 150, 211, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  gap: var(--space-3);
  align-items: center;
  position: relative;
}

.hero-image-wrap {
  display: none;
}

.hero-image {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
}

.hero-stats {
  grid-column: 1 / -1;
}

.hero h1 {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stats {
  display: grid;
  gap: 0.75rem;
}

.stat {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  background: var(--surface);
  border-left: 3px solid var(--blue);
  transition: box-shadow 0.2s;
}

.stat:nth-child(2) {
  border-left-color: var(--green);
}

.stat:nth-child(3) {
  border-left-color: var(--navy);
}

.stat:hover {
  box-shadow: var(--shadow-sm);
}

.stat strong {
  color: var(--primary);
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.15rem;
}

.stat span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ===== Section Images (shared) ===== */
.section-image {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.about-image-wrap .section-image {
  aspect-ratio: 4 / 3;
}

.why-us-image {
  margin-top: var(--space-2);
  aspect-ratio: 16 / 9;
}

.whyus-layout {
  display: grid;
  gap: var(--space-3);
}

.whyus-main {
  display: flex;
  flex-direction: column;
}

.whyus-main p {
  margin-bottom: var(--space-1);
}

.whyus-features {
  height: 100%;
}

/* ===== About ===== */
.about-secondary {
  margin-top: var(--space-1);
}

.about-highlights-row {
  display: grid;
  gap: var(--space-2);
  margin-top: var(--space-3);
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
}

.highlight {
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  border-left: 3px solid var(--green);
  transition: box-shadow 0.2s, transform 0.2s;
}

.highlight:hover {
  box-shadow: var(--shadow-sm);
  transform: translateX(3px);
}

.highlight strong {
  display: block;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.highlight span {
  color: var(--muted);
  font-size: 0.93rem;
}

/* ===== Cards (Services) ===== */
.cards {
  display: grid;
  gap: var(--space-2);
  margin-top: var(--space-2);
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-2);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.25s;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--green));
}

.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.card ul {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.8rem;
}

.card:nth-child(odd) .card-icon {
  background: var(--blue-light);
}

.card:nth-child(even) .card-icon {
  background: var(--green-light);
}

.card:nth-child(odd) .card-icon svg {
  fill: var(--blue);
}

.card:nth-child(even) .card-icon svg {
  fill: var(--green);
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

/* ===== Why Choose Us ===== */
.feature-list {
  display: grid;
  gap: 0.8rem;
}

.feature {
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  border-left: 3px solid var(--blue);
  transition: box-shadow 0.2s, transform 0.2s;
}

.feature:nth-child(even) {
  border-left-color: var(--green);
}

.feature:hover {
  box-shadow: var(--shadow-sm);
  transform: translateX(3px);
}

.feature strong {
  display: block;
  color: var(--primary);
  margin-bottom: 0.2rem;
}

.feature span {
  color: var(--muted);
  font-size: 0.93rem;
}

/* ===== Team ===== */
.team-grid {
  display: grid;
  gap: var(--space-2);
  margin-top: var(--space-2);
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
}

.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-3) var(--space-2);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.25s;
}

.team-card:hover {
  box-shadow: var(--shadow-color);
  transform: translateY(-4px);
}

.team-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--space-1);
  border: 3px solid var(--border);
  box-shadow: 0 4px 16px rgba(33, 150, 211, 0.15);
}

.team-photo-priya {
  object-position: 85% 50%;
}

.team-title {
  font-weight: 600;
  color: var(--accent-1);
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
}

.team-card > p:last-child {
  font-size: 0.92rem;
}

/* ===== Testimonials ===== */
.testimonial-grid {
  display: grid;
  gap: var(--space-2);
  margin-top: var(--space-2);
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-3) var(--space-2);
  margin: 0;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
}

.testimonial-quote {
  font-style: italic;
  flex: 1;
}

.testimonial-card footer {
  border-top: 1px solid var(--border);
  padding-top: 0.8rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.testimonial-card footer strong {
  display: block;
  color: var(--primary);
  font-style: normal;
}

.testimonial-card footer span {
  font-size: 0.85rem;
}

/* ===== FAQ Accordion ===== */
.faq-container {
  max-width: 780px;
}

.accordion {
  margin-top: var(--space-2);
}

.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  margin-bottom: 0.6rem;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.accordion-item[open] {
  box-shadow: var(--shadow-sm);
  border-color: var(--blue);
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  font-weight: 700;
  font-size: clamp(0.95rem, 0.88rem + 0.3vw, 1.05rem);
  color: var(--primary);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color 0.15s;
}

.accordion-header:hover {
  color: var(--blue);
}

.accordion-header::-webkit-details-marker {
  display: none;
}

.accordion-header::after {
  content: "+";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue-light);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue);
  transition: transform 0.2s, background 0.2s;
  flex-shrink: 0;
  margin-left: 1rem;
}

details[open] > .accordion-header::after {
  content: "\2212";
  background: var(--blue);
  color: #fff;
}

.accordion-body {
  padding: 0 1.2rem 1.1rem;
}

.accordion-body p {
  font-size: 0.95rem;
}

/* ===== Resources / Tools ===== */
.tools {
  display: grid;
  gap: var(--space-2);
  margin-top: var(--space-2);
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
}

.tool {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--space-2);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.25s;
  position: relative;
  overflow: hidden;
}

.tool::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--blue));
}

.tool:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.tool h3 {
  color: var(--blue-dark);
}

/* ===== CTA Band ===== */
.cta-band {
  background:
    radial-gradient(ellipse 60% 80% at 20% 50%, rgba(33, 150, 211, 0.3), transparent),
    radial-gradient(ellipse 50% 60% at 80% 50%, rgba(111, 176, 74, 0.2), transparent),
    linear-gradient(135deg, var(--navy) 0%, #1e3f5a 50%, #1a3e47 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: var(--space-4) var(--space-3);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(33, 150, 211, 0.08);
  pointer-events: none;
}

.cta-band h2,
.cta-band p {
  color: #fff;
  position: relative;
}

.cta-band .cta-row {
  justify-content: center;
  position: relative;
}

/* ===== Contact ===== */
.contact-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-4);
}

.contact-header p {
  margin-top: var(--space-1);
}

.contact-grid {
  display: grid;
  gap: var(--space-2);
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-3) var(--space-2);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.25s;
}

.contact-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-1);
}

.contact-icon svg {
  width: 26px;
  height: 26px;
  fill: var(--blue);
}

.contact-icon-green {
  background: var(--green-light);
}

.contact-icon-green svg {
  fill: var(--green);
}

.contact-icon-navy {
  background: #e4e9ee;
}

.contact-icon-navy svg {
  fill: var(--navy);
}

.contact-detail {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.05rem;
  margin-top: 0.3rem;
}

.contact-sub {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

/* ===== Footer ===== */
body > footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 2rem 0 2.4rem;
  font-size: 0.9rem;
  border: none;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.15s;
}

.footer-links a:hover {
  color: #fff;
}

.social-links {
  display: flex;
  gap: 0.7rem;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.social-link:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  transform: translateY(-2px);
}

.social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ===== Responsive — mobile-first breakpoints ===== */
@media (min-width: 640px) {
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}


@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .hero-text {
    display: flex;
    flex-direction: column;
    height: 100%;
    align-self: start;
  }

  .hero-text .cta-row {
    margin-top: auto;
    padding-top: var(--space-2);
  }

  .hero-image-wrap {
    display: block;
    align-self: start;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .split {
    grid-template-columns: 1.1fr 1fr;
    align-items: start;
  }

  .whyus-layout {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .whyus-features {
    grid-template-rows: repeat(4, 1fr);
  }

  .whyus-features .feature {
    height: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
  }
}

@media (min-width: 1024px) {
  .cards-4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Mobile nav */
@media (max-width: 767px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 0;
    box-shadow: 0 12px 28px rgba(26, 46, 68, 0.12);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.75rem min(6vw, 1.5rem);
    font-size: 1rem;
    border-radius: 0;
  }

  .nav a:hover {
    background: var(--blue-light);
  }

  .logo-img {
    height: 64px;
  }
}
