/* ==========================================
   WITHERS CREST - MODERN INSURANCE WEBSITE
   Colors: Green (#2d5a3d, #3d7a4f) & Gold (#d4af37, #b8941f)
   ========================================== */

/* ==========================================
   FONT LOADING OPTIMIZATION
   ========================================== */
/* Ensure Google Fonts use font-display: swap */
@font-face {
  font-family: 'Inter';
  font-display: swap;
  src: local('Inter');
}

@font-face {
  font-family: 'Playfair Display';
  font-display: swap;
  src: local('Playfair Display');
}

/* ==========================================
   CSS CUSTOM PROPERTIES (Variables)
   ========================================== */
:root {
  /* Brand Colors */
  --color-primary: #2d5a3d;
  --color-primary-light: #3d7a4f;
  --color-primary-dark: #1d3a2d;
  --color-accent: #cbb48b;
  --color-accent-dark: #b39b6f;
  
  /* Shield Gradient Colors (from crest icon) */
  --shield-dark: #14602f;
  --shield-mid: #126f39;
  --shield-light: #1e6a3a;
  --shield-edge: #17533f;
  
  /* Shield Gradients */
  --gradient-shield-diagonal: linear-gradient(135deg, #14602f 0%, #1e6a3a 100%);
  --gradient-shield-vertical: linear-gradient(180deg, #14602f 0%, #1e6a3a 100%);
  --gradient-shield-smooth: linear-gradient(135deg, #14602f 0%, #126f39 50%, #1e6a3a 100%);
  --gradient-shield-horizontal: linear-gradient(90deg, #14602f 0%, #1e6a3a 100%);
  
  /* Neutral Colors */
  --color-white: #ffffff;
  --color-off-white: #fafafa;
  --color-light-gray: #f5f5f5;
  --color-gray: #e0e0e0;
  --color-medium-gray: #9e9e9e;
  --color-dark-gray: #424242;
  --color-black: #212121;
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 4rem;
  --spacing-xxl: 6rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Container */
  --container-max: 1400px;
  --container-padding: 1.5rem;
}

/* ==========================================
   RESET & BASE STYLES
   ========================================== */
*,
*::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-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-black);
  background-color: var(--color-white);
  overflow-x: hidden;
}

/* ==========================================
   SKIP LINK (Accessibility)
   ========================================== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 0 0 var(--radius-md) 0;
  z-index: 10000;
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  margin-bottom: 1rem;
  font-size: 1.125rem;
  line-height: 1.8;
}

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

a:hover,
a:focus {
  color: var(--color-primary-light);
}

/* ==========================================
   CONTAINER & LAYOUT
   ========================================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: box-shadow var(--transition-medium);
}

.nav-wrapper {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 1rem var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
}

.logo:hover,
.logo:focus {
  color: var(--color-accent);
  opacity: 0.9;
}

.logo-image {
  height: 85px;
  width: auto;
  display: block;
  transition: opacity var(--transition-fast);
}

.logo:hover .logo-image,
.logo:focus .logo-image {
  opacity: 0.9;
}

.main-nav {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.main-nav a {
  font-weight: 500;
  color: #1d3a2d;
  transition: color var(--transition-fast);
  position: relative;
}

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

.main-nav a:hover::after,
.main-nav a:focus::after {
  width: 100%;
}

.main-nav a:hover,
.main-nav a:focus {
  color: var(--color-primary-light);
}


/* Hide mobile CTA button on desktop */
.mobile-nav-cta {
  display: none;
}

.has-dropdown {
  position: relative;
}

.dropdown-arrow {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: 0.5rem;
  opacity: 0.35;
  vertical-align: middle;
  transition: opacity var(--transition-fast);
}

.has-dropdown:hover .dropdown-arrow,
.has-dropdown a:focus .dropdown-arrow {
  opacity: 1;
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-white);
  list-style: none;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  min-width: 220px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-fast);
  z-index: 100;
  white-space: nowrap;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  padding: 0;
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: #1d3a2d !important;
  font-weight: 500;
  transition: all var(--transition-fast);
  position: relative;
}

.dropdown-menu a::after {
  display: none;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus {
  background: var(--color-light-gray);
  color: var(--color-primary);
  padding-left: 2rem;
}

/* Header Buttons Container */
.header-buttons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cta-button-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
  height: 48px;
}

