/*=========================== Top Header==================== */
.top-header {
  background: #ffffff;
  color: #000;
  border-bottom: 1px solid #eee;
}

/* Mobile View */
@media (max-width: 767px) {
  .top-header img {
    height: 100px !important;
    /* smaller size */
    width: auto !important;
    /* keep proportions */
  }
}


@media (max-width: 767px) {
  .top-info {
    display: none !important;
  }
}
/* School name styling */
.school-name h2{
    font-size: 23px;
    font-weight: 800;
    color: #011f4d;
    margin: 0;
    line-height: 1.2;
}

.school-name small{
    font-size: 13px;
    color: #666;
    letter-spacing: 1px;
}

/* Mobile adjustment */
@media (max-width: 767px){
    .school-name h2{
        font-size: 18px;
    }

    .school-name small{
        font-size: 11px;
    }
}

/*=========================== TABLET VIEW ====================*/
@media (min-width: 768px) and (max-width: 991px) {

  .top-info {
    display: none !important;
  }
}





/*======================== Navigation menu SECTION =======================*/



.nav-menu {
  background-image: linear-gradient(to right, #02302c 0%, #02302c 100%);



}

.nav-item {
  font-size: 15px;

}


.nav-link {
  font-weight: 600;
  padding: 6px 10px !important;
  border-radius: 4px;
  color: #e5e5e5;
}

.nav-link.active {
  background: #ffffff;
  color: #e5e5e5;
}

.nav-link:hover {
  background-color: #ffffff;
  color: #140255 !important;
}

.dropdown-menu {
  border-radius: 11px;
}

.dropdown-menu:hover {
  background: #E4E5E6;
  color: white;
}

.dropdown-item:hover {

  background: linear-gradient(to right, #2c3e50, #2980b9);
  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  color: white;
  font-weight: 510;
}


/*======================== HERO SECTION =======================*/

.hero-full {
  width: 100%;
  position: relative;
  overflow: hidden;
}

/* LEFT IMAGE */
.hero-left {
  width: 100%;
  height: 400px;
  background: url(img/school-image.jpeg) center/cover no-repeat;
  position: relative;
}


.layer1, .layer2, .layer3 {
  position: absolute;
  top: 0;
  right: -10%;
  width: 60%;
  height: 100%;
  transform: skewX(-22deg);
  pointer-events: none;

}



/* BLUE RIGHT PANEL */
.hero-right {
  position: absolute;
  top: 0;
  right: 0;
  width: 32% !importnat;
  height: 100%;
  background: #f7bc0a;
  padding: 60px 40px;
  color: #02302c;
  font-weight: 700;
  text-align: center;
  display: flex;
  align-items: center;
}

.hero-logo {
  height: 200px;
  margin-bottom: 15px;
}

.hero-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
}


@media (max-width: 991px) {
  .hero-right {
    position: relative;
    width: 100%;
    height: auto;
    padding: 35px;
  }

  .layer1, .layer2, .layer3 {
    display: none;
  }

  .blue-lines {
    display: none;
  }

  .hero-left {
    height: 320px;
  }

  .hero-title {
    font-size: 20px;
  }
}

/*  MOBILE */
@media (max-width: 767px) {
  .hero-right {
    display: none !important;
  }
}


.hero-right {
  position: absolute;
  top: 0;
  right: -80px;
  width: 45%;
  height: 100%;
  background: #ffffff;
  padding: 70px 40px;
  color: #02302c;
  font-weight: 700;
  text-align: center;
  display: flex;
  align-items: center;

  /* PANEL TILT */
  transform: skewX(22deg);
}

/* FIX CONTENT - Unskew */
.hero-right>* {
  transform: skewX(-22deg);
}





/*===========================  ABOUT  SECTION ==================== */

/* About Section Background */
.about-section {
  background: url("img/school-bg.jpg") no-repeat center center/cover;
  padding: 80px 20px;
  position: relative;
  color: hsl(0, 1%, 42%);
}

/* Dark Overlay for readability */
.about-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url(img/8038874_25098.jpg);
  background-size: cover;
}

