@import url("https://fonts.googleapis.com/css2?family=Abel&family=Abhaya+Libre&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: all 0.2s linear;
  font-family: "Abhaya Libre", serif;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

/* Topbar */
.topbar {
  background: #004d26;
  color: #fff;
  font-size: 14px;
  font-family: "Abel", sans-serif;
}

/* Hero Section */
.hero {
  position: relative;
  background: url("./images/Girl-School.png") no-repeat center top/cover;
  min-height: 100vh;
  color: #fff;
  display: flex;
  flex-direction: column;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(25, 135, 84, 0.6), rgba(0, 0, 0, 0.4));
  z-index: 0;
}

.hero nav,
.hero .hero-content {
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  text-align: start;
  padding: 0 15px;
}

.hero-content h1 {
  font-weight: 700;
  font-size: 60px;
  line-height: 110%;
  color: #f2f1da;
  word-spacing: 10px;
}

.hero-content p {
  font-family: "Abel", sans-serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.4;
  color: #f2f1da;
}

/* Section headers */
.section-header {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.section-header::after {
  content: "";
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, #4bba5b, #f2c94c);
  display: block;
  margin: 12px auto 0;
  border-radius: 3px;
}

/* Statistics Section */
.statistics-section {
  font-family: "Abhaya Libre", serif;
  color: white;
  padding: 30px 20px;
  border-radius: 12px;
  text-align: center;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 1.5rem;
}

.stat-item {
  flex: 0 0 auto;
  margin: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}
.stat-item h2 {
  font-size: 2.5rem;
  margin: 0;
}
.stat-item p {
  font-size: 1.2rem;
  margin: 0;
}

.divider {
  height: 60px;
  width: 2px;
  background-color: white;
}

/* Buttons - back to clean & professional */
.btn-success {
  background-color: #4bba5b !important;
  border: none !important;
  color: #fff !important;
  padding: 0.45rem 1rem;
  border-radius: 6px;
  font-family: "Abel", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}
.btn-success:hover {
  background-color: #3ca84b !important;
  box-shadow: 0 4px 12px rgba(75, 186, 91, 0.3);
  transform: translateY(-1px);
}

/* Contact Section */
.contact-icon {
  font-size: 2rem;
  background: #198754;
  color: white;
  padding: 15px;
  border-radius: 50%;
  margin-bottom: 10px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: background 0.3s ease;
  width: 60px;
  height: 60px;
  border-radius: 50%;
}
.contact-icon:hover {
  background: #157347;
}

/* Footer */
.footer {
  background: #004d26;
  color: #eee;
  padding: 2rem 0;
  font-family: "Abel", sans-serif;
}
.footer h5 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: #f2f1da;
}
.footer a {
  color: #bbb;
  text-decoration: none;
}
.footer a:hover {
  color: #4bba5b;
  text-decoration: underline;
}
.footer .fa {
  font-size: 1.3rem;
  margin-right: 10px;
}
.footer .fa:hover {
  color: #4bba5b;
}

/* Scroll animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 600px) {
  .hero-content {
    padding: 40% 5%;
    line-height: 40px;
  }

  .hero-content h1 {
    font-family: "Abhaya Libre";
    font-style: normal;
    font-weight: 500;
    font-size: 40px;
    line-height: 65%;
    color: #f2f1da;
    word-spacing: 12px;
  }

  .hero-content p {
    font-family: "Abel", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 20px;
    color: #f2f1da;
  }
}

@media (max-width: 1200px) {
  .stat-item h2 {
    font-size: 2rem;
  }
  .stat-item p {
    font-size: 1.2rem;
  }
}
@media (max-width: 992px) {
  .stat-item h2 {
    font-size: 1.75rem;
  }
  .stat-item p {
    font-size: 1rem;
  }
}
@media (max-width: 768px) {
  .stat-item h2 {
    font-size: 1.5rem;
  }
  .stat-item p {
    font-size: 0.9rem;
  }
}
@media (max-width: 576px) {
  .stat-item h2 {
    font-size: 1.25rem;
  }
  .stat-item p {
    font-size: 0.75rem;
  }
}
