/* =========================================================
   VISHNULAXMI SILK MILLS
   Premium Textile Website
========================================================= */


/* =========================================================
   GLOBAL RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #222;
    background: #fff;
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    transition: 0.3s ease;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}


/* =========================================================
   COLORS
========================================================= */

:root {
    --primary: #0A3D91;
    --primary-dark: #072D69;
    --primary-light: #124FB8;

    --secondary: #D4AF37;
    --dark: #111827;
    --dark-2: #1F2937;

    --light: #f8f9fa;
    --white: #ffffff;

    --text: #555;
    --border: #e5e7eb;

    --shadow-sm: 0 8px 25px rgba(0, 0, 0, 0.07);
    --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 18px 45px rgba(0, 0, 0, 0.14);
}


/* =========================================================
   COMMON
========================================================= */

.text-primary {
    color: var(--primary) !important;
}

.bg-light {
    background: var(--light) !important;
}

.btn {
    transition: 0.35s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

.btn-primary {
    background: var(--primary);
    border: 1px solid var(--primary);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    padding: 10px 24px;
}

.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.btn-outline-light {
    border: 2px solid #fff;
    padding: 12px 30px;
    border-radius: 50px;
}


/* =========================================================
   TOP BAR
========================================================= */

.top-bar {
    background: var(--primary);
    color: #fff;
    padding: 10px 0;
    font-size: 14px;
}

.top-bar p {
    margin: 0;
}

.top-bar a {
    color: #fff;
    margin-left: 15px;
    font-size: 15px;
}

.top-bar a:hover {
    color: var(--secondary);
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {
    padding: 14px 0;
    background: #fff;
    z-index: 1000;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-brand img {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.navbar-toggler {
    border: 1px solid rgba(0, 0, 0, 0.15);
    padding: 7px 10px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(10, 61, 145, 0.15);
}

.navbar-nav {
    align-items: center;
}

.nav-link {
    font-weight: 600;
    color: #222 !important;
    margin-left: 18px;
    position: relative;
    padding: 10px 0 !important;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}


/* =========================================================
   PAGE BANNER
========================================================= */

.page-banner {
    background:
        linear-gradient(
            rgba(10, 61, 145, 0.88),
            rgba(10, 61, 145, 0.88)
        ),
        url("../images/banner/bg.jpg");

    background-size: cover;
    background-position: center;
    padding: 85px 0;
    color: #fff;
    text-align: center;
}

.page-banner h1 {
    font-size: 46px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 12px;
}

.page-banner p {
    margin: 0;
    font-size: 17px;
    color: rgba(255, 255, 255, 0.9);
}


/* =========================================================
   HERO SECTION
========================================================= */

.hero {
    background:
        linear-gradient(
            rgba(10, 61, 145, 0.85),
            rgba(10, 61, 145, 0.85)
        ),
        url("../images/banner/bg.jpg");

    background-size: cover;
    background-position: center;
    padding: 120px 0;
    color: #fff;
	background-image: url(../images/slides/slider.jpg);
}

.subtitle {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 18px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 58px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 35px;
    max-width: 520px;
}




/* =========================================================
   SECTION TITLES
========================================================= */

.section-subtitle {
    display: inline-block;
    color: var(--secondary);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 20px;
    color: #222;
    line-height: 1.25;
}


/* =========================================================
   OUR BRANDS
========================================================= */

.brands {
    padding: 90px 0;
}

.brand-card-link {
    display: block;
    height: 100%;
    color: inherit;
}

.brand-card {
    background: #fff;
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: 0.4s ease;
    height: 100%;
}

.brand-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.brand-card img {
    height: 90px;
    width: 100%;
    object-fit: contain;
    margin: 0 auto 20px;
}

.brand-card h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.brand-card p {
    color: #666;
    font-size: 15px;
    margin-bottom: 20px;
}

.read-more {
    color: var(--primary);
    font-weight: 600;
}

.brand-card:hover .read-more {
    color: var(--secondary);
}


/* =========================================================
   BRAND PAGE
========================================================= */

.brand-section {
    position: relative;
}

.brand-logo-wrap {
    background: #fff;
    border-radius: 14px;
    padding: 35px;
    box-shadow: var(--shadow-sm);
    transition: 0.35s ease;
}

.brand-logo-wrap:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.brand-logo-wrap img {
    width: 100%;
    height: 220px;
    object-fit: contain;
}

.brand-section-content p {
    color: var(--text);
}

.brand-feature-list {
    padding-left: 0;
    margin-top: 20px;
}

.brand-feature-list li {
    margin-bottom: 12px;
}

.brand-feature-list i {
    margin-right: 8px;
}

.brand-action {
    margin-top: 25px;
}


/* =========================================================
   BRAND LOGO SLIDER
========================================================= */

.brand-logo-section {
    background: var(--light);
}

.brand-slider-wrapper {
    position: relative;
    overflow: hidden;
    padding: 10px 45px 20px;
}

.brand-slider {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    cursor: grab;
}

.brand-slider::-webkit-scrollbar {
    display: none;
}

.brand-slide {
    min-width: 240px;
    max-width: 240px;
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
    user-select: none;
}

.brand-slide:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.brand-slide img {
    width: 100%;
    height: 120px;
    object-fit: contain;
}

.brand-slide h5 {
    margin-top: 15px;
    margin-bottom: 0;
    font-weight: 600;
    text-align: center;
}

.brand-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.brand-slider-btn:hover {
    background: var(--secondary);
    color: #111;
}

.brand-slider-prev {
    left: 0;
}

.brand-slider-next {
    right: 0;
}


/* =========================================================
   PRODUCT CATEGORY
========================================================= */

.product-category {
    padding: 90px 0;
}

.category-link {
    display: block;
    height: 100%;
    color: inherit;
}

.category-box {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    height: 100%;
    background: #000;
}

.category-box img {
    height: 340px;
    width: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}

.category-box:hover img {
    transform: scale(1.08);
}

.category-content {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(
        transparent,
        rgba(0, 0, 0, 0.82)
    );
    color: #fff;
}

.category-content h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.category-content a {
    color: #fff;
    font-weight: 600;
}

.category-box:hover .category-content a {
    color: var(--secondary);
}


/* =========================================================
   WHY CHOOSE US
========================================================= */

.why-us {
    padding: 90px 0;
}

.why-box {
    padding: 35px 25px;
    border-radius: 15px;
    transition: 0.4s ease;
    background: #fff;
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.why-box:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-10px);
}

.why-box i {
    font-size: 45px;
    color: var(--secondary);
    margin-bottom: 20px;
}

.why-box h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

.why-box p {
    margin-bottom: 0;
    color: #666;
}

.why-box:hover p {
    color: rgba(255, 255, 255, 0.88);
}


/* =========================================================
   COUNTER
========================================================= */

.counter-section {
    background: var(--primary);
    padding: 70px 0;
    color: #fff;
}

.counter-section h2 {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 10px;
}

.counter-section p {
    font-size: 18px;
}


/* =========================================================
   ABOUT
========================================================= */

.about-home {
    padding: 90px 0;
}

.about-home img {
    border-radius: 20px;
}

.about-home p {
    color: #666;
    margin-bottom: 18px;
}

.about-home ul li {
    margin-bottom: 15px;
    font-size: 16px;
}

.about-home i {
    margin-right: 10px;
    color: var(--primary);
}


/* =========================================================
   FEATURED PRODUCTS
========================================================= */

.featured {
    padding: 90px 0;
}

.product-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: 0.4s ease;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.product-card img {
    height: 350px;
    width: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-info {
    padding: 25px;
}

.product-info h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.product-info p {
    color: #666;
    margin-bottom: 15px;
}

.product-info a {
    color: var(--primary);
    font-weight: 600;
}


/* =========================================================
   FEATURED COLLECTION SLIDER
========================================================= */

.featured-slider-wrapper {
    position: relative;
    overflow: hidden;
}

.featured-slider {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    cursor: grab;
    padding-bottom: 10px;
}

.featured-slider::-webkit-scrollbar {
    display: none;
}

.featured-slide {
    flex: 0 0 31.5%;
    min-width: 280px;
}

.featured-slide .product-card {
    height: 100%;
}

.featured-slide img {
    height: 350px;
    width: 100%;
    object-fit: cover;
}

.featured-slider-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    cursor: pointer;
}

.featured-slider-btn:hover {
    background: var(--secondary);
    color: #111;
}

.featured-prev {
    left: 8px;
}

.featured-next {
    right: 8px;
}


/* =========================================================
   PRODUCTS PAGE
========================================================= */

.product-grid {
    margin-top: 10px;
}

.product-link {
    display: block;
    height: 100%;
    color: inherit;
}

.product-card.hidden {
    display: none !important;
}

.filter-buttons,
.product-filters,
.category-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 35px;
}

.filter-btn {
    border: 1px solid var(--primary);
    background: #fff;
    color: var(--primary);
    padding: 9px 22px;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s ease;
    cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: #fff;
}

.products-empty {
    text-align: center;
    padding: 50px 20px;
    color: #666;
}


/* =========================================================
   TESTIMONIALS
========================================================= */

.testimonials {
    padding: 90px 0;
    background: #fff;
}

.testimonial-box {
    max-width: 850px;
    margin: auto;
    background: #fff;
    padding: 45px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.client-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin: auto auto 25px;
    border: 5px solid var(--secondary);
}

.testimonial-box p {
    font-size: 18px;
    font-style: italic;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.8;
}

.testimonial-box h5 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.testimonial-box span {
    color: #777;
    font-size: 15px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--primary);
    border-radius: 50%;
    padding: 18px;
}


/* =========================================================
   INFRASTRUCTURE
========================================================= */

.infrastructure {
    padding: 100px 0;
}

.infrastructure img {
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
}

.infrastructure p {
    margin: 20px 0;
    color: #666;
}

.infra-list li {
    margin-bottom: 16px;
    font-size: 17px;
    font-weight: 500;
}

.infra-list i {
    color: var(--primary);
    margin-right: 10px;
}


/* =========================================================
   INFRASTRUCTURE CATEGORY CARDS
========================================================= */

.product-category-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: 0.3s ease;
    height: 100%;
}

