* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
}


.header {
    background: linear-gradient(90deg, #1e3a5f, #2c5282);
    color: white;
    padding: 20px;
    text-align: center;
}

.nav-menu {
    list-style: none;
    padding: 0;
}

.nav-menu li {
    display: inline-block;
    margin: 10px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
}

.nav-menu a:hover {
    color: #ffd700;
}


.hero {
    height: 400px;
    background-image: url("../images/hero.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content {
    background-color: rgba(0,0,0,0.6);
    color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

@keyframes slideUpFade {
    0% { transform: translateY(20px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes pulseButton {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-content h2 {
    animation: slideUpFade 1s ease-out forwards;
}

.hero-content p {
    animation: slideUpFade 1s ease-out forwards;
    animation-delay: 0.3s;
}

.button {
    background-color: #ffd700;
    padding: 12px 20px;
    text-decoration: none;
    color: black;
    border-radius: 5px;
    display: inline-block;
    margin-top: 15px;
    animation: slideUpFade 1s ease-out forwards;
    animation-delay: 0.5s;
    transition: transform 0.3s ease;
}

.button:hover {
    animation: pulseButton 1.5s infinite;
}


.section {
    padding: 40px;
}

.section-alt {
    padding: 40px;
    background-color: #f4f4f4;
}

.cards {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.card {
    background: white;
    padding: 25px;
    flex: 1 1 250px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.2);
}

.card h3,
.card p,
.details-box {
    animation: slideUpFade 1s ease-out forwards;
    animation-delay: 0.2s;
}


.details-box {
    margin-top: 10px;
}

.details-content {
    margin-top: 10px;
    padding: 12px;
    background-color: #eef3f8;
    border-radius: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.details-box[open] .details-content {
    opacity: 1;
    transform: translateY(0);
}

.button-small {
    cursor: pointer;
    background-color: #2c5282;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
}


.gallery {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.gallery img {
    max-width: 300px;
    width: 100%;
    border-radius: 15px;
    border: 5px solid #ffd700;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}


.stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.stat-number {
    font-size: 40px;
    color: #1e3a5f;
    font-weight: bold;
    animation: pulseStat 2s infinite;
}

@keyframes pulseStat {
    0%, 100% { transform: scale(1); color: #1e3a5f; }
    50% { transform: scale(1.2); color: #ffd700; }
}


.calendar {
    border-collapse: collapse;
    width: 100%;
}

.calendar th {
    background-color: #1e3a5f;
    color: white;
}

.calendar th, .calendar td {
    border: 1px solid gray;
    padding: 10px;
}

.event-date {
    background-color: #ffd700;
}


.footer {
    background-color: #1e3a5f;
    color: white;
    text-align: center;
    padding: 20px;
}


@media (max-width: 768px) {
    .cards,
    .gallery,
    .stats {
        flex-direction: column;
        align-items: center;
    }

    .gallery img {
        max-width: 90%;
    }
}
