﻿:root {
    --basi-red: #e12826;
    --basi-rose: #e03e43;
    --basi-ink: #3d3d3c;
    --basi-soft: #faf6f2;
    --basi-line: rgba(61,61,60,.12);
}

.franchise-page {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 8% 8%, rgba(225,40,38,.13), transparent 32%), radial-gradient(circle at 88% 12%, rgba(224,62,67,.10), transparent 30%), linear-gradient(180deg,#fff 0%,#faf6f2 55%,#fff 100%);
    padding: 86px 0;
}

    .franchise-page:before {
        content: "";
        position: absolute;
        inset: 22px;
        border: 1px solid rgba(61,61,60,.07);
        border-radius: 34px;
        pointer-events: none;
    }

.franchise-wrap {
    position: relative;
    max-width: 1120px;
    margin: auto;
    padding: 0 18px;
}

.franchise-head {
    max-width: 850px;
    margin: 0 auto 42px;
    text-align: center;
}

.franchise-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--basi-red);
    background: rgba(225,40,38,.08);
    border: 1px solid rgba(225,40,38,.16);
    padding: 9px 16px;
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 18px;
}

    .franchise-kicker:before,
    .franchise-kicker:after {
        content: "";
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--basi-red);
    }

.franchise-head h1,
.franchise-head h2 {
    margin: 0 0 18px;
    color: #2d2d2b;
    font-size: 46px;
    line-height: 1.08;
    letter-spacing: -1.2px;
    font-weight: 700;
}

.franchise-head p {
    max-width: 760px;
    margin: auto;
    color: #68645f;
    font-size: 16px;
    line-height: 1.8;
}

.basi-loader-popup {
    border-radius: 28px !important;
    padding: 32px !important;
}

.franchise-card {
    position: relative;
    background: rgba(255,255,255,.82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 32px;
    padding: 10px;
    box-shadow: 0 34px 90px rgba(61,61,60,.13), inset 0 1px 0 rgba(255,255,255,.7);
    border: 1px solid rgba(255,255,255,.72);
}

    .franchise-card:before {
        content: "";
        position: absolute;
        inset: 0;
        padding: 1px;
        border-radius: 32px;
        background: linear-gradient(135deg,rgba(225,40,38,.45),rgba(255,255,255,.35),rgba(61,61,60,.12));
        -webkit-mask: linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        pointer-events: none;
    }

.form-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 22px;
    background: #fff;
    border-radius: 26px;
    padding: 34px;
}

    .form-grid:before {
        content: "Franchise Application";
        grid-column: 1 / -1;
        display: block;
        color: #2f2f2e;
        font-size: 24px;
        line-height: 1.2;
        font-weight: 700;
        letter-spacing: -.02em;
        margin-bottom: 2px;
    }

    .form-grid:after {
        content: "Please fill the details below. Our team will review your enquiry and contact you shortly.";
        grid-column: 1 / -1;
        display: block;
        color: #77716b;
        font-size: 14px;
        line-height: 1.7;
        margin-top: -14px;
        margin-bottom: 6px;
    }

.form-group {
    display: flex;
    flex-direction: column;
}

    .form-group.full {
        grid-column: 1 / -1;
    }

    .form-group label {
        font-size: 13px;
        color: #3d3d3c;
        font-weight: 700;
        margin-bottom: 9px;
    }

.required {
    color: var(--basi-red);
}

