@import url('variables.css');
@import url('flexbox.css');
@import url('styles.css');
/* ==================================
        REVIEWS - TESTIMONIALS
===================================== */
.reviews-header-main {
    width: 50%;
    display: flex;
    justify-content: center;
}

.reviews-demo-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    padding: 12px 24px;
    color: #000;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s ease;
    font-family: var(--font-family-button);
    font-size: var(--font-size-button);
    font-weight: var(--font-weight-button);
    background-color: var(--secondary-color);
}

    .reviews-demo-button:hover {
        background-color: #0056b3;
        color: white;
    }

.review-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}
.review-grid {
    display: flex;
    gap: 2rem;
}

.review-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.review-card {
    background: #fff;
    border-radius: 1rem;
    padding: 2.5rem 1.5rem 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: visible;
}

.hidden-review {
    display: none;
}

.hidden {
    display: none;
}

.spinner {
    width: 18px;
    height: 18px;
    border: 3px solid #ccc;
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-box {
    background: white;
    padding: 24px 32px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

.spinner {
    position: relative;
    width: 80px;
    height: 80px;
    border: 6px solid rgba(22, 41, 96, 0.2);
    border-top: 6px solid #162960;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner-logo {
    position: absolute;
    width: 40px; 
    height: 40px;
    object-fit: contain;
}

.loading-text {
    font-family: var(--font-family-button);
    font-weight: 800;
    font-size: 18px;
    color: #162960;
    margin: 0;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.quote-icon-wrapper {
    position: absolute;
    top: -20px;
    left: 10px;
    padding: 0.2rem;
}

.quote-icon-wrapper-2 {
    position: absolute;
    top: -20px;
    left: 25px;
    padding: 0.2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.quote-icon {
    width: 60px;
    height: 60px;
}

.review-stars {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
}

    .review-stars svg {
        width: 20px;
        height: 20px;
        fill: #f5c518;
        margin-left: 3px;
    }

.review-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

.review-footer {
    margin-top: 1.5rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}

.review-author {
    font-weight: 600;
    color: #444;
}

.review-divider {
    border: none;
    border-top: 1px solid #e9e9e9;
    margin: 1rem 0 1rem;
}
/*RESPONSIVE*/
@media screen and (max-width: 576px) {
    .reviews-header-main {
        width: 100%;
        padding: 0 1rem;
    }

    .reviews-title {
        font-size: 45px !important;
        white-space: normal;
    }

    .reviews-subtitle {
        white-space: normal;
        font-size: 1.5rem;
    }

    .review-grid {
        flex-direction: column;
        gap: 1.5rem;
    }

    .review-column {
        width: 100%;
    }

    .review-card {
        padding: 1.5rem 1rem;
    }

    .quote-icon {
        width: 40px;
        height: 40px;
    }

    .review-stars svg {
        width: 16px;
        height: 16px;
    }

    .reviews-demo-button,
    .load-more-btn {
        width: 100%;
        padding: 0.75rem;
        font-size: 1rem;
    }

    .review-text {
        font-size: 0.95rem;
    }

    .review-author {
        font-size: 0.95rem;
    }

    .quote-icon-wrapper-2 {
        width: 40px;
        height: 40px;
    }
}
@media screen and (min-width: 2560px) {
    .review-wrapper {
        max-width: 2000px;
        padding: 4rem;
    }

    .reviews-header-main {
        width: 50%;
    }

    .reviews-title {
        font-size: 3rem;
    }

    .reviews-subtitle {
        font-size: 1.5rem;
    }

    .review-card {
        padding: 3.5rem 2rem;
        font-size: 1.25rem;
    }

    .quote-icon {
        width: 80px;
        height: 80px;
    }

    .review-stars svg {
        width: 28px;
        height: 28px;
    }

    .review-text {
        font-size: 1.25rem;
    }

    .review-author {
        font-size: 1.2rem;
    }

    .reviews-demo-button,
    .load-more-btn {
        font-size: 1.2rem;
        padding: 1rem 2rem;
    }
}
