/* Hide scrollbar but keep functionality */
.viewport-container::-webkit-scrollbar {
  display: none;
}



/* Stacking container */
.viewport-container {
  overflow-y: scroll;
  overflow-x: hidden;
  height: 100vh;
  width: 100%;
  scroll-snap-type: y mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.slide-item {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  width: 100%;
  height: 100vh;
  /* background: #f8f8f8; */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  position: relative;
}

.slide-item.active {
  /* hook for active state */
}

.content-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Page Dropdown - Fixed Top Right */
.page-dropdown {
  position: fixed;
  top: 2vw;
  left: 20vw;
  z-index: 10000;
  /* font-family: courier, mono; */
}

.dropdown-btn {
  background: rgba(255, 255, 255, 0.2);
  border: .1vw solid #FBB24A;
  border-radius: 5vw;
  padding: .5vw 1vw;
  font-size: 1vw;
  /* font-weight: 600; */
  color: #000000;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: .5vw;
  font-family: 'Poppins';
  /* transition: all 0.3s ease; */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  outline: none;
}

.dropdown-btn:hover {
  background: rgba(245, 197, 66, 0.2);
  box-shadow: 0 4px 12px rgba(245, 197, 66, 0.4);
  transform: translateY(-2px);
}

.dropdown-btn:active {
  transform: translateY(0);
}

.dropdown-btn .arrow {
  font-size: .6vw;
  transition: transform 0.3s ease;
}

.dropdown-btn.active i {
  transform: rotate(180deg);
}
.dropdown-menu a.current-page {
  background: #FBB24A; /* Or your theme color */
  color: #000000;
  font-weight: bold;
  border-radius: 0.5em;
}

.dropdown-menu {
  position: absolute;
  top: 3vw;
  right: 0;
  background: #ffffff;
  border: .5vw solid #f5c542;
  border-radius: 1vw;
  min-width: 10vw;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  width: 100%;
  /* transform: translateY(-10px); */
  /* transition: all 0.3s ease; */
}

.dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  /* transform: translateY(0); */
}

.dropdown-menu a {
  display: block;
  padding: .5vw 1vw;
  color: #333333;
  text-decoration: none;
  font-size: .9vw;
  font-weight: 500;
  /* transition: all 0.2s ease; */
  border-bottom: .3vw solid #f0f0f0;
}

.dropdown-menu a:last-child {
  border-bottom: none;
}

.dropdown-menu a:hover {
  background: rgba(245, 197, 66, 0.2);
  color: #000000;
  padding-left: 25px;
}

.dropdown-menu a.current-page {
  background: rgba(245, 197, 66, 0.3);
  font-weight: 700;
  border-left: .5vw solid #f5c542;
}


/* Products Grid Layout - 4 columns in one row */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  width: 100%;
  max-width: 1600px;
  padding: 20px;
  align-items: center;
}

/* Container Products Card - Exact match to image */
.container-products {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 40px 30px;
  background: #ffffff;
  border: 4px solid #f5c542;
  border-radius: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 500px;
  overflow: hidden;
}

.container-products:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(245, 197, 66, 0.3);
}

.container-products img {
  position: relative;
  width: 220px;
  height: 180px;
  object-fit: contain;
  margin-bottom: 25px;
  flex-shrink: 0;
}

.c-product-title {
  font-size: 28px;
  font-weight: 700;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
  width: 100%;
}

.c-product-description {
  font-size: 18px;
  font-weight: 400;
  color: #333333;
  text-align: left;
  line-height: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 8px;
}

.c-product-description br {
  display: block;
  content: "";
  margin-top: 4px;
}

/* UI Elements */
/* h2 {
  display: none;
} */

.dark-overlay {
  display: none;
}

.media-player {
  display: none;
}
/* 
iframe {
  display: none;
} */

a {
  color: #333;
  text-decoration: none;
  cursor: pointer;
  /* transition: all ease 0.25s; */
}

