/* Homepage palette: white content, soft gray feature panels, blue only in the header and footer. */
:root {
  --home-surface: #ffffff;
  --home-soft: #f3f5f7;
  --home-ink: #111827;
  --home-muted: #526071;
  --home-line: #dce3ea;
  --home-blue: #0b2348;
}

/* Keep the navigation readable over every light section. */
.site-header,
.site-header.scrolled,
.site-header.on-light {
  background: var(--home-blue);
  box-shadow: 0 6px 24px rgba(11, 35, 72, 0.18);
}
.site-header.on-light .logo-white { opacity: 1; }
.site-header.on-light .logo-dark { opacity: 0; }
.header-pill-nav {
  background: rgba(5, 18, 41, 0.66);
  border-color: rgba(255, 255, 255, 0.16);
}

/* The hero is now a light gray canvas with dark, legible copy. */
#sec-hero,
#sec-hero .hero-section { background: var(--home-soft); }
#sec-hero .hero-title { color: var(--home-ink); }
#sec-hero .hero-text { color: var(--home-muted); }
#sec-hero .hero-grid {
  background-image: linear-gradient(rgba(11, 35, 72, 0.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(11, 35, 72, 0.045) 1px, transparent 1px);
}
#sec-hero .hero-shapes .shape { opacity: 0.045; }
#sec-hero .hero-tag {
  color: #40536b;
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--home-line);
}
#sec-hero .btn-outline-custom {
  color: var(--home-blue);
  border-color: var(--home-blue);
}
#sec-hero .btn-outline-custom:hover {
  color: #ffffff;
  background: var(--home-blue);
}
#sec-hero .hero-float-card {
  background: rgba(255, 255, 255, 0.94);
  border-color: var(--home-line);
  box-shadow: 0 12px 30px rgba(11, 35, 72, 0.12);
  color: var(--home-ink) !important;
}
#sec-hero .hero-float-card .fc-label { color: var(--home-muted); }
#sec-hero .hero-float-card .fc-value { color: var(--home-ink); }
#sec-hero .scroll-hint { color: var(--home-muted); }
#sec-hero .hero-svg-wrap svg { filter: drop-shadow(0 18px 38px rgba(0, 82, 204, 0.16)); }

/* Alternate white and soft gray content sections. */
#sec-about,
#sec-about .about-section,
#sec-clients,
#sec-clients > div,
#sec-process,
#sec-process .process-section,
#sec-contact,
#sec-contact > div,
#sec-contact .contact-section { background: var(--home-surface); }

#sec-services,
#sec-services .services-section,
#sec-portfolio,
#sec-portfolio > div,
#sec-testimonials,
#sec-testimonials .testimonials-section {
  background: var(--home-soft) !important;
  color: var(--home-ink);
}

#sec-services .section-title,
#sec-portfolio .section-title,
#sec-testimonials .section-title { color: var(--home-ink) !important; }
#sec-services .section-subtitle { color: var(--home-muted); }
#sec-services .service-card,
#sec-portfolio .service-card {
  background: var(--home-surface) !important;
  border-color: var(--home-line) !important;
  box-shadow: 0 8px 26px rgba(11, 35, 72, 0.07);
}
#sec-services .service-card h4,
#sec-portfolio .service-card h4 { color: var(--home-ink) !important; }
#sec-services .service-card p,
#sec-portfolio .service-card p { color: var(--home-muted) !important; }
#sec-portfolio .service-card > span { color: #1858a8 !important; }

/* The clients section contains a second dark band for statistics. */
#sec-clients .statistics-section { background: var(--home-soft); }
#sec-clients .statistics-section .section-title { color: var(--home-ink) !important; }
#sec-clients .stat-box h6 { color: var(--home-muted); }

/* The testimonial cards need light text colors because the original HTML sets them inline. */
#sec-testimonials .testimonial-card {
  background: var(--home-surface) !important;
  border: 1px solid var(--home-line) !important;
  box-shadow: 0 8px 28px rgba(11, 35, 72, 0.08);
}
#sec-testimonials .testimonial-text { color: #334155 !important; }
#sec-testimonials .author-info h6 { color: var(--home-ink) !important; }
#sec-testimonials .author-info span { color: var(--home-muted) !important; }
#sec-testimonials .carousel-btn {
  color: var(--home-blue) !important;
  background: var(--home-surface) !important;
  border-color: var(--home-blue) !important;
}
#sec-testimonials .carousel-btn:hover {
  color: #ffffff !important;
  background: var(--home-blue) !important;
}
#sec-testimonials .carousel-dot { background: #cbd5e1 !important; }
#sec-testimonials .carousel-dot.active { background: #1858a8 !important; }

/* The blue remains at the end of the homepage. */
#sec-contact .footer { background: var(--home-blue); }
