@font-face {
  font-family: 'Jellee';
  src: url(jellee/Jellee-Roman.ttf) format('truetype');
}

* {
  margin: 0;
  padding: 0;
  font-family: 'Nunito';
  scroll-behavior: smooth;
}

:root {
  --primaryyellow: #FDD67A;
  --primarylightblue: #27ACF1;
  --primarysoftblue: #0277b5;
  --primarydarkblue: #144A8E;
}


/* MARQUEE */
.custom-marquee70 {
  overflow: hidden;
  width: 100%;
  white-space: nowrap;
}

.custom-marquee70-text {
  display: flex;
  width: max-content;
  gap: 15px;
  animation: marquee 20s linear infinite;
  background-color: #FDD67A;
}


@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.custom-marquee70:hover .custom-marquee70-text {
  animation-play-state: paused;
}


/* NAVIGATION BAR */
.custom-abovenavbar {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  padding: 1% 15%;
  gap: 1%;
}

.custom-abovenavbar-text {
  color: var(--primarydarkblue);
  font-size: xx-large;
  margin-top: -20px;
}

.custom-abovenavbar-text :nth-child(2) {
  color: var(--primarylightblue);
  font-size: x-small;
}

.navbar {
  background-color: var(--primarylightblue);
}

.custom-nav-text {
  color: #fff;
  padding: 10px;
  text-decoration: none;
  font-family: 'Jellee';
}


.custom-nav-text:hover {
  color: var(--primarysoftblue);
  transition: 0.3s ease;
}

@media (min-width: 992px) {
  .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}

/* LEADERSHIP */
.custom-principal-borderimage {
  border-style: solid;
  border-width: 20px;
  border-color: var(--primaryyellow);
}

.custom-leadership-bg {
  background-color: var(--primarylightblue);
}

.custom-leadership-bg-alt {
  background-color: var(--primarydarkblue);
}

.custom-leadership-bg-bottom {
  width: 100%;
  height: 50px;
  background-color: #fff;
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
}



/* FOOTER */
.custom-footer {
  background-color: var(--primarylightblue);
}

.custom-footer-colheading {
  color: white;
  font-size: x-large;
}

@media (max-width: 767px) {
  .custom-footer-colheading {
    text-align: start;
  }
}

.custom-footer-dev {
  background-color: var(--primarydarkblue);
  color: #fff;
  text-align: right;
  position: relative;
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
}

.custom-footer-dev a {
  text-decoration: none;
  color: var(--primarylightblue);
  position: relative;
}

.duck {
  font-size: 40px;
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
}

.custom-footer-dev a:hover .duck {
  opacity: 1;
  animation: waddle 1s ease-in-out infinite;
}

@keyframes waddle {
  0% {
    transform: translateX(-50%) translateY(0);
  }

  25% {
    transform: translateX(-50%) translateY(-5px);
  }

  50% {
    transform: translateX(-50%) translateY(0);
  }

  75% {
    transform: translateX(-50%) translateY(5px);
  }

  100% {
    transform: translateX(-50%) translateY(0);
  }
}

@media (max-width: 767px) {
  .custom-footer-imgcon img {
    margin-top: -100px !important;
    width: 80px !important;
  }
}

.custom-icon-backtotop {
  color: white;
  font-size: 30px;
  transition: 0.3s ease;
}

.custom-icon-backtotop:hover {
  color: var(--primaryyellow);
}

.custom-footer-link {
  color: var(--primarydarkblue);
  font-weight: bold;
}

.custom-footer-link:hover {
  color: var(--primaryyellow);
  transition: 0.3s ease;
}

@media (max-width: 767px) {
  .custom-footer-link {
    text-align: start;
  }
}

.custom-icon-social {
  color: var(--primarydarkblue);
  font-size: 30px;
  position: relative;
  display: inline-block;
  text-align: center;
  padding-left: 0;
  padding-right: 0;
}

.custom-icon-social:hover {
  color: var(--primaryyellow);
  transition: color 0.3s ease;
}

.custom-icon-social::after {
  content: "";
  background-color: var(--primaryyellow);
  position: absolute;
  bottom: -2px;
  left: 0;
  height: 2px;
  width: 0;
  transition: width 0.3s ease;
}

.custom-icon-social:hover::after {
  width: 100%;
}


/* ABOUT US */

.custom-lhwrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.custom-lhimage {
  max-width: 100%;
  height: auto;
}

.custom-lhtext1 {
  position: absolute;
  top: 38rem;
  right: 0;
  width: 35rem;
  background-color: rgba(255, 255, 255, 0.7);
}

.custom-lhtext2 {
  position: absolute;
  bottom: 30rem;
  left: 0;
  width: 36rem;
  background-color: rgba(255, 255, 255, 0.7);
}


/* ABOUT US MOBILE */
@media (max-width: 768px) {

  .custom-lhtext1,
  .custom-lhtext2 {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 90%;
    background-color: rgba(255, 255, 255, 0.85);
    bottom: auto;
    /* VERY IMPORTANT */
  }

  .custom-lhtext1 {
    top: 35%;
  }

  .custom-lhtext2 {
    top: 68%;
    /* this controls the gap */
  }
}

/* Padding custom */

.custom-aboutus-mediapadding {
  padding: 3rem 15rem;
}

@media (max-width: 768px) {

  .custom-aboutus-mediapadding {
    padding: 2rem;   
  }
}

/* MY SCHOOL PORTAL CRHS */
.custom-myschool-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-myschool-container a {
  display: inline-block;
  transition: transform 0.3s ease;
}

.custom-myschool-container a:hover {
  transform: scale(1.1);
}

.custom-myschool-container span {
  font-size: 10rem;
  transition: transform 0.3s ease;
}

.custom-myschool-container a:hover span {
  transform: rotate(15deg);
}

/* SVGS */
.custom-svgrect-white {
  fill: white;
}

.custom-svgrect-lightblue {
  fill: var(--primarylightblue);
}

.custom-divider-lg-top {
  background-image: url('largewave.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top;
  width: 100%;
  height: 50px;
  margin: 0;
}

.custom-divider-sm-top {
  background-image: url('smallwave.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top;
  width: 100%;
  height: 50px;
  margin: 0;
}

/* STAFF SMT */
.custom-staff-headings {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: bold;
}

.custom-staff-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
}

.custom-staff-col {
  padding: 10px;
  margin: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
  border-radius: 30px;
  flex-direction: column;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.15), -4px -4px 10px rgba(255, 255, 255, 0.7);

}

.custom-staff-col:hover {
  background-color: var(--primarylightblue);
  border-radius: 30px;
}

/* General Offcanvas Styling */
.custom-staff-offcanvas {
  width: 100% !important;
}

@media (min-width: 768px) {
  .custom-staff-offcanvas {
    width: 50% !important;
    height: 100vh;
    overflow-y: auto;
    /* This enables scrolling */
  }
}

/* Styling for Offcanvas Body */
.custom-offcanvas-body {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 15px;
}

@media (max-width: 767px) {
  .custom-staff-offcanvas {
    height: 100vh;
    overflow-y: auto;
  }

  .custom-offcanvas-body {
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow-y: auto;
  }

  .custom-offcanvas-b1 {
    order: 2;
    text-align: center;
  }

  .custom-offcanvas-b2 {
    order: 1;
    text-align: center;
  }
}

/* Ensures the last section scrolls if needed */
.custom-offcanvas-b3 {
  padding: 15px;
  overflow-y: auto;
}