/* General Reset */
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background-color: #fffaf0; /* Ivory */
    color: #4a4a4a; /* Dark soft text */
    overflow-x: hidden;
}

/* Header */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #d4af37; /* Light gold */
    color: #fffaf0; /* Ivory */
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header h1 {
    font-size: 20px;
    font-weight: bold;
}

.logo {
    width: 60px;
}

/* Hero Section */
.hero-section {
    position: relative;
    text-align: center;
    animation: fadeIn 2s ease-in-out;
}

.hero-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    filter: brightness(0.8);
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fffaf0; /* Ivory */
}

.hero-text h1 {
    font-size: 26px;
    margin-bottom: 10px;
}

.cta-button {
    background-color: #fffaf0; /* Ivory */
    color: #d4af37; /* Gold */
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 5px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: scale(1.1);
    background-color: #fff5d0; /* Lighter Ivory */
}

/* Modules Section */
.modules {
    padding: 20px;
    text-align: center;
}

.modules h2 {
    color: #d4af37; /* Gold */
    margin-bottom: 20px;
}

.module-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.module-card {
    background-color: #fffaf0; /* Ivory */
    border: 1px solid #d4af37; /* Gold */
    border-radius: 10px;
    padding: 15px;
    width: 100%;
    max-width: 250px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 1.5s ease-in-out;
}

.module-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.module-card img {
    width: 60px;
    margin-bottom: 10px;
    animation: bounce 2s infinite;
}

/* Footer */
.footer {
    background-color: #d4af37; /* Gold */
    color: #fffaf0; /* Ivory */
    padding: 10px 20px;
    text-align: center;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-image {
        height: 200px;
    }

    .module-card {
        max-width: 100%;
    }
}
