body{
  margin:0;
  font-family:Arial, sans-serif;
  background:#f5f7fb;
}

/* ===== HEADER ===== */
header{
  background:linear-gradient(90deg,#003366,#0055aa);
  color:white;
  padding:20px 30px;

  display:flex;
  justify-content:space-between;
  align-items:flex-start;
}

/* School name */
header h1{
  margin:0;
  font-size:30px;
  letter-spacing:1px;
}

header h4{
  margin:0;
  font-size:10px;
  letter-spacing:1px;
}

/* Contact info */
.header-info{
  text-align:right;
  font-size:13px;
  line-height:1.6;
  opacity:0.95;
}

/* ===== NAV ===== */
nav{
  background:white;
  padding:12px 25px;

  display:flex;
  gap:20px;
  flex-wrap:wrap;

  border-bottom:2px solid #ddd;
}

nav a{
  color:#003366;
  text-decoration:none;
  font-weight:600;
  padding:6px 10px;
  border-radius:5px;
  transition:0.3s;
}

nav a:hover{
  background:#003366;
  color:white;
}
/*
/* ===== HERO ===== 
.hero{
  padding:40px 20px;
  text-align:center;
  background:linear-gradient(to right,#e3f2fd,#ffffff);
}

.hero h2{
  font-size:28px;
  color:#003366;
  margin-bottom:10x;
}

.hero p{
  font-size:16px;
  color:#444;
}
*/
/* ===== SECTIONS ===== */
section{
  padding:20px;
  background:white;
  margin:15px;
  border-radius:10px;
  box-shadow:0 2px 8px rgba(0,0,0,0.05);
}

/* ===== FOOTER ===== */
footer{
  background:#111;
  color:white;
  text-align:center;
  padding:15px;
  margin-top:20px;
}
/*
.hero{
  position:relative;
  text-align:center;
  color:white;
}

.hero-img{
  width:100%;
  max-height:450px;
  object-fit:cover;
  display:block;
}
/*
.hero h2,
.hero p{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  color:darkblue;
}

.hero h2{
  top:120px;
  background:rgba(0,0,0,0.4);
  padding:8px 15px;
  border-radius:6px;
}
/*
.hero h2{
  top:120px;
  font-size:32px;
}
  */
/*
.hero p{
  top:170px;
}


.hero p{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  z-index:1;
  color:#003366; /* safest choice 
}

/*
.gallery{
  padding:30px;
  background:#fff;
  text-align:center;
}

.gallery h2{
  color:#003366;
  margin-bottom:20px;
}

/*
/* Hover effect 
.gallery-grid img:hover{
  transform:scale(1.05);
} 


.hero::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100% ;
}
*/

.page{
  display:none;
  padding:20px;
}

.page.active{
  display:block;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  padding: 10px;
}

.gallery img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  transition: 0.3s;
}

.gallery img:hover {
  transform: scale(1.05);
}

.card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.card h2 {
  margin: 10px 0 5px;
  font-size: 18px;
  color: #003366;
}

.card p {
  margin: 0 0 10px;
  color: #555;
  font-size: 14px;
}

.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
  padding: 20px;
}

.navbar {
  display: flex;
  align-items: center;
  background:white;
  padding: 10px 20px;
  position: relative;
  gap:15px
  z-index: 1000;
  
}

.menu {
  display: flex;
  gap: 15px;
}

.menu a{
  text-decoration: none;
  color: #003366;
  font-weight: 600;
}

/* hamburger hidden on desktop */
.hamburger {
  font-size: 28px;
  cursor:pointer;
}

/* MOBILE VIEW */
@media (max-width: 768px) {

.hamburger{
  display:block;
}

  .menu {
    display: none;
    position: absolute;
    top: 60px;
    left: 10px;
    z-index: 1001;

   
    flex-direction: column;
    background: white;
    width: 200px;
    /* padding: 10px; */

    border-radius: 8px;
    box-shadow:0 5px 15px rgba(0,0,0,0.2);
    

    /* animation setup*/
    max-height: 0;
    opacity: 0;
    overflow:hidden;
    transform: translateY(-10px);
    transition: all 0.35s ease;

    /*
    display: none;
    position: absolute;
    top: 60px;
    right: 10px;
      */
    
    
    
   
  }

  .menu.active {
    max-height: 500px;
    opacity: 1;
    display:flex;
    transform: translateY(0);

  }
  .menu a{
    padding:10px;
    border-bottom:1px solid #eee;
  }
  /*
  .hamburger {
    display: block;
  } */

}



.contact-page{
  display:flex;
  gap:20px;
  padding:30px;
  flex-wrap:wrap;
}

.contact-box{
  flex:1;
  min-width:300px;
  background:white;
  padding:25px;
  border-radius:10px;
  box-shadow:0 0 10px rgba(0,0,0,0.1);
}

.contact-box h2{
  color:#003366;
}

.contact-box input,
.contact-box textarea{
  width:100%;
  padding:12px;
  margin:10px 0;
  border:1px solid #ccc;
  border-radius:5px;
}

.contact-box textarea{
  height:120px;
  resize:none;
}

.contact-box button{
  background:#003366;
  color:white;
  border:none;
  padding:12px 20px;
  cursor:pointer;
  border-radius:5px;
}

.contact-box button:hover{
  background:#0055a5;
}

.hero{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:20px;
}

.hero-left,
.hero-text,
.hero-right{
  flex:1;
  text-align:center;
}

.hero-img{
  width:100%;
  max-width:250px;
  height:auto;
  border-radius:10px;
}

.hero-text h2{
  margin-bottom:10px;
}

.hero-right p{
  margin-top:8px;
  font-weight:bold;
}