@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Patrick+Hand&display=swap");

html {
  height: 100%;
  overflow-x: hidden;
}

:root {
  --clr-orange: #fdc919;
  --clr-orange2: #eaba16;
  --clr-grn: #006a4e;
  --clr-grn2: #0d8062;
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Patrick Hand", cursive;
  font-weight: 400;
}

a {
  color: inherit;
  text-decoration: none;
}

body {
  font-family: "Quicksand", sans-serif;
  font-weight: 500;
  min-height: 100%;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}

body:has(.home-hero) .navbar {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 11;
}

body:not(:has(.home-hero)) .navbar {
  background-color: var(--clr-grn);
}

.navbar {
  --bs-nav-link-font-size: 18px;
}

.navbar-brand,
.nav-link {
  --bs-nav-link-color: #fff;
  font-weight: 500;
}

.navbar-brand {
  max-width: 166px;
}

.navbar-toggler {
  background-color: var(--clr-orange);
}

.navbar a:hover {
  color: var(--clr-orange);
}

.wave_top,
.wave_bottom {
  position: absolute;
  left: 0;
  right: 0;
  margin-bottom: 0;
  z-index: 1;
  img {
    width: 100%;
  }
}

.wave_bottom {
  bottom: 0;
}

.wave_top {
  top: 0;
}

section:has(.wave_top) {
  position: relative;
  padding-top: calc(10px + calc(100vw * calc(115 / 1920)));
}

section:has(.wave_bottom) {
  position: relative;
  padding-bottom: calc(10px + calc(100vw * calc(115 / 1920)));
}

.text-green {
  color: var(--clr-grn) !important;
}

.text-orange {
  color: var(--clr-orange) !important;
}

.bg-img {
  background-image: url("./../img/main_bged0e.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
}

/* Yellow Section */
.btn {
  border-radius: 12px 30px;
  padding: 12px 38px;
}

.btn::after {
  display: inline-block;
  content: "\e95c";
  font-family: "stm-icon" !important;
  font-size: 0.65em;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  vertical-align: middle;
  margin-left: 1em;
}

.btn-yellow {
  background-color: var(--clr-orange);
  border: none;
  color: #000;
  font-weight: 500;
}

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

.bg-yellow {
  background-color: var(--clr-orange);
}

/* Green Section */
.bg-green {
  background-color: var(--clr-grn);
  color: #fff;
}

.section-title {
  font-size: 2.5rem;
  color: #333333;
  margin-bottom: 40px;
}

.card {
  border: none;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

footer {
  background-color: #ffffff;
  padding: 60px 0 20px;
}

.footer-title {
  font-weight: 600;
  margin-bottom: 15px;
}

.hero {
  background-color: var(--clr-grn);
  color: #fff;
  padding-top: 150px;
}

.hero h1 {
  font-size: 3rem;
}

.hero p {
  font-size: 1.25rem;
}

.footer__logo {
  max-width: 160px;
}

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

  .navbar-brand {
    max-width: 120px;
  }

  .navbar-collapse {
    background-color: var(--clr-grn);
  }

  .hero {
    padding-top: 150px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.05rem;
  }
}

[data-aos="fade-right"] {
  transform: translate3d(-20px, 0, 0) !important;
}

[data-aos="fade-right"].aos-animate {
  transform: translate3d(0, 0, 0) !important;
}

[data-aos="fade-left"] {
  transform: translate3d(20px, 0, 0) !important;
}

[data-aos="fade-left"].aos-animate {
  transform: translate3d(0, 0, 0) !important;
}

.hero-carousel [class*="aos-"] {
  opacity: 0;
  will-change: transform, opacity;
  transition-property: transform, opacity;
  transition-duration: 0.8s;
  /* slower */
  transition-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1);
}

.aos-fade-up {
  transform: translateY(40px);
}

.aos-fade-right {
  transform: translateY(80px);
}

.aos-fade-in {
  transform: scale(0.95);
}

.hero-carousel .animate-in {
  opacity: 1 !important;
  transform: translate(0, 0) scale(1) !important;
}

/* Keep default owl layout */
.hero-carousel .owl-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 25px;
  text-align: center;
}

/* Buttons */
.hero-carousel .owl-nav > * {
  width: 50px;
  height: 50px;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--clr-orange);
  background: #14af8640;
  transition: all 0.3s ease;
}

.hero-carousel .owl-nav > *:hover {
  background-color: var(--clr-orange);
  color: #333333;
}

.hero-carousel .stm-icon {
  font-size: 14px;
}

