.maincontent {
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  border: none;

}

.service-hero.gallery-hero {
	min-height: unset;
	padding-block: 100px;
}

.gallery-hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    color: var(--white);
}

.gallery-hero-container {
	posiiton: relative;
	position: relative;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: var(--white);
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.gallery-hero-content h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
    color: var(--white);
}

.hero-description {
    font-size: 20px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 50px;
max-width: unset;
}


.hero-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-blue);
    padding: 16px 32px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    border: 2px solid var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    padding: 16px 32px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .gallery-hero {
        padding: 120px 24px 80px;
    }

    .gallery-hero-content h1 {
        font-size: 40px;
    }

    .hero-description {
        font-size: 17px;
        margin-bottom: 40px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 0;
        margin-bottom: 40px;
    }

    .stat-number {
        font-size: 36px;
    }

    .stat-label {
        font-size: 13px;
    }

    .hero-cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .gallery-hero-content h1 {
        font-size: 32px;
    }

    .hero-description {
        font-size: 16px;
    }

    .stat-number {
        font-size: 32px;
    }
}

#gallery_section {
	padding: 60px 2% 40px;
}

.gallery-wrapper {
    position: relative;
    max-width: 1450px;
    width: 100%;
    margin: 0 auto;
}
.gallery-message {
    font-size: 1.1rem;
    text-align: center;
    padding-top: 85px;
}
.gallery-loader {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    border: 5px solid #eee;
    border-top-color: var(--accent-color);
    transition: opacity .4s;
    animation: spin .75s linear infinite;
}
@keyframes spin {
    to { transform: translateX(-50%) rotate(360deg); }
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    transform: translateY(50px);
    opacity: 0;
    min-height: 500px;
    transition: transform .4s, opacity .4s;
}
.gallery-fade-in {
    transform: translateY(0);
    opacity: 1;
}
.gallery-fade-out {
    opacity: 0;
}
.gallery-item {
    position: relative;
    width: 24%;
    height: 300px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px .5% 0;
}
.gallery-item img {
    width: auto;
    height: 115%;
    transition: opacity .4s, transform .4s;
}
.gallery-item img.vertical-img {
    width: 115%;
    height: auto;
}
.gallery-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 45px;
    height: 45px;
    fill: #111;
    opacity: 0;
    transition: opacity .4s;
}
.gallery-item:hover .gallery-icon {
    opacity: 1;
}
.gallery-item:hover img {
    opacity: .6;
    transform: scale(1.05);
}

@media screen and (max-width: 1200px) {
    .gallery-item {
        width: 32.3333333333%;
    }
}

@media screen and (max-width: 900px) {
    .gallery-item {
        width: 49%;
    }
}

@media screen and (max-width: 600px) {
    .gallery-item,
    .gallery-item img {
        width: 100%;
        height: auto;
    }
}