.cta-phone {
  background: var(--color-white);
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.cta-phone:hover,
.cta-phone:focus {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.cta-phone .phone-icon {
  color: var(--color-primary);
  flex-shrink: 0;
}

.cta-phone:hover .phone-icon,
.cta-phone:focus .phone-icon {
  color: var(--color-white);
}

.cta-button-header.cta-primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.cta-button-header.cta-primary:hover,
.cta-button-header.cta-primary:focus {
  background: var(--color-primary-light);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.cta-social {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0.75rem;
  width: 48px;
  border-radius: var(--radius-md);
}

.cta-social:hover,
.cta-social:focus {
  background: var(--color-primary-light);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.facebook-icon {
  flex-shrink: 0;
}

/* Phone icon styling */
.phone-icon,
.phone-icon-inline {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

.phone-icon-inline {
  color: var(--color-primary);
}

.cta-secondary:hover .phone-icon-inline,
.cta-secondary:focus .phone-icon-inline {
  color: var(--color-white);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
  width: 48px;
  height: 48px;
  position: relative;
  flex-shrink: 0;
  overflow: visible;
    order: 3;
  }

.hamburger-line {
  width: 28px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
  display: block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.hamburger-line:nth-child(1) {
  top: 17px;
}

.hamburger-line:nth-child(3) {
  bottom: 18px;
}

/* Only show 2 lines - hide the middle one */
.hamburger-line:nth-child(2) {
  display: none;
}

/* ==========================================
   HERO SECTION
   ========================================== */

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  position: relative;
  min-height: 600px;
  max-height: 810px;
  height: 100vh;
  background-color: #fafafa;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('https://witherscrest.com/newsite/images/hero-image-full-gs.webp');
  background-image: 
    -webkit-image-set(
      url('https://witherscrest.com/newsite/images/hero-image-full-gs.webp') 1x
    ),
    url('https://witherscrest.com/newsite/images/hero-image-full-gs.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.15;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, black 70%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 70%, transparent 100%);
}


.hero-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  padding: var(--spacing-xl) var(--container-padding);
  max-width: var(--container-max);
  margin: 0 auto;
  height: 100%;
  position: relative;
  z-index: 1;
}

.hero-content {
  z-index: 2;
}

.hero-title {
  color: var(--color-primary-dark);
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-dark-gray);
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-cta-group .cta-button {
  min-width: 240px;
}

.hero-trust-badges {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-dark-gray);
}

.badge-icon {
  background: var(--color-accent);
  color: var(--color-white);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.hero-image-container {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 400px;
  max-height: 600px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: fadeIn 0.8s ease 0.4s both;
  transform: translateZ(0);
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  image-rendering: -webkit-optimize-contrast;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transform: translateZ(0);
}

/* ==========================================
   BUTTONS / CTAs
   ========================================== */
.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.cta-primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.cta-primary:hover,
.cta-primary:focus {
  background: var(--color-primary-light);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.cta-secondary {
  background: var(--color-white);
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.cta-secondary:hover,
.cta-secondary:focus {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.cta-secondary:hover svg,
.cta-secondary:focus svg {
  opacity: 1;
  visibility: visible;
}

.cta-secondary-white {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

.cta-secondary-white .phone-icon-inline {
  color: var(--color-white);
}

.cta-secondary-white:hover,
.cta-secondary-white:focus {
  background: var(--color-white);
  color: var(--color-primary);
  transform: translateY(-2px);
}
 
.cta-secondary-white:hover .phone-icon-inline,
.cta-secondary-white:focus .phone-icon-inline {
  color: var(--color-primary);
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about-section {
  position: relative;
  padding: var(--spacing-xxl) 0;
  background: #f5f5f5;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('https://witherscrest.com/newsite/images/DiamondBackgroundPattern.svg');
  background-repeat: repeat;
  background-position: 0 0;
  background-size: 800px auto;
  opacity: 0.35;
  mask-image: linear-gradient(to right, black 0%, transparent 25%, transparent 75%, black 100%);
  -webkit-mask-image: linear-gradient(to right, black 0%, transparent 25%, transparent 75%, black 100%);
  pointer-events: none;
  z-index: 0;
}

.about-section > * {
  position: relative;
  z-index: 1;
}

.section-title {
  text-align: center;
  margin-bottom: 1rem;
}

.section-title .subtitle {
  display: block;
  font-size: 1.25rem;
  color: var(--color-accent);
  font-weight: 600;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.section-intro {
  text-align: center;
  font-size: 1.125rem;
  color: var(--color-dark-gray);
  max-width: 700px;
  margin: 0 auto 3rem;
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
}

.about-content p {
  color: #424242;
  text-align: center;
}

.lead-text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--color-dark-gray);
  text-align: center;
}

.mission-statement,
.special-focus,
.key-reasons-box {
  background: var(--color-white);
  padding: var(--spacing-md);
  border-radius: var(--radius-lg);
  margin: var(--spacing-md) 0;
  border-left: 4px solid var(--color-accent);
  box-shadow: var(--shadow-sm);
}

.mission-statement h3,
.special-focus h3 {
  color: var(--color-primary);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.key-reasons-box h4 {
  color: var(--color-primary);
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
}

.mission-statement p,
.special-focus p {
  font-size: 1.125rem;
  line-height: 1.8;
  text-align: left;
}

.key-reasons-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 768px) {
  .key-reasons-box ul {
    grid-template-columns: repeat(3, 1fr);
    gap: 0 1.5rem;
  }
}

.key-reasons-box ul li {
  font-size: 1.05rem;
  line-height: 1.8;
  padding: 0.5rem 0 0.5rem 2rem;
  position: relative;
  color: var(--color-dark-gray);
}

.key-reasons-box ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
  font-size: 1.2rem;
}

/* ==========================================
   INTERIOR PAGE SPECIFIC STYLES
   ========================================== */
/* These styles only apply to interior pages, not the homepage */

.interior-page .about-content h3 {
  color: var(--color-primary);
  text-align: center;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  font-weight: 700;
}

.interior-page .about-section-secondary {
  background: linear-gradient(135deg, #ffffff 0%, #f8faf9 50%, #f0f5f2 100%);
}

.interior-page .about-section-secondary::before {
  opacity: 0;
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services-section {
  padding: var(--spacing-xxl) 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8faf9 50%, #f0f5f2 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: var(--spacing-lg);
}

.service-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-medium);
  border: 1px solid var(--color-gray);
}

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

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

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: #424242;
  font-size: 1rem;
  line-height: 1.8;
}

.service-features {
  list-style: none;
  margin: 1.5rem 0;
}

.service-features li {
  padding: 0.5rem 0;
  padding-left: 1.75rem;
  position: relative;
  color: var(--color-dark-gray);
  font-size: 1rem;
  line-height: 1.8;
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-primary);
  font-weight: 600;
  transition: gap var(--transition-fast);
}

.service-link:hover,
.service-link:focus {
  gap: 0.75rem;
}

.additional-services {
  text-align: center;
  margin-top: var(--spacing-lg);
  padding: var(--spacing-md);
  background: var(--color-light-gray);
  border-radius: var(--radius-lg);
}

.additional-services h3 {
  margin-bottom: 1rem;
}

.services-list {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.services-list a {
  font-weight: 500;
}

.services-list a:hover,
.services-list a:focus {
  color: var(--color-accent);
}

/* ==========================================
   CTA BAR
   ========================================== */
.cta-bar {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: var(--color-white);
  padding: var(--spacing-lg) 0;
}

.cta-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-bar h2 {
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.cta-bar p {
  margin-bottom: 0;
  opacity: 0.9;
}

.cta-bar-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-bar-actions .cta-button {
  min-width: 180px;
  flex: 0 0 auto;
}

/* Mobile responsive for CTA bar */
@media (max-width: 768px) {
    .services-section {padding-bottom: 6px;}    
    
  .cta-bar .container {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
  
  .cta-bar-content {
    text-align: center;
  }
  
  .cta-bar-actions {
    justify-content: center;
    width: 100%;
  }
  
  .cta-bar-actions .cta-button {
    width: 100%;
    max-width: 320px;
  }
}

/* ==========================================
   FAQ SECTION
   ========================================== */
.faq-section {
  position: relative;
  padding: var(--spacing-xxl) 0;
  background: var(--color-off-white);
}

.faq-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('https://witherscrest.com/newsite/images/WindBackgroundPattern.svg');
  background-repeat: repeat;
  background-position: 0 0;
  background-size: 800px auto;
  opacity: 0.35;
  mask-image: linear-gradient(to right, black 0%, transparent 25%, transparent 75%, black 100%);
  -webkit-mask-image: linear-gradient(to right, black 0%, transparent 25%, transparent 75%, black 100%);
  pointer-events: none;
  z-index: 0;
}

.faq-section > * {
  position: relative;
  z-index: 1;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--transition-fast);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem;
  text-align: left;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background var(--transition-fast);
}

.faq-question:hover,
.faq-question:focus {
  background: var(--color-light-gray);
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-medium);
}

.faq-answer p {
  padding: 2rem 1.5rem 1.5rem;
  color: var(--color-dark-gray);
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
}

/* ==========================================
   QUOTE FORM SECTION
   ========================================== */
.quote-section {
  padding: var(--spacing-xxl) 0;
}

.quote-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}

.quote-info h2 {
  margin-bottom: 1rem;
}

.quote-intro {
  font-size: 1.125rem;
  color: var(--color-dark-gray);
  margin-bottom: 2rem;
}

.quote-benefits {
  margin-bottom: 3.0rem;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.benefit-icon {
  background: var(--color-accent);
  color: var(--color-white);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  flex-shrink: 0;
}

.contact-alternatives {
  background: var(--color-light-gray);
  padding: 2.5rem var(--spacing-md) var(--spacing-md);
  border-radius: var(--radius-lg);
}

.contact-alternatives h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.phone-link {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 2rem;
}

.contact-hours {
  font-size: 0.9rem;
  color: #666666;
  margin-top: 1rem;
}

.quote-form {
  background: var(--color-white);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-gray);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: 0.5rem;
}

.required {
  color: #d32f2f;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem;
  border: 2px solid var(--color-gray);
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(45, 90, 61, 0.1);
}

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

.form-group-checkbox {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.form-group-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 0.25rem;
  cursor: pointer;
  flex-shrink: 0;
}

.form-group-checkbox label {
  font-size: 0.9rem;
  color: var(--color-dark-gray);
  line-height: 1.5;
  cursor: pointer;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.btn-submit {
  width: 100%;
  margin-top: 1rem;
}

.form-privacy {
  text-align: center;
  font-size: 0.85rem;
  color: #666666;
  margin-top: 1rem;
}

.privacy-link {
  color: var(--color-primary);
  text-decoration: underline;
}

/* ==========================================
   MAP SECTION
   ========================================== */
.map-section {
  height: 500px;
  position: relative;
  overflow: hidden;
}

.map-container {
  width: 100%;
  height: 100%;
}

.map-link {
  display: block;
  width: 100%;
  height: 100%;
  background: url('https://witherscrest.com/newsite/images/new-map-section-image.jpg');
  background: url('https://witherscrest.com/newsite/images/new-map-section-image.webp');
  background-size: cover;
  background-position: center;
  position: relative;
  transition: transform var(--transition-medium);
}

.map-link::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: url('https://witherscrest.com/newsite/images/map-marker.png') no-repeat center;
  background-size: contain;
  pointer-events: none;
}

.map-link:hover,
.map-link:focus {
  transform: scale(1.02);
}

.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(45, 90, 61, 0.4);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 3rem;
  transition: background var(--transition-medium);
}

.map-link:hover .map-overlay,
.map-link:focus .map-overlay {
  background: rgba(45, 90, 61, 0.5);
}

.map-info {
  color: var(--color-white);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.map-icon {
  font-size: 3rem;
}

.map-info strong {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.5rem;
}

.map-info p {
  font-size: 1.125rem;
  margin: 0;
  opacity: 0.95;
}

/* ==========================================
   FOOTER
   ========================================== */
.site-footer {
  background: linear-gradient(180deg, var(--shield-dark) 0%, #0d3019 100%);
  color: var(--color-white);
  padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-logo {
  text-align: center;
  margin-bottom: 0;
  padding-top: var(--spacing-md);
  padding-bottom: var(--spacing-xl);
}

.footer-logo-image {
  max-width: 400px;
  width: 100%;
  height: auto;
  display: inline-block;
}

.footer-partner-logos {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 2rem;
  margin: 0 auto 3rem;
  padding-bottom: 2rem;
  flex-wrap: wrap;
  max-width: 1000px;
}

.partner-logo {
  height: 50px;
  width: auto;
  opacity: 0.9;
  transition: opacity var(--transition-fast);
}

.partner-logo-rotary {
  height: 70px;
}

.partner-logo-scda {
  height: 45px;
}

.partner-logo-cef {
  height: 70px;
}

.partner-logo:hover {
  opacity: 1;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: var(--spacing-lg);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.footer-col h3 {
  color: var(--color-accent);
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.footer-col p,
.footer-col li {
  font-size: 0.9rem;
  line-height: 1.8;
  opacity: 0.9;
}

.footer-col .phone-link {
  font-size: 0.9rem;
  color: var(--color-white);
  font-weight: normal;
}

.footer-col ul {
  list-style: none;
}

.footer-col a {
  color: var(--color-white);
  transition: color var(--transition-fast);
}

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

.footer-contact {
  margin-top: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 54px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  opacity: 0.8;
  margin-bottom: 0.5rem;
}

.footer-disclaimer {
  font-size: 0.75rem;
  opacity: 0.7;
  font-style: italic;
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

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

/* Mobile line break helper */
.mobile-break {
  display: none;
}

@media (max-width: 640px) {
  .mobile-break {
    display: block;
    height: 0;
  }
}
/* Tablet and Mobile - Full hamburger menu functionality */
@media (max-width: 1100px) {
  :root {
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
  }

  .main-nav {
    display: none;
    position: fixed;
    top: 85px;
    left: 0;
    right: 0;
    height: calc(100vh - 85px);
    width: 100%;
    background: var(--color-light-gray);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 3rem 2rem;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    gap: 1.5rem;
    overflow-y: auto;
  }

  .main-nav.active {
    display: flex;
  }

  .main-nav a {
    font-size: 1.125rem;
    text-align: center;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: var(--color-white);
    margin-top: 1.3rem;
    margin-left: 0;
    border-radius: var(--radius-sm);
    text-align: center;
    width: 100%;
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.4s ease;
    display: block;
      max-height: 500px;
  }
  
  .dropdown-menu.active {
    display: block;
    max-height: 500px;
    opacity: 1;
  }

  .dropdown-menu a {
    font-size: 1rem;
  }

  .dropdown-menu a:hover,
  .dropdown-menu a:focus {
    padding-left: 1.5rem;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-wrapper {
    padding: 0.75rem var(--container-padding);
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }

  .mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
    display: none;
  }

  .mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    bottom: auto;
    top: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .header-buttons {
    display: none;
  }

  /* Mobile nav CTA button */
  .mobile-nav-cta {
    display: block;
    margin-top: 0.5rem;
    width: 100%;
    max-width: 300px;
    list-style: none;
  }
  
  .mobile-cta-button {
    display: block;
    width: 100%;
    padding: 1rem 2rem;
    background: var(--color-primary);
    color: var(--color-white) !important;
    text-align: center;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1.125rem;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-md);
  }
  
  .mobile-cta-button:hover,
  .mobile-cta-button:focus {
    background: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
  }
  
  .mobile-cta-button::after {
    display: none !important;
  }

    .dropdown-arrow {display: none;}
    .has-dropdown {text-align: center;}
  .hero-wrapper {
    grid-template-columns: 1fr;
    height: 100%;
    padding: var(--spacing-lg) var(--container-padding);
    gap: 2rem;
  }

  .hero-content {
    order: 2;
    text-align: center;
  }

  .hero-image-container {
    order: 1;
    height: 350px;
    min-height: 350px;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-trust-badges {
    justify-content: center;
  }

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

  .quote-wrapper {
    grid-template-columns: 1fr;
  }

  .logo-image {
    height: 65px;
    width: auto;
  }
  
  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    width: 48px;
    height: 48px;
    position: relative;
    flex-shrink: 0;
    overflow: visible;
    order: 4;
  }
  
  /* Show mobile header icons and configure based on screen size */
  .mobile-header-icons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    order: 2;
    margin-left: auto;
    margin-right: 0.5rem;
  }
  
  .mobile-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--color-white);
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-md);
    color: var(--color-primary);
    transition: all var(--transition-fast);
    flex-shrink: 0;
  }
  
  .mobile-icon-btn:hover,
  .mobile-icon-btn:focus {
    background: var(--color-primary);
    color: var(--color-white);
  }
  
  .mobile-icon-btn svg {
    flex-shrink: 0;
  }
}

/* Small mobile - Hide all icons */
@media (max-width: 480px) {
  .mobile-header-icons {
    display: none !important;
  }
}

/* Medium mobile - Show phone icon only, hide Facebook */
@media (min-width: 481px) and (max-width: 640px) {
  .mobile-header-icons a[href*="facebook"] {
    display: none;
  }
}

/* Large mobile and up - Show both icons */
@media (min-width: 641px) and (max-width: 768px) {
  /* Both icons visible - no changes needed */
}

/* Tablet - Show icons + Get Quote button */
@media (min-width: 769px) and (max-width: 1100px) {
  /* Show Get Quote button on tablet */
  .header-buttons {
    display: flex;
    gap: 0.5rem;
    order: 3;
  }
  
  .cta-phone,
  .cta-social {
    display: none;
  }
  
  .cta-primary {
    display: inline-block;
  }
}
    min-height: auto;
  }
}

/* Center quote benefits on mobile */
@media (max-width: 992px) {
  .quote-benefits {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .benefit-item {
    justify-content: center;
  }
}

/* Override trust badges on mobile - center container but left-align items */
@media (max-width: 640px) {
  .hero-trust-badges {
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    width: fit-content;
  }
  
  .trust-badge {
    justify-content: flex-start;
    width: 100%;
  }
}

/* Override quote benefits on mobile - center container but left-align items */
@media (max-width: 640px) {
  .quote-benefits {
    align-items: center;
    text-align: left;
    margin: 0 auto;
    width: fit-content;
  }
  
  .benefit-item {
    justify-content: flex-start;
    width: 100%;
    text-align: left;
  }
}

/* Semi-transparent footer separators */
.footer-separator {
  opacity: 0.4;
  padding: 0 0.5rem;
}


/* Hide footer separators on mobile and add line breaks */
@media (max-width: 640px) {
  .footer-separator {
    display: block;
    height: 0;
    opacity: 0;
    padding: 0;
  }
  
  .footer-bottom p:first-child {
    line-height: 1.8;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
}

/* Add more padding below quote-benefits on mobile */
@media (max-width: 640px) {
  .quote-benefits {
    margin-bottom: 3.15rem;
  }
}

/* Mobile header icons - hidden by default, show only on mobile/tablet */

/* Hide mobile header icons on desktop */
@media (min-width: 1101px) {
  .mobile-header-icons {
    display: none;
  }
}

/* Larger tablet/smaller laptop - switch to hamburger earlier to prevent cramping */
@media (min-width: 900px) and (max-width: 1200px) {
  .main-nav {
    display: none;
    position: fixed;
    top: 85px;
    left: 0;
    right: 0;
    height: calc(100vh - 85px);
    width: 100%;
    background: var(--color-light-gray);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 3rem 2rem;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    gap: 1.5rem;
    overflow-y: auto;
  }

  .main-nav.active {
    display: flex;
  }

  .header-buttons {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }
  
  .mobile-header-icons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    order: 2;
    margin-left: auto;
    margin-right: 0.5rem;
  }
  
  .mobile-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--color-white);
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-md);
    color: var(--color-primary);
    transition: all var(--transition-fast);
    flex-shrink: 0;
  }
  
  .mobile-icon-btn:hover,
  .mobile-icon-btn:focus {
    background: var(--color-primary);
    color: var(--color-white);
  }
}

/* ==========================================
   Additional styles for index-full.html
   ========================================== */
/* Hero section ko height deni zaruri hai */
.hero.hero-fullscreen {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

/* Wrapper jo saare slides ko hold karega */
.hero-slider-wrapper {
    position: absolute;
    inset: 0;           /* top:0; right:0; bottom:0; left:0; */
}

/* Har slide full area cover kare */
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.7s ease-in-out;
}

/* Sirf active slide visible */
.hero-slide.active {
    opacity: 1;
}

/* Background image full cover */
.hero-background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* Arrows */
.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}
 .slider-arrow:hover{
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
     outline: 3px solid #2d5a3d;
    outline-offset: 2px;
     transition: all 0.2s ease-in-out;
}

