/* ============================================
   MEGHALAYA RURAL BANK — Design System & Styles
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Core palette — Meghalaya Rural Bank brand */
  --clr-blue-900: #002a52;
  --clr-blue-800: #003d75;
  --clr-blue-700: #004d94;
  --clr-blue-600: #0056A4;
  --clr-blue-500: #1a6bb5;
  --clr-blue-400: #3a85c7;
  --clr-blue-300: #6aa3d9;
  --clr-blue-200: #a3c8eb;
  --clr-blue-100: #dce9f5;
  --clr-blue-50:  #eef4fa;

  /* Green accent — from logo */
  --clr-green-600: #2d8c1f;
  --clr-green-500: #3FAE2A;
  --clr-green-400: #56c03f;
  --clr-green-300: #7ad468;
  --clr-green-200: #a8e49c;
  --clr-green-100: #d9f2d3;
  --clr-green-50:  #edfaea;

  /* Neutrals */
  --clr-white: #ffffff;
  --clr-gray-50:  #f8fafc;
  --clr-gray-100: #f1f5f9;
  --clr-gray-200: #e2e8f0;
  --clr-gray-300: #cbd5e1;
  --clr-gray-400: #94a3b8;
  --clr-gray-500: #64748b;
  --clr-gray-600: #475569;
  --clr-gray-700: #334155;
  --clr-gray-800: #1e293b;
  --clr-gray-900: #0f172a;

  /* Semantic */
  --clr-success: #22c55e;
  --clr-warning: #f59e0b;
  --clr-danger: #ef4444;

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

  /* Spacing scale (4px base) */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Radii */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 42, 82, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 42, 82, 0.1);
  --shadow-lg: 0 8px 32px rgba(0, 42, 82, 0.12);
  --shadow-xl: 0 12px 48px rgba(0, 42, 82, 0.15);
  --shadow-nav: 0 2px 20px rgba(0, 42, 82, 0.08);
  --shadow-glow-blue: 0 0 20px rgba(0, 86, 164, 0.25);
  --shadow-glow-green: 0 0 20px rgba(63, 174, 42, 0.2);

  /* Transitions */
  --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 200ms;
  --duration-normal: 350ms;
  --duration-slow: 500ms;

  /* Layout */
  --container-max: 1280px;
  --header-height-top: 40px;
  --header-height-main: 72px;
  --header-height-branding: 48px;
}

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

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

body {
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--clr-gray-700);
  background-color: var(--clr-white);
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

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

/* ---------- Utility: Container ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}

/* ---------- Utility: Screen-reader only ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ============================================
   HEADER — Top Bar
   ============================================ */
.top-bar {
  background: var(--clr-blue-900);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  height: var(--header-height-top);
  position: relative;
  z-index: 100;
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.top-bar__links {
  display: flex;
  gap: var(--sp-6);
}

.top-bar__links a {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 2px;
}

.top-bar__links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--clr-green-400);
  transition: width var(--duration-normal) var(--ease-out);
}

.top-bar__links a:hover {
  color: var(--clr-white);
}

.top-bar__links a:hover::after {
  width: 100%;
}

.top-bar__contact {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
}

.top-bar__contact span {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.top-bar__contact svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  stroke: var(--clr-green-400);
}

/* ============================================
   HEADER — Branding Bar (scroll-triggered)
   ============================================ */
.branding-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height-branding);
  background: var(--clr-blue-900);
  border-bottom: 1px solid rgba(0, 86, 164, 0.2);
  z-index: 101;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--duration-slow) var(--ease-out),
              opacity var(--duration-slow) var(--ease-out);
}

.branding-bar.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.branding-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Left side — logo + tagline */
.branding-bar__left {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.branding-bar__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.branding-bar__logo-img {
  height: 30px;
  width: auto;
}

.branding-bar__logo-text {
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--clr-white);
  letter-spacing: -0.02em;
}

.branding-bar__logo-text span {
  color: var(--clr-green-400);
}

.branding-bar__divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.2);
}

.branding-bar__tagline {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.02em;
}

/* Right side — quick links + CTA */
.branding-bar__right {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
}