/* Main container */
.about-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1300px;
  margin: auto;
  z-index: 1;
}

/* Text Box */
.about-text {
  flex: 1;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 0px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.363);
}

.about-text h2 {
  font-size: 32px;
  margin-bottom: 15px;
  color: #04025c;
}

.about-text p {
  font-size: 16px;
  line-height: 1.6;
  color: #525151;
  margin-bottom: 15px;
}

/* Button */
.about-text button {
  padding: 10px 20px;
  border: none;
  background: #ffcc00;
  color: #000;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.about-text button:hover {
  background: #04025c;
  color: #e6ecff;
}

/* Image Side */
.about-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.about-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 4px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transform: scale(1);
  transition: 0.4s ease;
}

.about-image img:hover {
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  .about-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .about-image img {
    max-width: 300px;
  }
}



/*===========================  Notice board  ==================== */


body {
  background: #eef2f7;
  font-family: Arial, sans-serif;
}

/* ===== SECTION TITLE ===== */
.section-title {
  font-weight: 800;
  margin-bottom: 15px;
  color: #1f2d3d;
}

/* ===== BOARD CARD ===== */
.board-card {
  background: white;
  border-radius: 1px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.13);
  overflow: hidden;
  border: 1px solid #dcdcdcde;
  /* Border Added */
}

/* ===== HEADER ===== */
.board-header {
  padding: 12px 16px;
  font-weight: 700;
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1 px solid #000;
}

.notice-header {
  background: #02302C;
}

.announce-header {
  background: #02302C;
}

.doc-header {
  background: #02302C;
}

/* ===== TABLE STYLE ===== */
.table thead {
  background: #f1f3f6;
}

.table td, .table th {
  vertical-align: middle;
  font-size: 14px;
}

/* ===== SCROLL AREA ===== */
.scroll-box {
  height: 280px;
  overflow: hidden;
  position: relative;
}

/* smooth vertical ticker */
.scroll-content {
  position: absolute;
  width: 100%;
  animation: scrollUp 14s linear infinite;
}

.scroll-box:hover .scroll-content {
  animation-play-state: paused;
}

@keyframes scrollUp {
  0% {
    top: 100%;
  }

  100% {
    top: -30%;
  }
}

/* ===== DOWNLOAD BUTTON ===== */
.download-btn {
  background: #198754;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 13px;
}

.download-btn:hover {
  background: #054226;
  color: white;
}

/*===========================  FIRST SECTION AFTER HERO  ==================== */

