:root {
    --primary-blue: #107bbf;
    --light-blue: #14c7db;
    --orange: #f9b030;
    --pink: #fe5e9a;
    --white: #f4f0fc;
    --dark-purple: #1f0b45;

    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
    --font-heading: 'Merriweather', serif;
}

@font-face {
    font-family: "Tomato";
    src: url('tomato.otf');
}

/* * {
    border: 1px solid red;
} */

html,
body {
    height: 100%;
}

body {
    color: #212226;
}

h1,h2,h3,h4,h5,h6 {
    font-family: "Poppins";
    font-weight: 600;
}
p {
    font-family: "Poppins";
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
}

section {
    background: #fff;
    overflow: hidden;
}

.section-heading {
    font-size: 3em;
    color: var(--dark-purple);
}

/* =========================================
                Buttons
============================================ */

.btn-general {
    border-radius: 0.55em;
    font-size: 0.9em;
    font-family: 'Poppins';
    font-weight: 500;
    margin: 0;
    padding: 0.6em 1.5em 0.6em 1.5em;
    -webkit-transition: all .5s;
    transition: all .5s;
    text-decoration: none !important;
}


.btn-primary {
    color: var(--white);
    border: 1px solid var(--pink);
    background-color: var(--pink);
}

.btn-primary:hover,
.btn-primary:focus {
    color: var(--dark-purple);
    background-color: var(--white);
    border: 1px solid var(--dark-purple);
}

.btn-white {
    color: var(--dark-purple);
    border: 1px solid var(--dark-purple);
    background-color: #fff;
}

.btn-white:hover,
.btn-white:focus {
    color: #fff;
    background-color: var(--pink);
    border: 1px solid var(--pink);
}

.btn-white-plain {
    color: var(--dark-purple);
    border: 1px solid var(--dark-purple);
    background-color: #fff;
}

/* =========================================
                Content Boxes
============================================ */

.content-box-lg {
    padding: 120px 0;
}

.content-box-md {
    padding: 8em 0;
    position: relative;
}

.content-box-sm {
    padding: 90px 0;
}

/* =========================================
        Vertical/Horizontal Headings
============================================ */

.vertical-heading h5 {
    color: #f4c613;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    word-spacing: 9px;
    display: inline-block;
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
    position: relative;
    top: 60px;
}

.vertical-heading h2 {
    margin: 0 0 0 0;
}

.horizontal-heading h2,
.vertical-heading h2 {
    font-size: 42px;
    font-weight: 100;
    line-height: 45px;
    margin: 0;
}

.horizontal-heading {
    margin-bottom: 80px;
}

.horizontal-heading h5 {
    font-size: 16px;
    color: #f4c613;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 10px;
}

.horizontal-heading h2 {
    margin: 0;
}


/* =========================================
                Animations
============================================ */
.icon-rotate {
    position: absolute;
    animation: rotate-animation 2.5s linear infinite;
  }
  
  @keyframes rotate-animation {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }

  .icon-fly {
    position: absolute;
    animation: fly-animation 6s ease-in-out infinite;
  }
  
  @keyframes fly-animation {
    0%, 100% {
      transform: translate(0, 0);
    }
    50% {
      transform: translate(30px, -50px) rotate(-10deg);
    }
  }

  .icon-balloon {
    position: absolute;
    animation: balloon-animation 5s ease-in-out infinite;
  }
  
  @keyframes balloon-animation {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-20px);
    }
  }

  .icon-rock {
    position: absolute;
    animation: rock-animation 2.5s ease-in-out infinite;
  }
  
  .icon-roll {
    position: absolute;
    animation: roll 2s linear infinite;
  }

  .icon-kite-fly {
    position: absolute;
    animation: kitefly 3s linear infinite;
  }

  .icon-bounce {
    animation: bounce 2s linear infinite;
  }

  @keyframes rock-animation {
    0%, 100% {
      transform: rotate(-5deg);
    }
    50% {
      transform: rotate(5deg);
    }
  }

  @keyframes roll {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  
  @keyframes bounce {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-10px); /* Adjust height as needed */
    }
  }

  @keyframes kitefly {
    0%, 100% {
      transform: translateX(-50%) rotate(5deg) translateY(0);
    }
    25% {
      transform: translateX(-60%) rotate(-20deg) translateY(-20px);
    }
    50% {
      transform: translateX(-50%) rotate(-45deg) translateY(-40px);
    }
    75% {
      transform: translateX(-40%) rotate(-50deg) translateY(-20px);
    }
  }

/* =========================================
                Navigation
============================================ */

.navbar-brand img {
    height: 3.5em;
    width: 2.5em;
}

a.nav-link {
    font-family: var(--font-primary);
    color: var(--dark-purple) !important;
    font-weight: 550;
    margin: 0 0.5em;
    &:hover {
        color: var(--pink) !important;
    }
}

