/* ============================================
   CSS Variables & Design Tokens
   ============================================ */

:root {
  /* Colors */
  --primary-color: #0090c2;
  --primary-dark: #007399;
  --primary-light: #00a8e0;
  --secondary-color: #10b981;
  --success-color: #10b981;
  --success-dark: #059669;
  --danger-color: #ef4444;
  --warning-color: #f59e0b;
  --info-color: #06b6d4;

  /* Text Colors */
  --text-primary: #1f2937;
  --text-secondary: #4b5563;
  --text-muted: #6b7280;
  --text-light: #9ca3af;

  /* Background Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f9fafb;
  --bg-tertiary: #f3f4f6;
  --card-bg: #ffffff;

  /* Border & Divider */
  --border-color: #e5e7eb;
  --divider-color: #d1d5db;

  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;

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

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ============================================
   Global Styles
   ============================================ */

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.6;
}

/* ============================================
   Typography
   ============================================ */

.page-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
}

.page-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--spacing-xl);
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--spacing-lg);
}

/* ============================================
   Buttons
   ============================================ */

.btn-cta {
  background: #f89725;
  color: white;
  border: none;
  padding: var(--spacing-md) var(--spacing-xl);
  font-weight: 600;
  border-radius: 8px;
  transition: all var(--transition-base);
  box-shadow: 0 4px 12px rgba(248, 151, 37, 0.3);
}

.btn-cta:hover {
  background: #d67a1a;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(248, 151, 37, 0.4);
  color: white;
}

.btn-outline-primary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
  padding: var(--spacing-md) var(--spacing-xl);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

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

.btn-outline-light {
  border: 2px solid white;
  color: white;
  background: transparent;
  padding: var(--spacing-md) var(--spacing-xl);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

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

/* ============================================
   Forms
   ============================================ */

.form-label {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
  display: block;
}

.form-control,
.form-select {
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  font-size: 1rem;
  transition: all var(--transition-base);
  width: 100%;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 144, 194, 0.1);
  outline: none;
}

.form-control.is-invalid {
  border-color: var(--danger-color);
}

.invalid-feedback {
  color: var(--danger-color);
  font-size: 0.875rem;
  margin-top: var(--spacing-xs);
  display: none;
}

.form-control.is-invalid ~ .invalid-feedback {
  display: block;
}

.form-group {
  margin-bottom: var(--spacing-lg);
}

/* ============================================
   Page Hero Sections
   ============================================ */

.page-hero {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  padding: var(--spacing-3xl) 0 var(--spacing-2xl);
  margin-bottom: var(--spacing-2xl);
}

.page-hero .page-title {
  color: white;
}

.page-hero .page-subtitle {
  color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   Home Page Styles
   ============================================ */

.home-page {
  overflow-x: hidden;
}

.home-page .hero-section {
  background: #ffffff !important;
  background-color: #ffffff !important;
}

.hero-section {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #1f2937;
  padding: 6rem 0;
  margin-bottom: 0;
  position: relative;
}

section.hero-section {
  background: #ffffff !important;
  background-color: #ffffff !important;
}

.hero-section::before {
  display: none;
}

.hero-content-wrapper {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  padding: 4rem 3rem;
  margin: -6rem -15px -6rem 0;
  height: calc(100% + 12rem);
  min-height: calc(100vh - 12rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hero-content-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}


.hero-title {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: var(--spacing-lg);
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
}

.hero-subtitle {
  font-size: 1.5rem;
  line-height: 1.6;
  margin-bottom: var(--spacing-xl);
  color: rgba(255, 255, 255, 0.95);
  position: relative;
  z-index: 2;
}

.hero-cta {
  margin-bottom: var(--spacing-2xl);
  position: relative;
  z-index: 2;
}

.hero-cta .btn {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-cta .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hero-stats {
  display: flex;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}


.stat-item {
  text-align: center;
  flex: 1;
  min-width: 0;
  padding: 0.5rem;
}

.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-label {
  font-size: 1rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.stat-description {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
}

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

.hero-image img {
  background: #ffffff;
  border: none;
  border-radius: 20px;
  box-shadow: none;
  transition: all 0.3s ease;
}

.hero-image img:hover {
  transform: scale(1.02);
}

/* Benefits Section */
.benefits-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
}

.benefits-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(59, 130, 246, 0.1)"/></pattern></defs><rect width="100" height="100" fill="url("#dots#dots")"/></svg>');
  opacity: 0.5;
  pointer-events: none;
}

.section-header {
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.benefit-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  text-align: center;
  height: 100%;
  transition: all 0.4s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.1);
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.benefit-card:hover::before {
  transform: scaleX(1);
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color);
}

.benefit-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  box-shadow: 0 8px 25px rgba(0, 144, 194, 0.3);
  transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(0, 144, 194, 0.4);
}

