/* ============================================
   SBEHUB Global Design System
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Brand Colors */
  --blue-50: #EBF2FE;
  --blue-100: #D0E1FD;
  --blue-200: #A1C3FB;
  --blue-300: #5E9AF7;
  --blue-400: #3B82F6;
  --blue-500: #1A56DB;
  --blue-600: #1648B8;
  --blue-700: #123A95;
  --blue-800: #0E2D73;
  --blue-900: #0A1F50;

  --orange-50: #FFF7ED;
  --orange-100: #FFEDD5;
  --orange-200: #FED7AA;
  --orange-300: #FDBA74;
  --orange-400: #F59E0B;
  --orange-500: #EA8B1A;
  --orange-600: #D97706;

  /* Neutrals */
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  --gray-950: #0B0F19;

  /* Semantic */
  --success: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;
  --container-padding: 0 24px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.16);
  --shadow-glow: 0 0 40px rgba(26, 86, 219, 0.15);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-800);
  background-color: #fff;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* --- Container --- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

.container--narrow {
  max-width: 900px;
}

.container--wide {
  max-width: 1400px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.15;
  color: var(--gray-900);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
  color: var(--gray-600);
  line-height: 1.8;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgb(25,75,70);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, rgb(25,75,70), rgb(202,80,51));
  border-radius: 2px;
}

.section-intro {
  max-width: 720px;
  margin: 0 auto 60px;
  text-align: center;
}

