/* ================= Testimonials Section ================= */

.testimonials-section {
    max-width: 1232px;
    margin: 80px auto;
    padding: 0 16px;
}

/* Title */
.testimonials-subtitle {
    font-size: 40px;
    font-weight: 600;
    color: #0A2F2F;
    text-align: center;
    margin-bottom: 48px;
}

/* Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 56px;
}

/* ================= Card ================= */

.testimonial-card {
    background: #ffffff;
    border: 1px solid #E6E6E6;
    border-radius: 12px;
    overflow: hidden;
    height: 260px;
    display: flex;
    flex-direction: column;
}

/* ================= Description ================= */

.testimonials-description {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 18px;
    line-height: 1.5;
    color: #3F5F5F;
}
/* ================= Stocks Cards ================= */

.stock-image-wrapper {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.stock-image {
    width: 100%;
    max-width: 220px;
    height: auto;
    object-fit: contain;
}

/* Country Name */
.stock-country-name {
    background: linear-gradient(135deg, #0A4F4F, #0A5F5F);
    color: #ffffff;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    padding: 14px 10px;
}

/* ===============Fade Up Animation=============== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}
/* ===========Tablet Responsive=========== */
@media (min-width: 401px) and (max-width: 768px) {

    .testimonials-subtitle {
        font-size: 32px;
        margin-bottom: 40px;
    }

    /* Grid: 4 cards per row */
    .testimonials-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    /* Card */
    .testimonial-card {
        height: auto;
    }

    /* Flag Image */
    .stock-image-wrapper {
        padding: 20px;
    }

    .stock-image {
        max-width: 90px;
    }

    /* Country Name */
    .stock-country-name {
        font-size: 14px;
        padding: 12px 8px;
    }

    /* Section Description */
    .testimonials-description {
        font-size: 16px;
        padding: 0 16px;
    }
}
/* ================ Mobile Responsive ================= */
@media (max-width: 400px) {

    .testimonials-subtitle {
        font-size: 26px;
        margin-bottom: 32px;
    }

    /* Grid: 2 cards per row */
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    /* Card */
    .testimonial-card {
        height: auto;
    }

    /* Flag Image */
    .stock-image-wrapper {
        padding: 16px;
    }

    .stock-image {
        max-width: 72px;
    }

    /* Country Name */
    .stock-country-name {
        font-size: 13px;
        padding: 10px 6px;
    }

    /* Section Description */
    .testimonials-description {
        font-size: 15px;
        padding: 0 8px;
    }
}