.nav-wrapper {
  position: fixed;
  bottom: 2vw;
  right: 2vw;
  z-index: 999;
  font-size: 2vw;
  font-family: courier, mono;
  display: flex;
  gap: 1vw;
}

.nav-wrapper a.disabled {
  opacity: 0.3;
  pointer-events: none;
  cursor: not-allowed;
}

.nav-wrapper a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3vw;
  height: 3vw;
  border-radius: 50%;
  text-align: center;
  /* background: #FBBB62; */
  background: #3a3939; 
  border: .2vw solid #000000;
  cursor: pointer;
  user-select: none;
  color: #eeeeee;
}

.nav-wrapper a:hover:not(.disabled) {
  background: rgba(56, 50, 37, 0.4);
  border-color: #252522;
  /* transform: scale(1.1); */
}

.nav-wrapper a:active:not(.disabled) {
  /* transform: scale(0.95); */
}

/* Counter Display Input Styling */
span.counter-display {
  position: fixed;
  bottom: 2vw;
  right: 10vw;
  z-index: 999;
  font-size: 2vw;
  font-weight: 600;
  font-family: courier, mono;
  background: #E0E0E0;
  padding: .5vw 1vw;
  border-radius: 10vw;
  border: .1vw solid #131313;
  color: #000000;
  display: flex;
  align-items: center;
  gap: 1vw;
}

.current-panel-input {
  /* width: .4vw; */
  background: transparent;
  border: none;
  outline: none;
  font-size: 1vw;
  font-weight: 600;
  font-family: courier, mono;
  color: #000000;
  text-align: center;
  padding: 0;
  cursor: pointer;
  -moz-appearance: textfield;
}

/* Hide number input arrows */
.current-panel-input::-webkit-outer-spin-button,
.current-panel-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.current-panel-input:focus {
  background: rgba(255, 255, 255, 0.3);
  border-radius: .5vw;
  cursor: text;
}

.current-panel-input:hover {
  background: rgba(255, 255, 255, 0.2);
  border-radius: .5vw;
}


/* Responsive Design for Medium Screens (1400px - 1600px) */
@media (max-width: 1600px) {
  .products-grid {
    gap: 35px;
    max-width: 1500px;
  }

  .container-products {
    padding: 35px 25px;
    min-height: 480px;
  }

  .container-products img {
    width: 200px;
    height: 170px;
  }

  .c-product-title {
    font-size: 26px;
    margin-bottom: 18px;
  }

  .c-product-description {
    font-size: 17px;
  }
}

/* Responsive Design for Smaller Screens */
@media (max-width: 1400px) {
  .products-grid {
    gap: 30px;
    max-width: 1300px;
  }

  .container-products {
    padding: 30px 22px;
    min-height: 460px;
  }

  .container-products img {
    width: 190px;
    height: 160px;
  }

  .c-product-title {
    font-size: 24px;
    margin-bottom: 16px;
  }

  .c-product-description {
    font-size: 16px;
  }
}

/* Laptop Screens */
@media (max-width: 1200px) {
  .products-grid {
    gap: 25px;
    max-width: 1150px;
  }

  .container-products {
    padding: 28px 20px;
    min-height: 440px;
  }

  .container-products img {
    width: 180px;
    height: 150px;
  }

  .c-product-title {
    font-size: 22px;
    margin-bottom: 15px;
  }

  .c-product-description {
    font-size: 15px;
  }
}

/* Small Laptops - Switch to 2 columns */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 800px;
  }

  .container-products {
    padding: 35px 28px;
    min-height: 480px;
  }

  .container-products img {
    width: 200px;
    height: 170px;
  }

  .c-product-title {
    font-size: 24px;
  }

  .c-product-description {
    font-size: 16px;
  }
}

/* Tablets - 2 columns */
@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 700px;
  }

  .container-products {
    padding: 30px 25px;
    min-height: 450px;
  }

  .container-products img {
    width: 180px;
    height: 150px;
  }

  .c-product-title {
    font-size: 22px;
  }

  .c-product-description {
    font-size: 15px;
  }
}

