* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

/* HEADER */
.header {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 15px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 120px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.school-name {
  font-size: 22px;
  font-weight: 600;
  color: #1e7f4f;
}

.school-motto {
  font-size: 12px;
  color: #777;
  letter-spacing: 0.5px;
}

/* NAVIGATION */
nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  position: relative;
}

nav ul li a {
  text-decoration: none;
  padding: 10px 15px;
  color: #333;
  font-weight: 500;
}

nav ul li a:hover {
  color: #1e7f4f;
}

/* DROPDOWN */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  background: white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  min-width: 180px;
}

.dropdown-menu a {
  padding: 10px;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* MOBILE MENU */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* HERO SLIDER */
.hero {
  height: 70vh;
  position: relative;
  overflow: hidden;
}

.slides {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slides.active {
  opacity: 1;
}

.hero-text {
  position: absolute;
  bottom: 20%;
  left: 10%;
  color: white;
  background: rgba(0,0,0,0.45);
  padding: 20px;
  border-radius: 10px;
}

.hero-text h1 {
  font-size: 40px;
}

.hero-text p {
  font-size: 18px;
}

/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 50px;
  background: #f7f9fb;
}

.card {
  background: white;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-8px);
}

.card h3 {
  color: #1e7f4f;
  margin-bottom: 10px;
}

/* FOOTER */
.footer {
  background: #1e7f4f;
  color: white;
  text-align: center;
  padding: 15px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  nav {
    display: none;
    width: 100%;
  }

  nav ul {
    flex-direction: column;
  }

  .menu-toggle {
    display: block;
  }

  .logo img {
    height: 38px;
  }

  .school-name {
    font-size: 18px;
  }

  .school-motto {
    font-size: 11px;
  }

  .hero-text h1 {
    font-size: 26px;
  }
}
