/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
  color: #1a1a1a;
  line-height: 1.6;
}

/* Navigation */
nav {
  background: rgba(25, 42, 86, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 2000;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

.hamburger {
  display: none;
  font-size: 2rem;
  color: #ffd700;
  position: absolute;
  top: 1rem;
  right: 1rem;
  cursor: pointer;
  z-index: 2001;
}

#nav-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  gap: 2rem;
}

#nav-menu li {
  position: relative;
}

#nav-menu a {
  color: #ffd700;
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  transition: 0.3s ease;
}

#nav-menu a:hover {
  background: rgba(255, 215, 0, 0.2);
}

/* Dropdown Menu */
.dropdown-menu {
  display: none;
  position: absolute;
  background: rgba(25, 42, 86, 0.95);
  backdrop-filter: blur(10px);
  top: 100%;
  left: 0;
  min-width: 180px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.dropdown-menu li:last-child {
  border-bottom: none;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(25,42,86,0.7), rgba(0,123,255,0.6)), url('images/school_banner.jpg') no-repeat center top;
  background-size: cover;
  color: #fff;
  text-align: center;
  padding: 6rem 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.hero h1 span {
  color: #ffd700;
}

.hero p {
  font-size: 1.4rem;
  margin-bottom: 2.5rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.hero .buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  padding: 0.8rem 1.8rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  background: linear-gradient(135deg, #ffd700, #ff8c00);
  color: #1a1a1a;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #ff8c00, #ffd700);
  color: #fff;
}

/* Features Section */
.features {
  background: linear-gradient(135deg, #c3cfe2, #e5e5e5);
  padding: 5rem 2rem;
  text-align: center;
}

.features h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #1a1a1a;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
  padding: 2rem 1.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.feature-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #004080;
}

/* Gallery Section */
.gallery {
  padding: 5rem 2rem;
  text-align: center;
}

.gallery h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #004080;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, #004080, #1a42aa);
  color: #fff;
  padding: 5rem 2rem;
  text-align: center;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.cta .btn {
  font-size: 1.2rem;
  padding: 1rem 2rem;
  background: #ffd700;
  color: #004080;
}

/* Footer */
footer {
  background: #1a1a1a;
  color: #ccc;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.95rem;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .cta h2,
  .features h2,
  .gallery h2 {
    font-size: 2rem;
  }

  .hamburger {
    display: block;
  }

  #nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(25, 42, 86, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    z-index: 1500;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
  }

  #nav-menu.show {
    display: flex;
  }

  #nav-menu li {
    text-align: center;
    width: 100%;
  }

  .hero .buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .btn {
    width: 80%;
  }
}
