/* Responsive Design  */
/* Global Mobile Reset */
@media (max-width: 768px) {
    /* Reset all potential padding sources */
    body,
    html,
    .hero-section,
    .nav-header,
    .nav-top-row,
    .slideshow,
    .slide,
    .hero-content {
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Force full width */
    .hero-section,
    .slideshow,
    .slide {
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: calc(-50vw + 50%) !important;
        left: 0 !important;
    }

    /* Handle viewport edge cases */
    @supports (padding: max(0px)) {
        body {
            padding-left: max(0px, env(safe-area-inset-left)) !important;
            padding-right: max(0px, env(safe-area-inset-right)) !important;
        }
    }
}
/* Header section  */
@media (max-width: 992px) {
    .hero-title {
        font-size: clamp(40px, 10vw, 80px);
    }
    

    
    .phone-button {
        padding: 8px 15px;
    }
}

@media (max-width: 768px) {
 
    
    .phone-container {
        margin-left: 0;
        margin-top: 10px;
    }
    
    .hero-content {
        gap: 20px;
    }
    
    .hero-subtitle {
        max-width: 90%;
    }

    .slide-dots {
        left: 20px;
        bottom: 20px;
        flex-direction: row;
    }
}

@media (max-width: 576px) {
 
    
    .hero-title {
        font-size: clamp(32px, 12vw, 60px);
    }
    
    .cta-button {
        padding: 12px 30px;
    }
    
    .phone-button {
        padding: 6px 12px;
        font-size: 12px;
    }
}
/* end */

/* Responsive Adjustments for catalougue section */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item:nth-child(1) {
        grid-row: span 1;
        aspect-ratio: 1/1;
    }
    
    .stats-container {
        flex-direction: column;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .catalog-section {
        padding: 60px 5%;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .filter-tabs {
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .product-image {
        height: 350px;
    }
    
    .cta-button {
        width: 100%;
        text-align: center;
    }
}
/* end */

/* Responsive Adjustments for about section  */
@media (max-width: 992px) {
    .content-grid {
        gap: 40px;
    }
    
    .image-container {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .offer-section {
        padding: 60px 5%;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .image-container {
        height: 350px;
        order: -1;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
}

@media (max-width: 576px) {
    .image-container {
        height: 300px;
    }
    
    .quote {
        font-size: 24px;
    }
    
    .cta-button {
        padding: 12px 30px;
        width: 100%;
        text-align: center;
    }
}
/* end */

    /* Responsive Adjustments for contact section  */
    @media (max-width: 992px) {
        .contact-image {
            flex: 1 1 40%;
        }
        .contact-form {
            flex: 1 1 60%;
        }
    }

    @media (max-width: 768px) {
        .contact-section {
            flex-direction: column;
        }
        .contact-image {
            min-height: 300px;
            flex: 1 1 100%;
        }
        .contact-form {
            padding: 40px 5%;
        }
        .form-row {
            flex-direction: column;
            gap: 30px;
        }
    }

    @media (max-width: 576px) {
        .contact-title {
            font-size: 28px;
        }
        .form-group {
            margin-bottom: 20px;
        }
    }
    
/* end */


    /* Responsive adjustments for about blade */
@media (max-width: 768px) {
    .about-section .images {
        flex-direction: column;
        align-items: center;
    }

    .about-section .images img {
        width: 100%;
        height: auto;
    }

    .about-section .stats {
        flex-direction: column;
        align-items: center;
    }

    .about-section .stat {
        width: 100%;
        margin-bottom: 30px;
    }

    .about-section h2 {
        font-size: 2.5rem;
    }

    .about-section .text-content {
        max-width: 100%;
    }
}
/* end */


/* Responsive Adjustments for detailed about us */
@media (max-width: 1024px) {
    .content-block {
        gap: 3rem;
        margin-bottom: 4rem;
    }
    
    .content-image {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .content-section {
        padding: 4rem 5%;
    }
    
    .content-image {
        height: 300px;
        min-width: 100%;
    }
    
    .divider {
        margin: 3rem auto;
    }
}

@media (max-width: 480px) {
    .content-image {
        height: 250px;
    }
    
    .content-title {
        font-size: 1.8rem;
    }
    
    .learn-more {
        font-size: 0.9rem;
    }
}
/* end */


/* Responsive Adjustments for acheivement section */


@media (max-width: 1200px) {
    .section-title {
      font-size: 42px;
    }
    
    .achievements-container {
      gap: 20px;
    }
    
    .achievement-card {
      max-width: 400px;
      height: auto;
      min-height: 250px;
    }
  }
  
  @media (max-width: 992px) {
    .frame {
      padding: 80px 20px;
    }
    
    .section-title {
      font-size: 36px;
    }
    
    .achievements-container {
      margin-top: 60px;
    }
    
    .quote {
      font-size: 18px;
    }
  }
  
  @media (max-width: 768px) {
    .frame {
      padding: 60px 20px;
      gap: 40px;
    }
    
    .section-title {
      font-size: 32px;
    }
    
    .section-description {
      font-size: 15px;
    }
    
    .achievement-card {
      max-width: 100%;
      height: auto;
      min-height: 220px;
    }
    
    .achievement-title {
      font-size: 18px;
    }
    
    .achievement-description {
      font-size: 15px;
    }
  }
  
  @media (max-width: 576px) {
    .section-title {
      font-size: 28px;
    }
    
    .section-subtitle {
      font-size: 13px;
    }
    
    .quote {
      font-size: 16px;
    }
  }

/* end */

/* section service  */


@media (max-width: 1200px) {
    .section-title {
        font-size: 42px;
    }
    
    .service-card {
        min-width: 280px;
    }
}

@media (max-width: 992px) {
    .services-section {
        padding: 80px 20px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .service-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 60px 20px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .section-description {
        font-size: 15px;
    }
    
    .service-card {
        max-width: 100%;
        width: 100%;
        padding: 30px 0;
    }
    
    .service-card:not(:last-child)::after {
        display: none;
    }
    
    .service-card:not(:last-child) {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .learn-more-text {
        max-width: 100px; /* Always show text on mobile */
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 13px;
    }
    
    .service-title {
        font-size: 24px;
    }
}

/* end  */

/* Responsive Design for service blade */
@media (max-width: 1024px) {
    .content-columns {
        flex-direction: column;
        gap: 40px;
    }

    .page-title {
        margin-bottom: 40px;
    }

    .description-paragraph {
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 36px;
    }

    .main-heading {
        font-size: 36px;
    }

    .service-cards {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .service-card {
        padding-left: 20px;
    }

    .service-card::before {
        width: 2px;
        height: 100%;
        top: 0;
        left: 0;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 32px;
    }

    .main-heading {
        font-size: 28px;
    }

    body {
        padding: inherit;
    }
}