* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  color: #333;
}
img {
  max-width: 100%;
  display: block;
}

/* Navbar */
.navbar {
  background: #003366;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
}
.logo img {
  height: 56px;
  vertical-align: middle;
}
.logo span {
  margin-left: 10px;
  font-weight: bold;
  font-size: 1.1rem;
  color: #fff;
}
.menu {
  list-style: none;
  display: flex;
  align-items: center;
  margin: 0;
  gap: 30px;
}

.menu li a {
  color: #fff;
  text-decoration: none;
  padding: 5px;
  font-style: 20px;
}
.menu li a:hover {
  text-decoration: underline;
}
.menu li.lang {
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
}
.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
}
.hero-text h1 {
  font-size: 3rem;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}
.hero-text p {
  font-size: 1.5rem;
  margin-top: 10px;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

/* Introduction Section */
.introduction {
  background: #005BBB;
  color: #fff;
  padding: 60px 0;
}
.introduction .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.intro-content,
.intro-image {
  width: 50%;
}
.intro-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
.intro-content p {
  font-size: 1rem;
  line-height: 1.5;
}
.intro-image {
  position: relative;
}
.carousel-controls button {
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  font-size: 1.5rem;
  cursor: pointer;
}
.carousel-controls .prev {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
}
.carousel-controls .next {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
}
.slide-indicator {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9rem;
}

/* "Where Dreams Begin" Section */
.dreams {
  background: #fff;
  color: #333;
  padding: 60px 0;
}
.dreams h2 {
  text-align: center;
  font-size: 2rem;
}
.dreams .tagline {
  text-align: center;
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 40px;
}
.cards {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.card {
  text-align: center;
}
.card img {
  width: 100%;
  height: auto;
}
.card h3 {
  margin-top: 10px;
  font-size: 1.1rem;
  font-weight: normal;
}

/* Campus Culture Section */
.campus-culture {
  background: #fff;
  color: #333;
  padding: 60px 0;
}
.campus-culture .container h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
.culture-content {
  display: flex;
  align-items: center;
  gap: 20px;
}
.culture-image img {
  width: 100%;
  height: auto;
}
.culture-text h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}
.culture-text p {
  line-height: 1.5;
  margin-bottom: 15px;
}
.culture-text .btn {
  text-decoration: none;
}

/* Principal & Faculty Section */
.principal-faculty {
  background: #fff;
  color: #333;
  padding: 60px 0;
}
.principal-faculty .container h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
.principal-intro {
  display: flex;
  align-items: center;
  gap: 20px;
}
.principal-text,
.principal-photo {
  width: 50%;
}
.principal-text h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.principal-text p {
  font-size: 1rem;
  margin-bottom: 15px;
}
.principal-photo {
  text-align: center;
}
.principal-photo img {
  max-width: 100%;
  height: auto;
}
.faculty-cards {
  list-style: none;
  display: flex;
  justify-content: space-between;
  /* gap: 10px; */
  padding: 0;
  margin: 0;
  align-items: center;
}
.faculty-cards li {
  width: 20%;
  background: #012DA7;
  color: #fff;
  text-align: center;
  padding: 10px;
  border: 2px solid #012DA7;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.faculty-cards li.active {
  background: #012DA7;
  width: 10%;
  border-color: #012DA7;
}
.faculty-cards img {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
}
.faculty-cards p {
  line-height: 1.2;
}
.faculty-cards span {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Contact Section */
.contact {
  background: #f5f5f5;
  color: #333;
  padding: 60px 0;
}
.contact .container h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 30px;
}
.contact-content {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.contact-map img {
  width: 100%;
  height: auto;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font: inherit;
}
.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #005BBB;
  box-shadow: 0 0 5px rgba(0, 91, 187, 0.5);
}

/* Buttons (MORE & SUBMIT) */
.btn {
  background: #005BBB;
  color: #fff;
  padding: 8px 16px;
  text-decoration: none;
  display: inline-block;
  border: 2px solid #005BBB;
  border-radius: 4px;
  transition: background 0.3s, color 0.3s;
}
.btn:hover {
  background: #fff;
  color: #005BBB;
  cursor: pointer;
}

/* Footer */
footer {
  background: #003366;
  color: #fff;
  padding: 40px;
  box-sizing: border-box;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}
.school-info p {
  margin-bottom: 8px;
}
.school-info {
  flex: 1 1 300px;
}
.footer-links {
  flex: 3 1 400px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 10px;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col li {
  margin-bottom: 6px;
}
.footer-col a {
  color: #fff;
  text-decoration: none;
}
.footer-col a:hover {
  text-decoration: underline;
}
.footer-bottom {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}
.footer-bottom img {
  height: 50px;
  opacity: 0.8;
}

/* Responsive Media Queries */
@media (max-width: 768px) {
  /* Navbar stacked vertically */
  .navbar .container {
    flex-direction: column;
    align-items: flex-start;
  }
  .menu {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .menu li {
    margin: 8px 0;
    margin-left: 0;
  }
  /* Introduction section stacked */
  .introduction .container {
    flex-direction: column;
    text-align: center;
  }
  .intro-content,
  .intro-image {
    width: 100%;
  }
  .intro-content {
    margin-bottom: 20px;
  }
  /* Dreams cards stacked */
  .cards {
    flex-direction: column;
    align-items: center;
  }
  .card {
    width: 100%;
    margin-bottom: 20px;
  }
  /* Campus Culture stacked */
  .culture-content {
    flex-direction: column;
  }
  .culture-image,
  .culture-text {
    width: 100%;
  }
  .culture-image {
    margin-bottom: 20px;
  }
  .culture-text {
    text-align: center;
  }
  /* Principal & Faculty stacked */
  .principal-intro {
    flex-direction: column;
  }
  .principal-text,
  .principal-photo {
    width: 100%;
  }
  .principal-text {
    text-align: center;
    margin-bottom: 20px;
  }
  /* Faculty cards: 2 per row */
  .faculty-cards {
    flex-wrap: wrap;
  }
  .faculty-cards li {
    width: 48%;
    margin-bottom: 10px;
  }
  .introduction{
    padding: 0 !important;
    margin-right: 0 !important;
  }
  .intro-image{
    display: none !important;
  }
  .intro-content h2{
    padding: 0 !important; 
  }
  .intro-content p{
    width: 100% !important;
    padding: 0 !important;
  }
  .btn-intro{
    margin-left: 0 !important;
  }
  .dreams{
    padding: 10px !important;
  }
  .dreams h2{
    margin: 0 !important;
  }
  .cards{
    padding: 0 !important;
  }
  .culture-text .btn{
    margin: 0 !important;
  }
  .principal-faculty .container h2{
    margin: 0px !important;
    text-align: center;
    font-size: 26px !important;
  }
  .principal-text h3,.principal-text p,.btn{
    margin-left: 0 !important;
  }
  .faculty-cards li.active{
    display: none !important;
  }
  .ban_img{
    width: 100% !important;
    height: auto !important;
  }
  .hero{
    width: 100% !important;
    height: auto !important;
    min-height: auto !important;
  }
  .hero-text h1{
    display: none !important;
  }
  .btn-hero{
    padding: 5px !important;
  }

}
@media (max-width: 480px) {
  /* Faculty cards: 1 per row */
  .faculty-cards li {
    width: 100%;
  }
  /* Contact section: stack form above map */
  .contact-content {
    flex-direction: column;
  }
  .contact-form {
    order: -1;
    margin-bottom: 20px;
  }
  /* Footer stacked vertically */
  .footer-top {
    flex-direction: column;
    align-items: center;
  }
  .school-info {
    text-align: center;
    margin-bottom: 20px;
  }
  .footer-links {
    flex-direction: column;
    align-items: center;
  }
  .footer-col {
    text-align: center;
    margin-bottom: 15px;
  }
}