.slider-prev { left: 16px; }
.slider-next { right: 16px; }
.hero::before { display: none; }
        /* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 211;
}

.slider-dots .dot {
    position: relative;
    width: 44px;
    height: 44px;
    margin: 0 6px;
    background-color: transparent;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots .dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: #ffffff;
    border-radius: 50%;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.slider-dots .dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
}

.slider-dots .dot.active::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.slider-dots .dot.active::after {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1);
}

/* Hover effect for dots */
.slider-dots .dot:hover::before {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.2);
}

.slider-dots .dot:hover::after {
    opacity: 0.4;
}
.hero-fullscreen {
  position: relative;
  min-height: 100vh;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  background-color: var(--color-primary-dark);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(45, 90, 61, 0.85) 0%,
    rgba(45, 90, 61, 0.5) 50%,
    rgba(45, 90, 61, 0.2) 100%
  );
  z-index: 2;
}

.hero-content-overlay {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  align-items: center;
  min-height: 100vh;
}

.hero-content-overlay .container {
  max-width: 1100px;
  margin: 0 auto;
  margin-top: -80px;
  text-align: center;
}

.hero-fullscreen .hero-title {
  color: var(--color-white);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  margin-bottom: 1.5rem;
  font-size: 3.5rem;
  animation: fadeInUp 0.8s ease;
  text-align: center;
}

