/* navbar */
.navbar > ul > li.has-sub > a:after {
    top: 28px;
}

/* Speaker Section */
.speakers-wrapper {
    position: relative;
}

.speakers-nav {
    z-index: 9999;
}

.swiper-button-prev,
.swiper-button-next {
    cursor: pointer;
}

.swiper-button-prev,
.swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    color: #3BCDF4; /* optional */
    width: 40px;
    height: 40px;
}

.swiper-button-prev { left: -60px; }  /* outside left */
.swiper-button-next { right: -60px; } /* outside right */

.speakers-carousel .grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(4, 1fr); /* desktop */
}

#speakerModal .modal-content {
    border: none;
    border-radius: 0;
    padding: 20px;
}

#speakerModal p {
    margin-bottom: 0.5rem;
}


/* button */
.btn-outline-pink {
    border-color: #D82F90;
    color: #D82F90;
    transition: all 0.3s ease-in-out;
    width: auto;
    padding: 10px 20px;
    height: 100%;
}

.btn-outline-pink:hover {
    background: #D82F90;
    color: #fff;
}

.button-we {
    border: 0;
    border-radius: 0;
    font-size: 16px;
    font-weight: 700;
    width: auto;
    padding: 10px 20px;
}

.btn-pink {
    background-color: #D82F90;
    color: #fff;
    transition: all 0.3s ease-in-out;
    width: 80px;
    height: 100%;
}

.btn-pink:hover { 
    background-color: #0224C2; 
}

.btn-blue {
    background-color: #3BCDF4;
    color: #fff;
    transition: all 0.3s ease-in-out;
}

.btn-blue:hover { 
    background-color: #0224C2; 
}

.side-button {
    position: fixed;
    top: 50%;
    right: 0px;
    width: 130px; /* Start with a small width */
    font-size: small;
    border: none;
    padding: 8px 14px; /* Adjust padding to fit the collapsed size */
    color: black;
    background: #B2EAF7;
    z-index: 1000;
    overflow: hidden; /* Hide overflow content */
    white-space: nowrap; /* Prevent text from wrapping */
    transition: width 0.3s ease; /* Smooth transition */
}

.side-button:hover {
    width: 180px; /* Expand to full size on hover */
    padding: 8px 14px; /* Restore full padding */
}

/* Individual button positioning remains unchanged */
.side-button-1 { top: 40%; }
.side-button-2 { top: 44%; }
.side-button-3 { top: 48%; }
.side-button-4 { top: 52%; }
.side-button-5 { top: 56%; }


