/* ============================================
   FRANCHISE PAGE STYLES — Matches Contact Page Design
============================================ */

:root {
    --brand: #0174BB;
    --brand-dark: #015d96;
    --brand-light: #e8f4fd;
    --font-head: 'Outfit', sans-serif;
    --font-body: 'Nunito Sans', sans-serif;
    --border: #daeaf7;
    --text: #1a2535;
    --text2: #3d5166;
    --surface: #ffffff;
    --shadow: rgba(1, 116, 187, 0.12);
}

/* ---- HERO ---- */
.franchise-hero {
    position: relative;
    padding: 120px 20px 80px;
    background: #011627 url('/image/franchise-bg.jpg') no-repeat center center;
    background-size: cover;
    text-align: center;
    color: white;
}

.franchise-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(1, 116, 187, 0.85), rgba(8, 15, 28, 0.95));
    z-index: 1;
}

.franchise-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.franchise-hero .breadcrumb {
    margin-bottom: 20px;
    font-size: 14px;
    opacity: 0.8;
}

.franchise-hero .breadcrumb a {
    color: white;
    text-decoration: none;
}

.franchise-hero .breadcrumb i {
    font-size: 10px;
    margin: 0 8px;
}

.franchise-hero h1 {
    font-family: var(--font-head);
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
}

.franchise-hero h1 span {
    color: #4db8ff;
}

.franchise-hero p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* ---- STRIP ---- */
.franchise-strip {
    position: relative;
    z-index: 10;
    margin-top: -40px;
    padding: 0 20px;
}

.franchise-strip .strip-inner {
    max-width: 1100px;
    margin: 0 auto;
    background: var(--surface);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.franchise-strip .strip-item {
    display: flex;
    align-items: center;
    padding: 30px;
    gap: 20px;
    border-right: 1px solid var(--border);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.franchise-strip .strip-item:last-child {
    border-right: 0;
}

.franchise-strip .strip-item i {
    font-size: 28px;
    color: var(--brand);
}

.franchise-strip .strip-text span {
    display: block;
    font-size: 13px;
    color: var(--text2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.franchise-strip .strip-text strong {
    font-size: 18px;
    color: var(--text);
    display: block;
    margin-top: 2px;
}

.franchise-strip .strip-item:hover {
    background: var(--brand-light);
    transform: translateY(-5px);
}

/* ---- SHARED UTILITIES ---- */
.section-wrap {
    max-width: 1200px;
    margin: 0 auto;
}

.section-label {
    display: inline-block;
    padding: 6px 16px;
    background: var(--brand-light);
    color: var(--brand);
    font-weight: 700;
    font-size: 12px;
    border-radius: 99px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-head h2 {
    font-family: var(--font-head);
    font-size: 36px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 15px;
}

.section-head h2 span {
    color: var(--brand);
}

.section-head p {
    font-size: 16px;
    color: var(--text2);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}

.text-center {
    text-align: center;
}

/* ---- ABOUT FRANCHISE ---- */
.main-franchise {
    padding: 100px 20px;
    background: #f8fbff;
}

.franchise-about-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 70px;
    align-items: flex-start;
}

.franchise-about-content h2 {
    font-family: var(--font-head);
    font-size: 36px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 20px;
}

.franchise-about-content h2 span {
    color: var(--brand);
}

.franchise-about-content p {
    font-size: 15px;
    color: var(--text2);
    line-height: 1.8;
    margin-bottom: 16px;
}

.founder-badge {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    color: white;
    padding: 20px 25px;
    border-radius: 16px;
    margin: 30px 0 30px;
}

.founder-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.founder-badge strong {
    display: block;
    font-size: 15px;
    margin-bottom: 5px;
}

.founder-badge span {
    display: block;
    font-size: 13px;
    opacity: 0.85;
    line-height: 1.6;
}

/* ---- FRANCHISE CARD (RIGHT) ---- */
.franchise-about-card {
    background: white;
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 40px 80px var(--shadow);
}

.franchise-about-card .card-head {
    margin-bottom: 30px;
}

.franchise-about-card .card-head h3 {
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.franchise-about-card .card-head p {
    color: var(--text2);
    font-size: 14px;
}

.benefit-items {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.benefit-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.benefit-item>i {
    font-size: 20px;
    color: var(--brand);
    margin-top: 4px;
    flex-shrink: 0;
}

.benefit-item h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.benefit-item p {
    font-size: 13px;
    color: var(--text2);
    line-height: 1.6;
}

/* ---- BUTTONS ---- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--brand);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--brand-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(1, 116, 187, 0.2);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: transparent;
    color: var(--brand);
    border: 2px solid var(--brand);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--brand-light);
}

/* ---- STEPS SECTION ---- */
.steps-section {
    padding: 100px 20px;
    background: white;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.step-card {
    background: #f8fbff;
    padding: 35px 25px;
    border-radius: 24px;
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-8px);
    border-color: var(--brand);
    box-shadow: 0 20px 40px var(--shadow);
    background: white;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--brand);
    color: white;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    margin: 0 auto 20px;
}

.step-card h4 {
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.step-card p {
    font-size: 14px;
    color: var(--text2);
    line-height: 1.7;
}

/* ---- RESEARCH SECTION ---- */
.research-section {
    padding: 100px 20px;
    background: #f8fbff;
}

.research-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 80px;
    align-items: center;
}

.research-content h2 {
    font-family: var(--font-head);
    font-size: 36px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 20px;
}

.research-content h2 span {
    color: var(--brand);
}

.research-content p {
    font-size: 15px;
    color: var(--text2);
    line-height: 1.8;
    margin-bottom: 16px;
}

.research-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}

.research-tags span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 99px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.research-tags span i {
    color: var(--brand);
}

.research-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.research-icon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.r-icon {
    width: 80px;
    height: 80px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--brand);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow);
}

.r-icon:hover {
    background: var(--brand);
    color: white;
    border-color: var(--brand);
    transform: translateY(-5px);
}

/* ---- FORM SECTION ---- */
.form-section {
    padding: 100px 20px;
    background: white;
}

.form-outer-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: flex-start;
}

.form-info h2 {
    font-family: var(--font-head);
    font-size: 36px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 20px;
}

.form-info h2 span {
    color: var(--brand);
}

.form-info>p {
    font-size: 15px;
    color: var(--text2);
    line-height: 1.8;
    margin-bottom: 30px;
}

.franchise-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 35px;
}

