/* =========================================================
   RESPONSIVE CSS
   Vishnulaxmi Silk Mills
========================================================= */


/* =========================================================
   LARGE DEVICES
   1200px and below
========================================================= */

@media (max-width: 1200px) {

    .hero h1 {
        font-size: 48px;
    }

    .section-title {
        font-size: 38px;
    }

    .category-box img {
        height: 310px;
    }

    .product-card img {
        height: 320px;
    }

    .featured-slide {
        flex: 0 0 31%;
    }

}


/* =========================================================
   LAPTOP / TABLET
   992px and below
========================================================= */

@media (max-width: 992px) {

    /* -------------------------
       TOP BAR
    ------------------------- */

    .top-bar {
        display: none;
    }


    /* -------------------------
       NAVBAR
    ------------------------- */

    .navbar {
        padding: 12px 0;
    }

    .navbar-brand img {
        height: 60px;
    }

    .navbar-nav {
        align-items: flex-start;
        padding-top: 15px;
    }

    .nav-link {
        margin-left: 0;
        padding: 9px 0 !important;
    }


    /* -------------------------
       HERO
    ------------------------- */

    .hero {
        padding: 80px 0;
        text-align: center;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero p {
        margin: 0 auto 30px;
    }

    .hero-img {
        margin-top: 40px;
    }


    /* -------------------------
       SECTION
    ------------------------- */

    .section-title {
        font-size: 34px;
    }


    /* -------------------------
       BRAND / WHY / PRODUCT
    ------------------------- */

    .brand-card,
    .why-box,
    .product-card {
        margin-bottom: 25px;
    }


    /* -------------------------
       ABOUT
    ------------------------- */

    .about-home img {
        margin-bottom: 35px;
    }


    /* -------------------------
       INFRASTRUCTURE
    ------------------------- */

    .infrastructure img {
        margin-bottom: 35px;
    }


    /* -------------------------
       CTA
    ------------------------- */

    .cta-section h2 {
        font-size: 36px;
    }


    /* -------------------------
       FOOTER
    ------------------------- */

    .footer {
        text-align: center;
    }

    .footer img {
        margin-left: auto;
        margin-right: auto;
    }


    /* -------------------------
       FEATURED SLIDER
    ------------------------- */

    .featured-slide {
        flex: 0 0 48%;
    }


    /* -------------------------
       CONTACT
    ------------------------- */

    .contact-home iframe {
        width: 100%;
    }

}


/* =========================================================
   TABLET
   768px and below
========================================================= */

@media (max-width: 768px) {

    /* -------------------------
       HERO
    ------------------------- */

    .hero {
        padding: 70px 0;
    }

    .hero h1 {
        font-size: 34px;
        line-height: 1.3;
    }

    .hero p {
        font-size: 16px;
    }


    /* -------------------------
       BUTTONS
    ------------------------- */

    .hero .btn {
        display: inline-block;
        width: auto;
    }


    .btn {
        margin-bottom: 10px;
    }

    .btn-outline-light {
        margin-left: 0 !important;
    }


    /* -------------------------
       SECTION
    ------------------------- */

    .section-title {
        font-size: 30px;
    }


    /* -------------------------
       BRAND
    ------------------------- */

    .brand-card {
        padding: 25px;
    }

    .brand-card img {
        height: 70px;
    }


    /* -------------------------
       BRAND PAGE
    ------------------------- */

    .brand-logo-wrap {
        padding: 25px;
    }

    .brand-logo-wrap img {
        height: 180px;
    }


    /* -------------------------
       BRAND SLIDER
    ------------------------- */

    .brand-slider-wrapper {
        padding-left: 40px;
        padding-right: 40px;
    }

    .brand-slide {
        min-width: 210px;
        max-width: 210px;
    }

    .brand-slide img {
        height: 100px;
    }

    .brand-slider-btn {
        width: 38px;
        height: 38px;
    }


    /* -------------------------
       CATEGORY
    ------------------------- */

    .category-box img {
        height: 260px;
    }


    /* -------------------------
       PRODUCTS
    ------------------------- */

    .product-card img {
        height: 280px;
    }


    /* -------------------------
       FEATURED SLIDER
    ------------------------- */

    .featured-slide {
        flex: 0 0 80%;
        min-width: 80%;
    }

    .featured-slide img {
        height: 280px;
    }


    .featured-slider-btn {
        width: 40px;
        height: 40px;
    }


    /* -------------------------
       COUNTER
    ------------------------- */

    .counter-section h2 {
        font-size: 38px;
    }

    .counter-section .col-lg-3,
    .counter-section .col-md-6 {
        margin-bottom: 30px;
    }


    /* -------------------------
       TESTIMONIAL
    ------------------------- */

    .testimonial-box {
        padding: 30px 20px;
    }

    .testimonial-box p {
        font-size: 16px;
    }


    /* -------------------------
       CTA
    ------------------------- */

    .cta-section {
        padding: 70px 20px;
    }

    .cta-section h2 {
        font-size: 30px;
    }


    /* -------------------------
       CONTACT
    ------------------------- */

    .contact-home iframe {
        margin-top: 30px;
        height: 280px;
    }

    .contact-form-box {
        padding: 30px 25px;
    }

    .map-box iframe {
        min-height: 400px;
    }


    /* -------------------------
       FACTORY GALLERY
    ------------------------- */

    .factory-gallery-card {
        margin-bottom: 10px;
    }

    .factory-gallery-card img {
        height: 250px;
    }


    /* -------------------------
       GALLERY
    ------------------------- */

    .gallery-item {
        aspect-ratio: 4 / 3;
    }

    .gallery-nav-btn {
        width: 40px;
        height: 40px;
    }

}


/* =========================================================
   MOBILE
   576px and below
========================================================= */

@media (max-width: 576px) {

    body {
        overflow-x: hidden;
    }


    /* -------------------------
       NAVBAR
    ------------------------- */

    .navbar {
        padding: 8px 0;
    }

    .navbar-brand img {
        height: 50px;
    }

    .navbar-toggler {
        padding: 6px 9px;
    }


    /* -------------------------
       HERO
    ------------------------- */

    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 28px;
        line-height: 1.4;
    }

    .hero p {
        font-size: 15px;
        margin-top: 15px;
    }

    .subtitle {
        font-size: 13px;
        padding: 6px 15px;
    }


    .hero .btn {
        display: block;
        width: 100%;
        margin-bottom: 15px;
    }


    /* -------------------------
       PAGE BANNER
    ------------------------- */

    .page-banner {
        padding: 55px 15px;
    }

    .page-banner h1 {
        font-size: 30px;
        line-height: 1.3;
    }

    .page-banner p {
        font-size: 14px;
    }


    /* -------------------------
       SECTION
    ------------------------- */

    .section-title {
        font-size: 28px;
        line-height: 1.3;
    }

    .section-subtitle {
        font-size: 13px;
    }


    /* -------------------------
       BRAND CARDS
    ------------------------- */

    .brand-card {
        padding: 20px;
    }

    .brand-card h4 {
        font-size: 20px;
    }

    .brand-card p {
        font-size: 14px;
    }

    .brand-card img {
        height: 70px;
    }


    /* -------------------------
       BRAND PAGE
    ------------------------- */

    .brand-logo-wrap {
        padding: 20px;
    }

    .brand-logo-wrap img {
        height: 150px;
    }

    .brand-section-content {
        text-align: left;
    }


    /* -------------------------
       BRAND SLIDER
    ------------------------- */

    .brand-slider-wrapper {
        padding-left: 35px;
        padding-right: 35px;
    }

    .brand-slide {
        min-width: 190px;
        max-width: 190px;
        padding: 20px;
    }

    .brand-slide img {
        height: 90px;
    }

    .brand-slide h5 {
        font-size: 17px;
    }

    .brand-slider-btn {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }


    /* -------------------------
       CATEGORY
    ------------------------- */

    .category-box img {
        height: 220px;
    }

    .category-content {
        padding: 20px;
    }

    .category-content h3 {
        font-size: 22px;
    }


    /* -------------------------
       WHY BOX
    ------------------------- */

    .why-box {
        padding: 25px;
        margin-bottom: 20px;
    }

    .why-box i {
        font-size: 35px;
    }


    /* -------------------------
       COUNTER
    ------------------------- */

    .counter-section {
        padding: 50px 0;
    }

    .counter-section h2 {
        font-size: 32px;
    }

    .counter-section p {
        font-size: 15px;
    }


    /* -------------------------
       ABOUT
    ------------------------- */

    .about-home {
        padding: 60px 0;
    }

    .about-home img {
        margin-bottom: 25px;
    }


    /* -------------------------
       PRODUCT
    ------------------------- */

    .product-card img {
        height: 240px;
    }

    .product-info {
        padding: 20px;
    }

    .product-info h4 {
        font-size: 20px;
    }


    /* -------------------------
       FEATURED SLIDER
    ------------------------- */

    .featured-slide {
        flex: 0 0 88%;
        min-width: 88%;
    }

    .featured-slide img {
        height: 250px;
    }


    .featured-slider-btn {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }


    /* -------------------------
       FILTER BUTTONS
    ------------------------- */

    .filter-buttons,
    .product-filters,
    .category-filters {
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 13px;
    }


    /* -------------------------
       TESTIMONIAL
    ------------------------- */

    .testimonial-box {
        padding: 25px 18px;
    }

    .client-img {
        width: 70px;
        height: 70px;
    }


    /* -------------------------
       INFRASTRUCTURE
    ------------------------- */

    .infrastructure {
        padding: 60px 0;
    }

    .infrastructure img {
        margin-bottom: 30px;
    }


    .infrastructure-image {
        height: 280px;
        object-fit: cover;
    }


    /* -------------------------
       FACTORY
    ------------------------- */

    .factory-gallery-card img {
        height: 230px;
    }


    /* -------------------------
       PRODUCT CATEGORY
       INFRASTRUCTURE
    ------------------------- */

    .product-category-card img {
        height: 210px;
    }


    /* -------------------------
       GALLERY
    ------------------------- */

    .gallery-item {
        aspect-ratio: 4 / 3;
    }

    .gallery-overlay i {
        font-size: 22px;
    }

    .gallery-nav-btn {
        width: 36px;
        height: 36px;
    }

    .gallery-prev {
        left: 8px;
    }

    .gallery-next {
        right: 8px;
    }

    .gallery-preview {
        max-height: 65vh;
    }


    /* -------------------------
       CONTACT
    ------------------------- */

    .contact-home {
        padding: 60px 0;
    }

    .contact-home h2 {
        font-size: 28px;
    }

    .contact-home iframe {
        height: 250px;
    }


    .contact-form-box {
        padding: 25px 18px;
    }

    .contact-form-box .form-control,
    .contact-form-box .form-select {
        min-height: 48px;
    }


    .map-box iframe {
        min-height: 330px;
    }


    .contact-info-box {
        padding: 28px 20px;
    }

    .contact-info-icon {
        width: 55px;
        height: 55px;
        font-size: 20px;
    }


    /* -------------------------
       ABOUT CONTACT
    ------------------------- */

    .about-contact-card {
        padding: 22px 18px;
    }

    .about-contact-item {
        gap: 12px;
    }

    .about-contact-icon {
        width: 44px;
        min-width: 44px;
        height: 44px;
        font-size: 17px;
    }


    /* -------------------------
       CTA
    ------------------------- */

    .cta-section {
        padding: 60px 20px;
    }

    .cta-section h2 {
        font-size: 26px;
    }

    .cta-section p {
        font-size: 15px;
    }

    .cta-section .btn {
        width: 100%;
    }


    /* -------------------------
       FOOTER
    ------------------------- */

    .footer {
        padding: 60px 20px 20px;
        text-align: center;
    }

    .footer img {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px;
    }

    .footer h5 {
        margin-top: 25px;
        font-size: 20px;
    }

    .footer ul {
        text-align: center;
    }

    .footer ul li a:hover {
        padding-left: 0;
    }

}