.section-intro p {
  font-size: 1.125rem;
  margin-top: 16px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: var(--transition-base);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: linear-gradient(135deg, rgb(202,80,51), #b84a2a);
  color: #fff;
  box-shadow: 0 4px 16px rgba(202, 80, 51, 0.3);
}

.btn--primary:hover {
  background: linear-gradient(135deg, #b84a2a, #a03d20);
  box-shadow: 0 6px 24px rgba(202, 80, 51, 0.4);
  transform: translateY(-2px);
}

.btn--secondary {
  background: transparent;
  color: rgb(25,75,70);
  border: 2px solid rgba(25,75,70,0.3);
}

.btn--secondary:hover {
  background: rgba(25,75,70,0.06);
  border-color: rgb(25,75,70);
  transform: translateY(-2px);
}

.btn--white {
  background: #fff;
  color: rgb(25,75,70);
  box-shadow: var(--shadow-md);
}

.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
}

.btn--outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

.btn--orange {
  background: linear-gradient(135deg, rgb(202,80,51), #b84a2a);
  color: #fff;
  box-shadow: 0 4px 16px rgba(202, 80, 51, 0.3);
}

.btn--orange:hover {
  background: linear-gradient(135deg, #b84a2a, #a03d20);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(202, 80, 51, 0.4);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

/* --- Header / Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition-base);
  background: transparent;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  padding: 10px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1001;
}

.logo img {
  height: 44px;
  width: auto;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: #fff;
  transition: var(--transition-base);
}

.scrolled .logo-text {
  color: rgb(25,75,70);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(255,255,255,0.12);
}

.scrolled .nav-links a {
  color: var(--gray-600);
}

.scrolled .nav-links a:hover,
.scrolled .nav-links a.active {
  color: rgb(25,75,70);
  background: rgba(25,75,70,0.06);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta .btn {
  padding: 10px 24px;
  font-size: 0.85rem;
}

.header-contact-btn {
  background: rgba(255,255,255,0.15) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.3) !important;
  backdrop-filter: blur(10px);
}

.header-contact-btn:hover {
  background: rgba(255,255,255,0.25) !important;
}

.scrolled .header-contact-btn {
  background: rgb(25,75,70) !important;
  color: #fff !important;
  border-color: rgb(25,75,70) !important;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition-base);
}

.scrolled .menu-toggle span {
  background: var(--gray-800);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Footer --- */
.site-footer {
  background: var(--gray-950);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  margin-top: 16px;
  line-height: 1.7;
}

.footer-brand .logo img {
  height: 40px;
  margin-bottom: 4px;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col a {
  display: block;
  padding: 6px 0;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  transition: var(--transition-fast);
}

.footer-col a:hover {
  color: var(--orange-400);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.5);
  transition: var(--transition-fast);
}

.footer-social a:hover {
  background: rgb(25,75,70);
  color: #fff;
}

/* --- Section Styles --- */
section {
  padding: var(--section-padding);
}

.section--gray {
  background: var(--gray-50);
}

.section--dark {
  background: var(--gray-950);
  color: #fff;
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: #fff;
}

.section--dark p {
  color: rgba(255,255,255,0.65);
}

.section--blue {
  background: linear-gradient(135deg, rgb(25,75,70), #0d2b28);
  color: #fff;
}

.section--blue h2, .section--blue h3 { color: #fff; }
.section--blue p { color: rgba(255,255,255,0.8); }

/* --- Vibrant Section Backgrounds (eliminate white space) --- */

/* Soft teal gradient — based on rgb(25,75,70) */
.section--warm {
  background: linear-gradient(160deg, #E8F5F3 0%, #D4EDEB 35%, #E0F2EF 60%, #EDF7F6 100%);
  position: relative;
  overflow: hidden;
}

.section--warm::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -120px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(25,75,70,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.section--warm::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(25,75,70,0.04) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Cool gradient — blue/slate tones */
.section--cool {
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 40%, #E0E7FF 100%);
  position: relative;
  overflow: hidden;
}

.section--cool::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -60px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(59,130,246,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Deep navy with subtle texture */
.section--navy {
  background: linear-gradient(160deg, #0B1120 0%, #0E2D73 50%, #1A3A8F 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }
.section--navy p { color: rgba(255,255,255,0.7); }
.section--navy .eyebrow { color: var(--orange-400); }

.section--navy::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

/* Emerald/teal gradient */
.section--teal {
  background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 40%, #E0F2FE 100%);
  position: relative;
  overflow: hidden;
}

.section--teal::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(16,185,129,0.08) 0%, transparent 70%);
  border-radius: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

/* Rose/purple gradient */
.section--rose {
  background: linear-gradient(135deg, #FFF1F2 0%, #FFE4E6 40%, #F3E8FF 100%);
  position: relative;
  overflow: hidden;
}

/* Image backdrop sections */
.section--imgbg {
  position: relative;
  overflow: hidden;
}

.section--imgbg .section-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.section--imgbg .section-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section--imgbg .section-bg-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.92) 0%, rgba(240,245,255,0.88) 50%, rgba(255,247,237,0.92) 100%);
}

.section--imgbg > .container {
  position: relative;
  z-index: 1;
}

/* Dark image backdrop with overlay */
.section--imgbg-dark {
  position: relative;
  overflow: hidden;
}

.section--imgbg-dark .section-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.section--imgbg-dark .section-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.section--imgbg-dark .section-bg-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,22,20,0.88) 0%, rgba(20,60,56,0.78) 50%, rgba(25,75,70,0.65) 100%);
}

.section--imgbg-dark > .container {
  position: relative;
  z-index: 1;
}

.section--imgbg-dark h2, .section--imgbg-dark h3, .section--imgbg-dark h4 { color: #fff; }
.section--imgbg-dark p { color: rgba(255,255,255,0.75); }
.section--imgbg-dark .eyebrow { color: var(--orange-400); }

/* Soft lavender gradient */
.section--lavender {
  background: linear-gradient(135deg, #F5F3FF 0%, #EDE9FE 40%, #E0E7FF 100%);
  position: relative;
  overflow: hidden;
}

/* Decorative wave dividers between sections */
.section-wave-top {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  z-index: 2;
  line-height: 0;
}

.section-wave-top svg {
  display: block;
  width: 100%;
  height: 60px;
}

.section-wave-bottom {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 2;
  line-height: 0;
}

.section-wave-bottom svg {
  display: block;
  width: 100%;
  height: 60px;
}

/* Diagonal stripe decorative pattern */
.section-stripe-deco {
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.section-stripe-deco::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 40px,
    rgba(59,130,246,0.02) 40px,
    rgba(59,130,246,0.02) 80px
  );
}

/* Animated accent dot cluster */
.accent-dots {
  position: absolute;
  width: 120px;
  height: 120px;
  background-image: radial-gradient(rgba(245,158,11,0.12) 2px, transparent 2px);
  background-size: 14px 14px;
  pointer-events: none;
  z-index: 0;
  border-radius: 20px;
  animation: dotsDrift 20s ease-in-out infinite;
}

.accent-dots--tl { top: 40px; left: 30px; }
.accent-dots--tr { top: 60px; right: 40px; }
.accent-dots--bl { bottom: 40px; left: 50px; }
.accent-dots--br { bottom: 60px; right: 30px; }

@keyframes dotsDrift {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(8px, -6px); }
  66% { transform: translate(-5px, 4px); }
}

/* Colored cards on dark/navy sections */
.section--navy .solution-card,
.section--navy .ta-card,
.section--navy .why-card,
.section--navy .existing-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border-color: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
}

.section--navy .solution-card:hover,
.section--navy .ta-card:hover,
.section--navy .why-card:hover,
.section--navy .existing-card:hover {
  background: linear-gradient(145deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.04) 100%);
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.section--navy .solution-card h3,
.section--navy .ta-card h4,
.section--navy .why-card h4,
.section--navy .existing-card h3 { color: #fff; }

.section--navy .solution-card p,
.section--navy .ta-card p,
.section--navy .why-card p,
.section--navy .existing-card p { color: rgba(255,255,255,0.65); }

.section--navy .solution-number,
.section--navy .ta-num { color: rgba(245,158,11,0.4); }

.section--navy .solution-card:hover .solution-number,
.section--navy .ta-card:hover .ta-num { color: var(--orange-400); }

/* --- Image-Based CTA Section --- */
.final-cta {
  position: relative;
  overflow: hidden;
  background: var(--gray-950);
}

.final-cta .cta-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.final-cta .cta-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.final-cta .cta-bg-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,22,20,0.88) 0%, rgba(20,60,56,0.75) 50%, rgba(25,75,70,0.6) 100%);
}

.final-cta .container {
  position: relative;
  z-index: 1;
}

.final-cta .cta-section {
  display: flex;
  align-items: center;
  gap: 56px;
  text-align: left;
  padding: 80px 0;
}

.final-cta .cta-text {
  flex: 1;
}

.final-cta .cta-text h2 {
  color: #fff;
  margin: 0 0 16px;
  max-width: none;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.final-cta .cta-text p {
  color: rgba(255,255,255,0.8);
  margin: 0 0 28px;
  max-width: 560px;
  font-size: 1.0625rem;
}

.final-cta .cta-visual {
  flex-shrink: 0;
  width: 320px;
  height: 260px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.08);
  position: relative;
}

.final-cta .cta-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.final-cta .cta-visual:hover img {
  transform: scale(1.05);
}

.final-cta .cta-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,0.15);
  pointer-events: none;
}