.feature-split-section {
  background-image: url('img/8038874_25098.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.feature-heading {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
}

.image-wrapper {
  position: relative;
  width: 100%;
  max-width: 550px;
  margin: auto;
  aspect-ratio: 4 / 3;
}

.main-feature-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.info-box {
  position: absolute;
  width: 45%;
  max-width: 220px;
  background: #dff3ffee;
  padding: 20px 24px;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.info-box h5 {
  font-size: 14px;
  margin: 0;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.info-box p {
  font-size: 12px;
  margin: 4px 0 0;
}

.info-box i {
  font-size: 18px !important;
  color: orange;
}

/* --- BOX POSITIONS  --- */
.box1 {
  top: 35%;
  left: -20%;
}

.box2 {
  top: 35%;
  right: 35%;
}

.box3 {
  bottom: 15%;
  left: -20%;
}

.box4 {
  bottom: 15%;
  right: 35%;
}

/*================ MOBILE (0–767px) =================*/
@media (max-width: 767px) {

  .feature-heading {
    font-size: 24px;
  }

  .image-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .main-feature-image {
    width: 100%;
    margin-bottom: 15px;
  }

  .info-box {
    position: static;
    width: 85%;
    max-width: 300px;
    margin: 10px auto;
    text-align: center;
  }

  .info-box h5 {
    justify-content: center;
  }
}


/*================ TABLET ONLY (768–991px) =================*/
@media (min-width: 768px) and (max-width: 991px) {

  .image-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .main-feature-image {
    flex: 0 0 100%;
    width: 100%;
    margin-bottom: 15px;
  }

  .info-box {
    position: static;
    width: 45%;
    max-width: 260px;
    margin: 10px;
    text-align: center;
  }
}

/*=========================== RECENT GALLERY  SECTION ==================== */



/* --- Swiper pagination visibility --- */
.newsSwiper {
  padding-bottom: 34px;

  position: relative;
  z-index: 0;
}

.swiper-pagination {
  display: block !important;
  text-align: center;
  bottom: 10px !important;
  z-index: 10 !important;
  position: absolute !important;
  left: 0;
  right: 0;
}


.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #b02222;
  opacity: 0.35;
  margin: 0 6px;
  border-radius: 50%;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  transform: scale(1.05);
  background: #b02222;
}


/*----------------  RESENT SECTION ------------------ */


.news-events-section {
  background: #dfe2e0;
  padding: 80px 40px;
  font-family: 'Inter', sans-serif;
}

.left-content {
  padding-left: 40px;
}

.section-title {
  font-size: 42px;
  font-weight: 700;
}

.red {
  color: #b02222;
}

.section-subtitle {
  font-size: 28px;
  margin-top: 10px;
}

.underline {
  width: 70px;
  height: 4px;
  background: #02302C;
  margin: 25px 0;
}

.desc {
  color: #6b6b6b;
  width: 80%;
  line-height: 1.7;
}

.custom-btn {
  padding: 10px 25px;
  border-radius: 25px;
  border: 1px solid #02302C;
  color: #02302C;
  display: inline-block;
  margin-bottom: 15px;
  transition: 0.3s;
  text-decoration: none;
}

.custom-btn:hover {
  background: #02302C;
  color: #FFCC00;
}

.event-card {
  background: #fff;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.event-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.event-content {
  padding: 10px;
  flex-grow: 1;
}

.meta {
  color: #02302C;
  font-size: 14px;
}

.event-title {
  margin: 5px 0 10px;
  font-size: 18px;
  font-weight: 600;
}

.event-footer {
  background: #02302C;
  color: #fff;
  padding: 12px;
  text-align: center;
  font-size: 14px;
  border-radius: 0 0 20px 20px;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #02302C !important;
  opacity: 0.4;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background: #02302C !important;
}

.newsSwiper {
  padding-bottom: 40px;
  /* space for dots */
}

@media (max-width: 767px) {
  .button-group {
    display: flex;
    gap: 12px;
    flex-wrap: nowrap;
    align-items: center;
  }

  .custom-btn {
    font-size: 13px;
    padding: 8px 10px;
  }
}


/* =============== FORCE SWIPER TO WORK EVEN IF BOOTSTRAP OVERRIDES ==================*/
.myNewsSwiper {
  width: 100%;
  padding-bottom: 40px;
}

.myNewsSwiper .swiper-wrapper {
  display: flex !important;
}

.myNewsSwiper .swiper-slide {
  height: auto !important;
}

.myNewsSwiper .swiper-slide1 {
  height: auto !important;
}

.swiper-pagination-bullet {
  background: #02302C !important;
  opacity: 0.4;
}

.swiper-pagination-bullet-active {
  opacity: 1;
}



/*=========================== NEXT SECTION ==================== */

.custom-section {
  padding: 60px 20px;
  font-family: "Inter", sans-serif;
  background-color: #02302C;
}

/* =========== LEFT - TAB BUTTONS =========== */
.tab-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.tab-btn {
  flex: 1;
  padding: 10px;
  border-radius: 6px;
  background: #f3f0f0;
  border: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s ease;
}

.tab-btn i {
  font-size: 18px;
}

.tab-btn:hover {
  background: #fdfdfc4b;
  color: rgb(255, 255, 255);
  transform: translateY(-2px);
}

.tab-btn.active {
  background: #FFCC00;
  color: white;
  transform: scale(1.02);
}

/* =========== CONTENT BOX =========== */
.tab-content-box {
  background: #f5f4f4;
  border-radius: 2px;
  padding: 30px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.tab-content {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: 0.4s ease;
}

.tab-content.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Sliding animation class */
.slideIn {
  animation: slideIn .5s ease;
}

@keyframes slideIn {
  from {
    transform: translateX(40px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.tab-img {
  width: 100%;
  border-radius: 2px;
  height: 210px;
  object-fit: cover;
  transition: 0.3s;
}

.tab-img:hover {
  transform: scale(1.04);
}

.read-more-btn {
  padding: 10px 18px;
  background: #014425;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}

.read-more-btn:hover {
  background: #FFCC00;
  color: #014425;
}

/* =========== RIGHT SIDE - INFO CARDS (STICKY) =========== */

.sticky-side {
  position: sticky;
  top: 120px;
}

.right-area {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.info-card {
  background: #ebebeb;
  padding: 12px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
  transition: 0.35s ease;
  position: relative;
  overflow: hidden;
}


.info-card::before {
  content: "";
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(244, 248, 13, 0.089);
  transition: 0.45s ease-in-out;
}


.info-card:hover {
  transform: translateX(12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  background: #f8dede;
  /* color change */
}

.info-card:hover::before {
  left: 0%;
}

.icon-box {
  background: #b02222;
  color: white;
  padding: 1px;
  font-size: 22px;
  border-radius: 2px;
  transition: 0.3s;
}

.info-card:hover .icon-box {
  transform: scale(1.07);
}

/*================ TABLET (≤991px) =================*/
@media (max-width: 991px) {

  /* Stack layout */
  .left-area,
  .right-area {
    width: 100%;
  }


  .sticky-side {
    position: static;
    margin-top: 30px;
  }


  .tab-buttons {
    flex-wrap: wrap;
  }

  .tab-btn {
    flex: 48%;
  }


  .tab-content-box {
    padding: 20px;
  }
}

/*================ MOBILE (≤767px) =================*/
@media (max-width: 767px) {

  .custom-section {
    padding: 40px 15px;
  }

  /* Tabs full width */
  .tab-btn {
    flex: 100%;
    font-size: 14px;
    padding: 12px;
  }

  .tab-content .row {
    flex-direction: column;
    text-align: center;
  }

  .tab-img {
    height: 180px;
    margin-bottom: 15px;
  }

  .tab-title {
    font-size: 20px;
  }

  .tab-desc {
    font-size: 14px;
  }


  .read-more-btn {
    display: inline-block;
    margin-top: 10px;
  }


  .right-area {
    margin-top: 25px;
  }

  .info-card {
    justify-content: center;
    text-align: center;
    flex-direction: column;
  }

  .icon-box {
    margin-bottom: 8px;
  }
}

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

  .right-area {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 0 8px;
  }

  .info-card {
    flex: 0 0 calc(33.33% - 6px);
    max-width: calc(33.33% - 6px);

    padding: 10px 6px;
    border-radius: 12px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
    box-sizing: border-box;
  }

  .icon-box {
    margin-bottom: 4px;
  }

  .icon-box i {
    font-size: 15px !important;
  }

  .info-text {
    font-size: 11px;
    line-height: 1.2;
    margin: 0;
  }

  .icon-box {
    background: transparent !important;
    padding: 0 !important;
    margin-bottom: 4px;
  }

  .icon-box i {
    font-size: 16px !important;
    color: #b02222 !important;
    line-height: 1;
  }

  .info-card {
    gap: 4px;
  }

}

/*===========================BEFORE FOOTER  SECTION ==================== */


.life-section {
  width: 100%;
  background: url(img/8038874_25098.jpg);
  background-size: cover;
  padding: 50px 0;
  font-family: "Inter", sans-serif;
}


.life-container {
  display: flex;
  flex-wrap: wrap;
  padding: 0 15px;
}


.life-left {
  width: 40%;
  padding: 80px 60px;
}

.life-title {
  font-size: 42px;
  line-height: 1.2;
  font-weight: 600;
}

.life-desc {
  margin: 20px 0 35px;
  color: #555;
  width: 80%;
}

.life-btn {
  border: 1px solid #011F4D;
  padding: 12px 22px;
  border-radius: 6px;
  color: #011F4D;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.life-btn:hover {
  background: #011F4D;
  color: white;
}


.life-right {
  width: 60%;
  background: #0f0c29;
  padding: 40px 0 70px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}


.life-slider .swiper-slide img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 6px;
}

.myLifeSwiper {
  width: 85%;
}


.life-arrows {
  display: flex;
  gap: 20px;
  margin-top: 28px;
}

.life-prev,
.life-next {
  width: 45px;
  height: 45px;
  border: 2px solid white;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  transition: 0.3s;
}

.life-prev:hover,
.life-next:hover {
  background: rgba(255, 255, 255, 0.2);
}



/* IMAGE HOVER EFFECTS & OVERLAY */

.life-slider .swiper-slide {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}

.life-slider .swiper-slide img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.life-slider .swiper-slide1 {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}

.life-slider .swiper-slide1 img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.life-slider .swiper-slide:hover img {
  transform: scale(1.12);
}


.life-slider .swiper-slide::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  transition: background 0.4s ease;
}

.life-slider .swiper-slide:hover::after {
  background: rgba(0, 0, 0, 0.35);
}
.life-slider .swiper-slide1:hover img {
  transform: scale(1.12);
}


.life-slider .swiper-slide1::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  transition: background 0.4s ease;
}

.life-slider .swiper-slide1:hover::after {
  background: rgba(0, 0, 0, 0.35);
}


/* SCROLL FADE-IN ANIMATION */


.life-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}

.life-section.visible {
  opacity: 1;
  transform: translateY(0);
}




.life-prev,
.life-next {
  z-index: 9999 !important;
  pointer-events: auto !important;
  position: relative;

}


.life-slider .swiper-slide::after,
.slide-card::after {
  pointer-events: none;

}


/*        LIGHTBOX POPUP           */

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.507);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
  animation: zoomIn 0.35s ease forwards;
}

@keyframes zoomIn {
  from {
    transform: scale(0.5);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lightbox-close {
  position: absolute;
  top: 40px;
  right: 40px;
  font-size: 45px;
  color: white;
  cursor: pointer;
  z-index: 100000;
  transition: 0.3s;
}

.lightbox-close:hover {
  color: #ff4a4a;
  transform: scale(1.2);
}


.lightbox img {
  pointer-events: auto;
}

/*================ TABLET (≤991px) =================*/
@media (max-width: 991px) {

  .life-left,
  .life-right {
    width: 100%;
  }

  .life-left {
    padding: 40px 20px;
    text-align: center;
  }

  .life-title {
    font-size: 32px;
  }

  .life-desc {
    width: 100%;
  }

  .life-right {
    padding: 30px 0 50px;
  }

  .myLifeSwiper {
    width: 90%;
  }
}

/*================ MOBILE (≤767px) =================*/
@media (max-width: 767px) {

  .life-section {
    padding: 30px 0;
  }

  .life-left {
    padding: 30px 15px;
    text-align: center;
  }

  .life-title {
    font-size: 24px;
    line-height: 1.3;
  }

  .life-desc {
    font-size: 14px;
    margin: 15px 0 25px;
  }

  .life-btn {
    padding: 10px 16px;
    font-size: 14px;
  }

  .life-right {
    padding: 20px 0 40px;
  }

  .life-slider .swiper-slide img {
    height: 180px;
  }

  .myLifeSwiper {
    width: 92%;
  }

  .life-prev,
  .life-next {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }

  .life-arrows {
    gap: 12px;
    margin-top: 15px;
  }
}

/*=========================== FOOTER SECTION ==================== */

/* FOOTER MAIN STYLES */

.modern-footer {
  background-color:#0F0C29;
  

  color: #fff;
  position: relative;
  padding-top: 80px;
  overflow: hidden;
}

.footer-top-shape {
  position: absolute;
  top: -70px;
  left: 0;
  width: 100%;
  height: 140px;
  background: #fff;
  border-bottom-left-radius: 100% 60%;
  border-bottom-right-radius: 100% 60%;
}

.footer-logo {
  width: 110px;
  filter: brightness(100%);
}

.footer-school-name {
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.4;
}

.footer-tagline {
  font-size: 14px;
  opacity: 0.8;
}

.footer-heading {
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffea00;
}

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

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

.footer-links a {
  color: #fff;
  text-decoration: none;
  opacity: 0.85;
  transition: 0.3s;
}

.footer-links a:hover {
  opacity: 1;
  padding-left: 4px;
}


.footer-bottom {
  text-align: center;
  padding: 15px 0;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 20px;
  opacity: 0.85;
}





/*=========================== ABOUT SECTION ==================== */


.about-section {
  padding: 80px 0;
  background: #f7f9fc;
  position: relative;
}

.about-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
}

/* LEFT CONTENT */
.about-content {
  flex: 1;
  min-width: 320px;
}

.about-content h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #02302C;
}

.about-content p {
  color: #3d3d3d;
  line-height: 1.7;
  margin-bottom: 15px;
  font-size: 16px;
}

.about-btn {
  display: inline-block;
  padding: 12px 26px;
  background: #a60000;
  color: #fff;
  border-radius: 6px;
  font-size: 15px;
  text-decoration: none;
  transition: 0.3s ease;
}

.about-btn:hover {
  background: #8c0000;
  transform: translateY(-3px);
}


.about-image {
  flex: 1;
  min-width: 320px;
  position: relative;
}

.about-img-box {
  position: relative;
  width: 100%;
  border-radius: 2px;
  overflow: hidden;
}

.about-img-box img {
  width: 100%;
  border-radius: 2px;
  transition: 0.5s ease;
  object-fit: cover;
}


.about-img-box:hover img {
  transform: scale(1.06);
}


.about-shape1,
.about-shape2 {
  position: absolute;
  border-radius: 50%;
  z-index: -1;
  opacity: 0.15;
}

.about-shape1 {
  width: 160px;
  height: 160px;
  background: #ff4d4d;
  bottom: -40px;
  right: -40px;
}

.about-shape2 {
  width: 120px;
  height: 120px;
  background: #1c5cff;
  top: -40px;
  left: -30px;
}


@media(max-width: 992px) {
  .about-wrapper {
    text-align: center;
  }

  .about-content {
    order: 2;
  }

  .about-image {
    order: 1;
  }
}


/*=========================== PRINCIPAL SECTION ==================== */

.principal-section {
  background: #f6f9ff;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: #003366;
}

.principal-text {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
}

.principal-img-box img {
  border: 4px solid #e6ecff;
  border-radius: 20px;
  transition: 0.3s;
}

.principal-img-box img:hover {
  transform: scale(1.05);
}


/*=========================== ACADEMIC SECTION ==================== */



.acad-section {
  display: none !important;
  opacity: 0;
  transform: translateY(20px);
  transition: 0.4s ease;
  padding: 40px;
}


.acad-section:target {
  display: block !important;
  opacity: 1;
  transform: translateY(0);
}


body:not(:has(:target)) #academic-details {
  display: block !important;
  opacity: 1;
  transform: translateY(0);
}


.acad-card {
  max-width: 100%;
  margin: auto;
  background: #ffffff;
  padding: 40px;
  border-radius: 2px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
  border-left: 6px solid #022360;
}


.pdf-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 22px;
  background: #022360;
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.pdf-btn:hover {
  background: #F0DB24;
  color: #5225F0;
  transform: translateY(-3px);
}


/*=========================== ADMISSION SECTION ==================== */
body {
  background: #f7f9fc;
  font-family: 'Poppins', sans-serif;
}


.pattern-bg {
  background-image: radial-gradient(#d0d0d0 1px, transparent 1px);
  background-size: 18px 18px;
  padding: 70px 0;
}


.wrapper {
  display: flex;
  max-width: 1200px;
  margin: auto;
  gap: 25px;
  padding: 0 20px;
}


.side-nav {
  width: 260px;
  background: #fff;
  padding: 25px;
  border-radius: 18px;
  position: sticky;
  top: 120px;
  height: fit-content;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.07);
  border: 1px solid #eee;
}

.side-nav h3 {
  font-weight: 600;
  margin-bottom: 20px;
  font-size: 20px;
}

.side-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  margin-bottom: 10px;
  background: #f3f5f8;
  border-radius: 12px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: .25s;
}


