/* 🌐 GLOBAL RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: #f9fafb;
  color: #374151;
  line-height: 1.6;
}

/* 🎯 HERO SECTION */
.hero-section {
  position: relative;
  background: url('/image/background.png') no-repeat center center/cover;
  height: 50vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 1;
}

.content {
  position: relative;
  z-index: 2;
}

.h1 {
  position: relative;
  top: -10px;
  right: 0.7vw;
  width: 100%;
  

  text-align: center;
  font-size: 3rem;
  letter-spacing: 3px;
}

.logo {
  position: relative;
  left: -40px;
  bottom: -10px;
  width: 140px;
  height: 140px;
  border: 4px solid black;
  border-radius: 50%;
  background: white;
  margin: 20px 0;
}

.h2 {
  position: relative;
  bottom: -10px;
  right: 2%;
  text-align: center;
  font-size: 1.8rem;
  letter-spacing: 2px;
  font-weight: 500;
  color: #f2f2f2;
}

.tagline {
  position: relative;
  bottom: -50px;
  font-size: 15px;
  letter-spacing: 4px;
  font-weight: 500;
  color: #f2f2f2;
}

.handwritten {
  font-family: 'Dancing Script', cursive;
  font-size: 22px;
  color: #0A1F44;
}

/* 🧭 NAVIGATION */
nav {
  background: #1E3A8A;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  flex-wrap: wrap;
}

nav h1 {
  font-size: 1.5rem;
  font-weight: 700;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}
nav ul li a:hover {
  color: #FBBF24;
}

/* ✨ HERO CONTENT */
.hero p {
  position: relative;
  bottom: -60px;
  font-family: 'Times New Roman', Times, serif;
  font-size: 1.5rem;
  max-width: 700px;
  margin: auto;
  letter-spacing: 2px;
  line-height: 1.6;
  color: #f0f0f0;
  font-weight: 500;
}

.btn {
  margin-top: 25px;
  padding: 14px 35px;
  border-radius: 30px;
  background: #0C005B;
  color: white;
  font-weight: 600;
  display: inline-block;
  transition: 0.3s;
}
.btn:hover { opacity: 0.9; }

/*BOARD SECTION */
.board {
  padding: 48px 0;
  background: #0C005B;
}

.slider {
  position: relative;
  max-width: 700px;
  margin: auto;
  overflow: hidden;
  background: ghostwhite;
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.slide { display: none; }
.slide-active { display: block; animation: fade 0.6s; }

@keyframes fade {
  from { opacity: 0.4 }
  to { opacity: 1 }
}

.director-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #1E3A8A;
  box-shadow: 0 0 15px rgba(30,58,138,0.5);
}

.director-details p {
  font-size: 28px;
  line-height: 1.6;
  color: #374151;
  margin-top: 10px;
}

/* 🧭 SLIDER BUTTONS */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 6px;
  margin-top: -50px;
  color: #0C005B;
  font-weight: bold;
  font-size: 30px;
  background: transparent;
  border-radius: 50%;
  transition: 0.3s;
}
.next { right: 5px; }
.prev { left: 5px; }
.prev:hover, .next:hover { color: #fabb00; }

/* 🧾 SECTION */
section {
  padding: 80px 20px;
  text-align: center;
  max-width: 1000px;
  margin: auto;
}

section h2, section h3, section h4 {
  color: #1E3A8A;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

section h2 { font-size: 2.5rem; font-weight: 900; }
section h3 { font-size: 2.2rem; font-weight: 800; letter-spacing: 3px; }
section h4 { font-size: 1.9rem; font-weight: 700; }

section p {
  font-size: 1.05rem;
  max-width: 850px;
  margin: auto;
  margin-bottom: 30px;
  color: #374151;
  line-height: 1.7;
}

/* 🟨 ABOUT */
.about {

  background: #FABB00;
  color: white;
}
.about p { color: black; }

/* 🧱 CARDS */
.cards {
  

  margin-top: 30px;
}

/* 🟦 HIGHLIGHT */
.highlight { background: #FABB00; color: white; }
.highlight .btn { background: #0C005B; }

/* 📞 CONTACT */
.contact { background: white; }
.contact .btn { background: #0C005B; color: white; }

/* 📄 SUMMARY */
.summary {
  background: #FABB00;
  color: white;
  padding: 10px 28px;
  text-align: left;
}
.summary .h2 {
  color: white;
  text-align: left;
  margin-top: 12px;
  margin-bottom:20px;
  font-size: 1rem;
  line-height: 1.3;
}
.summary p {
  color: #f0f0f0;
  margin-bottom: 24px;
  line-height: 1.6;
}
.summary .details {
  margin-top: 1px;
  font-size: 1rem;
  line-height: 1.8;
  text-align: left;
}

/* 🦶 FOOTER */
footer {
  background: #222;
  color: #ccc;
  padding: 25px;
  text-align: center;
  font-size: 0.9rem;
}

/* 📱 MOBILE (<600px) */
@media (max-width: 600px) {
  nav { flex-direction: column; align-items: flex-start; padding: 15px 20px; }
  nav h1 { font-size: 1.2rem; }
  nav ul { flex-direction: column; gap: 10px; }

  .h1 { font-size: 2rem; letter-spacing: 2px; left: 0; }
  .h2 { font-size: 1.2rem; right: 0; }
  .tagline { font-size: 12px; letter-spacing: 2px; bottom: -20px; }

  .hero p { font-size: 1rem; padding: 0 10px; bottom: -20px; }

  .logo { width: 90px; height: 90px; border-width: 3px; left: 0; }

  section h2 { font-size: 1.8rem; }
  section p { font-size: 0.9rem; }

  .card { padding: 20px; }

  footer { font-size: 0.8rem; padding: 20px; }
}

/* 💻 TABLET (601–992px) */
@media (min-width: 601px) and (max-width: 992px) {
  nav h1 { font-size: 1.8rem; }
  nav ul { gap: 20px; }

  .h1 { font-size: 2.4rem; }
  .h2 { font-size: 1.9rem; }

  .logo { width: 110px; height: 110px; }

  .hero p { font-size: 1.2rem; }

  section h2 { font-size: 2.1rem; }
  section p { font-size: 1rem; }

  .cards { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  .slider { padding: 20px; }
}

/* 🖥️ DESKTOP (993px+) */
@media (min-width: 993px) {
  nav ul { gap: 35px; }

  .hero-section { height: 70vh; }

  .h1 { font-size: 3.2rem; 
    margin-top: -70px !important; /
  }
  .h2 { font-size: 2rem; }

  .cards { grid-template-columns: repeat(3, 1fr); }

  section h2 { font-size: 2.6rem; }
  section p { font-size: 1.1rem; }
}
@media screen and (min-width: 1024px) {
  .hero-content {
    margin-top: -105px !important; /* move text slightly higher */
  }
}