
@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Bebas+Neue&family=Dosis:wght@200..800&family=Momo+Trust+Display&family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Oswald:wght@200..700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Sofia&family=Stack+Sans+Headline:wght@200..700&family=Stack+Sans+Notch:wght@200..700&family=Stack+Sans+Text:wght@200..700&family=Zilla+Slab:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap');

body {
  --heading-font: "Inter", sans-serif;
  --bs-link-color: #333;
  --bs-link-hover-color: #333;

  --bs-link-color-rgb: 40, 40, 40;
  --bs-link-hover-color-rgb: 0, 0, 0;

  --bs-light-rgb: 248, 248, 248;

  --bs-font-sans-serif: "Inter", sans-serif;
  --bs-body-font-family: var(--bs-font-sans-serif);
  --bs-body-font-size: 1rem;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 2;
  --bs-body-color: #747474;

  --bs-primary: #6BB252;
  --bs-primary-rgb: 107, 178, 82;

  --bs-secondary: #364127;
  --bs-secondary-rgb: 54, 65, 39;

  --bs-danger: #F95F09;
  --bs-danger-rgb: 249, 95, 9;

  --bs-success: #a3be4c;
  --bs-success-rgb: 163, 190, 76;

  --bs-primary-bg-subtle: #FFF9EB;
  --bs-success-bg-subtle: #eef5e5;

  --bs-border-color: #F7F7F7;
}

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--bs-primary);
  --bs-btn-border-color: transparent;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #f7a422;
  --bs-btn-hover-border-color: transparent;
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--bs-primary);
  --bs-btn-active-border-color: transparent;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #d3d7dd;
  --bs-btn-disabled-border-color: transparent;
}

.btn-outline-primary {
  --bs-btn-color: var(--bs-primary);
  --bs-btn-border-color: var(--bs-primary);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #ffc107;
  --bs-btn-hover-border-color: #ffc107;
  --bs-btn-focus-shadow-rgb: 13, 110, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #ffc107;
  --bs-btn-active-border-color: #ffc107;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff3cd;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #fff3cd;
  --bs-gradient: none;
}

.btn-outline-light {
  --bs-btn-color: #747474;
  --bs-btn-border-color: #EFEFEF;
  --bs-btn-hover-color: #000;
  --bs-btn-hover-bg: #EFEFEF;
  --bs-btn-hover-border-color: #EFEFEF;
  --bs-btn-focus-shadow-rgb: 248, 249, 250;
  --bs-btn-active-color: #000;
  --bs-btn-active-bg: #EFEFEF;
  --bs-btn-active-border-color: #EFEFEF;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #EFEFEF;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #EFEFEF;
  --bs-gradient: none;
}

.btn-warning {
  --bs-btn-color: #747474;
  --bs-btn-bg: #FCF7EB;
  --bs-btn-border-color: #FCF7EB;
  --bs-btn-hover-color: #747474;
  --bs-btn-hover-bg: #FFECBE;
  --bs-btn-hover-border-color: #FFECBE;
  --bs-btn-focus-shadow-rgb: 217, 164, 6;
  --bs-btn-active-color: #000;
  --bs-btn-active-bg: #FFECBE;
  --bs-btn-active-border-color: #FFECBE;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #000;
  --bs-btn-disabled-bg: #FCF7EB;
  --bs-btn-disabled-border-color: #FCF7EB;
}

.btn-success {
  --bs-btn-color: #222;
  --bs-btn-bg: #EEF5E4;
  --bs-btn-border-color: #EEF5E4;
  --bs-btn-hover-color: #222;
  --bs-btn-hover-bg: #9de3c2;
  --bs-btn-hover-border-color: #9de3c2;
  --bs-btn-focus-shadow-rgb: 60, 153, 110;
  --bs-btn-active-color: #222;
  --bs-btn-active-bg: #9de3c2;
  --bs-btn-active-border-color: #9de3c2;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #222;
  --bs-btn-disabled-bg: #EEF5E4;
  --bs-btn-disabled-border-color: #EEF5E4;
}