/* background */
.bg-darkblue { background-color: #0224C2; }

.bg-blue { background-color: #3BCDF4; }

.bg-lightblue { background-color: #B2EAF7; }

.bg-grey { background-color: #E0E1E2; }

.bg-pink { background-color: #D82F90; }

.bg-lightpink { background-color: #d82f8fd5; }


/* text color */
.text-darkblue { color: #0224C2; }

.text-blue { color: #3BCDF4; }

.text-lightblue { color: #B2EAF7; }

.text-grey { color: #E0E1E2; }

.text-pink { color: #D82F90; }

.text-snowwhite { color: #abe3f0; }

.text-darkgrey { color: #6b6b6b; }


/* section */
section { padding: 110px 0; }

section p { text-align: justify; }

.three-color-bar-equal {
    background-image: linear-gradient(90deg, #D82F90 33%, #3BCDF4 33%, #3BCDF4 66%, #B2EAF7 66%);
    padding: 50px 0;
}

.four-color-bar-separator {
    background-image: linear-gradient(90deg, #0224C2 56%, #D82F90 56%, #D82F90 60%, #3BCDF4 60%, #3BCDF4 74%, #B2EAF7 74%, #B2EAF7 100%);
    padding: 6px 0 !important;
}

.four-color-bar-separator-text {
    background-image: linear-gradient(90deg, #0224C2 56%, #D82F90 56%, #D82F90 60%, #B2EAF7 60%, #B2EAF7 74%, #3BCDF4 74%, #3BCDF4 100%);
    padding: 40px 0 !important;
}


/* footer */
footer.four-color-bar {
    background-image: linear-gradient(90deg, #0224C2 42%, #D82F90 42%, #D82F90 45%, #3BCDF4 45%, #3BCDF4 55%, #B2EAF7 55%, #B2EAF7 100%);
    padding: 30px 0 !important;
}

footer p {
    font-size: small;
}

.social-media a {
    display: block;
    text-align: center;
    align-content: center;
    width: 40px;
    height: 40px;
}

.social-media .social-media-icon {
    border: 1px solid #fff;
    border-radius: 50%;
    transition-timing-function: ease-in-out;
    transition-duration: .2s;
    margin: 0 4px;
}

.social-media a > i {
    color: #fff;
    transition-timing-function: ease-in-out;
    transition-duration: .2s;
}

.social-media .social-media-icon:hover {
    border-color: #3bc6ed;
}

.social-media a:hover > i {
    color: #3bc6ed;
}


/* modal */
#staticBackdrop .modal-content .modal-header {
    padding: 1.5rem 1.5rem 5px;
}

#staticBackdrop .modal-content .modal-body {
    padding: 5px 1.5rem 1.5rem;
}

@media screen and (max-width: 575px) {
    .team-style01 .team-block,
    .team-style01 .team-block p {
        text-align: center;
    }
}


/* trade-exposition-sectors blog */
#trade-exposition-sectors .blog-card .blog-content {
    text-align: right;
    padding: 0 30px 20px 0;
    right: 0;
    left: auto;
}

#trade-exposition-sectors .blog-card .blog-link {
    text-align: right;
    display: block;
}

#trade-exposition-sectors .blog-card .image-box {
    height: 280px;
}

#trade-exposition-sectors .blog-card .image-box img {
    width: 100%;
}

.sector-icon img {
    max-width: none;
    width: 64px !important;
    height: 64px !important;
}


/* partner */
.partners > .partner-container:not(:first-child) {
    border-top: 1px solid #D82F90;
}

.partner-image-container {
    /* width: 120px; */
    margin: 0 20px 20px 10px;
    align-content: end;
}

.partner-image-container .partner-image-box {
    width: 120px;
    height: 120px;
    /* text-align: center; */
    align-content: center;
}

.partner-image-container .partner-image-box img {
    max-width: 100%;
    max-height: 100%;
    /* width: 120px;
    height: 120px; */
    /* max-width: 80%;
    max-height: 80%; */
}


/* table */
.programme-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: separate; /* Allow spacing */
    border-spacing: 14px; /* Space between <td> elements */
}

.programme-table, .programme-table th, .programme-table tr, .programme-table tr td {
    background-color: transparent;
}

.programme-table tr td, .programme-table th {
    border-bottom: 0;
}

.programme-table tr {
    height: 100%; /* Makes rows stretch */
}

.programme-table th, 
.programme-table td {
    background-color: transparent; /* Ensure spacing has no background */
    position: relative; /* Needed for pseudo-element */
    padding: 15px 15px; /* Add padding around the content */
    min-width: 220px;
}

.programme-table th:not(:last-child)::after, 
.programme-table td:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 0; /* Adjust to match padding */
    bottom: 0; /* Adjust to match padding */
    right: -9px;
    width: 3px; /* Border width */
    /* background-color: white; */
    background-color: #0224c2; /* Border color */
}

.programme-table tr td:first-child {
    background-color: #0075ff80;
}

.programme-table tr td:nth-child(2) {
    background-color: #17a4c3bf;
}

.programme-table tr td:last-child {
    background-color: #c52f85bf;
}

.programme-table tr td[colspan="3"] {
    background-color: #0224c4bf;
}

.programme-table td:empty {
    background-color: transparent !important; /* Remove background */
}

.programme-table td p {
    margin: 0;
    padding: 10px; /* Adds space inside but keeps the colored background */
    border-radius: 5px; /* Optional: Rounds corners */
    font-weight: 700;
    color: #fff;
}

.programme-table td p:first-child {
    font-weight: 800;
}

/* Only apply styles to cells with rowspan */
/* Full-height right border only if rowspan is present */
.programme-table td[rowspan]::after,
.programme-table th[rowspan]::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: -9px;
    width: 3px;
    /* background-color: white; */
    background-color: #0224c2;
    z-index: 2;
}

/* Full-height left border only if rowspan is present */
.programme-table td[rowspan]::before,
.programme-table th[rowspan]::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -8px;
    width: 3px;
    /* background-color: white; */
    background-color: #0224c2;
    z-index: 2;
}


/* programme media */
.programme-table-media tr td:first-child {
    background-color: #D82F90;
}

.programme-table-media tr td:nth-child(2) {
    background-color: #D82F90;
}

.programme-table-media tr td:last-child {
    background-color: #D82F90;
}


/* programme trade exposition */
.programme-table-trade-exposition tr th:first-child {
    background-color: #0224c4bf;
}

.programme-table-trade-exposition tr th:nth-child(2) {
    background-color: #17a4c3bf;
}

.programme-table-trade-exposition tr th:last-child {
    background-color: #c52f85bf;
}

.programme-table-trade-exposition tr td {
    background-color: #00000029 !important;
}

.programme-table-trade-exposition tr td:first-child p:first-child {
    color: #0224c4bf;
}

.programme-table-trade-exposition tr td:nth-child(2) p:first-child {
    color: #17a4c3bf;
}

.programme-table-trade-exposition tr td:last-child p:first-child {
    color: #c52f85bf;
}

.programme-table-trade-exposition th:not(:last-child)::after, 
.programme-table-trade-exposition td:not(:last-child)::after,
.programme-table-leadership th:not(:last-child)::after, 
.programme-table-leadership td:not(:last-child)::after {
    content: none !important;
    background-color: none !important; /* Border color */
}


/* leadership conference */
.programme-table-leadership tr th {
    background-color: #0224c4bf;
}

.programme-table-leadership tr td {
    background-color: #c52f85bf !important;
}


/* video */
.video .video-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-height: 800px;
    overflow: hidden; /* Ensures no content overflows */
}

.video-container iframe {
    width: 80%;
    height: 100%;
    max-height: 800px;
    min-height: 500px;
}

@media screen and (max-width: 991px) {
    .video-container iframe {
        width: 100%;
        min-height: 400px;
    }
}

@media screen and (max-width: 767px) {
    .video-container iframe {
        width: 100%;
        min-height: 300px;
    }
}


/* // `xs` returns only a ruleset and no media query
// ... { ... }

// `sm` applies to x-small devices (portrait phones, less than 576px)
@media (max-width: 575.98px) { ... }

// `md` applies to small devices (landscape phones, less than 768px)
@media (max-width: 767.98px) { ... }

// `lg` applies to medium devices (tablets, less than 992px)
@media (max-width: 991.98px) { ... }

// `xl` applies to large devices (desktops, less than 1200px)
@media (max-width: 1199.98px) { ... }

// `xxl` applies to x-large devices (large desktops, less than 1400px) */
/* @media (max-width: 1399.98px) { 
    .image-max-container {
        width: 100vw;
        margin-left: auto;
        margin-right: -calc((100vw - 100%) / 2);
    }    
} */


.section-title-why-attend {
    padding: 80px 0;
}

.image-max-container {
    position: absolute;
    /* left: 0; */
    top: 0;
    width: 60vw; /* Prevents it from being too wide */
    height: 100%;
    overflow: hidden;
}

.full-width-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 600px;
}

/* Separate container for overlay */
.image-overlay-container {
    position: absolute;
    bottom: 0;
    width: 100%;
    /* width: calc(100% - 40px); */
    max-width: 100%;
}

/* Styling for overlay */
.image-overlay {
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    color: white;
}

/* When screen width is 991px or smaller, change to relative */
@media (max-width: 991px) {
    .section-title-why-attend {
        padding-bottom: 0;
    }

    .image-container-outside {
        padding-bottom: 80px;
    }

    .image-max-container {
        position: relative;
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: 400px;
    }

    .image-overlay-container {
        /* position: relative; */
        width: 94%;
        max-width: 94%;
        bottom: 80px;
        left: auto;
        padding: 20px;
    }
}



/* google recaptcha start */
.grecaptcha-badge {
    bottom: 75px !important;
    z-index: 999 !important;
}
/* google recaptcha end */


.modal {
    z-index: 99999 !important;
}


form#contactForm label {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
}

form#contactForm .form-control {
    border: 0;
    border-radius: 0;
    background-color: #ffffff80 !important;
    color: #fff;
}



/* leadership conference */
.conference-focus .image-box img {
    object-position: top;
}

.conference-focus:hover .image-box img {
    transform: scale(1.1);
}

.powertalk-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Adjusts columns */
    gap: 10px;
}

.powertalk-item {
    padding: 0 10px;
    margin-bottom: 30px;
    text-align: center;
}

.powertalk-item p {
    font-size: 14px;
}

/* Dialogue */
.we-dialogue.card {
    margin: 0 10px;
    border: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transition: transform .2s ease, box-shadow .2s ease;
}
.we-dialogue.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.we-dialogue .card-title a {
    text-decoration: none;
    color: #0d6efd;       /* Bootstrap primary color */
}
.we-dialogue .card-title a:hover {
    text-decoration: underline;
}
.image-container-dialogue {
    overflow: hidden;
    position: relative;
}

/* Modern modal overall look */
.modern-modal .modal-content {
  border-radius: 1rem;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  background: #ffffff;
  animation: modal-pop 0.3s ease-out;
}

/* Slight zoom-in animation */
@keyframes modal-pop {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Modal header */
.modern-modal .modal-header h5 {
  font-size: 1.4rem;
  color: #222;
}

/* Footer spacing & alignment */
.modern-modal .modal-footer {
  background: #f9fafb;          /* subtle contrast */
  border-top: 1px solid #e9ecef;
  padding: 1rem 1.5rem;
  border-radius: 0 0 1rem 1rem;  /* match content radius */
}

/* Buttons */
.modern-modal .modal-footer .btn {
  font-weight: 500;
  transition: all 0.2s ease;
}
.modern-modal .modal-footer .btn-primary {
  background: #3b82f6;          /* your brand color */
  border: none;
}
.modern-modal .modal-footer .btn-primary:hover {
  background: #2563eb;
}


/* we2025 */
.img-cover-full {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.partner-section .partner-image-container {
    margin: 0 30px 20px;
}

.partner-section .partner-image-container .partner-image-box {
    width: 100%;
    height: 250px;
}

/* Table Scrollable */
.table-responsive-mobile {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* smooth scrolling */
    margin-bottom: 1.5rem;
}

.table-responsive-mobile table {
    min-width: 850px; /* increase if needed */
}

@media (max-width: 1300px){
    .swiper-button-prev,
    .swiper-button-next {
        position: static;        /* no absolute */
        transform: none;
        margin: 10px 5px;
        display: inline-block;
    }

    /* center them under carousel */
    .speakers-nav, .dialogue-nav {
        text-align: center;
        margin-top: 10px;
    }
}

@media (max-width: 1023px) {
    .speakers-carousel .grid {
        grid-template-columns: repeat(2, 1fr); /* tablet */
    }
}

@media screen and (max-width:1024px) {
    .navbar-nav > li > a, .navbar-nav li a, .navbar ul ul li a {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .speakers-carousel .grid {
        grid-template-columns: repeat(1, 1fr); /* mobile */
    }
}