/* =========================================
   1. HERO SECTION (Standardized)
   ========================================= */
.hero-section {
    position: relative;
    overflow: hidden;
    height: 400px;
    background-size: cover;
    background-position: 50% 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    padding-top: 100px;
    min-height: auto;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* Lowest level */
}

/* Make the image cover the area exactly like background-size: cover */
.hero-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* This is the magic property */
    object-position: center;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-section-content.relative-z {
    position: relative;
    z-index: 2;
    /* Highest level */
}

.hero-section-content {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 1600px;
}

.hero-section h1 {
    color: #fff;
    font-size: 40px;
    font-weight: 500;
    position: relative;
    z-index: 1;
    margin: 0;
    white-space: nowrap;
}

.divider-line {
    width: 100%;
    height: 1px;
    background: rgb(255 255 255 /50%);
}

.relative-z {
    position: relative;
    z-index: 2;
}

@media (max-width: 1024px) {
    .hero-section {
        height: 345px;
    }
}

/* =========================================
   2. REVIEWS PAGE LAYOUT
   ========================================= */
.reviews-page {
    font-family: "Lato", sans-serif;
    color: #000;
    background-color: #fff;
}

/* --- Intro Section --- */
.reviews-intro-section {
    margin-bottom: 10px;
}

.intro-content {
    /* max-width: 1140px; */
    /* margin: 0 auto; */
    padding: 45px 15px;
    background: #F5F5F5;
}

.intro-content h2 {
    font-family: "Lato", sans-serif;
    font-size: 30px;
    font-weight: 600;
    color: #000;
    margin-bottom: 20px;
}

.intro-text p {
    font-family: "Lato", sans-serif;
    font-size: 19px;
    font-weight: 500;
    color: #000;
    margin-bottom: 15px;
    border-left: 8px solid #E3A507;
    padding-left: 10px;
}

.intro-text p:last-child {
    border-left: none;
    padding-left: 0;
    font-weight: 400;
}

/* --- Reviews Grid --- */
.reviews-grid-section {
    padding: 50px 0;
    background-image: url(../images/texture06.webp);
    background-position: center center;
    background-repeat: repeat;
}

.reviews-grid-section .container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 15px;
}

.reviews-grid {
    display: grid;
    /* grid-template-columns: repeat(3, 1fr); */
    gap: 30px;
}

/* --- Review Card --- */
.review-card {
    background-color: rgba(71, 67, 67, 0.62);
    padding: 45px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.gold-border-left {
    border-left: 8px solid #E3A507;
    padding-left: 10px;
    margin-bottom: 15px;
}

.gold-border-left p {
    font-family: "Lato", sans-serif;
    font-size: 19px;
    font-weight: 500;
    color: #FFF;
    margin: 0;
    line-height: 1.3;
}

.review-full-text p {
    font-family: "Lato", sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #FFF;
    line-height: 1.5;
    margin-bottom: 20px;
}

.review-author {
    margin-top: auto;
}

.review-author h3 {
    font-family: "Lato", sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #FFF;
    margin: 0 0 5px 0;
}

.review-author p {
    font-family: "Lato", sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #FFF;
    margin: 0;
}

.top-slider-section {
    margin: 50px 15px;
    max-width: 1600px;
    margin: 50px auto;
    padding: 0 15px;
}

.swiper-wrapper {
    padding-bottom: 15px;
}

.swiper-button-next,
.swiper-button-prev {
    display: none;
}

.swiper-horizontal>.swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
    bottom: 0;
}

.swiper-pagination-bullet-active {
    background: #000;
}

.slider-inner img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.swiper-pagination-bullet {
    width: 6px;
    height: 6px;
}

.slider-inner {
    overflow: hidden;
    /* Keeps the image contained */
    background: #f0f0f0;
    /* Placeholder color while loading */
}

.progressive-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures thumbnail stretches to fill space */
    transition: filter 0.3s ease-out;
    /* Smooth transition */
}

.progressive-img.loaded {
    filter: blur(0);
    /* Remove blur when medium image loads */
}

/* =========================================
   3. RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
    .reviews-grid {
        /* grid-template-columns: repeat(2, 1fr); */
    }
}

@media (max-width: 767px) {

    /* Hero Adjustments */
    .hero-section {
        height: 175px;
        padding-top: 40px;
    }

    .hero-section h1 {
        font-size: 18px;
    }

    /* Content Adjustments */
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .intro-text p {
        font-size: 10px;
    }

    .reviews-intro-section {
        padding: 5px 20px 35px 5px;
    }

    .intro-content {
        padding: 0;
    }

    .swiper-pagination-bullet {
        width: 3px;
        height: 3px;
    }

    .btn {
        font-size: 10px;
        padding: 8px 10px;
    }

    .review-card {
        padding: 10px;
    }

    .gold-border-left p {
        font-size: 10px;
    }

    .review-full-text p {
        font-size: 10px;
    }

    .review-author h3 {
        font-size: 15px;
    }

    .review-author p {
        font-size: 10px;
    }
}