﻿body {
    font-family: "Inter", sans-serif!important;
}
/* Basic Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
a{
    text-decoration:none!important
}
h1{
    font-size:2.5rem;
    color:#004aad;
    font-weight:600!important;
}
h2{
    font-size:2rem;
    color:#004aad;
    font-weight:600!important;
}
/* Navbar Styling */
header {
  background-color: #275ca2;
  color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
}

/* Nav Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.nav-links a:hover {
  color: #ffd700;
}

/* Dropdown (Desktop) */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #084a9fbd !important;
  min-width: 180px;
  border-radius: 6px;
  overflow: hidden;
  z-index: 10;
}

.dropdown-menu li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.dropdown-menu li:last-child {
  border-bottom: none;
}

.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  color: #fff;
}

.dropdown-menu a:hover {
  background: #003c82;
}

/* Hover dropdown on desktop */
.dropdown:hover .dropdown-menu {
  display: block;
}

/* Hamburger icon */
.menu-toggle {
  display: none;
  font-size: 1.6rem;
  cursor: pointer;
}

/* ========= MOBILE VIEW ========= */
@media (max-width: 768px) {

  /* Base mobile nav */
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #275ca2;
    padding: 10px 0;
  }

  /* When active */
  .nav-links.active {
    display: flex;
  }

  /* Show hamburger */
  .menu-toggle {
    display: block;
    position: absolute;
    right: 15px;
    top: 8px;
  }

  .nav-links li {
    width: 100%;
  }

  /* Fix dropdown stacking on mobile */
  .dropdown {
    position: static; /* remove absolute behavior */
  }

  .dropdown-menu {
    display: none; /* hidden by default */
    position: static !important; /* stack below */
    background: #084a9f; /* match theme */
    width: 100%;
    border-radius: 0;
    box-shadow: none;
    padding-left: 15px;
  }

  /* Show dropdown when open (clicked via JS) */
  .dropdown.open .dropdown-menu {
    display: flex;
    flex-direction: column;
  }

  /* Dropdown links */
  .dropdown-menu a {
    padding: 10px 25px;
  }
}


/*hero section*/
.swiper {
   width: 100%;
   height: 70vh;
  }

.swiper-slide img {
   width: 100%;
   height: 100%;
   object-fit: cover;
    }
.carousel-caption {
  position: absolute;
  top: 50%;
  left: 5%; 
  transform: translateY(-50%);
  text-align: left;
  color: #fff;
}
.sli1 {
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  text-align: right;
  color: #fff;
}

.carousel-caption h1 {
  font-size: 4rem;
  font-family:"Inter", serif;
  margin-bottom: 10px;
  font-weight:600;
}

.carousel-caption p {
  font-size: 1.5rem;
  margin-bottom: 20px;
}


.btn-shop {
  display: inline-block;
  padding: 10px 25px;
  background-color: #43afb2; 
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: 0.3s;
}

.btn-shop:hover {
  background-color: #ff3b2f;
}
@media(max-width:768px){
   .swiper {
   width: 100%;
   height:17vh;
  }
}

/* Scroll Information */
#news-ticker {
  display: flex;
  align-items: center;
  background: #275ca2;  /* blue shade */
  color: #fff;
  font-family: "Inter", sans-serif;
  overflow: hidden;
  height: 40px;
  border-left: 5px solid #ff2e18;

}

.news-label {
  background: #ffcc00;
  color: #000;
  font-weight: 600;
  padding: 0 15px;
  white-space: nowrap;
}

.news-content {
  overflow: hidden;
  flex: 1;
}

.news-items {
  display: inline-block;
  white-space: nowrap;
  animation: scroll-news 20s linear infinite;
}

.news-items span {
  margin-right: 50px;
  font-size: 1.2rem;
  font-weight:bold;
}

/* Animation for smooth scrolling */
@keyframes scroll-news {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}
@media(max-width:768px){
  .news-label {
  background: #ffcc00;
  color: #000;
  font-weight: 600;
  padding: 0 5px;
  font-size:12px;
}

  .news-items span {
  margin-right: 50px;
  font-size: 1rem;
  font-weight:bold;
}
}

/*About section*/
#about-school {
  background-color: #f8f9fa; /* light background */
}