a.dropdown-item {
    font-family: var(--font-primary);
    color: var(--dark-purple) !important;
    font-weight: 550;
    &:hover {
        color: var(--pink) !important;
    }
}


/* =========================================
                Landing Section
============================================ */
#landing-section {
    width: 95%;
    padding: 2em;
    height: max-content;
    background: var(--white);
    border-radius: 1em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

#landing-section .heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.nelphim {
    font-family: 'Nelphim' !important;
}

#heading-text {
    width: 80%;
}

#landing-section .heading h1, #landing-section .heading h2 {
    /* font-family: "Maven Pro"; */
    /* font-family: "Nelphim"; */
    font-family: 'Poppins';
    font-weight: bold;
    color: var(--dark-purple);
}

.landing-img {
    object-fit: fill;
    height: 20em;
    width: 100%;
    margin: 1em auto;
    display: block;
    transform: scale(1.5, 1.2)
}

#landing-stats h1 {
    color: var(--pink);
    margin: 0;
    font-size: 3em;
    font-weight: bolder;
}
#landing-stats p {
    margin: 0.3em 0 0 0;
}

#mission {
    background: var(--primary-blue);
    border-radius: 3em;
    color: var(--white);
    margin: 3em 0;
}

.mission-card {
    border-radius: 1em;
    padding: 0.8em;
    cursor: pointer;
    transition: .4s ease-in;
    height: 11em;
    /* max-height: max-content; */
}
.mission-card p {
    margin-bottom: 0;
}
.mission-card img {
    height: 3em;
    width: 3em;
    margin-bottom: 0.4em;
}
.mission-card h3 {
    font-family: 'Poppins';
}

.mission-card.pink {
    background: var(--pink);
}

.mission-card.pink:hover {
    background: var(--primary-blue);
    border: 1px solid rgb(197, 194, 194);
}

.mission-card.outline {
    border: 1px solid rgb(197, 194, 194);
}

.mission-card.outline:hover {
    background: var(--pink);
}


/* =========================================
                About 01
============================================ */
#about-1 img{
    border-radius: 2em;
    border: 0.35em solid var(--pink);
    margin-left: 1em;
}

#about-1 h1 {
    font-size: 3em;
    /* font-family: 'Maven Pro'; */
    color: var(--dark-purple);
    font-weight: bolder;
}
#about-1 p {
    font-family: 'Poppins';
    text-align: justify;
}


/* =========================================
                Program Section
============================================ */
#programs-section h2, #programs-section h4 {
    color: var(--dark-purple);
    /* font-family: 'Maven Pro'; */
    font-weight: 600;
}
#programs-section h2 {
    font-size: 2.6em;
}

.program-card {
    width: 100%;
    min-height: 17em;
    max-height: max-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--pink);
    border-radius: 2.5em;
    padding:1em 0.6em;
    margin: 1em 0;
    text-align: center;
    box-shadow: 2px 8px var(--white);
    transition: .2s ease;
    cursor: pointer;
}
.program-card:hover {
    transform: translateY(-0.5em);
}

.program-card .icon-box {
    background: var(--white);
    width: 5em;
    height: 5em;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2.5em;
    padding: 2em;
    margin: 0 0 1em 0;
}

.program-card img {
    height: 2.8em;
    width: 2.8em;
}

.program-card button {
    margin: 1em auto;
}

#view_programs_btn_bottom {
    display: none;
}

/* =========================================
                Vision Section
============================================ */
#vision-section {
    background: linear-gradient(to bottom, var(--primary-blue), #1187cd);
    color: var(--white);
}
#vision-section h1 {
    font-size: 3em;
}
#vision-section .vision-img {
    padding: 0;
}
.vision-img img {
    border-radius: 1em;
    border: 4px solid var(--orange);
    width: 17em;
    height: 29em;
    object-fit: cover;
    margin-top: -4em;
}
@keyframes down {
    from {
      opacity: 0;
    }
  
    to {
      opacity: 1;
      transform: translateY(7em);
    }
  }

.vision-img #vision-img-1 {
    /* transform: translateY(7em);
    transition: 5s ease-in !important; */
    animation: down 1s ease forwards;
    /* height: 29em; */
}
.vision-card {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    text-align: left;
    color: var(--white);
    cursor: pointer;
}
.vision-card .icon-circle {
    background: var(--white);
    padding: 1em;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 7em;
    height: 7em;
    margin-bottom: 1em;
}
.vision-card .icon-circle:hover{
    transform: scale(0.9, 0.9);
    transition: .2s ease-in;
}
.vision-card .icon-circle img {
    height: 3.7em;
    width: 4em;
}