.branding-bar__link {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--duration-fast) var(--ease-out);
}

.branding-bar__link:hover {
  color: var(--clr-white);
}

.branding-bar__link svg {
  width: 14px;
  height: 14px;
  stroke: var(--clr-green-400);
}

.branding-bar__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-1) var(--sp-4);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--clr-white);
  background: var(--clr-green-500);
  border-radius: var(--radius-full);
  transition: transform var(--duration-fast) var(--ease-spring),
              box-shadow var(--duration-fast) var(--ease-out);
}

.branding-bar__cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow-green);
}

.branding-bar__cta svg {
  width: 14px;
  height: 14px;
  stroke: var(--clr-white);
}

/* When branding bar is visible, push the sticky main-nav down */
body.branding-visible .main-nav {
  top: var(--header-height-branding);
}

/* ============================================
   HEADER — Main Navbar  ★ WHITE BG + DARK BLUE TEXT
   ============================================ */
.main-nav {
  background: var(--clr-white);
  border-bottom: 1px solid var(--clr-gray-200);
  height: var(--header-height-main);
  position: sticky;
  top: 0;
  z-index: 99;
  transition: box-shadow var(--duration-normal) var(--ease-out),
              background var(--duration-normal) var(--ease-out);
}

.main-nav.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-nav);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.main-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.logo__img {
  height: 48px;
  width: auto;
  transition: transform var(--duration-normal) var(--ease-spring);
}

.logo:hover .logo__img {
  transform: scale(1.04);
}

.logo__text {
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--clr-blue-600);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.logo__text span {
  color: var(--clr-green-500);
}

/* Hide old icon-based logo */
.logo__icon {
  display: none;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}

.nav-links__item {
  position: relative;
}

.nav-links__link {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--clr-blue-900);
  border-radius: var(--radius-md);
  transition: color var(--duration-fast) var(--ease-out),
              background var(--duration-fast) var(--ease-out);
}

.nav-links__link:hover,
.nav-links__link.active {
  color: var(--clr-blue-600);
  background: var(--clr-blue-50);
}

.nav-links__link svg {
  width: 16px;
  height: 16px;
  stroke: var(--clr-blue-400);
  transition: transform var(--duration-fast) var(--ease-out);
}

.nav-links__item:hover .nav-links__link svg {
  transform: rotate(180deg);
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 240px;
  background: var(--clr-white);
  border: 1px solid var(--clr-gray-200);
  border-radius: var(--radius-xl);
  padding: var(--sp-3);
  padding-top: calc(var(--sp-3) + var(--sp-2));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-out);
  box-shadow: var(--shadow-lg);
}

/* Invisible bridge to cover any remaining gap between nav item and dropdown */
.dropdown::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
  background: transparent;
}

.nav-links__item:hover .dropdown,
.nav-links__item.dropdown-open .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown a {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  font-size: 0.9rem;
  color: var(--clr-gray-700);
  border-radius: var(--radius-md);
  transition: background var(--duration-fast) var(--ease-out),
              color var(--duration-fast) var(--ease-out);
}

.dropdown a:hover {
  background: var(--clr-blue-50);
  color: var(--clr-blue-600);
}

.dropdown a svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: var(--clr-blue-400);
}

/* CTA button */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-6);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--clr-white);
  background: linear-gradient(135deg, var(--clr-blue-600), var(--clr-blue-500));
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(0, 86, 164, 0.25);
  transition: transform var(--duration-fast) var(--ease-spring),
              box-shadow var(--duration-fast) var(--ease-out);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-blue);
}

/* Mobile toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
  z-index: 200;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-blue-900);
  border-radius: var(--radius-full);
  transition: transform var(--duration-normal) var(--ease-out),
              opacity var(--duration-fast) var(--ease-out);
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--clr-blue-900) 0%, var(--clr-blue-800) 40%, var(--clr-blue-700) 100%);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 42, 82, 0.85) 0%,
    rgba(0, 61, 117, 0.75) 40%,
    rgba(0, 77, 148, 0.65) 100%
  );
}

/* Animated glowing orbs */
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 0;
  animation: orbFloat 10s ease-in-out infinite;
}

