/* NAVIGATION BAR DESIGN */
.navbar {
    background-color: #002d62; /* Dark blue color */
}

.dropdown-menu{
    background-color: #002d62 !important;
    border-color: #002d62 !important;
    min-width: 100px !important; /* Adjust this value as needed */
    padding: 0px 0 !important; /* Adjust padding to increase the inner space */
}

.dropdown-menu li a{
    padding: 11px 20px !important;
    background-color: #002d62 !important;
    border-color: #002d62 !important;
}

.menuitem > a:active,
.menuitem > a:focus,
.menuitem > a:visited {
    background-color: #002d62 !important;
    color: white !important;
}

.navbar-inverse.navbar-fixed-top .container-fluid{
    padding: 4px 5%;
    font-size:1.15em;
    font-weight: 520;
}


.navbar-header .navbar-brand {
    display: block !important;
    width: 120px !important;
    padding-left: 200px !important;
    white-space: nowrap;
    color: rgb(255, 255, 255) !important;
    font-size: 1.3em;
    font-weight: 550;
    text-indent: -9999px;
    background-image: url('https://umevent.um.edu.my/upload/23-3/icpsa2024.png'); /* Set your background image */
    background-size: contain !important; /* Adjust as needed */
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.navbar-nav.navbar-right {
    padding-right: 5%;
}

.menuitem,
.dropdown.menuitem>a {
    border: 1px solid transparent;
    border-radius: 10px;
    transition: border-color 0.3s, background-color 0.5s, color 0s;
}

.menuitem:hover {
    background-color: rgba(240, 240, 240, 0.1) !important;/* Slightly transparent background */
}

.dropdown-menu .menuitem:hover > a {
    background-color: rgba(255, 255, 255, 0.2); /* White with 20% opacity */
    color: #ffffff; /* Ensure the text color remains white or visible */
}

.menuitem a{
    color: rgb(255, 255, 255) !important; /* White text color */
    white-space: nowrap;
    transition: color 0.3s; /* Smooth transition for color change */
}

.menuitem:hover::after {
    content: '';
    display: block;
    height: 2px;
    background-color: #ffffff;
    animation: moveRight 0.5s forwards;
}

@keyframes moveRight {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}


/* HTML BODY DESIGN */
*{
    margin: 0;
    padding: 0;
    box-sizing:border-box;
}

html, body {
    height: 100%;
}

body{
    background-image: url('https://umevent.um.edu.my/upload/23-3/bg1.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
}

.blur-box {
    background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white background */
    backdrop-filter: blur(10px); /* Apply blur effect */
    padding: 20px;
    border-radius: 10px;
    margin: 20px auto;
    max-width: 85%;
    position: relative; /* Needed for absolute positioning of child elements */
    text-align: center;
    overflow: hidden;
    align-items: center;
    flex-direction: column !important;
    width: 100%;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.container {
    width: 100%;
    margin: 10px auto;
}

.hidden {
    display: none;
}



/* Home page design */
.blur-box-home{
    width: 80vw;
    max-width:1200px;
}

.home-header-text{
    text-align: center;
    font-weight: bold;
    font-size: 26px;
}

.home-img {
    display: inline-block; /* Ensures the container only takes up as much width as needed */
    position: relative !important; /* Needed for absolute positioning of the link */
    text-align: center !important;
    margin: 0 auto;
}

.home-img img {
    width: 100%; /* Adjust the size as needed */
    height: auto;
    display: block;
    margin: 0 auto; /* Adjust margin to control spacing */
    padding: 20px;
    border-radius: 35px;
}

.register-link a{
    display: none;
    position: absolute;
    top: 480px; /* Adjust the position from the bottom of the image */
    left: 50%;
    transform: translateX(-50%); /* Center the link horizontally */
    padding: 10px 20px;
    background-color: #208cff; /* Link background color */
    border-color: rgb(92, 158, 233);
    color: rgb(255, 255, 255); /* Link text color */
    text-decoration: none; /* Remove underline from link */
    border-radius: 50px;
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
    font-weight: 500px;
}

.register-link a:hover {
    scale: 1.05;
    transform: translateX(-47.5%);
    background-color:  rgba(255, 255, 255, 0.85)!important; /* Link background color on hover */
    color: rgb(245, 152, 168) !important;
    border-color: #026cdd;
}

.home-division-container{
    position: relative; /* Make this container relative for absolute positioning of child elements */
    width: 100%; /* Ensure the container takes full width */
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align items to the start */
    margin: 0px auto;
    padding: 0px;
}

.home-division {
    height: 2px;
    background: linear-gradient(to right, transparent 0%, #0f0f0f 25%, #0f0f0f 60%, transparent 100%); /* Dark gray line fading to the right */
    margin: 35px 2.5% 0px 2.5%; 
    width: 95%;
}


.home-vertical-rectangle {
    position: absolute;
    left: 3%;
    top: 36px;
    width: 20px; /* Fixed width */
    height: 30px; /* Fixed height */
    background-color: #f9d71c; /* Yellowish color */
    border-radius: 5px;
}

.h1-text{
    font-family: Helvetica, serif;
    font-size: 1.5em;
    margin: 25px auto 0px auto;
    padding: 0px 30px;
    text-shadow: 
    1px 1px 2px rgba(0, 0, 0, 0.1), /* Subtle shadow */
    2px 2px 4px rgba(0, 0, 0, 0.1), /* Slightly darker shadow */
    3px 3px 6px rgba(0, 0, 0, 0.05); /* Light shadow */ /* Light gray gradient background */
}

.body-text {
    margin: 20px 5px; /* Adjust the top margin and side margins as needed */
    padding: 0px 3vw;
    text-align: justify; /* Justify the text */
    font-family: sans-serif; /* Use a sans-serif font */
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.1);
}

.home-logo{
    display: flex;
    justify-content: center; /* Adjust as needed */
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 auto;
    gap:40px;
}

.home-logo img{
    width: 320px;
    height: auto;
}


@media (max-width: 768px) {
    .blur-box-home{
        width: 100%;
        max-width: 95vw;
    }

    .home-header-text{
        font-size: 20px;
    }

    .home-vertical-rectangle {
        left: 0%;
        top: 22px;
    }

    .home-img img {
        max-width: 100%; /* Ensure the image doesn't exceed the container width */
        padding: 1px 0px;
        border-radius: 15px;
    }
    
    .h1-text{
        font-family: Helvetica, serif;
        font-size: 1.25em;
        padding: 0px 10px
    }

    .body-text{
        margin: 20px auto;
        padding:5px 0px;
    }

    .register-link a{
        top:315px;
    }
}


/* Plenary and Invited speakers page design */
.blur-box-plenary, .blur-box-invited{
    width: 70vw;
    max-width: 1000px;
    padding: 0px 40px 40px 40px;
}

.plenary-header1, .invited-header1 {
    font-size: 1.65em;
    margin: 20px auto 20px auto;
    font-weight: 650;
    letter-spacing: 0.5px;
    text-align: center;
    text-shadow: 
    1px 1px 2px rgba(0, 0, 0, 0.2), /* Subtle shadow */
    2px 2px 4px rgba(0, 0, 0, 0.1), /* Slightly darker shadow */
    3px 3px 6px rgba(0, 0, 0, 0.05); /* Light shadow */ /* Light gray gradient background */
}

.plenary-grid-container, .invited-grid-container{
    display: grid;
    grid-template-columns: 150px 660px; /* 35% for image, 65% for text */
    width: 100%;
    max-width: 1000px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    padding: 5px 15px 5px 5px;
    margin: 10px auto;
    position: relative;
    border: 2px solid #b8860b; /* Dark gold border */
}

.plenary-grid-container-hide, .invited-grid-container-hide{
    display: none;
}

.plenary-close-popup-anchor-hide, .invited-close-popup-anchor-hide{
    display: none;
}

.plenary-grid-abstract, .invited-grid-abstract{
    display: none;
}



.plenary-grid-container:after, .invited-grid-container:after{
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px solid #daa520; /* Medium gold border */
    border-radius: 5px; /* Rounded corners */
    z-index: -1; /* Place behind the main content */
}

.plenary-grid-container:hover, .invited-grid-container:hover {
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.6);
}


.plenary-grid-image, .invited-grid-image{
    justify-content: center;
    align-items: center;
    margin: 2px;
}
  
.plenary-grid-image img, .invited-grid-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 5px;
}

.plenary-grid-content, .invited-grid-content {
    display: flex;
    flex-direction: column;
    padding: 10px 10px 0px 15px;
    margin: 0px auto 0px 0px;
    width: 100%;
}

.plenary-grid-name-container, .invited-grid-name-container{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    margin-top: 8px;
    margin-bottom: 10px;
}

.plenary-grid-name, .invited-grid-name{
    display: table;
}

.plenary-grid-name p , .invited-grid-name p{
    font-weight: bold;
    font-size: 1.45em;
    display: table-cell;
    vertical-align: middle; /* Vertically center the content */
    text-align: left;
    font-family: Arial, 'Times New Roman', Times, serif;
}

.plenary-grid-title, .invited-grid-title{
    font-weight: bold;
    font-size: 1.25em;
    text-align: left;
    color: rgb(0, 12, 46);
    padding: 0px 10px 0px 0px;
    width: 100%;
    font-family: serif;
}

.plenary-grid-affiliation, .invited-grid-affiliation{
    color: #555;
    text-align: left;
    font-size: 1em;
}

.plenary-grid-bio, .invited-grid-bio {
    display: flex;
    text-align: left;
    align-items:end ; /* Vertically center the content */
    justify-content: left;
    position: relative; /* Needed for the underline effect */
    border-left: black 1px solid;
    padding-left: 5px;
}
.plenary-grid-bio a, .invited-grid-bio a{
    display: inline-flex;
    justify-items: left;
    align-items: center;
    text-decoration: none;
    color: #333;
    transition: background-color 0.3s ease;
    position: relative; /* Needed for the underline effect */
}
.plenary-grid-bio a::after, .invited-grid-bio a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px; /* Adjust the height of the underline */
    background-color: #3450c6;
    transform: scaleX(0); /* Initially hidden */
    transform-origin: left;
    transition: transform 0.3s ease;
}

