/* ==========================================================================
   1. BASE RESETS & LAYOUT FOUNDATIONS
   ========================================================================== */
body,
html {
    margin: 0;
    padding: 0%;
    scroll-behavior: smooth;
    scroll-padding-top: 150px;
}

.container {
    max-width: 1920px;
    margin: 5px auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-family: "Comic Sans", sans-serif;
    line-height: 1.5;
}

span.col.ease.placeholder {
    display: none;
}

.franchise-landing-page-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.franchise-section {
    display: flex;
    position: relative;
}


/* ==========================================================================
   2. TYPOGRAPHY & TEXT UTILITIES
   ========================================================================== */
.section-title-b {
    font-size: 1.6em;
    margin: 20px 0;
    font-weight: 600;
}

.section-title-m {
    font-size: 1.5em;
    margin: 20px 0;
    font-weight: 600;
}

.section-title-s {
    font-size: 1em;
    font-weight: 600;
}

.motto-title-b {
    text-align: center;
    font-size: 2.5em;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 10px;
    color: #21488A;
    margin: 20px 0;
    font-family: "Montserrat", sans-serif !important;
}

.motto-title-s {
    text-transform: uppercase;
    text-align: center;
    font-size: 2em;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 10px;
    color: #21488A;
    margin: 20px 0;
    font-family: "Montserrat", sans-serif !important;
}

.franchisee-text {
    text-align: center;
    margin-top: 10px;
}


/* ==========================================================================
   3. STRUCTURAL COMPONENT BLOCKS (IMAGES, LISTS, BUTTONS)
   ========================================================================== */
.section-button {
    display: flex;
}

.section-image {
    display: flex;
    justify-content: center;
    width: 60%;
    margin: 10px 0;
}

    .section-image img {
        width: 100%;
        object-fit: contain;
    }

.section-text {
    padding: 10px;
}

.franchise-landing-page-wrapper ul {
    padding: 10px;
    list-style-type: disclosure-closed;
}


/* ==========================================================================
   4. INDIVIDUAL PAGE SECTIONS (0 - 9)
   ========================================================================== */
/* Section 0 */
.section0 li {
    margin: 2em 0;
    font-size: 1.5em;
    font-weight: 600;
}

/* Section 1 */
.section1 {
    background-color: #21488A;
    color: #F7FDF2;
    padding: 5%;
}

/* Section 2 */
.section2 {
    display: flex;
    align-items: center;
}

    .section2 .section-text {
        background-color: #ff8c05;
        color: #F7FDF2;
        padding: 40px 20px;
        height: max-content;
        display: flex;
        align-items: center;
    }

    .section2 li {
        margin: 3em;
    }

/* Section 3 */
.section3 {
    background-color: #143f85;
    color: #F7FDF2;
    padding: 40px 20px;
    justify-content: space-evenly;
}

    .section3 .section-text {
        margin: 0 3em;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .section3 .section-image {
        width: 100px;
        height: 100px;
    }

/* Section 4 */
.section4 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

    .section4 .section-image {
        width: 70%;
        margin: 2em 0;
    }

/* Section 5 */
.section5 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

    .section5 .section-text {
        width: 65%;
        padding: 50px 20px;
        background-color: #f78b08;
        color: #F7FDF2;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .section5 .section-content {
        width: 50%;
    }

/* Section 6 */
.section6 .section-text {
    width: 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #21488A;
}

.section6 .section-content {
    width: 80%;
}

.section6 .section-image img {
    object-fit: contain;
}

/* Section 7 */
.section7 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

    .section7 .section-text {
        display: flex;
        justify-content: center;
        align-items: center;
        color: #21488A;
    }

    .section7 .section-content {
        width: 50%;
        padding: 20px;
    }

/* Section 8 */
.section8 {
    background-color: #21488A;
    color: #F7FDF2;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .section8 .section-text {
        display: flex;
        justify-content: center;
    }

    .section8 .section-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 5em;
    }

    .section8 .section-image {
        width: 40%;
        flex-direction: column;
        align-items: center;
    }