/* =========================================
                Aims Section
============================================ */
#aims-section {
    border-bottom: 1px solid whitesmoke;
    width: 95%;
    padding: 2em;
    height: max-content;
    border-radius: 1em;
    margin: 5em auto;
    border: 3px solid var(--pink);
}
.aim-flex {
    display: flex;
    align-items: start;
    justify-content: space-between;
    flex-direction: column;
    width: 100%;
}

.icon-text-tile {
    display: flex;
    align-items: center; /* Center-align icons with text vertically */
    justify-content: start;
    width: 100%;
    margin: 0.8em 0; /* Adjust margin for better spacing between rows */
}

.icon-text-tile .icon-box {
    padding: 0.7em;
    background: var(--orange);
    border-radius: 50%;
    margin: 0;
    margin-right: 1em; /* This sets consistent spacing between the icon and text */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* Prevent the icon box from shrinking if the text gets too long */
    width: 3.5em;
    height: 3.5em;
}

.icon-text-tile .icon-box img {
    width: 2.5em;
    height: 2.5em;
}

.icon-text-tile .icon-box i {
    font-size: 2em;
}

.icon-text-tile p {
    margin: 0;
    flex-grow: 1; /* Ensure text fills the remaining space equally */
    line-height: 1.5; /* Optional: Improve text readability */
    font-weight: 500;
}

.icon-text-tile i {
    font-size: 3em;
    color: var(--white);
    margin: 0;
}


#aims-img {
    /* border-radius: 50%; */
    height: 30em;
    width: 100%;
}

/* =========================================
                Values Section
============================================ */
#values-section {
    background: url("/static/img/cloudbg.png");
    /* background-size: cover; */
    background-size: 100% 65em;
    background-repeat: no-repeat;
    background-position: 0 -0.6em;
    max-height: max-content;
    margin-top: -2em;
}
#values-container {
    margin-top: 3em;
}
#values-img {
    border-radius: 2em;
    width: 80%;
    height: 35em;
    border: 3px solid var(--pink);
    object-fit: cover;
}

.bg-light-blue {
    background-color: var(--pink) !important;
}
.icon-text-tile:hover {
    cursor: pointer;
    transform: translateX(-10px);
    transition: .2s ease-in;
}


/* =========================================
              Objective Section
============================================ */
#objectives-section {
    margin: 4em auto;
    width: 95%;
}

/* =========================================
              Teacher Carousel Section
============================================ */
.owl-carousel .teacher-item {
    text-align: center;
    margin: 0 auto;
    padding: 20px;
  }
  
  .owl-carousel .teacher-card {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 50%;
  }
  
  .teacher-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    transition: transform 0.3s;
  }
  
  .teacher-card:hover .teacher-image {
    transform: scale(1.1);
  }
  
  .teacher-info {
    margin-top: 20px;
    padding: 10px;
  }
  
  .teacher-info .name {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
  }
  
  .teacher-info .profession {
    font-size: 16px;
    color: #666;
    margin: 0;
  }
  
/* =========================================
              Testimonials
============================================ */
#testimonial-section {
    background-image: url("/static/img/cloud2.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.testimonial-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50%;
    margin: 1em auto;
}
.testimonial-item p {
    text-align: justify;
}
.testimonial-item img {
    width: 6em !important;
    height: 6em;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 2px solid #ccc; /* Optional: Add border */
  }
.testimonial-item h5 {
    color: var(--pink);
}  



/* =========================================
                Gallery Section
============================================ */
#gallery-section {
    background: var(--primary-blue);
    margin-top: -4em;
    padding: 7em 0;
}
#gallery-section .gallery-item {
    width: 100%;
}
#gallery-section .gallery-img, #gallery-section .gallery-img-large {
    width: 100%;
    margin: 1em 0;
    object-fit: cover;
    border-radius: 1em;
}

#gallery-section img:hover {
    transition: .3s ease-in-out;
    transform: scale(0.99);
    cursor: pointer;
}

#gallery-section .gallery-img {
    height: 18em;
    width: 100%;
}

#gallery-section .gallery-img-large {
    height: 40em;
}


#faq-container {
    background: var(--pink);
    padding: 3em 1em;
    border-radius: 2em;
    width: 100%;
}


#more-faq {
    display: none;
}
#more-faq.visible {
    display: block;
    transition: .2s;
}

.accordion-item, .accordion-button {
    border-radius: 1em !important;
}
.accordion-button {
    /* font-family: 'Maven Pro'; */
    color: var(--dark-purple);
    font-weight: 500;
    font-size: 0.5em;
}



footer {
    background: #8fc700;
    color: var(--white);
    width: 100%;
}
footer .col-md-4 {
    padding: 0;
}
#footer-logo {
    height: 9em;
    width: 10em;
}
#footer {
    width: 90%;
    margin: auto !important;
}
/* =========================================
                Animated Icons
============================================ */