.plenary-grid-bio:hover a::after, 
.invited-grid-bio:hover a::after  {
    transform: scaleX(1); /* Fully visible on hover */
}

.plenary-grid-bio img, .invited-grid-bio img{
    width: 100%; /* Ensure the image takes the full width of the link */
    height: 18px; /* Maintain aspect ratio */
}

.bio-button-text{
    display: table;
}

.bio-button-text p{
    display: table-cell;
    vertical-align: middle;
    text-decoration: underline;
    color: black;
    font-size: 0.88em;
}

.plenary-bio-popup,
.invited-bio-popup {
    display: none;
    position: fixed;
    top: 0;  /* Position the popup 50% down the screen */
    left: 0; /* Position the popup 50% from the left */
    width: 100%;
    height: 100%;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center; /* Center vertically */
}

.plenary-bio-popup:target, .invited-bio-popup:target {
    display: flex;
}

.plenary-bio-content, .invited-bio-content {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    max-width: 780px;
    overflow: auto;
    transform: translateY(30px);
}

.plenary-bio-header1, .invited-bio-header1 {
    margin: 0 auto;
    font-size: 1.6rem;
    font-weight: 650;
    letter-spacing: 0.5px;
    text-align: center;
    text-shadow: 
    1px 1px 2px rgba(0, 0, 0, 0.2), /* Subtle shadow */
    2px 2px 4px rgba(0, 0, 0, 0.1), /* Slightly darker shadow */
    3px 3px 6px rgba(0, 0, 0, 0.05); /* Light shadow */ /* Light gray gradient background */
}
.partition-bar{
    height: 2px;
    background: #bdbcbc;
    margin: 20px auto;
    border-radius: 5px;
}
.plenary-bio-text, .invited-bio-text{
    text-align: justify;
    font-family: 'Arial', sans-serif;
    font-size: 1.4rem;
    color: #555;
    line-height: 1.6;
    max-height: 450px;
    overflow-y: auto;
}

.plenary-close-popup, .invited-close-popup {
    display: block;
    text-align: right;
    color: #888 !important;
    text-decoration: none;
}

.plenary-close-popup-anchor, .invited-close-popup-anchor{
    visibility: hidden;
    height: 0px;
    font-size: 1px;
    margin: 0 auto;
    padding: 0px;
}

#Prof-Shao-Tao, #Prof-Kenji-Ishikawa, #Prof-Cullen, #Prof-Ricky-Ang, #Prof-Li-Heping, #Prof-Hyyong-Suk, #Prof-Lu-Xinpei, #Prof-Zhitong-Chen, #Prof-Francis-Thio, #Prof-Koichi-Sasaki, #Prof-Tomoyuki-Murakami{
    scroll-margin-top: 50px;
}