.product-category-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-md);
}

.product-category-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.product-category-content {
    padding: 22px;
    text-align: center;
}

.product-category-content h4 {
    margin-bottom: 10px;
    font-weight: 600;
}

.product-category-content p {
    margin-bottom: 18px;
    color: #666;
}


/* =========================================================
   FACTORY / GALLERY
========================================================= */

.factory-gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    background: #f5f5f5;
}

.factory-gallery-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.factory-gallery-card:hover img {
    transform: scale(1.05);
}

.factory-gallery-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px;
    color: #fff;
    background: linear-gradient(
        transparent,
        rgba(0, 0, 0, 0.75)
    );
}

.factory-gallery-overlay h5 {
    margin: 0;
    font-weight: 600;
}


/* =========================================================
   GALLERY PAGE
========================================================= */

.gallery-item {
    overflow: hidden;
    border-radius: 15px;
    background: #f5f5f5;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    position: relative;
    aspect-ratio: 4 / 3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}

.gallery-overlay i {
    color: #fff;
    font-size: 28px;
    opacity: 0;
    transform: scale(0.7);
    transition: 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    background: rgba(0, 0, 0, 0.35);
}

.gallery-item:hover .gallery-overlay i {
    opacity: 1;
    transform: scale(1);
}


/* =========================================================
   GALLERY LIGHTBOX
========================================================= */