/* Section 9 */
.section9 {
    background-color: #f78b08;
    color: #F7FDF2;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

    .section9 .section-image {
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

        .section9 .section-image img {
            object-fit: scale-down;
        }


/* ==========================================================================
   5. CTA BUTTONS & INTERACTIVE EFFECTS
   ========================================================================== */
.section-button-red {
    padding: 15px 35px;
    border-radius: 25px;
    background-color: #d0061c;
    color: #F7FDF2;
    width: max-content;
    font-weight: 600;
    margin: 20px 0;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
}

.section-button-orange {
    padding: 15px;
    border-radius: 25px;
    background-color: #ff8c05;
    color: #F7FDF2;
    width: max-content;
    font-weight: 600;
    margin: 20px 0;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
}

.zoom:hover {
    transform: scale(1.05);
    box-shadow: 0px 0px 15px #888888;
}

.sticky-button-wrapper {
    z-index: 999;
}


/* ==========================================================================
   6. RESPONSIVE DESIGN BREAKPOINTS (CORE SITE)
   ========================================================================== */
/* Tablet / Small Desktop (1024px and down) */
@media screen and (max-width: 1024px) {
    .section0 li {
        font-size: 1.1em;
        margin: 1em 0;
    }

    .section1, .section2, .section7 .section-text {
        flex-direction: column;
    }

    .section6 {
        flex-direction: column-reverse;
    }

        .section6 .section-image img {
            width: 80%;
        }

    .section7 .section-text:last-child {
        flex-direction: column-reverse;
    }

    .section8 .section-text {
        flex-direction: column;
    }

    .section-image {
        width: 100% !important;
    }

    .section-text {
        text-align: left;
    }

    .section3 {
        padding: 10px;
        align-items: baseline;
    }

        .section3 .section-text {
            margin: 0px;
            font-size: 0.7em;
            text-align: center;
            width: auto;
            justify-content: space-evenly;
        }

        .section3 .section-image {
            width: 50px;
            height: 50px;
        }

    .motto-title-b {
        font-size: 2em;
        margin: 1em;
    }

    .motto-title-s {
        font-size: 1.2em;
        margin: 0;
    }

    .section-button {
        justify-content: center;
    }

    .section5 .section-content, .section5 .section-text, .section6 .section-text, .section6 .section-content, .section7 .section-content {
        width: auto;
    }

    .section5 .section-text {
        padding: 20px;
    }

    .section5 .section-title-b {
        font-size: 1.5em;
    }

    .section6 .section-text {
        background-color: #21488A;
        color: #F7FDF2;
    }

    .section6 .section-title-b {
        color: #F7FDF2 !important;
    }

    .section7 .section-content {
        padding: 5px;
        text-align: start !important;
    }

    .section8 .section-content {
        padding: 5px;
        margin: 0;
    }

    .section2 .section-text {
        padding: 0;
    }

    .section2 li {
        margin: 1em;
        font-weight: 500;
    }

    .section2 .section-image {
        margin: 0;
    }

    .section9 .section-image {
        padding: 0 10px;
    }

    .section8 img {
        width: 60%;
    }

    .section4 {
        padding: 10px;
    }

    .section8 .section-title-b {
        font-size: 1.5em;
    }
}

/* Mobile Devices (768px and down) */
@media screen and (max-width: 768px) {
    .franchise-section.section0.d-flex {
        flex-direction: column !important;
    }

    .sticky-button-red {
        padding: 15px 35px;
        background-color: #d0061c;
        color: #F7FDF2;
        font-weight: 600;
        margin: 20px 0;
        cursor: pointer;
        position: fixed;
        bottom: -20px;
        left: 0;
        right: 0;
        text-align: center;
        box-shadow: 1px 1px 10px #59050e;
        text-decoration: none;
    }

    .section-title-b, .section-title-m, .section-title-s {
        text-align: center;
    }
}

/* Desktop Enhanced Breakpoints (1024px and up) */
@media screen and (min-width: 1024px) {
    .sticky-button-red {
        padding: 15px 35px;
        border-radius: 25px;
        background-color: #d0061c;
        color: #F7FDF2;
        font-weight: 600;
        margin: 3px 0;
        cursor: pointer;
        position: fixed;
        top: 0;
        right: 0;
        text-align: center;
        box-shadow: 1px 1px 10px #59050e;
        text-decoration: none;
    }

    .section-button-red {
        width: 500px;
        font-size: 1.4em;
    }

    .section2 li {
        margin: 1.5em;
        font-size: 1.5em;
        font-weight: 600;
    }

    .section3 {
        justify-content: center;
    }

        .section3 .section-text {
            font-size: 1.2em;
        }

    .section5 .section-content {
        font-size: 1.2em;
    }
}


/* ==========================================================================
   7. GLOBAL LANGUAGE SELECTOR MODULE
   ========================================================================== */
.global-language-selector {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 9999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: #333333;
    background: #ffffff;
    border: 1px solid #cccccc;
    padding: 6px 12px;
    border-radius: 4px;
    user-select: none;
    transition: background-color 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

    .lang-btn:hover {
        background-color: #f9f9f9;
    }

.lang-dropdown {
    position: absolute;
    top: 42px;
    left: 0;
    background: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: none;
    flex-direction: column;
    min-width: 120px;
}

    .lang-dropdown.show {
        display: flex;
    }

.lang-option {
    padding: 10px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #333333;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

    .lang-option:hover {
        background: #f0f0f0;
    }

.lang-flag {
    font-size: 16px;
}


/* ==========================================================================
   8. LEAD APPLICATION FORM & INPUT FIELDS
   ========================================================================== */
:root {
    --primary-color: #555555;
    --header-bg: #214882;
    --bg-color: #ffffff;
    --card-bg: #ffffff;
    --border-color: #888888;
    --focus-color: #214882;
    --success-color: #2e7d32;
    --error-color: #c62828;
}

.form-container-box {
    width: 100%;
    max-width: 650px;
    padding: 0;
    border: 1px solid grey;
    box-shadow: 1px 1px 10px grey;
    background-color: var(--bg-color);
    color: #222222;
    margin: 30px auto;
    text-align: left;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.header-banner {
    width: 100%;
    background-color: var(--header-bg);
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 0;
    box-sizing: border-box;
}

    .header-banner h1 {
        color: #ffffff;
        font-size: 18px;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: 700;
        margin: 0;
    }

.form-wrapper {
    background: var(--card-bg);
    padding: 30px 30px 40px 30px;
}

.form-group {
    margin-bottom: 24px;
    position: relative;
    clear: both;
    display: flex;
    flex-direction: column;
}

    .form-group label {
        display: block;
        font-size: 13px;
        font-weight: 700;
        margin-bottom: 8px;
        color: #333333;
        text-align: left;
    }

    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="tel"],
    .form-group select,
    .form-group textarea {
        width: 100%;
        padding: 12px;
        border: 1px solid var(--border-color);
        border-radius: 2px;
        font-size: 14px;
        background-color: #ffffff;
        transition: border-color 0.2s ease;
        box-sizing: border-box;
    }

#notes {
    resize: none !important;
    min-height: 130px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--focus-color);
}

.radio-group, .checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 5px;
}

.radio-label, .checkbox-label {
    display: flex !important;
    align-items: center;
    font-weight: 500 !important;
    font-size: 14px !important;
    cursor: pointer;
    color: #444444;
}

    .radio-label input, .checkbox-label input {
        margin-right: 10px;
        width: 18px;
        height: 18px;
        cursor: pointer;
    }


/* ==========================================================================
   8b. INTERNATIONAL TELEPHONE INPUT (ITI) OVERRIDES
   ========================================================================== */
.phone-group {
    display: block;
    width: 100%;
}

.iti {
    width: 100% !important;
    display: block !important;
}

    .iti input[type="tel"] {
        display: block !important;
        height: 44px !important;
        line-height: normal !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

.iti__flag-container {
    height: calc(100% - 2px) !important;
    top: 1px !important;
    bottom: 1px !important;
    z-index: 10;
}

.iti__selected-flag {
    background-color: #f5f5f5 !important;
    border-right: 1px solid var(--border-color);
    padding: 0 12px 0 12px !important;
    height: 100%;
    border-radius: 2px 0 0 2px;
}


/* ==========================================================================
   8c. FORM ACTIONS, VALIDATION & MESSAGES
   ========================================================================== */
.captcha-container {
    min-height: 220px;
    margin-bottom: 30px;
}

#captcha {
    margin-top: 5px;
    width: 100%;
    display: block;
    position: relative;
}

.error-text {
    color: var(--error-color);
    font-size: 13px;
    text-align: center;
    margin-top: 10px;
    font-weight: 700;
}

.form-wrapper button {
    width: 100%;
    padding: 14px;
    background-color: #666666;
    color: white;
    border: none;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-top: 15px;
}

    .form-wrapper button:hover:not(:disabled) {
        background-color: #444444;
    }

#responseMessage {
    margin-top: 20px;
    padding: 12px;
    border-radius: 4px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
}

    #responseMessage.success {
        background-color: #e8f5e9;
        color: var(--success-color);
        border: 1px solid #c8e6c9;
    }

    #responseMessage.error {
        background-color: #ffebee;
        color: var(--error-color);
        border: 1px solid #ffcdd2;
    }