/* ============================================
   FAQ Accordion Styles
   ============================================ */
.accordion-button {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-weight: 600;
  padding: 1.25rem;
  transition: all var(--transition-base);
}

.accordion-button:not(.collapsed) {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(0, 144, 194, 0.25);
  border-color: var(--primary-color);
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-item {
  border: 1px solid var(--border-color);
  margin-bottom: 0.5rem;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.accordion-item:first-of-type {
  border-top-left-radius: var(--radius-md);
  border-top-right-radius: var(--radius-md);
}

.accordion-item:last-of-type {
  border-bottom-left-radius: var(--radius-md);
  border-bottom-right-radius: var(--radius-md);
}

.accordion-body {
  padding: 1.25rem;
  background-color: var(--bg-primary);
  color: var(--text-secondary);
  line-height: 1.6;
}

.accordion-body p {
  margin-bottom: 1rem;
}

.accordion-body p:last-child {
  margin-bottom: 0;
}

/* Ensure accordion is visible and functional */
.accordion {
  margin-bottom: 2rem;
}

.accordion-collapse {
  transition: height 0.35s ease;
}

.accordion-collapse.show {
  display: block !important;
}

.accordion-collapse:not(.show) {
  display: none !important;
}

/* Debug styles to ensure elements are visible */
.accordion-button {
  cursor: pointer;
  display: block;
  width: 100%;
  text-align: left;
}

.accordion-button:hover {
  background-color: var(--bg-secondary);
}

.accordion-button:not(.collapsed):hover {
  background-color: var(--primary-dark);
}

/* Home Page FAQ Accordion Specific Styles */
.faq-preview-section .accordion {
  margin-bottom: 1.5rem;
}

.faq-preview-section .accordion-item {
  margin-bottom: 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.faq-preview-section .accordion-button {
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  background-color: var(--bg-primary);
  border: none;
  color: var(--text-primary);
}

.faq-preview-section .accordion-button:not(.collapsed) {
  background-color: var(--primary-color);
  color: white;
  box-shadow: none;
}

.faq-preview-section .accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 144, 194, 0.25);
  border-color: var(--primary-color);
}

.faq-preview-section .accordion-body {
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.faq-preview-section .accordion-body p {
  margin-bottom: 0.75rem;
}

.faq-preview-section .accordion-body p:last-child {
  margin-bottom: 0;
}

/* ============================================
   Mobile Card Sliders
   ============================================ */
@media (max-width: 768px) {
  .mobile-slider-container {
    position: relative;
    overflow: hidden;
    margin: 0 -15px;
    padding: 0 15px;
  }
  
  .mobile-slider {
    display: flex;
    transition: transform 0.3s ease;
    gap: 1rem;
  }
  
  .mobile-slider .col-md-6,
  .mobile-slider .col-lg-3,
  .mobile-slider .col-lg-4 {
    flex: 0 0 280px;
    max-width: 280px;
    margin-bottom: 0;
  }
  
  .mobile-slider .benefit-card,
  .mobile-slider .step-card,
  .mobile-slider .blog-preview-card {
    height: 100%;
    margin-bottom: 0;
  }
  
  .slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1.5rem;
    gap: 1rem;
  }
  
  .slider-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    font-size: 1.2rem;
  }
  
  .slider-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
  }
  
  .slider-btn:disabled {
    background: var(--text-light);
    cursor: not-allowed;
    transform: none;
  }
  
  .slider-dots {
    display: flex;
    gap: 0.5rem;
  }
  
  .slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: all var(--transition-base);
  }
  
  .slider-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
  }
  
  /* Hide desktop grid on mobile */
  .benefits-section .row.g-4,
  .how-it-works-section .row.g-4,
  .blog-preview-section .row.g-4 {
    display: none;
  }
  
  /* Show mobile slider */
  .mobile-slider-container {
    display: block;
  }
}