.final-cta .trust-line {
  color: rgba(255,255,255,0.6);
}

.final-cta .trust-line svg {
  color: rgba(255,255,255,0.6);
}

.final-cta .btn-group {
  justify-content: flex-start;
}

@media (max-width: 1024px) {
  .final-cta .cta-section {
    flex-direction: column;
    text-align: center;
    gap: 36px;
  }
  .final-cta .cta-text p { margin: 0 auto 28px; }
  .final-cta .btn-group { justify-content: center; }
  .final-cta .cta-visual {
    width: 100%;
    max-width: 400px;
    height: 220px;
  }
}

@media (max-width: 768px) {
  .final-cta .cta-visual { display: none; }
}

/* --- Cards (Premium Stunning Design) --- */
.card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 20px;
  padding: 40px;
  transition: all 0.45s cubic-bezier(0.23, 1, 0.32, 1);
  border: 1px solid rgba(25,75,70,0.08);
  box-shadow: 0 4px 24px rgba(25,75,70,0.06);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, rgb(25,75,70), rgba(25,75,70,0.8), rgb(202,80,51));
  background-size: 200% 100%;
  animation: cardBorderShimmer 4s ease-in-out infinite;
  opacity: 0.5;
  transition: opacity 0.4s ease;
}

.card::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 100px;
  background: radial-gradient(ellipse, rgba(25,75,70,0.06), transparent 70%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 60px rgba(25,75,70,0.12), 0 0 0 1px rgba(25,75,70,0.1);
  border-color: rgba(25,75,70,0.15);
  background: rgba(255,255,255,0.9);
}

.card:hover::before {
  opacity: 1;
}

.card:hover::after {
  opacity: 1;
}

@keyframes cardBorderShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.card-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(25,75,70,0.1), rgba(25,75,70,0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  color: rgba(25,75,70,0.7);
  transition: all 0.4s ease;
}

.card:hover .card-icon {
  background: linear-gradient(135deg, rgba(25,75,70,0.9), rgba(25,75,70,0.7));
  color: #fff;
  box-shadow: 0 8px 24px rgba(25,75,70,0.25);
  transform: scale(1.08) rotate(-3deg);
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.card p {
  font-size: 0.9375rem;
}

/* --- Trust Line --- */
.trust-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.875rem;
  color: var(--gray-500);
}

.trust-line svg {
  width: 16px;
  height: 16px;
  color: var(--success);
  flex-shrink: 0;
}