.hero-fullscreen .hero-subtitle {
  color: var(--color-white);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 2.5rem;
  font-size: 1.35rem;
  animation: fadeInUp 0.8s ease 0.2s both;
  text-align: center;
}

.hero-fullscreen .hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.8s ease 0.4s both;
  justify-content: center;
}

.hero-fullscreen .cta-secondary-white .phone-icon-inline {
  color: var(--color-white);
}

.hero-fullscreen .cta-secondary-white:hover .phone-icon-inline,
.hero-fullscreen .cta-secondary-white:focus .phone-icon-inline {
  color: var(--color-primary);
}

.hero-fullscreen .hero-trust-badges {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s both;
  justify-content: center;
}

.hero-fullscreen .trust-badge {
  color: var(--color-white);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}

.hero-fullscreen .badge-icon {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Tablet - Trust badges wrap and left-justify within centered container */
@media (max-width: 1150px) {
  .hero-fullscreen .hero-trust-badges {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    margin: 0 auto;
    width: fit-content;
    gap: 1rem;
  }
}

/* Mobile Responsive */
@media (max-width: 992px) {
  .hero-content-overlay .container {
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
  }
  
  .hero-fullscreen .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-fullscreen .hero-subtitle {
    font-size: 1.15rem;
  }
  
  .hero-fullscreen .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-fullscreen .hero-cta-group .cta-button {
    width: 100%;
    max-width: 320px;
  }
  
  .hero-overlay {
    background: linear-gradient(
      135deg,
      rgba(45, 90, 61, 0.85) 0%,
      rgba(45, 90, 61, 0.6) 50%,
      rgba(45, 90, 61, 0.4) 100%
    );
  }
}

@media (max-width: 767px) { 
    .quote-form iframe {
        height: 960px;
    }
    .hero.hero-fullscreen {min-height: calc(100vh - 130px); height: calc(100vh - 130px);}
    .hero-content-overlay {min-height: calc(100vh - 140px);}
    .hero-fullscreen .hero-subtitle { margin-bottom: 2rem;}
    .slider-dots {bottom: 10px;}
    .quote-info { text-align: center;}
    .footer-content {margin-bottom: 15px;}
    .footer-bottom { padding-top: var(--spacing-md);}
    .quote-intro-content { text-align: center;}
    .quote-form {padding: var(--spacing-lg) 14px;}
}
@media (max-width: 640px) {
    .slider-arrow { display: none; }
  .hero-fullscreen {
    min-height: 100vh;
  }
  
  .hero-fullscreen .hero-title {
    font-size: 2rem;
  }
  
  .hero-fullscreen .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-content-overlay {
    padding: var(--spacing-md) var(--container-padding);
  }
  
  .hero-fullscreen .hero-trust-badges {
    gap: 0.75rem;
      padding-bottom: 20px;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================
   INTERIOR PAGES STYLES
   ========================================== */

/* Interior Hero - Shorter single image hero (standalone, no .hero class) */
.hero-interior {
  position: relative;
  min-height: 420px;
  height: 50vh;
  max-height: 600px;
  background-color: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-interior .hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-interior .hero-background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-interior .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(45, 90, 61, 0.88) 0%,
    rgba(45, 90, 61, 0.75) 50%,
    rgba(45, 90, 61, 0.65) 100%
  );
  z-index: 2;
}

.hero-interior .hero-content-overlay {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8rem var(--container-padding) 3rem;
  text-align: center;
}

.hero-interior .hero-title {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
  animation: fadeInUp 0.8s ease both;
}

.hero-interior .hero-subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-white);
  margin-bottom: 2rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  line-height: 1.6;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-interior .hero-cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.4s both;
}

