/* ============================================
   ARBOR ACTUARIAL LLC — Design System & Styles
   ============================================ */

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

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  /* Brand Colors */
  --color-primary: #0D4F4F;
  --color-primary-light: #147A7A;
  --color-primary-dark: #083838;
  --color-accent: #C9A84C;
  --color-accent-light: #D4BA6A;
  --color-accent-dark: #A8893A;

  /* Background Colors */
  --color-bg-dark: #0A0F1A;
  --color-bg-darker: #060A12;
  --color-bg-light: #F7F8FA;
  --color-bg-card: #0F1628;

  /* Text Colors */
  --color-text-light: #E8ECF1;
  --color-text-muted: #9BA3B5;
  --color-text-dark: #1A1A2E;
  --color-text-dark-muted: #5A5A7A;

  /* Glass Effect */
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);

  /* Spacing Scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Typography */
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;
  --text-5xl: 3.5rem;
  --text-6xl: 4.5rem;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Container */
  --container-max: 1200px;
  --container-padding: 1.5rem;

  /* Nav Height */
  --nav-height: 80px;
}

/* --- Reset & Base --- */
*,
*::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(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text-light);
  background-color: var(--color-bg-dark);
  overflow-x: hidden;
}

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

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

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

ul,
ol {
  list-style: none;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.section-label {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
  display: inline-block;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--space-lg);
}

.section-subtext {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 620px;
  margin-bottom: var(--space-3xl);
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children */
.stagger-children>* {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.stagger-children.visible>*:nth-child(1) {
  transition-delay: 0ms;
}

.stagger-children.visible>*:nth-child(2) {
  transition-delay: 100ms;
}

.stagger-children.visible>*:nth-child(3) {
  transition-delay: 200ms;
}

.stagger-children.visible>*:nth-child(4) {
  transition-delay: 300ms;
}

.stagger-children.visible>*:nth-child(5) {
  transition-delay: 400ms;
}

.stagger-children.visible>*:nth-child(6) {
  transition-delay: 500ms;
}

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

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: background-color var(--transition-base), box-shadow var(--transition-base);
}

.navbar.scrolled {
  background-color: rgba(10, 15, 26, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text-light);
  z-index: 1001;
}

.nav-logo .logo-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo .logo-icon svg {
  width: 36px;
  height: 36px;
}

.nav-logo .logo-text-arbor {
  color: var(--color-accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}

.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition-base);
}

.nav-links a:hover {
  color: var(--color-text-light);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 0.6rem 1.5rem;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: var(--color-bg-dark) !important;
  font-weight: 600 !important;
  border-radius: var(--radius-full);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast) !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.35);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
  z-index: 1001;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text-light);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-fast);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
}

/* Animated Gradient Mesh Background */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(ellipse 600px 600px at 20% 30%, rgba(13, 79, 79, 0.4) 0%, transparent 70%),
    radial-gradient(ellipse 500px 500px at 80% 20%, rgba(201, 168, 76, 0.15) 0%, transparent 70%),
    radial-gradient(ellipse 400px 400px at 60% 80%, rgba(13, 79, 79, 0.2) 0%, transparent 70%),
    radial-gradient(ellipse 300px 300px at 30% 70%, rgba(201, 168, 76, 0.1) 0%, transparent 70%);
  animation: meshFloat 20s ease-in-out infinite;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, var(--color-bg-dark) 100%);
}

@keyframes meshFloat {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  25% {
    transform: translate(2%, -3%) rotate(1deg);
  }

  50% {
    transform: translate(-1%, 2%) rotate(-0.5deg);
  }

  75% {
    transform: translate(3%, 1%) rotate(0.5deg);
  }
}

/* Subtle grid pattern */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
}

/* Floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 50%;
  opacity: 0.3;
  animation: particleFloat linear infinite;
}

.particle:nth-child(1) {
  left: 10%;
  top: 20%;
  animation-duration: 15s;
  animation-delay: 0s;
}

.particle:nth-child(2) {
  left: 30%;
  top: 60%;
  animation-duration: 20s;
  animation-delay: 2s;
}

.particle:nth-child(3) {
  left: 50%;
  top: 30%;
  animation-duration: 18s;
  animation-delay: 4s;
}

.particle:nth-child(4) {
  left: 70%;
  top: 70%;
  animation-duration: 22s;
  animation-delay: 1s;
}

.particle:nth-child(5) {
  left: 85%;
  top: 40%;
  animation-duration: 16s;
  animation-delay: 3s;
}

.particle:nth-child(6) {
  left: 15%;
  top: 80%;
  animation-duration: 25s;
  animation-delay: 5s;
}

.particle:nth-child(7) {
  left: 55%;
  top: 10%;
  animation-duration: 19s;
  animation-delay: 2.5s;
}

.particle:nth-child(8) {
  left: 90%;
  top: 85%;
  animation-duration: 21s;
  animation-delay: 4.5s;
}

@keyframes particleFloat {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }

  10% {
    opacity: 0.4;
  }

  90% {
    opacity: 0.4;
  }

  100% {
    transform: translateY(-100vh) translateX(30px);
    opacity: 0;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.4rem 1rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: var(--space-xl);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  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(1.5);
  }
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: var(--text-6xl);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--space-xl);
  color: var(--color-text-light);
}

.hero h1 .gradient-text {
  color: var(--color-accent);
}

.hero-description {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 580px;
  margin-bottom: var(--space-2xl);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.9rem 2rem;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: var(--color-bg-dark);
  font-size: var(--text-base);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.35);
}

.btn-primary svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.btn-primary:hover svg {
  transform: translateX(3px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.9rem 2rem;
  background: transparent;
  color: var(--color-text-light);
  font-size: var(--text-base);
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.btn-secondary:hover {
  border-color: var(--color-accent);
  background: rgba(201, 168, 76, 0.08);
}

/* Hero stats bar */
.hero-stats {
  display: flex;
  gap: var(--space-3xl);
  margin-top: var(--space-4xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

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

.hero-stat .stat-number {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-accent);
  display: block;
  line-height: 1.2;
}

.hero-stat .stat-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-xs);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  padding: var(--space-5xl) 0;
  background: var(--color-bg-dark);
  position: relative;
}

.about-header {
  text-align: center;
  max-width: 820px;
  margin-inline: auto;
  margin-bottom: var(--space-4xl);
}

.about-header .section-heading {
  color: var(--color-text-light);
}

.about-intro {
  margin-inline: auto;
  text-align: center;
}

/* Credential Badges */
.about-credentials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.credential-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.5rem 1.2rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-light);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.credential-badge svg {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
  flex-shrink: 0;
}

/* Team Section Title */
.team-section-title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--color-text-light);
  text-align: center;
  margin-bottom: var(--space-3xl);
  position: relative;
}

.team-section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: var(--color-accent);
  margin: var(--space-md) auto 0;
}

/* Founder Profile Layout */
.founder-profile {
  margin-top: var(--space-xl);
}

.founder-card {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-3xl);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.founder-card:hover {
  border-color: rgba(201, 168, 76, 0.2);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.founder-media {
  position: relative;
}

.founder-photo-wrapper {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--glass-border);
  position: relative;
  background: linear-gradient(135deg, rgba(13, 79, 79, 0.2), rgba(10, 15, 26, 0.6));
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.founder-photo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.founder-header {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--glass-border);
}

.founder-name {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-text-light);
  margin-bottom: var(--space-xs);
}

.founder-title {
  font-size: var(--text-lg);
  color: var(--color-accent);
  font-weight: 500;
}

.founder-badges {
  margin-top: var(--space-md);
}

@media (max-width: 992px) {
  .founder-card {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    padding: var(--space-2xl);
  }

  .founder-media {
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
  }
}

.team-designations {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-top: var(--space-sm);
}

.designation {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: linear-gradient(135deg, rgba(13, 79, 79, 0.3), rgba(13, 79, 79, 0.1));
  border: 1px solid rgba(13, 79, 79, 0.35);
  border-radius: var(--radius-sm);
  color: var(--color-primary-light);
}

/* Team Bio */
.team-bio p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.team-bio p:last-child {
  margin-bottom: 0;
}

.team-clients {
  padding: var(--space-md) var(--space-lg);
  background: rgba(201, 168, 76, 0.06);
  border-left: 3px solid var(--color-accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: var(--space-lg) 0;
  line-height: 1.7;
}

.clients-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}

.team-vision {
  font-style: italic;
  color: var(--color-text-muted);
  opacity: 0.85;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
  padding: var(--space-5xl) 0;
  background: var(--color-bg-darker);
  position: relative;
}

.services-header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.services-header .section-heading {
  color: var(--color-text-light);
}

.services-header .section-subtext {
  margin-inline: auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.service-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 168, 76, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(13, 79, 79, 0.3), rgba(13, 79, 79, 0.1));
  border: 1px solid rgba(13, 79, 79, 0.3);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  transition: background var(--transition-base);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.2), rgba(201, 168, 76, 0.05));
  border-color: rgba(201, 168, 76, 0.3);
}