@media (min-width: 769px) {
  .mobile-slider-container {
    display: none;
  }
}

/* Extra padding for CTA sections */
.cta-with-extra-padding {
  margin-bottom: 40px !important;
  padding-bottom: 5rem !important;
}

@media (max-width: 768px) {
  .cta-with-extra-padding {
    margin-bottom: 40px !important;
    padding-bottom: 3rem !important;
  }
}

@media (max-width: 575px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.85rem;
    margin-bottom: 40px;
  }
}

/* ============================================
   Contact Page Styles
   ============================================ */

.contact-page {
  background: #f8f9fa;
}

.page-hero {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  padding: 6rem 0 4rem;
  text-align: center;
}

.page-title {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  color: white;
}

.page-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 0;
}

.main-content-section {
  padding: 4rem 0;
  background: #f8f9fa;
}

.cards-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-method-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
  height: auto;
}

.contact-method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.contact-method-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 1.5rem;
}

.contact-method-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.contact-method-text {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.5;
  font-size: 0.9rem;
}

.consultation-section {
  padding: 4rem 0;
  background: #f8f9fa;
}

.consultation-card {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
}

.consultation-header {
  margin-bottom: 2.5rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

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

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

.form-control,
.form-select {
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 144, 194, 0.1);
  outline: none;
}

.captcha-container {
  background: #f8f9fa;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  padding: 1.5rem;
}

.captcha-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.captcha-instructions {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
  background: rgba(0, 144, 194, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  border-left: 3px solid var(--primary-color);
}

.captcha-question {
  display: flex;
  align-items: center;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1.1rem;
}

.captcha-options {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}

.captcha-option {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: grab;
  transition: all 0.3s ease;
  user-select: none;
  min-width: 50px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.captcha-option:hover {
  border-color: var(--primary-color);
  background: rgba(0, 144, 194, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.captcha-option:active {
  cursor: grabbing;
  transform: scale(0.95);
}

.captcha-option.dragging {
  opacity: 0.5;
  transform: rotate(5deg);
}

.captcha-drop-zone {
  background: white;
  border: 2px dashed #e5e7eb;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.captcha-drop-zone.drag-over {
  border-color: var(--primary-color);
  background: rgba(0, 144, 194, 0.05);
  border-style: solid;
}

.captcha-drop-zone.has-answer {
  border-color: var(--success-color);
  background: rgba(40, 167, 69, 0.05);
  border-style: solid;
}

.drop-zone-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.desktop-only {
  display: inline;
}

.mobile-only {
  display: none;
}

.desktop-text {
  display: inline;
}

.mobile-text {
  display: none;
}

@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }
  
  .mobile-only {
    display: inline;
  }
  
  .desktop-text {
    display: none;
  }
  
  .mobile-text {
    display: inline;
  }
}

.captcha-drop-zone.has-answer .drop-zone-text {
  color: var(--success-color);
  font-weight: 600;
}

.captcha-answer-display {
  background: var(--success-color);
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

/* Mobile Captcha Modal */
.mobile-captcha-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-captcha-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
}

.mobile-captcha-content {
  position: relative;
  background: white;
  border-radius: 15px;
  padding: 2rem;
  margin: 1rem;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.mobile-captcha-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.mobile-captcha-header h5 {
  margin: 0;
  color: var(--text-primary);
  font-weight: 600;
}

.mobile-captcha-question {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 3px solid var(--primary-color);
}

.mobile-captcha-question span {
  font-weight: 600;
  color: var(--text-primary);
}

.mobile-captcha-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.mobile-option-btn {
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.mobile-option-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 144, 194, 0.3);
}

.btn-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #6c757d;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.btn-close:hover {
  background: #f8f9fa;
  color: var(--text-primary);
}

.btn-close::before {
  content: '×';
  font-size: 1.5rem;
  line-height: 1;
}

.btn-outline-secondary {
  border: 1px solid #6c757d;
  color: #6c757d;
  background: transparent;
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
  background: #6c757d;
  color: white;
  border-color: #6c757d;
}

.resources-section {
  padding: 4rem 0;
  background: white;
}

.resource-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
  height: auto;
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.resource-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 1.25rem;
}

