/* assets/css/style.css - FranchisePortal India Design System */
/* Fonts are loaded via high-performance preconnect links in header.php */

:root {
    --primary: #1e3a8a;          /* Royal Navy */
    --primary-light: #2563eb;    /* Electric Blue */
    --primary-dark: #0f172a;     /* Deep Slate */
    --accent: #f59e0b;           /* Indian Saffron Gold */
    --accent-hover: #d97706;
    --success: #10b981;          /* Emerald Growth Green */
    --success-dark: #047857;
    --danger: #ef4444;
    --bg-light: #f8fafc;
    --bg-card: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100%;
    position: relative;
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden !important;
}

/* Force font-display: swap for FontAwesome icons to eliminate text/icon FOIT delays */
@font-face {
    font-family: 'Font Awesome 6 Free';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/webfonts/fa-solid-900.woff2") format("woff2");
}

/* Playfair Display for all Headlines & Titles as requested */
h1, h2, h3, h4, h5, h6, 
.hero-title, 
.section-title, 
.franchise-header-title, 
.card-franchise-title, 
.lead-form-title, 
.detail-section-heading,
.stat-num,
.playfair-heading {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--primary-dark);
    font-weight: 700;
    letter-spacing: -0.01em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

/* ========================================================
   FLOATING ISLAND CAPSULE NAVBAR (MR DAS INSPIRED STYLE)
   ======================================================== */
.navbar-custom {
    background: #090e1f;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 1020;
    padding: 14px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.navbar-container-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: nowrap !important;
}

/* Brand Logo */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-logo-icon {
    background: linear-gradient(135deg, #2563eb, #1e3a8a);
    color: #ffffff;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
    font-size: 1.05rem;
}

.brand-badge {
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    color: white;
    font-size: 0.62rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Center Island Capsule (The Pill Navigation Bar from reference image) */
.nav-island-capsule {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9999px;
    padding: 4px 8px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 8px 20px rgba(0, 0, 0, 0.25);
    margin: 0 auto;
    flex-shrink: 0;
}

.capsule-nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 7px 15px !important;
    border-radius: 9999px;
    transition: all 0.22s ease-in-out;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.capsule-nav-link:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.12);
}

/* Active Pill State matching user reference image */
.capsule-nav-link.active {
    background: rgba(255, 255, 255, 0.18) !important;
    color: #ffffff !important;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.capsule-nav-link.active .pill-indicator {
    width: 8px;
    height: 8px;
    border: 2px solid #38bdf8;
    background: transparent;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px #38bdf8;
}

/* Dropdown Menu styling for Island Navbar */
.nav-island-capsule .dropdown-menu {
    background: rgba(11, 19, 41, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    margin-top: 10px;
    animation: dropdownSlide 0.2s ease-out;
}

@keyframes dropdownSlide {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.nav-island-capsule .dropdown-item {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.88rem;
    padding: 8px 16px;
    border-radius: 10px;
    transition: all 0.18s;
}

.nav-island-capsule .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    transform: translateX(4px);
}

/* Right Nav Controls */
.nav-right-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Search Trigger Button matching reference icon style */
.nav-search-trigger {
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.28);
    color: #c084fc;
    font-size: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.nav-search-trigger:hover {
    color: #ffffff;
    background: rgba(168, 85, 247, 0.25);
    border-color: #c084fc;
    box-shadow: 0 0 14px rgba(192, 132, 252, 0.4);
}

/* Pill CTA Button (Matching "Request Quote" in reference image) */
.btn-pill-quote {
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 8px 22px !important;
    border-radius: 9999px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
    cursor: pointer;
    white-space: nowrap;
}

.btn-pill-quote:hover {
    background: #ffffff;
    color: #090e1f !important;
    border-color: #ffffff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
}

/* Mobile Hamburger Button */
.btn-mobile-hamburger {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-mobile-hamburger:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #38bdf8;
}

.btn-mobile-hamburger:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #38bdf8;
}