#Prof-Mohan-Jacob, #Prof-Miran-Mozetic, #Prof-Shuyan-Xu, #Prof-Dheerawan, #Prof-Zhang-Quanzhi, #Prof-Leopoldo-Soto, #Prof-Magdaleno, #Prof-Mudtorlep-Nisoa,
#AP-Dr-Mi-Tian, #AP-Dr-Wang-Ying{
    scroll-margin-top: 50px;
}

@media (max-width: 768px) {
    .blur-box-plenary, .blur-box-invited{
        width: 95vw;
        max-width:100%;
        padding: 0px 10px;
    }

    .plenary-grid-container, .invited-grid-container{
        display: grid;
        grid-template-columns: 35% 65%; /* 35% for image, 65% for text */
        width: 100%;
        padding: 5px;
        margin: 10px auto;
    }

    .plenary-grid-container-hide{
        display: none;
    }

    .plenary-close-popup-anchor-hide{
        display: none;
    }

    .plenary-grid-name-container, .invited-grid-name-container{
        gap:3px
    }
    .plenary-grid-name, .invited-grid-name{
        width:130px
    }

    .plenary-grid-name p , .invited-grid-name p{
        font-size: 1em;
    }
    .plenary-grid-title{
        font-size: 1em;
    }
    .plenary-grid-affiliation, .invited-grid-affiliation{
        font-size: 0.9em;
    }

    .plenary-grid-image img, .invited-grid-image img  {
        width: 100%;
        height: 160px;
        object-fit: cover;
    }

    .plenary-grid-content, .invited-grid-content {
        line-height: 1.05em;
        padding: 5px 5px 0px 10px;
        max-width: 95vw;
    }
    .plenary-grid-bio, .invited-grid-bio {
        padding-left: 1px;
    }

    .plenary-bio-text, .invited-bio-text{
        font-size: 1.4rem;
        line-height: 1.4;
        max-height: 550px;
    }
    
}

/*Invited speakers page design*/
.invited-other-text{
    font-size: 1.65em;
    margin: 30px auto 20px auto;
    font-weight: 650;
    letter-spacing: 0.5px;
    text-align: center;
    text-shadow: 
    1px 1px 2px rgba(0, 0, 0, 0.2), /* Subtle shadow */
    2px 2px 4px rgba(0, 0, 0, 0.1), /* Slightly darker shadow */
    3px 3px 6px rgba(0, 0, 0, 0.05); /* Light shadow */ /* Light gray gradient background */
    
}

.invited-close-popup-anchor-hide{
    display: none;
}

@media (max-width: 768px) {
    .invited-other-text{
        font-size: 1.35em;
    }
}

/*Speaker nomination page design*/
.blur-box-nomination{
    width: 70vw;
    max-width: 1000px;
}

.plenary-nomination-container{
    border-radius: 10px;
    border: 1px solid #3450c6;
    padding: 0px 5px 20px 5px;
    margin: 0px auto;
}

.plenary-speakers{
    font-size: 1.65em;
    margin-top: 25px;

}  

.plenary-division {
    height: 2px;
    background: linear-gradient(to right, transparent 0%, #0f0f0f 25%, #0f0f0f 60%, transparent 100%); /* Dark gray line fading to the right */
    margin: 15px 10px; /* Adjust margin to control spacing */
}


.plenary-vertical-rectangle {
    position: absolute;
    left: 46px;
    top: 79px;
    width: 20px; /* Fixed width */
    height: 31px; /* Fixed height */
    background-color: #fc1313; /* Yellowish color */
    border-radius: 5px;
}

.plenary-request-application {
    margin: 0 auto;
    padding: 0 3vw;
    text-align: justify; /* Justify the text */
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.1);
    font-size: 1.4em;
}

.plenary-request-application ol{
    margin: 0 auto;
    padding-left: 40px;
}

.plenary-request-application li{
    font-family: Century;
}


@media (max-width: 768px) {
    .blur-box-nomination{
        width: 95vw;
        max-width:100%;
        padding: 0px 5px;
    }

    .plenary-nomination-container{
        margin: 20px auto;
    }

    .plenary-speakers{
        font-size: 1.5em;
        margin-top: 13px;
    }

    .plenary-vertical-rectangle {
        top: 97px;
        left: 13px;
    }

    .plenary-request-application {
        padding: 5px 5px;
        font-size: 1.25em;
        margin-bottom: 15px;
    }

    .plenary-request-application ol{
        margin: 0 auto;
        padding-left: 25px;
    }
}

/* Important Dates page design */
.blur-box-dates{
    max-width:900px;
}

.important-dates-container{
    width: 100%;
    margin: 0 auto;
    padding: 0px 3%;
    text-align: center; /* Align text to the left */
    align-items: center;
}

.imp-dates-division {
    height: 2px;
    background: linear-gradient(to right, transparent 0%, #0f0f0f 40%, #0f0f0f 60%, transparent 100%); /* Dark gray line fading to the right */
    margin: 35px 0px; /* Adjust margin to control spacing */
}


.imp-dates-vertical-rectangle {
    position: absolute;
    left: 33px;
    top: 78px;
    width: 20px; /* Fixed width */
    height: 30px; /* Fixed height */
    background-color: #f9d71c; /* Yellowish color */
    border-radius: 5px;
}

#tb-imp-dates {
    width: 40vw;
    max-width: 600px;
    border-spacing: 0;
    border-collapse: separate;
    margin: 20px auto;
    align-items: center;
    justify-content: center;
    padding: 0px;
    border: 1px solid #d0d0d0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    background-color: rgba(68, 96, 167, 0.3);
    backdrop-filter: blur(10px);
    color: rgb(0, 0, 0);
    font-family: serif;
    font-size: 1.15em;
}


.imp-dates tr td:nth-child(1) {
    width: 60%;
    padding: 10px 50px 10px 10px;
   /* border-bottom: 1px dotted #b1b0b0;*/
    text-align: left;
    border: 1px solid rgba(203, 214, 241, 0.9);
}

.imp-dates tr td:nth-child(2) {
    width:30%;
    padding: 10px;
    /*border-bottom: 1px dotted #b1b0b0;*/
    text-align: center;
    border: 1px solid rgba(203, 214, 241, 0.9);
}



@media (max-width: 768px) {
    .blur-box-dates{
        max-width: 95%;
    }

    .important-dates-container{
        padding: 0px 1%;
    }

    .imp-dates-vertical-rectangle {
        left: 12px;
    }

    #tb-imp-dates {
        width: 100%;
    }

    .imp-dates tr td:nth-child(1){
        width: 50%;
        padding: 10px 5px 10px 5px;
        border-width: 0.05em;
    }

    .imp-dates tr td:nth-child(2) {
        width:25%;
        padding: 10px 5px 10px 5px;
        border-width: 0.05em;
    }
}