.hero__orb--teal {
  width: 500px;
  height: 500px;
  background: rgba(63, 174, 42, 0.12);
  top: -10%;
  right: -5%;
  animation-delay: 0s;
}

.hero__orb--gold {
  width: 350px;
  height: 350px;
  background: rgba(0, 86, 164, 0.15);
  bottom: 10%;
  left: -5%;
  animation-delay: -5s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-1) var(--sp-4) var(--sp-1) var(--sp-2);
  background: rgba(63, 174, 42, 0.15);
  border: 1px solid rgba(63, 174, 42, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--clr-green-300);
  margin-bottom: var(--sp-6);
  animation: fadeInUp 0.8s var(--ease-out) both;
}

.hero__badge .dot {
  width: 8px;
  height: 8px;
  background: var(--clr-green-400);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero__title {
  font-family: var(--ff-heading);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--clr-white);
  margin-bottom: var(--sp-6);
  letter-spacing: -0.03em;
  animation: fadeInUp 0.8s 0.15s var(--ease-out) both;
}

.hero__title .highlight {
  background: linear-gradient(135deg, var(--clr-green-400), var(--clr-blue-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: var(--sp-10);
  animation: fadeInUp 0.8s 0.3s var(--ease-out) both;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  animation: fadeInUp 0.8s 0.45s var(--ease-out) both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-8);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: transform var(--duration-fast) var(--ease-spring),
              box-shadow var(--duration-fast) var(--ease-out),
              background var(--duration-fast) var(--ease-out);
}

.btn--primary {
  color: var(--clr-white);
  background: linear-gradient(135deg, var(--clr-green-500), var(--clr-green-400));
  box-shadow: 0 4px 20px rgba(63, 174, 42, 0.3);
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(63, 174, 42, 0.45);
}

.btn--outline {
  color: var(--clr-white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

/* Section-level btn overrides for light backgrounds */
.services .btn--primary,
.cta-banner .btn--primary {
  color: var(--clr-white);
}

.btn svg {
  width: 18px;
  height: 18px;
}

/* Hero stats strip */
.hero__stats {
  display: flex;
  gap: var(--sp-10);
  margin-top: var(--sp-16);
  animation: fadeInUp 0.8s 0.6s var(--ease-out) both;
}

.hero__stat {
  position: relative;
  padding-left: var(--sp-5);
}

.hero__stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  border-radius: var(--radius-full);
  background: linear-gradient(180deg, var(--clr-green-400), var(--clr-blue-400));
}

.hero__stat-value {
  font-family: var(--ff-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--clr-white);
}

.hero__stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: var(--sp-1);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   SERVICES / QUICK ACCESS — Light Background
   ============================================ */
.services {
  padding: var(--sp-24) 0;
  position: relative;
  background: var(--clr-gray-50);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: var(--sp-16);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-blue-600);
  margin-bottom: var(--sp-4);
}

.section-label::before,
.section-label::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--clr-blue-400);
  opacity: 0.5;
}

.section-title {
  font-family: var(--ff-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--clr-blue-900);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: var(--sp-4);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--clr-gray-500);
  line-height: 1.7;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-6);
}

.service-card {
  position: relative;
  padding: var(--sp-8);
  background: var(--clr-white);
  border: 1px solid var(--clr-gray-200);
  border-radius: var(--radius-2xl);
  transition: transform var(--duration-normal) var(--ease-spring),
              border-color var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at top left,
    rgba(0, 86, 164, 0.04) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--clr-blue-200);
  box-shadow: var(--shadow-lg);
}

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

.service-card__icon {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-blue-50);
  border: 1px solid var(--clr-blue-100);
  border-radius: var(--radius-lg);
  margin-bottom: var(--sp-6);
  transition: background var(--duration-normal) var(--ease-out),
              transform var(--duration-fast) var(--ease-spring);
}

.service-card:hover .service-card__icon {
  background: linear-gradient(135deg, var(--clr-blue-600), var(--clr-blue-500));
  transform: scale(1.08);
}

.service-card__icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--clr-blue-600);
  transition: stroke var(--duration-fast) var(--ease-out);
}

