/* testimonials.css */

.banner {
    position: relative;
    height: 400px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.banner::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), color-mix(in srgb, var(--primary-color) 80%, transparent));
    top: 0;
    left: 0;
}

.banner_heading {
    font-family: 'Kanit', sans-serif;
    font-size: 56px;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 4px;
    line-height: 1.2;
    margin-bottom: 10px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.banner_para {
    color: var(--text-light);
    font-size: 18px;
    font-family: 'Gabarito';
    position: relative;
    z-index: 1;
}

/* Review Section */

.student_review {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}


.review_box {
    position: relative;
    background: var(--primary-color);
    border-radius: 20px;
    padding: 60px 30px 40px;
    margin: 20px 15px 40px;
    height: calc(100% - 60px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.review_box:hover {
    transform: translateY(-5px);
}

.review_box .gstar {
    display: flex;
    align-items: center;
    gap: 5px;
    position: absolute;
    background: var(--text-light);
    border-radius: 50px;
    top: -15px;
    padding: 8px 15px;
    left: -15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.review_box .gstar img {
    height: 25px;
    width: auto;
}

.review_box .review_content p {
    font-size: 16px;
    color: var(--text-light);
    text-align: justify;
    line-height: 1.7;
    margin-bottom: 0;
}

.review_box .reviewer_name {
    display: flex;
    align-items: center;
    gap: 10px;
    position: absolute;
    background: var(--text-light);
    border-radius: 50px;
    bottom: -15px;
    padding: 10px 20px;
    right: -15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.review_box .reviewer_name img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
}

.review_box .reviewer_name p {
    margin-bottom: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
}

/* Call to Action */

.join_us {
    padding: 60px 0;
}

.join_purnambox {
    background: var(--primary-color);
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    color: var(--text-light);
}

.join_head {
    font-family: 'Kanit';
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.join_subhead {
    font-size: 18px;
    margin-bottom: 30px;
}

.book-now-button {
    display: inline-block;
    padding: 12px 35px;
    background: var(--secondary-color);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.book-now-button:hover {
    background: var(--text-light);
    color: var(--primary-color);
    transform: scale(1.05);
}

@media (max-width: 991px) {
    .review_box {
        margin-bottom: 60px;
    }
}

@media (max-width: 767px) {
    .banner_heading {
        font-size: 36px;
    }

    .review_box .gstar,
    .review_box .reviewer_name {
        left: 0;
        right: 0;
        margin: auto;
        width: fit-content;
    }

    .review_box .gstar {
        top: -20px;
    }

    .review_box .reviewer_name {
        bottom: -20px;
    }
}