/*=========================
Google Font
==========================*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {

    --primary: #0b4ea2;
    --secondary: #1d75d1;
    --dark: #06152d;
    --dark2: #0b1f3d;
    --white: #ffffff;
    --text: #d8e5ff;
    --silver: #d9d9d9;
    --border: rgba(255, 255, 255, .12);

}

html {
    scroll-behavior: smooth;
}

body {

    font-family: 'Oswald', sans-serif;
    background: linear-gradient(135deg, #06152d, #081b39, #102b56);
    color: #fff;
    overflow-x: hidden;

}


/*=========================
Background
==========================*/

.bg-circle {

    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: .25;

}

.bg1 {

    width: 320px;
    height: 320px;
    background: #0b8cff;
    top: -100px;
    left: -100px;

}

.bg2 {

    width: 350px;
    height: 350px;
    background: #002fff;
    bottom: -120px;
    right: -100px;

}


/*=========================
Section
==========================*/

.conference-section {

    padding: 90px 20px;

}

.container {

    width: 95%;
    max-width: 1350px;
    margin: auto;

}


/*=========================
Heading
==========================*/

.section-heading {

    text-align: center;
    margin-bottom: 70px;

}

.section-heading span {

    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    background: #0b4ea2;
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 15px;

}

.section-heading h2 {

    font-size: 42px;
    margin-bottom: 18px;
    font-weight: 700;

}

.section-heading p {

    max-width: 750px;
    margin: auto;
    line-height: 30px;
    color: #cfdcff;

}


/*=========================
Conference Container
==========================*/

#conferenceContainer {

    display: flex;
    flex-direction: column;
    gap: 50px;

}


/*=========================
Conference Card
==========================*/

.conference-card {

    display: grid;
    grid-template-columns: 1.4fr 420px;
    gap: 40px;

    background: rgba(255, 255, 255, .05);

    border: 1px solid rgba(255, 255, 255, .10);

    backdrop-filter: blur(18px);

    border-radius: 30px;

    overflow: hidden;

    padding: 35px;

    position: relative;

    transition: .4s;

}


.conference-card:hover {

    transform: translateY(-10px);

    box-shadow: 0 25px 60px rgba(0, 0, 0, .35);

}


.conference-card::before {

    content: "";

    position: absolute;

    width: 100%;
    height: 5px;

    left: 0;
    top: 0;

    background: linear-gradient(90deg, #0b8cff, #4fa6ff, #ffffff);

}


/*=========================
Content
==========================*/

.conference-content {

    display: flex;

    flex-direction: column;

    justify-content: center;

}

.conference-content h2 {

    font-size: 34px;

    margin-bottom: 18px;

    line-height: 45px;

}

.conference-content p {

    font-size: 17px;

    color: #d5def7;

    line-height: 32px;

    margin-bottom: 28px;

}


/*=========================
Info Box
==========================*/

.info-row {

    display: flex;

    flex-wrap: wrap;

    gap: 25px;

    margin-bottom: 30px;

}

.info-box {

    display: flex;

    align-items: center;

    gap: 15px;

    background: rgba(255, 255, 255, .07);

    padding: 15px 22px;

    border-radius: 15px;

}

.info-box i {

    color: #4eb4ff;

    font-size: 22px;

}

.info-box span {

    display: block;

    font-size: 13px;

    color: #a8c4ff;

}

.info-box h5 {

    margin-top: 3px;

    font-size: 16px;

    font-weight: 500;

}


/*=========================
Button
==========================*/

.gallery-btn {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    width: max-content;

    padding: 16px 28px;

    border-radius: 50px;

    text-decoration: none;

    color: #fff;

    background: linear-gradient(90deg, #0b8cff, #0056d8);

    font-weight: 600;

    cursor: pointer;

    transition: .35s;

}

.gallery-btn i {

    transition: .35s;

}

.gallery-btn:hover {

    transform: translateY(-4px);

    box-shadow: 0 15px 35px rgba(0, 140, 255, .35);

}

.gallery-btn:hover i {

    transform: translateX(6px);

}


/*=========================
Poster
==========================*/

.poster {

    position: relative;

}

.poster img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    border-radius: 25px;

    transition: .4s;

}

.poster:hover img {

    transform: scale(1.04);

}


/*=========================
Poster Badge
==========================*/

.poster-badge {

    position: absolute;

    top: 18px;

    left: 18px;

    background: #0b8cff;

    padding: 8px 18px;

    border-radius: 40px;

    font-size: 13px;

    font-weight: 600;

    letter-spacing: .5px;

}


/*=========================
Responsive
==========================*/

@media(max-width:1100px) {

    .conference-card {

        grid-template-columns: 1fr;

    }

    .poster {

        height: 450px;

    }

}

@media(max-width:768px) {

    .section-heading h2 {

        font-size: 30px;

    }

    .conference-content h2 {

        font-size: 28px;

        line-height: 38px;

    }

    .poster {

        height: 320px;

    }

    .info-row {

        flex-direction: column;

        gap: 15px;

    }

}


/*=========================================
            COUNTER
=========================================*/

.counter {

    text-align: center;

    margin-top: 18px;

    font-size: 18px;

    font-weight: 600;

    color: #9fd2ff;

}


/*=========================================
            THUMBNAILS
=========================================*/

.thumbnail-wrapper {

    margin-top: 30px;

    overflow-x: auto;

    padding-bottom: 5px;

}

.thumbnail-wrapper::-webkit-scrollbar {

    height: 6px;

}

.thumbnail-wrapper::-webkit-scrollbar-thumb {

    background: #0b4ea2;

    border-radius: 50px;

}

#thumbnailContainer {

    display: flex;

    gap: 12px;

    justify-content: center;

    min-width: max-content;

}

.thumb {

    width: 95px;

    height: 70px;

    object-fit: cover;

    border-radius: 10px;

    cursor: pointer;

    opacity: .55;

    transition: .3s;

    border: 2px solid transparent;

}

.thumb:hover {

    opacity: 1;

    transform: translateY(-4px);

}

.thumb.active {

    opacity: 1;

    border-color: #0b8cff;

    transform: scale(1.05);

}


/*=========================================
            IMAGE FADE
=========================================*/

.fade {

    animation: fadeImage .35s;

}

@keyframes fadeImage {

    from {

        opacity: .2;
        transform: scale(.96);

    }

    to {

        opacity: 1;
        transform: scale(1);

    }

}


/*=========================================
            RESPONSIVE
=========================================*/

@media(max-width:992px) {

    .gallery-slider {

        flex-direction: column;

    }

    .gallery-slider img {

        height: 420px;

    }

    .nav-btn {

        width: 50px;
        height: 50px;

    }

}

@media(max-width:768px) {

    .gallery-content {

        padding: 20px;

    }

    .gallery-header h2 {

        font-size: 24px;

    }

    .gallery-slider {

        gap: 15px;

    }

    .gallery-slider img {

        height: 300px;

    }

    .thumb {

        width: 75px;

        height: 55px;

    }

    .close-gallery {

        width: 40px;
        height: 40px;
        font-size: 16px;

    }

    .counter {

        font-size: 16px;

    }

}

@media(max-width:480px) {

    .gallery-slider img {

        height: 220px;

    }

    .nav-btn {

        width: 42px;
        height: 42px;
        font-size: 16px;

    }

    .thumb {

        width: 65px;

        height: 50px;

    }

    .gallery-header h2 {

        font-size: 20px;

    }

}