main.main {
    margin-top: 56px;
}

.slick-slide img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.hero {
    height: 40vh;
    background-image: url(../img-slide/slide01.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
    width: 100%;
    padding: 5rem 0; /* py-20 */
    background-color: #f9fafb; /* bg-gray-50 */
}

@media (min-width: 768px) {
    .gallery-section {
        padding: 8rem 0; /* md:py-32 */
    }
}

.gallery-section__container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem; /* px-4 */
    text-align: center;
}

@media (min-width: 768px) {
    .gallery-section__container {
        padding: 0 1.5rem; /* md:px-6 */
    }
}

.gallery-section__title {
    font-size: 1.875rem; /* text-3xl */
    font-weight: 700; /* font-bold */
    letter-spacing: -0.025em; /* tracking-tight */
    color: #111827; /* text-gray-900 */
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .gallery-section__title {
        font-size: 2.25rem; /* md:text-4xl */
    }
}

.gallery-section__subtitle {
    font-size: 1.25rem; /* text-lg */
    color: #6b7280; /* text-gray-500 */
    margin-top: 1.5rem; /* mt-2 */
    /* margin-bottom: 4rem; */
    margin-bottom: 1rem;
    /* mb-16 */
    font-weight: 600;
}

/* Swiper specific styles */
.swiper {
    width: 100%;
    height: 60vh; /* Set a fixed height for the slider items */
    padding-top: 50px;
    padding-bottom: 50px;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 300px; /* Adjust as needed for desired effect */
    height: 300px; /* Adjust as needed for desired effect */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    overflow: hidden;
    /* box-shadow, border-radius, padding removed for no outer frame */
}

.swiper-slide img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Ensure the entire image is visible */
    border-radius: 0.25rem;
}

/* Adjustments for low-resolution images */
.swiper-slide {
    background-color: #e0e0e0; /* Lighter background for low-res images */
}

.swiper-slide img {
    image-rendering: -webkit-optimize-contrast; /* Improve rendering for low-res images */
    image-rendering: crisp-edges;
    image-rendering: pixelated;
}

/* Swiper navigation and pagination styles */
.swiper-button-next,
.swiper-button-prev {
    color: #374151;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px;
}

.swiper-pagination-bullet {
    background: rgba(0, 0, 0, 0.3);
    opacity: 1;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: rgba(0, 0, 0, 0.7);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }
}

/* ===== MODAL STYLES ===== */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 100; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.9); /* Black w/ opacity */
    align-items: center;
    justify-content: center;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    background: none;
    border: none;
    cursor: pointer;
}

.modal-close:hover,
.modal-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Add Animation */
.modal-content,
#caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {
        -webkit-transform: scale(0);
    }
    to {
        -webkit-transform: scale(1);
    }
}

@keyframes zoom {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}
