html {
    scroll-behavior: smooth;
}

#navbar {
    transition: all 0.3s ease;
}

.bg-p {
    background: #a0100f;
}

.text-p {
    color: #a0100f;
}

.bg-b {
    background: #232323;
}

.bg-lb {
    background: #e6ecf2;
}

.bg-ls {
    background: #efefef;
}

.poppins-thin {
    font-family: "Poppins", sans-serif;
    font-weight: 100;
    font-style: normal;
}

.poppins-extralight {
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: normal;
}

.poppins-light {
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.poppins-regular {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.poppins-medium {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.poppins-semibold {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
}

.poppins-bold {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.poppins-extrabold {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-style: normal;
}

.poppins-black {
    font-family: "Poppins", sans-serif;
    font-weight: 900;
    font-style: normal;
}

.poppins-thin-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 100;
    font-style: italic;
}

.poppins-extralight-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: italic;
}

.poppins-light-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: italic;
}

.poppins-regular-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: italic;
}

.poppins-medium-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: italic;
}

.poppins-semibold-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: italic;
}

.poppins-bold-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: italic;
}

.poppins-extrabold-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-style: italic;
}

.poppins-black-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 900;
    font-style: italic;
}

.fs-xs {
    font-size: xx-small;
}

.logos-section {
    background-color: #efefef;
    padding: 20px 0;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-container:hover {
    transform: scale(1.1);
}

.logo-img {
    max-width: 150px;
    max-height: 150px;
    object-fit: contain;
}

@media (max-width: 767px) {
    .sticky-top {
        position: static;
    }
}

@media (max-width: 768px) {
    .logo-container {
        margin: 20px 0;
    }
}

.text-justify {
    text-align: justify;
}

/* slider */
.slider {
    position: relative;
    height: 370px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.item {
    position: absolute;
    height: 320px;
    width: 320px;
    text-align: center;
    background-color: #fff;
    border-radius: 10px;
    padding: 10px;
    transition: transform 1s ease, opacity 0.5s ease;
    transform: translate(-50%, 0);
    top: 0;
    cursor: pointer;
}

.item img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.item h6 {
    position: absolute;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    color: #a0100f;
    bottom: 10px;
    background: #efefef;
    border-radius: 8px;
    padding: 4px;
}

#next,
#prev {
    position: absolute;
    top: 50%;
    color: #fff;
    background-color: #a0100f;
    border: none;
    font-size: 1rem;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    cursor: pointer;
    border-radius: 10%;
    transform: translateY(-50%);
    z-index: 100;
    transition: background-color 0.3s ease;
}

#prev {
    left: 10px;
}

#next {
    right: 10px;
}

#prev:hover,
#next:hover {
    background-color: #ff4c4c;
}

#registration,
#PaperSubmission #venue,
#commitee,
#callforpaper,
#submission,
#ConferenceSchedule,
#keynotesp,
#sessionchair {
    scroll-margin-top: 200px;
}

#internationalsp,
#AdvisoryCommittee {
    scroll-margin-top: 200px;
}

.footer-blink {
    animation: blink 3s infinite ease-in-out;
}

@keyframes blink {

    0%,
    50%,
    100% {
        color: white;
        background-color: #a0100f;
    }

    25%,
    75% {
        color: white;
        background-color: black;
    }
}

.flipping-clock {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Poppins", sans-serif;
    font-weight: bold;
    color: #fff;
}

.flipping-clock span {
    font-size: 3rem;
    margin: 0 10px;
}

.time-unit {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 70px;
    height: 80px;
    margin: 0 5px;
    font-size: 3rem;
    perspective: 1000px;
}

.time-unit .top,
.time-unit .bottom {
    display: block;
    width: 100%;
    height: 50%;
    background: #a0100f;
    border-radius: 4px;
    line-height: 80px;
    text-align: center;
    position: absolute;
    backface-visibility: hidden;
    transition: all 0.6s ease;
}

.time-unit .top {
    transform-origin: bottom;
    transform: rotateX(0deg);
    z-index: 2;
}

.time-unit .bottom {
    transform-origin: top;
    transform: rotateX(90deg);
    z-index: 1;
}

.flip .top {
    transform: rotateX(-90deg);
}

.flip .bottom {
    transform: rotateX(0deg);
}

.runner-section {
    background-color: #000;
    overflow: hidden;
}

.section-under-runner {
    background-color: #1b1a1a;
    overflow: hidden;
}

.runner-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
}

.runner-track {
    display: flex;
    width: max-content;
    animation: scroll-loop 25s linear infinite;
}

.runner-text {
    white-space: nowrap;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
}

.runner-text a {
    color: #fff;
    text-decoration: none;
}

.runner-text a:hover {
    text-decoration: underline;
}

@keyframes scroll-loop {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* image gallery css */
* {
    box-sizing: border-box;
}

#slider-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 15px;
}

#slider-wrapper {
    position: relative;
    overflow: hidden;
    border: 2px solid #ccc;
    border-radius: 10px;
}

#slider {
    display: flex;
    transition: transform 0.5s ease;
}

#slider img {
    height: 300px;
    flex: 0 0 33.33%;
    object-fit: cover;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

.nav-btn.left {
    left: 10px;
}

.nav-btn.right {
    right: 10px;
}

h2 {
    text-align: center;
    font-family: "Poppins", sans-serif;
    margin-bottom: 1rem;
}

.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popup-content {
    position: relative;
    width: 90vw;
    max-width: 90vw;
    height: 90vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-content img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.popup-close {
    position: absolute;
    top: 0px;
    right: 0px;
    font-size: 36px;
    cursor: pointer;
    color: #fff;
    z-index: 10;
    font-weight: bold;
}

@media (max-width: 600px) {
    .popup-content {
        width: 95vw;
        height: 85vh;
    }
}


