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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

/* Weather Effects */
#weatherEffect {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.3;
}

.snow {
    background: 
        radial-gradient(white, rgba(255,255,255,.9)) 0 0,
        radial-gradient(white, rgba(255,255,255,.7)) 50px 50px,
        radial-gradient(white, rgba(255,255,255,.5)) 100px 100px;
    background-size: 200px 200px;
    animation: snowFall 10s linear infinite;
}

.rain {
    background: 
        linear-gradient(white 1px, transparent 1px) 0 0,
        linear-gradient(90deg, white 1px, transparent 1px) 0 0;
    background-size: 20px 20px;
    animation: rainFall 1s linear infinite;
}

.sun {
    background: radial-gradient(circle, #fffdf7, #ffec99, #ffd43b);
    opacity: 0.7;
}

.storm {
    background: radial-gradient(circle, #6c757d, #495057, #343a40);
    opacity: 0.8;
}

.leaf {
    background: 
        radial-gradient(rgba(139, 69, 19, 0.7), rgba(160, 82, 45, 0.5)) 10% 10%,
        radial-gradient(rgba(222, 184, 135, 0.7), rgba(139, 69, 19, 0.5)) 30% 30%,
        radial-gradient(rgba(255, 165, 0, 0.7), rgba(210, 105, 30, 0.5)) 50% 50%,
        radial-gradient(rgba(255, 215, 0, 0.7), rgba(255, 255, 0, 0.5)) 70% 70%,
        radial-gradient(rgba(255, 255, 0, 0.7), rgba(173, 216, 230, 0.5)) 90% 90%;
    background-size: 300px 300px;
    animation: leafFall 15s linear infinite;
}

@keyframes snowFall {
    0% { background-position: 0 0, 50px 50px, 100px 100px; }
    100% { background-position: 0 200px, 50px 250px, 100px 300px; }
}

@keyframes rainFall {
    0% { background-position: 0 0; }
    100% { background-position: 20px 20px; }
}

@keyframes leafFall {
    0% { background-position: 0 0, 100px 100px, 200px 200px, 300px 300px, 400px 400px; }
    100% { background-position: 0 300px, 100px 400px, 200px 500px, 300px 600px, 400px 700px; }
}

/* Header Styles */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #4a90e2;
}

.admin-btn {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.admin-btn:hover {
    background-color: #c82333;
}

/* Main Content */
main {
    min-height: calc(100vh - 180px);
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 1rem;
    background: linear-gradient(135deg, #4a90e2, #7b68ee);
    color: white;
    margin-bottom: 3rem;
    border-radius: 10px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

#exploreCoursesBtn {
    background-color: #fff;
    color: #4a90e2;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
}

#exploreCoursesBtn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Features Section */
.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    flex: 1;
    min-width: 250px;
    text-align: center;
    transition: transform 0.3s;
    border: 2px solid #4a90e2;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card h3 {
    color: #4a90e2;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #666;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1.5rem;
    margin-top: 2rem;
}