/* ==========================================================================
   RESPONSIVENESS OVERRIDES
   ========================================================================== */

/* Large screens and desktop */
@media (min-width: 1200px) {
  .mega-menu-panel {
    padding: 40px 0;
  }
}

/* Medium to large tablets / small laptops */
@media (max-width: 991.98px) {
  .hero-title {
    font-size: 44px;
  }
  
  .hero-subtitle {
    font-size: 18px;
    margin-bottom: 25px;
  }
  
  .hero-section {
    padding: 80px 0 60px;
    text-align: center;
  }

  /* White hero responsive — tablet */
  .hero-section-white {
    height: auto;
    min-height: 100vh;
  }

  .hero-video-abs {
    position: relative;
    width: 100%;
    height: 55vw;
    max-height: 60vh;
    right: auto;
    top: auto;
  }

  .hero-text-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    padding: 60px 24px 30px;
    text-align: center;
    order: -1;
  }

  .hero-section-white {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .hero-title-dark {
    font-size: 42px;
  }

  .hero-subtitle-dark {
    font-size: 16px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

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

  .hero-text-col {
    padding-left: 15px;
    padding-right: 15px;
  }


  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-image-wrapper {
    margin-top: 50px;
  }
  
  .hero-mascot-img {
    width: 110px;
    bottom: -10px;
  }
  
  .hero-badge-rotating {
    width: 90px;
    height: 90px;
    font-size: 10px;
    top: 5%;
    right: 0;
  }
  
  /* Mega Menu logic on mobile */
  .mega-menu-panel {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: none;
    padding: 10px 0;
    display: none; /* Handled via JS toggle if needed, or simple dropdown */
  }
  
  .mega-menu-dropdown:hover .mega-menu-panel {
    display: block;
  }
  
  /* Feature Strip */
  .feature-box {
    justify-content: flex-start;
    border-bottom: none;
    padding: 15px;
    height: 100%;
  }
  
  /* Process Timeline -> Vertical */
  .process-timeline {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
  }
  
  .process-timeline::after {
    top: 35px;
    bottom: 35px;
    left: calc(50% - 1.5px);
    width: 3px;
    height: auto;
    background: linear-gradient(180deg, var(--accent-color) 0%, var(--secondary-color) 50%, var(--accent-color) 100%);
    box-shadow: 0 0 8px rgba(0, 166, 81, 0.4);
  }
  
  .process-step {
    width: 100%;
    transform: none !important; /* Disable horizontal waves on mobile */
  }
  
  .process-step-num {
    right: calc(50% - 35px);
  }
  
  /* Gallery Grid */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Footer */
  .footer-heading {
    margin-top: 30px;
  }
  
  /* Hide Custom Cursor on Tablets and Mobile (Touch Screens) */
  .custom-cursor,
  .custom-cursor-dot {
    display: none !important;
  }
}

/* Small tablets to portrait mobile */
@media (max-width: 767.98px) {
  .section-title {
    font-size: 32px;
  }
  
  .about-section {
    padding: 60px 0;
  }
  
  .categories-section,
  .best-sellers-section,
  .why-choose-section,
  .process-section,
  .festival-section,
  .testimonials-section,
  .gallery-section,
  .dealers-section,
  .blog-section,
  .faq-section,
  .contact-section {
    padding: 60px 0;
  }
  
  .about-accent-badge {
    position: static;
    margin-top: 20px;
    justify-content: center;
    display: inline-flex;
    width: auto;
  }
  
  .festival-pack-card {
    padding: 25px;
    text-align: center;
  }
  
  .festival-pack-img {
    margin-bottom: 30px;
  }
  
  .festival-list-item {
    justify-content: center;
  }
  
  .dealer-info-card {
    padding: 25px;
    margin-bottom: 30px;
  }
  
  .map-container {
    height: 300px;
  }
  
  .contact-info-panel,
  .contact-form-panel {
    padding: 30px 20px;
  }
}

/* Extra small mobile screens */
@media (max-width: 575.98px) {
  .hero-title {
    font-size: 34px;
  }

  .hero-title-dark {
    font-size: 32px;
  }

  .hero-video-display {
    max-height: 260px;
  }
  
  .hero-subtitle {
    font-size: 15px;
  }
  
  .btn-premium,
  .btn-secondary-premium {
    padding: 10px 24px;
    font-size: 14px;
    width: 100%;
    margin-bottom: 10px;
  }
  
  .hero-buttons {
    display: flex;
    flex-direction: column;
  }
  
  .hero-mascot-img {
    width: 90px;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .process-step {
    width: 100%;
  }
  
  .testimonial-card {
    padding: 25px 15px;
    margin: 5px;
  }
  
  .whatsapp-float {
    width: 45px;
    height: 45px;
    bottom: 20px;
    right: 20px;
    font-size: 24px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .footer-bottom-links a {
    margin: 0 10px;
  }
}

/* ==========================================================================
   PROCESSING TIMELINE & AUTOMATION BANNER RESPONSIVE OVERRIDES
   ========================================================================== */
@media (max-width: 991.98px) {
  .sticky-illustration-panel {
    position: static;
    height: auto;
    margin-bottom: 30px;
  }
  
  .timeline-visual-card {
    height: 350px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .automation-card-container {
    padding: 50px 30px;
  }
  
  .automation-heading {
    font-size: 30px;
    margin-top: 20px;
    margin-bottom: 30px;
  }
  
  .automation-graphics-wrap {
    min-height: 280px;
    margin-top: 40px;
  }
  
  .automation-mascot {
    max-height: 300px;
    bottom: -50px;
  }
  
  .automation-product-bag {
    max-height: 240px;
    bottom: -20px;
  }
}

@media (max-width: 767.98px) {
  .stage-card {
    padding: 30px 20px;
  }
  
  .stage-title {
    font-size: 22px;
  }
  
  .stage-list-item {
    font-size: 14.5px;
    padding-left: 28px;
  }
  
  .automation-card-container {
    padding: 40px 20px;
    text-align: center;
  }
  
  .automation-heading {
    font-size: 26px;
  }
  
  .automation-mascot {
    position: relative;
    max-height: 260px;
    bottom: 0;
    right: 0;
    margin: 20px auto 0;
    display: block;
  }
  
  .automation-product-bag {
    position: absolute;
    max-height: 200px;
    bottom: -10px;
    left: 10px;
  }
  
  .fchip-1 {
    width: 40px;
    left: 20%;
    top: 5%;
  }
  .fchip-2 {
    width: 30px;
    bottom: 25%;
  }
  .fchip-3 {
    width: 25px;
    right: 5%;
  }
}

