/* HERO SECTION */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    padding: 20px;
    animation: fadeUp 1.5s ease forwards;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.hero-content p {
    margin-bottom: 20px;
}

.btn {
    padding: 12px 30px;
    background: #0066ff;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    transition: 0.3s;
}

.btn:hover {
    background: #0044aa;
}

/* PRODUCTS */

.products {
    text-align: center;
}

.products-section-title h2 {
    margin-bottom: 10px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}



.product-card-box {
    padding: 20px;
    flex: 1;
    /* Push footer down */
    display: flex;
    flex-direction: column;
}

.product-card-box p {
    flex-grow: 1;
    /* Makes content flexible */
}

.product-card-footer {
    padding: 20px;
    display: flex;
}

.product-card img {
    height: 200px;
    object-fit: cover;
    margin: 0 auto;
    width: fit-content;
}

.product-card button {
    background: var(--primary);
    color: var(--white);
    padding: 10px 40px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
}

.product-card button:hover {
    background: #000000;
}

/* Hover effect */
.product-card:hover {
    transform: translateY(-10px);
}




/* ANIMATION */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* SCROLL ACTIVE */
.active {
    transform: translateY(0);
    opacity: 1;
    transition: 1s ease;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
}









/* ///slider  */

.product-box {
    margin: 90px 0;
}

.product-slider-wrapper {
    position: relative;
    overflow: hidden;
    padding: 10px 0;
}

.product-slider {
    display: flex;
    gap: 25px;
    transition: transform 0.6s ease;
}

.product-card {
    flex: 0 0 calc(33.333% - 17px);
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    transition: 0.4s ease;
    flex-shrink: 0;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 35px rgba(0, 95, 153, 0.18);
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    padding: 20px;
}

.product-content {
    padding: 20px;
}

/* FIX: Was h3 — HTML uses h4 tags inside .product-card, so selector updated to h4 */
.product-content h3 {
    font-weight: 700;
    margin-bottom: 10px;
    color: #111;
}

.product-content p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 18px;
}

.product-content a {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: 0.3s;
}

.product-content a:hover {
    background: #111;
    color: var(--white);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}