/* =========================================================
   EXTRA SMALL
   400px and below
========================================================= */

@media (max-width: 400px) {

    .navbar-brand img {
        height: 46px;
    }


    .hero h1 {
        font-size: 24px;
    }


    .hero p {
        font-size: 14px;
    }


    .section-title {
        font-size: 24px;
    }


    .page-banner h1 {
        font-size: 27px;
    }


    .cta-section h2 {
        font-size: 24px;
    }


    .btn {
        font-size: 14px;
        padding: 11px 20px;
    }


    .category-box img {
        height: 190px;
    }


    .product-card img {
        height: 210px;
    }


    .featured-slide {
        flex: 0 0 92%;
        min-width: 92%;
    }


    .featured-slide img {
        height: 220px;
    }


    .brand-slide {
        min-width: 180px;
        max-width: 180px;
    }


    .brand-logo-wrap img {
        height: 130px;
    }


    .factory-gallery-card img {
        height: 200px;
    }


    .map-box iframe {
        min-height: 300px;
    }

}


/* =========================================================
   FLOATING BUTTONS - DESKTOP
========================================================= */

.whatsapp-btn,
.call-btn {
    position: fixed;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.20);
    z-index: 9999;
    transition: 0.3s ease;
}


/* WhatsApp */

.whatsapp-btn {
    bottom: 20px;
    background: #25D366;
    font-size: 28px;
}


/* Call */

.call-btn {
    bottom: 90px;
    background: var(--primary);
    font-size: 26px;
}


.whatsapp-btn:hover,
.call-btn:hover {
    transform: scale(1.10);
    color: #fff;
}


/* =========================================================
   FLOATING BUTTONS - MOBILE
========================================================= */

@media (max-width: 576px) {

    .whatsapp-btn,
    .call-btn {
        width: 52px;
        height: 52px;
        right: 15px;
    }


    .whatsapp-btn {
        bottom: 15px;
        font-size: 24px;
    }


    .call-btn {
        bottom: 78px;
        font-size: 21px;
    }

}


/* =========================================================
   TOUCH DEVICES
========================================================= */

@media (hover: none) {

    .brand-card:hover,
    .why-box:hover,
    .product-card:hover,
    .product-category-card:hover {
        transform: none;
    }

    .gallery-item:hover img,
    .category-box:hover img,
    .brand-card:hover img,
    .product-card:hover img {
        transform: none;
    }

}