﻿@import url('variables.css');
@import url('flexbox.css');
@import url('styles.css');
/* ==================================
            FRANCHISORS
===================================== */
.franchisors-header-main {
    width: 50%;
    display: flex;
    justify-content: center;
}

.franchisors-header-content {
    padding: 34px 16px 0 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.franchisors-title {
    white-space: nowrap;
    text-align: center;
    margin: 0 auto;
}

.franchisors-title {
    margin-bottom: 20px;
    margin-top: 0px;
}
/* --------- SECTION CONTENT --------- */
.body {
    font-family: var(--font-family-body);
    color: black;
    justify-content: center;
}

.container {
    padding-top: 30px;
    padding-bottom: 30px;
    display: flex;
    max-width: 1200px;
    width: 75%;
    align-items: center;
    gap: 80px;
    margin: 0 auto;
}

.content {
    flex: 1;
}

    .content h1 {
        font-weight: 600;
        font-size: 2.5rem;
        margin-bottom: 20px;
        line-height: 1;
    }

    .content p {
        font-size: 16px;
        margin-bottom: 30px;
    }

.buttons {
    display: flex;
    gap: 15px;
}

    .buttons button {
        display: inline-flex; 
        align-items: center;
        gap: 10px;
    }

.image img {
    max-width: 500px;
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.why-choose {
    width: 100%;
    text-align: center;
    margin-top: 90px;
}

    .why-choose h2 {
        font-weight: 600;
        font-size: 32px;
        margin-bottom: 30px;
        line-height: 1;
    }

.choose-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}
.button-why {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-family-button);
    font-size: 12px;
    font-weight: var(--font-weight-button);
    border: none;
    border-radius: 7px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: auto;
}

.button-why {
    padding: 10px 20px;
    background-color: #0384C7;
    color: white;
}

    .button-why.active {
        background-color: var(--secondary-color);
        color: black;
    }

.button-why:hover {
    background-color: var(--secondary-color);
    color: black;
}

    .button-why:hover span {
        color: black;
    }

.cards-wrapper {
    width: 80%;
    max-width: 1000px;
    margin: 50px auto;
    display: flex;
    flex-direction: column;
    gap: 80px;
    position: relative;
}

.card {
    position: relative;
    display: flex;
    align-items: center;
    height: 350px;
    justify-content: flex-start;
    margin-left: 30px;
}

.card-image {
    z-index: 1;
    flex-shrink: 0;
}

    .card-image img {
        display: block;
        height: 350px;
        width: auto;
        border-radius: 10px 0 0 10px;
    }

.card-content {
    position: absolute;
    top: 48px;
    right: 60px;
    width: 53%;
    max-width: 600px;
    height: 300px;
    background-color: #b4daef;
    padding: 30px;
    border-radius: 0 10px 10px 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 0;
    transform: translateX(30px);
    box-sizing: border-box;
    overflow-wrap: break-word;
    margin-right: 20px;
    text-align: left;
}

    .card-content h2 {
        font-family: var(--font-family-body);
        font-weight: bold;
        margin: 10px 0 10px 40px;
        line-height: 1.2;
        font-size: 25px;
    }

.card-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 20px 0 10px 40px;
}

    .card-list li {
        display: flex;
        align-items: flex-start;
        gap: 10px;
    }

        .card-list li img {
            width: 15px;
            height: 15px;
            flex-shrink: 0;
            margin-top: 4px;
        }

        .card-list li p {
            margin: 0;
            font-size: 14px;
            color: black;
        }

.how-it-works {
    margin: 0;
    background-color: #f0f1f4; 
    padding: 60px 20px;
    text-align: center;
}

    .how-it-works h2 {
        font-size: 32px;
        font-weight: 600;
        margin-bottom: 40px;
    }

.hiw-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
}