/* Mobile - 1 column */
@media (max-width: 600px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 450px;
  }

  .container-products {
    padding: 35px 30px;
    min-height: auto;
  }

  .container-products img {
    width: 200px;
    height: 170px;
  }

  .c-product-title {
    font-size: 26px;
  }

  .c-product-description {
    font-size: 17px;
  }
}

/* Responsive Design for Small Heights */
@media (max-height: 800px) {
  .container-products {
    padding: 30px 25px;
    min-height: 420px;
  }

  .container-products img {
    width: 180px;
    height: 150px;
    margin-bottom: 20px;
  }

  .c-product-title {
    font-size: 24px;
    margin-bottom: 16px;
  }

  .c-product-description {
    font-size: 15px;
    line-height: 1.8;
  }

  .nav-wrapper {
    bottom: 2vw;
    right: 2vw;
  }

  .nav-wrapper a {
    width: 3vw;
    height: 3vw;
    font-size: 2vw;
  }

  span.counter-display {
    bottom: 2vw;
    right: 10vw;
    font-size: 1vw;
    padding: .5vw 1vw;
  }
}

/* Very Small Heights */
@media (max-height: 700px) {
  .products-grid {
    gap: 20px;
  }

  .container-products {
    padding: 25px 20px;
    min-height: 380px;
  }

  .container-products img {
    width: 160px;
    height: 135px;
    margin-bottom: 15px;
  }

  .c-product-title {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .c-product-description {
    font-size: 14px;
    line-height: 1.7;
  }
}



.hide-ui {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}




section {
    height: 100vh;
    width: 100%;
    /* background-color: antiquewhite; */
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2vw;
}

.sec-1 h2 {
    /* position: absolute; */
    font-size: 2vw;
    text-align: center;
    width: 100%;
    font-weight: bold;
    font-family: 'montserrat', sans-serif;
}

.grid-container {
    width: 85%;
    /* position: absolute; */
    top: 25%;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    height: 60%;
}

.grid-container .grid_item {
    background: linear-gradient(0deg, rgba(251, 178, 74, 0.1), rgba(251, 178, 74, 0.1)), #FFFFFF;
    border: 2px solid #FBB24A;
    box-shadow: inset 0px 0px 20px #FBB24A;
    display: flex;
    justify-content: center;
    align-items: center;

}

.grid-container .grid_item:nth-child(even) {

    background: #FBB24A;
    border: 2px solid #FBB24A;
}

.grid-container .grid_item:nth-child(n + 7):nth-child(-n + 12):nth-child(odd),
.grid-container .grid_item:nth-child(n + 19):nth-child(-n + 24):nth-child(odd),
.grid-container .grid_item:nth-child(n + 31):nth-child(-n + 36):nth-child(odd),
.grid-container .grid_item:nth-child(n + 43):nth-child(-n + 48):nth-child(odd) {
    background: #FBB24A;
    border: 2px solid #FBB24A;
}

.grid-container .grid_item:nth-child(n + 7):nth-child(-n + 12):nth-child(even),
.grid-container .grid_item:nth-child(n + 19):nth-child(-n + 24):nth-child(even),
.grid-container .grid_item:nth-child(n + 31):nth-child(-n + 36):nth-child(even),
.grid-container .grid_item:nth-child(n + 43):nth-child(-n + 48):nth-child(even) {
    background: linear-gradient(0deg, rgba(251, 178, 74, 0.1), rgba(251, 178, 74, 0.1)), #FFFFFF;
}

.grid_item p {
    font-size: 1.7vw;
    font-weight: bold;
    color: #FBB24A;
    text-align: center;
}

.grid_item img {
    height: auto;
    width: 90%;
    object-fit: cover;
}

@keyframes dottedReveal {
  0% {
    mask-size: 100% 0%;
  }
  100% {
    mask-size: 100% 100%;
  }
}

.dotted-reveal {
  mask-image: linear-gradient(to bottom, black 0%, black 100%);
  mask-size: 100% 0%;
  mask-repeat: no-repeat;
  animation: dottedReveal 2s ease-out forwards;
}
