*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}
.header {
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.3),rgba(4,9,30,0.5)),url(https://i.postimg.cc/8PbKns9m/Kids-Cover.jpg); /*change anytime you want */
    background-position: center;
    background-size: cover;
    position: relative;
}
nav {
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}
nav img {
    width: 400px; /*change anytime you want */
}
.nav-links {
    flex: 1;
    text-align: right;
}
.nav-links ul li {
    list-style: none;
    display: inline-block;
    padding: 8px 12px; /*change anytime you want */
    position: relative;
}
.nav-links ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 27px; /*change anytime you want */
}
.nav-links ul li::after {
    content: '';
    width: 0%;
    height: 2px;
    background: #150b83;
    display: block;
    margin: auto;
    transition: 0.5s;
}
.nav-links ul li:hover::after {
    width: 100%;
}
.entrance {
    width: 90%;
    color: #ffffff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}
.entrance h1 {
    font-size: 185px; /*change anytime you want */
}
.entrance p {
    margin: 0px 0 35px;
    font-size: 40px; /*change anytime you want */
    color: #ffffff;
}
.button {
    display: inline-block;
    text-decoration: none;
    color: #ffffff;
    border: 1px solid #ffffff;
    padding: 12px 34px;
    font-size: 25px; /*change anytime you want */
    background: transparent;
    position: relative;
    cursor: pointer;
}
.button:hover {
    border: 1px solid #ca2317;
    background: #ca2317;
    transition: 1s;
}

nav .fa {
    display: none;
}

@media(max-width: 700px) {
    .entrance h1 {
        font-size: 60px; /*change anytime you want */
    }
    nav img {
        width: 230px;
        margin-top: 3px;
    }
    .entrance p {
        font-size: 25px;
    }
    .button {
        font-size: 19px;
    }
    .nav-links ul li {
        display: block;
    }
    .nav-links {
        position: fixed;
        background: #0b1699;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }
    nav .fa {
        display: block;
        color: #ffffff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }
    .nav-links ul {
        padding: 15px; /*change anytime you want */
    }
}

/*program page*/

.program {
    width:  90%;
    margin: auto;
    text-align: center;
    padding-top: 80px;
}
.program h1 {
    font-size: 50px;
    font-weight: 600;
    color: #081f5c;
}
.program p{
    color: #3d5089;
    font-size: 20px; /*change anytime you want*/
    font-weight: 300;
    padding: 10px;
}
.boxes {
    margin-top: 4%;
    display: flex;
    justify-content: space-between;
}
.sub {
    flex-basis: 32;
    background: #46769b;
    border-radius: 15px;
    margin-bottom: 8%;
    padding: 10px 5px;
    box-sizing: border-box;
    margin-right: 2%;
    transition: 0.5s;
}
.sub h2 {
    color: #ffffff;
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
    font-size: 35px;
}
.sub p {
    color: #ffffff;
    font-size: 15px;
}
.sub:hover {
    box-shadow: 0 0 20px 0px rgba(0,0,0,0.2);
}
@media(max-width: 700px) {
    .boxes {
        flex-direction: column;
    }
}

/*----facilties---*/
.facilities {
    width: 90%;
    margin: auto;
    text-align: center;
    padding-top: 20px;
}
.facilities h1 {
    font-size: 50px;
    font-weight: 600;
    color: #081f5c;
}
.facilities p{
    color: #3d5089;
    font-size: 20px; /*change anytime you want*/
    font-weight: 300;
    padding: 10px;
}
.boxes1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 6%;
}
.rooms {
    flex-basis: calc(33.33% - 20px); 
    border-radius: 15px;
    margin-bottom: 8%;
    text-align: center;
}
.rooms h2 {
    color: #081f5c;
}
.rooms img {
    border-radius: 12px; 
    width: 100%;
}
.rooms h2 {
    margin-top: 10px;
}

/*Daily Class Flow*/
.DCF {
    width: 90%;
    margin: auto;
    text-align: center;
    padding-top: 20px;
    margin-bottom: 0;
}
.DCF h1 {
    font-size: 50px;
    font-weight: 600;
    color: #081f5c;
    margin-bottom: 0;
}
.DCF p{
    color: #3d5089;
    font-size: 20px; /*change anytime you want*/
    font-weight: 300;
    padding: 10px;
    margin-bottom: 0;
}
*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}
body {
    background: #46769b;
}
.flow {
    position: relative;
    max-width: 1200px;
    margin: 20px auto;
}
.con {
    padding: 10px 50px;
    position: relative;
    width: 50%;
    animation: movedown 1s linear forwards;
    opacity: 0;
}
@keyframes movedown {
    0%{
        opacity: 1;
        transform: translateY(-30px);
    }
    100%{
        opacity: 1;
        transform: translateY(0px);
    }
}

.con:nth-child(1){
    animation-delay: 0s;
}
.con:nth-child(2){
    animation-delay: 1s;
}
.con:nth-child(3){
    animation-delay: 2s;
}
.con:nth-child(4){
    animation-delay: 3s;
}
.con:nth-child(5){
    animation-delay: 4s;
}
.con:nth-child(6){
    animation-delay: 5s;
}

.text-box {
    padding: 20px 30px;
    background:  #46769b;
    position: relative;
    border-radius: 6px;
    font-size: 15px;
    color: #ffffff;
}
.left-con {
    left: 0;
}
.right-con {
    left: 50%;
}
.con img {
    position: absolute;
    width: 70px;
    border-radius: 50%;
    right: -35px;
    top: 34px;
    z-index: 10;
}
.right-con img {
    left: -35px;
}
.flow::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 100%;
    background: #46769b;
    top: 0;
    left: 50%;
    margin-left: -3px;
    z-index: -1;
    animation: moveline 6s linear forwards;
}
@keyframes moveline {
    0%{
        height: 0;
    }
    100%{
        height: 100%;
    }
}
.text-box h2{
    font-weight: 600;
}
.left-container-arrow {
    height: 0;
    width: 0;
    position: absolute;
    top: 40px;
    z-index: 1;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 15px solid #46769b;
    right: -5px;
}
.right-container-arrow {
    height: 0;
    width: 0;
    position: absolute;
    top: 40px;
    z-index: 1;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 15px solid #46769b;
    left: -5px;
}

