body {
  font-family: 'Poppins';
  margin: 0;
  padding: 0;
 
  background: #fff;
}
.header {
  display: flex;
  align-items: center;
  padding: 1rem 2vw 0.5rem 2vw;
  background: #fff;
  box-sizing: border-box;
}
.logo {
  width: 100px;
  height: 100px;
  margin-right: 0.5rem;
  object-fit: contain;
}
.school-name {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: #535353;
  line-height: 1.2;
}
.navbar {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  position: relative;
}
.navbar-links {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  align-items: center;
  flex: 1;
}
.navbar-links a {
  position: relative;
  padding: 0.5rem 0.8rem;
  text-decoration: none;
  color: #222;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.2s;
  text-align: center;
}
.navbar-links a::after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 3px;
  background: #000;
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(.4,0,.2,1);
  transform-origin: left;
}
.navbar-links a:hover::after,
.navbar-links a:focus::after {
  transform: scaleX(1);
}
.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  margin-left: auto;
  user-select: none;
  background: none;
  border: none;
  color: #222;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  align-items: center;
  background: #fff;
  position: absolute;
  top: 70px;
  left: 0;
  width: 100vw;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.mobile-menu a {
  padding: 1rem 0;
  width: 100%;
  text-align: center;
  border-bottom: 1px solid #eee;
  color: #222;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
}
.mobile-menu a:last-child {
  border-bottom: none;
}
.mobile-menu.show {
  display: flex;
}
@media (max-width: 900px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .navbar {
    width: 100%;
    justify-content: flex-end;
    margin-top: 0.5rem;
  }
}
@media (max-width: 768px) {
  .navbar-links {
    display: none;
  }
  .hamburger {
    display: block;
  }
  .header {
    flex-direction: row;
    align-items: center;
    padding: 1rem 1vw 0.5rem 1vw;
  }
}
/* Hero Section */
.hero {
  position: relative;
  width: 100vw;
  min-height: 400px;
  height: 500px;
  background: url('../image/homepage\ img.jpg') center center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  background-attachment: fixed;
}
.hero-overlay {
  background: rgba(0,0,0,0.55);
  border-radius: 18px;
  padding: 1.5rem 2vw;
  text-align: center;
  color: #fff;
  max-width: 700px;
  width: 90vw;
  margin: 0 auto;
}
.hero-overlay h2 {
  font-size: 1.7rem;
  font-weight: 400;
  margin: 0 0 0;
}
.hero-overlay h1 {
  font-size: 3.8rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: 2px;
  line-height: 1.1;
}
@media (max-width: 600px) {
  .hero-overlay h1 {
    font-size: 1.5rem;
  }
  .hero-overlay h2 {
    font-size: 1.1rem;
  }
  .hero-overlay {
    padding: 1.2rem 2vw;
  }
  .logo {
    width: 40px;
    height: 40px;
  }
} 

/* Gallery Section - CSS Grid Masonry */
.hero-hero {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 3rem;
  margin: 3rem auto 0 auto;
  max-width: 1300px;
  width: 95vw;
  padding-bottom: 30px;
}

.hero-images {
  display: grid;
  grid-template-columns: repeat(3, 200px);
  grid-auto-rows: 150px;
  gap: 20px;
}

.hero-image {
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  transition: transform 0.3s cubic-bezier(.4,0,.2,1), box-shadow 0.3s cubic-bezier(.4,0,.2,1);
  cursor: pointer;
}

.hero-image:hover,
.hero-image:focus {
  transform: scale(1.08) rotate(-2deg);
  box-shadow: 0 8px 32px rgba(20, 35, 97, 0.18);
  z-index: 2;
  position: relative;
}

/* Tall image spans 2 rows */
.hero-image.tall {
  grid-row: span 2;
}

/* Wide image spans 2 columns */
.hero-image.wide {
  grid-column: span 2;
}
.hero-hero-text p{
font-size: 20px;
text-align: center;
  color: gray;
}
.hero-hero-text h1{
  font-size: 30px;
  text-align: center;
  color: #000;
}

