
        :root {
            --primary-navy: #0f172a;
            --primary-blue: #1e3a8a;
            --accent-emerald: #059669;
            --accent-emerald-light: rgba(5, 150, 105, 0.12);
            --accent-gold: #d97706;
            --text-dark: #0f172a;
            --text-muted: #64748b;
            --bg-light: #f8fafc;
            --white: #ffffff;
            --border-light: #e2e8f0;
            --glass-bg: rgba(255, 255, 255, 0.82);
            --glass-border: rgba(255, 255, 255, 0.4);
            --shadow-sm: 0 4px 6px -1px rgba(15, 23, 42, 0.04);
            --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
            --shadow-lg: 0 20px 35px -10px rgba(15, 23, 42, 0.15);
            --radius-lg: 24px;
            --radius-md: 16px;
            --radius-sm: 10px;
            --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: 'Cairo', sans-serif;
            background-color: var(--bg-light);
            color: var(--text-dark);
            line-height: 1.7;
            overflow-x: hidden;
            padding: 40px 0;
        }

        .gallery-section {
            padding: 60px 20px;
            position: relative;
            background: radial-gradient(circle at 10% 10%, rgba(30, 58, 138, 0.03) 0%, transparent 40%),
                        radial-gradient(circle at 90% 90%, rgba(5, 150, 105, 0.03) 0%, transparent 40%);
        }

        .container {
            max-width: 1280px;
            margin: 0 auto;
        }

        .section-title {
            text-align: center;
            max-width: 750px;
            margin: 0 auto 40px auto;
        }

        .section-title .badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 6px 18px;
            background: var(--accent-emerald-light);
            color: var(--accent-emerald);
            border-radius: 50px;
            font-size: 0.88rem;
            font-weight: 700;
            margin-bottom: 12px;
            border: 1px solid rgba(5, 150, 105, 0.2);
        }

        .section-title h2 {
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--primary-navy);
            line-height: 1.3;
            margin-bottom: 14px;
            letter-spacing: -0.5px;
        }

        .section-title h2 span {
            background: linear-gradient(135deg, var(--primary-blue), var(--accent-emerald));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .section-title p {
            font-size: 1.1rem;
            color: var(--text-muted);
            font-weight: 400;
        }

        .filter-container {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 10px;
            flex-wrap: wrap;
            margin-bottom: 35px;
        }

        .filter-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 22px;
            border-radius: 50px;
            background: var(--white);
            border: 1px solid var(--border-light);
            color: var(--text-muted);
            font-family: inherit;
            font-size: 0.92rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s var(--transition-smooth);
            box-shadow: var(--shadow-sm);
        }

        .filter-btn:hover {
            color: var(--primary-navy);
            border-color: var(--primary-blue);
            transform: translateY(-2px);
        }

        .filter-btn.active {
            background: var(--primary-navy);
            color: var(--white);
            border-color: var(--primary-navy);
            box-shadow: 0 10px 20px -5px rgba(15, 23, 42, 0.25);
        }

        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(12, 1fr);
            gap: 20px;
            auto-rows: 280px;
        }

        .gallery-card {
            position: relative;
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-md);
            background-color: var(--primary-navy);
            cursor: pointer;
            transition: all 0.4s var(--transition-smooth);
        }

        /* Bento Grid Span Variants */
        .gallery-card.featured {
            grid-column: span 7;
            grid-row: span 2;
        }

        .gallery-card.tall {
            grid-column: span 5;
            grid-row: span 2;
        }

        .gallery-card.wide {
            grid-column: span 8;
            grid-row: span 1;
        }

        .gallery-card.standard {
            grid-column: span 4;
            grid-row: span 1;
        }

        .gallery-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.7s var(--transition-smooth), filter 0.5s ease;
        }

        .gallery-card:hover img {
            transform: scale(1.08);
        }

        /* Glassmorphism Overlay Content */
        .card-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.3) 50%, transparent 100%);
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            padding: 24px;
            color: var(--white);
            opacity: 0.9;
            transition: opacity 0.3s ease;
        }

        .card-category {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 5px 14px;
            background: var(--accent-emerald);
            color: var(--white);
            border-radius: 30px;
            font-size: 0.78rem;
            font-weight: 700;
            margin-bottom: 10px;
            width: fit-content;
            box-shadow: 0 4px 10px rgba(5, 150, 105, 0.3);
        }

        .card-title {
            font-size: 1.35rem;
            font-weight: 800;
            line-height: 1.3;
            margin-bottom: 6px;
            transition: transform 0.3s ease;
        }

        .gallery-card:hover .card-title {
            transform: translateY(-2px);
        }

        .card-desc {
            font-size: 0.88rem;
            color: #cbd5e1;
            opacity: 0;
            max-height: 0;
            overflow: hidden;
            transition: opacity 0.4s ease, max-height 0.4s ease;
        }

        .gallery-card:hover .card-desc {
            opacity: 1;
            max-height: 60px;
        }

        /* Floating Badge Accent */
        .card-floating-badge {
            position: absolute;
            top: 18px;
            right: 18px;
            background: var(--glass-bg);
            backdrop-filter: blur(10px);
            border: 1px solid var(--glass-border);
            padding: 6px 14px;
            border-radius: var(--radius-sm);
            color: var(--primary-navy);
            font-size: 0.8rem;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 6px;
            box-shadow: var(--shadow-sm);
            z-index: 2;
        }

        /* Zoom Expand Button Icon */
        .zoom-btn {
            position: absolute;
            top: 18px;
            left: 18px;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: var(--glass-bg);
            backdrop-filter: blur(8px);
            border: 1px solid var(--glass-border);
            color: var(--primary-navy);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transform: scale(0.8);
            transition: all 0.3s ease;
            z-index: 2;
        }

        .gallery-card:hover .zoom-btn {
            opacity: 1;
            transform: scale(1);
        }

        .zoom-btn:hover {
            background: var(--white);
            color: var(--accent-emerald);
        }

        .lightbox-modal {
            position: fixed;
            inset: 0;
            background: rgba(15, 23, 42, 0.94);
            backdrop-filter: blur(12px);
            z-index: 1000;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
            padding: 20px;
        }

        .lightbox-modal.active {
            opacity: 1;
            visibility: visible;
        }

        .lightbox-content {
            position: relative;
            max-width: 1000px;
            width: 100%;
            max-height: 90vh;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .lightbox-img-wrapper {
            position: relative;
            max-height: 75vh;
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            overflow: hidden;
            border-radius: var(--radius-md);
        }

        .lightbox-img-wrapper img {
            max-width: 100%;
            max-height: 75vh;
            object-fit: contain;
            border-radius: var(--radius-md);
            box-shadow: var(--shadow-lg);
            transition: transform 0.3s ease;
        }

        .lightbox-caption {
            text-align: center;
            color: var(--white);
            margin-top: 18px;
        }

        .lightbox-caption h3 {
            font-size: 1.4rem;
            font-weight: 800;
            margin-bottom: 4px;
        }

        .lightbox-caption p {
            font-size: 0.92rem;
            color: #94a3b8;
        }

        .lightbox-close, .lightbox-nav {
            position: absolute;
            background: var(--glass-bg);
            backdrop-filter: blur(8px);
            border: 1px solid var(--glass-border);
            color: var(--primary-navy);
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            z-index: 1001;
        }

        .lightbox-close {
            top: -50px;
            left: 0;
            width: 44px;
            height: 44px;
            font-size: 1.2rem;
        }

        .lightbox-nav {
            top: 50%;
            transform: translateY(-50%);
            width: 50px;
            height: 50px;
            font-size: 1.2rem;
        }

        .lightbox-prev {
            left: -25px;
        }

        .lightbox-next {
            right: -25px;
        }

        .lightbox-close:hover, .lightbox-nav:hover {
            background: var(--white);
            color: var(--accent-emerald);
            transform: translateY(-50%) scale(1.08);
        }

        .lightbox-close:hover {
            transform: scale(1.08);
        }

        @media (max-width: 1024px) {
            .gallery-grid {
                grid-template-columns: repeat(2, 1fr);
                auto-rows: 260px;
            }

            .gallery-card.featured,
            .gallery-card.tall,
            .gallery-card.wide,
            .gallery-card.standard {
                grid-column: span 1;
                grid-row: span 1;
            }

            .gallery-card.featured {
                grid-column: span 2;
            }
        }

        @media (max-width: 640px) {
            .gallery-section {
                padding: 40px 15px;
            }

            .section-title h2 {
                font-size: 1.8rem;
            }

            .gallery-grid {
                grid-template-columns: 1fr;
                auto-rows: 250px;
            }

            .gallery-card.featured {
                grid-column: span 1;
            }

            .lightbox-nav {
                width: 40px;
                height: 40px;
            }

            .lightbox-prev { left: 5px; }
            .lightbox-next { right: 5px; }
        }