.form-control-custom {
    width: 100%;
    border: 1px solid rgba(61,61,60,.14);
    background: linear-gradient(180deg,#fff,#fffaf8);
    border-radius: 16px;
    min-height: 54px;
    padding: 13px 16px;
    font-size: 15px;
    color: #302f2e;
    outline: none;
    transition: .24s ease;
    box-shadow: 0 8px 20px rgba(61,61,60,.035);
}

    .form-control-custom::placeholder {
        color: #aaa29b;
    }

    .form-control-custom:hover {
        border-color: rgba(225,40,38,.32);
    }

    .form-control-custom:focus {
        border-color: var(--basi-red);
        background: #fff;
        box-shadow: 0 0 0 4px rgba(225,40,38,.09), 0 14px 30px rgba(61,61,60,.07);
    }

select.form-control-custom {
    cursor: pointer;
}

textarea.form-control-custom {
    min-height: 132px;
    resize: vertical;
    line-height: 1.7;
}

.btn-franchise-submit {
    position: relative;
    overflow: hidden;
    border: 0;
    width: 100%;
    max-width: 320px;
    background: linear-gradient(135deg,var(--basi-red),var(--basi-rose));
    color: #fff;
    border-radius: 999px;
    padding: 16px 34px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 18px 38px rgba(225,40,38,.28), inset 0 1px 0 rgba(255,255,255,.35);
    transition: .25s ease;
}

    .btn-franchise-submit:before {
        content: "";
        position: absolute;
        top: 0;
        left: -80%;
        width: 50%;
        height: 100%;
        background: linear-gradient(90deg,transparent,rgba(255,255,255,.34),transparent);
        transform: skewX(-18deg);
        transition: .55s ease;
    }

    .btn-franchise-submit:hover {
        transform: translateY(-2px);
        box-shadow: 0 24px 50px rgba(225,40,38,.34), inset 0 1px 0 rgba(255,255,255,.4);
    }

        .btn-franchise-submit:hover:before {
            left: 130%;
        }

.form-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #77716b;
    margin-top: 16px;
}

    .form-note:before {
        content: "✓";
        width: 20px;
        height: 20px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(225,40,38,.09);
        color: var(--basi-red);
        font-weight: 700;
    }

span[style*="color:Red"],
span[style*="#e12826"] {
    margin-top: 7px;
    font-size: 12px;
    font-weight: 600;
}

/* FAQ */
.franchise-faq-section {
    padding: 90px 0;
    background: #fff;
}

.franchise-faq-grid {
    max-width: 920px;
    margin: 50px auto 0;
    display: grid;
    gap: 18px;
}

.faq-item {
    background: #fff;
    border: 1px solid rgba(61,61,60,.10);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(61,61,60,.05);
}

.faq-question {
    width: 100%;
    border: 0;
    background: #fff;
    padding: 22px 70px 22px 24px;
    text-align: left;
    position: relative;
    cursor: pointer;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 700;
    color: #2f2f2e;
}

    .faq-question:after {
        content: "+";
        position: absolute;
        right: 24px;
        top: 50%;
        transform: translateY(-50%);
        width: 34px;
        height: 34px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(225,40,38,.08);
        color: var(--basi-red);
        font-size: 22px;
        font-weight: 700;
    }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
    padding: 0 24px;
    color: #6a655f;
    font-size: 15px;
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 420px;
    padding: 0 24px 24px;
}

.faq-item.active .faq-question:after {
    content: "−";
    background: var(--basi-red);
    color: #fff;
}

/* Mobile */
@media(max-width:900px) {
    .franchise-page {
        padding: 60px 0;
    }

    .form-grid {
        grid-template-columns: 1fr;
        padding: 26px;
    }

    .franchise-head h1,
    .franchise-head h2 {
        font-size: 36px;
    }
}

@media(max-width:575px) {
    .franchise-page {
        padding: 42px 0;
    }

        .franchise-page:before {
            inset: 10px;
            border-radius: 22px;
        }

    .franchise-head {
        margin-bottom: 30px;
    }

        .franchise-head h1,
        .franchise-head h2 {
            font-size: 30px;
            line-height: 1.12;
            letter-spacing: -.8px;
        }

        .franchise-head p {
            font-size: 15px;
            line-height: 1.7;
        }

    .franchise-kicker {
        font-size: 10px;
        letter-spacing: .10em;
        padding: 8px 12px;
    }

    .franchise-card {
        border-radius: 24px;
        padding: 7px;
    }

    .form-grid {
        border-radius: 20px;
        padding: 22px;
        gap: 18px;
    }

        .form-grid:before {
            font-size: 22px;
        }

    .btn-franchise-submit {
        max-width: 100%;
    }

    .franchise-faq-section {
        padding: 60px 0;
    }

    .franchise-faq-grid {
        margin-top: 32px;
        gap: 14px;
    }

    .faq-question {
        padding: 18px 58px 18px 18px;
        font-size: 14px;
    }

    .faq-answer {
        font-size: 14px;
        line-height: 1.75;
    }
}