/* Tablet Responsive for Interior Hero */
@media (max-width: 992px) {
  .hero-interior {
    min-height: 380px;
    height: 45vh;
    max-height: 550px;
  }
  
  .hero-interior .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-interior .hero-subtitle {
    font-size: 1.15rem;
  }
  
  .hero-interior .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-interior .hero-cta-group .cta-button {
    width: 100%;
    max-width: 320px;
  }
}

/* Mobile Responsive for Interior Hero */
@media (max-width: 640px) {
  .hero-interior {
    min-height: 480px;
    height: 55vh;
    max-height: 650px;
  }
  
  .hero-interior .hero-title {
    font-size: 2rem;
  }
  
  .hero-interior .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-interior .hero-content-overlay {
    padding: 3rem var(--container-padding);
  }
}

/* ==========================================
   ALERT / NOTIFICATION BOXES
   ========================================== */
.alert-section {
  padding: var(--spacing-lg) 0;
  background-color: var(--color-off-white);
}

.alert-box {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-md);
  border-left: 5px solid var(--color-accent);
  max-width: 900px;
  margin: 0 auto;
}

.alert-box.alert-gold {
  background: linear-gradient(135deg, rgba(203, 180, 139, 0.08) 0%, rgba(255, 255, 255, 1) 100%);
  border-left-color: var(--color-accent);
}

