body {
    font-size: 16px;
    font-family: 'Work Sans', Arial, sans-serif;
}

a {
    color: #ff0000;
    text-decoration: underline;
}

.container {
    max-width: 1440px;
    /* or whatever width you prefer */
}

.intermat-logo {
    position: relative;
    display: inline-block;
}

.intermat-logo img {
    position: relative;
    z-index: 1;
}

.intermat-logo:after {
    content: "";
    position: absolute;
    top: -73px;
    right: -62px;
    background: url(../images/brandingElementIntermat.svg) no-repeat center;
    width: 285px;
    height: 247px;
    z-index: 0;
}

nav.navbar {
    position: absolute;
    right: 0;
    top: 10px;
    width: 80%;
    z-index: 10;
}

.nav-bg {
    background: #003f36;
}

.navbar>.container,
.navbar>.container-fluid,
.navbar>.container-lg,
.navbar>.container-md,
.navbar>.container-sm,
.navbar>.container-xl,
.navbar>.container-xxl {
    align-items: stretch;
    justify-content: space-between;
}

.nav-section {
    width: 100%;
    margin-left: 8px;
    background: #003333;
    display: flex;
    flex-direction: row;
}

li.nav-item {
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
}
li.nav-item a:hover{
    color: #33C996 !important;
}
.slider-container {
    overflow: hidden;
    padding: 20px 0;
    box-sizing: border-box;
  }
  .logo-track {
    display: flex;
    gap: 40px;
    overflow-x: scroll;
    scrollbar-width: none;
    user-select: none;
    scroll-behavior: auto; /* We'll control smoothness via JS */
  }
  .logo-track::-webkit-scrollbar {
    display: none;
  }
  .logo-track img {
    height: 80px;
    flex-shrink: 0;
    pointer-events: none;
    transition: transform 0.3s ease;
  }
  .logo-track img:hover {
    transform: scale(1.1);
  }
.w-md-auto {
    width: auto !important;
}
@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav {
        flex-direction: row;
        width: 80%;
        margin: 0 auto;
        justify-content: space-between;
    }
}

.hero-content {
    padding: 0;
    background: url(../images/imageHero.jpg) no-repeat center;
    background-size: cover;
    height: 665px;
    display: inline-flex;
}

.hero-content::after {
    content: "";
    background: linear-gradient(126deg, #18b497ad 58%, #e9ecef00 50%);
    z-index: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 665px;
}

.hero-text {
    z-index: 3;
    bottom: 0;
    display: flex;
    /* position: absolute; */
    flex-direction: column;
    /* left: 90px; */
    width: 40rem;
    justify-content: center;
    margin: 72px 150px 0;
}

.hero-title {
    font-weight: 800;
    font-size: 36px;
    line-height: 42px;
    color: #FFFFFF;
    text-shadow: 1px 1px 0px #000000;
}

.hero-highlight {
    color: #ffc107;
}

.info-box {
    background: rgba(255, 255, 255, .95);
    border-radius: 8px;
    padding: 16px 24px;
    margin-bottom: 14px;
    font-size: 1rem;
    font-family: 'Work Sans', Arial, sans-serif;
}

.btn-exhibitor {
    background: #003f36;
    color: #fff;
    font-family: 'Work Sans', Arial, sans-serif;
}

.btn-visitor {
    background: #18b497;
    color: #fff;
    font-family: 'Work Sans', Arial, sans-serif;
}

.img-banner {
    background-position: center;
    background-size: cover;
    min-height: 350px;
    max-height: 420px;
}

.material-icons {
    vertical-align: middle;
    margin-right: 6px;
}


/* section 2026 */
.expect-in-2026 {
    background: #FDF8F0;
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    margin-top: -24px;
}

.title-one {
    font-size: 36px;
    font-weight: 800;
    color: #33C996;
    text-transform: uppercase;
}

.title-one .highlight {
    color: #003333;
}

.stats {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 20px;
    column-gap: 40px;
}

.stats .stat {
    border: 1px solid #FF0000;
    padding: 10px 21px;
    display: flex;
    flex-direction: row;
    align-items: center;
    column-gap: 20px;
    transition: box-shadow 0.3s ease-in-out;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.stats .stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);

}

.stats .stat .stat-number {
    display: flex;
    align-items: center;
    color: #33C996;
}

.stats .stat .stat-number::after {
    content: " ";
    border-bottom: 3px solid #FF0000;
    width: 100%;
    position: absolute;
    bottom: -14px;
}

.what-is-intermat {
    padding: 70px 16px;
}

.blockquote-custom {
    border-left: 16px solid #ff0000;
    padding-left: 48px;
    width: 74%;
}

