/* poppins */

/* @import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap"); */

@font-face {
  font-family: "BlastinePersonal";
  src: url("https://nestatpalmvalley.netlify.app/files/BlastinePersonal.otf")
    format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "tt-tsars";
  src: url("files/df33eab94476a0b0b2f35fed4d85a54.ttf")
    format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #3793cb;
  --secondary: #435c5f;
  --tertiary: #838383;
  --quarternary: #98a09e;
  --lightgray: #f4faf8;
  --border-primary: #000000;
  --dark: #333333;
  --ff-primary: "tt-tsars", sans-serif;
  --ff-secondary: "Inter", sans-serif;

  --section-divider-height: 60;
  --section-divider-width: 1920;
  --section-divider-ratio: calc(
    100% * var(--section-divider-height) / var(--section-divider-width)
  );
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--ff-primary);
  scroll-behavior: smooth;
}

.ff-blastine {
  font-family: "BlastinePersonal", sans-serif;
}
.ff-tt-tsars {
  font-family: "tt-tsars", sans-serif;
}

body {
  margin: 0;
}
.container,
.container-lg,
.container-md,
.container-sm,
.container-xl {
  max-width: 1600px;
}

@media (max-width: 430px) {
  .badge {
    padding: 20px 30px !important;
    font-size: 16px;
    border-radius: 10px;
    font-weight: 400 !important;
    text-transform: uppercase;
  }
}

.input input,
.input select {
  background: #ffffff;
  border: 1px solid rgb(0 0 0 / 30%);
  border-radius: 50px;
  height: 56px;
  font-family: var(--ff-secondary);
}
.input textarea {
  border-radius: 10px;
  border: 1px solid rgb(0 0 0 / 30%);
  min-height: 100px;
  font-family: var(--ff-secondary) !important;
}
::placeholder {
  font-family: var(--ff-secondary) !important;
}
.navbar-toggler {
  color: var(--primary);
  background-color: #ffffff;
  border: var(--bs-border-width) solid var(--primary);
}

.bg-white {
  background-color: #ffffff !important;
}

.header {
  z-index: 9999;
}
a.bg-primary:focus,
a.bg-primary:hover,
button.bg-primary:focus,
button.bg-primary:hover {
  background-color: var(--primary) !important;
  color: #fff !important;
}
a.bg-secondary:focus,
a.bg-secondary:hover,
button.bg-secondary:focus,
button.bg-secondary:hover {
  background-color: var(--primary) !important;
}
a.text-primary:focus,
a.text-primary:hover {
  color: var(--primary) !important;
}
button {
  outline: 0;
  border: 0;
}
a:hover {
  opacity: 1 !important;
}
h2 {
  line-height: 50px !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--ff-primary);
}
h1 {
  font-size: 54px;
  font-weight: 700;
}

h2 {
  font-size: 50px;
  font-weight: 700;
}
h3 {
  font-size: 30px;
  font-weight: 700;
}
h4 {
  font-size: 24px;
  font-weight: 600;
}
h5 {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4em !important;
}
h6 {
  font-size: 18px;
  font-weight: 600;
}
@media (max-width: 430px) {
  h2 {
    line-height: 35px !important;
  }
  h1 {
    font-size: 30px;
    font-weight: 700;
  }
  h2 {
    font-size: 24px;
    font-weight: 700;
  }
  h3 {
    font-size: 22px;
    font-weight: 700;
  }
  h4 {
    font-size: 20px;
    font-weight: 700;
  }
  h5 {
    font-size: 18px;
    font-weight: 400;
  }
}

p,
a,
span,
li,
div {
  font-family: var(--ff-secondary);
}
.text-body {
  font-weight: 400 !important;
  font-size: 20px !important;
  line-height: 30px !important;
}

a {
  text-decoration: none;
  color: var(--primary);
  opacity: 1;
  transition: all 0.356s;
}
a:hover {
  opacity: 0.65;
  transition: all 0.356s;
}

html,
body {
  overflow-x: hidden;
}

/****************************
  *************BG**************
  ****************************/
