/* Prevent horizontal scroll */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Better touch targets for mobile */
@media (max-width: 768px) {
    button, 
    a.btn, 
    input[type="submit"],
    .nav-link {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Prevent iOS zoom on form inputs */
@media (max-width: 768px) {
    input, 
    select, 
    textarea {
        font-size: 16px !important;
    }
}

/* Image responsiveness */
img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   RESPONSIVE TYPOGRAPHY & COMPONENT SIZING
   ============================================ */

/* Extra Small Devices (Phones, < 576px) */
@media (max-width: 575.98px) {
    /* ===== TYPOGRAPHY ===== */
    html {
        font-size: 14px;
    }
    
    h1, .hero-title {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
        margin-bottom: 15px !important;
    }
    
    h2 {
        font-size: 1.6rem !important;
        margin-bottom: 15px !important;
    }
    
    h2.section-title:after {
        width: 40px !important;
        bottom: -8px !important;
    }
    
    h3 {
        font-size: 1.3rem !important;
        margin-bottom: 12px !important;
    }
    
    h4 {
        font-size: 1.1rem !important;
    }
    
    h5 {
        font-size: 1rem !important;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
        margin-bottom: 20px !important;
    }
    
    /* ===== BUTTONS ===== */
    .btn {
        font-size: 0.9rem !important;
        padding: 10px 20px !important;
        min-height: 44px; /* Minimum touch target */
    }
    
    .btn-lg {
        font-size: 1rem !important;
        padding: 12px 24px !important;
    }
    
    /* ===== NAVIGATION ===== */
    .navbar {
        padding: 10px 0 !important;
    }
    
    .nav-link {
        font-size: 1rem !important;
        padding: 10px 15px !important;
        margin: 0 5px !important;
    }
    
    .navbar-brand {
        font-size: 1.2rem !important;
    }
    
    /* ===== LAYOUT ===== */
    .section-padding {
        padding: 40px 0 !important;
    }
    
    .hero-section {
        padding: 50px 0 !important;
    }
    
    /* ===== CARDS ===== */
    .card {
        margin-bottom: 20px !important;
    }
    
    .card-body {
        padding: 20px !important;
    }
    
    .stat-number {
        font-size: 2rem !important;
    }
    
    .stat-label {
        font-size: 0.85rem !important;
    }
    
    /* ===== FORM ELEMENTS ===== */
    .form-control, .form-select {
        font-size: 16px !important; /* Prevents iOS zoom */
        padding: 14px 12px !important;
        min-height: 48px;
    }
    
    .form-label {
        font-size: 0.95rem !important;
    }
    
    /* ===== ICONS ===== */
    .icon-circle {
        width: 50px !important;
        height: 50px !important;
        margin-bottom: 15px !important;
    }
    
    .icon-circle i {
        font-size: 1.2rem !important;
    }
    
    .step-icon {
        width: 60px !important;
        height: 60px !important;
        margin-bottom: 15px !important;
    }
    
    .step-icon i {
        font-size: 1.5rem !important;
    }
    
    /* ===== FOOTER ===== */
    .footer {
        padding: 30px 0 20px !important;
    }
    
    .footer-logo {
        font-size: 1.3rem !important;
    }
}

/* Small Devices (Landscape Phones, 576px - 767.98px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    /* ===== TYPOGRAPHY ===== */
    html {
        font-size: 15px;
    }
    
    h1, .hero-title {
        font-size: 2.2rem !important;
        line-height: 1.25 !important;
    }
    
    h2 {
        font-size: 1.8rem !important;
    }
    
    h3 {
        font-size: 1.4rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.05rem !important;
    }
    
    /* ===== BUTTONS ===== */
    .btn {
        font-size: 0.95rem !important;
    }
    
    /* ===== NAVIGATION ===== */
    .nav-link {
        font-size: 1rem !important;
    }
    
    /* ===== LAYOUT ===== */
    .section-padding {
        padding: 50px 0 !important;
    }
    
    .hero-section {
        padding: 60px 0 !important;
    }
    
    /* ===== CARDS ===== */
    .stat-number {
        font-size: 2.2rem !important;
    }
}

/* Medium Devices (Tablets, 768px - 991.98px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* ===== TYPOGRAPHY ===== */
    html {
        font-size: 15px;
    }
    
    h1, .hero-title {
        font-size: 2.5rem !important;
    }
    
    h2 {
        font-size: 2rem !important;
    }
    
    h3 {
        font-size: 1.5rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.1rem !important;
    }
    
    /* ===== NAVIGATION ===== */
    .navbar {
        padding: 12px 0 !important;
    }
    
    .nav-link {
        font-size: 1rem !important;
        margin: 0 8px !important;
    }
    
    /* ===== LAYOUT ===== */
    .section-padding {
        padding: 60px 0 !important;
    }
    
    .hero-section {
        padding: 80px 0 !important;
    }
    
    /* ===== CARDS ===== */
    .card-body {
        padding: 25px !important;
    }
}

