/* style.css - Sonu Ki Pathshala Complete Styling */

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Comic Sans MS', 'Baloo Bhai 2', cursive;
}

:root {
    --sunshine-yellow: #FFD166;
    --sky-blue: #118AB2;
    --grass-green: #06D6A0;
    --happy-orange: #EF476F;
    --soft-purple: #9D6BFF;
    --white: #ffffff;
    --dark-blue: #073B4C;
}

/* SEO Optimization Classes */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.schema-organization {
    display: none;
}

/* Header with SEO */
.site-header {
    background-color: var(--sunshine-yellow);
    border-radius: 20px;
    padding: 15px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Main content SEO */
.main-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

/* Breadcrumb for SEO */
.breadcrumb {
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--sky-blue);
    text-decoration: none;
}


body {
    background: linear-gradient(135deg, var(--sky-blue), var(--grass-green));
    min-height: 100vh;
    overflow-x: hidden;
    padding: 10px;
}

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

/* Header Styles */
header {
    background-color: var(--sunshine-yellow);
    border-radius: 20px;
    padding: 15px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.logo {
    display: flex;
    align-items: center;
}

.logo h1 {
    color: var(--happy-orange);
    font-size: 2.2rem;
    text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.1);
    margin-left: 10px;
}

.logo-img {
    width: 70px;
    height: 70px;
    background-color: var(--happy-orange);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 2rem;
    font-weight: bold;
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
    gap: 15px;
}

nav a {
    text-decoration: none;
    background-color: var(--soft-purple);
    color: white;
    padding: 10px 15px;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

nav a:hover {
    background-color: var(--happy-orange);
    transform: translateY(-3px);
}

/* Main Content Area */
.main-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.welcome-section {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.welcome-section h2 {
    color: var(--happy-orange);
    font-size: 2rem;
    margin-bottom: 15px;
}

.welcome-section p {
    font-size: 1.2rem;
    color: var(--dark-blue);
    margin-bottom: 20px;
}

.sonu-character {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--happy-orange), var(--soft-purple));
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 4rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Class Selection Grid */
.classes-section {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.classes-section h2 {
    color: var(--dark-blue);
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.class-card {
    background: linear-gradient(135deg, var(--sky-blue), var(--soft-purple));
    border-radius: 15px;
    padding: 25px 15px;
    text-align: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
}

.class-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
}

.class-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

.class-card h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.class-card p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Activities Section */
.activities-section {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.activities-section h2 {
    color: var(--dark-blue);
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.activity-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.activity-card:hover {
    transform: translateY(-5px);
    border-color: var(--grass-green);
}

.activity-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--happy-orange);
}

.activity-card h3 {
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.activity-card p {
    color: #666;
    font-size: 0.9rem;
}

/* Footer */
footer {
    background-color: var(--dark-blue);
    color: white;
    text-align: center;
    padding: 20px;
    border-radius: 15px;
    margin-top: 30px;
}

/* Class-specific Pages */
.class-header {
    background: linear-gradient(135deg, var(--happy-orange), var(--soft-purple));
    border-radius: 20px;
    padding: 20px;
    color: white;
    text-align: center;
    margin-bottom: 20px;
}

.learning-modules {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.module-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.module-card h3 {
    color: var(--happy-orange);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.activity-list {
    list-style: none;
}

.activity-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

.activity-list li:last-child {
    border-bottom: none;
}

/* Games & Interactive Elements */
.game-container {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.game-title {
    color: var(--happy-orange);
    text-align: center;
    margin-bottom: 15px;
}

.alphabet-game {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}

.letter-card {
    width: 60px;
    height: 60px;
    background: var(--sky-blue);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.letter-card:hover {
    background: var(--happy-orange);
    transform: scale(1.1);
}

.dragging-area {
    background: #f0f0f0;
    border-radius: 10px;
    padding: 20px;
    min-height: 100px;
    margin-top: 20px;
    border: 2px dashed #ccc;
}

/* Buttons */
.btn {
    display: inline-block;
    background: var(--grass-green);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-align: center;
}

.btn:hover {
    background: var(--happy-orange);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .classes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .activities-grid {
        grid-template-columns: 1fr;
    }
    
    .logo h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .classes-grid {
        grid-template-columns: 1fr;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .welcome-section h2 {
        font-size: 1.5rem;
    }
}