/*
Theme Name: Pegasus
Theme URI: https://pegasusestablishments.com
Description: Professional logistics and delivery services website
Version: 1.0
Author: Dean Case
*/

/* ============================================
   CSS CUSTOM PROPERTIES (CSS Variables)
   WP: These will remain in WordPress theme
   ============================================ */

:root {
  /* Brand Colors */
  /* OLD DARK BLUE: --color-primary: #111123; */
  /* OLD DARK BLUE: --color-dark: #181a26; */
  --color-primary: #111111;
  --color-accent: #ff0035;
  --color-dark: #111111;
  --color-light: #eef0f2;
  --color-light-2: #fafaff;
  --color-white: #ffffff;

  /* Semantic Colors */
  --color-bg-main: var(--color-light-2);
  --color-bg-alt: var(--color-light);
  --color-bg-dark: var(--color-dark);
  --color-text-primary: var(--color-dark);
  --color-text-light: var(--color-light-2);
  --color-text-muted: #6b7280;

  /* Typography Scale using clamp() for fluid responsive sizing */
  /* Format: clamp(min-size, preferred-size, max-size) */

  --font-size-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);      /* 12px -> 14px */
  --font-size-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);        /* 14px -> 16px */
  --font-size-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);      /* 16px -> 18px */
  --font-size-md: clamp(1.125rem, 1rem + 0.625vw, 1.25rem);       /* 18px -> 20px */
  --font-size-lg: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);        /* 20px -> 24px */
  --font-size-xl: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);            /* 24px -> 32px */
  --font-size-2xl: clamp(2rem, 1.5rem + 2.5vw, 3rem);             /* 32px -> 48px */
  --font-size-3xl: clamp(2.5rem, 2rem + 2.5vw, 3.5rem);           /* 40px -> 56px */
  --font-size-4xl: clamp(3rem, 2.5rem + 2.5vw, 4.5rem);           /* 48px -> 72px */
  --font-size-5xl: clamp(3.5rem, 3rem + 2.5vw, 5.5rem);           /* 56px -> 88px */

  /* Line Heights */
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;

  /* Font Weights - Stack Sans Headline supports 200-700 */
  --font-weight-light: 200;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Spacing Scale using clamp() */
  --space-xs: clamp(0.5rem, 0.45rem + 0.25vw, 0.75rem);
  --space-sm: clamp(0.75rem, 0.7rem + 0.25vw, 1rem);
  --space-md: clamp(1rem, 0.9rem + 0.5vw, 1.5rem);
  --space-lg: clamp(1.5rem, 1.3rem + 1vw, 2.5rem);
  --space-xl: clamp(2rem, 1.5rem + 2.5vw, 4rem);
  --space-2xl: clamp(3rem, 2rem + 5vw, 6rem);
  --space-3xl: clamp(4rem, 3rem + 5vw, 8rem);

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

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-base: 300ms ease-in-out;
  --transition-slow: 500ms ease-in-out;

  /* Z-index Scale */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal: 400;
  --z-popover: 500;
  --z-tooltip: 600;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Stack Sans Headline", sans-serif;
  font-optical-sizing: auto;
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--color-text-primary);
  background-color: var(--color-bg-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-md);
  color: var(--color-text-primary);
}

h1 {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
}

h2 {
  font-size: var(--font-size-3xl);
}

h3 {
  font-size: var(--font-size-2xl);
  color:white;
}

h4 {
  font-size: var(--font-size-xl);
}

h5 {
  font-size: var(--font-size-lg);
}

h6 {
  font-size: var(--font-size-md);
}

p {
  margin-bottom: var(--space-md);
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
}

.lead {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-muted);
}

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

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

/* ============================================
   UTILITY CLASSES
   ============================================ */

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

.text-primary {
  color: var(--color-primary);
}

.text-light {
  color: var(--color-text-light);
}

.bg-light {
  background-color: var(--color-light);
}

.bg-dark {
  background-color: var(--color-dark);
  color: var(--color-text-light);
}

.section-padding {
  padding: var(--space-3xl) 0;
}

/* Section Headers */
.section-header {
  margin-bottom: var(--space-2xl);
}

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

.section-title {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-md);
}

