/* ============================================
   FRANCHISE PAGE - BIJNORI CHAI WALA
   Complete Responsive CSS
   ============================================ */

/* Container */
.franchise-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   PAGE HEADER
   ============================================ */
.franchise-page-header {
    background: linear-gradient(135deg, #4a2c1a, #2d1a0e);
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.franchise-page-header::before {
    content: '🤝';
    position: absolute;
    top: -50px;
    left: -50px;
    font-size: 200px;
    opacity: 0.05;
}

.franchise-page-header::after {
    content: '⭐';
    position: absolute;
    bottom: -50px;
    right: -50px;
    font-size: 200px;
    opacity: 0.05;
}

.franchise-page-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: white;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.franchise-page-subtitle {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   HERO SECTION
   ============================================ */
.franchise-hero-section {
    padding: 80px 0;
    background: #fffaf2;
}

.franchise-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.franchise-hero-content {
    animation: fadeInLeft 0.8s ease;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.franchise-hero-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: #4a2c1a;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.franchise-hero-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #c46b2b, #e8904a);
    border-radius: 3px;
}

.franchise-hero-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
}

.franchise-benefits-list {
    list-style: none;
    margin: 25px 0;
}

.franchise-benefits-list li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
}

.franchise-benefits-list li i {
    color: #c46b2b;
    font-size: 18px;
}

.franchise-apply-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #c46b2b, #e8904a);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.franchise-apply-btn:hover {
    transform: translateY(-2px);
    gap: 15px;
    box-shadow: 0 5px 15px rgba(196, 107, 43, 0.3);
}

.franchise-hero-image {
    animation: fadeInRight 0.8s ease;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.franchise-hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.franchise-hero-image img:hover {
    transform: scale(1.02);
}

/* ============================================
   STATS SECTION
   ============================================ */
.franchise-stats-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #fff5eb, #fffaf2);
}

.franchise-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.franchise-stat-card {
    padding: 30px 20px;
    background: white;
    border-radius: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.franchise-stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(196, 107, 43, 0.15);
}

.franchise-stat-card h3 {
    font-size: 2.5rem;
    color: #c46b2b;
    margin-bottom: 10px;
}

.franchise-stat-card p {
    color: #666;
    font-weight: 500;
}

/* ============================================
   FORM SECTION
   ============================================ */
.franchise-form-section {
    padding: 80px 0;
    background: #fffaf2;
}

.franchise-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 25px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.franchise-form-container h2 {
    text-align: center;
    font-size: 1.8rem;
    color: #4a2c1a;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.franchise-form-container h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #c46b2b, #e8904a);
    border-radius: 3px;
}

.franchise-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.franchise-form-container input,
.franchise-form-container textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e0d6cc;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.franchise-form-container input:focus,
.franchise-form-container textarea:focus {
    outline: none;
    border-color: #c46b2b;
    box-shadow: 0 0 0 3px rgba(196, 107, 43, 0.1);
}

.franchise-form-container textarea {
    resize: vertical;
    margin-bottom: 20px;
}

.franchise-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #c46b2b, #e8904a);
    color: white;
    padding: 14px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.franchise-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(196, 107, 43, 0.3);
}

.franchise-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.franchise-form-note {
    text-align: center;
    margin-top: 20px;
    font-size: 0.8rem;
    color: #999;
}

/* Success/Error Messages */
.franchise-success-msg,
.franchise-error-msg {
    padding: 12px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
    animation: fadeInMsg 0.3s ease;
}

.franchise-success-msg {
    background: #27ae60;
    color: white;
}

.franchise-error-msg {
    background: #e74c3c;
    color: white;
}

@keyframes fadeInMsg {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .franchise-stats-grid {
        gap: 20px;
    }

    .franchise-stat-card h3 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .franchise-page-header {
        padding: 60px 0 40px;
    }

    .franchise-page-title {
        font-size: 1.8rem;
    }

    .franchise-hero-section {
        padding: 60px 0;
    }

    .franchise-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .franchise-hero-content {
        order: 2;
        text-align: center;
    }

    .franchise-hero-content h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .franchise-benefits-list li {
        justify-content: center;
    }

    .franchise-hero-image {
        order: 1;
    }

    .franchise-stats-section {
        padding: 50px 0;
    }

    .franchise-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .franchise-form-section {
        padding: 60px 0;
    }

    .franchise-form-container {
        padding: 30px 25px;
    }

    .franchise-form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .franchise-container {
        padding: 0 15px;
    }

    .franchise-page-title {
        font-size: 1.5rem;
    }

    .franchise-page-subtitle {
        font-size: 0.85rem;
    }

    .franchise-hero-content h2 {
        font-size: 1.5rem;
    }

    .franchise-hero-content p {
        font-size: 0.9rem;
    }

    .franchise-benefits-list li {
        font-size: 0.85rem;
    }

    .franchise-stat-card {
        padding: 20px 15px;
    }

    .franchise-stat-card h3 {
        font-size: 1.5rem;
    }

    .franchise-stat-card p {
        font-size: 0.8rem;
    }

    .franchise-form-container {
        padding: 25px 20px;
    }

    .franchise-form-container h2 {
        font-size: 1.3rem;
    }

    .franchise-form-container input,
    .franchise-form-container textarea {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 360px) {
    .franchise-stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* Landscape Mode */
@media (max-width: 768px) and (orientation: landscape) {
    .franchise-hero-section {
        padding: 40px 0;
    }

    .franchise-hero-grid {
        gap: 30px;
    }

    .franchise-stats-section {
        padding: 30px 0;
    }

    .franchise-form-section {
        padding: 40px 0;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .franchise-page-header {
        background: #4a2c1a;
        padding: 40px 0;
    }

    .franchise-hero-image img {
        break-inside: avoid;
    }

    .franchise-form-section,
    .whatsapp-float {
        display: none;
    }
}