/* --- Impact Stats --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item {
  padding: 32px 16px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 900;
  background: linear-gradient(135deg, rgb(25,75,70), rgb(202,80,51));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.9375rem;
  color: var(--gray-500);
  margin-top: 8px;
  font-weight: 500;
}

/* --- CTA Section --- */
.cta-section {
  text-align: center;
  padding: 100px 0;
}

.cta-section h2 {
  max-width: 700px;
  margin: 0 auto 24px;
}

.cta-section p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.125rem;
}

/* --- Image Containers --- */
.img-showcase {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.img-showcase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --- Grid Utilities --- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gray-950);
    justify-content: center;
    align-items: center;
    gap: 8px;
    z-index: 1000;
  }

  .nav-links.mobile-open a {
    color: rgba(255,255,255,0.8);
    font-size: 1.25rem;
    padding: 12px 32px;
  }

  .nav-links.mobile-open a:hover {
    color: #fff;
    background: rgba(255,255,255,0.08);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

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

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

@media (max-width: 768px) {
  :root {
    --section-padding: 72px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }

  .btn-group {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  :root {
    --section-padding: 56px 0;
  }
  
  .card { padding: 28px; }
}

/* ============================================
   Sub-Page Hero — Split Layout (Text + Image)
   Distinct from homepage: uses side-by-side
   layout with geometric image treatment.
   ============================================ */
.page-hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 120px;
  padding-bottom: 80px;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0d2b28 0%, rgb(25,75,70) 40%, #1a5c55 80%, #237a72 100%);
}

.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(245,158,11,0.12) 0%, transparent 60%);
}

.page-hero-split {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

.page-hero-visual {
  order: -1;
}

.page-hero-text {
  text-align: left;
}

.page-hero-text h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin-bottom: 20px;
  line-height: 1.12;
}

.page-hero-text p {
  color: rgba(255,255,255,0.75);
  font-size: 1.0625rem;
  max-width: 540px;
  line-height: 1.8;
}

.page-hero-text .btn-group {
  justify-content: flex-start;
}

.page-hero-visual {
  position: relative;
}

.page-hero-img-wrapper {
  position: relative;
  border-radius: 20px 20px 20px 80px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.08);
  aspect-ratio: 4 / 3;
}

.page-hero-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-hero-img-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(25,75,70,0.2) 0%, transparent 60%);
  pointer-events: none;
}

/* Decorative accent line */
.page-hero-visual::before {
  content: '';
  position: absolute;
  top: -16px;
  right: -16px;
  width: 80px;
  height: 80px;
  border: 3px solid rgba(245,158,11,0.4);
  border-radius: 0 20px 0 0;
  z-index: -1;
}

/* Decorative dot pattern */
.page-hero-visual::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  background-image: radial-gradient(rgba(255,255,255,0.15) 1.5px, transparent 1.5px);
  background-size: 12px 12px;
  z-index: -1;
}

/* Stat badge floating on the image */
.page-hero-badge {
  position: absolute;
  bottom: 20px;
  left: -24px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 16px 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
  animation: badge-float 3s ease-in-out infinite;
}

@keyframes badge-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.page-hero-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgb(202,80,51), #b84a2a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.page-hero-badge-icon svg {
  width: 22px;
  height: 22px;
}

.page-hero-badge-text {
  display: flex;
  flex-direction: column;
}

.page-hero-badge-text strong {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.2;
}

.page-hero-badge-text span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Legacy centered hero content (for pages that still use it) */
.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
}

.page-hero-content h1 {
  color: #fff;
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  margin-bottom: 20px;
}

.page-hero-content p {
  color: rgba(255,255,255,0.75);
  font-size: 1.125rem;
  max-width: 640px;
  margin: 0 auto;
}

.page-hero-content .btn-group {
  justify-content: center;
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 2;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 80px;
}

/* Split hero responsive */
@media (max-width: 1024px) {
  .page-hero-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .page-hero-text {
    text-align: center;
  }

  .page-hero-text .btn-group {
    justify-content: center;
  }

  .page-hero-visual {
    max-width: 480px;
    margin: 0 auto;
  }

  .page-hero-badge {
    left: 0;
  }
}

@media (max-width: 768px) {
  .page-hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .page-hero-visual::before,
  .page-hero-visual::after {
    display: none;
  }

  .page-hero-badge {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 16px;
    justify-content: center;
  }

  .page-hero-img-wrapper {
    border-radius: 16px;
  }
}
