@import url("/styles/styles.css");




/* History Section */
.history {
  padding: 3rem 2rem;
  background-color: #e6f0ff;
}

.history h2 {
  color: #003366;
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.history p {
  font-size: 1rem;
  line-height: 1.7;
}

/* Footer */
/* footer {
  background-color: var(--jci-blue);
  color: white;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  margin-top: 2rem;
} */

/* Fade-in Animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  :root {
    --section-padding: 2rem 1rem;
  }

  .menu-toggle {
    display: block;
  }

  nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 80%;
    height: calc(100vh - 70px);
    background-color: var(--text-light);
    transition: var(--transition);
    box-shadow: 5px 0 10px rgba(0, 0, 0, 0.1);
  }

  nav.active {
    left: 0;
  }

  nav ul {
    flex-direction: column;
    padding: 1rem;
  }

  nav ul li {
    margin: 0.5rem 0;
  }
}

.about h1,
.history h2 {
  font-size: 1.5rem;
}

.about-content {
  flex-direction: column;
}
section {
  padding: 2rem 5rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),url('images/heroImage.jpg');
  background-size: cover;
  background-position: center;
  height: 100vh;
}
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  color: white;
  text-align: center;
  
}
.hero h1 {
  font-size: 4rem;
  line-height: 1;
  color: white;
  font-weight: bold;
  margin-bottom: 0.5rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.hero p {
  color: white;
  margin-bottom: 3rem;
}
.blue {
  color: #0097D6;
}
.hero button, .cta-section button {
  padding: 0.75rem 5rem;
  font-size: 1.2rem;
  color: #fff;
  background-color: #ffcc00;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.about-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: centre;
  background-color: #ffcc00;
}
.about-section h2 {
  line-height: 1.4;
  font-size: 2rem;
}
.impact-section {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 2rem;
  align-items: flex-start;
}

.impact-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.criteria-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.criteria-img {
  width: 110%;
  height: 100%;
  object-fit: cover;
}
.gallery-section{
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}
.award-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  align-items: center;
}
.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta-section {
  background-color: #0097D6;
  color: white;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: center;
}
.cta-section h2 {
  color: white;
  line-height: 1.2;
  margin-bottom: 2rem;
}
.criteria {
  font-size: 1.5rem;
}
.gallery {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.image-card {
  position: relative;
  width: 150px;
  cursor: pointer;
}
.image-card img {
  width: 100%;
}
.hover-text {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.image-card:hover .hover-text {
  opacity: 1;
}
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.modal-content {
  position: relative;
  width: 90%;
  background-color: #fff;
  padding: 20px;
  border-radius: 12px;
  max-width: 90%;
  text-align: center;
}
.modal-body {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: center;
}
.modal-body img {
  width: 100%;
  margin-bottom: 15px;
}

.close-button {
  position: absolute;
  top: 50px;
  right: 15px;
  font-size: 3rem;
  cursor: pointer;

}

/* NAV BUTTONS */
.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 30px;
  cursor: pointer;
}

.prev {
  left: -40px;
}

.next {
  right: -40px;
}
.prevawardees-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: center;
  background-color: #0097D6;
}
.pictures {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.prevawardees-section h2 {
  font-size: 2rem;
  line-height: 1.4;
  color: white;
}