/**
 * Frontend Styles for Free English Class Funnel
 * Mobile-First Responsive Design
 */

/* Reset and Base */
.fecf-landing-page {
    font-family: var(--fecf-bangla-font);
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.fecf-landing-page * {
    box-sizing: border-box;
}

.fecf-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.fecf-hero {
    background: linear-gradient(135deg, var(--fecf-primary) 0%, #ff8c5a 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.fecf-brand-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.fecf-logo {
    font-size: 80px;
    margin-bottom: 15px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.fecf-brand-info {
    text-align: center;
}

.fecf-brand-name {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.fecf-trainer {
    font-size: 18px;
    margin: 5px 0;
    opacity: 0.95;
}

.fecf-location {
    font-size: 14px;
    margin: 5px 0;
    opacity: 0.9;
}

.fecf-headline {
    font-size: 38px;
    font-weight: 700;
    margin: 30px 0 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.fecf-subheadline {
    font-size: 20px;
    margin: 0 0 30px;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Buttons */
.fecf-cta-btn {
    background: white;
    color: var(--fecf-button);
    font-size: 20px;
    font-weight: 700;
    padding: 18px 40px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    font-family: var(--fecf-bangla-font);
    display: inline-block;
}

.fecf-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.fecf-cta-center {
    text-align: center;
    margin: 40px 0;
}

/* Benefits Section */
.fecf-benefits {
    padding: 80px 20px;
    background: #f9f9f9;
}

.fecf-section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 50px;
    color: var(--fecf-primary);
}

.fecf-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.fecf-benefit-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.fecf-benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.fecf-benefit-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.fecf-benefit-card h3 {
    font-size: 22px;
    margin: 0 0 15px;
    color: #333;
}

.fecf-benefit-card p {
    font-size: 16px;
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* Who Should Join Section */
.fecf-who-should-join {
    padding: 80px 20px;
    background: white;
}

.fecf-audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.fecf-audience-card {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.fecf-audience-card:hover {
    border-color: var(--fecf-primary);
    background: white;
}

.fecf-audience-emoji {
    font-size: 50px;
    margin-bottom: 15px;
}

.fecf-audience-card h4 {
    font-size: 20px;
    margin: 0 0 10px;
    color: var(--fecf-primary);
}

.fecf-audience-card p {
    font-size: 14px;
    margin: 0;
    color: #555;
}

/* Form Section */
.fecf-form-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--fecf-primary) 0%, #ff8c5a 100%);
}

.fecf-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.fecf-form-header {
    text-align: center;
    margin-bottom: 35px;
}

.fecf-form-header h2 {
    font-size: 32px;
    margin: 0 0 15px;
    color: var(--fecf-primary);
}

.fecf-form-header p {
    font-size: 16px;
    margin: 0;
    color: #666;
}

.fecf-form-group {
    margin-bottom: 25px;
}

.fecf-form-group label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.fecf-form-group input,
.fecf-form-group select {
    width: 100%;
    padding: 15px 20px;
    font-size: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-family: var(--fecf-bangla-font);
}

.fecf-form-group input:focus,
.fecf-form-group select:focus {
    outline: none;
    border-color: var(--fecf-primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.fecf-submit-btn {
    width: 100%;
    background: var(--fecf-button);
    color: white;
    font-size: 20px;
    font-weight: 700;
    padding: 18px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--fecf-bangla-font);
}

.fecf-submit-btn:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.fecf-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.fecf-form-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.fecf-form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.fecf-form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Final CTA Section */
.fecf-final-cta {
    padding: 80px 20px;
    background: #f9f9f9;
    text-align: center;
}

.fecf-final-cta h2 {
    font-size: 32px;
    margin: 0 0 15px;
    color: #333;
}

.fecf-final-cta p {
    font-size: 18px;
    margin: 0 0 30px;
    color: #666;
}

/* Footer */
.fecf-footer {
    background: #333;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.fecf-footer p {
    margin: 10px 0;
    font-size: 14px;
}

.fecf-footer-location {
    opacity: 0.8;
}

/* Thank You Page */
.fecf-thankyou-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--fecf-primary) 0%, #ff8c5a 100%);
    padding: 40px 20px;
}

.fecf-thankyou-container {
    background: white;
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 600px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.fecf-thankyou-icon {
    font-size: 100px;
    margin-bottom: 20px;
    animation: scaleUp 0.5s ease-out;
}

@keyframes scaleUp {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

.fecf-thankyou-title {
    font-size: 36px;
    color: var(--fecf-primary);
    margin: 0 0 20px;
}

.fecf-thankyou-message {
    font-size: 22px;
    color: #333;
    margin: 0 0 30px;
    line-height: 1.6;
}

.fecf-thankyou-info {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.fecf-thankyou-info p {
    margin: 10px 0;
    font-size: 16px;
    color: #555;
}

.fecf-thankyou-contact {
    padding: 25px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    border-radius: 12px;
}

.fecf-thankyou-contact h3 {
    margin: 0 0 10px;
    color: var(--fecf-primary);
}

.fecf-thankyou-contact p {
    margin: 5px 0;
    color: #666;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .fecf-hero {
        padding: 40px 20px;
    }
    
    .fecf-logo {
        font-size: 60px;
    }
    
    .fecf-brand-name {
        font-size: 22px;
    }
    
    .fecf-headline {
        font-size: 28px;
    }
    
    .fecf-subheadline {
        font-size: 16px;
    }
    
    .fecf-cta-btn {
        font-size: 18px;
        padding: 15px 30px;
    }
    
    .fecf-section-title {
        font-size: 28px;
    }
    
    .fecf-benefits,
    .fecf-who-should-join,
    .fecf-form-section,
    .fecf-final-cta {
        padding: 50px 20px;
    }
    
    .fecf-benefits-grid,
    .fecf-audience-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .fecf-form-wrapper {
        padding: 35px 25px;
    }
    
    .fecf-form-header h2 {
        font-size: 26px;
    }
    
    .fecf-thankyou-container {
        padding: 40px 25px;
    }
    
    .fecf-thankyou-icon {
        font-size: 80px;
    }
    
    .fecf-thankyou-title {
        font-size: 28px;
    }
    
    .fecf-thankyou-message {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .fecf-headline {
        font-size: 24px;
    }
    
    .fecf-brand-name {
        font-size: 18px;
    }
    
    .fecf-section-title {
        font-size: 24px;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.fecf-btn-loader {
    display: inline-block;
}
