body {
  margin: 0;
  font-family: Arial, sans-serif;
}

.hero {
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center; 
  align-items: center; 
  position: relative;
  overflow: hidden;
  color: #fff;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1;
  transition: opacity 1s ease-in-out; /* smooth fade */
  z-index: -1;
  background-image: var(--bg);
}

h1, p {
  margin: 0;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1s ease, transform 1s ease;
}

p {
  font-size: 2rem;
  margin-top: 1rem;
}

.hero.fade h1,
.hero.fade p {
  opacity: 0;
  transform: translateY(20px);
}
.content-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 50px;
  gap: 40px;
  background: #fff;
  color: #333;
}

.content-image img {
  width: 750px;;
  max-width: 100%;
  height: 400px;
  display: block;
  border-radius: 10px;
}

.content-text {
  flex: 1;
  min-width: 250px;
}

.content-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  font-style:calc();
}

.content-text p {
  font-size: 1.2rem;
  line-height: 1.6;
}
.content-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 50px;
  gap: 40px;
  background: #fff;
  color: #333;
}

.content-image img {
  width: 750px;
  max-width: 100%;
  height: 400px;
  display: block;
  border-radius: 2%;
}

.content-text {
  flex: 1;
  min-width: 250px;
}

.content-text h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  font-style:calc();
}

.content-text p {
  font-size: 1.2rem;
  line-height: 1.6;
}
.content-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 50px;
  gap: 40px;
  background: #fff;
  color: #333;
}

.content-image img {
  width: auto;
  max-width: 100%;
  height: 300px;
  display: block;
  border-radius: 10px;
}

.content-text {
  flex: 1;
  min-width: 250px;
}

.content-text h4 {
  font-size: 2rem;
  margin-bottom: 20px;
  font-style:calc();
}

.content-text p {
  font-size: 1.2rem;
  line-height: 1.6;
}
.content-image img {
  width: 800px;
}
.content-image img {
  width: 800px;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  transition: transform 0.5s ease, box-shadow 0.5s ease; /* 👈 smooth effect */
}

.content-image img:hover {
  transform: scale(1.05); /* 👈 zoom slightly */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); /* 👈 add a shadow */
}
.content-image img:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}
.content-imag img {
  width: 800px;
  height: 750px;
}
.content-imag img {
  width: 800px;
  max-width: 100%;
  height: 750px;
  display: block;
  border-radius: 10px;
  transition: transform 0.5s ease, box-shadow 0.5s ease; /* 👈 smooth effect */
}

.content-imag img:hover {
  transform: scale(1.05); /* 👈 zoom slightly */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); /* 👈 add a shadow */
}
.content-imag img:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}
body {
  margin: 0;
  font-family: Arial, sans-serif;
}

.back-link {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

#hero-title {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 40px;
}

.title-subtitle-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.title-text {
  flex: 1;
  font-size: 2rem;
  font-weight: bold;
  text-align: left;
}

.subtitle-text {
  flex: 2;
  font-size: 1rem;
  line-height: 1.6;
  text-align: right;
  max-width: 600px;
}

/* Image grid */
.image-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1; /* Makes squares */
  overflow: hidden;
  cursor: pointer;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures all images fill evenly */
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 10px;
}

.image-container:hover img {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

@media (max-width: 900px) {
  .title-subtitle-row {
    flex-direction: column;
    text-align: right;
  }
  .subtitle-text {
    text-align: left;
  }
  .image-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .image-row {
    grid-template-columns: 1fr;
  }
}
    body {
      margin: 0;
      font-family: Arial, sans-serif;
    }

    .back-link {
      max-width: 1200px;
      margin: 0 auto;
      padding: 40px 20px;
    }

    #hero-title {
      text-align: center;
      font-size: 1.5rem;
      margin-bottom: 40px;
    }

    .title-subtitle-row {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 40px;
      margin-bottom: 60px;
      flex-wrap: wrap;
    }

    .title-text {
      flex: 1;
      font-size: 2rem;
      font-weight: bold;
      text-align: left;
    }

    .subtitle-text {
      flex: 2;
      font-size: 1rem;
      line-height: 1.6;
      text-align: right;
      max-width: 600px;
    }

    .image-row1 {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      margin-bottom: 40px;
      flex: 1 1 calc(25% - 50px); /* 4 per row with gap */
      flex: 1 1 calc(25% - 50px); /* 4 per row with gap */
    }
    

    /* Shared style for ALL unique containers */
    .image-container1, .image-container2, .image-container3,
    .image-container4, .image-container5, .image-container6,
    .image-container7, .image-container8, .image-container9,
    .image-container10, .image-container11, .image-container12,
    .image-container13, .image-container14, .image-container15,
    .image-container16, .image-container17, .image-container18,
    .image-container19, .image-container20, .image-container21,
    .image-container22, .image-container23, .image-container24,
    .image-container25, .image-container26, .image-container27 {
      position: relative;
      width: 100%;
      aspect-ratio: 1/1;
      overflow: hidden;
    }


    .image-container1 img, .image-container2 img, .image-container3 img,
    .image-container4 img, .image-container5 img, .image-container6 img,
    .image-container7 img, .image-container8 img, .image-container9 img,
    .image-container10 img, .image-container11 img, .image-container12 img,
    .image-container13 img, .image-container14 img, .image-container15 img,
    .image-container16 img, .image-container17 img, .image-container18 img,
    .image-container19 img, .image-container20 img, .image-container21 img,
    .image-container22 img, .image-container23 img, .image-container24 img,
    .image-container25 img, .image-container26 img, .image-container27 img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      border-radius: 8px;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .image-container1:hover img, .image-container2:hover img, .image-container3:hover img,
    .image-container4:hover img, .image-container5:hover img, .image-container6:hover img,
    .image-container7:hover img, .image-container8:hover img, .image-container9:hover img,
    .image-container10:hover img, .image-container11:hover img, .image-container12:hover img,
    .image-container13:hover img, .image-container14:hover img, .image-container15:hover img,
    .image-container16:hover img, .image-container17:hover img, .image-container18:hover img,
    .image-container19:hover img, .image-container20:hover img, .image-container21:hover img,
    .image-container22:hover img, .image-container23:hover img, .image-container24:hover img,
    .image-container25:hover img, .image-container26:hover img, .image-container27:hover img {
      transform: scale(1.05);
      box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    }

    /* Responsive */
    @media (max-width: 900px) {
      .title-subtitle-row {
        flex-direction: column;
        text-align: left;
      }
      .subtitle-text {
        text-align: left;
      }
      .image-row {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 600px) {
      .image-row {
        grid-template-columns: 1fr;
      }
    }
    /* Container for each row */
  .image-row2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px; /* Space between images */
  margin-bottom: 50px;
}