@media screen and (max-width: 700px){
    .flow{
        margin: 18px auto;
    }
    .flow::after {
        left: 31px;
    }
    .con {
        width: 100%;
        padding-left: 80px;
        padding-right: 25px;
    }
    .text-box {
        font-size: 13px;
    }
    .right-con {
        left: 0;
    }
    .left-con img, .right-con img {
        left: 0px;
    }
    .left-container-arrow, .right-container-arrow {
        border-right: 15px solid #46769b;
        border-left: 0;
        left: -5px;
    }
}

/*reviews*/
@media (max-width: 700px) {
    .rooms {
        flex-basis: calc(100% - 20px); 
    }
}
.reviews {
    width: 90%;
    margin: auto;
    padding-top: 20px;
    text-align: center;
    margin-top: 50px;
}
.reviews h1 {
    font-size: 50px;
    font-weight: 600;
    color: #081f5c;
}
.reviews p{
    color: #3d5089;
    font-size: 20px; /*change anytime you want*/
    font-weight: 300;
    padding: 10px;
}
.rate {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.review {
    margin-top: 40px;
    margin-left: 10px;
    margin-right: 10px;
    flex-basis: 45%;
    border-radius: 10px;
    background: #b1d4f0;
    padding: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    flex-basis: calc(45% - 10px);
    margin-bottom: 20px;
}

.review img {
    height: 85px;
    margin-right: 10px;
    border-radius: 50%;
}

.review p {
    margin-top: 0;
    font-size: 17px;
    text-align: left;
}

.review h3 {
    margin-top: 15px;
    margin-bottom: 0;
}

@media (max-width: 700px) {
    .rate {
        flex-direction: column;
    }
}

/*resources page*/
.content h3 {
    text-align: center;
    font-size: 20px;
    color: #081f5c;
    margin: 0;
    padding-top: 10px;
}
a {
    text-decoration: none;
}
.gallery {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin: 50px 0;
}
.content {
    width: 21%;
    margin: 15px;
    box-sizing: border-box;
    float: left;
    text-align: center;
    border-radius: 20px;
    cursor: pointer;
    padding-top: 10px;
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba (0,0,0,0.22);
    transition: .4s;
    background: #dae4ee;
}
.content:hover {
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba (0,0,0,0.23);
    transform: translate(0px, -8px);
}
.content img{ 
    width: 200px;
    text-align: center;
    margin: 0 auto;
    display: block;
    margin-top: 10px;
}
.content p {
    text-align: center;
    color: #8eace1;
    padding-top: 0 8px;
}
.content h6{
    font-size: 18px;
    text-align: center;
    color: #042037;
    margin: 0;
    margin-bottom: 5px;
}
.content ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 0;
}
.content li {
    padding-top: 5px;
}
.content .fa {
    font-size: 20px;
    transition: .4s;
    margin: 3px;
    color:#0b1699;
    margin-bottom: 10px;
}
.fa:hover{
    transform: scale(1.3);
    transition: 0.6s;
}
@media (max-width: 700px){
    .content {
        width: 100%;
    }
}
/*register*/

