body { 
            margin: 0; 
            padding-top: 100px;
            padding: 40px 0px 0px 0px; 
            background-color: #f8fafc; 
            font-family: 'Plus Jakarta Sans', sans-serif; 
        }
        
        /* Header Section Animation */
        .header-section { 
            text-align: center; 
            margin-bottom: 80px; 
            margin-top: 80px;
            animation: fadeInDown 1s ease-in-out;
        }
        .header-section h1 { 
            color: #1e3a8a; 
            font-size: 40px; 
            margin-bottom: 10px; 
        }
        .header-section p { 
            color: #64748b; 
            font-size: 18px; 
            max-width: 600px; 
            margin: 0 auto; 
        }

        /* Masonry Layout */
        .gallery {
            column-count: 4;
            column-gap: 20px;
            max-width: 1300px;
            margin: 0 auto;
            margin-bottom: 50px;
        }

        .gallery-item {
            break-inside: avoid;
            margin-bottom: 20px;
            background: #ffffff;
            padding: 10px;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
            overflow: hidden;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 0.8s ease forwards;
            transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
        }

        /* Staggered delay for each item entrance */
        .gallery-item:nth-child(1)  { animation-delay: 0.1s; }
        .gallery-item:nth-child(2)  { animation-delay: 0.2s; }
        .gallery-item:nth-child(3)  { animation-delay: 0.3s; }
        .gallery-item:nth-child(4)  { animation-delay: 0.4s; }
        .gallery-item:nth-child(5)  { animation-delay: 0.5s; }
        .gallery-item:nth-child(6)  { animation-delay: 0.6s; }
        .gallery-item:nth-child(7)  { animation-delay: 0.7s; }
        .gallery-item:nth-child(n+8){ animation-delay: 0.8s; }

        .gallery-item:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: 0 15px 30px rgba(30, 58, 138, 0.15);
        }

        .gallery-item img {
            width: 100%;
            height: auto;
            display: block;
            border-radius: 8px;
            transition: transform 0.5s ease;
        }

        .gallery-item:hover img {
            transform: scale(1.05);
        }

        /* Keyframes for Animations */
        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Responsive Breakpoints */
        @media (max-width: 1024px) {
            .gallery { column-count: 3; }
        }
        @media (max-width: 768px) {
            .gallery { column-count: 2; }
        }
        @media (max-width: 480px) {
            .gallery { column-count: 1; }
        }