/* Large Devices (Desktops, 992px - 1199.98px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    /* ===== TYPOGRAPHY ===== */
    html {
        font-size: 16px;
    }
    
    h1, .hero-title {
        font-size: 3rem !important;
    }
    
    h2 {
        font-size: 2.2rem !important;
    }
    
    /* ===== NAVIGATION ===== */
    .nav-link {
        font-size: 1rem !important;
    }
}

/* Extra Large Devices (Large Desktops, 1200px and up) */
@media (min-width: 1200px) {
    /* ===== TYPOGRAPHY ===== */
    html {
        font-size: 16px;
    }
    
    h1, .hero-title {
        font-size: 3.5rem !important;
    }
    
    h2 {
        font-size: 2.5rem !important;
    }
    
    /* ===== NAVIGATION ===== */
    .nav-link {
        font-size: 1.1rem !important;
    }
}

/* ============================================
   COMPONENT-SPECIFIC RESPONSIVE ADJUSTMENTS
   ============================================ */

/* Process Flow - Stack on mobile */
@media (max-width: 767.98px) {
    .process-step {
        margin-bottom: 30px !important;
    }
    
    .process-connector {
        display: none !important;
    }
}

/* Form layout adjustments */
@media (max-width: 767.98px) {
    .form-row .col-md-6 {
        margin-bottom: 15px;
    }
}

/* Button groups - Stack on mobile */
@media (max-width: 575.98px) {
    .btn-group-responsive {
        flex-direction: column !important;
    }
    
    .btn-group-responsive .btn {
        width: 100% !important;
        margin-bottom: 10px;
    }
}

/* Footer adjustments for mobile */
@media (max-width: 767.98px) {
    .footer .row > div {
        margin-bottom: 30px;
        text-align: center;
    }
    
    .footer-links a {
        justify-content: center !important;
    }
}

/* Logo sizing adjustments (already in your code but optimized) */
 

 /* ===== LOGO SIZING FOR ALL DEVICES ===== */

/* Default/Base (Mobile First) */
img.logo-svg {
    height: 44px; /* XS - Extra small mobile */
    width: auto;
    transition: height 0.3s ease;
}

 