.section-description {
  font-size: var(--font-size-md);
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  text-align: center;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background-color: #e6002f;
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-primary-lg {
  padding: var(--space-md) var(--space-xl);
  font-size: var(--font-size-lg);
  background-color: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

.btn-primary-lg:hover {
  background-color: #e6002f;
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn-outline-lg {
  padding: var(--space-md) var(--space-xl);
  font-size: var(--font-size-lg);
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

.btn-outline-lg:hover {
  background-color: var(--color-white);
  color: var(--color-dark);
  transform: translateY(-2px);
}

.btn-primary-cta {
  background-color: var(--color-accent);
  color: var(--color-white);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-md);
  font-weight: var(--font-weight-semibold);
}

.btn-primary-cta:hover {
  background-color: #e6002f;
  color: var(--color-white);
}

/* ============================================
   HEADER / NAVIGATION
   WP: This will be in header.php
   ============================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  background-color: rgba(16, 16, 16, 0.829);
  backdrop-filter: blur(10px);
  transition: all var(--transition-base);
}

.navbar {
  padding:0;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
}

.navbar-brand:hover {
  color: var(--color-white);
}

.logo {
  height: 80px;
  width: auto;
}

.brand-name {
  color: var(--color-white);
}

.navbar-nav {
  gap: var(--space-md);
}

.nav-link {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  color: var(--color-light);
  transition: color var(--transition-fast);
  padding: var(--space-sm) 0;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--color-accent);
}

.navbar-toggler {
  border-color: var(--color-light);
  color: var(--color-light);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28238, 240, 242, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================================
   HERO SECTION
   WP: Template part - template-parts/hero.php
   ============================================ */

.hero-section {
  position: relative;
  min-height: 100vh;
  background: var(--color-dark);
  padding-top: 80px;
  overflow: hidden;
}

/* Video Background */
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 0;
  object-fit: cover;
}

/* Fallback for browsers that don't support video */
@supports not (object-fit: cover) {
  .hero-video {
    display: none;
  }
  .hero-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-dark) 100%);
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(28, 28, 28, 0.7) 0%,
    rgba(10, 12, 14, 0.6) 50%,
    rgba(28, 28, 28, 0.8) 100%
  );
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-section .row {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  margin-bottom: var(--space-lg);
  line-height: 1.1;
  opacity: 0;
}

.hero-subtitle {
  font-size: var(--font-size-md);
  color: var(--color-light);
  margin-bottom: var(--space-2xl);
  max-width: 600px;
  line-height: var(--line-height-relaxed);
  opacity: 0;
}

.hero-cta {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero-cta .btn {
  opacity: 0;
}

/* Hero Stats - Inline version */
.hero-stats-inline {
  position: relative;
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 2px solid rgba(255, 255, 255, 0.2);
  opacity: 0;
}

.hero-stats-inline .stat-number {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
  line-height: 1;
}

.hero-stats-inline .stat-number::after {
  content: '+';
  margin-left: 2px;
}

.hero-stats-inline .stat-label {
  font-size: var(--font-size-sm);
  color: var(--color-light);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.3;
}

/* ============================================
   ABOUT SECTION
   WP: Template part - template-parts/about.php
   ============================================ */

.about-section {
  background-color: var(--color-white);
}

.about-content p {
  margin-bottom: var(--space-lg);
  color: var(--color-text-muted);
}

.about-cta {
  margin-top: var(--space-xl);
}

.about-image-grid {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
}

.image-placeholder {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  width: 100%;
  height: 100%;
}

.image-placeholder img,
.image-placeholder video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-video {
  display: block;
}

/* Value Cards */
.value-card {
  text-align: center;
  padding: var(--space-xl);
  background-color: var(--color-light);
  border-radius: var(--radius-lg);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  height: 100%;
  opacity: 0;
}

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

.value-icon {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--space-md);
  color: var(--color-accent);
}

.value-icon i {
  display: inline-block;
}

.value-card h4 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-sm);
  color: var(--color-primary);
}

.value-card p {
  font-size: var(--font-size-base);
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* ============================================
   SERVICES SECTION
   WP: Template part - template-parts/services.php
   WP: Or Custom Post Type loop
   ============================================ */

.services-section {
  background-color: var(--color-light);
}

/* REPEATABLE Component: Service Card */
.service-card {
  background-color: var(--color-white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition-base);
  height: 100%;
  border: 2px solid transparent;
  opacity: 0; /* Added to prevent conflict with Anime.js */
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-accent);
}

.service-icon {
  color: var(--color-accent);
  margin-bottom: var(--space-lg);
  display: inline-block;
}

.service-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-md);
  color: var(--color-primary);
}

.service-description {
  font-size: var(--font-size-base);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
  margin-bottom: 0;
}

/* ============================================
   TEAM SECTION
   WP: Template part - template-parts/team.php
   ============================================ */

.team-section {
  background-color: var(--color-light);
}

.team-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
  height: 100%;
}

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

.team-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: var(--color-light);
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.team-card:hover .team-image img {
  transform: scale(1.05);
}

.team-info {
  padding: var(--space-lg);
  text-align: center;
}