.btn-danger {
  --bs-btn-color: #222;
  --bs-btn-bg: #FFEADA;
  --bs-btn-border-color: #FFEADA;
  --bs-btn-hover-color: #222;
  --bs-btn-hover-bg: #ecc9af;
  --bs-btn-hover-border-color: #ecc9af;
  --bs-btn-focus-shadow-rgb: 60, 153, 110;
  --bs-btn-active-color: #222;
  --bs-btn-active-bg: #ecc9af;
  --bs-btn-active-border-color: #ecc9af;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #222;
  --bs-btn-disabled-bg: #FFEADA;
  --bs-btn-disabled-border-color: #FFEADA;
}

body {
  letter-spacing: 0.03em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading-font);
  color: var(--bs-dark);
  font-weight: 700;
}

.breadcrumb.text-white {
  --bs-breadcrumb-divider-color: #fff;
  --bs-breadcrumb-item-active-color: var(--bs-primary);
}

.dropdown-menu {
  --bs-dropdown-link-active-bg: var(--bs-primary);
}

.nav-pills .nav-link {
  --bs-nav-pills-link-active-color: #111;
  --bs-nav-pills-link-active-bg: #f1f1f1;
}

.pagination {
  --bs-pagination-active-bg: var(--bs-primary);
  --bs-pagination-active-border-color: var(--bs-primary);
}

.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
  --bs-gutter-x: 3rem;
}

.all-caps-title {
    color: rgb(3 33 72);
    font-family: "Bebas Neue", sans-serif;
    font-size: 36px;
    letter-spacing: 2.7px;
}


@media (min-width: 1400px) {
  .container-lg {
    max-width: 1600px;
  }
}

.banner-blocks {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-gap: 2rem;
}

.block-1 {
  grid-area: 1 / 1 / 3 / 8;
}

.block-2 {
  grid-area: 1 / 8 / 2 / 13;
}

.block-3 {
  grid-area: 2 / 8 / 3 / 13;
}

@media screen and (max-width:1140px) {
  .banner-blocks {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 1fr);
  }

  .block-1 {
    grid-area: 1 / 1 / 3 / 2;
  }

  .block-2 {
    grid-area: 3 / 1 / 4 / 2;
  }

  .block-3 {
    grid-area: 4 / 1 / 5 / 2;
  }

}

/* Swiper carousel */
.swiper-prev,
.swiper-next {
  width: 38px;
  height: 38px;
  line-height: 38px;
  background: #F1F1F1;
  color: #222222;
  padding: 0;
  text-align: center;
  border-radius: 10px;
  --bs-btn-border-color: transparent;
  --bs-btn-active-bg: #ec9b22;
  --bs-btn-active-border-color: transparent;
  --bs-btn-hover-bg: var(--bs-primary);
  --bs-btn-hover-border-color: transparent;
  --bs-btn-disabled-color: #ccc;
  --bs-btn-disabled-bg: #eaeaea;
  --bs-btn-disabled-border-color: #eaeaea
}

.swiper-prev:hover,
.swiper-next:hover {
  background: var(--bs-primary);
}

.facilities-swiper .swiper-wrapper {
  transition-timing-function: linear;
}

/* category carousel */
.category-carousel .category-item {
  background: #FFFFFF;
  border: 1px solid #FBFBFB;
  box-shadow: 0px 5px 22px rgba(0, 0, 0, 0.04);
  border-radius: 16px;
  text-align: center;
  padding: 60px 20px;
  margin: 20px 0;
  transition: box-shadow 0.3s ease-out, transform 0.3s ease-out;
}

.category-carousel .category-item:hover {
  transform: translate3d(0, -10px, 0);
  box-shadow: 0px 21px 44px rgba(0, 0, 0, 0.08);
}

.category-carousel .category-item .category-title {
  font-weight: 600;
  font-size: 20px;
  line-height: 27px;
  letter-spacing: 0.02em;
  text-transform: capitalize;
  color: #222222;
  margin-top: 20px;
}

/* brand carousel */
.brand-carousel .brand-item {
  background: #FFFFFF;
  border: 1px solid #FBFBFB;
  box-shadow: 0px 5px 22px rgba(0, 0, 0, 0.04);
  border-radius: 16px;
  padding: 16px;
}

