/*==================================================
GENERAL
==================================================*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Oswald', sans-serif;
}

body {
    background: #07172e;
    color: #fff;
    overflow-x: hidden;
}

.container {
    width: 92%;
    max-width: 1400px;
    margin: auto;
}

/*==================================================
SECTION
==================================================*/

.conference-section {
    padding: 90px 0;
    position: relative;
}

.section-heading {
    text-align: center;
    margin-bottom: 70px;
}

.section-heading span {
    display: inline-block;
    color: #48b6ff;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 15px;
    margin-bottom: 12px;
}

.section-heading h2 {
    font-size: 55px;
    font-weight: 600;
    margin-bottom: 18px;
}

.section-heading p {
    /* max-width: 750px; */
    margin: auto;
    color: #bdd2ea;
    line-height: 32px;
    font-size: 18px;
}

/*==================================================
CARD
==================================================*/

.conference-card {

    display: grid;
    grid-template-columns: 1.45fr 420px;

    gap: 45px;

    align-items: center;

    margin-bottom: 60px;

    padding: 35px;

    background: rgba(255, 255, 255, .04);

    border: 1px solid rgba(255, 255, 255, .08);

    border-radius: 30px;

    backdrop-filter: blur(14px);

    transition: .4s;

    position: relative;

    overflow: hidden;

}

.conference-card::before {

    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 100%;
    height: 5px;

    background: linear-gradient(90deg, #0ea5ff, #5fd2ff, #ffffff);

}

.conference-card:hover {

    transform: translateY(-8px);

    box-shadow: 0 25px 60px rgba(0, 0, 0, .35);

}

/*==================================================
LEFT
==================================================*/

.conference-content h2 {

    font-size: 42px;

    line-height: 55px;

    margin-bottom: 20px;

    font-weight: 600;

}

.conference-content p {

    font-size: 18px;

    color: #d4e3f8;

    line-height: 34px;

    margin-bottom: 30px;

}

/*==================================================
INFO
==================================================*/

.info-row {

    display: flex;

    flex-wrap: wrap;

    gap: 18px;

    margin-bottom: 35px;

}

.info-box {

    display: flex;

    align-items: center;

    gap: 15px;

    background: rgba(255, 255, 255, .05);

    padding: 18px 22px;

    border-radius: 18px;

}

.info-box i {

    font-size: 28px;

    color: #39b8ff;

}

.info-box span {

    display: block;

    font-size: 13px;

    color: #8ecbff;

}

.info-box h5 {

    margin-top: 4px;

    font-size: 18px;

    font-weight: 500;

}

/*==================================================
BUTTON
==================================================*/

.gallery-btn {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    padding: 18px 35px;

    border: none;

    border-radius: 50px;

    background: linear-gradient(90deg, #0b77ff, #18b8ff);

    color: #fff;

    cursor: pointer;

    font-size: 17px;

    transition: .35s;

}

.gallery-btn i {

    transition: .35s;

}

.gallery-btn:hover {

    transform: translateY(-5px);

    box-shadow: 0 15px 40px rgba(0, 140, 255, .35);

}

.gallery-btn:hover i {

    transform: translateX(7px);

}

/*==================================================
POSTER
==================================================*/

.poster {

    display: flex;

    justify-content: center;

    align-items: center;

    background: #0b203d;

    border-radius: 25px;

    /* padding: 20px; */

    /* height: 650px; */

}

.poster img {

    width: 100%;

    height: 100%;

    object-fit: contain;

    object-position: center;

    border-radius: 18px;

    transition: .4s;

}

.poster:hover img {

    transform: scale(1.02);

}

/*==================================================
REVEAL
==================================================*/

.reveal {

    opacity: 0;

    transform: translateY(80px);

    transition: 1s;

}

.reveal.active {

    opacity: 1;

    transform: translateY(0);

}

/*==================================================
RESPONSIVE
==================================================*/

@media(max-width:1100px) {

    .conference-card {

        grid-template-columns: 1fr;

    }

    .poster {

        height: 500px;

    }

}

@media(max-width:768px) {

    .section-heading h2 {

        font-size: 36px;

    }

    .conference-content h2 {

        font-size: 30px;

        line-height: 40px;

    }

    .info-row {

        flex-direction: column;

    }

    .poster {

        height: 380px;

    }

    .gallery-btn {

        width: 100%;

        justify-content: center;

    }

}

/*==================================================
GALLERY MODAL
==================================================*/

.gallery-modal {

    position: fixed;
    inset: 0;

    background: rgba(0, 0, 0, .92);

    display: none;

    overflow-y: auto;

    padding: 40px;

    z-index: 99999;

}

.gallery-modal.active {

    display: block;

}

.gallery-content {

    width: 95%;
    max-width: 1700px;

    margin: auto;

    background: #091d36;

    border-radius: 25px;

    padding: 35px;

}

/*==================================================*/

@keyframes popup {

    from {

        opacity: 0;
        transform: translateY(50px) scale(.95);

    }

    to {

        opacity: 1;
        transform: translateY(0) scale(1);

    }

}

/*==================================================*/
.gallery-header {

    position: sticky;

    top: 0;

    z-index: 100;

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding-bottom: 20px;

    background: #091d36;

    margin-bottom: 25px;

}

.gallery-header h2 {

    font-size: 38px;

    font-weight: 500;

}

.gallery-header button {

    width: 52px;

    height: 52px;

    border: none;

    border-radius: 50%;

    background: #0b7dff;

    color: #fff;

    cursor: pointer;

    font-size: 18px;

    transition: .35s;

}

.gallery-header button:hover {

    transform: rotate(90deg);

    background: #18b8ff;

}

.gallery-grid img {

    opacity: 0;

    transform: translateY(20px);

    animation: fadeUp .5s forwards;

}

@keyframes fadeUp {

    to {

        opacity: 1;

        transform: translateY(0);

    }

}

/*==================================================
GRID
==================================================*/

/*==============================
Pinterest Gallery
==============================*/

.gallery-grid {

    column-count: 4;

    column-gap: 18px;

}

.gallery-grid img {

    width: 100%;

    height: auto;

    display: block;

    margin-bottom: 18px;

    border-radius: 18px;

    break-inside: avoid;

    cursor: pointer;

    transition: .35s;

    opacity: 0;

    transform: translateY(20px);

    animation: imageShow .45s forwards;

}

.gallery-grid img:hover {

    transform: scale(1.03);

}

@keyframes imageShow {

    to {

        opacity: 1;

        transform: translateY(0);

    }

}

@media(max-width:1200px) {

    .gallery-grid {

        column-count: 3;

    }

}

@media(max-width:768px) {

    .gallery-grid {

        column-count: 2;

    }

}

@media(max-width:520px) {

    .gallery-grid {

        column-count: 1;

    }

}

/*==================================================
FULL SCREEN PREVIEW
==================================================*/

#imagePreview {

    position: fixed;

    inset: 0;

    background: rgba(0, 0, 0, .97);

    display: flex;

    justify-content: center;

    align-items: center;

    opacity: 0;

    visibility: hidden;

    transition: .35s;

    z-index: 999999;

}

#imagePreview.show {

    opacity: 1;

    visibility: visible;

}