#about-school h2 {
  color: #004aad;
  font-family: "Inter", sans-serif;
}

#about-school p {
  color: #333;
  line-height: 1.7;
  font-family: "Inter", sans-serif;
}

#about-school img {
width: 100%;
  height: 400px;
  object-fit: contain;
  border-radius: 15px;
}
@media(max-width:768px){
    #about-school img {
  width: 100%;
  height: 300px;          /* 👈 adjust as needed */
  object-fit: contain;      /* crop instead of squish */
  border-radius: 10px;
}
}
/*School info*/
#stats {
  background: #f8f9fa;
}

.stat-card {
  background: #7fb1f1bd;
  transition: transform 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.stat-card i {
  transition: color 0.3s;
}

.stat-card:hover i {
  color: #004aad;
}

/* School Environment*/
.environment-section {
  padding: 60px 5%;
  background: #f8f9fa;
  text-align: center;
}

.env-title {
  color: #004aad;
  margin-bottom: 40px;
}

.env-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  justify-content: center;
}

.env-box {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  padding: 10px;
  text-align: start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.env-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.env-box img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
}

.env-box h3 {
  font-size: 1.2rem;
  color:#004aad;
  margin-bottom: 8px;
  font-weight:600;
}

.env-box p {
  font-size: 0.95rem;
  color: #555;
}


/*Project section*/
.project{
    background-color:#1e5bac;
}
.probox, .probox img{
 border-radius:0;
}


.hover-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.2);
}


#facilities .card-title i {
  color: #1e5bac;
}
.txthd{
    color:#1e5bac!important;
}




/*Footer ssection*/
.footer {
  background: #0a2a43;
  color: #fff;
  padding: 50px 20px 20px;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
}
@media(min-width:768px){
.footer-about{
    max-width:30vw;
}
}

.footer h3 {
  margin-bottom: 15px;
  font-size: 20px;
  color: #ffcc00;
}

.footer p, .footer a {
  font-size: 15px;
  color: #ddd;
  line-height: 1.8;
  text-decoration: none;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a:hover {
  color: #ffcc00;
}

.know-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffcc00;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.know-more:hover {
  color: #fff;
  transform: translateX(3px);
}

.social-icons a {
  display: inline-block;
  margin-right: 10px;
  color: #fff;
  font-size: 18px;
  transition: 0.3s;
}

.social-icons a:hover {
  color: #ffcc00;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #ffffff33;
  margin-top: 30px;
  font-size: 14px;
  color: #bbb;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  .footer-about, .footer-links, .footer-contact {
    margin-bottom: 25px;
  }
}

.image-collage {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.image-collage img {
  position: absolute;
  border-radius: 5px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: transform 0.4s ease;
}


/* Image positions for collage */
.image-collage .img1 { top: 20%; left: 0%; width:20vw;transform: rotate(-4deg);}
.image-collage .img2 { top: 0%; right: 5%; width: 20vw; transform: rotate(4deg); }
.image-collage .img3 { bottom: 15%; left: 0%; width: 15vw; transform: rotate(-10deg); z-index:1; }
.image-collage .img4 { bottom: 5%; right: 5%; width: 23vw; transform: rotate(-10deg)}

@media(max-width:768px){
 .image-collage .img1 { top: 20%; left: 10%; width:45vw;transform: rotate(-4deg);}
.image-collage .img2 { top: 0%; right: 0%; width: 45vw; transform: rotate(4deg); }
.image-collage .img3 { bottom: 0%; left: 15%; width: 38vw; transform: rotate(-10deg); z-index:1; }
.image-collage .img4 { bottom: -2%; right: 15%; width: 48vw; transform: rotate(-10deg)}
}

.overlay-text {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  text-align: center;
  padding: 10px 0;
  font-weight: 600;
  font-size: 1.2rem;
  border-radius: 0 0 10px 10px;
}
.learn{
    padding:25px 0;
    font-size: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .image-collage {
    height: 80vw;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .image-collage img {
    position: relative;
    width: 100%;
 
  }
  .overlay-text {
    position: static;
    border-radius: 5px;
    margin-top: 8px;
  }
  .learn{
    padding:5px 0;
    font-size:1.3rem;
}
}