.hiw-card {
    background: white;
    border-radius: 12px;
    padding: 30px 20px;
    width: 220px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.hiw-icon {
    background-color: #DDF3FF;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 7px;
}

    .hiw-icon img {
        width: auto;
        height: 40px;
    }

.hiw-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.hiw-card p {
    font-size: 14px;
    color: #333;
    margin: 0;
}

.hiw-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

    .hiw-buttons button {
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

@media (max-width: 576px) {
    .hiw-card {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 16px;
        padding: 20px;
    }

    .hiw-icon {
        padding: 8px;
        flex-shrink: 0;
        align-self: center;
        margin-bottom: 0;
    }

        .hiw-icon img {
            height: 40px;
            width: 40px;
        }

    .hiw-text {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

        .hiw-text h3 {
            margin: 0 0 4px 0;
            font-size: 16px;
        }

        .hiw-text p {
            margin: 0;
            font-size: 14px;
            color: #555;
        }
}

.review-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

    .review-wrapper h2 {
        font-size: 32px;
        font-weight: 600;
        margin-top: 30px;
        margin-bottom: 60px;
        text-align: center;
    }

.review-grid {
    display: flex;
    gap: 1rem;
    justify-content: center; 
    flex-wrap: wrap; 
}

.review-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    padding: 2.5rem 1.5rem 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 180px;
    width: 420px;
}

    .review-card h6 {
        font-size: 1rem;
        word-wrap: break-word;
    }

.quote-icon-wrapper {
    position: absolute;
    top: -35px;
    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-footer h3 {
        font-size: 1rem;
        font-weight: 450;
    }

.faq-section {
    font-family: var(--font-family-body);
    display: flex;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    align-items: flex-start;
    margin-top: 20px;
    margin-bottom: 40px;
}

.faq-title {
    flex: 1;
}

    .faq-title h2 {
        font-size: 32px;
        font-weight: 600;
        margin: 0;
    }

.faq-container {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 600px;
}

.faq-item {
    background: #f5f6f7;
    border-radius: 8px;
    overflow: hidden;
    transition: background 0.3s ease;
}

    .faq-item.active {
        background: #f4b400;
    }

.faq-toggle {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 16px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-family-body);
    color: black;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-divider {
    border-top: 1px solid rgba(0,0,0,0.2);
    margin: 0 16px;
}

.faq-answer {
    font-family: var(--font-family-body);
    padding: 16px;
    font-size: 15px;
    color: #000;
    line-height: 1.5;
}

.faq-arrow {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

/* ==================================
   RESPONSIVE DESIGN
===================================== */

/* Tablet-Mobile */
@media (max-width: 992px) {
    .container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        width: 90%;
    }

    .card {
        flex-direction: column;
        height: auto;
        margin-left: 0;
        align-items: center;
    }

    .card-image img {
        margin-top: -60px !important;
        padding: 0 !important;
        border-radius: 10px 10px 0 0;
        width: 90%;
        height: auto;
        object-fit: contain;
        display: block;
        margin: 0 auto;
    }

    .card-content {
        position: static;
        transform: none;
        margin: 0;
        width: 100%;
        border-radius: 10px 10px 10px 10px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        height: auto;
    }

    .cards-wrapper {
        width: 90%;
        gap: 40px;
    }

    .buttons {
        flex-direction: column;
        align-items: center;
    }

    .why-choose {
        justify-content: center;
    }

    .choose-buttons {
        gap: 10px;
    }

    .button-why {
        width: 50%;
    }

    .faq-section {
        flex-direction: column;
        gap: 1.5rem;
        padding: 20px;
    }

    .faq-container {
        max-width: 100%;
    }

    .review-grid {
        flex-direction: column;
        align-items: center;
    }

    .review-card {
        width: 90%;
        height: auto;
        margin-bottom: 20px;
    }
}

/* MOBILE */
@media (max-width: 576px) {
    .card {
        margin-left: 0 !important;
    }

    .card-content {
        right: 0 !important;
        padding: 20px !important;
        transform: none !important;
    }
    .franchisors-header-main,
    .franchisors-header-content {
        width: 100%;
    }

    .content h1 {
        font-size: 1.8rem;
    }

    .content p {
        font-size: 14px;
    }

    .franchisors-title {
        font-size: 40px;
        white-space: normal;
        word-break: break-word;
        text-align: center;
    }

    .faq-title h2,
    .review-wrapper h2,
    .why-choose h2,
    .how-it-works h2 {
        font-size: 1.5rem;
    }

    .hiw-icon img {
        height: 30px;
    }

    .card-content h2 {
        font-size: 20px;
        margin-left: 20px;
    }

    .card-list {
        margin-left: 20px;
    }

        .card-list li p {
            font-size: 13px;
        }
}
