/* ===== ROOT VARIABLES ===== */
:root {
    --primary-color: #ff7a00;
    --secondary-color: #001f3f;
    --accent-color: #ffa94d;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border-radius: 8px;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 100%; max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.bg-light {
    background: var(--bg-light);
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #001f3f 100%);
    color: var(--white);
    padding: 120px 5% 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 100%; max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
    color: var(--white);
}

/* ===== FRANCHISEE SECTION ===== */
.franchisee-section {
    padding: 80px 5%;
}

.franchisee-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 100%; max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

/* ===== FRANCHISEE INFO ===== */
.franchisee-info h2 {
    color: var(--secondary-color);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
}

.benefits-list {
    margin-bottom: 3rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.benefit-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.benefit-item h3 {
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.benefit-item p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

.requirements-section {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius);
}

.requirements-section h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.requirements-section ul {
    list-style: none;
    padding: 0;
}

.requirements-section li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-dark);
}

.requirements-section li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ===== FORM STYLES ===== */
.form-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 100px;
}

.form-card h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.franchisee-form .form-row {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
    font-family: 'Poppins', sans-serif;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.1);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    cursor: pointer;
    color: var(--text-dark);
}

.form-checkbox input {
    width: auto;
    margin: 0;
}

.form-checkbox a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.form-checkbox a:hover {
    text-decoration: underline;
}

/* ===== BUTTON STYLES ===== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    border: 2px solid transparent;
    font-weight: 600;
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 122, 0, 0.3);
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

/* ===== ALERT STYLES ===== */
.alert {
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
}

.alert-success {
    background: #d1fae5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.alert i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    color: #059669;
}

.alert h4 {
    margin-bottom: 1rem;
    color: inherit;
    font-weight: 600;
}

.alert p {
    margin-bottom: 1.5rem;
    color: inherit;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 968px) {
    .franchisee-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .form-card {
        position: static;
    }
    
    .benefit-item {
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 5% 60px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .franchisee-section {
        padding: 60px 5%;
    }
    
    .form-card {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .form-card {
        padding: 1.5rem;
    }
    
    .benefit-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .franchisee-form .form-row {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.benefit-item,
.form-card {
    animation: fadeInUp 0.6s ease-out;
}

.benefit-item:nth-child(1) { animation-delay: 0.1s; }
.benefit-item:nth-child(2) { animation-delay: 0.2s; }
.benefit-item:nth-child(3) { animation-delay: 0.3s; }
.benefit-item:nth-child(4) { animation-delay: 0.4s; }
.benefit-item:nth-child(5) { animation-delay: 0.5s; }
.benefit-item:nth-child(6) { animation-delay: 0.6s; }

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    .benefit-item,
    .form-card,
    .btn {
        animation: none;
        transition: none;
    }
}