/* Hero section  */

.hero-section {
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: brightness(0.5);
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* left right image text section code */

.child-1 {
  display: flex;
  gap: 50px;
}

.left-section {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.right-section {
  width: 50%;
  display: flex;
  align-items: center;
}

.right-section img {
  width: 100%;
  border-radius: 20px;
  height: 75%;
  object-fit: cover;
}

.text-align-center h3,
.text-align-center h6 {
  text-align: center;
}

/* image expdaed code  */

.image-container {
  display: flex;
  justify-content: space-between;
  /* flex-wrap: wrap; */
  gap: 5px;
  /* transition: all 0.5s ease; */
}

.image-item {
  width: 13%;
  position: relative;
  cursor: pointer;
  transition: all 0.5s ease;
  overflow: hidden;
  height: 500px;
  /* opacity: 0; */
}

.image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.image-item.visible {
  opacity: 1;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  opacity: 0;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease;
}

.overlay h6,
.overlay p {
  margin: 10px 0;
}
.text-center{
  text-align: center;
}
/* Expanded image item */

.image-item.expanded {
  width: 30%;
  z-index: 2;
}

.image-item.expanded .overlay {
  opacity: 1;
}

/* Mobile student council  */

.mobile-image-overlay-section {
  display: none;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.mobile-image-container {
  position: relative;
  width: 30%;
}

.mobile-image {
  width: 100%;
  height: auto;
  filter: brightness(0.4);
  transition: filter 0.3s ease;
}

.mobile-text {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 2;
}

h6,
p {
  margin: 0;
}

/* gallery and events  */

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
}

.gallery-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  overflow: hidden;
}

.gallery-column {
  flex: 1;
  gap: 10px;
  display: flex;
  /* justify-content: space-between; */
  flex-direction: column;
  overflow: hidden;
}

.gallery-image {
  opacity: 0;
  transition: all 1s ease-in-out;
  position: relative;
  z-index: 1;
}

.gallery-image:hover {
  transform: scale(1.1);
  z-index: 2;
}

.gallery-horizontal {
  width: 100%;
  height: 325px;
  object-fit: cover;
}

.gallery-square {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-vertical {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#image10 {
  height: 287px;
}
/* .border-img {
  border-top-left-radius: 50px;
} */

/* Responsive adjustments */

@media (max-width: 1200px) {
  .right-section img {
    height: 90%;
  }

  .mobile-image-container {
    width: 45%;
  }
}

@media (max-width: 768px) {
  .child-1 {
    flex-direction: column-reverse;
  }

  .left-section,
  .right-section {
    width: 100%;
  }

  .mobile-image-overlay-section {
    display: flex;
  }

  .student-council-section {
    display: none;
  }
}

@media (max-width: 556px) {
  /* mobile section  */

  .mobile-image-container {
    width: 100%;
  }

  .mobile-image-overlay-section {
    justify-content: center;
  }

  /* gallery  */

  .gallery-column {
    flex: 100%;
  }
}