blockquote.date-location {
    padding-left: 62px;
    display: flex;
    column-gap: 20px;
}

.industry-focus {
    background: linear-gradient(270deg, #F3ECE6 80%, #e9ecef00 50%);
    margin: 70px 0;
}

.industry-focus-image-col {
    margin-top: -58px;
}

.industry-focus-content {
    padding: 44px;
}

.industry-focus-list {
    column-gap: 20%;
}

.list-left ul li::before,
.list-right ul li::before {
    content: " ";
    background: url(../images/icons/ArrowRight.svg) no-repeat center;
    width: 16px;
    height: 16px;
    position: absolute;
    left: -24px;
    top: 5px;
}

.list-left ul li,
.list-right ul li {
    list-style-type: none;
    position: relative;
}

.our-core-service-segments {
    background: url("../images/ourCOreServiceImage.png") no-repeat right -21%;
    padding: 0 70px;
    background-size: 59%;
}

.services-list {
    display: flex;
    flex-direction: column;
    row-gap: 38px;
}

.services-list .list {
    display: flex;
    flex-direction: row;
    column-gap: 20px;
    align-items: center;
}

.services-list .list .service-icon {
    background: #f3ece6;
    padding: 15px;
    border-radius: 100%;
    align-content: center;
    min-width: 70px;
    min-height: 70px;
    max-width: 70px;
    max-height: 70px;
}

.service-icon img {
    width: 100%;
}

.our-past-exhibitor {
    margin: 70px 0;
    /* gap: 20px;
    display: flex; */
}

.exhibitor-logo-stripe {
    /* clip-path: polygon(0% 25%, 50% 0%, 117% 33%, 122% 65%, 58% 100%, 0% 77%); */
    background: #F3ECE6;
    padding: 2rem 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
    min-height: 160px;
    overflow-x: hidden;
    position: relative;
}

.logo-track {
    display: flex;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.logo-track img {
    height: 50px;
    margin: 0 40px;
    flex-shrink: 0;
    user-select: none;
    pointer-events: none;
}

.exhibitor-visitor-profile {
    background: #f3ece6;
    padding: 70px;
}

.exvis-list {
    display: flex;
    column-gap: 12px;
    align-items: center;
    margin-bottom: 16px;
}

.exvis-icon {
    background: #fff;
    padding: 6px;
    width: 38px;
    height: 38px;
    text-align: center;
    border: 1px solid #33C996;
}

.patrons-words {
    padding: 70px;
}

.right-col-patrons {
    padding-left: 30px;
}

.words {
    position: relative;
    padding-left: 30px;
}

.words::before {
    content: " ";
    background: url(../images/icons/quote.svg) no-repeat center;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 18px;
    height: 13px;
}

.patron {
    display: flex;
    flex-direction: row;
    align-items: center;
    column-gap: 20px;
}

.patron-dp {
    background: #E8E4DA;
    border-radius: 100%;
    padding: 10px;
    font-size: 18px;
    font-weight: 800;
    color: #33C996;
}

.patron-name h5 {
    color: #33C996;
}

.testimonial-nav {
    margin: 20px 0 0 60px;
}

.testimonial-nav button {
    background: none;
    border: none;
}

#testimonial {
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    opacity: 1;
    transform: translateY(0);
}

#testimonial.fade-out {
    opacity: 0;
    transform: translateY(20px);
}

.footer-one {
    padding: 70px;
    background: #f3ece6;
}

.exhibitor-button {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background-color: #003333;
    /* Dark green tone */
    color: white;
    border: none;
    font-family: 'Segoe UI', sans-serif;
    cursor: pointer;
    text-align: left;
    text-decoration: none;
    transition: box-shadow 0.3s ease-in-out;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #fff;
}

.exhibitor-button .icon {
    font-size: 28px;
    margin-right: 10px;
}

.exhibitor-button .text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.exhibitor-button .text small {
    font-size: 14px;
}

.exhibitor-button .text strong {
    font-size: 24px;
}

.exhibitor-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.visitor-button {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background-color: #33C996;
    /* Dark green tone */
    color: white;
    border: none;
    font-family: 'Segoe UI', sans-serif;
    cursor: pointer;
    text-align: left;
    text-decoration: none;
    transition: box-shadow 0.3s ease-in-out;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #fff;
}

.visitor-button .icon {
    font-size: 28px;
    margin-right: 10px;
}

.visitor-button .text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.visitor-button .text small {
    font-size: 14px;
}

.visitor-button .text strong {
    font-size: 24px;
}

.visitor-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}
.highlight-past-exh{
        padding: 70px;
        display: flex;
    flex-direction: column;
    align-items: center;
}
.flex-row {
    display: flex;
    flex-wrap: wrap;
    /* allows wrapping on small screens */
    gap: 1rem;
    justify-content: space-between;
    align-items: center;

}