.register {
    margin: 100px auto;
    width: 90%;
    background-image: linear-gradient(rgba(0,0,0,0.4),rgba(0,0,0,0.8)), url(https://i.ibb.co/TTrKw4c/440833832-759407703020799-7650955001411029502-n.png);
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    text-align: center;
    padding: 40px 0;
    margin-bottom: 10px;
}
.register h1{
    font-size: 70px;
    color: #ffffff;
    margin-bottom: 0%;
    padding: 0;
}
@media (max-width: 700px) {
    .register {
        font-size: 23px;
    }
}
/*footer*/
.footer {
    margin-top: 50px;
    width: 100%;
    text-align: center;
    padding: 30px 0;
    background-color: #3d83b8;
}
.footer h1 {
    margin-bottom: 0px; /*trial*/
    margin-top: 0%;
    font-weight: 600;
    color: #ffffff;
}
.footer p {
    margin-bottom: 0px;
    color: #ffffff;
}
.icons .fa{
    color: #ffffff;
    margin: 0 13px;
    cursor: pointer;
    padding: 18px 0;
}

/*------about tab page-----*/

.sub-header {
    height: 60vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.5),rgba(4,9,30,0.8)),url(https://seriouslyaddictivemaths.com.ph/wp-content/uploads/2024/01/LMD00042-1-1024x683.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #ffffff;
    align-items: center; 
}
.about-heading {
    font-size: 6em;
    margin: 0; 
}
.about-us {
    width: 80%;
    margin: auto;
    padding-top: 80px;
    padding-bottom: 50px;
    margin-bottom: 0;
}
.about-col {
    flex-basis: 48%;
    padding: 30px 2px;
    text-align: left;
}
.about-col img{
    width:50%;
    margin-top: 0px;
    float: right;
    margin-left: 20px;
    padding: 20px;
}
.about-col h1{
    padding-top: 0;
    font-size: 52px;
    color: #081f5c;
    text-align: center;
}
.about-col p{
    padding: 15px 0 25px;
    font-size: 17px;
    text-indent: 50px;
    text-align: justify;
}
.red-btn {
    border: 1px solid #ca2317;
    background: transparent;
    color: #ca2317;
}
.red-btn:hover{
    color: #ffffff;
    margin-bottom: 0%;
}

@media (max-width: 700px) {
    .about-col h1 {
        font-size: 30px;
    }
    .about-col img{
        width:100%;
        margin: auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .updates img {
        width: 80%;
        margin: auto;
    }
}
@media (max-width: 700px) {
    .about-heading {
        font-size: 59px;
        margin: auto; 
    }
}

/*Blog*/
.updates {
    width: 90%;
    margin: auto;
    text-align: center;
    padding-top: 20px;
    margin-top: 0;
}
.updates h1 {
    margin-top: 0;
    font-size: 80px;
    font-weight: 600;
    color: #081f5c;
}
.updates h4 {
    font-size: 34px;
    margin-top: 13px;
    line-height: 35px;
    color:#37456a;
}
.updates p {
    padding: 15px 0 25px;
    font-size: 15px;
    text-indent: 50px;
    text-align: justify;
    margin-left: 20px;
    margin-bottom: 0px;
}
.updates img {
    width: 32%;
    margin: 0px 20px 0px;
    display: block;
    float: left;
    padding: 20px;
}
.icon-blog {
    height: 50px;
    color: red;
}
.updates h4 {
    font-size: 34px;
    margin-top: 13px;
    line-height: 35px;
    color:#37456a;
}
.anx h4 {
    font-size: 34px;
    margin-top: 13px;
    line-height: 35px;
    color:#37456a;
    margin-bottom: 15px;
}
.anx {
    width: 90%;
    margin: auto;
    text-align: center;
    padding-top: 20px;
    margin-top: 0;
}
.anx p {
    margin-top: 5px;
    padding: 15px 0 25px;
    font-size: 15px;
    text-indent: 50px;
    text-align: justify;
    margin-bottom: 0px;
}
.ie img {
    width: 70%;
    margin: auto;
    display: block;
}
@media (max-width: 700px) {
    .about-col h1 {
        font-size: 30px;
    }
    .about-col img{
        width:100%;
        margin: auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .updates img{
        width:100%;
        margin: auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}
/*contact us*/

.location {
    width: 80%;
    margin: auto;
    padding: 80px 0;
}
.location iframe {
    width: 100%;
}
.contact-us {
    width: 80%;
    margin: auto;
}
.contact-col {
    flex-basis: 48%;
    margin-bottom: 30px;
}
.contact-col div {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}
.contact-col div .fa{
    color: #313744;
    font-size: 28px;
    margin: 10px;
    margin-right: 30px;
}
.contact-col div p {
    padding: 0;
}
.contact-col div h5 {
    font-size: 20px;
    margin-bottom: 5px;
    color: #313744;
    font-weight: 400;
}
.contact-col input, .contact-col textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 17px;
    outline: none;
    border: 1px solid #cccccc;
    box-sizing: border-box;
}