/* Little Stars Academy - Kids Theme */
/* Warm Cream Background with Sunshine Yellow Accents */

:root {
    --bg-primary: #FFF6E9;
    --primary: #FFC93C;
    --secondary: #4EA8DE;
    --accent: #6BCB77;
    --text-dark: #3A2E23;
    --text-light: #FFFFFF;
    --card-yellow: #FFE066;
    --card-blue: #A8E6CF;
    --card-green: #B8DFF5;
    --shadow-soft: 0 4px 12px rgba(58, 46, 35, 0.1);
    --shadow-colored: 0 6px 20px rgba(255, 201, 60, 0.25);
    --radius-large: 24px;
    --radius-medium: 20px;
    --border-sticker: 3px;
}

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

body {
    font-family: 'Tahoma', 'Arial', sans-serif;
    background: var(--bg-primary);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Section */
.section {
    padding: 60px 0;
}

/* Grid */
.grid {
    display: grid;
    gap: 20px;
}

.grid-2 {
    grid-template-columns: 1fr;
}

.grid-3 {
    grid-template-columns: 1fr;
}

.grid-4 {
    grid-template-columns: 1fr;
}

/* Section Titles */
.section-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 16px;
    text-align: center;
    margin-bottom: 32px;
    color: var(--text-dark);
    opacity: 0.8;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0 60px;
    overflow: hidden;
}

.hero-container {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: var(--primary);
    color: var(--text-dark);
    font-weight: 700;
    font-size: 14px;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-colored);
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-dark);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.9;
    color: var(--text-dark);
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 50px;
    min-height: 44px;
    min-width: 44px;
    padding: 12px 24px;
    font-size: 16px;
}

.btn-primary {
    background: var(--primary);
    color: var(--text-dark);
    box-shadow: var(--shadow-colored);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 201, 60, 0.4);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--text-light);
    box-shadow: 0 6px 20px rgba(78, 168, 222, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(78, 168, 222, 0.4);
}

.btn-circle {
    border-radius: 50px;
}

/* Cards */
.card {
    background: var(--text-light);
    border-radius: var(--radius-medium);
    padding: 24px;
    border: var(--border-sticker) solid transparent;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-colored);
}

/* Age Cards */
.card-age {
    border-color: var(--primary);
    background: linear-gradient(135deg, #FFF6E9 0%, #FFE066 100%);
    text-align: center;
}

.card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--text-dark);
}

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

.card-text {
    font-size: 16px;
    color: var(--text-dark);
    opacity: 0.8;
}

/* Program Cards */
.card-program {
    border: var(--border-sticker) solid var(--text-dark);
}

.card-yellow {
    background: linear-gradient(135deg, #FFF6E9 0%, #FFE066 100%);
    border-color: var(--primary);
}

.card-blue {
    background: linear-gradient(135deg, #FFF6E9 0%, #A8E6CF 100%);
    border-color: var(--secondary);
}

.card-green {
    background: linear-gradient(135deg, #FFF6E9 0%, #B8DFF5 100%);
    border-color: var(--accent);
}

/* Statistics Section */
.stats-section {
    background: linear-gradient(135deg, #FFF6E9 0%, #FFE066 100%);
    border: var(--border-sticker) solid var(--primary);
    margin: 40px auto;
    max-width: 1100px;
    border-radius: var(--radius-large);
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
}

.stat-label {
    font-size: 16px;
    color: var(--text-dark);
    margin-top: 8px;
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--text-light);
    padding: 40px 0 20px;
    margin-top: 40px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 24px;
}

.footer-brand {
    text-align: right;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.logo svg {
    width: 40px;
    height: 40px;
}

.logo span {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.footer-text {
    font-size: 14px;
    opacity: 0.8;
}

.footer-qr {
    text-align: center;
}

.footer-qr svg {
    width: 80px;
    height: 80px;
    margin-bottom: 8px;
}

.footer-qr span {
    font-size: 14px;
    display: block;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom a {
    color: var(--primary);
    text-decoration: none;
}

/* Background Elements */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
}

.circle-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    top: 20%;
    right: -50px;
}

.circle-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    bottom: 30%;
    left: -30px;
}

.circle-3 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    top: 50%;
    right: 10%;
}

.bg-star {
    position: absolute;
    font-size: 24px;
    opacity: 0.2;
    color: var(--primary);
}

.star-1 {
    top: 15%;
    left: 10%;
}

.star-2 {
    bottom: 20%;
    right: 15%;
}

.star-3 {
    top: 60%;
    left: 5%;
}

/* Animations */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* RTL Support */
[dir="rtl"] .hero-ctas {
    flex-direction: row-reverse;
}

[dir="rtl"] .footer-top {
    flex-direction: row-reverse;
}

[dir="rtl"] .logo {
    flex-direction: row-reverse;
}

[dir="ltr"] .hero-ctas {
    flex-direction: row;
}

[dir="ltr"] .footer-top {
    flex-direction: row;
}

/* Responsive Design */
@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-ctas {
        flex-direction: row !important;
        justify-content: center;
    }
    
    .footer-top {
        flex-direction: row !important;
    }
}

@media (min-width: 1440px) {
    .hero-title {
        font-size: 56px;
    }
    
    .stat-number {
        font-size: 56px;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-top {
        flex-direction: column;
        text-align: center;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .stat-number {
        font-size: 36px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Visible */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 6px;
}