/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { line-height: 1.6; background: #f8f9fc; color: #333; }
.container { width: 85%; margin: auto; overflow: hidden; padding: 20px 0; }

/* Visually hidden H1 (SEO) */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* DESKTOP HEADER */
.desktop-header {
  display:flex;
  flex-direction: row;
  height:10em;
  display: block !important;
  background: url("images/header.jpg") no-repeat center center/cover;
  
  color: #fff;
  text-align: center;
  padding: 60px 0;
  border-radius: 0 0 30px 30px;
  position: relative;
  overflow: hidden;
}
.desktop-header::before {
  content: "";
  position: absolute; inset: 0;
  backdrop-filter: brightness(1.1) saturate(1.2);
  border-radius: 0 0 30px 30px;
  z-index: 0;
}
.desktop-header .container { position: relative; z-index: 1; }

/* MOBILE HEADER */
.custom-header {
  display: none !important;
  position: relative;
  background: linear-gradient(135deg, #005ab4, #014b96d2);
  height: 250px;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  color: #fff;
  border-radius: 0 0 30px 30px;
}
.custom-header::before {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,0.05), rgba(255,255,255,0.05) 12px, transparent 12px, transparent 24px);
  z-index: 0;
}
.circles { position: absolute; top: 20px; left: 20px; display: flex; gap: 12px; z-index: 2; }
.circles span { width: 0.5em; height: 0.5em; background: #ffffff; border-radius: 50%; display: block; }
.frame { position: absolute; border: 3px solid rgba(255, 255, 255, 0.219); z-index: 1; }
.frame-left { top: 50px; left: 12px; width: 7em; height: 5em; }
.frame-right { bottom: 40px; right: 16px; width: 7em; height: 7em; }
.header-text { position: relative; z-index: 3; text-align: center; padding: 0 10px; }
.header-text h1 { font-size: 2.5rem; line-height: 1.3; font-weight: bold; }
.header-text .highlight { color: #8efc6d;}
.header-text small { display: block; margin-top: 8px; font-size: 1.2rem; }

/* Section Titles */
h2 {
  background-color: #e9f3ff;
  text-align: center;
  margin-bottom: 15px;
  color: #0077b6;
  border-radius: 2em;
  padding: 10px 16px;
  font-size: 1.6rem;
}

/* About */
.about p {
  text-align: center;
  max-width: 90%;
  margin: auto;
  font-size: 1.1rem;
  background: rgba(255,255,255,0.8);
  padding: 15px;
  border-radius: 15px;
}

/* Exams */
.exam-container { display: flex; justify-content: center; gap: 25px; flex-wrap: wrap; margin-top: 20px; }
.exam { flex: 1 1 250px; max-width: 300px; }
.dropdown-btn {
  background: #0077b6; color: #fff; border: none;
  padding: 12px 20px; border-radius: 12px; font-size: 1rem; font-weight: bold;
  width: 100%; cursor: pointer;
}
.dropdown-btn:hover { background: #005f86; }
.dropdown-content {
  max-height: 0; overflow: hidden; opacity: 0;
  margin-top: 12px; background: #fff; padding: 0 18px; border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12); font-size: 1rem;
  width: 100%; max-width: 600px; margin-left: auto; margin-right: auto;
  transition: max-height 0.5s ease, opacity 0.5s ease, padding 0.3s ease;
}
.dropdown-content.show { max-height: 500px; opacity: 1; padding: 18px; border: 2px solid #0077b6; }

/* Teachers */
.teacher-list {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 90%;
  margin: auto;
}
.teacher-info {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1 1 300px;
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.teacher-info:hover { transform: translateY(-5px); }
.teacher-info img {
  width: 120px; height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #0077b6;
}
.teacher-info h3 { margin-bottom: 6px; color: #0077b6; }

/* Achievements */
.achievement-list {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 90%;
  margin: auto;
  align-items: center;
}
.achievement-info {
  min-width: 60%;
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1 1 300px;
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.achievement-info:hover { transform: translateY(-5px); }
.achievement-info img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 2%;
  border: 3px solid gold;
}
.achievement-info h3 { margin-bottom: 6px; color: #0077b6; }

/* Contact */
.contact {
  background: #f8fbff;
  padding: 50px 20px;
  border-radius: 30px;
  margin-top: 30px;
}
.contact h2 { margin-bottom: 30px; }
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  text-align: center;
}
.contact-card {
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}
.contact-card .icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 10px;
}
.contact-card a {
  color: #0077b6;
  text-decoration: none;
  font-weight: bold;
}
.contact-card a:hover { text-decoration: underline; }

/* Footer */
footer {
  background: #313131;
  color: #fff;
  text-align: center;
  padding: 15px 0;
  margin-top: 30px;
  border-radius: 20px 20px 0 0;
}

/* Responsive */
@media (max-width: 768px) {
  .desktop-header { display: none !important; }
  .custom-header { display: flex !important; height: 6em; }
  .circles { top: 10px; left: 10px; }
  .header-text h1 { font-size: 1rem; }
  .header-text small { font-size: 0.8rem; }
  h2 { font-size: 1.3em; }
  .contact-cards { grid-template-columns: 1fr; }
  .teacher-list { flex-direction: column; align-items: center; width: 90%; }
  .teacher-info { flex-direction: column; text-align: center; width: 90%; }
  .achievement-list { flex-direction: column; align-items: center; width: 90%; }
  .achievement-info { flex-direction: column; text-align: center; width: 90%;}
}
@media (max-width:1400px) and (min-width:1000px){
  *{
    font-size: 0.97em;
  }
}
@media (max-width:400px){
  *{
    font-size:0.9em;
  }
}
.logo-container{
  margin-top:-2.6em;
  margin-left: 1em;
  background-color: white;
  height:170%;
  width:13em;
  border: 2px solid white;
  border-radius: 20%;
}

#bunty:hover{
  border:10px double yellow;
}