html, body {
  background-color: #8f8f8f;
}

.galleryX {
  margin: auto;
  width: 90%;
  max-width: 1920px;
}

.galleryX p {
  width: 85%;
}

.galleryX p,
.slide-detail-item-l h3 {
  margin: 60px auto 40px auto;
}

.slide-container {
  position: relative;
  width: 100%;
  aspect-ratio: 32 / 9;
  overflow: hidden;
}

.slide-container img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-container {
  width: 100%;
  max-width: 978px;
  margin: auto;
  display: block;
  aspect-ratio: 16 / 9;
  max-height: 550px;
  border: none;
  box-shadow: none;
}
/* 16/9 project images */
.image-container img {
  width: 100%;
  transition: transform 0.3s ease;
  margin-top: 20px;

  max-height: 550px;
  object-fit: contain;
}

.image-container:hover img {
  transform: scale(1.01);
}


.dl-badge {
  height: 42px;
  width: auto;
  margin-top: 10px;
}
 /* Details Section */
.details,
.slide-text {
  display: flex;
  justify-content: space-between;
  margin: 20px auto 80px auto;
  gap: 10px;

  width: 81%;
  max-width: 1800px;

}

.slide-text div,
.details div {
  text-align: left;
  font-size: 1rem;
  line-height: 1.5;
}

.detail-item-l {
  flex: 0 0 45%;
}

.detail-item-r {
  flex: 0 0 55%;
}


.slide-detail-item-l {
  flex: 0 0 20%;
}


.slide-detail-item-l h3 {
  text-align: center;
}
.slide-detail-item-r {
  flex: 0 0 80%;
}


/* Content Sections */
section {
  margin-bottom: 40px;
}

section h3 {
  font-size: 2.5rem;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 20px;
}

section p {
  font-size: 1rem;
  line-height: 1.8;
}

section img {
  width: 100%;
  margin-top: 20px;
}

.scrolling-active {
	background-color: #8f8f8f;
	backdrop-filter: blur(10px);
}

.sample-header-section {
  height: 72vh;
}


@media (max-width: 800px) {

  .image-container img {
    display: block;
      margin-top: 10px;
      
  }

	h1 {
		font-size: 1.6em;
	}

  .sample-header-section {
    height: 66vh;
  }
  
  .slide-text {
    width: 95%;
  }

  .galleryX p,
  .slide-detail-item-l h3 {
    margin: 20px auto 30px auto;
  }


  .details {
      flex-direction: column;
      gap: 20px;
  }

}
  