/* Featured scope page design */
.blur-box-scope{
    width: 80vw;
    max-width: 1200px;
}

.scope-container {
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.scope-header{
    font-family: 'Arial', sans-serif;
    font-size: 4 rem;
    margin: 15px 0 10px;
    font-weight: 650;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.1);
}

.scope-division-container {
    position: relative; /* Make this container relative for absolute positioning of child elements */
    width: 100%; /* Ensure the container takes full width */
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align items to the start */
}

.scope-division {
    height: 2px;
    background: linear-gradient(to right, transparent 0%, #0f0f0f 5%,  transparent 100%); /* Dark gray line fading to the right */
    margin: 35px 0px 0px 0px; /* Adjust margin to control spacing */
    width: 100%;
}


.scope-vertical-rectangle {
    position: absolute;
    left: -20px;
    top: 21px;
    width: 20px; /* Fixed width */
    height: 30px; /* Fixed height */
    background-color: #f9d71c; /* Yellowish color */
    border-radius: 5px;
}


.scope-container.text-container {
    z-index: 1; /* Ensure text is above the blur box */
    padding: 15px 50px;
    text-align: left; /* Align text to the left */
    align-items: left;
    margin-right: 500px;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.1);
    font-family: serif;
    font-size: 1.2em;
}

.scope-list-indent{
    padding-left: 50px;
    line-height: 1.35em;
}



@media (max-width: 768px) {
    .blur-box-scope{ 
        width: 100%;
        max-width: 92vw;
    }

    .scope-header{
        font-size: 2.8rem;
        text-align: center;
        padding: 0px 5px;
        display: flex;
        flex-direction: column;
        align-content: center;
    }
    .scope-list-indent{
        padding-left: 20px;
        line-height: 1.5em;
    }

    .scope-container.text-container {
        padding: 0px 2px;
        margin: 0 auto;
    }

    .scope-division {
        background: linear-gradient(to right, transparent 0%, #0f0f0f 25%,  #0f0f0f 75%, transparent 100%); /* Dark gray line fading to the right */
        margin: 35px 20px 0px 10px; /* Adjust margin to control spacing */
        width: 100%;
    }
    .scope-vertical-rectangle {
        position: absolute;
        left: -10px;
    }
}


/* Scientific Programme page design */
.blur-box-awards{
    width: 60vw;
    max-width: 1200px;
}

.awards-container{
    margin: 0px auto;
    padding-left: 20px;
    text-align: left;
}

@media (max-width: 768px) {
    .blur-box-awards{ 
        width: 100%;
        max-width: 95vw;
        padding: 10px;
    }
}


/* Scientific Programme page design */
.blur-box-programme{
    width: 60vw;
    max-width: 1200px;
}

.programme-title{
    font-family: 'Arial', sans-serif;
    font-size: 3.3rem;
    margin: 15px 0 10px;
    font-weight: 650;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.1);
    text-align: center;
}

.programme-division-container {
    position: relative; /* Make this container relative for absolute positioning of child elements */
    width: 100%; /* Ensure the container takes full width */
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align items to the start */
}

