/* Specific styles for the home page */

/* New hero section styles */
.hero-headline-white {
  color: #ffffff !important;
  background: none !important;
  -webkit-text-fill-color: initial !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subheadline-light {
  color: rgba(255, 255, 255, 0.9) !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.subheadline {
  color: #94a3b8;
  font-size: 1.25rem;
  font-weight: 400;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 30px;
  max-width: 700px;
  line-height: 1.6;
}

.cta-container-centered {
  display: flex;
  justify-content: center;
  align-items: center;
}

.trust-indicators-white {
  border-top-color: rgba(255, 255, 255, 0.2) !important;
}

.trust-indicators-white .trust-item {
  color: rgba(255, 255, 255, 0.9) !important;
}

.primary-cta {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: white !important;
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.3);
}

.primary-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
  background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
}

.secondary-cta {
  background: transparent;
  color: #f97316 !important;
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  border: 2px solid #f97316;
  margin-left: 16px;
}

.secondary-cta:hover {
  background: rgba(249, 115, 22, 0.1);
  transform: translateY(-2px);
}

.trust-indicators {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 60px;
  padding: 20px;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  flex-wrap: wrap;
}

.trust-item {
  color: #94a3b8;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 768px) {
  .secondary-cta {
    margin-left: 0;
    margin-top: 12px;
  }
  
  .trust-indicators {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
}

/* Success Stories Section */
.success-stories-section {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 80px 0;
  margin-top: 60px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  color: #1e293b;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-subtitle {
  text-align: center;
  color: #64748b;
  font-size: 1.2rem;
  margin-bottom: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
  align-items: stretch;
}

.case-study-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.3s ease;
  position: relative;
  min-height: fit-content;
  height: auto;
  display: flex;
  flex-direction: column;
}

.case-study-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(249, 115, 22, 0.15);
}

.case-study-card.featured {
  border: 2px solid #f97316;
  grid-column: span 2;
}

@media (max-width: 1100px) {
  .case-study-card.featured {
    grid-column: span 1;
  }
}

.case-study-badge {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  display: inline-block;
}

.case-study-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.case-study-quote {
  color: #1e293b;
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  padding-left: 2rem;
  position: relative;
}

.case-study-quote::before {
  content: '"';
  font-size: 5rem; /* Increased from 4rem */
  color: #f97316;
  position: absolute;
  left: -10px; /* Adjusted positioning */
  top: -15px;
  font-family: Georgia, serif;
  opacity: 0.15; /* Reduced opacity for better readability */
}

.case-study-author {
  color: #475569; /* Darker for better contrast */
  font-size: 1rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}

.case-study-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem; /* Increased from 16px */
  padding: 2rem 0 0 0; /* Increased padding */
  margin-top: 1.5rem;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: #f97316;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 500;
}

.case-study-highlight {
  background: rgba(249, 115, 22, 0.08);
  border-left: 4px solid #f97316;
  padding: 12px 16px;
  border-radius: 4px;
  font-weight: 600;
  color: #1e293b;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .case-studies-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .case-study-card {
    margin: 0 0 1.5rem 0;
    padding: 1.75rem; /* Reduced padding for mobile */
  }

  .case-study-card.featured {
    grid-column: span 1;
  }

  /* Prevent quote overflow */
  .case-study-quote {
    font-size: 1.125rem;
    line-height: 1.6;
    padding-left: 1rem;
  }

  .case-study-quote::before {
    font-size: 3rem;
    left: -10px;
    top: -5px;
  }

  /* Stack stats vertically on mobile */
  .case-study-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: left;
    padding-left: 1rem;
  }

  .stat {
    border-left: 3px solid #ea580c;
    padding-left: 1rem;
    text-align: left;
  }

  .section-title {
    font-size: 2rem;
  }

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

/* Trust Footer Styles */
.trust-footer {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: white;
  padding: 60px 0 40px 0;
  margin-top: 80px;
}

.footer-title-white {
  text-align: center;
  color: white !important;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 40px;
}

.footer-text-white {
  color: white !important;
}