/* Medium mobile */
@media (min-width: 425px) {
    img.logo-svg {
        height: 44px;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    img.logo-svg {
        height: 46px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    img.logo-svg {
        height: 52px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    img.logo-svg {
        height: 56px;
    }
}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    img.logo-svg {
        height: 62px;
    }
}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
    img.logo-svg {
        height: 62px;
    }
}

/* 4K Screens (1920px and up) */
@media (min-width: 1920px) {
    img.logo-svg {
        height: 62px;
    }
}

/* Modal and popup adjustments */
@media (max-width: 575.98px) {
    .modal-dialog {
        margin: 10px !important;
    }
}

/* Table responsiveness */
@media (max-width: 767.98px) {
    .table-responsive-sm {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Spacing utilities for mobile */
@media (max-width: 767.98px) {
    .mobile-mt-3 {
        margin-top: 1rem !important;
    }
    
    .mobile-mb-3 {
        margin-bottom: 1rem !important;
    }
    
    .mobile-pt-3 {
        padding-top: 1rem !important;
    }
    
    .mobile-pb-3 {
        padding-bottom: 1rem !important;
    }
}

/* Text alignment for mobile */
@media (max-width: 767.98px) {
    .mobile-text-center {
        text-align: center !important;
    }
    
    .mobile-text-left {
        text-align: left !important;
    }
}

 
        :root {
            --primary-blue: #12175C;
            --secondary-blue: #4da6ff;
            --accent-teal: #12175C;
            --light-gray: #f8f9fa;
            --medium-gray: #6c757d;
            --dark-gray: #212529;
            --border-radius: 10px;
            --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            --transition: all 0.3s ease;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Inter', sans-serif;
            color: var(--dark-gray);
            line-height: 1.6;
            background-color: #ffffff;
            overflow-x: hidden;
        }
        
        h1, h2, h3, h4, h5 {
            font-weight: 700;
            color: var(--dark-gray);
        }
        
        h2 {
            font-size: 2.2rem;
            margin-bottom: 1rem;
            position: relative;
        }
        
        h2.section-title:after {
            content: '';
            position: absolute;
            width: 50px;
            height: 4px;
            background: var(--primary-blue);
            bottom: -12px;
            left: 50%;
            transform: translateX(-50%);
            border-radius: 2px;
        }
        
        h3 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
        }
        
        .text-primary {
            color: var(--primary-blue) !important;
        }
        
        .text-accent {
            color: var(--accent-teal) !important;
        }
        
        .bg-light-gray {
            background-color: var(--light-gray);
        }
        
        .section-padding {
            padding: 70px 0;
        }
        
        .card {
            border: none;
            border-radius: var(--border-radius);
            box-shadow: var(--box-shadow);
            transition: var(--transition);
            height: 100%;
        }
        
        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
        }
        
        .icon-circle {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background-color: rgba(0, 102, 204, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
        }
        
        .icon-circle i {
            font-size: 1.5rem;
            color: var(--primary-blue);
        }
        
        .btn-primary {
            background-color: var(--accent-teal);
            border: none;
            padding: 12px 28px;
            border-radius: 8px;
            font-weight: 600;
            transition: var(--transition);
        }
        
        .btn-primary:hover {
            background-color: var(--primary-blue);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 102, 204, 0.2);
        }
        
        .btn-outline-primary {
            border: 2px solid var(--primary-blue);
            color: var(--primary-blue);
            padding: 10px 25px;
            border-radius: 8px;
            font-weight: 600;
            transition: var(--transition);
        }
        
        .btn-outline-primary:hover {
            background-color: var(--primary-blue);
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 102, 204, 0.2);
            border: 2px solid var(--primary-blue);
        }
        
        /* Hero Section */
        .hero-section {
            background: linear-gradient(135deg, #f8f9fa 0%, #e7f5ff 100%);
            padding: 100px 0;
            position: relative;
            overflow: hidden;
        }
        
        .hero-section:before {
            content: '';
            position: absolute;
            width: 300px;
            height: 300px;
            border-radius: 50%;
            background: rgba(13, 110, 253, 0.05);
            top: -150px;
            right: -100px;
        }
        
        .hero-section:after {
            content: '';
            position: absolute;
            width: 200px;
            height: 200px;
            border-radius: 50%;
            background: rgba(13, 110, 253, 0.05);
            bottom: -100px;
            left: -50px;
        }
        
        .hero-title {
            font-size: 3.5rem;
            font-weight: 700;
            line-height: 1.2;
            margin-bottom: 20px;
        }
        
        .hero-subtitle {
            font-size: 1.2rem;
            color: var(--medium-gray);
            margin-bottom: 30px;
            max-width: 600px;
        }
        
        /* Navigation */
        .navbar {
            padding: 6px 0;
            transition: var(--transition);
        }
        
        .navbar-brand {
            font-weight: 700;
            font-size: 1.5rem;
        }
        
        .nav-link {
            font-weight: 500;
            margin: 0 10px;
            color: var(--dark-gray) !important;
            transition: var(--transition);
        }
        
        .nav-link:hover, .nav-link.active {
            color: var(--primary-blue) !important;
        }
        
        .cta-nav {
            margin-left: 10px;
        }
        
        /* Network Section */
        .network-section {
            background-color: #f9fbfe;
        }
        
        .stat-card {
            text-align: center;
            padding: 25px 15px;
            background: white;
            border-radius: var(--border-radius);
            box-shadow: var(--box-shadow);
            transition: var(--transition);
        }
        
        .stat-card:hover {
            transform: translateY(-5px);
        }
        
        .stat-number {
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--primary-blue);
            line-height: 1;
        }
        
        .stat-label {
            font-size: 0.95rem;
            color: var(--medium-gray);
            margin-top: 8px;
        }
        
        .leader-card {
            text-align: center;
            padding: 20px;
        }
        
        .leader-img {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            object-fit: cover;
            margin: 0 auto 15px;
            border: 3px solid var(--primary-blue);
        }
        
        /* Process Flow */
        .process-container {
            position: relative;
        }
        
        .process-step {
            text-align: center;
            position: relative;
            padding: 0 15px;
        }
        
        .step-icon {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            background: white;
            border: 3px solid var(--primary-blue);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            position: relative;
            z-index: 2;
        }
        
        .step-icon i {
            font-size: 1.8rem;
            color: var(--primary-blue);
        }
        
        .step-number {
            position: absolute;
            top: -10px;
            right: -10px;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background: var(--accent-teal);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 0.9rem;
        }
        
        .process-connector {
            position: absolute;
            top: 35px;
            left: 50%;
            width: 100%;
            height: 2px;
            background: linear-gradient(90deg, var(--primary-blue) 0%, #e0e0e0 100%);
            z-index: 1;
        }
        
        /* Form Styles */
        .form-section {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9f2ff 100%);
        }
        
        .form-card {
            border-radius: var(--border-radius);
            border: none;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }
        
        .form-label {
            font-weight: 600;
            color: var(--dark-gray);
            margin-bottom: 8px;
        }
        
        .form-control, .form-select {
            padding: 12px 15px;
            border-radius: 8px;
            border: 1px solid #d1d9e6;
            transition: var(--transition);
        }
        
        .form-control:focus, .form-select:focus {
            border-color: var(--primary-blue);
            box-shadow: 0 0 0 0.25rem rgba(0, 102, 204, 0.15);
        }
        
        .required:after {
            content: " *";
            color: #dc3545;
        }
        
        /* Model Cards */
        .model-card {
            padding: 30px;
            border-radius: var(--border-radius);
            height: 100%;
            position: relative; 
        }
        
 
        
        /* Footer */
        .footer {
            background-color: var(--primary-blue);
            color: #d1d9e6;
            padding: 50px 0 30px;
        }
        
        .footer-logo {
            font-size: 1.5rem;
            font-weight: 700;
            color: white;
            margin-bottom: 20px;
        }
        
        .footer-links a {
            color: #a0aec0;
            text-decoration: none;
            transition: var(--transition);
            display: block;
            margin-bottom: 10px;
        }
        
        .footer-links a:hover {
            color: white;
            padding-left: 5px;
        }
        
        /* Responsive */
        @media (max-width: 992px) {
            .hero-title {
                font-size: 2rem;
            }
            
            h2 {
                font-size: 1.8rem;
            }
            
            .section-padding {
                padding: 50px 0;
            }
            
            .process-connector {
                display: none;
            }
        }
        
        @media (max-width: 768px) {
            .hero-title {
                font-size: 1.8rem;
            }
            
            .hero-section {
                padding: 40px 0;
            }
            
            .cta-nav {
                margin-left: 0;
                margin-top: 10px;
            }
            
            .navbar-nav {
                text-align: center;
            }
        }
        
        /* Animation */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .animate-fade-up {
            animation: fadeInUp 0.6s ease forwards;
        }
        
        /* Smooth scrolling */
        html {
            scroll-behavior: smooth;
        }
        
        .scroll-indicator {
            position: fixed;
            right: 30px;
            bottom: 30px;
            width: 50px;
            height: 50px;
            background: var(--primary-blue);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: var(--transition);
        }
        
        .scroll-indicator.active {
            opacity: 1;
            visibility: visible;
        }

        html {
    font-size: 14px;
}