.programme-division {
    height: 2px;
    background: linear-gradient(to right, transparent 0%, #0f0f0f 40%, #0f0f0f 60%, transparent 100%); /* Dark gray line fading to the right */
    margin: 10px 0px 0px 0px; /* Adjust margin to control spacing */
    width: 100%;
}


.programme-vertical-rectangle {
    position: absolute;
    left: 0px;
    top: -3px;
    width: 20px; /* Fixed width */
    height: 30px; /* Fixed height */
    background-color: #f9d71c; /* Yellowish color */
    border-radius: 5px;
}

.programme-img img {
    width: 100%; /* Adjust the size as needed */
    max-width: 1200px;
    height: auto;
    display: block;
    margin: 20px auto; /* Adjust margin to control spacing */
    padding: 0px 0px;
    border-radius: 10px; /* Rounded corners */
    align-content: center;
    overflow: scroll;
}


@media (max-width: 768px) {
    .blur-box-programme{ 
        width: 100%;
        max-width: 95vw;
        padding: 10px;
    }

    .programme-title{
        font-size: 1.8rem;
        text-align: center;
        margin: 5px 0 5px;
        padding: 0px 5px;
        display: flex;
        flex-direction: column;
        align-content: center;
    }

    .programme-vertical-rectangle {
        position: absolute;
        left: 0px;
        top: -3px;
        width: 20px; /* Fixed width */
        height: 30px; /* Fixed height */
        background-color: #f9d71c; /* Yellowish color */
        border-radius: 5px;
    }

    .programme-division {
        height: 2px;
        background: linear-gradient(to right, transparent 3%, #0f0f0f 40%, #0f0f0f 60%, transparent 97%); /* Dark gray line fading to the right */
        margin: 10px 0px 0px 0px; /* Adjust margin to control spacing */
        width: 100%;
    }

    .programme-img img {
        width: 100%;
        margin: 20px 0px;
        padding: 0px;
    }
}


/* Venue page design */
.blur-box-venue{
    width: 80vw;
    max-width: 1200px;
}

.container.venue-container{
    width: 100%;
}

.venue-header1{
    text-align: left;
    padding-left: calc(5%);
    font-size:3.3rem;
    font-weight: 650;
}



.venue-header2{
    text-align: left;
    padding-left: calc(5%);
    margin: 0px auto;
}

.venue-division-container {
    position: relative; /* Make this container relative for absolute positioning of child elements */
    width: 100%; /* Ensure the container takes full width */
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align items to the start */
}


.venue-division {
    height: 2px;
    background: linear-gradient(to right, transparent 0%, #0f0f0f 5%,  transparent 100%); /* Dark gray line fading to the right */
    margin: 15px 2% 0px 2%; /* Adjust margin to control spacing */
    width: 96%;
}


.venue-vertical-rectangle {
    position: absolute;
    left: 0%;
    top: 1px;
    width: 20px; /* Fixed width */
    height: 30px; /* Fixed height */
    background-color: #22fd6b; /* Yellowish color */
    border-radius: 5px;
}

.venue-conference-venue-container{
    text-align: left;
    margin: 30px auto;
    border-radius: 15px;
    background: rgba(137, 215, 251, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
    padding: 5px 0px;
}

.venue-img1 {
    /*display: none;  To be removed */
    display: flex; /* Ensures the container only takes up as much width as needed */
    position: relative; /* Needed for absolute positioning of the link */
    justify-content: space-between;
    margin: 20px auto;
    width: 100%;
    max-width: 1500px;
}


.venue-img1 img {
    width: 49%; /* Adjust the size as needed */
    object-fit: cover;
    margin: 0 auto; /* Adjust margin to control spacing */
    padding: 0px;
    border-radius: 10px;
}

.venue-img1-text p{
    text-align: left;
    padding-left: 5%;
    padding-bottom: 5px;
}

.venue-division2{
    height: 2px;
    background: gainsboro; /* Dark gray line fading to the right */
    margin: 35px 10px;
}


.UM-gallery {
    text-align: center;
    font-weight: bold;
    margin-bottom: 20px;
    border-radius: 15px;
    max-width: 1500px;
    background: rgba(137, 215, 251, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
    padding: 30px 0;
}

.grid-container-venue {
    display: block;
    padding: 0px 30px;
    margin: 0px auto 20px auto;
    width: 100%;
}

.grid-item-set{
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 2px solid rgba(75, 164, 248, 0.3);
    border-radius: 15px;
    margin-bottom: 25px;
}

.grid-item-venue {
    display: flex;
    align-items: center;
}

.image-container-venue {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 330px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.slides-venue.slides-venue-phy {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.6s ease;
}


.slides-venue.slides-venue-chancellor {
    display: flex;
    width: 200%;
    height: 100%;
    transition: transform 0.6s ease;
}

.slides-venue.slides-venue-rimba {
    display: flex;
    width: 500%;
    height: 100%;
    transition: transform 0.6s ease;
}

.slides-venue.slides-venue-lake {
    display: flex;
    width: 400%;
    height: 100%;
    transition: transform 0.6s ease;
}

.slides-venue.slides-venue-phy > div {
    width: 33.36%;
    height: 100%;
    flex-shrink: 0;
}

.slides-venue.slides-venue-chancellor > div {
    width: 50.02%;
    height: 100%;
    flex-shrink: 0;
}

.slides-venue.slides-venue-rimba > div {
    width: 20.01%;
    height: 100%;
    flex-shrink: 0;
}

.slides-venue.slides-venue-lake > div {
    width: 25.01%;
    height: 100%;
    flex-shrink: 0;
}

.slides-venue img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.text-description-slider-venue {
    font-weight: normal;
    padding: 20px;
}

/* keyframes */
@keyframes slide-venue-phy{
    0%, 33.33% { transform: translateX(0); }
    33.36%, 66.66% { transform: translateX(-33.33%); }
    66.68%, 100% { transform: translateX(-66.66%); }
}

@keyframes slide-venue-chancellor {
    0%, 50% { transform: translateX(0); }
    50.01%, 100% { transform: translateX(-50%); }
}

@keyframes slide-venue-rimba {
    0%, 20% { transform: translateX(0); }
    20.01%, 40% { transform: translateX(-20%); }
    40.01%, 60% { transform: translateX(-40%); }
    60.01%, 80% { transform: translateX(-60%); }
    80.01%, 100% { transform: translateX(-80%); }
}

@keyframes slide-venue-lake {
    0%, 25% { transform: translateX(0); }
    25.01%, 50% { transform: translateX(-25%); }
    50.01%, 75% { transform: translateX(-50%); }
    75.01%, 100% { transform: translateX(-75%); }
}

/* Update animation durations if needed */
.slides-venue-phy {
    animation: slide-venue-phy 12s infinite;
}

.slides-venue-chancellor {
    animation: slide-venue-chancellor 8s infinite;
}

.slides-venue-rimba {
    animation: slide-venue-rimba 20s infinite;
}

.slides-venue-lake {
    animation: slide-venue-lake 16s infinite;
}

.image-container-venue:hover .slides-venue {
    animation-play-state: paused;
}

/* Pause animation when a slide is targeted */
.slides-venue > div:target ~ .slides-venue {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .blur-box-venue{
        width: 100%;
        max-width: 92vw;
        padding: 15px 0px;
    }

    .venue-header1{
        font-size: 2.3rem;
        font-weight: 650;
    }

    .venue-division {
        margin: 15px 2% 0px 15px; /* Adjust margin to control spacing */
        width: 96%;
    }
    .venue-vertical-rectangle {
        left: -15 px;
        top: 1px;
    } 

    .venue-conference-venue-container{
        margin: 25px 0px;
        padding-top: 0px;
        padding-bottom: 8px;
    }

    .venue-img1 {
        flex-direction: column;
        margin:10px auto;
    }


    .container.venue-container{
        width: 100%;
    }
    .venue-img1 img {
        height: auto;
        width: 100%;
        margin-bottom: 8px;
        display: block;
    }

    .blur-background{
        padding: 10px 3px;
    }

    .grid-container-venue {
        padding: 0px 0px;
    }

    .grid-item-set {
        grid-template-columns: 1fr;
        padding: 0px 0px;
        margin-bottom: 10px;
    }

    /* Reverse order for the second row */
    .grid-container-venue > .grid-item-set:nth-child(2) > .grid-item-venue:nth-child(2){
        order: 1;
    }
    .grid-container-venue > .grid-item-set:nth-child(2) > .grid-item-venue:nth-child(1) {
        order: 2;
    }
    /* Reverse order for the fourth row */
    .grid-container-venue > .grid-item-set:nth-child(4) > .grid-item-venue:nth-child(2){
        order: 1;
    }
    .grid-container-venue > .grid-item-set:nth-child(4) > .grid-item-venue:nth-child(1) {
        order: 2;
    }
}


/*Tourist Attraction page design*/
.blur-box-tourist{
    width: 80vw;
    max-width: 1200px;
}

.container.tourist-container{
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    
}

.tourist-division-container{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.tourist-division {
    height: 2px;
    background: linear-gradient(to right, transparent 0%, #0f0f0f 25%, #0f0f0f 75%, transparent 100%); /* Dark gray line fading to the right */
    margin: 35px 3%; /* Adjust margin to control spacing */
    width: 94%;
}


.tourist-vertical-rectangle {
    position: absolute;
    left: 2.5%;
    top: 21px;
    width: 20px; /* Fixed width */
    height: 30px; /* Fixed height */
    background-color: #22fd6b; /* Yellowish color */
    border-radius: 5px;
}

.grid-container-tourist {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    max-width: 1200px;
    gap: 20px;
    margin: 0 auto;
}

.grid-item-tourist {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 0; /* Remove padding here */
    border: 0.5px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
}

.image-slider-tourist {
    position: relative;
    width: 100%;
    padding-top: 75%;
    overflow: hidden;
}
.tourist-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.tourist-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.image-slider-tourist.two-images .tourist-slide:nth-child(1) { animation: touristSlideAnimationTwo 8s infinite; }
.image-slider-tourist.two-images .tourist-slide:nth-child(2) { animation: touristSlideAnimationTwo 8s infinite 4s; }

.image-slider-tourist.three-images .tourist-slide:nth-child(1) { animation: touristSlideAnimationThree 12s infinite; }
.image-slider-tourist.three-images .tourist-slide:nth-child(2) { animation: touristSlideAnimationThree 12s infinite 4s; }
.image-slider-tourist.three-images .tourist-slide:nth-child(3) { animation: touristSlideAnimationThree 12s infinite 8s; }

@keyframes touristSlideAnimationTwo {
    0%, 40% { opacity: 1; }
    50%, 90% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes touristSlideAnimationThree {
    0%, 25% { opacity: 1; }
    33%, 58% { opacity: 0; }
    66%, 91% { opacity: 0; }
    100% { opacity: 1; }
}

.grid-item-tourist-content {
    padding: 10px 8px 0px 8px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.grid-item-tourist-content a img {
    width: 32px; /* Smaller icon size */
    height: auto;
    opacity: 0.7; /* Makes the icon slightly pale */
    transition: all 0.3s ease; /* Smooth transition for hover effects */
}

.grid-item-tourist-content a:hover img {
    width: 48px; /* Enlarged size on hover */
    opacity: 1; /* Full opacity for vibrant color */
    filter: brightness(1.3) saturate(1.4); /* Increases vibrancy */
}

.grid-kl-tourist-header{
    font-family: 'Arial', sans-serif;
    font-size: 1.8rem;
    color: #333;
    margin: 15px 0 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.1);
}

.grid-kl-tourist-text, .grid-kl-tourist-google-map{
    font-family: 'Arial', sans-serif;
    font-size: 1.35rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
}


.tourist-container-malaysia{
    width: 100%;
    margin: 0 auto;
    padding: 25px 15px;
    align-items: center;
}

.grid-container-tourist-malaysia{
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 20px;
    margin: 0 auto;
    align-items: center;
}

.grid-item-tourist-malaysia {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 0px 0px 0px 0px; /* Remove padding here */
    border: 0.5px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    align-items: center;
    justify-content: center;
    max-width: 1000px;
    margin: auto;
}

.grid-item-tourist-malaysia img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    align-items: center;
}

.grid-malaysia-tourist-header{
    font-family: 'Arial', sans-serif;
    font-size: 1.8rem;
    margin: 15px 0 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.1);
}

@media screen and (max-width: 768px) {
    .blur-box-tourist{
        width:100%;
        max-width: 95vw;
        padding-left: 8px;
        padding-right: 8px;
    }

    .grid-container-tourist {
        width: 80vw;
        grid-template-columns: 1fr; /* Single column for mobile */
    }
    
    .image-slider-tourist {
        padding-top: 66.67%; /* 3:2 Aspect Ratio for smaller screens */
    }

    .grid-container-tourist-malaysia{
        width: 100%;
    }
    .tourist-division {
        margin: 35px 20px; /* Adjust margin to control spacing */
        width: 94%;
    }
    
    .tourist-vertical-rectangle {
        left: 0%;
    }
    .container.tourist-container{
        padding: 0 5px;
    }
    .grid-container-tourist {
        width: 100%;
    }
    .tourist-container-malaysia{
        padding: 25px 0px;
    }
}


/*Accommodation page design*/
.blur-box-accommodation{
    width: 80vw;
    max-width: 1200px;
}

.accommodation-header{
    font-size: 2.8em;
    margin: 0 auto;
    font-weight: 650;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.1);
    text-align: center;
}

.accommodation-intro{
    margin:35px auto;
    font-size: 1.35rem;
    line-height: 1.6;
    text-align: justify;
    padding: 0 10px;
}

.accommodation-division-container {
    position: relative; /* Make this container relative for absolute positioning of child elements */
    width: 100%; /* Ensure the container takes full width */
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align items to the start */
}


.accommodation-division {
    height: 2px;
    background: linear-gradient(to right, transparent 0%, #0f0f0f 40%, #0f0f0f 60%, transparent 100%); /* Dark gray line fading to the right */
    margin: 5px 2% 0px 2%; /* Adjust margin to control spacing */
    width: 96%;
}

.accommodation-vertical-rectangle {
    position: absolute;
    left: 1%;
    top: -11px;
    width: 20px; /* Fixed width */
    height: 30px; /* Fixed height */
    background-color: #22fd6b; /* Yellowish color */
    border-radius: 5px;
}

.hotel-header{
    font-size: 1.7em;
    margin: 5px 0 5px;
    font-weight: 550;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.1);
}

.hotel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Adjust column ratios as needed */
    gap: 0px; /* Adjust gap between grid items */
    margin-bottom: 30px; /* Space between hotel entries */
    background: rgba(137, 215, 251, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    /*overflow: hidden;*/
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding-bottom: 10px;
    width: 100%;
}

.hotel-image {
    width: 100%;
    border-radius: 10px; /* Rounded corners for the image */
    overflow: hidden;  /*Ensure the image respects the border-radius */
}
.hotel-image img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 350px;
    object-fit: cover;
}
.hotel-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 35px 25px 10px 25px;
    text-align: left;
}
.hotel-name{
    font-size: 1.5em;
    font-weight: 550;
    text-align: center;
    padding-bottom: 20px;
}
.hotel-info a img {
    width: 32px; /* Smaller icon size */
    height: auto;
    opacity: 0.7; /* Makes the icon slightly pale */
    transition: all 0.3s ease; /* Smooth transition for hover effects */
}

.hotel-info a:hover img {
    width: 48px; /* Enlarged size on hover */
    opacity: 1; /* Full opacity for vibrant color */
    filter: brightness(1.3) saturate(1.4); /* Increases vibrancy */
}

.hotel-description {
    grid-column: span 2; /* Span across both columns */
    color:#555;
    line-height: 1.3;
    text-align: justify;
    padding: 15px 15px 0px 15px;
}



 @media (max-width: 768px) {
    .blur-box-accommodation{
        width: 100%;
        max-width: 95vw;
        padding: 0px 8px;
    }
    .accommodation-header{
        padding-top: 20px;
        font-size: 2em;
    }
    .accommodation-intro{
        margin-top: 25px;
    }
    .hotel-header{
        font-size: 1.5em;
    }
    .accommodation-division {
        margin: 5px 2% 0px 2%;
        width: 96%;
    }
    .accommodation-vertical-rectangle {
        left: 1%;
        top: -10px;
    } 
    .hotel-grid {
        grid-template-columns: 1fr
    }
    .hotel-info {
        padding: 15px 8px 0px 8px;
    }
    .hotel-description {
        grid-column: span 1; /* Span across both columns */
        padding: 15px 15px 0px 15px;
        text-align: justify;
        line-height: 1.35;
    }
} 


/*Visa page design*/
.blur-box-visa{
    width: 80vw;
    max-width: 1000px;
}

.visa-header1{
    font-size: 1.6em;
    margin: 0 auto;
    font-weight: 650;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.1);
    text-align: left;
}

.visa-container{
    margin:0 auto;
    padding: 15px 40px;
    text-align: justify;
}

.visa-list{
    margin-left: 30px;
}

.visa-mdac-infographic{
    display: flex;
    justify-content: center; /* Adjust as needed */
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 auto;
    gap:20px;
}

.visa-mdac-infographic img{
    width: 350px;
    height: auto;
}



@media (max-width: 768px) {
    .blur-box-visa{
        width: 100%;
        max-width: 95vw;
        padding: 0px 8px;
    }

    .visa-container{
        margin:0 auto;
        padding: 10px 10px;
        text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.1);
    }

    .visa-header1{
        font-size: 1.3em;
    }

    .visa-mdac-infographic img {
        max-width: 100%; /* Ensure the image doesn't exceed the container width */
        padding: 5px 10px;
    }

    .visa-list{
        margin-left: 20px;
    }
}


/*Transportation page design*/
.blur-box-transportation{
    width: 80vw;
    max-width: 1000px;
}

.transportation-header2{
    font-size: 1.6em;
    margin: 0 auto;
    font-weight: 650;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.1);
    text-align: left;
}

.transportation-header3{
    font-size: 1.15em;
}

.transportation-container{
    margin:0 auto;
    padding: 15px 40px;
    text-align: justify;
}

.transportation-list{
    margin-left: 30px;
}

.tb-transportation1{
    border-spacing: 0;
    border-collapse: separate;
    margin: 20px auto;
    align-items: center;
    justify-content: center;
    padding: 0px;
    border: 2px solid #d0d0d0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(1px);
    color: rgb(0, 0, 0);
    max-width: 100%;
}

.tb-transportation1 td {
    padding: 5px;
    border: 1px solid rgba(203, 214, 241, 0.9);
    vertical-align: middle;
}

.tb-transportation1 tr:nth-child(1){
    border-bottom: 2px solid #d0d0d0;
}

.tb-transportation1 tr:nth-child(1) td {
    font-weight: 600;
    padding-top: 10px;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .blur-box-transportation{
        width: 100%;
        max-width: 98vw;
        padding: 0px 8px;
    }

    .transportation-container{
        margin:0 auto;
        padding: 15px 0px;
        text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.1);
    }

    .transportation-header2{
        font-size: 1.3em;
    }

    .transportation-list{
        margin-left: 30px;
    }

    .tb-transportation1{
        font-size: 0.75em;
    }

    .tb-transportation1 td {
        padding: 0px;
    }

    .tb-transportation1 tr:nth-child(1) td {
        padding-top: 5px;
    }   
}