.side-nav a:hover,
.side-nav a:focus,
section:target~.side-nav a[href="#${target}"] {
  background: #022360;
  color: #fff !important;
}


.content-section {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: .45s ease;
  flex: 1;
}


.content-section:target {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.section-box {
  background: white;
  padding: 40px;
  border-radius: 18px;
  border: 1px solid #e9e9e9;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
}

.section-box h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
}

.section-box p {
  line-height: 1.8;
  color: #444;
}




/* DESKTOP DEFAULTS */

.wrapper {
  display: flex;
  gap: 30px;
}

.side-nav {
  width: 250px;
}

.content-section {
  flex: 1;
}




/* MOBILE RESPONSIVE FIX */

@media (max-width: 767px) {


  .wrapper {
    flex-direction: column;
    padding: 0 15px;
  }


  .side-nav {
    width: 100% !important;
    margin-bottom: 15px;
    text-align: center;
  }

  .side-nav a {
    display: block;
    padding: 10px;
    background: #022360;
    color: #fff;
    margin-bottom: 8px;
    border-radius: 6px;
  }

  .side-nav h3 {
    font-size: 20px;
    margin-bottom: 10px;
    text-align: center;
  }

  .content-section {
    width: 100%;
  }

  /* Section box styling */
  .section-box {
    padding: 15px;
    border-radius: 10px;
  }

  /* Fix button full width look */
  .section-box .btn {
    width: 100%;
    text-align: center;
  }
}



