/* Responsive Layout Adjustments for Hero Section */

/* Improved responsive behavior for the hero section */
@media (max-width: 1200px) {
  .hero-container {
    gap: 30px;
  }
  
  .hero-content {
    max-width: 500px;
  }
  
  .hero-visual {
    padding: 25px 20px;
  }
  
  .infographic-icon {
    width: 65px;
    height: 65px;
  }
  
  .infographic-icon i {
    font-size: 26px;
  }
  
  .stat-number {
    font-size: 24px;
  }
}

@media (max-width: 992px) {
  .hero {
    padding: 30px 0 70px;
  }
  
  .hero-container {
    flex-direction: column;
    gap: 40px;
  }
  
  .hero-content, .hero-visual {
    max-width: 100%;
    width: 100%;
  }
  
  .hero-content {
    padding-right: 0;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-text {
    margin: 0 auto;
  }
  
  .infographic-container {
    max-width: 600px;
    margin: 0 auto 25px;
  }
  
  .hero-cta-container {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .stats-container {
    max-width: 600px;
    margin: 25px auto 0;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 25px 0 60px;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .infographic-container {
    flex-direction: column;
    padding: 20px 15px;
  }
  
  .infographic-step {
    margin: 15px 0;
  }
  
  .infographic-arrow {
    transform: rotate(90deg);
    margin: 10px 0;
    width: 30px;
    max-width: 30px;
  }
  
  .infographic-arrow::after {
    right: -6px;
    top: -6px;
    transform: rotate(90deg);
    transform-origin: center;
  }
  
  @keyframes drawArrow {
    0% {
      transform: scaleY(0) rotate(90deg);
    }
    100% {
      transform: scaleY(1) rotate(90deg);
    }
  }
  
  .infographic-arrow-1,
  .infographic-arrow-2,
  .infographic-arrow-3 {
    transform-origin: center;
  }
  
  .infographic-arrow-1 {
    animation: drawArrow 1.5s ease forwards;
    transform: scaleY(0) rotate(90deg);
  }
  
  .infographic-arrow-2 {
    animation: drawArrow 1.5s ease 0.5s forwards;
    transform: scaleY(0) rotate(90deg);
  }
  
  .infographic-arrow-3 {
    animation: drawArrow 1.5s ease 1s forwards;
    transform: scaleY(0) rotate(90deg);
  }
  
  .trust-indicators {
    flex-direction: column;
    align-items: center;
  }
  
  .trust-item {
    margin: 5px 0;
  }
  
  .stats-container {
    flex-wrap: wrap;
  }
  
  .stat-item {
    flex: 0 0 50%;
    margin-bottom: 15px;
  }
  
  .stat-item:nth-child(2n)::after {
    display: none;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 20px 0 50px;
  }
  
  .hero-title {
    font-size: 1.9rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-visual {
    padding: 20px 15px;
  }
  
  .infographic-icon {
    width: 60px;
    height: 60px;
  }
  
  .infographic-icon i {
    font-size: 24px;
  }
  
  .hero-cta-button {
    font-size: 16px;
    padding: 15px 20px;
  }
  
  .hero-cta-button i {
    font-size: 16px;
  }
  
  .stat-item {
    flex: 0 0 100%;
  }
  
  .stat-item::after {
    display: none;
  }
  
  .stat-number {
    font-size: 22px;
  }
  
  .stat-label {
    font-size: 12px;
  }
}
