@media (max-width: 768px) {
    .hero-long {
        padding: 100px 0;
    }
    .hero-content-long h1 {
        font-size: 3rem;
    }
    .hero-content-long p {
        font-size: 1.15rem;
    }
}

@media (max-width: 480px) {
    .hero-long {
        padding: 80px 0;
    }
    .hero-content-long h1 {
        font-size: 2.5rem;
    }
    .hero-content-long p {
        font-size: 1.1rem;
    }
}
@media (max-width: 600px) {
    .long-intro {
        font-size: 1rem;
        margin-bottom: 1.2rem;
        margin-top: 0.5rem;
    }
}

@media (max-width: 900px) {
    .why-choose-section .carousel {
        max-width: 100%;
        min-width: 0;
    }
    .why-choose-section .carousel-card {
        max-width: 100%;
        min-width: 0;
    }
}

@media (max-width: 1200px) {
    .long-services-row {
      justify-content: center;
      flex-wrap: nowrap;
      gap: 1.5rem;
    }
    .long-services-row .long-service-block {
      flex: 0 1 32%;
      max-width: 32%;
      margin-bottom: 1.5rem;
    }
    .long-services-row-center {
      justify-content: center;
      flex-wrap: nowrap;
      gap: 1.5rem;
    }
    .long-services-row-center .long-service-block {
      flex: 0 1 40%;
      max-width: 40%;
      margin-bottom: 1.5rem;
    }
  }
  
  @media (max-width: 900px) {
    .long-services-row,
    .long-services-row-center {
      flex-direction: column;
      align-items: center;
      flex-wrap: nowrap;
      gap: 1.5rem;
      width: 100%;
      max-width: 540px;
      margin: 0 auto;
    }
    .long-services-row .long-service-block,
    .long-services-row-center .long-service-block {
      flex: 1 1 auto;
      width: 100%;
      max-width: 100%;
      margin-bottom: 0;
    }
    .long-service-block {
      min-height: 340px;
    }
    .long-service-img {
      height: 300px;
    }
  }
  
  @media (max-width: 600px) {
    .long-services-section {
      padding: 2.5rem 0 2rem 0;
    }
    .long-services-grid {
      gap: 0.7rem;
    }
    .long-service-block {
      min-height: 0;
    }
  }


  @media (max-width: 900px) {
    .long-tips-timeline {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0;
        margin-top: 2rem;
        flex-wrap: wrap;
        overflow-x: visible;
        position: relative;
        padding: 0;
    }
    .long-tips-timeline .process-step {
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
        min-width: 0;
        width: 100%;
        flex-direction: column;
        align-items: center;
        margin-bottom: 2rem;
        position: relative;
        justify-content: center;
        padding: 1.2rem 0.7rem;
    }
    .long-tips-timeline .process-step:last-child {
        margin-bottom: 0;
    }
    .long-tips-timeline .process-icon[data-step] {
        position: absolute;
        left: -40px;
        top: 32px;
        transform: translate(-50%, 0);
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        box-shadow: none;
        background: #fff;
        border: 2px solid var(--accent-color);
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .long-tips-timeline .tip-image {
        max-width: 100%;
        height: 200px;
        margin: 0 0 1rem 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .long-tips-timeline .process-content {
        margin-top: 0;
        margin-left: 0;
        font-size: 0.98rem;
        padding: 0.5rem 0 0 0;
        text-align: center;
    }
    .long-tips-timeline {
        flex-wrap: wrap;
    }
}

/* Responsive Why Choose Us Section */
@media (max-width: 992px) {
    .why-choose-us-interactive-container {
        flex-direction: column;
    }

    .why-choose-us-tabs {
        flex: 1 1 auto; /* Allow tabs to grow */
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #ddd;
    }

    .why-choose-us-content-panes {
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .why-choose-us-tab-button {
        padding: 15px;
        font-size: 0.95em;
    }

    .why-choose-us-tab-content h3 {
        font-size: 1.5em;
    }

    .why-choose-us-tab-content p {
        font-size: 1em;
    }

    .tab-content-inner {
        flex-direction: column-reverse; /* Stack image on top */
        gap: 20px;
    }

    .tab-content-image {
        flex: 0 0 200px; /* Adjust height for smaller screens */
        width: 100%;
    }
}