/* Slider image sizing */
.slider-img {
    width: 100%;
    height: 520px;          /* Comfortable desktop height */
    object-fit: cover;
}

/* Caption positioning */
.carousel-caption {
    bottom: 30%;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

/* Text animation */
.animate-text {
    animation: slideUp 1.2s ease-in-out;
}

/* Animation */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Headings */
.carousel-caption h1 {
    font-size: 2.8rem;
    font-weight: 700;
}

.carousel-caption p {
    font-size: 1.1rem;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .slider-img {
        height: 340px;      /* Mobile friendly */
    }

    .carousel-caption {
        bottom: 20%;
    }

    .carousel-caption h1 {
        font-size: 1.6rem;
    }

    .carousel-caption p {
        font-size: 0.95rem;
    }
}




/* NAV BAR */

/* Light Navbar */
.light-navbar {
    background: #f8f9fa; /* Soft light background */
    border-bottom: 1px solid #e2e6ea;
    padding: 14px 0;
    transition: all 0.3s ease;
}

/* Brand */
.light-navbar .navbar-brand {
    color: #0b2a4a; /* Dark navy */
    font-size: 1.2rem;
    letter-spacing: 0.4px;
}

/* Links */
.light-navbar .nav-link {
    color: #2c3e50; /* Dark text */
    font-weight: 500;
    margin-left: 20px;
    position: relative;
    transition: color 0.25s ease;
}

/* Hover + active */
.light-navbar .nav-link:hover,
.light-navbar .nav-link.active {
    color: #0b2a4a;
}

/* Underline effect */
.light-navbar .nav-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: #caa24d; /* Textile gold */
    left: 0;
    bottom: -6px;
    transition: width 0.3s ease;
}

.light-navbar .nav-link:hover::after,
.light-navbar .nav-link.active::after {
    width: 100%;
}

/* Mobile toggler */
.light-navbar .navbar-toggler {
    border-color: rgba(0,0,0,0.25);
}

.light-navbar .navbar-toggler-icon {
    filter: invert(0.2);
}

/* Mobile menu */
@media (max-width: 991px) {
    .light-navbar .navbar-collapse {
        background: #ffffff;
        padding: 15px;
        border-radius: 10px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    }

    .light-navbar .nav-link {
        margin-left: 0;
        padding: 10px 0;
    }
}

/* ------------------------------------------------------------------------------------------ */

.products-section {
    background: #f8f9fa;
}

/* Gallery Styling */
.gallery-card {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: 0.4s ease;
}

.gallery-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: 0.4s ease;
}

.gallery-card:hover img {
    transform: scale(1.08);
}

.gallery-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Count Section */
.cotton-count-section {
    background: #ffffff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.count-box {
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    color: #ffffff;
    padding: 15px 10px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    transition: 0.3s ease;
}

.count-box:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, #0a58ca, #084298);
}

/* --------------------------------------------------------------------------------- */

/* ================= PRODUCT GALLERY ================= */

.gallery-box {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.gallery-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-box:hover .gallery-img {
    transform: scale(1.08);
}


.product-box {
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 6px;
    margin-bottom: 8px;
    font-size: 14px;
    border-left: 4px solid #0d6efd;
}

.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
}



/* Product */
.product-section {
    background: #f8f9fa;
}

.product-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.product-card img {
    height: 260px;
    width: 100%;
    object-fit: cover;
}

.product-img {
    cursor: pointer;
    transition: transform 0.4s ease;
}

.product-img:hover {
    transform: scale(1.05);
}

/* Modal zoom effect */
#modalImage {
    transition: transform 0.4s ease;
}

#modalImage:hover {
    transform: scale(1.1);
}

.product-info {
    padding: 20px;
}

.product-info h5 {
    font-weight: 600;
    color: #0b2a4a;
}

.product-info p {
    font-size: 0.95rem;
    color: #555;
}




/* Certification Section */
.certification-section {
    background: #f8f9fa;
}

.product-card img {
    max-height: 160px;
    object-fit: contain;
    background: #fff;
}




/* Card */

.certification-section {
    background: #f8f9fa;
}

/* Card */
.cert-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

/* Same animation used in products */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Image */
.cert-img {
    height: 280px;
    width: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.5s ease;
}

/* Hover effect */
.cert-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.cert-card:hover .cert-img {
    transform: scale(1.05);
}

.cert-info {
    padding: 20px;
}

.cert-info h5 {
    font-weight: 600;
    color: #0b2a4a;
}

.cert-info p {
    font-size: 0.95rem;
    color: #555;
}


/* Home Page About US */


.machinery-img {
    width: 100%;
    height: 400px;   /* Control visible height */
    overflow: hidden;
    border-radius: 12px;
}

.machinery-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* Prevent stretching */
    transition: transform 0.4s ease;
}

.machinery-photo:hover {
    transform: scale(1.05);
}




section {
    animation: fadeInUp 0.8s ease forwards;
}




/* ================= HERO BANNER ================= */

.hero-banner {
    background: url('../images/home_page/home_banner_image_2.jpg') no-repeat center center;
    background-size: cover;
    height: 45vh;              /* Smaller height */
    margin: 60px auto;         /* Top & bottom spacing */
    border-radius: 25px;       /* Rounded box */
    overflow: hidden;
    max-width: 1800px;         /* Not full width */
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    position: relative;
}

.hero-overlay {
    background: linear-gradient(to right, rgba(0,0,0,0.6), rgba(0,0,0,0.3));
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 25px;
}

.hero-content h1 {
    font-size: 36px;
    letter-spacing: 1px;
}

.hero-content p {
    font-size: 18px;
    letter-spacing: 2px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-banner {
        height: 30vh;
        margin: 40px 15px;
    }

    .hero-content h1 {
        font-size: 22px;
    }

    .hero-content p {
        font-size: 14px;
    }
}

/* Contact */


.contact-modern {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
}

.contact-card-modern {
    background: #ffffff;
    padding: 35px 25px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.contact-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.icon-modern {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6684b1, #181d25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    box-shadow: 0 5px 15px rgba(13,110,253,0.4);
}

.contact-card-modern h5 {
    font-weight: 600;
    margin-bottom: 15px;
}

.contact-card-modern a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.contact-card-modern a:hover {
    color: #0d6efd;
}



.contact-modern {
    background: #f8f9fa;
}

.contact-box {
    background: #ffffff;
    padding: 40px 25px;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    height: 100%;
}

.contact-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.icon-circle {
    width: 70px;
    height: 70px;
    margin: 0 auto;
    background: #000;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transition: all 0.4s ease;
}

.contact-box:hover .icon-circle {
    background: #333;
    transform: scale(1.1);
}

.contact-box h5 {
    font-weight: 600;
    color: #0b2a4a;
}

.contact-box p {
    font-size: 0.95rem;
    color: #555;
}


.lab-section {
    background: #f8f9fa;
}

.lab-content h2 {
    color: #222;
}

.lab-content p {
    font-size: 16px;
    line-height: 1.8;
}

.lab-img {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 12px;
}

.lab-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.lab-photo:hover {
    transform: scale(1.05);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .lab-img {
        height: 250px;
        margin-top: 20px;
    }
}





/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: #ffffff;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #1ebe5d;
    transform: scale(1.1);
    color: #ffffff;
}


