/* =============================================
   FRANCHISE PAGE STYLES
   ============================================= */

/* ---- Hero ---- */
.franchise-hero {
    position: relative;
    min-height: 540px;
    background: url('../images/Franchise.png') center center / cover no-repeat;
    display: flex;
    align-items: center;
    padding-top: 90px;
    overflow: hidden;
}

.franchise-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    /* background: linear-gradient(120deg, rgba(15,15,15,0.82) 50%, rgba(233,19,39,0.18) 100%); */
    background: black;
    z-index: 1;
}

.franchise-hero .container {
    position: relative;
    z-index: 2;
    height: 100%;
}

.franchise-hero-content {
    padding: 60px 0;
}

.franchise-badge {
    display: inline-block;
    background: #e91327;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 20px;
    margin-bottom: 18px;
}

.franchise-hero-content h1 {
    font-size: 52px;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 18px;
}

.franchise-hero-content h1 span {
    color: #e91327;
}

.franchise-hero-content p {
    font-size: 17px;
    color: rgba(255,255,255,0.85);
    max-width: 520px;
    line-height: 1.8;
    margin-bottom: 32px;
}

.franchise-hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.fran-btn-primary {
    background: #e91327;
    color: #fff;
    padding: 13px 34px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    display: inline-block;
}

.fran-btn-primary:hover {
    background: #c40f20;
    color: #fff;
    transform: translateY(-2px);
    text-decoration: none;
}

.fran-btn-outline {
    background: transparent;
    color: #fff;
    padding: 12px 32px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    border: 2px solid rgba(255,255,255,0.6);
    transition: border-color 0.2s, background 0.2s;
    display: inline-block;
}

.fran-btn-outline:hover {
    border-color: #e91327;
    background: rgba(233,19,39,0.15);
    color: #fff;
    text-decoration: none;
}

.franchise-hero-img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.35));
    animation: floatHero 3.5s ease-in-out infinite;
}

@keyframes floatHero {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

/* ---- Stats Bar ---- */
.franchise-stats-bar {
    background: #e91327;
    padding: 36px 0;
}

.stat-item h3 {
    font-size: 38px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
    line-height: 1;
}

.stat-item h3 span {
    font-size: 26px;
}

.stat-item p {
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    font-weight: 500;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---- Section Subtitle ---- */
.fran-subtitle {
    color: #777;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto 10px;
    line-height: 1.7;
}

/* ---- Why Choose Us ---- */
.franchise-why {
    padding: 80px 0 60px;
    background: #fff;
}

.fran-why-grid {
    margin-top: 10px;
}

.fran-why-card {
    background: #f9f9f9;
    border-radius: 14px;
    padding: 34px 28px;
    margin-bottom: 24px;
    transition: box-shadow 0.25s, transform 0.25s;
    border-left: 4px solid transparent;
}

.fran-why-card:hover {
    box-shadow: 0 10px 36px rgba(233,19,39,0.10);
    transform: translateY(-4px);
    border-left-color: #e91327;
}

.fran-why-icon {
    width: 54px;
    height: 54px;
    background: #e91327;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.fran-why-icon i {
    font-size: 22px;
    color: #fff;
}

.fran-why-card h4 {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.fran-why-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.75;
    margin: 0;
}

/* ---- How It Works ---- */
.franchise-steps {
    padding: 80px 0 60px;
    background: #f7f7f7;
}

.fran-steps-row {
    margin-top: 16px;
}

.fran-step-card {
    background: #fff;
    border-radius: 14px;
    padding: 36px 24px;
    text-align: center;
    margin-bottom: 24px;
    position: relative;
    transition: box-shadow 0.25s, transform 0.25s;
    overflow: hidden;
}

.fran-step-card:hover {
    box-shadow: 0 12px 36px rgba(0,0,0,0.10);
    transform: translateY(-4px);
}

.fran-step-num {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 44px;
    font-weight: 900;
    color: rgba(233,19,39,0.08);
    line-height: 1;
}

.fran-step-icon {
    width: 64px;
    height: 64px;
    background: rgba(233,19,39,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.fran-step-icon i {
    font-size: 26px;
    color: #e91327;
}

.fran-step-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.fran-step-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.75;
    margin: 0;
}

/* ---- Investment Packages ---- */
.franchise-packages {
    padding: 80px 0 60px;
    background: #fff;
}

.fran-packages-row {
    margin-top: 16px;
}

.fran-package-card {
    background: #f9f9f9;
    border-radius: 16px;
    padding: 36px 30px;
    margin-bottom: 30px;
    position: relative;
    transition: box-shadow 0.25s, transform 0.25s;
    border: 2px solid transparent;
}

.fran-package-card:hover {
    box-shadow: 0 12px 36px rgba(0,0,0,0.10);
    transform: translateY(-5px);
}

.fran-package-featured {
    background: #1a1a2e;
    border-color: #e91327;
    transform: scale(1.03);
}

.fran-package-featured:hover {
    transform: scale(1.03) translateY(-5px);
}

.fran-featured-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #e91327;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 18px;
    border-radius: 20px;
    white-space: nowrap;
}

.fran-package-header h3 {
    font-size: 20px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.fran-package-featured .fran-package-header h3 {
    color: #fff;
}

.fran-package-price {
    font-size: 32px;
    font-weight: 800;
    color: #e91327;
    margin-bottom: 24px;
}

.fran-package-price span {
    font-size: 14px;
    color: #999;
    font-weight: 500;
}

.fran-package-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}

.fran-package-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #444;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.fran-package-featured .fran-package-features li {
    color: rgba(255,255,255,0.8);
    border-bottom-color: rgba(255,255,255,0.1);
}

.fran-package-features li i.fa-check {
    color: #e91327;
    font-size: 13px;
    flex-shrink: 0;
}

.fran-package-features li i.fa-times {
    color: #ccc;
    font-size: 13px;
    flex-shrink: 0;
}

.fran-package-features li.faded {
    opacity: 0.45;
}

.fran-pkg-btn {
    display: block;
    text-align: center;
    background: #e91327;
    color: #fff;
    padding: 12px 0;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s;
}

.fran-pkg-btn:hover {
    background: #c40f20;
    color: #fff;
    text-decoration: none;
}

.fran-package-featured .fran-pkg-btn {
    background: #e91327;
}

/* ---- FAQ ---- */
.franchise-faq {
    padding: 80px 0 60px;
    background: #f7f7f7;
}

.fran-accordion {
    margin-top: 10px;
}

.fran-faq-item {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.fran-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s;
}

.fran-faq-question:hover {
    background: #fff8f8;
}

.fran-faq-question span {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    flex: 1;
    padding-right: 16px;
}

.fran-faq-arrow {
    font-size: 14px;
    color: #e91327;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.fran-faq-question:not(.collapsed) .fran-faq-arrow {
    transform: rotate(180deg);
}

.fran-faq-answer {
    padding: 0 24px 20px;
}

.fran-faq-answer p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* ---- Application Form ---- */
.franchise-form-section {
    padding: 80px 0 60px;
    background: #fff;
}

.fran-form-wrap {
    background: #f9f9f9;
    border-radius: 18px;
    padding: 50px 44px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.07);
}