.trust-badges-section h3 {
  text-align: center;
  color: white;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 40px;
}

.trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.trust-badge {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 12px;
  transition: transform 0.2s ease;
  border: 1px solid rgba(249, 115, 22, 0.3);
}

.trust-badge-white {
  background: white !important;
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
}

.trust-badge-white .badge-text {
  color: #1e293b !important;
}

.trust-badge-white .badge-text strong {
  color: #f97316 !important;
}

.trust-badge-white:hover {
  transform: translateY(-2px);
  background: #f8fafc !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.trust-badge:hover {
  transform: translateY(-2px);
  background: rgba(249, 115, 22, 0.1);
}

.badge-icon {
  font-size: 2rem;
  margin-right: 1rem;
  min-width: 3rem; /* Prevent compression */
  flex-shrink: 0; /* Don't shrink icon */
  text-align: center;
}

.badge-text {
  color: white;
  font-size: 0.95rem;
  line-height: 1.4;
}

.badge-text strong {
  color: #f97316;
  font-size: 1.05rem;
}

.social-proof-testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mini-testimonial {
  text-align: center;
  padding: 20px;
}

.mini-quote {
  font-style: italic;
  color: #e2e8f0;
  font-size: 1rem;
  margin-bottom: 12px;
  line-height: 1.5;
}

.mini-author {
  color: #f97316;
  font-size: 0.9rem;
  font-weight: 600;
}

.location-badge {
  text-align: center;
  background: rgba(249, 115, 22, 0.1);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid rgba(249, 115, 22, 0.3);
  color: #e2e8f0;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .trust-badges-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .social-proof-testimonials {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .trust-badges-section h3 {
    font-size: 1.6rem;
  }

  .badge-icon {
    font-size: 1.75rem;
    min-width: 2.5rem;
  }
}

.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 5vh;
  padding: 0 20px 40px 20px;
  position: relative;
}

.hero-subheading {
  color: #7dd3fc;
  font-size: 1.4rem;
  font-weight: 500;
  text-align: center;
  margin-top: 20px;
  letter-spacing: -0.01em;
  max-width: 800px;
}

.hero-cta {
  margin-top: 46px;
  display: flex;
  gap: 20px;
}

.hero-cta-alt {
  display: inline-block;
  font-size: 1.1rem;
  padding: 8px 16px;
  background-color: rgba(125, 211, 252, 0.15); 
  color: #7dd3fc;
  border-radius: 6px;
  text-decoration: none;
  border: 1px solid #7dd3fc;
  transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.hero-cta-alt:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(125, 211, 252, 0.2);
  background-color: rgba(125, 211, 252, 0.25);
}

.features-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0 auto;
  max-width: 1100px;
  padding: 20px 6vw 70px 6vw;
}

.feature-card {
  background: rgba(30,41,59,0.90);
  border-radius: 16px;
  box-shadow: 0 2px 24px 0 rgba(20,184,166,0.07);
  padding: 24px 18px;
  color: #e6f7f7;
  font-size: 1.05rem;
  text-align: center;
  transition: transform 0.18s, box-shadow 0.18s;
  border: 1.5px solid #14b8a6;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 32px 0 rgba(20,184,166,0.18);
  border-color: #06b6d4;
}

.feature-title {
  color: #14b8a6;
  font-size: 1.18rem;
  font-weight: 600;
  margin-top: 8px;
  margin-bottom: 12px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  padding: 10px;
  background-color: rgba(20,184,166,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

@media (max-width: 900px) {
  .features-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

.quote {
  color: #ffffff;
  font-size: 1.3rem;
  font-style: italic;
  text-align: center;
  max-width: 800px;
  margin: 20px auto 10px auto;
}

.quote-author {
  color: #7dd3fc;
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 30px;
}

.cta-container {
  margin-top: 30px;
  margin-bottom: 40px;
  text-align: center;
}

@media (max-width: 600px) {
  .hero-subheading {
    font-size: 1.1rem;
    padding: 0 10px;
  }
  .hero-cta {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
  .features-container {
    grid-template-columns: 1fr;
  }
}