.brand-carousel .brand-item img {
  width: 100%;
  border-radius: 12px;
}

.brand-carousel .brand-item .brand-details {
  margin-left: 15px;
}

.brand-carousel .brand-item .brand-title {
  margin: 0;
}


/* floating image */
.image-float {
  margin-top: -140px;
  margin-bottom: -140px;
}

@media screen and (max-width:991px) {
  .image-float {
    margin: 0;
  }
}

/* post item */
.post-item .post-meta {
  font-size: 0.8rem;
  line-height: 1;
}

.post-item .post-meta svg {
  margin-right: 5px;
}

@media screen and (max-width: 991px) {

  /* offcanvas menu */
  .offcanvas-body .nav-item {
    font-weight: 700;
    border-bottom: 1px solid #d1d1d1;
  }

  .offcanvas-body .filter-categories {
    width: 100%;
    margin-bottom: 20px !important;
    border: 1px solid #d1d1d1 !important;
    padding: 14px;
    border-radius: 8px;
  }

  /* dropdown-menu */
  .dropdown-menu {
    padding: 0;
    border: none;
    line-height: 1.4;
    font-size: 0.9em;
  }

  .dropdown-menu a {
    padding-left: 0;
  }

  .dropdown-toggle::after {
    position: absolute;
    right: 0;
    top: 21px;
  }
}


/* bootstrap extended */
.border-dashed {
  border-bottom: 1px dashed #d1d1d1;
}

.ls-1 {
  letter-spacing: -0.04em;
}

.button-area .btn-cart {
  text-wrap: nowrap;
  height: 3.3em;
  line-height: 2em;
  width: 100%;
}

.fs-7 {
  font-size: 0.8rem !important;
}

/* button */
.btn-link {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: bold;
  font-family: var(--bs-body-font-family);
  letter-spacing: 0.0875rem;
  text-transform: uppercase;
  text-decoration: none;
}

a.btn-link,
a.btn-link:after {
  transition: all .5s;
}

a.btn-link {
  position: relative;
}

a.btn-link:before,
a.btn-link:after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  background-color: var(--bs-dark);
  height: 2px;
}

[data-bs-theme=dark] a.btn-link:after {
  background-color: var(--bs-light);
}

a.btn-link:before {
  background-color: rgba(var(--bs-light-rgb), 0.2);
  width: 100%;
}

a.btn-link.is-checked:after,
a.btn-link:hover:after {
  width: 100%;
}

a.btn-link.text-white:after {
  background-color: var(--bs-light);
}

a.btn-link.text-light:after {
  background-color: var(--bs-light);
}

.navbar .megamenu {
  padding: 1rem;
}

/* ============ desktop view ============ */
@media all and (min-width: 992px) {

  .navbar .has-megamenu {
    position: static !important;
  }

  .navbar .megamenu {
    left: 0;
    right: 0;
    width: 100%;
    margin-top: 0;
  }

}

/* ============ desktop view .end// ============ */


/* ============ mobile view ============ */
@media(max-width: 991px) {

  .navbar.fixed-top .navbar-collapse,
  .navbar.sticky-top .navbar-collapse {
    overflow-y: auto;
    max-height: 90vh;
    margin-top: 10px;
  }
}

/* ============ mobile view .end// ============ */

/*--------------------------------------------------------------
/* School Header Styles
--------------------------------------------------------------*/
.school-header {
  background-color: #032148;
  /* Dark Blue */
  color: #fff;
  font-family: 'Roboto', 'Arial', sans-serif;
  padding: 0;
}

.school-header .container-fluid {
  padding-left: 0;
  padding-right: 0;
}

.school-header .row {
  margin: 0;
  align-items: center;
  height: 80px;
  /* Increased height for better proportions */
}

/* Left components */
.menu-btn {
  background: none;
  border: none;
  color: #fff;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 25px;
  cursor: pointer;
  height: 100%;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
}

.menu-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.menu-btn svg {
  width: 28px;
  height: 28px;
  fill: #fff;
  margin-bottom: 4px;
}

