/* Franklin App Academy - Styles */

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

:root {
    --primary-blue: #2D5BA8;
    --accent-orange: #F97316;
    --dark-text: #1F2937;
    --light-gray: #F3F4F6;
    --white: #FFFFFF;
    --success-green: #10B981;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Fredoka', sans-serif;
}

/* Navigation */
nav {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    font-family: 'Fredoka', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-blue);
}

.logo-tagline {
    font-size: 12px;
    color: #6B7280;
    font-weight: 500;
    margin-top: 2px;
}

.nav-cta {
    background: var(--accent-orange);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.nav-cta:hover {
    background: #ea580c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1E40AF 100%);
    color: white;
    padding: 80px 20px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-tagline {
    font-size: clamp(20px, 3vw, 28px);
    margin-bottom: 15px;
    font-weight: 500;
    color: #DBEAFE;
}

.hero-subtitle {
    font-size: clamp(18px, 2.5vw, 24px);
    margin-bottom: 40px;
    font-weight: 600;
    color: #FEF3C7;
}

.hero-cta-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.cta-button {
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    border: none;
}

.cta-primary {
    background: var(--accent-orange);
    color: white;
}

.cta-primary:hover {
    background: #ea580c;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.4);
}

.cta-secondary {
    background: white;
    color: var(--primary-blue);
}

.cta-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

/* Stats Bar */
.stats-bar {
    background: var(--accent-orange);
    color: white;
    padding: 30px 20px;
    text-align: center;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-item {
    padding: 10px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    font-family: 'Fredoka', sans-serif;
    display: block;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 16px;
    font-weight: 500;
}

/* Section Styles */
section {
    padding: 80px 20px;
}

.section-light {
    background: var(--white);
}

.section-gray {
    background: var(--light-gray);
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-weight: 700;
}

.section-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: #6B7280;
    max-width: 700px;
    margin: 0 auto;
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #374151;
}

.about-highlight {
    background: #FEF3C7;
    border-left: 4px solid var(--accent-orange);
    padding: 25px;
    margin: 30px 0;
    border-radius: 8px;
    text-align: left;
}

.about-highlight strong {
    color: var(--accent-orange);
    font-size: 18px;
}

/* Learning Outcomes */
.outcomes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.outcome-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.outcome-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.outcome-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.outcome-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.outcome-description {
    color: #6B7280;
    line-height: 1.6;
}

/* Why Franklin */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.why-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    border: 2px solid #E5E7EB;
    transition: all 0.3s;
}

.why-card:hover {
    border-color: var(--accent-orange);
    transform: translateY(-3px);
}

.why-icon {
    font-size: 36px;
    margin-bottom: 15px;
    display: block;
}

.why-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 10px;
}

.why-text {
    color: #6B7280;
    font-size: 15px;
}

/* Program Section */
.program-box {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1E40AF 100%);
    color: white;
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    margin-top: 40px;
}

.program-title {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 20px;
    font-weight: 700;
}

.program-subtitle {
    font-size: clamp(18px, 2vw, 24px);
    margin-bottom: 30px;
    color: #DBEAFE;
}

.program-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
    text-align: left;
}

.program-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.program-feature-icon {
    font-size: 24px;
    flex-shrink: 0;
}

/* Instructor Section */
.instructor-card {
    background: white;
    border-radius: 16px;
    padding: 50px;
    max-width: 900px;
    margin: 40px auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

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

.instructor-name {
    font-size: 36px;
    color: var(--primary-blue);
    margin-bottom: 8px;
    font-weight: 700;
}

.instructor-title {
    font-size: 20px;
    color: var(--accent-orange);
    font-weight: 600;
}

.instructor-details {
    display: grid;
    gap: 20px;
}

.instructor-detail {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: var(--light-gray);
    border-radius: 8px;
}

.detail-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.detail-text {
    font-size: 16px;
    color: #374151;
    line-height: 1.6;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 40px auto;
}

.faq-item {
    background: white;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-question {
    padding: 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 18px;
    color: var(--dark-text);
    transition: all 0.3s;
}

.faq-question:hover {
    background: var(--light-gray);
}

.faq-question::after {
    content: '+';
    font-size: 28px;
    color: var(--accent-orange);
    transition: transform 0.3s;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-answer.active {
    padding: 0 25px 25px;
    max-height: 500px;
}

.faq-answer p {
    color: #6B7280;
    line-height: 1.7;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.contact-card {
    background: white;
    padding: 35px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.contact-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.contact-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.contact-info {
    font-size: 18px;
    color: var(--dark-text);
    margin-bottom: 20px;
    word-break: break-word;
}

.contact-button {
    display: inline-block;
    padding: 12px 30px;
    background: var(--accent-orange);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.contact-button:hover {
    background: #ea580c;
    transform: translateY(-2px);
}

/* Map Section */
.map-container {
    margin-top: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

.location-text {
    text-align: center;
    margin-top: 20px;
    font-size: 18px;
    color: #6B7280;
}

.location-text strong {
    color: var(--dark-text);
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #ea580c 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.cta-banner-title {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-banner-text {
    font-size: clamp(18px, 2.5vw, 24px);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-banner-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-banner-button {
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cta-white {
    background: white;
    color: var(--accent-orange);
}

.cta-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

/* Footer */
footer {
    background: #1F2937;
    color: white;
    padding: 60px 20px 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--accent-orange);
}

.footer-section p,
.footer-section a {
    color: #D1D5DB;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--accent-orange);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #374151;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--accent-orange);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #374151;
    color: #9CA3AF;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    cursor: pointer;
    transition: all 0.3s;
    z-index: 999;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.7);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        justify-content: center;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .hero {
        padding: 60px 20px 40px;
    }
    
    .hero-cta-container {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    section {
        padding: 60px 20px;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .outcomes-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .program-box {
        padding: 40px 20px;
    }
    
    .instructor-card {
        padding: 30px 20px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}