.service-card:hover .service-card__icon svg {
  stroke: var(--clr-white);
}

.service-card__title {
  position: relative;
  z-index: 1;
  font-family: var(--ff-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--clr-blue-900);
  margin-bottom: var(--sp-3);
}

.service-card__desc {
  position: relative;
  z-index: 1;
  font-size: 0.92rem;
  color: var(--clr-gray-500);
  line-height: 1.65;
  margin-bottom: var(--sp-6);
}

.service-card__link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--clr-blue-600);
  transition: gap var(--duration-fast) var(--ease-out);
}

.service-card:hover .service-card__link {
  gap: var(--sp-3);
}

.service-card__link svg {
  width: 16px;
  height: 16px;
}

/* ============================================
   FEATURES / WHY CHOOSE US
   ============================================ */
.features {
  padding: var(--sp-24) 0;
  background: var(--clr-white);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
}

.feature-item {
  display: flex;
  gap: var(--sp-5);
  padding: var(--sp-6);
  border-radius: var(--radius-xl);
  background: var(--clr-gray-50);
  border: 1px solid var(--clr-gray-200);
  transition: background var(--duration-normal) var(--ease-out),
              border-color var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

.feature-item:hover {
  background: var(--clr-white);
  border-color: var(--clr-blue-200);
  box-shadow: var(--shadow-md);
}

.feature-item__number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--clr-blue-600);
  background: var(--clr-blue-50);
  border: 1px solid var(--clr-blue-100);
  border-radius: var(--radius-md);
}

.feature-item__title {
  font-family: var(--ff-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--clr-blue-900);
  margin-bottom: var(--sp-2);
}

.feature-item__desc {
  font-size: 0.9rem;
  color: var(--clr-gray-500);
  line-height: 1.65;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  padding: var(--sp-24) 0;
  background: var(--clr-gray-50);
}

.cta-banner__inner {
  position: relative;
  padding: var(--sp-16) var(--sp-12);
  background: linear-gradient(135deg, var(--clr-blue-800), var(--clr-blue-900));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  text-align: center;
}

.cta-banner__inner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(63, 174, 42, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner__inner::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 86, 164, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner__title {
  position: relative;
  z-index: 1;
  font-family: var(--ff-heading);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: var(--sp-4);
}

.cta-banner__text {
  position: relative;
  z-index: 1;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: var(--sp-8);
}

.cta-banner .btn {
  position: relative;
  z-index: 1;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  padding: var(--sp-16) 0 0;
  background: var(--clr-blue-900);
  border-top: 3px solid var(--clr-green-500);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: var(--sp-12);
  padding-bottom: var(--sp-16);
}

.footer-brand .logo {
  margin-bottom: var(--sp-5);
}

/* Footer logo variant — white text on dark bg */
.site-footer .logo__text {
  color: var(--clr-white);
}

.site-footer .logo__text span {
  color: var(--clr-green-400);
}

.site-footer .logo__img {
  filter: brightness(0) invert(1);
}

.footer-brand__desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  max-width: 300px;
  margin-bottom: var(--sp-6);
}

.footer-socials {
  display: flex;
  gap: var(--sp-3);
}

.footer-socials a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  transition: background var(--duration-fast) var(--ease-out),
              border-color var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-spring);
}

.footer-socials a:hover {
  background: rgba(63, 174, 42, 0.15);
  border-color: rgba(63, 174, 42, 0.3);
  transform: translateY(-3px);
}

.footer-socials svg {
  width: 18px;
  height: 18px;
  fill: rgba(255, 255, 255, 0.5);
}

.footer-socials a:hover svg {
  fill: var(--clr-green-400);
}

.footer-column__title {
  font-family: var(--ff-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--clr-white);
  margin-bottom: var(--sp-5);
  letter-spacing: 0.02em;
}

.footer-column__links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer-column__links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.45);
  transition: color var(--duration-fast) var(--ease-out),
              padding-left var(--duration-fast) var(--ease-out);
}

.footer-column__links a:hover {
  color: var(--clr-green-300);
  padding-left: var(--sp-2);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--sp-6) 0;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