.menu-icon-text {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.divider-vertical {
  height: 40px;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.3);
  margin: 0 20px;
}

.school-branding {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
}

.school-branding:hover {
  color: #fff;
}

.school-logo {
  height: 55px;
  width: auto;
  margin-right: 15px;
}

.school-name {
  font-size: 1.6rem;
  font-weight: 800;
  /* Extra bold */
  text-transform: uppercase;
  margin: 0;
  line-height: 1;
  font-family: 'Oswald', sans-serif;
  /* Try a strong condensed font if available, else fallback */
}

/* Right components */
.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
  padding-right: 30px;
}

.header-btn {
  background-color: #032148;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px 24px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border-radius: 0;
  /* Square edges as per design */
}

.header-btn:hover {
  background-color: #fff;
  color: #032148;
}


/* Event Gallery Section */
.event-gallery-section .section-header-strip {
  background-color: #ffc107;
  /* Yellow background */
  width: 100%;
}

.event-gallery-section .bg-dark-blue {
  background-color: #032148;
  /* Dark Blue background */
}

.event-gallery-section .event-card {
  border: 4px solid #fff;
  border-radius: 15px;
  overflow: hidden;
  margin: 0 5px;
  /* Spacing between slides */
}

.event-gallery-section .event-image {
  height: 250px;
  /* Fixed height for consistency */
  overflow: hidden;
  background-color: #f0f0f0;
}

.event-gallery-section .event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.event-gallery-section .event-card:hover .event-image img {
  transform: scale(1.05);
}

.event-gallery-section .event-footer {
  background-color: #032148;
  padding: 10px;
}

.event-gallery-section .event-footer h5 {
  font-size: 1rem;
  letter-spacing: 0.5px;
}