/*=========================== OUR STAFF SECTION ==================== */


.section {
  display: block;
  min-height: 100%;
  padding: 50px 15px;
  background-color: #fff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
  border-radius: 6px;
  margin: 20px auto;
  max-width: 1200px;
  /* keeps content centered on large screens */
}

/* Animation */
.section:target {
  animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Heading */
h2 {
  margin-bottom: 25px;
  color: #343a40;
  font-weight: 600;
  text-align: center;
}

/* Grid */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  /* FIXED */
  gap: 20px;
}

/* Card */
.staff-card {
  text-align: center;
  background: #F5EFD9;
  padding: 15px;
  border-radius: 2px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.staff-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Image */
.staff-card img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #f5d41c;
  transition: transform 0.3s;
}

.staff-card img:hover {
  transform: scale(1.05);
}

/* Text */
.staff-card h5 {
  margin-top: 10px;
  margin-bottom: 5px;
  font-weight: 600;
  color: #032260;
}

.staff-card p {
  color: #555;
  font-size: 0.9rem;
  margin: 0;
}

/* 🔥 Mobile Optimization */
@media (max-width: 768px) {
  .section {
    padding: 30px 10px;
  }

  .staff-grid {
    grid-template-columns: repeat(2, 1fr);
    /* 2 cards per row */
  }

  .staff-card img {
    width: 90px;
    height: 90px;
  }

  h2 {
    font-size: 22px;
  }
}