.gallery-modal .modal-content {
    background: #111;
    border: none;
    border-radius: 12px;
    overflow: hidden;
}

.gallery-modal .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.gallery-modal .modal-title {
    color: #fff;
}

.gallery-preview {
    width: 100%;
    max-height: 78vh;
    object-fit: contain;
    display: block;
    margin: auto;
}

.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
}

.gallery-nav-btn:hover {
    background: var(--secondary);
}

.gallery-prev {
    left: 20px;
}

.gallery-next {
    right: 20px;
}


/* =========================================================
   CONTACT SECTION
========================================================= */

.contact-home {
    padding: 90px 0;
}

.contact-home h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 25px;
}

.contact-home p {
    margin-bottom: 18px;
    font-size: 17px;
}

.contact-home i {
    width: 30px;
    color: var(--primary);
}

.contact-home iframe {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}


/* =========================================================
   CONTACT PAGE
========================================================= */

.contact-info-box {
    height: 100%;
    text-align: center;
    padding: 35px 25px;
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    transition: 0.3s ease;
}

.contact-info-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-info-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    font-size: 22px;
}

.contact-info-box h4 {
    margin-bottom: 12px;
}

.contact-info-box p {
    margin-bottom: 8px;
    line-height: 1.8;
}

.contact-info-box a {
    color: inherit;
}

