body, html {
    height: 100%;
    margin: 0;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    justify-content: end; /* Center vertically */
    align-items: center; /* Center horizontally */
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 3rem;
    text-align: center;
}

.overlay div {
    margin: 10px 0; /* Add some spacing between the div elements */
}

.social-icons {
    position: absolute;
    top: 25px;
    right: 25px;
}

.social-icons a {
    color: white;
    font-size: 2.5rem;
    margin-left: 20px;
}

.logo {
    position: absolute;
    top: 25px;
    left: 25px;
}

.logo img {
    height: 150px; 
}

.more-info-badge-container{
    margin-top: -40px !important;
}

.more-info-badge-container > span{
   font-size: 1rem !important;
}

header.header-container {
    display: flex;
    align-items: center;
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 4 !important;
    background: transparent; 
    margin-top: 0 !important;
    padding: 1.4rem 5rem;
    
}

.hedaer-container-logo > a > img{
    width: 150px !important;
}

.hamburger-menu {
    width: 60px;
    z-index: 1051; /* higher than header */
    height: 60px;
    background-color: #FFF;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    position: fixed;      /* Make it fixed */
    top: 30px;            /* Adjust as needed */
    right: 30px;
}

.header-container-menu{
    margin-left: auto;
    align-self: start;
    display: flex;
    align-items: center;
}

.side-menu {
    height: 100%;
    width: 0;
    position: fixed;
    top: 0;
    right: 0;
    background-color: #fff;
    overflow-x: hidden;
    transition: 0.3s;
    z-index: 1051;
    box-shadow: -2px 0 5px rgba(0,0,0,0.2);
    padding-top: 90px;
}
.side-menu > ul > li > a {
    padding: 8px 8px 8px 25px;
    text-decoration: none;
    font-size: 0.95rem;
    color: #333;
    display: block;
    transition: 0.2s;
}

.side-menu > ul > li > a:hover, .side-menu > ul > li > a.active {
    background-color: rgba(110, 193, 215, 0.3);
}

.close-btn{
    background-color: #99A1AF !important;
}

.side-menu .close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1rem;
    color: #333;
    text-decoration: none;
    cursor: pointer;
    background: #6EC1D7;
    color: #FFF;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
}

.header-container-contact-button, .header-container-contact-button:hover{
    position: relative;
    color: #FFF;
    font-size: 14px;
    text-transform: uppercase;
    background-color: rgba(110, 193, 215, 1);
    padding: 15px;
    font-weight: 600;
    padding-left: 20px;
    padding-right: 20px;
    margin-left: 20px;
    text-decoration: none;
    -moz-border-radius: 50px;
    -webkit-border-radius: 50px;
    border-radius: 50px;
    margin-right: 40px;
    margin-top: 15px;
}

.video-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000;
}

.video-container video {
    width: 100%;
    object-fit: cover;
    display: block;
}