/* 🔥 Extra Small Devices */
@media (max-width: 480px) {
  .staff-grid {
    grid-template-columns: 1fr;
    /* 1 per row */
  }

  .staff-card img {
    width: 80px;
    height: 80px;
  }
}




/*=========================== PHOTO GALLERY SECTION ==================== */

.album-card {
  border-radius: 2px;
  overflow: hidden;
  transition: .3s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  background-color: #96d6b7;
}

.album-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.album-thumb {
  height: 220px;
  object-fit: cover;
  width: 100%;
}

.album-title {
  padding: 15px;
  font-weight: 600;
  font-size: 18px;
}

/*=========================== ALBUM 1 SECTION ==================== */

.gallery-container {
  padding: 40px 0;
}

.gallery-title {
  text-align: center;
  font-weight: 700;
  margin-bottom: 25px;
  font-size: 32px;
}

.gallery img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform .3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
}

/*=========================== VIDEO GALLERY  SECTION ==================== */


/* VIDEO SECTION */
.video-section {
  background: #F5EFD9;
}

/* TITLE */
.section-title h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111;
}

.section-title p {
  color: #666;
  margin-top: 10px;
}

/* MAIN VIDEO */
.main-video-box {
  background: #fff;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.main-video-box iframe {
  width: 100%;
  height: 350px;
  border: 0;
}