.contact-info-box a:hover {
    color: var(--primary);
}

.contact-form-box {
    background: #fff;
    padding: 35px;
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
}

.contact-form-box .form-control,
.contact-form-box .form-select {
    min-height: 52px;
    border-radius: 8px;
}

.contact-form-box textarea.form-control {
    min-height: 150px;
}

.contact-form-box .form-control:focus,
.contact-form-box .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(10, 61, 145, 0.12);
}

.map-box {
    height: 100%;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
}

.map-box iframe {
    width: 100%;
    min-height: 500px;
    border: 0;
    display: block;
}


/* =========================================================
   ABOUT CONTACT SECTION
========================================================= */

.about-contact-section {
    background: var(--primary);
    color: #fff;
}

.about-contact-card {
    height: 100%;
    background: #fff;
    color: #333;
    padding: 30px;
    border-radius: 14px;
    box-shadow: var(--shadow-md);
}

.about-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 25px;
}

.about-contact-item:last-child {
    margin-bottom: 0;
}

.about-contact-icon {
    width: 48px;
    min-width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
}

.about-contact-item h6 {
    margin: 0 0 5px;
    font-weight: 600;
}

.about-contact-item p {
    margin: 0;
    line-height: 1.7;
}

.about-contact-item a {
    color: #333;
}

.about-contact-item a:hover {
    color: var(--primary);
}

.contact-heading {
    color: #fff;
}

.contact-subtext {
    color: rgba(255, 255, 255, 0.85);
}


/* =========================================================
   CTA
========================================================= */

.cta-section {
    padding: 100px 0;
    background: linear-gradient(
        90deg,
        #0A3D91,
        #124FB8
    );
    color: #fff;
}

.cta-section h2 {
    font-size: 46px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 35px;
}

.cta-section .btn {
    padding: 15px 40px;
    font-weight: 600;
    border-radius: 50px;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    background: #111827;
    color: #ddd;
    padding: 80px 0 20px;
}

.footer img {
    max-width: 190px;
    height: auto;
}

.footer h5 {
    color: #fff;
    font-size: 22px;
    margin-bottom: 25px;
    font-weight: 600;
}

.footer p {
    color: #bbb;
}

.footer ul li {
    margin-bottom: 12px;
}

.footer ul li a {
    color: #bbb;
}

.footer ul li a:hover {
    color: var(--secondary);
    padding-left: 8px;
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 40px 0 20px;
}

.footer .fab,
.footer .fa-brands {
    transition: 0.3s ease;
}

.footer .fab:hover,
.footer .fa-brands:hover {
    color: var(--secondary);
}


/* =========================================================
   IMAGE EFFECTS
========================================================= */

img {
    transition: 0.4s ease;
}

.product-card:hover img,
.brand-card:hover img {
    transform: scale(1.05);
}

/* =========================================================
   STATIC HERO IMAGE
   Keeps .hero-img completely static
   ========================================================= */

.hero-img,
.hero-img:hover,
.product-card:hover .hero-img,
.brand-card:hover .hero-img {
    transform: none !important;
    transition: none !important;
}


/* =========================================================
   BACK TO TOP
========================================================= */

.backToTop {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: none;
    z-index: 9999;
    transition: 0.3s ease;
}

.backToTop:hover {
    background: var(--secondary);
    color: #000;
    transform: translateY(-5px);
}


/* =========================================================
   LOADER
========================================================= */

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    opacity: 1;
    visibility: visible;
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

#loader.loader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.spinner {
    width: 70px;
    height: 70px;
    border: 6px solid #eee;
    border-top: 6px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {

    100% {
        transform: rotate(360deg);
    }

}


/* =========================================================
   FLOATING WHATSAPP
========================================================= */

.whatsapp-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    text-decoration: none;
    z-index: 9999;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
    transition: 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    color: #fff;
}


/* =========================================================
   FLOATING CALL
========================================================= */