/* Container for each image */
.image-container {
  flex: 1 1 calc(25% - 50px); /* 4 per row with gap */
  flex: 1 1 calc(25% - 50px); /* 4 per row with gap */
}

.image-container img {
  width: 100%;
  height: 100%;
}

/* Optional: Click effect style */
.image-container.show-text {
  border: 3px solid #333;
}
/* Row container */
.image-row3 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px; /* Space between images */
  margin-top: 40px;
}

/* Base styling for all image containers */
.image-contain,
.image-contain1,
.image-contain2,
.image-contain3 {
  flex: 1 1 calc(25% - 20px); /* 4 per row with gap */
  max-width: calc(25% - 20px);
  box-sizing: border-box;
  text-align: center; /* Center captions */
}

.image-contain img,
.image-contain1 img,
.image-contain2 img,
.image-contain3 img {
  width: 100%;
  height: 90%;
  display: block;
}

/* Captions */
.caption-title {
  font-weight: bold;
  margin-top: 10px;
}

.caption-subtitle {
  color: #666;
  font-size: 0.9em;
}
.image-contain1 img {
  width: 100%;

}
/* Hover effect for each container */
.image-contain:hover img,
.image-contain1:hover img,
.image-contain2:hover img,
.image-contain3:hover img {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

/* Smooth transition for the effect */
.image-contain img,
.image-contain1 img,
.image-contain2 img,
.image-contain3 img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
body {
  margin: 0;
  padding: 0;
  font-family: serif;


}

.quote-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh; /* Full screen height */
  text-align: center;
}

.quote-text {
  font-size: 2rem;
  font-weight: normal;
  margin: 0 0 10px;
}

.quote-author {
  font-size: 0.9rem;
  letter-spacing: 1px;
  color: gray;
}

.up-arrow {
  margin-top: 40px;
  font-size: 2rem;
  animation: bounce-up 2s infinite;
  cursor: pointer;
}

/* Bounce animation for up arrow */
@keyframes bounce-up {
  0%, 100% { transform: translateY(0);}
  50% { transform: translateY(-10px);}
}
footer {
  width: 100%;
  text-align: center;
  margin-top: 50px;
}

.footer-line {
  border-top: 1px solid #ccc; /* thin grey line */
  width: 100%;
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 100px;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

.footer-left {
  text-align: left;
}

.footer-left a {
  color: #333;
  text-decoration: none;
  margin-right: 10px;
}

.footer-left a:hover {
  text-decoration: underline;
}

.footer-center {
  text-align: center;
  flex: 1;
  color: #777;
  justify-items: center;
}

.up-arrow {
  font-size: 24px;
  margin: 20px 0;
  cursor: pointer;
  transition: transform 0.3s;
}
.up-arrow:hover {
  transform: translateY(-5px);
}
/* Style for the hamburger icon */
.menu-icon {
  width: 30px;
  height: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  position: fixed; /* Stays on screen */
  top: 20px;
  right: 20px;
  z-index: 1001; /* On top */
}

.menu-icon span {
  display: block;
  height: 3px;
  width: 100%;
  background: #000;
  border-radius: 2px;
}

/* Hidden nav menu */
.nav-menu {
  position: fixed;
  top: 0;
  right: -250px; /* Start off-screen */
  width: 250px;
  height: 100%;
  background: white;
  box-shadow: -2px 0 5px rgba(0,0,0,0.2);
  transition: right 0.3s ease;
  z-index: 1000;
}

.nav-menu ul {
  list-style: none;
  padding: 50px 20px;
}

.nav-menu li {
  margin: 20px 0;
}

.nav-menu a {
  text-decoration: none;
  color: #000;
  font-size: 18px;
}

/* Show menu when active */
.nav-menu.active {
  right: 0;
}