.event-gallery-section .swiper-button-next,
.event-gallery-section .swiper-button-prev {
  background-color: #ffc107;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #032148;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.event-gallery-section .swiper-button-next:hover,
.event-gallery-section .swiper-button-prev:hover {
  background-color: #fff;
  color: #032148;
  transform: scale(1.1);
}

.event-gallery-section .swiper-button-next:after,
.event-gallery-section .swiper-button-prev:after {
  font-size: 18px;
  font-weight: bold;
}

/* Latest Stories Section */
.stories-section {
  background-color: #032148;
  /* Dark background matching the image */
}

.stories-section .story-card {
  min-height: 250px;
}

.bg-orange {
  background-color: #ff6600;
}

.bg-purple {
  background-color: #4b0082;
}

.bg-blue {
  background-color: #0044cc;
}

/* .bg-danger is already bootstrap red */

/* Speech Bubble Arrows */
.arrow-left-orange,
.arrow-left-purple {
  position: absolute;
  top: 50%;
  left: -20px;
  /* Adjust based on arrow size */
  margin-top: -10px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.arrow-left-orange {
  border-right: 20px solid #ff6600;
}

.arrow-left-purple {
  border-right: 20px solid #4b0082;
}

.arrow-right-danger,
.arrow-right-blue {
  position: absolute;
  top: 50%;
  right: -20px;
  margin-top: -10px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.arrow-right-danger {
  border-left: 20px solid #dc3545;
}

.arrow-right-blue {
  border-left: 20px solid #0044cc;
}


/* Our Achievements Section */
.achievements-section {
  background-color: #032148;
}

.achievements-section .bg-yellow {
  background-color: #ffc107;
}

.achievements-row {
  display: flex;
  gap: 15px;
  overflow-x: auto;
}

/* Ensure equal height for columns */
.achievements-row .col {
  flex: 1 0 18%;
  /* Base width for 5 columns */
  min-width: 250px;
}

.achievement-card {
  background-color: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 15px;
  border-radius: 4px;
}

.achievement-image {
  margin-bottom: 20px;
  text-align: center;
}

.achievement-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.achievement-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.achievement-text {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #333;
  margin-bottom: 20px;
}

.achievement-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.achievement-date {
  font-size: 0.8rem;
  color: #666;
  margin: 0;
}

@media (max-width: 1200px) {
  .achievements-row .col {
    flex: 0 0 30%;
  }
}

@media (max-width: 768px) {
  .achievements-row .col {
    flex: 0 0 80%;
  }
}



.header-btn.home-btn {
  background-color: #032148;
  border-color: #fff;
}

/* Dropdown tweaks */
.dropdown-toggle::after {
  margin-left: 0.5em;
}

/* Infrastructure & Facilities Section */
.facilities-section {
  background-color: #fff;
}

.facilities-section .bg-yellow {
  background-color: #ffc107;
}

.facility-circular-img {
  width: 200px;
  height: 200px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid #eee;
}

.facility-circular-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.facility-label {
  display: inline-block;
  padding: 10px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  min-width: 220px;
}

.bg-medical {
  background-color: #3b6881;
}

.bg-transport {
  background-color: #f39200;
}

.bg-sports {
  background-color: #008000;
}

.bg-technology {
  background-color: #004b87;
}

.bg-labs {
  background-color: #c0392b;
}

.bg-library {
  background-color: #8e44ad;
}

@media (max-width: 768px) {
  .facility-circular-img {
    width: 150px;
    height: 150px;
  }

  .facility-label {
    min-width: 180px;
    font-size: 0.8rem;
  }
}

/*--------------------------------------------------------------
/* Main Slider Styles
--------------------------------------------------------------*/

.main-slider {
  position: relative;
  overflow: hidden;
  height: 90vh;
  /* Responsive height */
  width: 100%;
  background-color: #000;
  /* Prevent white flashes */
}

@media only screen and (max-width: 768px) {
  .main-slider {
    height: 60vh;
    /* Adjust for mobile to maintain better aspect ratio */
  }
}

/*--------------------------------------------------------------
/* Our Story Section
--------------------------------------------------------------*/
.our-story-section {
  background-color: #032148;
  color: #fff;
  padding: 30px 0;
}

.story-title {
  font-family: 'Oswald', sans-serif;
  font-size: 30px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 30px;
  letter-spacing: 1px;
  color: #fff;
}

.story-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #e0e0e0;
  margin-bottom: 20px;
  text-align: justify;
}

.btn-yellow {
  background-color: #ffc107;
  color: #000;
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  padding: 8px 16px;
  /* Reduced padding */
  font-size: 0.85rem;
  /* Slightly smaller font */
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn-yellow:hover {
  background-color: #e0a800;
  color: #000;
}

/* Tabs Styling */
.tabs-column {
    display: flex;
    justify-content: center;
    align-items: center;
}

.story-tabs .nav-tabs {
  border-bottom: none;
}

.story-tabs .nav-link {
  /* border: none; */
  /* border-radius: 0; */
  background-color: #f1f3f5;
  color: #333;
  font-weight: 600;
  text-transform: uppercase;
  /* padding: 15px 25px; */
  margin-right: 2px;
  display: flex;
  align-items: center;
  /* gap: 0px; */
  position: relative;
}

.story-tabs .nav-link.active {
  background-color: #ff9800;
  /* Orange active state */
  color: #fff;
}

/* Triangle Arrow for Active Tab */
.story-tabs .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #ff9800;
  /* Matches active background */
  z-index: 10;
}

.story-tabs .tab-content {
  background-color: #FFF7BC;
  padding: 30px;
  color: #333;
  border-radius: 0px 20px 20px 20px;
}

.story-tabs .tab-content p {
  color: #333;
  line-height: 1.6;
}

.story-tabs .tab-pane h4 {
  margin-bottom: 15px;
  font-weight: 700;
  color: #032148;
}

.main-slider .swiper {
  width: 100%;
  height: 100%;
}

.main-slider .swiper-slide {
  overflow: hidden;
  height: 100%;
}

.slider-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  animation: zoom-animation 20s infinite linear;
}

.swiper-slide-active .slider-image {
  animation-play-state: running;
}

/* Ken Burns Effect Animation */
@keyframes zoom-animation {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
    /* Zoom in */
  }

  100% {
    transform: scale(1);
  }
}