.resource-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.resource-text {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.5;
  font-size: 0.9rem;
}

.cta-section {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: white;
}

.cta-text {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 768px) {
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}


/* ============================================
   About Page Styles
   ============================================ */

.about-page {
  background: #f8f9fa;
}

.mission-section {
  padding: 4rem 0;
  background: white;
}

.mission-card {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
}

.mission-header {
  margin-bottom: 2rem;
}

.mission-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.founder-section {
  padding: 4rem 0;
  background: #f8f9fa;
}

.founder-content {
  padding-right: 2rem;
}

.founder-name {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.founder-title {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-weight: 600;
}

.founder-story p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.founder-quote {
  background: rgba(0, 144, 194, 0.1);
  border-left: 4px solid var(--primary-color);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 0 8px 8px 0;
}

.founder-quote p {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.founder-quote cite {
  font-weight: 600;
  color: var(--primary-color);
  font-style: normal;
}

.founder-image {
  text-align: center;
}

.founder-placeholder {
  background: white;
  border: 2px dashed #e5e7eb;
  border-radius: 15px;
  padding: 4rem 2rem;
  color: var(--text-secondary);
}

.founder-placeholder i {
  font-size: 4rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.founder-placeholder p {
  font-size: 1.1rem;
  font-weight: 600;
}

.offerings-section {
  padding: 4rem 0;
  background: white;
}

.offerings-card {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
}

.offerings-header {
  margin-bottom: 2.5rem;
}

.offering-item {
  text-align: center;
  padding: 2rem;
  background: #f8f9fa;
  border-radius: 15px;
  transition: all 0.3s ease;
  height: 100%;
}

.offering-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.offering-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
}

.offering-item h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.offering-item p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.support-note {
  background: rgba(0, 144, 194, 0.05);
  border: 1px solid rgba(0, 144, 194, 0.2);
  border-radius: 10px;
  padding: 1.5rem;
  margin-top: 2rem;
}

.support-note p {
  margin: 0;
  color: var(--text-primary);
  line-height: 1.6;
}

.contact-info-section {
  padding: 4rem 0;
  background: #f8f9fa;
}

.contact-info-card {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
}

.contact-info-header {
  margin-bottom: 2.5rem;
}

.contact-method {
  text-align: center;
  padding: 2rem;
  background: #f8f9fa;
  border-radius: 15px;
  transition: all 0.3s ease;
  height: 100%;
}

.contact-method:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.contact-method-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 1.5rem;
}

.contact-method h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.contact-method p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

/* ============================================
   Interactive Map Styles
   ============================================ */

.interactive-map-container {
    position: relative;
    background: #f8f9fa;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.interactive-us-map {
    width: 100%;
    height: auto;
    cursor: pointer;
    border-radius: 10px;
    min-height: 300px;
}

.interactive-us-map path {
    fill: #0090c2;
    stroke: #ffffff;
    stroke-width: 1.5;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.interactive-us-map a:hover path {
    fill: #f59e0b;
    stroke: #d97706;
    stroke-width: 2;
    filter: drop-shadow(0 4px 8px rgba(245, 158, 11, 0.3));
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content-wrapper {
    margin: -6rem 0 -6rem 0;
    padding: 3rem 2rem;
    height: calc(100% + 12rem);
    min-height: calc(100vh - 12rem);
  }
  
  .main-content-section .row {
    flex-direction: column;
  }
  
  .cards-stack {
    margin-top: 2rem;
  }
  
  .contact-method-card,
  .resource-card {
    margin-bottom: 1rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .section-title {
    font-size: 2.25rem;
  }
  
  
  .hero-stats {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  
  .stat-item {
    padding: var(--spacing-sm);
  }
  
  .stat-number {
    font-size: 1.25rem;
  }
  
  .stat-label {
    font-size: 0.9rem;
  }
  
  .stat-description {
    font-size: 0.8rem;
  }
}

.benefit-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
}

.benefit-text {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* How It Works Section */
.how-it-works-section {
  padding: var(--spacing-3xl) 0;
}

.step-card {
  background: var(--bg-secondary);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  text-align: center;
  height: 100%;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.step-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.step-card:hover::before {
  transform: scaleX(1);
}

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

.step-number {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--spacing-lg);
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 800;
  color: white;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
}

.step-text {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* State Search CTA */
.state-search-cta {
  padding: var(--spacing-3xl) 0;
  background: var(--bg-secondary);
}

.state-search-cta .cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: var(--spacing-lg);
  color: var(--text-primary);
}

.state-search-cta .cta-text {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xl);
  line-height: 1.6;
}

.state-map-preview img {
  border: 3px solid var(--border-color);
}

/* Testimonials Section */
.testimonials-section {
  padding: var(--spacing-3xl) 0;
}

.testimonial-card {
  background: white;
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  height: 100%;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  border-top: 4px solid var(--primary-color);
}

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

.parent-testimonial {
  border-left: 4px solid var(--primary-color);
  background: linear-gradient(135deg, rgba(0, 144, 194, 0.05), rgba(0, 144, 194, 0.02));
}

.parent-testimonial .testimonial-author {
  color: var(--primary-color);
}

.parent-testimonial .testimonial-author strong {
  color: var(--primary-dark);
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 1.25rem;
  margin-bottom: var(--spacing-md);
}

.testimonial-text {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-lg);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.testimonial-author strong {
  color: var(--text-primary);
  font-size: 1.125rem;
}

.testimonial-author span {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Blog Preview Section */
.blog-preview-section {
  padding: var(--spacing-3xl) 0;
  background: var(--bg-secondary);
}

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

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

.blog-preview-image {
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

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

.blog-preview-card:hover .blog-preview-image img {
  transform: scale(1.1);
}

.blog-preview-content {
  padding: var(--spacing-lg);
}

.blog-preview-meta {
  margin-bottom: var(--spacing-md);
}

.blog-preview-date {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.blog-preview-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
  line-height: 1.3;
}

.blog-preview-excerpt {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--spacing-md);
}

.blog-preview-link {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-base);
  display: inline-flex;
  align-items: center;
}

.blog-preview-link:hover {
  color: var(--primary-dark);
  gap: var(--spacing-sm);
}

/* FAQ Preview Section */
.faq-preview-section {
  padding: var(--spacing-3xl) 0;
}

.faq-preview-list {
  margin-bottom: var(--spacing-xl);
}

.faq-preview-item {
  display: flex;
  align-items: center;
  padding: var(--spacing-md);
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-sm);
  font-size: 1.125rem;
  color: var(--text-primary);
  transition: all var(--transition-base);
}

.faq-preview-item:hover {
  background: white;
  box-shadow: var(--shadow-md);
  transform: translateX(8px);
}

.faq-image img {
  border: 3px solid var(--border-color);
}

/* Final CTA Section */
.final-cta-section {
  padding: var(--spacing-3xl) 0;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
}

.final-cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.final-cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: var(--spacing-lg);
  color: white;
}

.final-cta-text {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-xl);
  color: rgba(255, 255, 255, 0.95);
}

