/* Gallery Section */
.gallery {
    padding: 2rem 0 1.5rem 0;
    /* background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%); */
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.gallery-item {
    height: 250px;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    background: white;
}

.gallery-item:hover {
    transform: translateY(-5px) !important;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #ff4757);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    z-index: 2;
}

.gallery-item:hover::before {
    transform: scaleX(1);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.03);
}

.gallery-item .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.gallery-item:hover .image-overlay {
    opacity: 1;
}

.gallery-item .overlay-icon {
    color: white;
    font-size: 2.5rem;
    transform: scale(0.8);
    transition: transform 0.4s ease;
}

.gallery-item:hover .overlay-icon {
    transform: scale(1);
}

.all-gallery {
  padding: 2rem 0 5rem 0;
}

.all-gallery h2 {
    font-size: 3rem;
    font-weight: 700;
}