.footer-bottom__text {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom__links {
  display: flex;
  gap: var(--sp-6);
}

.footer-bottom__links a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom__links a:hover {
  color: var(--clr-green-400);
}

/* ============================================
   ROLLING NOTICE TICKER
   ============================================ */
.ticker {
  background: linear-gradient(90deg, var(--clr-blue-900), var(--clr-blue-800));
  overflow: hidden;
  position: relative;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ticker::before,
.ticker::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.ticker::before {
  left: 0;
  background: linear-gradient(90deg, var(--clr-blue-900), transparent);
}

.ticker::after {
  right: 0;
  background: linear-gradient(-90deg, var(--clr-blue-800), transparent);
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: tickerScroll 45s linear infinite;
}

.ticker:hover .ticker__track {
  animation-play-state: paused;
}

.ticker__content {
  display: flex;
  align-items: center;
  padding: 10px 0;
  flex-shrink: 0;
}

.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
  padding: 0 var(--sp-2);
  letter-spacing: 0.01em;
}

.ticker__badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clr-white);
  background: linear-gradient(135deg, var(--clr-green-500), var(--clr-green-400));
  border-radius: var(--radius-full);
  line-height: 1.5;
  animation: badgePulse 2.5s ease-in-out infinite;
  flex-shrink: 0;
}

.ticker__separator {
  color: var(--clr-green-400);
  font-size: 0.6rem;
  opacity: 0.5;
  padding: 0 var(--sp-4);
  flex-shrink: 0;
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(63, 174, 42, 0.4); }
  50% { box-shadow: 0 0 0 4px rgba(63, 174, 42, 0); }
}

/* ============================================
   FULL-WIDTH CAROUSEL
   ============================================ */
.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--clr-gray-900);
}

.carousel__viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel__track {
  display: flex;
  transition: transform 0.65s cubic-bezier(0.45, 0, 0.15, 1);
  will-change: transform;
}

.carousel__slide {
  position: relative;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  flex-shrink: 0;
  aspect-ratio: 16 / 5;
}

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

.carousel__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 42, 82, 0.88) 0%,
    rgba(0, 42, 82, 0.55) 45%,
    rgba(0, 42, 82, 0.15) 100%
  );
  display: flex;
  align-items: center;
  padding: 0 clamp(var(--sp-6), 5vw, var(--sp-24));
}

.carousel__caption {
  max-width: 550px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s 0.25s var(--ease-out),
              transform 0.6s 0.25s var(--ease-out);
}

.carousel__slide.active .carousel__caption {
  opacity: 1;
  transform: translateY(0);
}

.carousel__tag {
  display: inline-block;
  padding: 4px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-green-300);
  background: rgba(63, 174, 42, 0.15);
  border: 1px solid rgba(63, 174, 42, 0.3);
  border-radius: var(--radius-full);
  margin-bottom: var(--sp-4);
}

.carousel__caption h2 {
  font-family: var(--ff-heading);
  font-size: clamp(1.5rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--clr-white);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-4);
}

.carousel__caption p {
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: var(--sp-6);
  max-width: 420px;
}

.carousel__caption .btn {
  font-size: 0.9rem;
  padding: var(--sp-3) var(--sp-6);
}

/* Arrows */
.carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-spring),
              border-color var(--duration-fast) var(--ease-out);
  opacity: 0;
}

.carousel:hover .carousel__arrow {
  opacity: 1;
}

.carousel__arrow:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.35);
}

.carousel__arrow--prev {
  left: var(--sp-5);
}

.carousel__arrow--prev:hover {
  transform: translateY(-50%) translateX(-3px);
}

.carousel__arrow--next {
  right: var(--sp-5);
}

.carousel__arrow--next:hover {
  transform: translateY(-50%) translateX(3px);
}

.carousel__arrow svg {
  width: 22px;
  height: 22px;
  stroke: var(--clr-white);
}

/* Dots */
.carousel__dots {
  position: absolute;
  bottom: var(--sp-6);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--sp-3);
  z-index: 10;
  padding: 6px 14px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-spring),
              width var(--duration-normal) var(--ease-out);
}