/* ========================================================
   OFFCANVAS SIDEBAR (MOBILE SLIDE-IN NAVIGATION)
   ======================================================== */
.offcanvas-custom-sidebar {
    background: #090e1f !important;
    color: #ffffff;
    width: 320px !important;
    border-left: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: -15px 0 40px rgba(0, 0, 0, 0.6);
}

.offcanvas-custom-sidebar .offcanvas-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 22px;
}

.offcanvas-custom-sidebar .offcanvas-body {
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.offcanvas-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.98rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.offcanvas-nav-item:hover, .offcanvas-nav-item.active {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transform: translateX(4px);
}

.offcanvas-nav-item.active {
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    color: #ffffff;
}

.offcanvas-nav-item i {
    width: 24px;
    color: #38bdf8;
}

.offcanvas-search-box {
    position: relative;
    margin-bottom: 10px;
}

.offcanvas-search-box input {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 10px 18px 10px 42px;
    color: #ffffff;
    font-size: 0.9rem;
    outline: none;
}

.offcanvas-search-box input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.offcanvas-search-box i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 1199px) {
    .capsule-nav-link {
        padding: 6px 10px !important;
        font-size: 0.82rem;
    }
    .brand-logo {
        font-size: 1.18rem;
    }
    .btn-pill-quote {
        padding: 7px 16px !important;
        font-size: 0.85rem;
    }
}

@media (max-width: 1040px) {
    .nav-island-capsule {
        display: none !important;
    }
    .btn-mobile-hamburger {
        display: inline-flex !important;
    }
    .nav-right-actions .btn-pill-quote {
        display: none !important;
    }
}

/* Hero Section */
.hero-wrapper {
    background: radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.12), transparent 45%),
                radial-gradient(circle at 20% 80%, rgba(245, 158, 11, 0.08), transparent 40%),
                #ffffff;
    padding: 70px 0 50px;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 18px;
    border: 1px solid #bae6fd;
}

.hero-title {
    font-size: 2.85rem;
    line-height: 1.18;
    margin-bottom: 18px;
    color: #0f172a;
}

.hero-highlight {
    background: linear-gradient(120deg, #1e3a8a, #2563eb, #0284c7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #475569;
    max-width: 680px;
    margin: 0 auto 32px;
}

/* Hero Search Box */
.hero-search-card {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    box-shadow: 0 15px 35px -5px rgba(15, 23, 42, 0.08);
    border-radius: var(--radius-xl);
    padding: 8px;
    max-width: 820px;
    margin: 0 auto 24px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.hero-search-card:focus-within {
    border-color: var(--primary-light);
    box-shadow: 0 20px 40px -5px rgba(37, 99, 235, 0.15);
}

.search-field-inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.search-input-wrap {
    flex: 1;
    min-width: 240px;
    display: flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: var(--radius-md);
}

.search-input-wrap i {
    color: #94a3b8;
    font-size: 1.15rem;
    margin-right: 12px;
}

.search-input-wrap input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 1.05rem;
    font-weight: 500;
    color: #0f172a;
    background: transparent;
}

.search-select-wrap {
    min-width: 180px;
    border-left: 1px solid var(--border-color);
    padding: 10px 14px;
}

.search-select-wrap select {
    border: none;
    outline: none;
    font-size: 0.95rem;
    font-weight: 600;
    color: #334155;
    background: transparent;
    width: 100%;
    cursor: pointer;
}

.btn-search-hero {
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    color: #ffffff;
    border: none;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 30px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-search-hero:hover {
    background: linear-gradient(135deg, #172554, #1d4ed8);
}

/* Quick Filter Tags */
.quick-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.quick-tag-item {
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 14px;
    background: #f1f5f9;
    border-radius: 50px;
    color: #475569;
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
}

.quick-tag-item:hover {
    background: #eff6ff;
    color: var(--primary-light);
    border-color: #bfdbfe;
    transform: translateY(-1px);
}

/* Trust Stats Bar */
.trust-stats-bar {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px 28px;
    box-shadow: var(--shadow-sm);
    margin-top: 35px;
}

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

.stat-num {
    font-family: 'Outfit', sans-serif;
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 4px;
}

/* Section Title */
.section-header {
    margin-bottom: 35px;
}

.section-tag {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--primary-light);
    letter-spacing: 1px;
    display: block;
    margin-bottom: 6px;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: 6px;
}

/* Franchise Cards */
.franchise-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.franchise-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.1);
    border-color: #cbd5e1;
}

