@font-face {
  font-family: 'ClashDisplay';
  src: url('../fonts/clash-display-font/ClashDisplay-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'ClashDisplay';
  src: url('../fonts/clash-display-font/ClashDisplay-Semibold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'ClashDisplay';
  src: url('../fonts/clash-display-font/ClashDisplay-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'ClashDisplay';
  src: url('../fonts/clash-display-font/ClashDisplay-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'ClashDisplay';
  src: url('../fonts/clash-display-font/ClashDisplay-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* custom class */
.section-wrapper {
  position: relative;
  --max-width: 1370px;
  --padding: 1rem;
  width: min(var(--max-width), 100% - var(--padding)*2);
  margin-inline: auto;
}

@media (max-width:1300px) {
  .section-wrapper {
    position: relative;
    --max-width: 1170px;
    --padding: 1rem;
    width: min(var(--max-width), 100% - var(--padding)*2);
    margin-inline: auto;
  }

}


@media (max-width:1200px) {
  .section-wrapper {
    position: relative;
    --max-width: 1024px;
    --padding: 1rem;
    width: min(var(--max-width), 100% - var(--padding)*2);
    margin-inline: auto;
  }
}

body {
  overflow-x: hidden;
}

/*
 ==================================================
   Home Page Styles
  ================================================== 
*/

/* Header Styles */
.app-header {
  transition: transform 0.4s ease, opacity 0.4s ease;
  z-index: 9999;
}

/* Sticky state */
.app-header.sticky-header {
  transform: translateY(0) !important;
  width: 100%;
  background: #000000;
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
  opacity: 1;
}

.app-header.sticky-header .hamburgerBtn {
  color: white;
}

.app-header.sticky-header .nav-items li a {
  color: white !important;
}


@media (max-width:640px) {
  .primary-navigation {
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%);
    width: 100%;
    height: 100dvh;
    background: #000;
    flex-direction: column;
    justify-content: center;
    gap: 60px;
    transition: all 500ms ease-in-out;
  }

  .primary-navigation.open-menu {
    transform: translateX(0);
  }

  .primary-navigation nav .nav-items {
    display: flex;
    flex-direction: column;
  }

  .primary-navigation nav .nav-items li a {
    font-size: 24px;
  }

}


/* Update your CSS to this */
#topSection {
  will-change: clip-path;
}

.services-cards {
  display: flex;
  flex-direction: column;
}

.sercives-card {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
  padding: 2rem;
}

@media (max-width:770px) {
  .sercives-card {
    padding: 0;
    gap: 0;
  }

}

.service-title {
  position: sticky;
  top: 0;
  z-index: 99;
  background-color: #0f1115;
}

/* Initial state: Off-screen and invisible */
.service-card-content {
  transition: transform 0.6s ease;
}



/* project section css */
.project-card-slider-track {
  width: max-content;
  display: flex;
  gap: 1rem;
  transform: translateX(0);
  will-change: transform;
}


@media (min-width:770px) {
  .project-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}

@media (max-width:770px) {
  .project-card {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .project-card-content {
    width: 100%;
  }

}

/* map section css */
#mapContainer {
  overflow: hidden;
}

/* Webkit browsers (Chrome, Edge, Safari) */
.country-ngol-list::-webkit-scrollbar {
  width: 2px;
}

.country-ngol-list::-webkit-scrollbar-track {
  background: #0f1115;
  border-radius: 2px;
}

.country-ngol-list::-webkit-scrollbar-thumb {
  background-color: #0f1115;
  border-radius: 2px;
  /* rounded corners */
  border: 1px solid #0f1115;
}

.country-ngol-list::-webkit-scrollbar-thumb:hover {
  background-color: #0f1115;
}

/* Firefox */
#infoPanel {
  display: none;
}

/* partner slider css */

.partner-slider-track {
  display: flex;
  flex-wrap: nowrap;
  cursor: grab;
  transition: transform 0.05s linear;
}

.partner-slider-track:active {
  cursor: grabbing;
}

.partner-slide {
  flex-shrink: 0;
}



/* events page css  */
.stackCard {
  height: 900px;
  width: 90vw;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;

}


/* audio page css */

.videoWrapper {
  overflow: hidden;
  position: relative;
}

.videoWrapper .slidesContainer {
  display: flex;
  transition: transform 0.6s ease-in-out;
  width: 100%;
}

.videoSlide {
  min-width: 100%;
  position: relative;
}

.sliderPagination {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 10;
}

.paginationDot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #D9D9D9;
  opacity: 0.5;
  cursor: pointer;
}

.paginationDot.active {
  opacity: 1;
  background: #252c59;
}


/* Buttons */
.videoWrapper .sliderBtn {
  position: absolute;
  top: 40%;
  transform: translateY(-40%);
  background: white;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  z-index: 10;
}

.videoWrapper .prevBtn {
  left: 10px;
}

.videoWrapper .nextBtn {
  right: 10px;
}




/* events stack css page */

.stack-container {
  position: relative;
  min-height: 900px;
  transition: height 0.3s ease;
}

.block-stacks {
  position: absolute;
  width: 90%;
  top: 0;
  left: 0;
  cursor: pointer;
  transition: none;
  -webkit-transition: all 1000ms ease;
  box-shadow: 19px 1px 25.4px 0px #0000001C;
  opacity: 0.99;
  will-change: transform;
  border: 2px solid #B4B4;
}

.stacks-heading h2,
.block-stacks .stacks-heading h2 {
  font-size: clamp(2rem, 0.1149rem + 8.3784vw, 5.875rem);
}

.stacks-body-heading h2 {
  font-size: clamp(1.5rem, 0.6486rem + 3.7838vw, 3.25rem);
  line-height: 1.05;
}

.social-links::after {
  content: '';
  position: absolute;
  top: 10px;
  left: -10px;
  width: 100%;
  height: 100%;
  border: 1px solid #02327C;
  z-index: -1;
}

.writing-mode-vertical {
  writing-mode: vertical-rl;
}


.sticky-date {
  opacity: 1;
  transition: opacity 0.3s ease;
}

.block-stacks.active .sticky-date {
  opacity: 0;
  pointer-events: none;
}

.pastEvent-card::after {
  content: '';
  position: absolute;
  top: 10px;
  left: -10px;
  width: 100%;
  height: 100%;
  border: 1px solid #02327C;
  z-index: -1;
}

@media (max-width:640px) {
  .block-stacks {
    width: 85%;
  }
}

/*cf7 style Container */
.custom-cf7-wrapper {
    position: relative;
    display: block;
    width: 100%;
}

.custom-cf7-wrapper select {
    color: #9ca3af !important;
    cursor: pointer;
    background-color: transparent;
}

.custom-cf7-wrapper select:focus,
.custom-cf7-wrapper select:not([value=""]) {
    color: #ffffff;
}


.custom-cf7-wrapper select option {
    background-color: #141313; 
    color: #ffffff; 
    padding: 12px;
    font-size: 14px;
}

.custom-cf7-wrapper select option:hover {
    background-color: #27272a; 
}

.custom-cf7-wrapper select {
    color-scheme: dark; 
}



iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.77vh;
  height: 100vh;
  transform: translate(-50%, -50%);
}

@media (min-aspect-ratio: 16/9) {
  iframe {
    width: 100vw;
    height: 56.25vw;
  }
}

/*hero section project type events*/

.evetns-page-herosection iframe{
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
   pointer-events: none;
}


@media(min-width:770px){
    .image-video-block{
        height:600px;
    }
}
@media(max-width:770px){
    .image-video-block{
        height:500px;
    }
}

@media(max-width:640px){
    .image-video-block{
        height:450px;
    }
}

@media(max-width:520){
    .image-video-block{
        height:400px;
    }
}

.videoSlide iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
}

.muteToggle {
  background: rgba(105, 104, 104, 0.6);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  left:1rem;
  bottom:1rem;
  cursor:pointer;
}
