        .gallery-section {
            width: 100%;
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 0px;
            box-sizing: border-box;
        }
        
        .gallery-container {
            border-radius: 12px;
            padding: 10px;
        }
        
        .gallery-header {
            text-align: center;
            margin-bottom: 30px;
        }
        
        .gallery-header h1 {
            font-size: 36px;
            padding: 5px;
            color: #ffffff !important;
            letter-spacing: -0.5px;
        }
        
        .gallery-subtitle {
            font-size: 16px;
            color: #ffffff !important;
            font-weight: 500;
            opacity: 0.9;
        }
        
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            margin-bottom: 20px;
        }

        .gallery-item {
            position: relative;
            overflow: hidden;
        }

        .image-card {
            background: rgba(255, 255, 255, 0);
            border-radius: 8px;
            overflow: hidden;
            transition: all 0.3s ease;
            cursor: pointer;
            height: 100%;
            position: relative;
            padding-bottom: 100%; 
        }
    
        
        .image-card:focus {
            outline: 2px solid #009B5B;
            outline-offset: 2px;
        }
        
        .image-wrapper {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
        }

        .image-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover; 
            display: block;
            transition: transform 0.5s ease;
        }

        .image-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0); 
            transition: background 0.3s ease;
            z-index: 1;
        }
        
        .image-card:hover .image-overlay {
            background: #004370ec; 
        }
        
        .image-info {
            position: absolute;
            bottom: 0; 
            left: 0;
            width: 100%;
            padding: 25px;
            z-index: 2;
            transform: translateY(100%);
            opacity: 0;
            transition: all 0.4s ease;
            color: white;
        }
        
        .image-card:hover .image-info {
            transform: translateY(0);
            opacity: 1;
        }
        
        .info-title {
            font-size: 20px;
            font-weight: 600;
            color: white;
            margin-bottom: 12px;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        }
        
        .info-description {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.9);
            line-height: 1.5;
            margin-bottom: 0;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
        }
        
        .gallery-footer {
            text-align: center;
            padding-top: 25px;
            border-top: 1px solid rgba(255, 255, 255, 0.2);
        }
        
        .gallery-tagline {
            color: rgba(41, 40, 40, 0.8);
            font-size: 12px;
            letter-spacing: 0.20em;
            text-transform: uppercase;
            margin: 0;
            font-weight: 500;
        }
        
        .content-block-section {
            width: 100%;
            max-width: 1400px;
            margin: 40px auto;
            padding: 0 20px;
        }
        
        .content-block-container {
            background: black;
            border-radius: 12px;
            overflow: hidden;
            display: flex;
            min-height: 320px;
            box-shadow: 0 5px 20px rgba(0, 67, 112, 0.15);
        }
        
        .content-text {
            flex: 1;
            padding: 40px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            color: white;
        }
        
        .content-text h2 {
            font-size: 28px;
            font-weight: 600;
            margin-bottom: 15px;
            color: white !important;
        }
        
        .content-text p {
            font-size: 16px;
            line-height: 1.5;
            margin-bottom: 25px;
            color: rgba(255, 255, 255, 0.9);
            max-width: 500px;
        }
        
        .dark-btn {
            display: inline-block;
            background: white;
            color: #004370;
            padding: 12px 28px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            font-size: 15px;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            width: fit-content;
        }
        
        .dark-btn:hover {
            background: #f8fafc;
            color: #004370;
        }
        
        .content-image {
            flex: 1;
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 25px;
        }
        
        .content-image img {
            width: 100%;
            height: 100%;
            max-height: 280px;
            object-fit: contain;
            border-radius: 6px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
        }
                
        @media (min-width: 1201px) {
            .gallery-grid {
             grid-template-columns: repeat(4, 1fr);
            }
        }
        
        @media (min-width: 768px) and (max-width: 1200px) {
            .gallery-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 20px;
            }
            
            .image-card {
                aspect-ratio: 1/1;
            }
        }
        
        @media (max-width: 767px) {
            .gallery-section {
                margin: 30px auto;
                padding: 0 15px;
            }
            
            .gallery-container {
                padding: 25px;
            }
            
            .gallery-header h1 {
                font-size: 28px;
            }
            
            .gallery-subtitle {
                font-size: 14px;
            }
            
            .gallery-grid {
                grid-template-columns: 1fr;
                gap: 20px;
                max-width: 400px;
                margin-left: auto;
                margin-right: auto;
            }
            
            .image-card {
                aspect-ratio: 1/1;
            }
            
            .image-info {
                padding: 20px;
            }
            
            .info-title {
                font-size: 18px;
            }
            
            .info-description {
                font-size: 13px;
            }
        }
        
        @media (max-width: 480px) {
            .gallery-container {
                padding: 20px;
            }
            
            .gallery-header h1 {
                font-size: 24px;
            }
            
            .gallery-subtitle {
                font-size: 13px;
            }
            
            .gallery-grid {
                gap: 15px;
            }
            
            .image-info {
                padding: 15px;
            }
            
            .info-title {
                font-size: 16px;
            }
            
            .info-description {
                font-size: 12px;
            }
        }

 @media (max-width: 480px) {
    .content-block-section {
        margin: 30px auto;
        padding: 0 15px;
        margin-bottom: 30px;
    }
    
    .content-block-container {
        flex-direction: column;
        min-height: auto;
    }
    
    .content-image {
        padding: 0px 30px 0 30px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .content-image img {
        max-height: 300px;
        max-width: 300px;
        border-radius: 50%;
        object-fit: cover;
        margin-bottom: 20px;
    }
    
    .content-text {
        padding: 50px 30px 30px 30px;
        text-align: center;
        align-items: center;
    }
    
    .content-text h2 {
        font-size: 24px;
        text-align: center;
        margin-bottom: 15px;
    }
    
    .content-text p {
        font-size: 15px;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .dark-btn {
        padding: 12px 28px;
        font-size: 15px;
    }
}

.image-wrapper.gallery-image-loading::before {
    content: "";

    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 5;

    width: 32px;
    height: 32px;

    margin-top: -16px;
    margin-left: -16px;

    border: 3px solid rgba(0, 67, 112, 0.15);
    border-top-color: #009b5b;
    border-radius: 50%;

    animation: galleryLoadingSpin 0.8s linear infinite;
}

.image-wrapper.gallery-image-loading {
    background: #f4f7f9;
}

.image-wrapper.gallery-image-loading img {
    opacity: 0;
}

.image-wrapper img {
    transition:
        opacity 0.35s ease,
        transform 0.5s ease;
}

.image-wrapper.gallery-image-loaded img {
    opacity: 1;
}

@keyframes galleryLoadingSpin {
    to {
        transform: rotate(360deg);
    }
}