.card-top-banner {
    height: 90px;
    position: relative;
    background: linear-gradient(135deg, #1e3a8a, #0f172a);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 14px 18px;
}

.card-badge-trend {
    background: rgba(255, 255, 255, 0.95);
    color: #b45309;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: var(--shadow-sm);
}

.card-logo-circle {
    width: 68px;
    height: 68px;
    background: #ffffff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: -28px;
    left: 20px;
    border: 3px solid #ffffff;
    box-shadow: var(--shadow-md);
    font-size: 1.8rem;
    color: var(--primary);
}

.card-body-inner {
    padding: 38px 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-category-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: #2563eb;
    background: #eff6ff;
    padding: 3px 10px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 8px;
    align-self: flex-start;
}

.card-franchise-title {
    font-size: 1.22rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 6px;
}

.card-tagline {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 42px;
}

.card-metrics-grid {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: var(--radius-md);
    padding: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 18px;
}

.metric-item {
    display: flex;
    flex-direction: column;
}

.metric-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.metric-val {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
}

.metric-val.roi {
    color: var(--success-dark);
}

.card-footer-action {
    margin-top: auto;
    display: flex;
    gap: 8px;
}

.btn-card-enquire {
    flex: 1;
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    color: white;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    text-align: center;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-card-enquire:hover {
    background: linear-gradient(135deg, #172554, #1d4ed8);
    color: white;
}

.btn-card-view {
    background: #f1f5f9;
    color: #334155;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    text-align: center;
    border: 1px solid #e2e8f0;
}

.btn-card-view:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* Category Grid */
.category-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    text-align: center;
    transition: all 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.category-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-light);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.08);
}

.cat-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: #eff6ff;
    color: var(--primary-light);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    transition: all 0.2s;
}

.category-card:hover .cat-icon-wrap {
    background: var(--primary-light);
    color: #ffffff;
    transform: scale(1.08);
}

.cat-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.cat-desc {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.4;
}

/* Sticky Franchise Page Details & Lead Box */
.franchise-header-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: #ffffff;
    padding: 50px 0 40px;
    position: relative;
}

.franchise-header-title {
    font-size: 2.3rem;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 12px;
}

.badge-verified-franchise {
    background: #10b981;
    color: white;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.key-stats-banner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    margin-top: 25px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    padding: 18px 22px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-box-banner {
    color: #ffffff;
}

.stat-box-banner small {
    display: block;
    font-size: 0.75rem;
    color: #cbd5e1;
    text-transform: uppercase;
    font-weight: 600;
}

.stat-box-banner strong {
    font-size: 1.25rem;
    font-family: 'Outfit', sans-serif;
    color: #f8fafc;
}

/* Sticky Lead Form Box (Highest conversion element) */
.sticky-lead-card {
    background: #ffffff;
    border: 2px solid #bfdbfe;
    border-radius: var(--radius-xl);
    padding: 28px 24px;
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.12);
    position: sticky;
    top: 90px;
    z-index: 90;
}

.sticky-lead-badge {
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.lead-form-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
}

.lead-form-sub {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 20px;
}

.form-group-custom {
    margin-bottom: 14px;
}

.form-label-custom {
    font-size: 0.82rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 5px;
    display: block;
}