.hidden {
    display: none !important;
}

button.passive, button:disabled {
    background-color: #999999 !important;
    cursor: not-allowed !important;
    opacity: 0.65;
}

.mt-2 {
    margin-top: 10px;
}


/* ==========================================================================
   9. LEGAL OVERLAY MODAL
   ========================================================================== */
.modal {
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #ffffff;
    padding: 35px 30px;
    border-radius: 4px;
    max-width: 780px;
    width: 92%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 4px 25px rgba(0,0,0,0.25);
}

.close-modal {
    color: #e53935;
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 26px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.15s ease;
    z-index: 10;
}

    .close-modal:hover {
        transform: scale(1.2);
    }

.modal-legal-text h2 {
    font-size: 19px;
    font-weight: 700;
    color: #444444;
    line-height: 1.4;
    margin-bottom: 20px;
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 15px;
}

.modal-legal-text h3 {
    font-size: 14px;
    font-weight: 700;
    color: #333333;
    margin-top: 18px;
    margin-bottom: 6px;
}

.modal-legal-text p, .modal-legal-text li {
    font-size: 12.5px;
    color: #666666;
    line-height: 1.6;
    text-align: justify;
}

.modal-legal-text ul {
    margin-left: 18px;
    margin-top: 6px;
    margin-bottom: 12px;
}

.modal-legal-text li {
    margin-bottom: 8px;
    list-style-type: disc;
}


/* ==========================================================================
   10. CAPTCHA SLIDER ADJUSTMENTS & COMPATIBILITY FIXES
   ========================================================================== */
.sliderContainer .text,
.sliderContainer .slider-text,
.sliderContainer span,
#captcha text {
    pointer-events: none !important;
    user-select: none !important;
    z-index: 1 !important;
}

.sliderContainer .slider {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 5 !important;
}

    .sliderContainer .slider::after {
        content: "➔" !important;
        color: #444444 !important;
        font-size: 18px !important;
        font-weight: bold !important;
    }

    .sliderContainer .slider i,
    .sliderContainer .sliderIcon {
        display: none !important;
    }


/* ==========================================================================
   11. TOP BRAND LOGO HERO INTERFACE
   ========================================================================== */
.logo-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px 0;
    background-color: #ffffff;
}

.top-logo {
    max-width: 180px;
    height: auto;
    transition: opacity 0.2s ease;
}


/* Brand Logo Responsive Rules */
@media screen and (max-width: 768px) {
    .logo-container {
        padding: 15px 0;
    }

    .top-logo {
        max-width: 140px;
    }
}
