﻿/* ===== Company Gallery Section ===== */
.company-gallery-section {
    padding: 70px 20px;
    background: #f9f9f9;
    text-align: center;
}

.gallery-header h2 {
    font-size: 32px;
    font-weight: bold;
    color: #004d40;
    margin-bottom: 15px;
}

.gallery-header p {
    max-width: 850px;
    margin: 0 auto 50px;
    font-size: 17px;
    line-height: 1.8;
    color: #555;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0px 6px 18px rgba(0,0,0,0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

    .gallery-item img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        display: block;
        transition: transform 0.4s ease;
    }

    .gallery-item:hover {
        transform: translateY(-8px);
        box-shadow: 0px 10px 25px rgba(0,0,0,0.3);
    }

        .gallery-item:hover img {
            transform: scale(1.1);
        }

/* View More Button */
.view-more-container {
    text-align: center;
    margin-top: 20px;
}

.view-more-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #00796b;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0px 5px 15px rgba(0, 121, 107, 0.3);
}

    .view-more-btn:hover {
        background: #004d40;
        transform: translateY(-3px);
        box-shadow: 0px 8px 20px rgba(0, 77, 64, 0.4);
    }
/* ===== Scrolling Gallery Section ===== */
.gallery-scroll-section {
    padding: 60px 20px;
    background: #ffffff;
    text-align: center;
    overflow: hidden;
}

.scroll-header h2 {
    font-size: 32px;
    font-weight: bold;
    color: #004d40;
    margin-bottom: 10px;
}

.scroll-header p {
    font-size: 17px;
    color: #555;
    margin-bottom: 30px;
}

/* Horizontal Scroll */
.scroll-gallery {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.scroll-track {
    display: flex;
    gap: 20px;
    animation: scrollLeft 25s linear infinite;
}

    .scroll-track img {
        width: 300px;
        height: 220px;
        object-fit: cover;
        border-radius: 12px;
        box-shadow: 0 6px 15px rgba(0,0,0,0.2);
        transition: transform 0.3s ease;
    }

        .scroll-track img:hover {
            transform: scale(1.1);
        }

/* Keyframes for scrolling */
@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}
