/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-color: #e1ad4b;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

/* Header */
header h1 {
  margin-top: 20px;
  font-size: 2.5rem;
  color: #333;
}

/* Hero Section */
.hero-section {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 80vh;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.hero-section .content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  width: 90%; /* Added for mobile responsiveness */
}

.hero-section h2 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero-section p {
  font-size: 1.2rem;
}

/* School Info Section */
.school-info {
  padding: 40px 20px;
  background-color: #fff;
  margin-top: -50px;
  max-width: 900px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 99;
}

.school-info h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 20px;
}

.school-info p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #555;
}

.cta-button {
  display: inline-block;
  background-color: #23407e;
  color: white;
  padding: 12px 25px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 1rem;
  transition: all ease 0.3s;
}

.cta-button:hover {
  transition: all ease 0.3s;
  background-color: #0c2d75;
}

/* Footer */
footer {
  margin-top: 40px;
  padding: 20px;
  background-color: #0b2035;
  color: #fff;
  width: 100%;
  text-align: center;
}

footer p {
  font-size: 0.9rem;
}

/* Responsive Design */
/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
  header h1 {
    font-size: 2rem;
  }

  .hero-section {
    height: 60vh; /* Reduce height on smaller screens */
  }

  .hero-section h2 {
    font-size: 2rem; /* Smaller heading for mobile */
  }

  .hero-section p {
    font-size: 1rem;
  }

  .school-info {
    padding: 20px; /* Reduce padding for small screens */
  }

  .school-info h2 {
    font-size: 1.6rem;
  }

  .school-info p {
    font-size: 1rem;
  }

  .cta-button {
    font-size: 0.9rem;
    padding: 10px 20px;
  }
}

/* Very Small Devices (max-width: 480px) */
@media (max-width: 480px) {
  .hero-section h2 {
    font-size: 1.8rem;
  }

  .hero-section p {
    font-size: 0.9rem;
  }

  .cta-button {
    font-size: 0.85rem;
    padding: 8px 16px;
  }
}