#imagePreview img {

    max-width: 92%;

    max-height: 90vh;

    border-radius: 12px;

    object-fit: contain;

    animation: zoomImage .35s;

}

@keyframes zoomImage {

    from {

        transform: scale(.8);

        opacity: 0;

    }

    to {

        transform: scale(1);

        opacity: 1;

    }

}

.close-preview {

    position: absolute;

    top: 25px;

    right: 30px;

    width: 55px;

    height: 55px;

    border-radius: 50%;

    background: #0b7dff;

    display: flex;

    justify-content: center;

    align-items: center;

    cursor: pointer;

    font-size: 20px;

    color: #fff;

    transition: .35s;

}

.close-preview:hover {

    transform: rotate(90deg);

    background: #18b8ff;

}

/*==================================================
SCROLLBAR
==================================================*/

.gallery-modal::-webkit-scrollbar {

    width: 8px;

}

.gallery-modal::-webkit-scrollbar-thumb {

    background: #0b7dff;

    border-radius: 50px;

}

/*==================================================
RESPONSIVE
==================================================*/

@media(max-width:992px) {

    .gallery-grid {

        grid-template-columns: repeat(3, 1fr);

    }

}

@media(max-width:768px) {

    .gallery-content {

        padding: 20px;

    }

    .gallery-header h2 {

        font-size: 28px;

    }

    .gallery-grid {

        grid-template-columns: repeat(2, 1fr);

        gap: 15px;

    }

}

@media(max-width:520px) {

    .gallery-grid {

        grid-template-columns: 1fr;

    }

    .gallery-header {

        flex-direction: column;

        gap: 15px;

    }

    .gallery-header button {

        position: absolute;

        top: 15px;

        right: 15px;

    }

}