.alert-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: var(--color-white);
  border-radius: 50%;
}

.alert-content {
  flex: 1;
}

.alert-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 0.75rem;
}

.alert-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-dark-gray);
  margin-bottom: 1rem;
}

.alert-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: all var(--transition-fast);
}

.alert-link:hover,
.alert-link:focus {
  color: var(--color-accent-dark);
  gap: 0.75rem;
}

/* Alert Box Responsive */
@media (max-width: 768px) {
  .alert-box {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
  
  .alert-icon {
    margin: 0 auto;
  }
  
  .alert-title {
    font-size: 1.35rem;
  }
  
  .alert-content p {
    font-size: 1rem;
  }
  
  .alert-link {
    justify-content: center;
  }
}

/* ==========================================
   TEAM SECTION - ABOUT PAGE
   ========================================== */
.team-section {
  padding: var(--spacing-xxl) 0;
  background-color: var(--color-off-white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
  align-items: start;
}

.team-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-medium);
}

.team-card:hover {
  box-shadow: var(--shadow-lg);
}

.team-card.bio-expanded {
  box-shadow: var(--shadow-lg);
}

.team-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-light-gray) 0%, var(--color-gray) 100%);
}

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

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

/* Placeholder info - remove once real images are added */
.image-placeholder-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(45, 90, 61, 0.9);
  color: var(--color-white);
  font-size: 0.875rem;
  padding: 0.75rem;
  text-align: center;
  font-weight: 500;
}