.bg-primary {
  background-color: var(--primary) !important;
}
.bg-secondary {
  background-color: var(--secondary) !important;
}
.bg-tertiary {
  background-color: var(--tertiary) !important;
}
.bg-quarternary {
  background-color: var(--quarternary) !important;
}
.bg-lightgray {
  background-color: var(--lightgray);
}
.bg-dark {
  background-color: var(--dark);
}
.bg-gradient {
  background: #000000;
  background: -moz-linear-gradient(90deg, #000000 41%, #001d75 100%);
  background: -webkit-linear-gradient(90deg, #000000 41%, #001d75 100%);
  background: linear-gradient(90deg, #000000 41%, #001d75 100%) !important;
}

/****************************
  *************BORDER**************
  ****************************/
.border-primary {
  border-color: #000000 !important;
}
.border-secondary {
  border-color: var(--secondary) !important;
}
.border-tertiary {
  border-color: var(--tertiary) !important;
}
.border-quarternary {
  border-color: var(--quarternary) !important;
}
.border-2 {
  border-width: 2px !important;
}
/****************************
  ************FONT*************
  ****************************/
.font-primary {
  font-family: var(--ff-primary) !important;
}

.font-secondary {
  font-family: var(--ff-secondary) !important;
}

/****************************
  ************TEXT*************
  ****************************/
.text-primary {
  color: var(--primary) !important;
}
.text-secondary {
  color: var(--secondary) !important;
}
.text-tertiary {
  color: var(--tertiary) !important;
}
.text-quarternary {
  color: var(--quarternary) !important;
}
.text-white {
  color: #ffffff !important;
}
.text-dark {
  color: var(--dark) !important;
}
.btn {
  padding: 15px 20px;
  border-radius: 10px;
  min-width: 150px;
  border: 1px solid #fff;
  text-align: center;
}

/****************************
  ************Homepage*************
  ****************************/
.hero-section {
  background-image: url(images/home-hero-banner.jpg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 750px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-btn {
  background: transparent;
  outline: 0;
  border: 0;
  position: absolute;
  bottom: 20px;
  width: 100%;
  left: 0;
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 650px !important;
  }
}

.help-section .container {
  background-image: url(images/help-section-banner.jpg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.happy-children .container {
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(images/youthbg.jpg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.swiper-nav-item {
  border-top: 1px solid;
  border-color: #838383;
  padding-top: 5px;
}
.swiper-nav-item.opacity-100 {
  border-color: var(--primary) !important;
}
.swiper-button-next::after,
.swiper-button-prev::after {
  display: none;
}
.swiper-button-next,
.swiper-button-prev {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--primary) !important;
  font-size: 24px;
}
.swiper-button-next:before {
  content: "\f061";
}
.swiper-button-prev:before {
  content: "\f060";
}
.footer section {
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.footer-bg-img {
  position: absolute;
  z-index: 0;
  width: 100%;
  top: 10%;
  height: 60%;
  object-fit: cover;
  object-position: top;
}
img[src*="Giving Students the Best So They Can Be Their Best.jpg"] {
  aspect-ratio: 1/1;
  width: 100%;
  height: auto;
}

img {
  max-width: 100%;
  height: auto;
  aspect-ratio: attr(width) / attr(height);
}

.br-line {
  width: 200px;
  height: 1px;
  margin: auto;
  margin-top: 30px;
  margin-bottom: 10px;
  background: #838383;
}

.swiper-slide.swiper-slide-next .br-line {
  background: var(--primary) !important;
}

.swiper-slide.swiper-slide-next .staf-name {
  color: #333333 !important;
}

/* Base Styles */
[animex] {
  opacity: 0;
  transition: all var(--animex-duration, 800ms) var(--animex-easing, ease);
}

/* Animation Types */
[animex="fade"] {
  opacity: 0;
}
[animex="fade-up"] {
  transform: translateY(30px);
  opacity: 0;
}
[animex="fade-down"] {
  transform: translateY(-30px);
  opacity: 0;
}
[animex="fade-left"] {
  transform: translateX(30px);
  opacity: 0;
}
[animex="fade-right"] {
  transform: translateX(-30px);
  opacity: 0;
}
[animex="zoom-in"] {
  transform: scale(0.5);
  opacity: 0;
}
[animex="zoom-out"] {
  transform: scale(1.5);
  opacity: 0;
}

/* 3D Animations */
[animex="flip-up"] {
  transform: perspective(1000px) rotateX(90deg);
  transform-origin: bottom;
  opacity: 0;
}
[animex="flip-down"] {
  transform: perspective(1000px) rotateX(-90deg);
  transform-origin: top;
  opacity: 0;
}

/* Active State */
[animex].animex-animate {
  opacity: 1;
  transform: none;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  [animex] {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

.slide-content {
  height: 220px;
  overflow: auto;
  scrollbar-width: thin;
}

@media (max-width: 600px) {
  .swiper-button-next,
  .swiper-rtl .swiper-button-prev {
    right: -2px !important;
    left: auto;
  }
  .swiper-button-prev,
  .swiper-rtl .swiper-button-next {
    left: -2px !important;
    right: auto;
  }
}
@media (min-width: 600px) {
  .swiper-horizontal {
    touch-action: pan-y;
    padding: 38px !important;
  }
}
.slide-content::-webkit-scrollbar {
  width: 12px;
}

.slide-content::-webkit-scrollbar-track {
  background: #f0f0f0;
}

.slide-content::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 6px;
  border: 3px solid #f0f0f0;
}

.slide-content::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}