/* =========================================
   What's Happening Section Styles
   ========================================= */

.whats-happening-section {
  background-color: #032148;
  padding-top: 0px;
  padding-bottom: 25px;
}

.section-header-strip {
  background-color: #FFC107;
  /* Yellow strip */
  color: #000;
  width: 100%;
}

.happening-card {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.yellow-block {
  background-color: #FFC107;
  /* Yellow block */
}

.events-card {
  background-color: #fff;
  border: 1px solid #ddd;
}

.notice-card {
  background-color: #FD7E14;
  /* Orange notice board */
}

.card-title {
  font-family: 'Oswald', sans-serif;
  /* Use specific font if available */
  font-weight: 700;
  margin-bottom: 0;
}

.text-blue {
  color: #032148;
}

.text-warning {
  color: #FFC107 !important;
}

.bg-blue {
  background-color: #032148;
}

/* Play Button Styling */
.play-btn-link {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  text-decoration: none !important;
  outline: none !important;
}

.play-btn-link:focus,
.play-btn-link:active {
  outline: none !important;
  text-decoration: none !important;
}

.play-btn {
  width: 70px;
  height: 70px;
  background: #ffc107;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  position: relative;
  box-shadow: 0 0 20px rgba(255, 193, 7, 0.5);
  transition: all 0.3s ease;
  border: none !important;
  outline: none !important;
}

.play-btn::before,
.play-btn::after {
  content: "";
  position: absolute;
  border: 1px solid #ffc107;
  left: -20px;
  right: -20px;
  top: -20px;
  bottom: -20px;
  border-radius: 50%;
  animation: pulse 1.5s linear infinite;
  opacity: 0;
}

.play-btn::after {
  animation-delay: 0.5s;
}

@keyframes pulse {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}

.play-btn:hover {
  transform: scale(1.1);
  background: #fff;
}

.play-btn:hover i {
  color: #ffc107 !important;
}

.divider {
  position: relative;
  height: 1px;
  background-color: #ccc;
  width: 60%;
  margin: 0 auto;
}

.divider .dot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 50%;
}

.divider .dot-white {
  background-color: #FD7E14;
  border: 1px solid #fff;
}

.events-marquee-container {
  height: 230px;
  overflow: hidden;
}

.events-footer {
  font-size: 0.9rem;
  font-weight: 600;
}

.notice-list .list p {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.notice-list .list p:last-child {
  border-bottom: none;
}


.divider-svg {
  max-width: 207px;
  fill: #032148;
  display: block;
  margin: auto;
}


.events-marquee-container .calendar_list {
  padding: 10px;
  background: #002a54;
  border-radius: 10px;
  margin: 0 0 23px 0;
  text-align: center;
}

/* Facilities Section */
.facilities-section .bg-yellow {
  background-color: #FFC107;
}

.facility-circular-img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
  border: 5px solid #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.facility-circular-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.facility-circular-img:hover img {
  transform: scale(1.1);
}

.facility-item-wrapper {
  display: inline-block;
  position: relative;
  width: 280px;
}

.facility-label {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  z-index: 10;
  display: block;
  padding: 3px 0px;
  border-radius: 35px;
  font-family: "Bebas Neue", sans-serif;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: 2.2px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.bg-medical {
  background-color: #345d71 !important;
  /* Blue-grey */
}

.bg-transport {
  background-color: #f09105 !important;
  /* Orange */
}

.bg-sports {
  background-color: #008000 !important;
  /* Green */
}

.bg-technology {
  background-color: #034173 !important;
  /* Dark Blue */
}

.bg-labs {
  background-color: #ca350d !important;
  /* Red-Orange */
}

.bg-library {
  background-color: #00BCD4 !important;
}

.facilities-swiper {
  padding: 20px 0;
}

.facilities-swiper .swiper-wrapper {
  transition-timing-function: linear !important;
}

/* Facilities Carousel Customization */
.facility-circular-img {
  width: 280px;
  height: 280px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  border: none;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Contact Us Footer Section Styles */
.contact-list li {
  color: #fff !important;
  font-size: 0.9rem;
  line-height: 1.5;
  display: flex !important;
  align-items: flex-start;
  margin-bottom: 1rem;
}

/* =========================================
   Latest Stories Grid Redesign
   ========================================= */

.stories-swiper {
  width: 100%;
  overflow: hidden;
}

.story-box {
  display: flex;
  flex-direction: column;
  height: 600px;
  /* Adjust height as needed */
}

.story-text-box {
  flex: 1;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
}

.story-text-box p {
  color: #fff;
  margin: 0;
  font-weight: 500;
  line-height: 1.6;
}

.story-img-box {
  flex: 1;
  overflow: hidden;
}

.story-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* Color Schemes */
.bg-story-brown {
  background-color: #62300b !important;
}

.bg-story-red {
  background-color: #d90404 !important;
}

.bg-story-orange {
  background-color: #f25c05 !important;
}

.bg-story-blue {
  background-color: #1E61A1 !important;
}

/* Pointer Triangles */
.pointer-down::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  z-index: 10;
}

.pointer-up::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  z-index: 10;
}