.team-card-info {
  padding: 1.5rem;
  text-align: center;
}

.team-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 0.25rem;
}

.team-title {
  font-size: 1rem;
  color: var(--color-accent-dark);
  font-weight: 500;
  margin-bottom: 1rem;
}

.team-bio-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.team-bio-toggle:hover,
.team-bio-toggle:focus {
  background: var(--color-primary);
  color: var(--color-white);
}

.team-bio-toggle[aria-expanded="true"] {
  background: var(--color-primary);
  color: var(--color-white);
}

.toggle-icon {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
}

.team-bio {
  padding: 1.5rem 1.5rem 1.5rem;
  border-top: 1px solid var(--color-gray);
  margin-top: 0;
  animation: bioExpand 0.3s ease;
}

.team-bio p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-dark-gray);
  margin-bottom: 1rem;
}

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

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

/* Team Section Responsive - Tablet */
@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    gap: 2rem;
  }
  
  .team-name {
    font-size: 1.35rem;
  }
}

/* Team Section Responsive - Mobile */
@media (max-width: 480px) {
  .team-section {
    padding: var(--spacing-xl) 0;
  }
  
  .team-card-info {
    padding: 1.25rem;
  }
  
  .team-bio {
    padding: 1.25rem 1.25rem 1.25rem;
  }
  
  .team-bio p {
    font-size: 0.9375rem;
  }
}