.team-name {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.team-role {
  font-size: var(--font-size-sm);
  color: var(--color-accent);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
}

.team-bio {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
  margin-bottom: 0;
}

.team-placeholder {
  padding: var(--space-3xl) 0;
}

/* ============================================
   COVERAGE SECTION
   WP: Template part - template-parts/coverage.php
   ============================================ */

.coverage-section {
  background-color: var(--color-white);
  position: relative;
  min-height: 600px;
}

.coverage-section .row {
  min-height: 600px;
}

.coverage-list {
  margin-top: var(--space-xl);
}

.coverage-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background-color: var(--color-light);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  transition: all var(--transition-base);
  border: 2px solid transparent;
}

.coverage-item:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
  background-color: var(--color-white);
}

.coverage-icon {
  font-size: var(--font-size-2xl);
  flex-shrink: 0;
  color: var(--color-accent);
}

.coverage-icon i {
  display: inline-block;
}

.coverage-details h4 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-xs);
  color: var(--color-primary);
}

.coverage-details p {
  font-size: var(--font-size-base);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
  margin-bottom: 0;
}

.coverage-content {
  width: 100%;
  padding: var(--space-2xl) var(--space-xl);
  max-width: 600px;
  margin: 0 auto;
}

.coverage-map-wrapper {
  height: 100%;
  min-height: 600px;
  position: relative;
}

.coverage-map {
  width: 100%;
  height: 100%;
  min-height: 600px;
  position: relative;
}/* Leaflet map overrides */
.leaflet-container {
  height: 100%;
  width: 100%;
  z-index: 1;
}

/* Custom marker styling - FIXED for proper Leaflet positioning */
.coverage-marker {
  background: transparent !important;
  border: none !important;
}

.coverage-marker .marker-inner {
  background-color: var(--color-accent);
  color: var(--color-white);
  border: 3px solid var(--color-white);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: var(--shadow-lg);
}


/* ============================================
   FAQ SECTION
   WP: Template part - template-parts/faq.php
   ============================================ */

.faq-section {
  background-color: var(--color-light-2);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.faq-item {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  transition: all var(--transition-base);
  overflow: hidden;
}

.faq-item[open] {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg);
  font-size: calc(var(--font-size-lg)-0.5);
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: all var(--transition-base);
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question:hover {
  color: var(--color-accent);
}

.faq-icon {
  font-size: var(--font-size-base);
  color: var(--color-accent);
  transition: transform var(--transition-base);
  flex-shrink: 0;
  margin-left: var(--space-md);
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 var(--space-lg) var(--space-lg) var(--space-lg);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
  animation: fadeIn 0.3s ease-in-out;
}

.faq-answer p {
  margin-bottom: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
}

.faq-image-wrapper .image-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.faq-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Legacy support for static map images */
.map-placeholder {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  height: 100%;
}

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

/* ============================================
   CAREERS/RECRUITMENT SECTION
   WP: Template part - template-parts/careers.php
   WP: Or page-careers.php
   ============================================ */

.careers-section {
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-primary) 100%);
}

.careers-section .section-label {
  color: var(--color-accent);
}

.careers-section .section-title {
  color: var(--color-white);
}

.careers-section .section-description {
  color: var(--color-light);
}

/* Benefit Cards */
.benefit-card {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition-base);
  border: 2px solid transparent;
  height: 100%;
  opacity: 0;
}

.benefit-card:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-8px);
  border-color: var(--color-accent);
}

.benefit-icon {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--space-md);
  color: var(--color-accent);
}

.benefit-icon i {
  display: inline-block;
}

.benefit-card h4 {
  font-size: var(--font-size-lg);
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.benefit-card p {
  font-size: var(--font-size-base);
  color: var(--color-light);
  margin-bottom: 0;
}

/* Feature List */
.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  padding: var(--space-md);
  margin-bottom: var(--space-sm);
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-accent);
  font-size: var(--font-size-base);
  color: var(--color-light);
  transition: all var(--transition-fast);
}

.feature-list li:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateX(8px);
}

/* Testimonials */
/* REPEATABLE Component: Testimonial Card */
.testimonial-card {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-base);
  height: 100%;
  opacity: 0; /* Added to prevent conflict with Anime.js */
}

.testimonial-card:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: var(--color-accent);
  transform: translateY(-8px);
}

.testimonial-quote {
  font-size: var(--font-size-4xl);
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: var(--space-md);
  font-weight: var(--font-weight-bold);
}

.testimonial-text {
  font-size: var(--font-size-md);
  color: var(--color-light);
  font-style: italic;
  margin-bottom: var(--space-lg);
  line-height: var(--line-height-relaxed);
}

.testimonial-author strong {
  display: block;
  font-size: var(--font-size-base);
  color: var(--color-white);
  margin-bottom: var(--space-xs);
}