/* Responsive adjustments */
@media (max-width: 1000px) {
  .hero-hero {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .hero-images {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 120px;
    width: 100%;
    max-width: 500px;
  }
  .hero-hero-text {
    
    max-width: 95vw;
    margin: 0 auto;
    padding: 1rem 0;
  }
}
@media (max-width: 600px) {
  .hero-hero {
    flex-direction: column;
    align-items: stretch;
    gap: 1.2rem;
    padding: 0 0.5rem;
  }
  .hero-images {
    grid-template-columns: 1fr;
    grid-auto-rows: 160px;
    gap: 14px;
    width: 100%;
    max-width: 100vw;
  }
  .hero-image {
    min-height: 120px;
    border-radius: 12px;
  }
  .hero-hero-text {
    padding: 1.2rem 0.5rem 2rem 0.5rem;
    font-size: 1rem;
    text-align: center;
  }
  .hero-hero-text h1 {
    font-size: 1.3rem;
    margin-bottom: 0.7rem;
    line-height: 1.2;
  }
  .hero-hero-text p {
    font-size: 0.98rem;
    line-height: 1.6;
  }
}


.hero {
  padding-top: 30px;
  display: flex;
  justify-content: center;
  align-items: center;

  
}
.hero-text{
  width: 50%;
  padding: 20px;
  text-align: center;
}
.hero-text h1{
  font-family: poppins;
  position: relative;
  left: 1rem;
  font-size: 2rem;
  font-weight: 100;
  padding-bottom: 30px;
}

.hero-text p{
  font-family: poppins;

  color: #333;
  line-height: 1.5;

}

/* News & Updates Section */
.news-section {
  background: #33363a;
  border-radius: 32px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  padding: 2.5rem 1.5rem 2rem 1.5rem;
  margin: 2rem auto;
  max-width: 1050px;
  color: #fff;
  text-align: center;
  position: relative;
}
.news-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.news-header .news-icon {
  font-size: 2rem;
}
.news-header h2 {
  font-size: 2.3rem;
  font-weight: 700;
  margin: 0;
}
.news-desc {
  color: #ccc;
  font-size: 1.1rem;
  margin: 1rem 0 2rem 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.news-cards {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.news-card {
  background: #fff;
  color: #222;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  width: 220px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 8px 32px rgba(20, 35, 97, 0.18);
}
.news-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}
.news-card-title {
  font-size: 1rem;
  font-weight: 600;
  padding: 0.7rem 1rem 1rem 1rem;
  text-align: left;
}
.news-buttons {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
}
.news-btn {
  background: linear-gradient(90deg, #ffb300 0%, #ffe259 100%);
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 24px;
  padding: 0.7rem 2.2rem;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(255,179,0,0.08);
  transition: background 0.2s, color 0.2s;
}
.news-btn:active, .news-btn:focus {
  background: #ffb300;
  color: #fff;
}
.news-btn span {
  font-size: 1.2em;
}
@media (max-width: 800px) {
  .news-cards {
    flex-direction: column;
    align-items: center;
  }
  .news-card {
    width: 90vw;
    max-width: 350px;
  }
}
.news-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
}
.news-modal.show {
  display: flex;
}
.news-modal-content {
  background: #fff;
  color: #222;
  border-radius: 18px;
  max-width: 400px;
  width: 90vw;
  padding: 2rem 1.2rem 1.2rem 1.2rem;
  position: relative;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  text-align: left;
  max-height: 80vh;
  overflow-y: auto;
}
.news-modal-content img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 1rem;
}
.news-modal-close {
  position: absolute;
  top: 10px; right: 18px;
  font-size: 2rem;
  color: #888;
  cursor: pointer;
}
.news-modal-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}
.news-modal-desc {
  font-size: 1.05rem;
  color: #444;
}
.lms{
  padding: 30px;
}
.lms h1{
  padding-top: 30px;
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  text-align: center;
}
.lms p{
    text-align: center;
    font-size: 1.1rem;
    color: #444;
}
.lms {
  text-align: center;
}
.lms-btn {
  display: inline-block;
  margin-top: 1.5rem;
  background: linear-gradient(90deg, #4a4a4a 0%, #282828 100%);
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 24px;
  padding: 0.9rem 2.5rem;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(255,179,0,0.08);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.lms-btn:hover, .lms-btn:focus {
  background: #000000;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
}
@media (max-width: 600px) {
  .lms {
    padding: 14px;
  }
  .lms h1 {
    font-size: 1.3rem;
    padding-top: 12px;
  }
  .lms p {
    font-size: 0.98rem;
    padding: 0 2px;
  }
  .lms-btn {
    font-size: 1rem;
    padding: 0.7rem 1.2rem;
    margin-top: 1rem;
  }
}

.learn-more-link {
  display: inline-block;
  margin-top: 1rem;
  color: #ffb300;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid #ffb300;
  transition: color 0.2s, border-color 0.2s;
  font-size: 1rem;
  letter-spacing: 0.5px;
}
.learn-more-link:hover,
.learn-more-link:focus {
  color: #282828;
  border-color: #282828;
}

.feature-section {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 0 60px 0;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  justify-content: center;
}

.feature-img {
  width: 200px;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}

.feature-content {
  max-width: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  position: relative;
  display: inline-block;
  padding-bottom: 0.3rem;
}

.feature-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #ffb300;
  margin-top: 0.2rem;
  border-radius: 2px;
}

.feature-desc {
  font-size: 1rem;
  color:gray;
  margin: 0 0 1.2rem 0;
  font-size: small;
}


@media (max-width: 900px) {
  .feature-section {
    padding: 20px 0 40px 0;
    gap: 40px;
  }
  .feature-card {
    gap: 20px;
  }
  .feature-img {
    width: 140px;
    height: 150px;
  }
  .feature-content {
    max-width: 320px;
  }
}

@media (max-width: 600px) {
  .feature-section {
    padding: 10px 0 20px 0;
    gap: 30px;
  }
  .feature-card {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .feature-img {
    width: 90vw;
    max-width: 320px;
    height: 120px;
  }
  .feature-content {
    max-width: 95vw;
    text-align: center;
  }
  .feature-title {
    font-size: 1.3rem;
  }
}

/* Dark History Section */
.history-section-dark {
  background: #333;
  color: #fff;
  padding: 70px 0 60px 0;
  text-align: center;
  position: relative;
}
.history-divider-orange {
  width: 120px;
  height: 3px;
  background: #ff8e34;
  margin: 0 auto 32px auto;
  border-radius: 2px;
}
.history-title-dark {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: #fff;
  letter-spacing: 1px;
}
.history-desc-dark {
  font-size: 1.15rem;
  color: #e0e0e0;
  margin-bottom: 32px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
.history-btn-dark {
  display: inline-block;
  background: #fff;
  color: #222;
  font-weight: 600;
  font-size: 1.08rem;
  border: none;
  border-radius: 24px;
  padding: 0.8rem 2.2rem;
  box-shadow: 0 2px 8px rgba(255,179,0,0.10);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  cursor: pointer;
}
.history-btn-dark:hover, .history-btn-dark:focus {
  background: #ff8e34;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
}

/* Dark Footer */
.footer-dark {
  background: #333;
  color: #fff;
  padding: 0 0 0 0;
  margin-top: 0;
  border-radius: 0;
}
.footer-divider-orange {
  height: 3px;
  background: #ff8e34;
  border-radius: 2px 2px 0 0;
  margin-bottom: 0;
}
.footer-content-dark {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 30px 20px;
  flex-wrap: wrap;
}
.footer-logo-dark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  min-width: 200px;
}
.footer-logo-dark img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.footer-motto-dark {
  font-size: 1.05rem;
  color: #ff8e34;
  font-style: italic;
  line-height: 1.4;
  text-align: center;
}
.footer-links-dark {
  min-width: 180px;
  text-align: center;
}
.footer-links-title-dark {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #ff8e34;
}
.footer-links-dark ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links-dark ul li {
  margin-bottom: 8px;
}
.footer-links-dark ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s;
}
.footer-links-dark ul li a:hover {
  color: #ff8e34;
}
.footer-contact-dark {
  min-width: 200px;
  font-size: 1rem;
  line-height: 1.6;
  color: #fff;
  text-align: center;
}
.footer-contact-dark .footer-links-title-dark {
  margin-bottom: 8px;
}
@media (max-width: 900px) {
  .footer-content-dark {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 30px 10vw 20px 10vw;
  }
  .footer-logo-dark {
    align-items: center;
    text-align: center;
  }
}
@media (max-width: 600px) {
  .footer-content-dark {
    padding: 20px 4vw 14px 4vw;
    gap: 18px;
  }
  .footer-logo-dark img {
    width: 50px;
    height: 50px;
  }
  .footer-motto-dark {
    font-size: 0.95rem;
  }
  .footer-links-title-dark {
    font-size: 1rem;
  }
  .footer-contact-dark {
    font-size: 0.95rem;
  }
  .history-title-dark {
    font-size: 1.3rem;
  }
  .history-desc-dark {
    font-size: 1rem;
  }
  .history-divider-orange {
    width: 60px;
    margin-bottom: 18px;
  }
}