.final-cta-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   Contact Page Styles
   ============================================ */

.contact-methods-section {
  padding: var(--spacing-2xl) 0;
}

.contact-method-card {
  background: white;
  padding: var(--spacing-2xl);
  border-radius: var(--radius-lg);
  text-align: center;
  height: 100%;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  border-top: 4px solid var(--primary-color);
}

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

.contact-method-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-lg);
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
}

.contact-method-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
}

.contact-method-text {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-lg);
  line-height: 1.6;
}

/* Consultation Section */
.consultation-section {
  padding: var(--spacing-2xl) 0;
  background: var(--bg-secondary);
}

.consultation-card {
  background: white;
  padding: var(--spacing-2xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.consultation-header {
  margin-bottom: var(--spacing-xl);
}

.consultation-form {
  /* Form styles already defined in global forms section */
}

/* Resources Section */
.resources-section {
  padding: var(--spacing-2xl) 0;
}

.resource-card {
  background: white;
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  text-align: center;
  height: 100%;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

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

.resource-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto var(--spacing-lg);
  background: var(--bg-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--primary-color);
}

.resource-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
}

.resource-text {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-lg);
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  padding: var(--spacing-3xl) 0;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: var(--spacing-lg);
  color: white;
}

.cta-text {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-xl);
  color: rgba(255, 255, 255, 0.95);
}

/* ============================================
   Blog Styles
   ============================================ */