.form-control-custom, .form-select-custom {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #cbd5e1;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-weight: 500;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #ffffff;
}

.form-control-custom:focus, .form-select-custom:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.phone-input-wrap {
    display: flex;
    align-items: center;
}

.phone-prefix {
    background: #f1f5f9;
    border: 1.5px solid #cbd5e1;
    border-right: none;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    padding: 10px 12px;
    font-size: 0.92rem;
    font-weight: 700;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 4px;
}

.phone-input-wrap .form-control-custom {
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.btn-submit-lead {
    width: 100%;
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    color: #ffffff;
    font-weight: 800;
    font-size: 1.05rem;
    padding: 14px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(234, 88, 12, 0.3);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-submit-lead:hover {
    background: linear-gradient(135deg, #d97706, #c2410c);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.4);
}

.guarantee-note {
    font-size: 0.75rem;
    color: #94a3b8;
    text-align: center;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* Detail Content Sections */
.detail-content-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-sm);
}

.detail-section-heading {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-section-heading i {
    color: var(--primary-light);
}

/* Investment Breakdown Table */
.invest-table {
    width: 100%;
    border-collapse: collapse;
}

.invest-table th {
    background: #f8fafc;
    color: #334155;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 18px;
    border-bottom: 2px solid var(--border-color);
    text-align: left;
}

.invest-table td {
    padding: 14px 18px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.95rem;
    color: #1e293b;
}

.invest-table tr:hover td {
    background: #fafafa;
}

/* Checklist Points */
.checklist-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.checklist-point {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    background: #f8fafc;
    border-radius: var(--radius-md);
    border: 1px solid #f1f5f9;
}

.checklist-point i {
    color: #10b981;
    font-size: 1.2rem;
    margin-top: 2px;
}

.checklist-point p {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: #334155;
}

/* Process Timeline */
.step-timeline {
    position: relative;
    padding-left: 20px;
}

.step-item {
    position: relative;
    padding-left: 45px;
    padding-bottom: 24px;
}

.step-item:last-child {
    padding-bottom: 0;
}

.step-item::before {
    content: '';
    position: absolute;
    left: 17px;
    top: 32px;
    bottom: -8px;
    width: 2px;
    background: #e2e8f0;
}

.step-item:last-child::before {
    display: none;
}

.step-num-bubble {
    position: absolute;
    left: 0;
    top: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    color: white;
    font-weight: 800;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.25);
}

.step-content-box {
    background: #f8fafc;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    border: 1px solid #f1f5f9;
    font-size: 0.95rem;
    color: #334155;
    font-weight: 500;
}

/* FAQ Accordion */
.faq-box {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    background: #ffffff;
}

.faq-header-btn {
    width: 100%;
    background: #ffffff;
    border: none;
    outline: none;
    padding: 18px 20px;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s;
}

.faq-header-btn:hover {
    background: #f8fafc;
}

.faq-body-collapse {
    padding: 0 20px 18px;
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
}

/* Lead Success Modal */
.modal-custom-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 15px;
}

.modal-custom-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    max-width: 520px;
    width: 100%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    position: relative;
    animation: modalPop 0.25s ease-out;
}

@keyframes modalPop {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Admin Dashboard Elements */
.admin-sidebar {
    background: #0f172a;
    color: #ffffff;
    min-height: 100vh;
    padding: 24px 18px;
}

.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    color: #94a3b8;
    font-weight: 600;
    font-size: 0.92rem;
    margin-bottom: 6px;
    transition: all 0.2s;
}

.admin-nav-item:hover, .admin-nav-item.active {
    background: #1e293b;
    color: #ffffff;
}

.admin-nav-item.active {
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
}

.lead-status-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    display: inline-block;
}