/* Responsive typography scale */
h1, .hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    line-height: 1.4;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.25rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

h5 {
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

/* Body text */
body {
    font-size: 1rem;
    line-height: 1.6;
}

/* Hero section mobile-first */
.hero-title {
    font-size: 2.2rem;
}

.hero-subtitle {
    font-size: 1.1rem;
}

/* Buttons base size */
.btn {
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
}

.btn-lg {
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

/* Navigation base */
.nav-link {
    font-size: 1rem;
    padding: 0.5rem 1rem;
}

/* Form elements base */
.form-control, .form-select {
    font-size: 1rem;
}

/* Cards base */
.card-body {
    padding: 1.5rem;
}

/* Section spacing mobile-first */
.section-padding {
    padding: 3rem 0;
}

.hero-section {
    padding: 7rem 0;
}
 
.bg-light-gray {
    background-color: #f8f9fa;
}

.model-card {
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #eaeaea;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.model-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.model-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-blue), #0056b3);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2rem;
}

.bg-primary-soft {
    background-color: rgba(0, 123, 255, 0.1);
}

.bg-warning-soft {
    background-color: rgba(255, 193, 7, 0.1);
}

.bg-info-soft {
    background-color: rgba(23, 162, 184, 0.1);
}

.metric-box {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 10px;
    padding: 15px;
    margin: 20px 0;
    border: 2px dashed #dee2e6;
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0056b3;
    line-height: 1;
}

.metric-label {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
}

.visual-data {
    border-left: 3px solid var(--primary-blue);
    padding-left: 15px;
}

.data-point {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    color: #444;
    font-size: 0.95rem;
}

.data-point i {
    margin-top: 2px;
    flex-shrink: 0;
}

.comparison-note {
    max-width: 900px;
    margin: 0 auto;
}

.insight-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    color: #555;
}

.insight-item strong {
    color: #333;
    margin-right: 5px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .model-card {
        margin-bottom: 30px;
    }
    
    .metric-value {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .insight-item {
        justify-content: flex-start;
        margin-bottom: 10px;
    }
}
 
.franchise-detail-page {
  
    line-height: 1.6; 
    padding: 2rem 1rem; 
    margin: 0 auto;
}

 

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.subtitle {
    color: #64748b;
    font-size: 1.125rem;
}

/* Tabs Navigation */
.model-tabs {
  
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
}

.tab {
    padding: 1rem 2rem;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 8px 8px 0 0;
}

.tab:hover {
    color: #3b82f6;
    background: #f1f5f9;
}

.tab.active {
    color: #3b82f6;
}

 
/* Model Sections */
.model-section {
    display: none;
    animation: fadeIn 0.3s ease;
}

.model-section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Model Header */
.model-header {
    
    color: var(--dark-gray);
    padding: 2.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    position: relative;
}

 

.model-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.model-subtitle {
    color: #cbd5e1;
    font-size: 1.125rem;
}

/* Stats Section */
.model-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.stat {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-gray);
    line-height: 1;
}

.stat-label {
    color: #64748b;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Model Content */
.model-content {
    padding: 1rem 0;
}

.description {
    margin-bottom: 3rem;
}

.description h3 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.description p {
    color: #475569;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

/* Partners Section */
.partners-section {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.partners-section h4 {
    color: #1e293b;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.25rem;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.partner {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    color: #1e293b;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.partner:hover {
    border-color: #3b82f6;
    color: #3b82f6;
    transform: translateY(-2px);
}

/* Key Features */
.key-features {
    margin: 3rem 0;
}

.key-features h3 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: #3b82f6;
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.feature-item i {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.feature-item h4 {
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.feature-item p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Comparison Section */
.comparison-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid #e2e8f0;
}

.comparison-section h3 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 1.5rem;
    text-align: center;
}

.comparison-table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    background: #1e293b;
    color: white;
}

.header-item {
    padding: 1.25rem;
    font-weight: 600;
    text-align: center;
}

.table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    border-bottom: 1px solid #e2e8f0;
}

.table-row:last-child {
    border-bottom: none;
}

.row-item {
    padding: 1.25rem;
    text-align: center;
    color: #475569;
}

.table-row:nth-child(even) {
    background: #f8fafc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .model-tabs {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .tab {
        text-align: left;
        padding: 0.75rem 1rem;
    }
    
    .tab.active::after {
        left: 0;
        right: auto;
        width: 3px;
        height: 100%;
        top: 0;
        bottom: 0;
    }
    
    .model-header {
        padding: 1.5rem;
    }
    
    .model-header h2 {
        font-size: 1.75rem;
    }
    
    .model-stats {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-table {
        overflow-x: auto;
    }
    
    .table-header,
    .table-row {
        min-width: 600px;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 1.75rem;
    }
    
    .model-header h2 {
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .partner {
        padding: 0.75rem 0.5rem;
        font-size: 0.875rem;
    }
}

.model-tabs .tab {
    border: none;
    background: transparent;
    color: #6c757d;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.model-tabs .tab:hover {
    background-color: rgba(13, 110, 253, 0.05);
    color: #0d6efd;
}

.model-tabs .tab.active {
    background-color: var(--primary-blue);
    color: white;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.2);
}

.model-tabs .tab.active .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}

.model-tabs .flex-fill {
    flex: 1;
    min-width: 0;
}