        /* Basic Reset */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: Arial, sans-serif;
            background-color: #f8f8f8;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

        /* Gallery Section */
        .gallery-container {
            padding: 4rem 2rem;
            max-width: 1400px;
            margin: 0 auto;
            flex: 1;
        }

        .gallery-container h2 {
            text-align: center;
            font-size: 2.5rem;
            color: #5390bf;
            margin-bottom: 3rem;
            position: relative;
            font-weight: 600;
        }

        .gallery-container h2::after {
            content: "";
            width: 80px;
            height: 3px;
            background-color: #5390bf;
            display: block;
            margin: 1rem auto 0;
        }

        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 2rem;
            padding: 1rem 0;
        }

        .gallery-item {
            position: relative;
            overflow: hidden;
            border-radius: 12px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            aspect-ratio: 1;
        }

        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .gallery-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: 1;
        }

        .gallery-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        }

        .gallery-item:hover img {
            transform: scale(1.1);
        }

        .gallery-item:hover::before {
            opacity: 1;
        }

        /* Footer alignment */
        footer {
            margin-top: auto;
        }

        /* Responsive Design */
        @media (max-width: 1200px) {
            .gallery-grid {
                grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
                gap: 1.5rem;
            }
        }

        @media (max-width: 768px) {
            .gallery-container {
                padding: 3rem 1.5rem;
            }

            .gallery-container h2 {
                font-size: 2rem;
                margin-bottom: 2rem;
            }

            .gallery-grid {
                grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
                gap: 1.2rem;
            }
        }

        @media (max-width: 480px) {
            .gallery-container {
                padding: 2rem 1rem;
            }

            .gallery-container h2 {
                font-size: 1.8rem;
                margin-bottom: 1.5rem;
            }

            .gallery-grid {
                grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
                gap: 1rem;
            }
        }