.flex-row>* {
    flex: 1 0 auto;
    /* size to content */
    /* white-space: nowrap; */
    /* prevent breaking */
    width: min-content;
}

.footer-two {
    padding: 70px;
    background: #003333;
}

.footer-flex-row {
    display: flex;
    flex-wrap: wrap;
    /* allows wrapping on small screens */
    gap: 1rem;
    justify-content: space-between;
}

.footer-flex-row>* {
    flex: 0 0 auto;
    /* size to content */
    white-space: nowrap;
    /* prevent breaking */
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    margin-bottom: 20px;
}

.footer-links a span {
    margin-right: 20px;
}

.footer-links a span img {
    width: 18px;
    height: 18px;
}

.footer-links a img {
    /* margin-right: 20px; */
}

/* Link that opens the off-canvas */
.open-canvas {
    display: inline-block;
    padding: 10px 20px;
    margin: 40px;
    background-color: #003C3C;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
}

/* Off-canvas panel */
.off-canvas {
    position: fixed;
    top: 0;
    right: -100%;
    width: 60%;
    height: 100%;
    background-color: #f7f7f7;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
    padding: 20px;
    transition: right 0.3s ease-in-out;
    z-index: 999;
    overflow-y: auto; /* NEW */
}

.off-canvas.active {
    right: 0;
}

/* Close button */
.off-canvas .close-btn {
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 30px;
    font-weight: 800;
    position: fixed;
    right: 20px;
    top: 10px; display: none;
}