.franchise-checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text2);
    font-weight: 500;
}

.franchise-checklist li i {
    color: var(--brand);
    font-size: 16px;
    flex-shrink: 0;
}

.cta-buttons-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* ---- FRANCHISE FORM CARD ---- */
.franchise-card {
    background: white;
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 40px 80px var(--shadow);
}

.franchise-card .card-head {
    margin-bottom: 30px;
}

.franchise-card .card-head h3 {
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.franchise-card .card-head p {
    color: var(--text2);
    font-size: 14px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fdfdfd;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 4px var(--brand-light);
    background: white;
}

.captcha-box {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding: 15px;
    background: #f1f5f9;
    border-radius: 12px;
}

.captcha-box .equation {
    font-weight: 800;
    font-size: 18px;
    color: var(--brand);
    white-space: nowrap;
}

.captcha-box .equation span {
    color: var(--brand);
}

.captcha-box input {
    width: 70px;
    text-align: center;
    padding: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    background: white;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--brand);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: inherit;
}

.submit-btn:hover {
    background: var(--brand-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(1, 116, 187, 0.2);
}

.form-error {
    color: #e53e3e;
    font-size: 12px;
    margin-top: 5px;
    font-weight: 600;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1100px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {

    .franchise-about-grid,
    .form-outer-grid,
    .research-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .franchise-strip .strip-inner {
        grid-template-columns: 1fr;
    }

    .franchise-strip .strip-item {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .franchise-strip .strip-item:last-child {
        border-bottom: 0;
    }

    .research-visual {
        display: none;
    }
}

@media (max-width: 768px) {
    .franchise-hero h1 {
        font-size: 32px;
    }

    .section-head h2 {
        font-size: 28px;
    }

    .franchise-card,
    .franchise-about-card {
        padding: 25px;
    }

    .cta-buttons-group {
        flex-direction: column;
    }

    .cta-buttons-group a {
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
}



.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-overlay.active {
  display: flex;
}

.popup-box {
  background: #fff;
  color: #000;
  padding: 30px;
  border-radius: 10px;
  position: relative;
  width: 90%;
  max-width: 400px;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  border: none;
  background: none;
  font-size: 18px;
  cursor: pointer;
}