
/* ============================================
   Testimonial Section — Premium Redesign
   Matches: dark bg, gold title, large quote mark,
   quote text, gold stars, swipe carousel
   ============================================ */

.testimonial-section {
    display: block !important;
    width: 100% !important;
    background-color: #1e1c1a;
    background-image: url('../images/testimonial_bg.png');
    background-size: cover;
    background-position: center;
    padding: 90px 0 100px;
    color: #fff;
    position: relative;
    overflow: hidden;
    min-height: 500px;
    box-sizing: border-box;
}

/* Dark overlay to ensure text readability */
.testimonial-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(18, 16, 14, 0.92);
    z-index: 0;
}

/* Decorative gold balloon SVG — top right */
.testimonial-balloon {
    position: absolute;
    top: -10px;
    right: 80px;
    width: 220px;
    height: 260px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.95;
}

.testimonial-balloon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 8px 32px rgba(193,159,99,0.35));
}

/* Container */
.testimonial-container {
    position: relative;
    z-index: 2;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 48px;
    width: 100%;
    box-sizing: border-box;
}

/* Header row: line + title */
.testimonial-header {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-bottom: 52px;
}

.testimonial-header .line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #c19f63, rgba(193,159,99,0.3));
    flex-shrink: 0;
}

.testimonial-title {
    font-family: 'Prata', serif;
    font-size: 52px;
    color: #d4b97a;
    margin: 0;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

/* Swiper wrapper */
.swiper-testimonial {
    width: 100%;
    max-width: 700px;
    margin-left: 0;
    padding-bottom: 56px !important; /* room for pagination */
}


/* Slides — let Swiper handle fade opacity natively */


/* Large opening quote mark */
.quote-icon {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 90px;
    color: #c19f63;
    line-height: 0.7;
    margin-bottom: 28px;
    display: block;
    user-select: none;
}

/* Testimonial body text */
.testimonial-content {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.75;
    color: #f0ece6;
    margin-bottom: 32px;
}

/* Gold star rating */
.testimonial-stars {
    display: flex;
    gap: 6px;
    margin-bottom: 36px;
}

.testimonial-stars span {
    color: #c19f63;
    font-size: 26px;
    line-height: 1;
}

/* Author box */
.author-box {
    display: flex;
    align-items: center;
    gap: 18px;
}

.author-avatar {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(193, 159, 99, 0.55);
    flex-shrink: 0;
    background: #3a3630;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-meta {
    font-family: 'Montserrat', sans-serif;
}

.author-name {
    font-weight: 700;
    font-size: 16px;
    color: #c19f63;
    margin-bottom: 3px;
}

.author-role {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.3px;
}

/* ── Pagination dots ── */
.swiper-testimonial .swiper-pagination {
    bottom: 0 !important;
    text-align: left !important;
    padding-left: 2px;
}

.swiper-testimonial .swiper-pagination-bullet {
    background: rgba(255,255,255,0.35) !important;
    opacity: 1 !important;
    width: 8px !important;
    height: 8px !important;
    transition: all 0.3s ease !important;
}

.swiper-testimonial .swiper-pagination-bullet-active {
    background: #c19f63 !important;
    width: 28px !important;
    border-radius: 4px !important;
}

/* ── RTL (Arabic) adjustments ── */
.rtl .testimonial-header {
    flex-direction: row-reverse;
}

.rtl .testimonial-header .line {
    background: linear-gradient(270deg, #c19f63, rgba(193,159,99,0.3));
}

.rtl .testimonial-title {
    text-align: right;
}

.rtl .swiper-testimonial {
    margin-right: 0;
    margin-left: auto;
}

.rtl .testimonial-content {
    text-align: right;
    direction: rtl;
}

.rtl .author-box {
    flex-direction: row-reverse;
}

.rtl .author-meta {
    text-align: right;
}

.rtl .testimonial-stars {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.rtl .swiper-testimonial .swiper-pagination {
    text-align: right !important;
}

.rtl .testimonial-balloon {
    right: auto;
    left: 80px;
    transform: scaleX(-1);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .testimonial-balloon {
        width: 160px;
        height: 190px;
        right: 30px;
    }
}

@media (max-width: 768px) {
    .testimonial-section {
        padding: 70px 0 80px;
    }

    .testimonial-container {
        padding: 0 24px;
    }

    .testimonial-title {
        font-size: 36px;
    }

    .quote-icon {
        font-size: 68px;
    }

    .testimonial-content {
        font-size: 17px;
    }

    .testimonial-header {
        margin-bottom: 36px;
    }

    .testimonial-balloon {
        width: 110px;
        height: 130px;
        right: 12px;
        top: -5px;
    }
}

@media (max-width: 480px) {
    .testimonial-title {
        font-size: 28px;
    }

    .testimonial-balloon {
        display: none;
    }
}