.off-canvas.active .close-btn{ display: block !important;}

    .category-container {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      justify-content: center;justify-content: flex-start;
    }

    .category-box {
      width: 280px;
        height: 200px;
      display: flex;
      flex-direction: column;
      text-align: center;
      color: white;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .category-header {
      background-color: #003333; /* orange */
      padding: 15px;
      font-weight: bold;
      font-size: 16px;
      text-transform: uppercase;
    }

    .category-body {
      background-color: #33c996; /* dark teal */
      padding: 20px;
      font-size: 16px;
      line-height: 1.5;height: 100vh;
    }
    .gallery img {
      cursor: pointer;
      transition: transform 0.2s ease;
    }

    .gallery img:hover {
      transform: scale(1.03);
    }

    .modal-img {
      max-height: 80vh;
      width: auto;
    }

    .modal-nav {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      font-size: 2rem;
      color: white;
      background: rgba(0, 0, 0, 0.4);
      border: none;
      z-index: 1056;
    }

    .modal-nav.prev {
      left: 10px;
    }

    .modal-nav.next {
      right: 10px;
    }

    .modal-close {
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 2rem;
      color: white;
      background: rgba(0, 0, 0, 0.4);
      border: none;
      z-index: 1056;
    }
    .gallery-video {
        padding: 0 70px 70px;
    }
    .ratio-16x9 {
        --bs-aspect-ratio: 50.25%;
        border-radius: 8px;
        overflow: hidden;
    }

    /* Flip carousel direction for right to left */
    #galleryCarousel .carousel-inner {
      direction: rtl;
    }
    #galleryCarousel .carousel-item img {
      width: 100%;
      max-height: 437px;
      object-fit: cover;
      border-radius: 8px;
      cursor: pointer;
    }
    .carousel-control-next, .carousel-control-prev{
            width: auto;
    }

    /* Flip controls direction */
    #galleryCarousel .carousel-control-prev {
      right: 0;
      left: auto;
    }
    #galleryCarousel .carousel-control-next {
      left: 0;
      right: auto;
    }

    /* Modal image styling */
    #lightboxImage {
      width: 100%;
      max-height: 80vh;
      object-fit: contain;
    }
    
    @media (max-width: 768px) {
      .category-box {
        width: 100%;
        max-width: 90%;
      }
      .what-is-intermat{
        padding: 50px 40px;
      }
    }

    @media (min-width: 1024px) {
    .hero-content::after {
        background: linear-gradient(126deg, #18b497ad 70%, #e9ecef00 50%);
    }
    .our-core-service-segments{
        /* background-size: 64%;
        background-position-y: center; */
        background-size: 59%;
        background-position-y: -26%;
    }
    nav.navbar{
        width: 93%;
    }
    .industry-focus{
        background: linear-gradient(270deg, #F3ECE6 100%, #e9ecef00 50%);
    }
    .industry-focus-list {
        column-gap: 4%;
    }
    .exvis-list{
        align-items: flex-start;
    }
    /* .hero-text{
        margin: 72px 73px 0;
    } */
}
/* @media (max-width:1024px){
.hero-text{
            margin: 72px 150px 0;
    }
} */
@media (max-width: 768px) {
    nav.navbar{width: 94%;}
    .intermat-logo {width: 30%;}
    .nav-section {width: 70%;margin-left: 0;align-items: center;}
    .nav-section button{background: #33c996;    position: absolute;    right: 5%;}
    .navbar-collapse {text-align: right;    margin-right: 25%;}
    .hero-text {margin: 154px 53px 0;}
    .hero-content::after {background: linear-gradient(126deg, #18b497ad 100%, #e9ecef00 90%); width: 100%;}
    .stats{margin-top: 0;align-items: stretch; display: block;}
    .industry-focus-content {padding: 14px;}
    .industry-focus-list {column-gap: 0;}
    .our-core-service-segments {background: none;}
    .exvis-list{align-items: flex-start; }
    .flex-row {flex-wrap: nowrap; display: block;}
    .rotate-img{transform: rotate(90deg); display: inline-block;}
    .industry-focus{background: linear-gradient(270deg, #F3ECE6 100%, #e9ecef00 50%);}
    .our-past-exhibitor {flex-direction: column;}
    .our-past-exhibitor .w-50{width: 100% !important;}
    .gallery-video {padding: 0 30px 30px;}
    .blockquote-custom {width: 100%;padding-left: 20px;}
    blockquote.date-location {padding-left: 39px;}
    
}
@media (min-width: 768px) and (max-width: 1024px) {
    nav.navbar {width: 98%;}
    .intermat-logo { width: 25%;}
    .nav-section {width: 100%;margin-left: 8px;align-items: center;}
    .hero-text{margin: 72px 60px 0;}
    .hero-content::after {background: linear-gradient(114deg, #18b497ad 76%, #e9ecef00 50%);}
    .nav-section button{background: #33c996;    position: absolute;    right: 5%;}
    .navbar-collapse {text-align: right;    margin-right: 25%;}
    .nav-section {width: 75%;margin-left: 0;align-items: center;}
    .our-core-service-segments {        background: url(../images/ourCOreServiceImage.png) no-repeat right bottom;     background-size: 48%;}
    .exvis-list{align-items: flex-start; }
}
/* Below 1023px: show toggle, hide menu */
/* @media (max-width: 1022px) {
  .navbar-toggler {
    display: block;
  }

  .navbar-collapse {
    display: none !important;
  }
} */
 @media(max-width: 900px) {
    .w-md-auto {
        width: 100% !important;
    }
}
@media (max-width: 520px) {
    .hero-content::after {
        background: linear-gradient(126deg, #18b497ad 100%, #e9ecef00 90%); width: 100%;
    }
    .hero-text {
        margin: 182px 16px 0;    justify-content: flex-start;
    }
    .hero-title {
    font-size: 31px;
    line-height: 34px;
    }
    .industry-focus{margin: 0 0 70px 0;}
    .industry-focus-content {
        padding: 70px 14px;
    }
    .our-core-service-segments {padding: 0 16px;}
    .service-icon img {
    max-width: 100%;
    }
    .exhibitor-visitor-profile{padding: 70px 16px;}
    .patrons-words {
    padding: 70px 16px;
    }
    .right-col-patrons {
    padding: 30px 0;
    }
    .off-canvas {width: 100%;}
}

@media (max-width: 420px) {
    .exhibitor-button .text strong {
        font-size: 18px;
    }
    .visitor-button .text strong{
        font-size: 18px;
    }
}
@media (max-width: 991.98px) {
  .navbar-collapse.full-screen-menu.show {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: #003333;
        z-index: 9999;
        transition: all 0.3s ease-in-out;
        padding-top: 170px;
  }
  .navbar-collapse.full-screen-menu.collapsing{
    position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: #003333;
        z-index: 9999;
        transition: all 0.3s ease-in-out;
        padding-top: 170px;
  }

  .navbar-collapse.full-screen-menu .navbar-nav {
    flex-direction: column;
    align-items: center;
  }

  .navbar-collapse.full-screen-menu .nav-link {
    font-size: 1.5rem;
    margin: 10px 0;
  }

  .navbar-toggler {
    z-index: 10000; /* Above menu for toggling */
    position: relative;
  }
    /* removed hover-only dropdown rule to allow Bootstrap JS to control dropdown visibility */
}
      /* Enable hover dropdown on non‐touch devices */
@media (hover: hover) and (pointer: fine) {
  .navbar-nav .dropdown:hover > .dropdown-menu {
    display: block;
  }
  .navbar-nav .dropdown-menu {
    margin-top: 0; /* align nicely */
    display: none;
  }
}