/* Smooth scroll for anchor links */
html {
  scroll-behavior: smooth;
}

/* Basic reset and body styling */
body {
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  background: #f0f8ff;
}

/* Header section */
header {
  background-color: #0b5394;
  color: white;
  padding: 20px;
  text-align: center;
}

/* EIIN text */
.eiin {
  font-size: 18px;
  color: #f0f0f0;
  font-weight: bold;
  margin-top: 8px;
}

/* School photo below header */
.school-photo {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  margin-top: 15px;
  border-radius: 10px;
}

/* Navigation bar */
nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  background-color: #073763;
  margin: 0;
  flex-wrap: wrap;
}

nav ul li {
  margin: 5px 15px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

/* Main container */
main {
  padding: 20px;
}

/* Main sections */
.intro, .notice, .teachers, .gallery, .results, .students, .contact, .principal {
  background: white;
  padding: 20px;
  margin: 20px 0;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

/* Intro section */
.intro p {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 12px;
}

/* Principal message */
.principal-box {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.principal-box img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 6px rgba(0,0,0,0.2);
}

.principal-box .message {
  max-width: 600px;
  font-size: 16px;
  color: #333;
}

/* Teacher cards */
.teacher-card {
  text-align: center;
  margin: 15px;
  padding: 15px;
  background: #f9f9f9;
  border-radius: 10px;
  max-width: 250px;
  display: inline-block;
}

.teacher-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.teacher-card img:hover {
  transform: scale(1.1);
}

/* Gallery section */
.gallery-images {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.gallery-images img {
  width: 200px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.gallery-images img:hover {
  transform: scale(1.1);
}

/* Notice scrolling */
.notice-scroll {
  height: 100px;
  overflow: hidden;
  position: relative;
}

.notice-scroll ul {
  position: absolute;
  animation: scrollUp 20s linear infinite;
  list-style: none;
  padding: 0;
  margin: 0;
}

.notice-scroll li {
  padding: 10px;
  background: #eaf4ff;
  border-bottom: 1px solid #ccc;
  font-size: 16px;
}

/* Footer */
footer {
  background-color: #0b5394;
  color: white;
  text-align: center;
  padding: 10px;
}
.slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.slide {
  width: 100%;
  height: auto;
  display: none;
}