.carousel__dot:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: scale(1.2);
}

.carousel__dot.active {
  background: var(--clr-green-400);
  width: 28px;
  border-radius: var(--radius-full);
}

/* Progress bar */
.carousel__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 10;
}

.carousel__progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--clr-green-400), var(--clr-blue-400));
  border-radius: 0 var(--radius-full) var(--radius-full) 0;
  transition: width 0.1s linear;
}

/* ============================================
   SCROLL ANIMATIONS (Intersection Observer)
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out),
              transform 0.7s var(--ease-out);
}

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

/* Stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease-out),
              transform 0.5s var(--ease-out);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.15s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.2s; }

.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE — Tablet
   ============================================ */
@media (max-width: 1024px) {
  .features__grid {
    grid-template-columns: 1fr;
  }

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

  .hero__stats {
    gap: var(--sp-6);
  }

  .carousel__slide {
    aspect-ratio: 16 / 7;
  }

  .carousel__arrow {
    width: 40px;
    height: 40px;
    opacity: 1;
  }

  .carousel__arrow svg {
    width: 18px;
    height: 18px;
  }
}

/* ============================================
   RESPONSIVE — Mobile
   ============================================ */
@media (max-width: 768px) {
  /* Branding bar hidden on mobile */
  .branding-bar {
    display: none;
  }

  body.branding-visible .main-nav {
    top: 0;
  }

  /* Top bar */
  .top-bar__contact {
    display: none;
  }

  /* Main nav */
  .mobile-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--duration-normal) var(--ease-out);
    z-index: 150;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-links__link {
    font-size: 1.2rem;
    padding: var(--sp-3) var(--sp-6);
  }

  .nav-cta {
    margin-top: var(--sp-4);
    padding: var(--sp-3) var(--sp-10);
    font-size: 1rem;
  }

  /* Dropdowns behave differently on mobile */
  .dropdown {
    position: static;
    transform: none;
    min-width: auto;
    background: var(--clr-gray-50);
    border-radius: var(--radius-lg);
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    padding: 0;
    margin-top: var(--sp-2);
    transition: max-height var(--duration-normal) var(--ease-out),
                padding var(--duration-normal) var(--ease-out);
    box-shadow: none;
    border: none;
  }

  .nav-links__item.mobile-dropdown-open .dropdown {
    max-height: 300px;
    padding: var(--sp-2);
    pointer-events: auto;
  }

  /* Hero */
  .hero {
    min-height: 80vh;
    padding: var(--sp-16) 0 var(--sp-12);
  }

  .hero__stats {
    flex-direction: column;
    gap: var(--sp-5);
  }

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

  /* CTA banner */
  .cta-banner__inner {
    padding: var(--sp-10) var(--sp-6);
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
    gap: var(--sp-3);
  }

  .footer-bottom__links {
    justify-content: center;
  }

  /* Ticker */
  .ticker__item {
    font-size: 0.78rem;
  }

  .ticker::before,
  .ticker::after {
    width: 40px;
  }

  /* Carousel */
  .carousel__slide {
    aspect-ratio: 16 / 9;
  }

  .carousel__arrow {
    width: 36px;
    height: 36px;
    opacity: 1;
  }

  .carousel__arrow--prev {
    left: var(--sp-3);
  }

  .carousel__arrow--next {
    right: var(--sp-3);
  }

  .carousel__arrow svg {
    width: 16px;
    height: 16px;
  }

  .carousel__dots {
    bottom: var(--sp-4);
    gap: var(--sp-2);
    padding: 4px 10px;
  }

  .carousel__dot {
    width: 8px;
    height: 8px;
  }

  .carousel__dot.active {
    width: 22px;
  }

  .carousel__caption h2 {
    font-size: 1.4rem;
  }

  .carousel__caption p {
    font-size: 0.85rem;
    margin-bottom: var(--sp-4);
  }

  .carousel__caption .btn {
    font-size: 0.82rem;
    padding: var(--sp-2) var(--sp-5);
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 2rem;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .top-bar__links {
    gap: var(--sp-4);
  }

  .top-bar__links a {
    font-size: 0.72rem;
  }
}
