.testimonial {
  background: #f9f9f9;
  padding: 20px;
  border-left: 4px solid var(--primary);
}

/* ===============================
   TESTIMONIAL SECTION
================================= */
.testimonial-section {
    padding: 50px 20px;
    background: #f9f9f9;
}

/*CONTAINER*/
.testimonial-container {
    max-width: 750px;
    margin: 0 auto;
    position: relative;
}

/* ===============================
   SLIDE CARD
================================= */
.testimonial-slide {
    display: none;
    position: relative;
    background: #F1E7C2;
    padding: 50px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.testimonial-slide.active {
    display: block;
}

/* ===============================
   BIG QUOTATION MARKS
================================= */
.testimonial-slide::before {
    content: "“";
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 120px;
    color: rgba(0, 0, 0, 0.05);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-slide::after {
    content: "”";
    position: absolute;
    bottom: 10px;
    right: 20px;
    font-size: 120px;
    color: rgba(0, 0, 0, 0.05);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-slide::before,
.testimonial-slide::after {
    background: none;

    -webkit-background-clip: initial;
    background-clip: initial;

    color: #D6AB33;;
    
    opacity: 1;
}

/* ===============================
   TEXT CONTENT
================================= */
.testimonial-text {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #333;
}

.testimonial-author {
    font-weight: bold;
    font-size: 16px;
    color: #222;
}

.testimonial-date {
    font-size: 12px;
    color: #888;
    margin-top: 5px;
}

/* Ensure content sits above quotes */
.testimonial-text,
.testimonial-author,
.testimonial-date {
    position: relative;
    z-index: 1;
}

/* ===============================
   DOT NAVIGATION
================================= */
.testimonial-dots {
    text-align: center;
    margin-top: 20px;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 6px;
    background-color: #ccc;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.dot:hover {
    transform: scale(1.2);
}

.dot.active {
    background-color: #333;
}

/* ===============================
   RESPONSIVE DESIGN
================================= */
@media (max-width: 768px) {
    .testimonial-slide {
        padding: 40px 20px;
    }

    .testimonial-text {
        font-size: 16px;
    }

    .testimonial-slide::before,
    .testimonial-slide::after {
        font-size: 80px;
    }
}

@media (max-width: 480px) {
    .testimonial-slide {
        padding: 30px 15px;
    }

    .testimonial-text {
        font-size: 15px;
    }

.testimonial-slide::before,
.testimonial-slide::after {
    background: linear-gradient(135deg, #9E8017, #f5d76e);

    -webkit-background-clip: text; /* Safari / Chrome */
    background-clip: text;          /* standard property */

    -webkit-text-fill-color: transparent; /* required for WebKit */
    
    opacity: 0.15;
}
}

/* ===============================
   OPTIONAL: FADE ANIMATION
================================= */
.testimonial-slide {
    opacity: 0;
}

.testimonial-slide.active {
    opacity: 1;
    animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .testimonial-slide::before,
    .testimonial-slide::after {
        font-size: 90px;
    }
}

@media (max-width: 480px) {
    .testimonial-slide::before,
    .testimonial-slide::after {
        font-size: 60px;
    }
}

@media (max-width: 768px) {
    .testimonial-text {
        font-size: 18px;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .testimonial-text {
        font-size: 19px;
        line-height: 1.7;
    }
}