* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Navbar Styles */
.navbar {
  position: relative;
  display: flex;

  align-items: center;
  background-color: #cee7ff;
  padding: 6px 5%;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Logo on the left */
.logo {
  display: flex;
  align-items: center;
  color: white;
  text-decoration: none;
  font-size: 25px;
  font-weight: bold;
  flex: 1;
}

.logo img {
  width: 70px;
  margin-right: 10px;
}

/* Nav center */
.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 50px;
}

.nav-links li {
  margin: 0 15px;
}

.nav-links a {
  color: rgb(13, 13, 13);
  text-decoration: none;
  font-size: 20px;
  font-weight: 500;
  transition: color 0.3s;
}

#nav-gp {
  gap: 10px;
}

#nav-gp a {
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  color: #003366;
  position: relative;
  text-decoration: none;
  transition: color .3s ease-in-out;
}
#nav-gp a:hover{
  color: #fc0d0e;
  
}

#nav-gp a:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 90%;
  height: 2px;
  background-color: #fc0d0e;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s ease-in-out;
}

#nav-gp a:hover:after {
  transform: scaleX(1);
  transform-origin: left;
}

#nav-gp {
  gap: 10px;
  margin-left: 90px;
}

.nav-links a:hover {
  color: #ffcc00;
}


/* Hamburger on the right */
.hamburger {
  display: none;
  /* you can enable it on mobile */
  color: white;
  font-size: 24px;
  cursor: pointer;
}


/* Notice Marquee */
.notice-marquee {
  background-color: #003366;
  color: #ffcc00;
  padding: 10px 0;
  font-weight: bold;
}

.notice-marquee marquee {
  font-size: 16px;
}

/* Main Content Container */


.carousel-item img {
  height: 75vh;
}

/* Notice Board */
.notice-board {
  flex: 1;
  background-color: #f5f5f5;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.notice-board h2 {
  color: #003366;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #ffcc00;
}

.notice-item {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px dashed #232222;
}

.notice-item:last-child {
  border-bottom: none;
}

.notice-item h3 {
  color: #003366;
  font-size: 16px;
  margin-bottom: 5px;
}

.notice-item p {
  color: #666;
  font-size: 14px;
}

.notice-item .date {
  color: #ff6600;
  font-size: 12px;
  font-weight: bold;
}

/* General Styles */
body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  color: #333;
}

.section {
  padding: 40px 0;
}
.sec{
  padding: 50px;
}



.section-title {
  text-align: center;
  margin-bottom: 40px;
  color: #2c3e50;
}

/* Full Page Slider Section */
.slider-section {
  height: 70vh;
  position: relative;
  overflow: hidden;
}

.slider-container {
  height: 100%;
  position: relative;
}

.slider {
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}

.slider.active {
  opacity: 1;
}

.slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Dark overlay with transparency */
  z-index: 1;
}
.slider-text {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  padding: 1rem;
}

