

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

body {
    font-family: Arial, sans-serif;
    background: #f7f9fc;
    color: #112d6b;
}

.events-page {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 25px 80px;
}


.events-hero {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;

    animation: fadeUp 0.8s ease forwards;
}

.events-label {
    display: inline-block;

    color: #f6a623;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;

    margin-bottom: 15px;
}

.events-hero h1 {
    font-size: clamp(36px, 5vw, 60px);
    margin-bottom: 20px;
    color: #112d6b;
}

.events-intro {
    font-size: 18px;
    line-height: 1.8;
    color: #667085;
}

.event-card {
    display: grid;
    grid-template-columns: 1fr 1fr;

    background: white;

    border-radius: 25px;

    overflow: hidden;

    box-shadow: 0 20px 60px rgba(17, 45, 107, 0.12);

    animation: fadeUp 1s ease forwards;

    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-8px);

    box-shadow: 0 30px 70px rgba(17, 45, 107, 0.18);
}

.event-image {
    width: 100%;
    height: 100%;
    min-height: 600px;

    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 0.5s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.03);
}

.event-content {
    padding: 55px 45px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-status {
    display: inline-block;

    width: fit-content;

    background: #fff3df;
    color: #f6a623;

    padding: 8px 14px;

    border-radius: 50px;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1px;

    margin-bottom: 20px;
}

.event-content h2 {
    font-size: clamp(30px, 4vw, 45px);

    line-height: 1.15;

    margin-bottom: 20px;

    color: #112d6b;
}

.event-description {
    color: #667085;

    font-size: 16px;

    line-height: 1.8;

    margin-bottom: 35px;
}


.event-details {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 15px;

    margin-bottom: 35px;
}

.detail {
    background: #f7f9fc;

    padding: 18px;

    border-radius: 12px;

    display: flex;
    flex-direction: column;

    gap: 7px;

    transition: transform 0.25s ease,
                background 0.25s ease;
}

.detail:hover {
    transform: translateY(-4px);
    background: #fff5e6;
}

.detail-title {
    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1px;

    color: #f6a623;
}


.event-action {
    border-top: 1px solid #e6eaf0;

    padding-top: 30px;
}

.event-action p {
    color: #667085;

    margin-bottom: 20px;

    line-height: 1.6;
}

.register-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    background: #f6a623;

    color: white;

    text-decoration: none;

    padding: 15px 25px;

    border-radius: 10px;

    font-weight: 700;

    transition: transform 0.25s ease,
                background 0.25s ease,
                box-shadow 0.25s ease;
}

.register-btn:hover {
    background: #e89513;

    transform: translateY(-3px);

    box-shadow: 0 10px 25px rgba(246, 166, 35, 0.3);
}

.register-btn span {
    font-size: 20px;

    transition: transform 0.25s ease;
}

.register-btn:hover span {
    transform: translateX(5px);
}


.event-message {
    text-align: center;

    max-width: 700px;

    margin: 80px auto 0;

    animation: fadeUp 1.2s ease forwards;
}

.event-message h2 {
    font-size: 35px;

    margin-bottom: 15px;
}

.event-message p {
    color: #667085;

    line-height: 1.8;

    margin-bottom: 8px;
}


@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

@media (max-width: 850px) {

    .events-page {
        padding: 80px 18px 60px;
    }

    .event-card {
        grid-template-columns: 1fr;
    }

    .event-image {
        min-height: auto;
    }

    .event-image img {
        height: auto;
    }

    .event-content {
        padding: 40px 25px;
    }

}


@media (max-width: 500px) {

    .events-hero h1 {
        font-size: 36px;
    }

    .events-intro {
        font-size: 16px;
    }

    .event-details {
        grid-template-columns: 1fr;
    }

    .register-btn {
        width: 100%;
    }

}