/*Traveller Essential page design*/
.blur-box-traveller-essential{
    width: 80vw;
    max-width: 1000px;
}

.traveller-essential-container{
    margin:0 auto;
    padding: 15px 40px;
    text-align: justify;
}

.traveller-essential-header2{
    font-size: 1.4em;
    margin: 0 auto;
    font-weight: 650;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.1);
    text-align: left;
}

.tb-traveller-essential-emergency-contact{
    border-spacing: 0;
    border-collapse: collapse;
    margin: 20px auto 0px auto;
    align-items: center;
    justify-content: center;
    text-align: center;
    vertical-align: middle;
    padding: 0px;
    border: 2px solid #d0d0d0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(1px);
    color: rgb(0, 0, 0);
    max-width: 100%;
}

.tb-traveller-essential-emergency-contact td {
    padding: 4px 12px;
    border: 1px solid rgba(203, 214, 241, 0.9);
    vertical-align: middle;
}

.tb-traveller-essential-emergency-contact tr:nth-child(1){
    border-bottom: 2px solid #d0d0d0;
}

.tb-traveller-essential-emergency-contact tr:nth-child(1) td {
    font-weight: 600;
    padding-top: 10px;
    vertical-align: middle;
}


.traveller-essential-list{
    margin-left: 30px;
}

