:root {
}

/* ::-webkit-scrollbar {
  display: none;
} */

/* Add these styles to hide scrollbar */
html {
  scrollbar-width: none; /* For Firefox */
  -ms-overflow-style: none; /* For Internet Explorer and Edge */
}

html::-webkit-scrollbar {
  display: none; /* For Chrome, Safari, and Opera */
}

body {
  overflow-y: scroll; /* Keep scrolling functionality */
  scrollbar-width: none; /* For Firefox */
  -ms-overflow-style: none; /* For Internet Explorer and Edge */
}

body::-webkit-scrollbar {
  display: none; /* For Chrome, Safari, and Opera */
}

.page {
  padding: 15rem 4.8rem 4.8rem 4.8rem;
}

.div-page-title {
}

.page-title {
  font-size: 5rem;
  color: var(--dark-text-color);
}

.div-sub-title {
  margin: 3.2rem 0;
}

.page-sub-title {
  font-size: 5.5rem;
  color: var(--dark-text-color);
  padding-top: 2rem;
}

/* .page-content {
  padding: 3.2rem 3.6rem;
} */

/* Image carousal */
/* 
.div-carousel-overlay {
  position: fixed;
  width: 100vw;
  height: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  overflow: scroll;
}

.carousel-overlay-blur {
  position: fixed;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom right,
    var(--blur-bg-color),
    var(--dull-text-color)
  );
  z-index: -1;
}

.carousel-overlay {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3.2rem;

  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 95vw;
  overflow: scroll;
}

.scroll-arrow {
  font-size: 4.2rem;
}



.btn-close-carousel {
  position: fixed;
  top: 0;
  font-size: 4.2rem;
}

.imgCrousel {
  width: 64rem;
  height: 50rem;
}

.imgC {
  height: 50rem;
  overflow: scroll;
}

.hidden-carousel {
  display: none;
} */

/* ****************************************************************** */
/* Image carousel */
/* ****************************************************************** */

.div-carousel-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.carousel-overlay-blur {
  position: absolute;
  width: 100%;
  height: 100%;
      background: rgba(147, 147, 147, 0.3);
    backdrop-filter: blur(5px);
    z-index: -1;
  z-index: -1;
}

.carousel-overlay {
  display: flex;
  align-items: start;
  gap: 3.2rem;
  z-index: 2;
}

.scroll-arrow {
  font-size: 4.2rem;
  color: white;
  cursor: pointer;
}

.overlay-content {
  display: flex;
  flex-direction: column; /* stack items vertically */
  align-items: center;    /* center horizontally */
  justify-content: center;/* center vertically */
  gap: 2.4rem;
  background-color: rgba(242, 242, 242, 0.5);
  backdrop-filter: blur(10px);        /* blur intensity */
  -webkit-backdrop-filter: blur(10px); /* Safari support */
  max-height: 80vh;
  overflow-y: auto; /* vertical scroll for long content */
  margin: 0 auto;   /* center container itself */
  border-radius: 10px;
}




.btn-close-carousel {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 4.2rem;
  color: white;
  cursor: pointer;
  z-index: 3;
}

.imgC {
  max-height: 70vh;
  object-fit: contain;
  transition: all 0.2s;
}

.hidden-carousel {
  display: none;
}

@media only screen and (max-width: 769px) {
.page-title {
    font-size: 3.5rem;
    margin-left: 1rem;
}
.page-sub-title {
    font-size: 3.5rem;
    color: var(--dark-text-color);
}
}

/* 📱 Phone view */
@media (max-width: 600px) {
  .overlay-content {
    flex-direction: column;  /* stack content */
    max-height: 60vh;        /* reduce height */
    gap: 1.6rem;
    
  }

  .overlay-content img {
    max-width: 100%;  /* full width image */
  }

  .scroll-arrow {
  font-size: 11rem;
  color: white;
  cursor: pointer;
}
}