.blog-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.blog-card.featured {
  border: 2px solid var(--primary-color);
}

.blog-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.blog-content {
  padding: var(--spacing-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-meta {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.blog-date::before {
  content: "📅 ";
}

.blog-category::before {
  content: "🏷️ ";
}

.blog-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  line-height: 1.3;
}

.blog-title a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-title a:hover {
  color: var(--primary-color);
}

.blog-excerpt {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
  flex: 1;
  line-height: 1.6;
}

/* Article Styles */
.article-header {
  border-bottom: 2px solid var(--border-color);
  padding-bottom: var(--spacing-lg);
}

.article-meta {
  display: flex;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.article-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
}

.article-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.article-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-primary);
}

.article-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-lg);
  color: var(--text-primary);
}

.article-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
}

.article-content p {
  margin-bottom: var(--spacing-md);
}

.article-content ul,
.article-content ol {
  margin-bottom: var(--spacing-md);
  padding-left: var(--spacing-xl);
}

.article-content li {
  margin-bottom: var(--spacing-sm);
}

.feature-list,
.connection-points {
  margin: var(--spacing-lg) 0;
}

.feature-item,
.connection-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  padding: var(--spacing-md);
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-sm);
}

.feature-item i,
.connection-item i {
  font-size: 1.25rem;
  margin-top: 2px;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
  margin: var(--spacing-lg) 0;
}

.tip-card {
  padding: var(--spacing-lg);
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--primary-color);
  transition: all 0.3s ease;
}

.tip-card:hover {
  transform: translateX(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tip-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  color: var(--primary-color);
}

.related-article {
  transition: transform 0.3s ease;
}

.related-article:hover {
  transform: translateY(-4px);
}

.related-article img {
  transition: transform 0.3s ease;
}

.related-article:hover img {
  transform: scale(1.05);
}

.related-article h4 a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.related-article h4 a:hover {
  color: var(--primary-color);
}

.newsletter-form {
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   State Search Styles
   ============================================ */

.us-map-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: var(--spacing-lg);
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.us-map {
  width: 100%;
  height: auto;
  cursor: pointer;
}

.state-area {
  fill: var(--bg-secondary);
  stroke: var(--border-color);
  stroke-width: 1;
  transition: all 0.3s ease;
  cursor: pointer;
}

.state-area:hover {
  fill: var(--primary-color);
  stroke: var(--primary-dark);
  stroke-width: 2;
  filter: brightness(1.1);
}

.state-area.active {
  fill: var(--success-color);
  stroke: var(--success-dark);
  stroke-width: 2;
}

.state-tooltip {
  position: absolute;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  pointer-events: none;
  z-index: 1000;
  display: none;
  white-space: nowrap;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.state-flag-card {
  transition: all 0.3s ease;
  border: none;
  height: 100%;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.state-flag-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.state-flag {
  height: 140px;
  object-fit: cover;
  width: 100%;
}

.search-box {
  max-width: 500px;
  margin: 0 auto var(--spacing-xl);
}

.search-box .input-group {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.search-box .form-control {
  border: 2px solid var(--border-color);
  padding: var(--spacing-md) var(--spacing-lg);
  font-size: 1rem;
  border-right: none;
}

.search-box .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: none;
}

.search-box .btn {
  border: 2px solid var(--border-color);
  border-left: none;
  padding: var(--spacing-md) var(--spacing-lg);
}

.view-toggle {
  margin-bottom: var(--spacing-xl);
  display: flex;
  justify-content: center;
  gap: var(--spacing-sm);
}

.view-toggle .btn {
  padding: var(--spacing-sm) var(--spacing-lg);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.view-toggle .btn i {
  margin-right: var(--spacing-xs);
}

/* ============================================
   Responsive Adjustments
   ============================================ */

@media (max-width: 768px) {
  .article-title {
    font-size: 2rem;
  }

  .article-subtitle {
    font-size: 1.1rem;
  }

  .article-content {
    font-size: 1rem;
  }

  .article-content h2 {
    font-size: 1.75rem;
  }

  .article-content h3 {
    font-size: 1.25rem;
  }

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

  .us-map-container {
    padding: var(--spacing-md);
  }

  .view-toggle {
    flex-direction: column;
  }

  .view-toggle .btn {
    width: 100%;
  }
}
