.rotating {
  animation: spin 20s linear infinite;

  transform-origin: 50% 50%;
  transform-box: fill-box;
}

.rotating:hover {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .rotating {
    animation: none;
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.welcome-gis {
  margin-top: -78px;
  z-index: 1;
  position: relative;
  color: white;
  --r: 50px;
  height: 160px;
  aspect-ratio: 1.2;
  border-radius: 20px;
  background: var(--primary-color);
  mask: radial-gradient(var(--r) at var(--r), #0000 calc(100% - 1px), #000) calc(-1 * var(--r));
  border: 4px solid var(--yellow-color);
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: center;
}

.welcome-gis div h4 {
  font-size: 30px;
  font-family: math;
}
.welcome-gis div h4 {
  font-size: clamp(18px, 5vw, 50px);
  font-family: math;
}
.it-footer-social a:nth-child(1):hover {
  background-color: #1877f2;
}

.it-footer-social a:nth-child(2):hover {
  background-color: #e4405f;
}

.it-footer-social a:nth-child(3):hover {
  background-color: #ff0000;
}

.it-footer-social a:nth-child(4):hover {
  background-color: #0a66c2;
}

.it-footer-social a {
  transition: all 0.3s ease;
  text-decoration: none;
}

.shine {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.shine img {
  display: block;
  width: 100%;
  height: auto;
}

.shine::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-25deg);
}

.shine:hover::before {
  animation: shine 0.85s;
}

@keyframes shine {
  100% {
    left: 125%;
  }
}

.gis-heading {
  font-family: "math", sans-serif;
  font-weight: 600;
  font-size: clamp(32px, 6vw + 8px, 80px);
  text-align: center;
  letter-spacing: 1px;
  text-transform: uppercase;
  /* Stroke effect */
  color: transparent;
  -webkit-text-stroke: 2px #fff;
  -webkit-background-clip: text;
  background-clip: text;
}

.why-section {
  background-color: var(--primary-color);
}

.flag-hue {
  display: inline-block;
  filter: hue-rotate(0deg);
  animation: hueCycle 8s linear infinite;
}
@keyframes hueCycle {
  to {
    filter: hue-rotate(360deg);
  }
}

.wavy-circle {
  --s: 250px;
  width: var(--s);
  aspect-ratio: 1;
  --g: /calc(var(--s) * 0.201) calc(var(--s) * 0.201) radial-gradient(50% 50%, #000 99%, #0000 101%) no-repeat;
  mask:
    calc(50% + var(--s) * 0.369) calc(50% + var(--s) * 0) var(--g),
    calc(50% + var(--s) * 0.261) calc(50% + var(--s) * 0.261) var(--g),
    calc(50% + var(--s) * 0) calc(50% + var(--s) * 0.369) var(--g),
    calc(50% + var(--s) * -0.261) calc(50% + var(--s) * 0.261) var(--g),
    calc(50% + var(--s) * -0.369) calc(50% + var(--s) * 0) var(--g),
    calc(50% + var(--s) * -0.261) calc(50% + var(--s) * -0.261) var(--g),
    calc(50% + var(--s) * 0) calc(50% + var(--s) * -0.369) var(--g),
    calc(50% + var(--s) * 0.261) calc(50% + var(--s) * -0.261) var(--g),
    radial-gradient(calc(var(--s) * 0.418), #000 99%, #0000 101%) subtract,
    calc(50% + var(--s) * 0.447) calc(50% + var(--s) * 0.185) var(--g),
    calc(50% + var(--s) * 0.185) calc(50% + var(--s) * 0.447) var(--g),
    calc(50% + var(--s) * -0.185) calc(50% + var(--s) * 0.447) var(--g),
    calc(50% + var(--s) * -0.447) calc(50% + var(--s) * 0.185) var(--g),
    calc(50% + var(--s) * -0.447) calc(50% + var(--s) * -0.185) var(--g),
    calc(50% + var(--s) * -0.185) calc(50% + var(--s) * -0.447) var(--g),
    calc(50% + var(--s) * 0.185) calc(50% + var(--s) * -0.447) var(--g),
    calc(50% + var(--s) * 0.447) calc(50% + var(--s) * -0.185) var(--g);
}

.admissionn-section .white-bg .adm-text .btne a:hover {
  color: var(--yellow-color);
}

.bounce {
  display: inline-block;
  animation: bounce 1s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-100px);
  }
  60% {
    transform: translateY(-50px);
  }
}

/*mobile Small devices (landscape phones) */
@media (max-width: 576px) {
  .main-footer {
    --c: 195;
    aspect-ratio: 3 / 2;
    mask: radial-gradient(calc(var(--c) * 1%) 100% at 50% calc(-100% * cos(asin(50 / var(--c)))), #0000 calc(100% - 1px), #000);
  }
  .NoticeBoard {
    padding: 25px 0px 0px 0px;
  }
  .NoticeBoard-sec {
    height: 255px;
  }
  .adm-text {
    width: 98% !important;
    padding: 0 !important;
    top: 35% !important;
  }
  .wavy-circle {
    mask: none;
    -webkit-mask: none;
    --s: 150px;
  }
    .profile-video{
      margin-left: 10px!important;

    }
    .hero-overlay{
      height: 245px!important;
    }
}

.why-section {
  padding: 60px 15px;
}
.why-section h6 {
  color: #f6a623;
  font-weight: 700;
  letter-spacing: 1px;
}
.why-section h2 {
  font-weight: 800;
  font-size: 38px;
  margin-bottom: 20px;
}
.why-section p.lead {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
}
.nav-links p {
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  cursor: pointer;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  transition: all 0.3s ease;
}
.nav-links p.active,
.nav-links p:hover {
  color: #f6a623;
}
.image-box {
  position: relative;
  border-radius: 25px 25px 25px 25px;
  overflow: hidden;
  min-height: 350px;
  border: 2px solid white;
}
.image-box img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.image-box img.show {
  opacity: 1;
}
.learn-more {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: transparent;
  border: none;
  color: #f6a623;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
}
@media (max-width: 767px) {
  .why-section h2 {
    font-size: 28px;
  }
  .image-box {
    margin-top: 25px;
  }

}

.hero-overlay {
  position: relative;
  height:400px;
  overflow: hidden;
}
.hero-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  object-position: center;
  display: block;
}
.hero-overlay::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.568); /
}
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%; 
  color: #fff;
  padding: 0 1rem; 
  text-align: center;
  z-index: 1; 
}


    /* Section background with subtle gradient */
    .dwps-section {
      background: linear-gradient(180deg, #f8fbf9 0%, #f3f7f5 100%);
    }

    /* Typography and colors */
    .text-deep-green {
      color: var(--deep-green);
    }
    .badge-gold {
      background: var(--accent-gold);
      color: #2b2b2b;
      padding: 0.5rem 0.9rem;
      font-weight: 600;
    }

    /* Media stack */
    .media-stack .media-card {
      position: relative;
      border: none;
      background: var(--surface);
      transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
    }
    .media-stack .media-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 1rem 2rem var(--shadow);
    }
    .media-stack img {
      width: 100%;
      height: auto;
      display: block;
    }

    /* Play button */
    .btn-video {
      position: absolute;
      left: 1rem;
      bottom: 1rem;
      display: inline-flex;
      align-items: center;
      background: var(--deep-green);
      color: #fff;
      border: none;
      padding: 0.6rem 1rem;
      border-radius: 999px;
      box-shadow: 0 0.75rem 1.5rem rgba(12, 59, 46, 0.25);
    }
    .btn-video .play-icon {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.15);
      display: grid;
      place-items: center;
      margin-right: 0.6rem;
    }
    .btn-video .fa-play {
      margin-left: 2px;
    }
    .btn-video:hover {
      background: #0a2f25;
    }
    .btn-video:focus {
      outline: 2px solid var(--accent-gold);
      outline-offset: 3px;
    }

    /* Feature list */
    .feature-list .feature-icon {
      color: var(--accent-gold);
      font-size: 1.25rem;
      line-height: 1;
    }
    .feature-list .media-body {
      color: var(--soft-ink);
      font-size: 1.05rem;
    }

    /* Buttons */
    .btn-deep {
      background: var(--deep-green);
      color: #fff;
      border: 1px solid var(--deep-green);
    }
    .btn-deep:hover {
      background: #0a2f25;
      color: #fff;
    }
    .btn-outline-deep {
      border: 2px solid var(--deep-green);
      color: var(--deep-green);
      background: transparent;
    }
    .btn-outline-deep:hover {
      background: var(--deep-green);
      color: #fff;
    }

    /* Modal close button larger tap target */
    .modal-content .close span {
      font-size: 2rem;
    }

    /* Responsive tweaks */
    @media (min-width: 992px) {
      .display-5 {
        font-size: 2.25rem;
      }
    }
    .school-logo {
      background: #000000a8;
      padding: 5px 15px;
      border-radius: 16px;
      font-weight: 400;
      color: #ffffff;
      display: inline-block;
      top: 8px;
      left: 24px;
      position: absolute;
      z-index: 1;
    }

    .images-container {
      position: relative;
    }
    .small-img {
      position: absolute;
      bottom: -21px;
      left: 43px;
      border-radius: 15px;
      border: 3px solid #fff;
      width: 250px;
      z-index: 1;
    }
    .profile-video {
      display: flex;
      align-items: center;
      margin-top: 18px;
      font-weight: bold;
      color: #144d24;
      margin-left: 323px;
    }
    .profile-video i {
      font-size: 30px;
      margin-right: 10px;
      color: #144d24;
    }
    .checklist {
      margin-top: 20px;
      padding-left: 0;
    }
    .checklist li {
      list-style: none;
      margin-bottom: 8px;
    }
    .checklist li::before {
      content: "✔";
      margin-right: 8px;
      color: #f4c542;
      font-weight: bold;
    }
    /* Fade slideshow */
    .images-container {
      position: relative;
      overflow: hidden;
    }

    .fade-img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      border-radius: 30px;
      opacity: 0;
      transition: opacity 1s ease-in-out;
    }

    .fade-img.visible {
      opacity: 1;
      z-index: 1;
    }

    .title h2{
    text-align: center;
    font: normal normal normal 36px / 36px Marcellus;
    letter-spacing: 0.9px;
    color: var(--primary-color);
    text-transform: uppercase;
    opacity: 1;
    padding-bottom: 20px;
    line-height: 40px;
}
    @media screen and (max-width: 767px) {
    .enroll-green {
        z-index: 1!important;
    }
}

.message-img{
border-radius: 30px;
}

.birthday-block-two img{
  border: 3px solid #e148ff;
  
}