.interaction-blocker {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

body > *:not(.video-container) {
    position: relative;
    z-index: 1;
}

.scroll-indicator-container{
    height: 60px;
    width: 32px;
    border: 3px solid white;
    border-radius: 32px;
    position: absolute !important;
    left: 50%;
    transform: translateX(-50%);
    top: 90%;
}

.scroll-indicator{
    height: 20px;
    width: 2px;
    background: white;
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    top: 10px;
    border-radius: 1px;
    transform: scaleY(0);
    animation: scroll 2s linear infinite;
}

@keyframes scroll {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  25% {
    transform: scaleY(1);
    transform-origin: top;
  }
  26% {
    transform-origin: bottom;
  }
  50% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

.schoolhouse-red-color{
    color: #FF5B5B !important;
}

.section-description{
    font-size: 14px !important;
}

.page-container{
    max-width: 1280px !important;
    margin: 0 auto !important;
}

.side-menu-logo{
    width: 255px;
    margin: 0 auto;
}

.my-other-bg {
    background-color: #FF5B5B;
}

.my-bg{
    background-color: rgba(110, 193, 215, 1);
}

.schoolhouse-btn{
    color: #FFF;
    font-size: 12px;
    text-transform: uppercase;
    background-color: rgb(110, 193, 215);
    padding: 10px 25px;
    display: inline-block;
    font-weight: 600;
    text-decoration: none;
    -moz-border-radius: 50px;
    -webkit-border-radius: 50px;
    border-radius: 50px;
}

.learn-more-container{
    margin-top: 15px;
}

.mission-card{
    min-height: 400px !important;
}

#map {
    height: 600px; /* The height is 400 pixels */
    width: 100%; /* The width is the width of the web page */
}

.footer-logo{
    height: 75px;
}

.footer-bottom{
    border-top: 0.5px solid #DDD;
    padding: 20px 0px !important;
    text-align: center;
}

.schoolhouse-red-bg-color{
    background-color: #FF5B5B !important;
}

.footer-message{
    max-width: 50%;
}

.cognia-logo-container{
    align-self: start;
    margin-top: 15px;
}

.cognia-logo-container > .learn-more-container > .schoolhouse-btn{
    padding: 8px 16px;
}

.header-mobile-button{
    display: none;
}

.contact-form-container{
    z-index: 2;
    position: relative;
    padding-bottom: 5rem;
}

.foundation-card-sm{
    min-height: 580px;
}

.under-construction-message{
    background: #FF5B5B;
    position: absolute !important;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #FFF;
    font-size: 24px;
    padding: 5px 20px;
    border-radius: 25px;
}

.foundation-card{
    min-height: 690px;
}

.back-to-home-btn{
    background: #FFF;
    color: #FF5B5B;
    border-radius: 25px;
    font-size: 16px;
    padding: 4px 12px;
    font-weight: 500;
    margin-bottom: 10px;
    display: inline-block;
}

.schoolhouse-square{
    width: 48px;
    height: 48px;
    display: block;
    background: #FFF;
    border: 4px solid rgb(110, 193, 215);
    margin: 0 auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.under-construction-message-container {
    background-color: rgba(110, 193, 215, 1);
    color: #FFF;
    padding: 20px 0px;
}

.responsive-video {
    position: absolute !important;
    top: 0; left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
}

.video-container,
.video-zoom-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    /* fallback for browsers without aspect-ratio support: */
    /* height: 0; padding-bottom: 56.25%; */
}

.video-zoom-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  overflow: hidden;
}

@media (max-width: 575px){
    .overlay {
        font-size: 1.5rem !important;
    }

    .more-info-badge-container > span{
        font-size: 0.8rem !important;
    }
    .more-info-badge-container {
        margin-top: -10px !important;
    }

    .overlay > div:first-of-type{
        line-height: 24px !important;
    }

    header.header-container{
        padding: 1rem !important;
    }

    .pt-60{
        padding-top: 10rem !important;
    }

    .footer-message, .footer-contact-info {
        max-width: 85% !important;
    }

    .footer-logo {
        height: 75px;
    }

    .hedaer-container-logo > a >img {
        width: 120px !important;
    }

    .header-container-contact-button, .header-container-contact-button:hover{
        margin-top: 5px;
        font-size: 12px;
        padding: 10px;
        margin-right: 20px !important;
    }

    .hamburger-menu{
        top: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
    }

    .side-menu > ul > li > a {
        font-size: 1rem;
    }

    .footer-get-in-touch-button{
        display: none;
    }

    .header-lg-button{
        display: none !important;
    }

    .header-mobile-button{
        display: block;
        width: 165px;
        font-size: 18px !important;
        margin: 0 auto !important;
    }

    .back-to-home-btn{
        font-size: 14px !important;
    }
}

@media (max-width: 490px){
    .hedaer-container-logo > a > img {
        width: 100px !important;
    }

    .header-container-contact-button, .header-container-contact-button:hover{
        margin-top: 5px;
        font-size: 12px;
        padding: 10px;
        margin-right: 60px;
    }

    .hamburger-menu{
        top: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
    }
}