.video-info {
  padding: 25px;
}

.video-info h4 {
  font-weight: 600;
  margin-bottom: 12px;
}

.video-info p {
  color: #666;
  line-height: 1.7;
}

/* SIDE VIDEOS */
.side-video-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* VIDEO ITEM */
.video-item {
  display: flex;
  gap: 15px;
  background: #fff;
  padding: 12px;
  border-radius: 2px;
  align-items: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
  transition: 0.3s;
}

.video-item:hover {
  transform: translateY(-4px);
}

.video-item iframe {
  width: 120px;
  height: 90px;
  border-radius: 8px;
  border: 0;
  flex-shrink: 0;
}

.video-text h6 {
  margin-bottom: 6px;
  font-weight: 600;
  color: #111;
}

.video-text span {
  font-size: 14px;
  color: #777;
}

/* TABLET */
@media (max-width: 991px) {

  .main-video-box iframe {
    height: 350px;
  }

  .side-video-box {
    margin-top: 25px;
  }
}

/* MOBILE */
@media (max-width: 576px) {

  .section-title h2 {
    font-size: 1.9rem;
  }

  .main-video-box iframe {
    height: 230px;
  }

  .video-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .video-item iframe {
    width: 100%;
    height: 200px;
  }
}

/*=========================== RECENT ACTIVITY SECTION ==================== */
.gallery-card {
  background: #f1e5ba;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
  height: 100%;
}

