﻿/* ================= HERO SECTION ================= */
.hero-section {
    position: relative;
    height: 80vh;
    background: url('../Content/Images/lab.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    animation: fadeUp 1.5s ease-out forwards;
}

.hero-title {
    font-size: 3em;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.6);
    opacity: 0;
    animation: fadeIn 2s ease forwards;
}

.hero-slogan {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeIn 2.5s ease forwards;
    animation-delay: 0.8s;
}

.hero-btn {
    padding: 12px 28px;
    background: #4ECDC4;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    border-radius: 30px;
    box-shadow: 0 8px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeIn 3s ease forwards;
    animation-delay: 1.5s;
}

    .hero-btn:hover {
        background: #FF6B6B;
        transform: translateY(-5px);
        box-shadow: 0 12px 20px rgba(0,0,0,0.4);
    }

/* Keyframes */
@keyframes fadeUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ================= PRODUCT SECTION ================= */
.product-section {
    position: relative;
    padding: 80px 20px;
    font-family: 'Poppins', sans-serif;
    background: url('../Content/Images/cotton (2).jpg') center/cover fixed no-repeat;
    color: #fff;
    text-align: center;
}

    .product-section .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.55);
        z-index: 0;
    }

    .product-section .container {
        position: relative;
        z-index: 1;
    }

.section-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 3px 6px rgba(0,0,0,0.4);
}

.section-subtitle {
    font-size: 1.2rem;
    margin-bottom: 50px;
    color: #eee;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Product Card */
.product-card {
    background: rgba(255,255,255,0.1);
    border-radius: 18px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    transform: translateY(40px);
    opacity: 0;
    transition: all 0.6s ease, transform 0.4s ease;
    cursor: pointer;
    position: relative;
}

    .product-card:hover {
        transform: translateY(-10px) scale(1.02);
        box-shadow: 0 12px 40px rgba(0,0,0,0.5);
    }

/* Product Image */
.product-image img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 3px solid var(--card-color, #fff);
    transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

/* Product Info */
.product-info {
    padding: 20px;
    color: #fff;
}

    .product-info h3 {
        margin-bottom: 10px;
        font-size: 1.4rem;
        font-weight: bold;
    }

    .product-info p {
        font-size: 0.95rem;
        line-height: 1.5;
        opacity: 0.9;
    }

/* Scroll Reveal */
.product-card.visible {
    transform: translateY(0);
    opacity: 1;
}

/* ================= LONG IMAGE PRODUCT SECTION ================= */
.long-image-product-section {
    padding: 80px 0;
    background: #fff;
}

    .long-image-product-section .section-title {
        text-align: center;
        font-size: 2.2rem;
        margin-bottom: 10px;
        font-weight: 700;
        color: #2d3436;
    }

    .long-image-product-section .section-subtitle {
        text-align: center;
        font-size: 1rem;
        margin-bottom: 40px;
        color: #636e72;
    }

    .long-image-product-section .product-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 25px;
    }
/* Long Image Card */
.long-image-card {
    background: #f9f9f9;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
}

    .long-image-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    }

    .long-image-card .product-image {
        width: 100%;
        height: 350px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #eee;
        overflow: hidden;
    }

        .long-image-card .product-image img {
            width: auto;
            height: 100%;
            object-fit: contain;
            transition: transform 0.4s ease;
        }

    .long-image-card:hover .product-image img {
        transform: scale(1.08);
    }

    .long-image-card .product-info {
        padding: 15px;
        text-align: center;
    }

    .long-image-card h3 {
        font-size: 1.3rem;
        margin-bottom: 8px;
        color: #2d3436;
        font-weight: 600;
    }

    .long-image-card p {
        font-size: 0.9rem;
        color: #555;
        line-height: 1.4;
    }
