.poster-gallery {
    background-color: #0b0b0b;
    /* Deep dark background */
    padding: 170px 5%;
    font-family: "din-2014", sans-serif;
    text-align: center;
}

.gallery-header h1 {
    font-size: 42px;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.gallery-header p {
    font-size: 16px;
    color: #0073ba;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 60px;
}

.poster-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
}

/* THE POSTER CARD */
.poster-card {
    background: #ffffff;
    /* This acts as the border color */
    padding: 5px;
    /* REDUCED: This controls the border thickness */
    border-radius: 2px;
    line-height: 0;
    /* Removes extra space at the bottom of the image */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.poster-card img {
    width: 100%;
    /* Full width */
    height: auto;
    display: block;
    object-fit: cover;
}

/* Hover Effect */
.poster-card:hover {
    transform: scale(1.03);
    /* Subtle zoom */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    background: #0073ba;
    /* Border changes to blue on hover */
}

/* Responsive Adjustments */
@media (max-width: 1100px) {
    .poster-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .poster-grid {
        grid-template-columns: 1fr;
    }

    .gallery-header h1 {
        font-size: 28px;
    }
}

.conference-slider {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    font-family: Arial, sans-serif;
}

.slides-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;

    opacity: 0;
    visibility: hidden;
    transition: 1s ease-in-out;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0.8) 20%,
            rgba(0, 0, 0, 0.4) 55%,
            rgba(0, 0, 0, 0.1) 100%);
}

.content {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    max-width: 650px;
    color: #fff;
    z-index: 2;
}

.tag {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    margin-bottom: 25px;
    font-size: 14px;
}

.content h1 {
    font-size: 70px;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 700;
}

.content p {
    font-size: 18px;
    line-height: 1.8;
    color: #e4e4e4;
    margin-bottom: 35px;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    background: #fff;
    color: #000;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.4s;
}

.btn:hover {
    background: #dcdcdc;
}

/* Arrows */

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: 0.4s;
    backdrop-filter: blur(10px);
}

.prev:hover,
.next:hover {
    background: #fff;
    color: #000;
}

.prev {
    left: 25px;
}

.next {
    right: 25px;
}

/* Dots */

.dots {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dots span {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: 0.4s;
}

.dots span.active {
    width: 40px;
    border-radius: 20px;
    background: #fff;
}

/* Responsive */

@media(max-width:991px) {

    .content h1 {
        font-size: 48px;
    }
}

@media(max-width:768px) {

    .conference-slider {
        height: 85vh;
    }

    .content {
        left: 5%;
        right: 5%;
        max-width: 100%;
    }

    .content h1 {
        font-size: 36px;
    }

    .content p {
        font-size: 16px;
    }

    .prev,
    .next {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}


/* 2 */

/* SECOND SLIDER CSS */

.conference-gallery-slider {
    width: 100%;
    height: 85vh;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
    border-radius: 25px;
}

.gallery-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.gallery-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;

    opacity: 0;
    visibility: hidden;
    transition: 1s ease;
}

.gallery-slide.active-gallery {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.85),
            rgba(0, 0, 0, 0.2));
}

.gallery-content {
    position: absolute;
    left: 50px;
    bottom: 60px;
    color: #fff;
    z-index: 5;
    max-width: 700px;
}

.gallery-content span {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    margin-bottom: 20px;
    font-size: 14px;
}

.gallery-content h2 {
    font-size: 58px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.gallery-content p {
    font-size: 18px;
    line-height: 1.7;
    color: #e3e3e3;
}

/* Buttons */

.gallery-prev,
.gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: 0.4s;
}

.gallery-prev:hover,
.gallery-next:hover {
    background: #fff;
    color: #000;
}

.gallery-prev {
    left: 25px;
}

.gallery-next {
    right: 25px;
}

/* Dots */

.gallery-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.gallery-dots span {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: 0.4s;
}

.gallery-dots span.active {
    width: 40px;
    border-radius: 20px;
    background: #fff;
}

/* Mobile */

@media(max-width:768px) {

    .conference-gallery-slider {
        height: 70vh;
    }

    .gallery-content {
        left: 20px;
        right: 20px;
        bottom: 40px;
    }

    .gallery-content h2 {
        font-size: 34px;
    }

    .gallery-content p {
        font-size: 15px;
    }

    .gallery-prev,
    .gallery-next {
        width: 45px;
        height: 45px;
    }
}