/* ===== ROSE SANTOS ACADEMY - HOME PAGE ===== */

/* =========================================
   1. GLOBAL FIXES & OVERRIDES
   ========================================= */
/* Ensure SVGs are always constrained */
svg {
    max-width: 100%;
    height: auto;
}

/* Specific fix for iconic lists */
.features-list li svg,
.why-us svg,
ul li svg {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    min-height: 24px !important;
    flex-shrink: 0;
    margin-right: 0.75rem;
    color: var(--primary, #0066cc);
}

/* =========================================
   2. HEADER & NAVIGATION
   ========================================= */
.home-header {
    background: var(--surface, #ffffff);
    border-bottom: 1px solid var(--border, #e5e7eb);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.home-header-container {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    gap: 2rem;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-secondary, #4b5563);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-menu a:hover {
    color: var(--primary, #0066cc);
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* =========================================
   3. HERO SECTION
   ========================================= */
.home-hero {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f5f8ff 0%, #e8f0fe 100%);
    overflow: hidden;
}

.home-hero-container {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hero-content {
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-primary, #111827);
}

.gradient-text {
    background: linear-gradient(135deg, #0066cc 0%, #0099ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-secondary, #4b5563);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    max-width: 100%;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* =========================================
   4. STATS SECTION
   ========================================= */
.stats-section {
    background: white;
    border-bottom: 1px solid var(--border, #e5e7eb);
}

.stats-section .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary, #0066cc);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary, #4b5563);
}

/* =========================================
   5. WHY US SECTION
   ========================================= */
.why-us {
    padding: 6rem 0;
    background: #fff;
}

.home-why-us-container {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.why-us-content h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-primary, #111827);
    margin-bottom: 1.5rem;
}

.why-us-content p {
    font-size: 1.125rem;
    color: var(--text-secondary, #4b5563);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.features-list li {
    display: flex;
    align-items: center;
    font-size: 1.125rem;
    color: var(--text-primary, #374151);
    font-weight: 500;
}

.why-us-image img {
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* =========================================
   6. RESPONSIVE ADJUSTMENTS
   ========================================= */
@media (max-width: 1024px) {
    .home-header-container {
        padding: 0.5rem 1rem;
    }

    .nav-menu {
        display: none;
        /* Mobile menu needed */
    }

    .home-hero-container,
    .home-why-us-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-content,
    .why-us-content {
        margin: 0 auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .features-list li {
        justify-content: center;
        /* Center list items on mobile */
    }

    .stats-section .container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .hero-content h1 {
        font-size: 2.25rem;
    }

    .stats-section .container {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }
}
/* =========================================
   7. CTA SECTION
   ========================================= */
.home-cta {
    background: var(--primary, #0066cc);
    padding: 5rem 0;
    text-align: center;
}

.home-cta-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.home-cta h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.home-cta p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

.home-cta .btn {
    background: white;
    color: var(--primary, #0066cc);
    border: none;
    font-weight: 700;
}

.home-cta .btn:hover {
    background: #f0f9ff;
    transform: translateY(-2px);
}

/* =========================================
   8. FOOTER
   ========================================= */
.home-footer {
    background: white;
    border-top: 1px solid var(--border, #e5e7eb);
    padding: 4rem 0 2rem;
}

.home-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.home-footer-grid {
    display: grid !important;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: var(--text-secondary, #4b5563);
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-links h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary, #111827);
    margin-bottom: 1.25rem;
}

.footer-links a {
    display: block;
    color: var(--text-secondary, #4b5563);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary, #0066cc);
}

.home-footer-bottom {
    border-top: 1px solid var(--border, #e5e7eb);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-muted, #9ca3af);
    font-size: 0.875rem;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .home-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .home-footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-brand {
        margin-bottom: 2rem;
    }
}
