body {
    background: #050505;
    font-family: 'Montserrat', sans-serif;
    /* overflow-x: hidden; */
}

.conference-wrapper {
    width: 100%;
    padding: 60px 6%;
}

.conference-card {
    position: relative;
    width: 100%;
    height: 650px;
    margin-bottom: 80px;
    overflow: hidden;
    border-radius: 30px;
    cursor: pointer;
}

.conference-card img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 1.5s;
}

.conference-card:hover img {
    transform: scale(1.08);
}

.overlay {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 55%;

    background:
        linear-gradient(to top,
            rgba(0, 0, 0, 0.95) 0%,
            rgba(0, 0, 0, 0.75) 35%,
            rgba(0, 0, 0, 0.35) 65%,
            rgba(0, 0, 0, 0) 100%);

    z-index: 1;
}

.number {
    position: absolute;
    right: 40px;
    top: 20px;

    font-family: 'Oswald', sans-serif;
    font-size: 180px;
    font-weight: 700;

    color: rgba(255, 255, 255, .08);

    z-index: 2;
}

.conference-content {
    position: absolute;
    left: 60px;
    bottom: 60px;
    z-index: 3;
    max-width: 800px;
}

.top-info {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.top-info span {
    padding: 10px 20px;

    background:
        rgba(255, 255, 255, .15);

    backdrop-filter: blur(15px);

    border-radius: 30px;

    color: #fff;

    font-size: 13px;

    letter-spacing: 1px;
}

.conference-content h2 {
    font-family: 'Oswald', sans-serif;

    font-size: 70px;

    line-height: 1.05;

    font-weight: 600;

    color: #fff;

    margin-bottom: 25px;
}

.conference-content p {
    font-size: 17px;
    line-height: 1.9;
    color: #ddd;
    max-width: 700px;
}

.conference-content button {

    margin-top: 35px;

    padding: 16px 40px;

    border: none;

    background: #ff5a00;

    color: white;

    font-size: 15px;

    border-radius: 50px;

    cursor: pointer;

    transition: .4s;
}

.conference-content button:hover {
    transform: translateY(-5px);
}

.reveal {
    opacity: 0;
    transform: translateY(120px);
    transition: 1s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media(max-width:991px) {

    .conference-card {
        height: 550px;
    }

    .number {
        font-size: 100px;
    }

    .conference-content {
        left: 25px;
        right: 25px;
        bottom: 25px;
    }

    .conference-content h2 {
        font-size: 38px;
    }

    .top-info {
        flex-wrap: wrap;
    }

}


/* ===========================
   GALLERY MODAL
=========================== */

.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, .97);

    z-index: 9999;

    display: none;

    overflow-y: auto;

    padding: 80px 30px 30px;
}

/* Close Button */

.close-modal {
    position: fixed;
    top: 15px;
    right: 30px;

    color: #fff;

    font-size: 60px;
    line-height: 1;

    cursor: pointer;

    z-index: 10000;

    transition: .4s ease;
}

.close-modal:hover {
    transform: rotate(90deg);
}

/* Gallery Layout */

.gallery-wrapper {

    column-count: 4;

    column-gap: 20px;

    width: 100%;
}

/* Images */

.gallery-wrapper img {

    width: 100%;

    height: auto;

    display: block;

    margin-bottom: 20px;

    border-radius: 18px;

    background: #111;

    break-inside: avoid;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, .35);

    transition: .4s ease;
}

.gallery-wrapper img:hover {

    transform: translateY(-6px);

    box-shadow:
        0 20px 40px rgba(0, 0, 0, .55);
}

/* Prevent Background Scroll */

body.modal-open {
    overflow: hidden;
}

/* Large Tablet */

@media(max-width:1200px) {

    .gallery-wrapper {
        column-count: 3;
    }

}

/* Tablet */

@media(max-width:768px) {

    .gallery-wrapper {
        column-count: 2;
    }

    .gallery-modal {
        padding: 80px 15px 20px;
    }

    .close-modal {
        font-size: 45px;
        right: 15px;
    }

}

/* Mobile */

@media(max-width:480px) {

    .gallery-wrapper {
        column-count: 1;
    }

}