/* Global Components - Reviews & FAQ Sections */

/* FAQ/Help Section */
.faq-help-section {
    padding: 80px 20px;
    background: #d8efff;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.faq-help-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.faq-help-left h2 {
    font-size: 42px;
    font-weight: 800;
    color: #1b50b3;
    line-height: 1.2;
    margin: 0 0 24px 0;
}

.ask-question-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: white;
    color: #1b50b3;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    transition: all 0.3s ease;
}

.ask-question-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.ask-question-btn svg {
    width: 20px;
    height: 20px;
    color: #1b50b3;
}

.faq-help-right {
    padding-top: 8px;
}

.faq-subtitle {
    font-size: 13px;
    color: #1f2a44;
    margin: 0 0 16px 0;
    font-weight: 500;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    border-bottom: 1px solid rgba(27, 80, 179, 0.15);
}

.faq-item:first-child {
    border-top: 1px solid rgba(27, 80, 179, 0.15);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    background: none !important;
    border: none;
    text-align: left;
    cursor: pointer;
    color: #1f2a44;
    font-size: 15px;
    font-weight: 500;
}

.faq-help-section .faq-question:hover {
    background-color: transparent !important;
    color: #1b50b3 !important;
}

.faq-help-section .faq-question:focus {
    background-color: transparent !important;
    color: #1b50b3 !important;
}

.faq-question span {
    flex: 1;
}

.faq-icon {
    flex-shrink: 0;
    color: #1b50b3;
    transition: transform 0.3s ease;
    margin-left: 12px;
}

.faq-item.active .faq-icon {
    transform: rotate(90deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
    padding: 0 0 16px 0;
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #5a6c7d;
}

/* Reviews Section */
.reviews-section-wrapper {
    padding: 80px 20px;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.reviews-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 60px 0;
    border-radius: 24px;
    background: #d8efff;
    position: relative;
    overflow: hidden;
    display: flex;
    max-height: 800px;
    flex-direction: column;
}

.reviews-copy {
    padding: 12px 0;
    text-align: center;
}

.reviews-title {
    font-size: 42px;
    font-weight: 800;
    color: #1b50b3;
    line-height: 1.2;
    margin: 0 0 16px 0;
}

.reviews-link {
    font-weight: 600;
    color: #1b50b3;
    text-decoration: none;
    display: inline-block;
    margin-top: 8px;
}

.reviews-grid-wrapper {
    flex: 1.5;
    position: relative;
    height: 420px;
    overflow: hidden;
}

/* Gradient handled by .reviews-section::after */
.reviews-grid-wrapper::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    background: linear-gradient(to top, rgba(216,239,255,1) 35%, rgba(216,239,255,0));
    pointer-events: none;
}

.reviews-grid {
    height: 100%;
    overflow: hidden;
    column-gap: 24px;
    column-count: 3; /* 3 columns for 1200px container */
}

.review-card {
    background: #fff;
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 24px;
    display: inline-block;
    width: 100%;
    break-inside: avoid-column;
    page-break-inside: avoid;
    -webkit-column-break-inside: avoid;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.review-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.review-stars {
    color: #f1c40f;
    letter-spacing: 1px;
}

.review-icon {
    width: 24px;
    height: 24px;
    background: #f1f3f5;
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.review-icon::before {
    content: '';
    width: 0; height: 0;
    border-left: 6px solid #9aa4af;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
}

.review-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1f2a44;
    margin: 0 0 8px 0;
}

.review-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #344055;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    /* Reviews Section: 3 columns at large tablet/desktop */
    .reviews-grid { column-count: 3; }
}

@media (max-width: 992px) {
    /* FAQ/Help Section */
    .faq-help-container {
        grid-template-columns: 1fr;
        gap: 0px;
    }

    /* Reviews Section */
    .reviews-section { flex-direction: column; gap: 40px; }
    .reviews-grid { column-count: 2; }
}

@media (max-width: 768px) {
    /* FAQ/Help Section */
    .faq-help-left h2 {
        font-size: 32px;
    }

    /* Reviews Section */
    .reviews-grid { column-count: 1; }
    
    .reviews-section-wrapper {
        padding: 40px 20px;
    }
    
    .reviews-section {
        padding: 40px 30px 0;
    }
    
    .reviews-title {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .faq-help-section {
        padding: 60px 20px;
    }
    
    .reviews-section {
        padding: 30px 20px 0;
    }
    
    .reviews-title {
        font-size: 28px;
    }
}

/* --------------------------------------------------------------
   Why Work With Us (universal styles)
-------------------------------------------------------------- */
.why-work-section {
    padding: 80px 20px;
    background: #ffffff;
}

.why-work-container {
    max-width: 1200px;
    margin: 0 auto;
}

.why-work-section .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.why-work-section .section-header h2 {
    font-size: 36px;
    line-height: 1.2;
    color: #1f2a44;
    margin: 0 0 10px 0;
    font-weight: 800;
}

.why-work-section .section-header p {
    font-size: 16px;
    color: #5a6c7d;
    margin: 0;
}

.why-work-section .benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.why-work-section .benefit-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    padding: 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.why-work-section .benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.10);
}

.why-work-section .benefit-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1b50b3;
    margin-bottom: 12px;
}

.why-work-section .benefit-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1f2a44;
    margin: 0 0 8px 0;
}

.why-work-section .benefit-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #5a6c7d;
    margin: 0;
}

@media (max-width: 992px) {
    .why-work-section { padding: 60px 20px; }
    .why-work-section .benefits-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .why-work-section { padding: 40px 20px; }
    .why-work-section .section-header h2 { font-size: 30px; }
    .why-work-section .benefits-grid { grid-template-columns: 1fr; gap: 16px; }
}