.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.gallery-card .card-body {
  padding: 15px;
  text-align: center;
}

.gallery-card h5 {
  margin-bottom: 8px;
  color: #032260;
  font-weight: 600;
}

.gallery-card p {
  font-size: 0.9rem;
  color: #555;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .gallery-card img {
    height: 180px;
  }
}

/*=========================== CONTECT SECTION ==================== */




.contact-info .card {
  border-radius: 2px;
  transition: 0.3s;
  border: none;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.1);
}

.contact-info .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.contact-info i {
  font-size: 28px;
  color: #260454;
  margin-bottom: 12px;
}



.map-container {
  width: 100%;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
}

/* principle */
/* ==========================
   PRINCIPAL MESSAGE SECTION
========================== */

.principal-section{
    background: url(img/8038874_25098.jpg);
    background-size: cover;
    padding: 50px 10px;
}

.principal-wrapper{
    display: flex;
    align-items: center;
    
    gap: 0px;
    max-width: 1300px;
    margin: auto;
}

/* Image Side */

.principal-image{
    flex: 1;
    display: flex;
    justify-content: center;
}

.principal-image img{
    width: 100%;
    max-width: 350px;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.164);
    transition: .4s ease;
}

.principal-image img:hover{
    transform: scale(1.03);
}

/* Text Side */

.principal-text{
    flex: 1;
    background: #ffffff;
    padding: 35px;
    border-left: 5px solid #ffcc00;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

.principal-text h2{
    color: #011f4d;
    margin-bottom: 20px;
    font-size: 32px;
    font-weight: 700;
}

.principal-text p{
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 16px;
}

.principal-text h5{
    color: #014425;
    font-weight: 700;
}

/* Responsive */

@media (max-width:768px){

    .principal-wrapper{
        flex-direction: column;
        text-align: center;
    }

    .principal-image img{
        max-width: 300px;
    }

    .principal-text{
        border-left: none;
        border-top: 5px solid #011f4d;
    }

}