.traveller-essential-plug{
    display: flex;
    justify-content: center; 
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 auto;
    margin-top: 20px;
}

.traveller-essential-plug img{
    width: 200px;
    height: auto;
}

@media (max-width: 768px) {
    .blur-box-traveller-essential{
        width: 100%;
        max-width: 98vw;
        padding: 0px 8px;
    }

    .traveller-essential-container{
        margin:0 auto;
        padding: 15px 8px;
        text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.1);
    }

    .traveller-essential-header2{
        font-size: 1.3em;
    }

    .tb-traveller-essential-emergency-contact{
        margin: 30px auto 0px auto;
    }

    .traveller-essential-list{
        margin-left: 30px;
    }

    .traveller-essential-plug{
        margin-top: 10px;
    }
    
    .traveller-essential-plug img {
        max-width: 80%; /* Ensure the image doesn't exceed the container width */
        padding: 5px 10px 10px 10px;
    }
}


/*Registration Guideline page design*/
.blur-box-regisguide{
    width: 80vw;
    max-width: 1200px;
}

.regis-container {
    width: 100%;
    margin: 0 auto;
    padding: 18px 50px 0px 50px;
    text-align: left; /* Align text to the left */
    align-items: center;
}

.regis-division-container{
    display:flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    position: relative;
}