#plane-icon {
    height: 5em;
    width: 9em;
    top: 15em;
    left: 5em;
}

#baloon-icon-1 {
    height: 4em;
    width: 4em;
    top: 11em;
    right: 5em;
}

#pencil-icon {
    height: 5em;
    width: 5em;
    bottom:21em;
    left:2em;
}

#blocks-icon {
    height: 3em;
    width: 3em;
    top: 18em;
    right:24em;
}

#kite-icon {
    bottom: 1em;
    left: 8em;
}

#bulb-icon {
    height: 5em;
    width: 5em;
    top: 5em;
    right: 2em;
}

#kite-light-icon {
    top: 5em;
    right: 2em;
}

#stick-icon {
    top: 7em;
    left: 3em;
}

#plane-2-icon {
    bottom: 90px;
    right: 35em;
    width: 3.5em;
}

#turtle-icon {
    top: 150px;
    right: 33em;
    width: 3.5em;
    height: 3.5em;
}

#quote-icon {
    font-size: 10em;
    position: absolute;
    top: 2.3em;
    left: 1.3em;
    color: #f4f5c0;
}

#ball-color-icon {
    top: 16em;
    left: 16em;
    position: absolute;
}

#kite-color-icon {
    bottom: 18em;
    right: 3em;
    position: absolute;
    width: 5em;
}

#camera-icon {
    top: 8em;
    left: 8em;
    position: absolute;
}

#gallery-icon {
    top: 2.7em;
    right: 6em;
    position: absolute;
    font-size: 3em;
}

#faq-icon {
    top: 8em;
    left: 30em;
    height: 10em;
    width: 10em;
}

#heading-cover {
    background-image: url("/static/img/cover.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 15em;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.heading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(91, 62, 252, 0.702); /* Semi-transparent black overlay */
    z-index: 1; /* Ensures it is below the content */
}

#heading-cover .row {
    position: relative; /* Keeps the content inside above the overlay */
    z-index: 2; /* Ensures the content is above the overlay */
}

#heading-cover h1 {
    color: white; /* Ensure the text is white */
    font-size: 2.5em; /* Optional: Adjust font size */
    z-index: 3; /* Ensure the text is above all elements */
}



/* =========================================
                Contact
============================================ */
.contact-card {
    padding: 2em;
    box-shadow: 10px 10px 2px 5px rgba(238, 238, 238, 0.586);
    border-radius: 2em;
    border-top: 1px solid rgba(238, 238, 238, 0.586);
}
.contact-card h2 {
    font-size: 2em;
}
#contact-left {
    border-right: 1px solid rgba(204, 203, 203, 0.586);
}
.contact-flex {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    gap: 1em;
}

.contact-flex > .contact-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
}

.contact-item .icon-wrapper {
    height: 2.5em;
    width: 2.5em;
    border-radius: 50%;
    border: 1px solid var(--dark-purple);
    padding: 0.7em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item .icon-wrapper i {
    font-size: 1.3em;
    color: var(--pink);
}


#contact-form input {
    width: 100%;
    height: 2.5em;
    padding: 0.5em;
    font-family: 'Poppins';
    border-radius: 0.8em;
    font-size: 1em;
    color: var(--dark-purple);
    margin-bottom: 1em;
    border: 1px solid var(--pink);
}

#contact-form textarea {
    width: 100%;
    padding: 0.5em;
    font-family: 'Poppins';
    border-radius: 0.8em;
    font-size: 1em;
    color: var(--dark-purple);
    margin-bottom: 0.2em;
    border: 1px solid var(--pink);
}

#contact-form button {
    width: 100%;
}

input:focus, textarea:focus {
    border-color: var(--dark-purple);
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
    justify-content: center;
  }

.gallery-image-item {
    display: block;
    width: calc(33.333% - 10px);
    overflow: hidden;
    position: relative;
  }

.gallery-image-item img {
width: 100%;
height: auto;
display: block;
transition: transform 0.3s ease;
}

.gallery-image-item:hover img {
transform: scale(1.1);
}

@media (max-width: 768px) {
.gallery-image-item {
    width: calc(50% - 10px);
}
}

@media (max-width: 480px) {
.gallery-image-item {
    width: calc(50% - 10px);
}
}


.social-flex {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 1em;
}

.social-flex .social-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1em;
    height: 2.5em;
    width: 2.5em;
    border: 1px solid var(--dark-purple);
    border-radius: 50%;
    transition: .2s ease-in;
}

.social-logo:hover {
    color: var(--dark-purple);
    transform: scale(0.9);
}

.social-logo i {
    color: var(--pink);
}

.accordion-body, .accordion-button {
    font-family: 'Poppins';
}