.gallery-page{
margin-bottom: 4em;
}

        /* Gallery Section with Transparent Background */
        .gallery-section {
            padding: 120px 40px;
            position: relative;
            background: rgba(13, 13, 13, 0.5);
            backdrop-filter: blur(20px);
            min-height: 100vh;
        }

        .gallery-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: 
                linear-gradient(45deg, transparent 48%, rgba(182, 122, 30, 0.03) 49%, rgba(182, 122, 30, 0.03) 51%, transparent 52%),
                linear-gradient(-45deg, transparent 48%, rgba(182, 122, 30, 0.03) 49%, rgba(182, 122, 30, 0.03) 51%, transparent 52%);
            background-size: 40px 40px;
            opacity: 0.5;
            pointer-events: none;
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }

        .gallery-page::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: url("https://storage.googleapis.com/giffycms-ambicahind.appspot.com/Client/Trading.webp");
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            background-attachment: fixed;
            opacity: 0.8;
            filter: blur(4px);
            z-index: -2;
        }

        .gallery-header-contact {
           
            animation: fadeInDown 1s ease;
            text-align: center;
            margin-bottom: 50px;
            margin-top: -170px;
        }

        .gallery-header-contact h1 {
            font-size: clamp(24px, 5vw, 46px);
            font-weight: 400;
            line-height: 1.2;
            margin-bottom: 50px;
            margin-top:15px;
            letter-spacing: -0.5px;
        }

        .gallery-header-contact p {
            font-size: clamp(16px, 2vw, 18px);
            color: #cccccc;
            font-weight: 300;
            margin-top: -30px;
        }

        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Gallery Grid */
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 10px;
        }

        .gallery-item {
            position: relative;
            aspect-ratio: 4/3;
            overflow: hidden;
            border-radius: 0px;
            background: rgba(0, 0, 0, 0.3);
            border: 1px solid rgba(182, 122, 30, 0.2);
            backdrop-filter: blur(10px);
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            animation: scaleIn 0.6s ease backwards;
        }

        .gallery-item:nth-child(1) { animation-delay: 0.1s; }
        .gallery-item:nth-child(2) { animation-delay: 0.15s; }
        .gallery-item:nth-child(3) { animation-delay: 0.2s; }
        .gallery-item:nth-child(4) { animation-delay: 0.25s; }
        .gallery-item:nth-child(5) { animation-delay: 0.3s; }
        .gallery-item:nth-child(6) { animation-delay: 0.35s; }
        .gallery-item:nth-child(7) { animation-delay: 0.4s; }
        .gallery-item:nth-child(8) { animation-delay: 0.45s; }
        .gallery-item:nth-child(9) { animation-delay: 0.5s; }
        .gallery-item:nth-child(10) { animation-delay: 0.55s; }
        .gallery-item:nth-child(11) { animation-delay: 0.6s; }
        .gallery-item:nth-child(12) { animation-delay: 0.65s; }

        @keyframes scaleIn {
            from {
                opacity: 0;
                transform: scale(0.9) translateY(30px);
            }
            to {
                opacity: 1;
                transform: scale(1) translateY(0);
            }
        }

        .gallery-item img,
        .gallery-item video {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .gallery-item:hover img,
        .gallery-item:hover video {
            transform: scale(1.15);
        }

        /* Overlay with sliding animation */
        .gallery-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(182, 122, 30, 0.75) 0%, rgba(0, 0, 0, 0.85) 100%);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 30px;
            opacity: 0;
            transform: translateX(-100%);
            transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 2;
        }

        .gallery-item:hover .gallery-overlay {
            opacity: 1;
            transform: translateX(0);
        }

        .gallery-overlay-description {
            font-size: 14px;
            padding: 20px;
            text-align: center;
            line-height: 1.6;
            color: rgba(255, 255, 255, 0.95);
            transform: translateX(-20px);
            opacity: 0;
            transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
            font-weight: 300;
        }

        .gallery-item:hover .gallery-overlay-description {
            transform: translateX(0);
            opacity: 1;
        }

        .gallery-item:hover {
            transform: translateY(-10px);
            border-color: rgba(182, 122, 30, 0.8);
            box-shadow: 0 25px 70px rgb(181 171 156 / 40%), 0 0 60px rgba(182, 122, 30, 0.2) inset;
        }

        .play-icon {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 70px;
            height: 70px;
            background: rgba(182, 122, 30, 0.9);
            backdrop-filter: blur(10px);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            color: white;
            pointer-events: none;
            transition: all 0.4s ease;
            opacity: 0.95;
            z-index: 1;
            border: 2px solid rgba(255, 255, 255, 0.3);
        }

        .gallery-item:hover .play-icon {
            opacity: 0;
            transform: translate(-50%, -50%) scale(1.3);
        }

        .play-icon::before {
            content: '▶';
            margin-left: 4px;
        }

        @media (max-width: 768px) {
            .gallery-grid {
                grid-template-columns: 1fr;
                gap: 15px;
            }

            .gallery-section {
                padding: 60px 20px;
            }

            .gallery-overlay-title {
                font-size: 20px;
            }

            .gallery-overlay-description {
                font-size: 13px;
            }
        }