.regis-division {
    padding: 0;
    height: 2px;
    background: linear-gradient(to right, transparent 0%, #0f0f0f 40%, #0f0f0f 60%, transparent 100%); /* Dark gray line fading to the right */
    margin: 20px 1%; /* Adjust margin to control spacing */
    width: 96%;
}


.regis-vertical-rectangle {
    position: absolute;
    left: 0%;
    top: 6px;
    width: 20px; /* Fixed width */
    height: 30px; /* Fixed height */
    background-color: #7d1dfa; /* Yellowish color */
    border-radius: 5px;
}
.regis-list ul{
    margin-left: 80px;
}

.container-fees{
    /*display: none;*/
    padding-top: 50px;
}

.tb-fees{
    width: 80%;
    border-collapse: collapse;
    margin-top: 20px;
    table-layout: auto;
    margin: 20px auto;
    transform: translateX(0%);
    border: 1px solid #d0d0d0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    background-color: rgba(68, 96, 167, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    overflow: hidden;
    color: rgb(0, 0, 0);
    font-family: serif;
    font-size: 1.15em;
}

.tb-fees td{
    padding: 7px 7px;
    text-align: center;
    border:1px solid rgba(203, 214, 241, 0.9);
}


@media (max-width: 768px){
    .blur-box-regisguide{
        width: 100%;
        max-width: 95%;
    }

    .regis-container {
        padding: 18px 2px 0px 2px;
    }

    .regis-list ul{
        margin-left: 30px;
    }

    .tb-fees{
        width: 100%;
        transform: translateX(0%);
    }
}



/*Committee page design*/
.blur-box-committee{
    width: 70vw;
    max-width: 1200px;
    margin: 20px auto; /
}
.container.organizing-committee-container {
    align-items: center;
    width: 100%;
    margin: 0 auto;
    padding: 0px 10px;
    text-align: center; /* Align text to the left */
    max-width: 1200px;
}

.committee-division {
    height: 2px;
    background: linear-gradient(to right, transparent 5%, #0f0f0fae 40%, #0f0f0fbd 60%, transparent 95%); /* Dark gray line fading to the right */
    margin: 10px -10px;
}


.committee-vertical-rectangle {
    position: absolute;
    left: 30px;
    top: 111px;
    width: 20px; /* Fixed width */
    height: 30px; /* Fixed height */
    background-color: #1dadfa; /* Yellowish color */
    border-radius: 5px;
}

.committee-isc-container{
    margin: 0 auto;
}

.committee-isc-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    max-width: 1200px;
    gap: 20px;
    margin: 0 auto;
}

.committee-isc-grid-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 0; /* Remove padding here */
    /*border: 0.5px solid rgba(255, 255, 255, 0.2);*/
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
}

.committee-isc-photo {
    width: 250px;
    height: 200px;
    padding: 0px 25px;
    margin: 0 auto;
    align-items: center; /* Center vertically */
    justify-content: center;
    margin-top: 15px;
}

.committee-isc-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.committee-isc-content {
    padding: 6px 10px 0px 10px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.committee-isc-name{
    text-align: center;
    font-weight: bold;
    font-size: 1em;
}

.committee-isc-affiliation{
    font-size: 0.85em;
    color: #555;
    text-align: center;
}

.committee-isc-description{
    font-size: 0.9em;
    text-align: justify;
    color: #443;
    line-height: 1.25;
}

.tb-committee-1, .tb-committee-2, .tb-committee-3 {
    width: 100%;
    border-collapse: separate;
    border-spacing: 5px;
    text-align: center;
    margin: 0px auto;
    table-layout: fixed;
    padding: 8px 0px 8px 0px;
}

.tb-committee-1 tr:first-child td,
.tb-committee-2 tr:first-child td,
.tb-committee-3 tr:first-child td {
    padding-bottom: 10px; /* Adjust the value as needed */
}


.committee-loc-division {
    border: 1px solid rgba(212, 220, 251, 0.5);
    border-radius: 10px;
    background-color: rgba(212, 220, 251, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 15px;
    padding-bottom: 30px;
    transition: box-shadow 0.3s ease;
    font-size: 1.4rem;
}


.committee-isc-grid-item:hover, .committee-loc-division:hover {
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.5);
}


.tb-committee-1 td,
.tb-committee-2 td,
.tb-committee-3 td{
    padding: 1px 0px;
    text-align: center;
    vertical-align: top;
}
.committee-header1{
    font-weight: bold;
    font-size: 1.7rem;
}

@media (max-width: 768px) {
    .blur-box-committee{
        width: 100%;
        max-width: 99vw;
        margin: 5px auto;
        padding: 5px 4px;
    }

    .committee-division {
        margin: 8px 0px;
    }

    .committee-isc-grid-container {
        width: 80vw;
        grid-template-columns: 1fr; /* Single column for mobile */
    }

    .committee-isc-photo {
        margin-top: 5px;
    }
    
    .container.organizing-committee-container {
        width: 100%;
        padding: 10px 5px;
    }
    
    .tb-committee-1, .tb-committee-2{
    padding: 0px 1px;
    border-spacing: 2px;
    }

    .committee-header1{
        font-size: 1.2em;
    }

    .tb-committee-1 td,
    .tb-committee-2 td{
        padding: 1px 1px;
    }
}

/* Organizing Committee page design */

.loc-container img{
    display: block;
    margin: 0px auto 5px auto;
    max-width: 100%;
    height: auto; /* Allows the height to adjust automatically based on the width */
    max-height: 130px; /* Ensures the image doesn't exceed 100px in height */
}

/*Contact Us page design*/
.blur-box-contact{
    width: 80vw;
    max-width: 1200px;
}


.contact-container {
    width: 100%;
    padding: 0px 20px 20px 20px;
    display: block;
    align-items: center;
    height: auto;
}

.about-division {
    height: 2px;
    background: linear-gradient(to right, transparent 0%, #0f0f0f 25%, #0f0f0f 75%, transparent 100%); /* Dark gray line fading to the right */
    margin: 24px 10px 30px 10px; /* Adjust margin to control spacing */
    width: 100%;
}


.about-vertical-rectangle {
    position: absolute;
    left: 30px;
    top: 80px;
    width: 20px; /* Fixed width */
    height: 30px; /* Fixed height */
    background-color: #1dadfa; /* Yellowish color */
    border-radius: 5px;
}

.contact-text-container {
    width: 100%;
    padding: 10px 0px 35px 0px;
    margin: 0 auto;
    text-align: center;
}

@media (max-width: 768px){
    .blur-box-contact{
        max-width: 95%;
    }
    .about-vertical-rectangle {
        left: 15px;
        top: 81px;
    }
    .contact-container {
        padding: 0px 5px 20px 5px;
    }
    .contact-text-container {
        width: 100%;
        padding: 35px 5px 35px 5px;
    }
}


/* Make sure footer always stay below */
.container-fluid {
    flex: 1 0 auto; /* Allow the container to grow and shrink as needed */
    width: 100%;
}

footer {
    width: 100vw;
    bottom: 0;
    left: 0;
    flex-shrink: 0; /* Prevent the footer from shrinking */
    text-align: center; /* Center align text if needed */
    padding: 10px 0px; /* Add padding for spacing */
}


/* Setting for difference size devices */
@media (max-width: 768px) {
    footer {
        bottom: 0;
        width: 100vw;
        margin: 0 auto;
    }
}


/* Turn off visitors count box */
.alert.alert-info{
    display: none !important;
    visibility: hidden !important;
}

#visits{
    display: none !important;
    visibility: hidden !important;
}