/* ==========================================
   CONTACT INFO SECTION - CONTACT PAGE
   ========================================== */
.contact-info-section {
  padding: var(--spacing-xxl) 0;
  background-color: var(--color-off-white);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: all var(--transition-medium);
  border: 1px solid transparent;
}

.contact-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--color-primary);
}

.contact-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-radius: 50%;
  margin-bottom: 1.5rem;
  color: var(--color-white);
  transition: transform var(--transition-medium);
}

.contact-card:hover .contact-card-icon {
  transform: scale(1.08);
}

.contact-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 0.5rem;
}

.contact-card-detail {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-dark-gray);
  margin-bottom: 0.25rem;
}

.contact-card-sub {
  font-size: 0.9375rem;
  color: var(--color-accent-dark);
  font-weight: 600;
}

/* Contact Cards Responsive - Tablet */
@media (max-width: 900px) {
  .contact-cards {
    grid-template-columns: 1fr;
    max-width: 400px;
    gap: 1.5rem;
  }
  
  .contact-card {
    padding: 2rem 1.5rem;
  }
}

/* Contact Cards Responsive - Mobile */
@media (max-width: 480px) {
  .contact-info-section {
    padding: var(--spacing-xl) 0;
  }
  
  .contact-card {
    padding: 1.75rem 1.25rem;
  }
  
  .contact-card-icon {
    width: 64px;
    height: 64px;
  }
  
  .contact-card-icon svg {
    width: 28px;
    height: 28px;
  }
}

/* ==========================================
   PAGE-SPECIFIC HERO IMAGE POSITIONING
   ========================================== */
/* Show left side of hero image on mobile for specific pages */
@media (max-width: 768px) {
  .disability-page .hero-interior .hero-background-image,
  .life-page .hero-interior .hero-background-image,
  .about-page .hero-interior .hero-background-image {
    object-position: left center;
  }
}

/* ==========================================
   LEGAL PAGES (Privacy Policy, Terms of Service)
   ========================================== */
.legal-content h3 {
  text-align: left;
  margin-top: 2rem;
}

.legal-content p {
  text-align: left;
}

.legal-content ul {
  list-style: disc;
  padding-left: 2rem;
  margin: 1rem 0 1.5rem;
}

.legal-content ul li {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-dark-gray);
  margin-bottom: 0.5rem;
}
