/* --- बेसिक और ग्लोबल स्टाइल्स --- */
:root {
    --primary-color: #4A90E2; /* मुख्य नीला रंग */
    --secondary-color: #2D3748; /* गहरा ग्रे */
    --background-color: #F7FAFC; /* हल्का बैकग्राउंड */
    --text-color: #4A5568; /* टेक्स्ट का रंग */
    --white-color: #FFFFFF;
    --heading-font: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-color: var(--background-color);
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: var(--heading-font);
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

/* --- हेडर और नेविगेशन --- */
.header {
    background: var(--white-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-list {
    list-style: none;
    display: flex;
}

.nav-list li {
    margin-left: 2rem;
}

.nav-list a {
    color: var(--secondary-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-list a:hover {
    color: var(--primary-color);
}

.mobile-menu-icon {
    display: none; /* डेस्कटॉप पर छिपा रहेगा */
    font-size: 2rem;
    cursor: pointer;
}

/* --- हीरो सेक्शन --- */
.hero {
    background: linear-gradient(rgba(74, 144, 226, 0.8), rgba(74, 144, 226, 0.8)), url('https://via.placeholder.com/1500x500.png?text=Learning+Environment') no-repeat center center/cover;
    color: var(--white-color);
    text-align: center;
    padding: 6rem 0;
}

.hero h1 {
    font-size: 3rem;
    color: var(--white-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    background: var(--white-color);
    color: var(--primary-color);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--secondary-color);
    color: var(--white-color);
}

/* --- फीचर्स सेक्शन --- */
.features {
    padding: 4rem 0;
}

.features .container {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    text-align: center;
}

.feature-card {
    padding: 2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
}

/* --- कोर्स सेक्शन --- */
.courses {
    padding: 4rem 0;
    background: var(--white-color);
}
.courses .container {
    text-align: center;
}
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.course-card {
    background: var(--background-color);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.course-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.course-card h3, .course-card p, .course-card a {
    padding: 0 1.5rem;
}

.course-card h3 {
    margin-top: 1rem;
}

.course-card a {
    display: inline-block;
    margin: 1rem 0;
    padding-bottom: 1rem;
    font-weight: 600;
}

/* --- फुटर सेक्शन --- */
.footer {
    background: var(--secondary-color);
    color: var(--background-color);
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}
.footer-section ul li {
    margin-bottom: 0.5rem;
}
.footer-section a {
    color: var(--background-color);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--text-color);
    padding-top: 1rem;
}

/* --- मोबाइल के लिए रेस्पॉन्सिव डिजाइन (Media Queries) --- */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px; /* Header height */
        left: -100%; /* Initially hidden */
        width: 100%;
        height: 100vh;
        background: var(--white-color);
        transition: left 0.3s ease;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0; /* Show menu */
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        padding-top: 3rem;
    }

    .nav-list li {
        margin: 1.5rem 0;
    }
    
    .mobile-menu-icon {
        display: block; /* मोबाइल पर दिखेगा */
    }

    .features .container {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}