.inner-hero .owl-prev {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
}

.inner-hero .owl-next {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
}
.inner-hero .hero-carousel .owl-nav {
  margin-top: 0;
}

.floating-menu {
  position: relative;
  z-index: 1;
  background: #006a4efa;
  border-radius: 25px;
  overflow: hidden;
  max-width: 1100px;
  margin-inline: auto;
}

.floating-menu .menu-item {
  color: #fff;
  padding: 25px;
  height: 100%;
  transition: 0.3s ease;
}

.floating-menu .menu-item i {
  font-size: 30px;
  color: inherit;
  display: block;
  margin-bottom: 10px;
}

.floating-menu .menu-item span {
  display: block;
  font-weight: 500;
}

.floating-menu .menu-item:hover {
  color: var(--clr-grn);
  background-color: var(--clr-orange);
}

.floating-menu .col {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.floating-menu .col:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

/* Academics Box */
.academics-box {
  overflow: hidden;
  border-radius: 1rem;
  color: #333333;
}

.academics-box h4 {
  margin-bottom: 15px;
}

.academics-box ul {
  padding-left: 18px;
}

.academics-box--body li + li {
  margin-top: 10px;
}

.academics-box--body a {
  display: inline-block;
  font-weight: 500;
  padding-bottom: 5px;
  position: relative;
}

.academics-box--body a::after {
  content: "";
  display: inline-block;
  width: 0%;
  height: 1px;
  background-color: currentColor;
  position: absolute;
  bottom: 0;
  left: 0;
  transition: 0.5s ease;
}

.academics-box--head {
  background: var(--clr-orange2);
  padding: 25px;
}

.academics-box--body {
  background: var(--clr-orange);
  padding: 25px;
}

.academics-box--body a:hover::after {
  width: 100%;
}

.academics-box--body a:hover,
.academics-box--body .active {
  color: var(--clr-grn);
}

/* Notice Board */
.notice-box {
  border-radius: 1rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.notice-box--head,
.marquee-wrapper {
  padding: 25px;
}

.notice-box--head {
  background: var(--clr-grn2);
}

/* Marquee */
.marquee-wrapper {
  background: var(--clr-grn);
  height: 180px;
  overflow: hidden;
  position: relative;
}

.marquee-animation > * + * {
  margin-top: 50px;
}

/* Keyframes */
@keyframes scrollUp {
  0% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(-100%);
  }
}

/* Right Content */
.content-box {
  border-radius: 1rem;
  padding: 40px;
  border: 1px solid var(--clr-orange);
  background: #fff9f2;
}

.sports-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.sports-grid ul {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
}

.sports-grid li {
    margin-bottom: 12px;
}

@media (max-width: 900px) {
    .sports-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .sports-grid {
        grid-template-columns: 1fr;
    }
}

/*Accordion*/
.accordion{
max-width:100%;
}

.accordion-item{
border:3px solid #fdc919;
border-radius:15px;
margin-bottom:15px;
background:white;
overflow:hidden;
}

.accordion-header{
padding:18px 20px;
font-size:20px;
font-weight:bold;
color:#006a4e;
display:flex;
justify-content:space-between;
align-items:center;
cursor:pointer;
}

.accordion-item.active .accordion-header{
color:#fdc919;
}

.icon{
font-size:22px;
font-weight:bold;
}

.accordion-content{
max-height:0;
overflow:hidden;
transition:0.4s ease;
padding:0 20px;
}

.accordion-item.active .accordion-content{
max-height:200px;
padding:15px 20px 20px;
}

.accordion-content p{
color:#555;
font-size:18px;
line-height:1.6;
}

/*Table*/
.admission-table{
max-width:100%;
}

table{
width:100%;
border-collapse:collapse;
}

th{
background:#fdc919;
font-size:20px;
font-weight:bold;
padding:15px;
border:2px solid #006a4e;
text-align:center;
color:#006a4e;
}

td{
padding:15px;
border:2px solid #006a4e;
font-size:16px;
vertical-align:middle;
background:#e6e6e6;
}

.highlight td{
background:#fdc919;
}


/* CTA Banner */
.cta-banner{
    background:#fdc919;
    padding:40px 0;
}

.cta-btn{
    background:#006a4e;
    color:#fff;
    padding:14px 35px;
    border-radius:40px;
    text-decoration:none;
    font-size:18px;
    transition:0.3s;
}

.cta-btn:hover{
    background:#fdc919;
    color:#000;
    border: 1px solid #000;
}

