:root {
    --primary-color: #4A6FFF;
    --secondary-color: #FF6B6B;
    --accent-color: #FFD166;
    --background-color: #f7f9fc;
    --text-color: #333;
    --card-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    --card-hover-transform: translateY(-10px);
}

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

body {
    font-family: 'Nunito', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

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

header {
    text-align: center;
    margin-bottom: 3rem;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

#logo {
    height: 60px;
    margin-right: 1rem;
}

h1 {
    font-size: 2.8rem;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.tagline {
    font-size: 1.2rem;
    color: #666;
}

h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
    font-size: 2rem;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.module-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.module-card:hover {
    transform: var(--card-hover-transform);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.module-card:nth-child(odd) {
    border-top: 5px solid var(--primary-color);
}

.module-card:nth-child(even) {
    border-top: 5px solid var(--secondary-color);
}

.module-card img {
    height: 120px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.module-card:hover img {
    transform: scale(1.1);
}

.module-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.7rem;
    color: var(--primary-color);
}

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

footer {
    margin-top: 4rem;
    text-align: center;
    color: #777;
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .modules-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }
    
    .modules-grid {
        grid-template-columns: 1fr;
    }
    
    .module-card {
        padding: 1.2rem;
    }
} 