/* --- Variables --- */
:root {
  --nhis-blue: #0a4a8f;
  --nhis-gold: #e8b431;
  --nhis-green: #3a8a5a;
  --text-dark: #333;
  --text-light: #f9f9f9;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* --- Reset & Base --- */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text-dark);
  background: #fafafa;
  line-height: 1.7;
  scroll-behavior: smooth;
}

h1, h2, h3 {
  color: var(--nhis-blue);
  font-weight: 700;
  margin-bottom: 15px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Header --- */
header {
  background: #fff;
  border-bottom: 4px solid var(--nhis-gold);
  box-shadow: var(--shadow);
  padding: 10px 0;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo {
  max-height: 80px;
}

.school-name {
  text-align: right;
}

.school-name h1 {
  font-size: 1.8rem;
  margin: 0;
}

.tagline {
  color: var(--nhis-green);
  font-style: italic;
  margin: 0;
}

/* --- Hero --- */
#hero {
  height: 450px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 20px;
}

.hero-content h1 {
  font-size: 3rem;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 1.2rem;
}

/* --- Sections --- */
section {
  padding: 60px 0;
  text-align: center;
}

#about p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: #444;
}

/* --- Gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.03);
}

figcaption {
  margin-top: 10px;
  font-weight: 500;
  color: #555;
}

/* --- Features --- */
.feature-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 15px;
}

.feature-list li {
  background: #fff;
  border-left: 5px solid var(--nhis-green);
  padding: 15px 20px;
  border-radius: 6px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}

.feature-list li:hover {
  transform: translateY(-3px);
}

/* --- Admissions --- */
#admissions {
  background: var(--nhis-gold);
  color: var(--nhis-blue);
  padding: 60px 20px;
}

#admissions h2 {
  font-size: 2.4rem;
}

.cta-button {
  background: var(--nhis-blue);
  color: #fff;
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  margin-top: 20px;
  transition: background 0.3s ease, transform 0.2s;
}

.cta-button:hover {
  background: #083b73;
  transform: translateY(-2px);
}

/* --- Brochures --- */
#brochures iframe {
  width: 100%;
  height: 500px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.brochure-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.download-button {
  background: var(--nhis-green);
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  display: inline-block;
  margin-top: 15px;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.download-button:hover {
  background: #2e6b47;
}

/* --- Footer --- */
footer {
  background: var(--nhis-blue);
  color: #fff;
  padding: 50px 20px;
  text-align: center;
}

footer h2 {
  color: var(--nhis-gold);
}

footer p {
  margin: 8px 0;
}

footer a {
  color: var(--nhis-gold);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

footer .copyright {
  margin-top: 20px;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .school-name {
    text-align: center;
  }

  .logo {
    margin-bottom: 10px;
  }
}