.call-btn {
    position: fixed;
    right: 20px;
    bottom: 95px;
    width: 60px;
    height: 60px;
    background: #0d6efd;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    text-decoration: none;
    z-index: 9999;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
    transition: 0.3s ease;
}

.call-btn:hover {
    transform: scale(1.1);
    color: #fff;
}


/* =========================================================
   FORM ELEMENTS
========================================================= */

.form-control,
.form-select {
    border: 1px solid var(--border);
    color: #333;
}

.form-control::placeholder {
    color: #999;
}


/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 991px) {

    .navbar-nav {
        align-items: flex-start;
        padding-top: 15px;
    }

    .nav-link {
        margin-left: 0;
        padding: 8px 0 !important;
    }

    .hero {
        padding: 90px 0;
    }

    .hero h1 {
        font-size: 46px;
    }

    .section-title {
        font-size: 36px;
    }

    .page-banner {
        padding: 70px 0;
    }

    .page-banner h1 {
        font-size: 40px;
    }

    .featured-slide {
        flex: 0 0 48%;
    }

}


/* =========================================================
   RESPONSIVE - MOBILE
========================================================= */

@media (max-width: 767px) {

    .top-bar {
        display: none;
    }

    .navbar {
        padding: 10px 0;
    }

    .navbar-brand img {
        height: 58px;
    }

    .hero {
        padding: 70px 0;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }

    .section-title {
        font-size: 30px;
    }

    .page-banner {
        padding: 55px 0;
    }

    .page-banner h1 {
        font-size: 34px;
    }

    .page-banner p {
        font-size: 15px;
    }

    .brands,
    .product-category,
    .why-us,
    .featured,
    .testimonials,
    .contact-home,
    .about-home {
        padding: 65px 0;
    }

    .brand-card {
        padding: 28px 20px;
    }

    .brand-card img {
        height: 80px;
    }

    .brand-logo-wrap {
        padding: 25px;
    }

    .brand-logo-wrap img {
        height: 180px;
    }

    .category-box img {
        height: 250px;
    }

    .category-content {
        padding: 22px;
    }

    .category-content h3 {
        font-size: 24px;
    }

    .product-card img {
        height: 280px;
    }

    .featured-slide {
        flex: 0 0 88%;
        min-width: 88%;
    }

    .featured-slide img {
        height: 280px;
    }

    .featured-slider-btn {
        width: 38px;
        height: 38px;
    }

    .brand-slider-wrapper {
        padding: 10px 40px 20px;
    }

    .brand-slide {
        min-width: 210px;
        max-width: 210px;
    }

    .brand-slide img {
        height: 100px;
    }

    .brand-slider-btn {
        width: 36px;
        height: 36px;
    }

    .factory-gallery-card img {
        height: 240px;
    }

    .gallery-item {
        aspect-ratio: 4 / 3;
    }

    .gallery-nav-btn {
        width: 38px;
        height: 38px;
    }

    .gallery-prev {
        left: 10px;
    }

    .gallery-next {
        right: 10px;
    }

    .gallery-preview {
        max-height: 65vh;
    }

    .map-box iframe {
        min-height: 350px;
    }

    .contact-form-box {
        padding: 25px 20px;
    }

    .about-contact-card {
        padding: 22px;
    }

    .cta-section {
        padding: 70px 20px;
    }

    .cta-section h2 {
        font-size: 32px;
    }

    .cta-section p {
        font-size: 16px;
    }

    .footer {
        padding: 60px 0 20px;
    }

    .footer h5 {
        font-size: 20px;
        margin-bottom: 18px;
    }

    .whatsapp-btn,
    .call-btn {
        width: 52px;
        height: 52px;
    }

    .whatsapp-btn {
        right: 15px;
        bottom: 15px;
        font-size: 24px;
    }

    .call-btn {
        right: 15px;
        bottom: 78px;
        font-size: 21px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .section-title {
        font-size: 27px;
    }

    .hero h1 {
        font-size: 31px;
    }

    .page-banner h1 {
        font-size: 30px;
    }

    .brand-slide {
        min-width: 190px;
        max-width: 190px;
    }

    .product-card img {
        height: 250px;
    }

    .category-box img {
        height: 230px;
    }

}