.slider-text h1 {
  font-size: 35px;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.slider-text p {
  font-size: 1.2rem;
}



.principal-card-container {
  height: 90%;
  position: relative;
  top: 0;
  transition: top ease 0.5s;
  cursor: pointer;
}

.principal-card-container:hover {
  top: -15px;
}

.slider-text h1 {
  font-size: 52px;
  margin-bottom: 10px;
  font-weight: bold;
  color: white;

}

.slider-text p {
  font-size: 20px;
  line-height: 1.5;

  color: white;
}

@keyframes fadeInUp {
  0% {
    transform: translate(-50%, -60%);
    opacity: 0;
  }

  100% {
    transform: translate(-50%, -50%);
    opacity: 1;
  }
}

.slider-nav {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.slider-dot.active {
  background-color: #fff;
}

/* Notice Board and Principal Message Section */
.info-section {
  background: linear-gradient(to right, #f2f7fa, #fff);
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

@media (max-width: 768px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
}



/* Navbar and other existing styles remain the same */
/*principal message and notice board*/
.info-section {
  padding: 60px 0;
}

.notice-box {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.notice-box h2 {
  color: #0d6efd;
  font-weight: bold;
}

.notice-box h3 {
  margin-bottom: 15px;
  font-size: 22px;
}

.scroll-box {
  max-height: 350px;
  overflow-y: auto;
  padding-right: 10px;
 
  background-color: #003366;
}

.scroll-content p {
  margin-bottom: 5px;
  font-size: 15px;
  line-height: 1.5;
  padding: 5px 13px;
  color: #fff;
}

.scroll-content a {
  color: #ffffff;
  text-decoration: none;
}

.scroll-content .date {
  display: block;
  font-size: 12px;
  padding: 5px 13px;
  color: #ffffff;
  margin-bottom: 5px;
}

.principal-card {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.principal-card h3 {
  font-weight: bold;
  color: #003366;
}

.principal-card p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.profile-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 10px rgb(0 0 0 / 35%);
}

.scroll-box {
  max-height: 300px;
  overflow: hidden;
  position: relative;
}

.scroll-content {
  display: inline-block;
  animation: scroll-vertical 20s linear infinite;
}

@keyframes scroll-vertical {
  0% {
    transform: translateY(0%);
  }

  100% {
    transform: translateY(-100%);
  }
}

@media (max-width: 767px) {
  .profile-img {
    margin-bottom: 15px;
  }
}

/*principal message and notice board end..*/
.welcome-section {
  padding: 50px 5%;
  background: linear-gradient(to right, #f2f7fa, #fff);
}

.welcome-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.welcome-image {
  flex: 1 1 45%;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease;
}

.welcome-image img {
  width: 100%;
  height: 412px;
  border-radius: 10px;
  transition: transform 0.4s ease;
}

.welcome-image:hover img {
  transform: scale(1.05);
}

.welcome-text {
  flex: 1 1 50%;
  color: #333;
}

.welcome-text h2 {
  font-size: 32px;
  color: #003366;
  margin-bottom: 20px;
}

.welcome-text p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 25px;
  color: #444;
}

.read-more-btn {
  display: inline-block;
  padding: 10px 25px;
  background: linear-gradient(45deg, #1a237e, #0d47a1);
  color: #fff;
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.read-more-btn:hover {
  background: linear-gradient(45deg, #0d47a1, #1a237e);
}

@media (max-width: 768px) {
  .welcome-container {
    flex-direction: column;
  }

  .welcome-image,
  .welcome-text {
    flex: 1 1 100%;
  }
}

/*mission and vision*/
.image-hover-wrap {
  overflow: hidden;
  border-radius: 15px;
  transition: transform 0.4s ease;
}

.image-hover-wrap img {
  transition: transform 0.6s ease, filter 0.4s ease;
}

.image-hover-wrap:hover img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

@media (max-width: 767px) {
  .mission-vision-section .row {
    flex-direction: column-reverse;
  }

  .mission-vision-section .text-center {
    margin-bottom: 20px;
  }
}

/*contact us*/
/* Custom CSS */
#contact {
  background-color: #f9f9f9;
}

#contact .row {
  display: flex;
  align-items: stretch;
  /* Ensures equal height for both columns */
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-info {
  padding: 20px;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.contact-info h4 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #003366;
  margin-bottom: 15px;
}

.contact-info p {
  font-size: 1rem;
  color: #555;
}

.contact-info p i {
  color: #003366;
  margin-right: 10px;
}

/* For smaller screens */
@media (max-width: 768px) {
  #contact .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .contact-info p {
    font-size: 0.9rem;
  }
}




/*Gallery Section*/
.school-gallery {
  text-align: center;
  padding: 40px 20px;
  background-color: #f8f9fa;
}

.school-gallery .tagline {
  font-size: 14px;
  color: #777;
  margin-bottom: 5px;
  letter-spacing: 1px;
}

.school-gallery h2 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 30px;
  color: #333;
}

.gallery-images {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.gallery-item {
  width: 280px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  padding: 11px 0;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item img {
  width: 100px;
  height: 100px;
  object-fit: cover;
}

.facility-name {
  font-size: 18px;
  padding: 15px 10px;
  background-color: #fff;
  color: #333;
  font-weight: 600;
}

.masonry-banner img {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.masonry-banner img:hover {
  transform: scale(1.02);
}

/* Footer */
.footer-section {
  background-color: #003366;
  color: #fff;
  padding: 40px 20px;
  font-family: 'Arial', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  gap: 30px;
}

.footer-col {
  flex: 1 1 220px;
}

.footer-logo {
  width: 120px;
  margin-bottom: 15px;

}

.footer-col h4 {
  font-size: 20px;
  margin-bottom: 15px;
  font-weight: bold;
}

.footer-col p,
.footer-col ul li a {
  font-size: 14px;
  color: #ddd;
  text-decoration: none;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.social-icons a {
  display: inline-block;
  margin: 8px 5px 0 0;
  color: #fff;
  font-size: 16px;
  background: #003366;
  padding: 8px;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.social-icons a:hover {
  background: #4d82b6;
}

.footer-col i {
  margin-right: 8px;
}

.footer-bottom {
  border-top: 1px solid #ccc;
  text-align: center;
  padding-top: 20px;
  margin-top: 40px;
  font-size: 13px;
  color: #ccc;
}

.footer-bottom .bottom-links a {
  color: #ccc;
  margin: 0 8px;
  text-decoration: none;
}

.footer-bottom .bottom-links a:hover {
  text-decoration: underline;
}

.carousel-img-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(133, 39, 39, 0.5), rgba(3, 0, 5, 0.2));
  z-index: 1;
  pointer-events: none;
}


.parallax-bg {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('image/fixedone.jpg') no-repeat top center;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.full-banner {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  /* Adjust to fit your design */
  color: white;
  /* Optional for better text contrast */
}

.head-text {
  text-align: center;
  color: #003366;
  font-size: 32px;
}

.teacher-name {
  font-weight: 600;
  color: #ffffff;
  background-color: #003366;
  width: 100%;
  padding: 11px 4px;
  border-radius: 5px;
  text-align: center;
  font-size: 15px;
}

  .sub-title {
    font-size: 23px;
}


.nav-social-links a {
  background: #003366;
  color: #fff;
  font-size: 18px;
  padding: 3px 10px;
  border-radius: 7px;
  transition: 0.4s;
  cursor: pointer;
}

.nav-social-links a:hover {
  background-color: #ffffff;
  color: #003366;
}
.nav-social-links {
  display: flex;
  gap: 5px;
}



@media (max-width: 1244px) {

  #nav-gp {
    gap: 1px;
    margin-left: 9px;
  }
}

@media (max-width: 992px) {
  .principal-card-container {
    height: 50%;
  }
}

@media (max-width: 565px) {
  .slider-text h1 {
    font-size: 40px;
  }

  .slider-text p {
    font-size: 21px;
  }
}

@media (max-width: 515px) {
  .nav-header-text {
    display: none;
  }
}

@media (max-width: 375px) {
  .principal-card-container {
    height: 51%;
  }

  .principal-card {
    padding: 20px;
  }

  .notice-box {
    padding: 20px;
  }
}

.section-banner {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('image/banner-about.jpg') no-repeat center center;
  background-size: cover;
  padding: 40px 0;
  position: relative;
}

.breadcumnd-content .d4 {
  font-size: 36px;
  color: #fff;
}

.breadcun-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcun-list i,
.breadcun-list a,
.breadcun-list span {
  color: #fff;
  font-size: 16px;
}

.breadcun-list a {
  text-decoration: none;
}

.swiper {
  width: 100%;
  height: 300px;
}

.swiper-slide {
  position: relative;
  width: 80%;
  aspect-ratio: 3/4;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.image-hover-wrap img {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.image-hover-wrap:hover img {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0, 51, 102, 0.3);
}

.key-features-list li {
  transition: all 0.3s ease;
  padding-left: 0.5rem;
  position: relative;
}

.key-features-list li:hover {
  color: #0056b3;
  transform: translateX(5px);
}

.key-features-list li::before {
  content: '➤';
  position: absolute;
  left: -1.5rem;
  top: 0;
  color: #003366;
}
.swiper-button-next, .swiper-button-prev {
  color: #003366;
}
.ads{
  background-color: #003366;
  color: #fff !important;
  padding: 6px 10px;
  text-align: center;
}
.noti{
  background-color: #ff0000;
  color: #fff;
  justify-content: center;
  text-align: center;
  padding: 4px 2px;
}

ul {
  list-style: none; /* removes bullets */
  padding: 0;
  margin: 0;
}

ul li a {
  text-decoration: none; /* removes underline */
  color: inherit; /* optional: inherit parent color */
}
.mb-30{
  margin-bottom: 30px;
}

@media only screen and (min-width : 320px) and (max-width : 480px){
  #contact .row.align-items-stretch {
    flex-direction: column !important;
  }

  /* Full width columns */
  #contact .col-md-6 {
    width: 100% !important;
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 1.5rem;
  }

  /* Adjust box padding */
  .contact-info-box {
    padding: 1.5rem 1rem !important;
  }

  /* Resize icon boxes */
  .contact-item .icon-box {
    width: 40px !important;
    height: 40px !important;
    font-size: 1rem;
  }

  /* Adjust text sizing */
  .contact-item h5 {
    font-size: 1rem;
  }

  .contact-item p {
    font-size: 0.9rem;
  }

  /* Social icons spacing and sizing */
  .social-links a {
    font-size: 1.3rem !important;
    margin-right: 1rem;
  }

  /* Adjust iframe/map */
  .map-container iframe {
    min-height: 300px !important;
    width: 100% !important;
  }

  /* Section title font size */
  .section-title h4 {
    font-size: 1.5rem;
  }
  .navbar-brand {
    display: flex;
    align-items: center;
  }

  .navbar-brand img {
    height: 40px;
    margin-right: 8px;
  }

  .nav-header-text {
    font-size: 0.8rem;
    line-height: 1.1;
  }

  .navbar-toggler {
    border: none;
    outline: none;
  }

  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' fill='%23003366' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(0,0,0, 0.5)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }

  .navbar-collapse {
    background: #f8f9fa;
        padding: 2px 4px;
        border-radius: 10px;
        margin-left: 115px;
  }

  .navbar-nav .nav-link {
    font-size: 1rem;
    padding: 5px 6px;
    text-align: left;
  }

  .nav-social-links {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
  }

  .nav-social-links a {
    font-size: 1.2rem;
    color: #003366;
    margin: 0 0.5rem;
  }

  .nav-social-links{
    display: none;
  }

  .section-title h4.title {
    font-size: 20px;
    line-height: 26px;
  }

  .section-title p.sub-title {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .swiper {
    padding: 10px 0;
  }

  .swiper-slide {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 80% !important; /* Show one slide more centered */
    margin: 0 auto;
  }

  .swiper-slide img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
  }

  .teacher-name {
    font-size: 14px;
    margin-top: 8px;
  }

  .swiper-button-next,
  .swiper-button-prev {
    display: none; /* Optional: hide nav buttons for simplicity on small screens */
  }

  .swiper-pagination {
    bottom: 5px !important;
  }


}