.fran-form-group {
    margin-bottom: 22px;
}

.fran-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.req {
    color: #e91327;
}

.fran-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    -webkit-appearance: none;
}

.fran-input:focus {
    border-color: #e91327;
    box-shadow: 0 0 0 3px rgba(233,19,39,0.08);
}

.fran-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.fran-textarea {
    resize: vertical;
    min-height: 120px;
}

.fran-submit-btn {
    background: #e91327;
    color: #fff;
    border: none;
    padding: 15px 50px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    margin-top: 10px;
}

.fran-submit-btn:hover {
    background: #c40f20;
    transform: translateY(-2px);
}

.fran-submit-btn i {
    margin-right: 8px;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 991px) {
    .franchise-hero-content h1 {
        font-size: 38px;
    }
    .fran-package-featured {
        transform: scale(1);
    }
    .fran-package-featured:hover {
        transform: translateY(-5px);
    }
    .fran-form-wrap {
        padding: 36px 28px;
    }
}

@media (max-width: 767px) {
    .franchise-hero {
        min-height: auto;
        padding-top: 80px;
        padding-bottom: 20px;
    }
    .franchise-hero-content {
        padding: 40px 0 20px;
    }
    .franchise-hero-content h1 {
        font-size: 30px;
    }
    .franchise-hero-content p {
        font-size: 15px;
    }
    .stat-item {
        padding: 10px 0;
    }
    .stat-item h3 {
        font-size: 28px;
    }
    .franchise-why,
    .franchise-steps,
    .franchise-packages,
    .franchise-faq,
    .franchise-form-section {
        padding: 50px 0 30px;
    }
    .fran-form-wrap {
        padding: 28px 18px;
    }
    .fran-submit-btn {
        width: 100%;
        padding: 14px;
    }
}

@media (max-width: 480px) {
    .franchise-hero-content h1 {
        font-size: 26px;
    }
    .franchise-hero-btns {
        flex-direction: column;
    }
    .fran-btn-primary,
    .fran-btn-outline {
        text-align: center;
    }
    .fran-faq-question span {
        font-size: 14px;
    }
}
