* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Open Sans", sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f9f9f9;
  padding-top: 94px; /* To account for fixed navbar */
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Notification Bar */
.notification-bar {
  background: linear-gradient(135deg, #ffcc00 0%, #ffd633 100%);
  color: #1e4389;
  padding: 12px 0;
  text-align: center;
  position: fixed;
  top: 94px;
  left: 0;
  width: 100%;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.notification-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.notification-text {
  font-weight: 600;
  font-size: 1rem;
}

.notification-link {
  color: #1e4389;
  text-decoration: none;
  font-weight: 700;
  margin-left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s;
  border-bottom: 1px dashed #1e4389;
}

.notification-link:hover {
  color: #000080;
  border-bottom: 1px solid #000080;
}

.close-notification {
  background: none;
  border: none;
  color: #1e4389;
  font-size: 1.2rem;
  cursor: pointer;
  margin-left: 15px;
  transition: color 0.3s;
}

.close-notification:hover {
  color: #000080;
}

/* Navigation Bar */
.navbar {
  height: 94px;
  width: 100%;
  background-color: #fdfff5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 0 20px;
}

.logo-container a {
  text-decoration: none;
  color: inherit;
}

.logo-div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.logo-text {
  font-size: 1.2rem;
  line-height: 1.2;
}

.time {
  font-weight: bold;
  color: #000080;
}

.time1 {
  font-size: 0.9rem;
  color: #000080;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-menu a {
  color: #000080;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  padding: 8px 15px;
  border-radius: 20px;
}

.nav-menu a:hover {
  background: #000080;
  color: #fdfff5;
}

.toggle-btn {
  display: none;
  flex-direction: column;
  background: transparent;
  border: none;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: #000080;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(rgba(30, 67, 137, 0.8), rgba(30, 67, 137, 0.8)),
    url("images/herobg.jpg") center/cover no-repeat;
  color: white;
  text-align: center;
  height: 100vh;
  padding: 120px 20px;
  margin-bottom: 60px;
}

.school-name {
  font-family: "Montserrat", sans-serif;
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.motto {
  font-size: 1.7rem;
  font-family: "Times New Roman", Times, serif;
  margin-bottom: 30px;
  color: #ffcc00;
  font-weight: 500;
}

.vision {
  font-size: 1.5rem;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.hero-button {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn1,
.btn2 {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.btn1 {
  background: #ffcc00;
  color: #1e4389;
}

.btn1:hover {
  background: #ffd633;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn2 {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn2:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

/* Features Section */
.features-section {
  padding: 80px 0;
  background: white;
}

.section-title {
  font-family: "Montserrat", sans-serif;
  font-size: 2.5rem;
  color: #1e4389;
  margin-bottom: 15px;
  text-align: center;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-title:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: #ffcc00;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #555;
  max-width: 800px;
  margin: 0 auto 50px;
}

.hero2-section {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.hero2div3 {
  width: 350px;
  background: #f5f7fa;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.hero2div3:hover {
  transform: translateY(-5px);
}

.card-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.4rem;
  color: #1e4389;
  padding: 20px 20px 10px;
}

.p-card {
  padding: 0 20px 20px;
  color: #555;
  line-height: 1.6;
}

.a-card {
  display: inline-block;
  margin: 0 20px 20px;
  padding: 10px 20px;
  background: #1e4389;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: background 0.3s;
}

.a-card:hover {
  background: #2c5cc0;
}

/* Slider for mobile */
.slider-container {
  display: none;
  position: relative;
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 10px;
}

.slider {
  display: flex;
  transition: transform 0.5s ease;
}

.slide {
  flex: 0 0 100%;
  padding: 10px;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: background 0.3s;
}

.slider-arrow:hover {
  background: rgba(255, 255, 255, 1);
}

.arrow-left {
  left: 10px;
}

.arrow-right {
  right: 10px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  background: #b2b2b2;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active {
  background: #1e4389;
}

/* Info Section */
.hero3-section {
  padding: 80px 0;
  background: #f5f7fa;
}

.hero3-container {
  display: flex;
  align-items: center;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero3-img {
  flex: 1;
}

.hero3-img img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.hero3-info {
  flex: 1;
}

.hero3-info h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 2.2rem;
  color: #1e4389;
  margin-bottom: 20px;
}

.hero3-info > p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 30px;
  line-height: 1.7;
}

.info-box-icon {
  margin-bottom: 30px;
}

.info-icons {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.info-icons i {
  font-size: 1.8rem;
  color: #1e4389;
  margin-right: 15px;
  margin-top: 5px;
  flex-shrink: 0;
}

.info-icons p {
  color: #555;
  line-height: 1.6;
}

.info-icons a {
  color: #1e4389;
  text-decoration: none;
  font-weight: 600;
}

.info-icons a:hover {
  text-decoration: underline;
}

.hero3-info h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  color: #1e4389;
  margin-bottom: 15px;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #1e4389;
  color: white;
  font-size: 1.2rem;
  transition: all 0.3s;
  text-decoration: none;
}

.social-icons a:hover {
  background: #2c5cc0;
  transform: translateY(-3px);
}

/* Footer */
footer {
  background: #000080;
  color: white;
  padding: 50px 0 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #ffcc00;
}

.footer-content p {
  margin-bottom: 10px;
}

.footer-content ul {
  list-style: none;
}

.footer-content ul li {
  margin-bottom: 10px;
}

.footer-content a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-content a:hover {
  color: #ffcc00;
}

.social-icon {
  display: flex;
  gap: 15px;
}

.social-icon a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.3s;
}

.social-icon a:hover {
  background: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom hr {
  margin-bottom: 20px;
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .school-name {
    font-size: 3rem;
  }

  .motto {
    font-size: 1.6rem;
  }

  .hero3-container {
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .toggle-btn {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 94px;
    flex-direction: column;
    background-color: #fdfff5;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .hero2-section {
    display: none;
  }

  .slider-container {
    display: block;
  }

  .hero3-container {
    flex-direction: column;
  }

  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 600px) {
  .school-name {
    font-size: 2.5rem;
  }

  .motto {
    font-size: 1.4rem;
  }

  .vision {
    font-size: 1.1rem;
  }

  .btn1,
  .btn2 {
    padding: 12px 25px;
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-subtitle {
    font-size: 1.1rem;
  }

  .hero3-info h2 {
    font-size: 1.8rem;
  }

  .notification-content {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