.service-icon svg {
  width: 26px;
  height: 26px;
  color: var(--color-primary-light);
  transition: color var(--transition-base);
}

.service-card:hover .service-icon svg {
  color: var(--color-accent);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
}

.service-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ============================================
   WHY CHOOSE US SECTION
   ============================================ */
.why-us {
  padding: var(--space-5xl) 0;
  background: var(--color-bg-dark);
  position: relative;
}

.why-us-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.why-us-content .section-heading {
  color: var(--color-text-light);
}

.why-us-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.stat-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color var(--transition-base);
}

.stat-card:hover {
  border-color: rgba(201, 168, 76, 0.2);
}

.stat-card .stat-value {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-accent);
  display: block;
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.stat-card .stat-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.why-us-features {
  margin-top: var(--space-2xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.why-feature {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
}

.why-feature .feature-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: linear-gradient(135deg, rgba(13, 79, 79, 0.3), rgba(13, 79, 79, 0.1));
  border: 1px solid rgba(13, 79, 79, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-feature .feature-icon svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary-light);
}

.why-feature h4 {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text-light);
  margin-bottom: var(--space-xs);
}

.why-feature p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  padding: var(--space-5xl) 0;
  background: var(--color-bg-darker);
  position: relative;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-4xl);
  align-items: start;
}

.contact-info .section-heading {
  color: var(--color-text-light);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.contact-item .item-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-item .item-icon svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
}

.contact-item h4 {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-light);
  margin-bottom: 2px;
}

.contact-item p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* Form Card */
.contact-form-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.contact-form-card h3 {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--color-text-light);
  margin-bottom: var(--space-xl);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-light);
}

.form-group label .required {
  color: var(--color-accent);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--color-text-light);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-muted);
  opacity: 0.6;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239BA3B5' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group select option {
  background: var(--color-bg-card);
  color: var(--color-text-light);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #e74c3c;
}

.form-error {
  font-size: var(--text-xs);
  color: #e74c3c;
  min-height: 1rem;
}

.form-submit {
  margin-top: var(--space-lg);
}

.form-submit .btn-primary {
  width: 100%;
  justify-content: center;
  padding: 1rem;
}

/* Form Toast / Feedback */
.form-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
  z-index: 9999;
  transform: translateY(120%);
  transition: transform var(--transition-spring);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.form-toast.show {
  transform: translateY(0);
}

.form-toast.success {
  background: #0d3b2e;
  border: 1px solid #1a7a5a;
  color: #6ee7b7;
}

.form-toast.error {
  background: #3b0d0d;
  border: 1px solid #7a1a1a;
  color: #fca5a5;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: var(--space-3xl) 0 var(--space-xl);
  background: var(--color-bg-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand .nav-logo {
  margin-bottom: var(--space-lg);
}

.footer-brand p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-light);
  margin-bottom: var(--space-lg);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-col a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: var(--color-accent);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.footer-social a:hover {
  border-color: var(--color-accent);
  background: rgba(201, 168, 76, 0.1);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.footer-social a:hover svg {
  color: var(--color-accent);
}

.footer-bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-bottom p {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-xl);
}

.footer-bottom-links a {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.footer-bottom-links a:hover {
  color: var(--color-accent);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  :root {
    --text-6xl: 3.5rem;
    --text-5xl: 2.5rem;
    --text-4xl: 2rem;
  }

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

  .team-grid {
    gap: var(--space-xl);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --text-6xl: 2.5rem;
    --text-5xl: 2rem;
    --text-4xl: 1.75rem;
    --text-3xl: 1.5rem;
    --nav-height: 70px;
    --container-padding: 1.25rem;
  }

  /* Mobile Nav */
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: rgba(10, 15, 26, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: var(--space-2xl);
    padding: var(--space-3xl);
    transition: right var(--transition-base);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: var(--text-lg);
  }

  .mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), visibility var(--transition-base);
    z-index: 999;
  }

  .mobile-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* Hero */
  .hero-stats {
    gap: var(--space-xl);
    flex-wrap: wrap;
  }

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

  /* About & Team */
  .team-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .team-card-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .team-identity {
    text-align: center;
  }

  .team-designations {
    justify-content: center;
  }

  .about-credentials {
    flex-direction: column;
    align-items: center;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Why Us */
  .why-us-wrapper {
    grid-template-columns: 1fr;
  }

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

  /* Contact */
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

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

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

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

@media (max-width: 480px) {
  :root {
    --text-6xl: 2rem;
    --text-4xl: 1.5rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .why-us-stats {
    grid-template-columns: 1fr;
  }
}