/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 80vh;
    overflow: hidden;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transform: scaleX(-1);
}

.hero-card {
    position: relative;
    z-index: 1;
    max-width: 480px;
    margin-top: 6rem;
    margin-bottom: 4rem;
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: auto;
    }
    .hero-card {
        margin: 2rem auto;
        margin-top: 3rem;
        max-width: 100%;
    }
}

/* ===== Gallery Fisheye Slider ===== */
.gallery-slider-wrapper {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.gallery-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: transform 0.5s ease;
    padding: 1rem 60px;
}

.gallery-slide {
    flex-shrink: 0;
    border-radius: 0;
    overflow: hidden;
    transition: all 0.5s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Fisheye sizing: uniform size, 3D rotation for depth */
.gallery-slide.pos-center {
    width: 220px;
    height: 280px;
    transform: perspective(800px) rotateY(0deg);
    z-index: 3;
}

.gallery-slide.pos-near-left {
    width: 220px;
    height: 280px;
    transform: perspective(800px) rotateY(8deg);
    z-index: 2;
}

.gallery-slide.pos-near-right {
    width: 220px;
    height: 280px;
    transform: perspective(800px) rotateY(-8deg);
    z-index: 2;
}

.gallery-slide.pos-far-left {
    width: 220px;
    height: 280px;
    transform: perspective(800px) rotateY(14deg);
    z-index: 1;
}

.gallery-slide.pos-far-right {
    width: 220px;
    height: 280px;
    transform: perspective(800px) rotateY(-14deg);
    z-index: 1;
}

.gallery-slide.pos-hidden {
    width: 0;
    height: 0;
    opacity: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    flex-basis: 0;
    gap: 0;
}

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #1D3454;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.gallery-btn:hover {
    background: #F1A132;
}

.gallery-btn-prev {
    left: 12px;
}

.gallery-btn-next {
    right: 12px;
}

@media (max-width: 767.98px) {
    .gallery-slide.pos-center {
        width: 160px;
        height: 200px;
    }
    .gallery-slide.pos-near-left,
    .gallery-slide.pos-near-right {
        width: 160px;
        height: 200px;
    }
    .gallery-slide.pos-far-left,
    .gallery-slide.pos-far-right {
        width: 160px;
        height: 200px;
    }
}