.testimonial-author span {
  font-size: var(--font-size-sm);
  color: var(--color-light);
}

/* Application Process Timeline */
.process-timeline {
  display: flex;
  justify-content: space-between;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.process-step {
  flex: 1;
  min-width: 200px;
  text-align: center;
  padding: var(--space-xl);
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  position: relative;
  transition: all var(--transition-base);
  opacity: 0; /* Added to prevent conflict with Anime.js */
}

.process-step:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-8px);
}

.step-number {
  width: 60px;
  height: 60px;
  background-color: var(--color-accent);
  color: var(--color-white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  margin: 0 auto var(--space-md);
}

.process-step h4 {
  font-size: var(--font-size-lg);
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.process-step p {
  font-size: var(--font-size-base);
  color: var(--color-light);
  margin-bottom: 0;
}

/* ============================================
   CONTACT SECTION
   WP: Template part - template-parts/contact-form.php
   WP: Contact Form 7 or Gravity Forms
   ============================================ */

.contact-section {
  background-color: var(--color-white);
}

.contact-info {
  padding: var(--space-xl);
  background-color: var(--color-light);
  border-radius: var(--radius-lg);
  height: 100%;
}

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

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-icon {
  font-size: var(--font-size-2xl);
  flex-shrink: 0;
  color: var(--color-accent);
}

.contact-icon i {
  display: inline-block;
}

.contact-item strong {
  display: block;
  font-size: var(--font-size-md);
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.contact-item p {
  font-size: var(--font-size-base);
  color: var(--color-text-muted);
  margin-bottom: 0;
}

.contact-item a {
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.contact-item a:hover {
  color: var(--color-accent);
}


/* ============================================
   FOOTER
   WP: This will be in footer.php
   ============================================ */

.site-footer {
  background-color: var(--color-dark);
  padding: var(--space-2xl) 0 var(--space-xl);
}

.site-footer h5 {
  font-size: var(--font-size-lg);
  color: var(--color-white);
  margin-bottom: var(--space-md);
  font-weight: var(--font-weight-bold);
}

.site-footer p {
  color: var(--color-light);
  font-size: var(--font-size-base);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: var(--color-light);
  font-size: var(--font-size-base);
  transition: color var(--transition-fast);
}

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

.footer-link {
  color: var(--color-light);
  font-size: var(--font-size-sm);
  transition: color var(--transition-fast);
}

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

/* ============================================
   ANIMATIONS
   WP: These classes work with Anime.js
   ============================================ */

.animate-fade-in {
  opacity: 0;
  animation: fadeIn 1s ease-in forwards;
}

.animate-fade-in-delay {
  opacity: 0;
  animation: fadeIn 1s ease-in 0.3s forwards;
}

.animate-fade-in-delay-2 {
  opacity: 0;
  animation: fadeIn 1s ease-in 0.6s forwards;
}

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

/* ============================================
   RESPONSIVE UTILITIES
   ============================================ */

@media (max-width: 991px) {
  .hero-title {
    font-size: var(--font-size-2xl);
  }

  .hero-subtitle {
    font-size: var(--font-size-base);
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .process-timeline {
    flex-direction: column;
  }

  /* Hide video on mobile for performance, use gradient instead */
  .hero-video {
    display: none;
  }

  .hero-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-dark) 100%);
  }

  /* Smaller stats on mobile */
  .hero-stats-inline .stat-number {
    font-size: var(--font-size-xl);
	 text-align:center;
  }

  .hero-stats-inline .stat-label {
    font-size: var(--font-size-xs);
	  text-align:center;
  }
}

@media (max-width: 767px) {
  .section-padding {
    padding: var(--space-2xl) 0;
  }

  .navbar-nav {
    padding-top: var(--space-md);
    gap: var(--space-sm);
  }

  .nav-link {
    padding: var(--space-sm) 0;
  }

  .about-image-grid,
  .coverage-map,
  .faq-image-wrapper {
    margin-top: var(--space-xl);
  }

  /* Coverage section mobile adjustments */
  .coverage-section .row {
    min-height: auto;
  }

  .coverage-content {
    padding: var(--space-xl) var(--space-md);
  }

  .coverage-map-wrapper,
  .coverage-map {
    min-height: 400px;
  }

  .coverage-section .col-md-6:last-child {
    margin-top: var(--space-xl);
  }

  /* FAQ section mobile adjustments */

  .faq-question {
    font-size: var(--font-size-base);
    padding: var(--space-md);
  }

  .faq-answer {
    padding: 0 var(--space-md) var(--space-md) var(--space-md);
    font-size: var(--font-size-sm);
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
  .site-header,
  .hero-cta,
  .contact-form,
  .btn {
    display: none;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  a {
    text-decoration: underline;
  }
}