.status-new { background: #dbeafe; color: #1d4ed8; }
.status-verified { background: #dcfce7; color: #15803d; }
.status-hot { background: #fef3c7; color: #b45309; }
.status-sold { background: #ede9fe; color: #6d28d9; }
.status-archived { background: #f1f5f9; color: #475569; }

/* Footer */
.footer-wrapper {
    background: #0b1329;
    color: #cbd5e1;
    padding: 65px 0 30px;
    border-top: 1px solid #1e293b;
    margin-top: 80px;
}

.footer-heading {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.footer-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-link-list li {
    margin-bottom: 10px;
}

.footer-link-list a {
    color: #94a3b8;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-link-list a:hover {
    color: #ffffff;
}

.footer-seo-cloud {
    background: #111c3a;
    border: 1px solid #1e293b;
    border-radius: var(--radius-md);
    padding: 20px;
    margin-top: 40px;
}

.seo-pill {
    display: inline-block;
    background: rgba(255,255,255,0.06);
    color: #94a3b8;
    font-size: 0.78rem;
    padding: 4px 12px;
    border-radius: 50px;
    margin: 4px;
    transition: all 0.2s;
}

.seo-pill:hover {
    background: var(--primary-light);
    color: #ffffff;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-title { font-size: 2.2rem; }
    .sticky-lead-card { position: static; margin-top: 30px; }
    .franchise-header-title { font-size: 1.85rem; }
}

@media (max-width: 767px) {
    .hero-title { font-size: 1.8rem; }
    .hero-search-card {
        padding: 6px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }
    .search-field-inner {
        flex-direction: column !important;
        width: 100% !important;
        gap: 6px !important;
    }
    .search-input-wrap,
    .search-select-wrap,
    .btn-search-hero {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .search-select-wrap {
        border-left: none !important;
        border-top: 1px solid var(--border-color);
        padding: 8px 12px;
    }
    .btn-search-hero {
        justify-content: center;
        padding: 12px 20px;
    }
    .trust-stats-bar {
        padding: 16px 8px !important;
        overflow-x: hidden !important;
    }
    .footer-seo-cloud {
        padding: 14px 10px !important;
        overflow-x: hidden !important;
    }
    .seo-pill {
        white-space: normal !important;
        word-break: break-word !important;
        margin: 2px !important;
    }
    .container, .container-fluid {
        padding-left: 12px !important;
        padding-right: 12px !important;
        overflow-x: clip !important;
    }
}

@media (max-width: 480px) {
    .navbar-container-inner {
        padding-left: 0 !important;
        padding-right: 0 !important;
        gap: 6px !important;
    }
    .brand-logo {
        font-size: 1.15rem !important;
        gap: 6px !important;
    }
    .brand-logo-icon {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.95rem !important;
    }
    .brand-badge {
        display: none !important;
    }
    .nav-search-trigger {
        width: 36px !important;
        height: 36px !important;
        font-size: 0.9rem !important;
    }
    .btn-mobile-hamburger {
        width: 36px !important;
        height: 36px !important;
        font-size: 1.1rem !important;
    }
}

/* ========================================================
   WCAG AA / AAA High Contrast & Accessibility Enhancements
   ======================================================== */
.metric-val.text-primary,
.quick-tag-item.text-primary {
    color: #1e40af !important; /* Deep Blue: 7.2:1 contrast against light background */
}

.metric-val.text-success,
.section-tag.text-success {
    color: #15803d !important; /* Deep Green: 4.8:1 contrast against light background */
}

.card-badge-trend.text-success {
    color: #14532d !important; /* Ultra-High contrast dark emerald on banner badges */
    background: #ffffff !important;
}

.guarantee-note {
    color: #475569 !important; /* Slate: 5.5:1 contrast against white */
}

.footer-wrapper .text-secondary {
    color: #cbd5e1 !important; /* Light Slate: 9.8:1 contrast on dark footer background */
}

.footer-wrapper a.text-secondary {
    color: #cbd5e1 !important;
    text-decoration: none;
}

.footer-wrapper a.text-secondary:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

.footer-heading {
    color: #ffffff !important;
    font-weight: 700;
}