/* Specific pointer colors */
.bg-story-brown.pointer-down::after {
  border-top: 15px solid #62300b;
}

.bg-story-red.pointer-up::before {
  border-bottom: 15px solid #d90404;
}

.bg-story-orange.pointer-down::after {
  border-top: 15px solid #f25c05;
}

.bg-story-blue.pointer-up::before {
  border-bottom: 15px solid #1E61A1;
}

.contact-icon {
  color: #FFC107 !important;
  /* Yellow matching the image */
  font-size: 1.2rem;
  margin-right: 12px;
  margin-top: 5px;
}

.contact-list span {
  display: inline-block;
  color: #fff;
  line-height: 32px;
}

.address-text {
  white-space: nowrap;
}

@media (max-width: 991px) {
  .address-text {
    white-space: normal;
  }
}

@media (max-width: 768px) {
  .contact-list li {
    font-size: 0.85rem;
  }
}

/* Footer Global Styling */
footer {
  background-color: #032148 !important;
  color: #fff !important;
}

.site-footer {
  padding-top: 48px !important;
  padding-bottom: 0 !important;
}

.footer-logo {
  width: 245px;
  margin-bottom: 20px;
}

footer .widget-title {
  color: #FFC107 !important;
  /* Yellow Heading */
}

footer a {
  color: #fff !important;
}

footer a:hover {
  color: #FFC107 !important;
}

footer p {
  color: #fff !important;
}

footer .nav-link {
  color: #fff !important;
}

footer .nav-link:hover {
  color: #FFC107 !important;
}

footer .form-control {
  background-color: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

footer .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
}

#footer-bottom {
  background-color: #032148;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#footer-bottom p {
  margin-bottom: 0;
  font-size: 0.85rem;
  color: #fff !important;
}

.developer-link {
  color: #FFC107 !important;
  font-weight: 600;
  text-decoration: none;
}

.developer-link:hover {
  color: #fff !important;
}

/* Mobile Header Responsiveness - Below 576px */
@media (max-width: 576px) {
  .school-header .row {
    height: auto;
    flex-wrap: wrap;
  }

  .school-header .col-lg-6 {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .school-header .col-lg-6.d-flex {
    justify-content: center;
    padding: 10px 0;
  }

  .menu-btn {
    padding: 0 15px;
  }

  .menu-btn svg {
    width: 22px;
    height: 22px;
  }

  .menu-icon-text {
    font-size: 0.65rem;
  }

  .school-logo {
    height: 40px;
    margin-right: 10px;
  }

  .header-right {
    width: 100%;
    justify-content: center;
    padding: 10px 15px;
    gap: 8px;
    flex-wrap: wrap;
  }

  .header-btn {
    padding: 6px 12px;
    font-size: 0.75rem;
  }
}

/* Extra small screens - Below 400px */
@media (max-width: 400px) {
  .header-right {
    gap: 5px;
  }

  .header-btn {
    padding: 5px 10px;
    font-size: 0.7rem;
  }

  .school-logo {
    height: 35px;
  }

  .menu-btn {
    padding: 0 10px;
  }
}