

/* start hero */
.hero{
    display: flex;
    flex-direction: column;
    margin: auto;
    align-items: center;
    min-height: 100vh;
    position: relative;
    padding-top: 50px;


    
    
    
}
@media (max-width: 992px) {
    .hero{
        background-image: none;
    }
    
}


 
@media (max-width: 992px) {
    .hero .cta {
        display: none;
    }

}




.hero-img{
    margin: 20px auto;
}

.hero .hero-img img{
    max-width: 440px;
    width: 100%;
    display: block;
    margin: auto;
}

.hero .spider{
    position: absolute;
    top: 25%;
    transform: translateY(-25%);
    right: -51px;
    height: 778px;
    width: 865px;
}

@media (max-width: 992px) {
    .hero .spider{
        display: none;
    }
    
}

.hero p{
    text-align: center;
    line-height: 1.6;
    color: #0000005c;
    width: 100%;
    max-width: 500px;
    margin-bottom: 20px;
    font-size: 1.8rem;
    margin-left: auto;
    margin-right: auto;
    font-weight: bolder;

}

.hero .btn{
    margin: auto;
}


.hero .hero-cards{
    padding-top: 50px;
    padding-bottom: 50px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.hero .hero-cards .card{
    width: 200px;
    padding: 20px;
    position: relative;
    color: #fff;
    box-shadow: 5px 5px 10px #00000040;
    border-radius: 25px;
}
.hero .hero-cards .card p{
    color: #fff;
    line-height: 1.6;
    font-weight: bolder;
}
.hero .hero-cards .card:first-child{
    background-color: #1AC0E3;
    rotate: 3deg;
    position: relative;

}
.hero .hero-cards .card:first-child p{
        padding-top: 30px;
}
.hero .hero-cards .card:first-child svg{
    position: absolute;
    left: 20px;
    bottom: 40px;
    
}
.hero .hero-cards .card:nth-child(2){
    background-color: #EE4C4A;

}
.hero .hero-cards .card:last-child{
    background-color: #956AC6;
    rotate: -3deg;
}


/* start hero when user logging in */

.hero-logged-in .hero-options {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;

}

.hero-logged-in .hero-options .btn {
    margin: 0;
}

.teacher {
    background-color: #956AC6;
}

.teacher:hover {
    background-color: #8558b5;
}

@media (max-width: 768px) {
    .hero-logged-in .hero-options {
        flex-direction: column;
        align-items: center;
    }
    .hero-logged-in .hero-options .btn {
        width: 100%;
        text-align: center;
    }
    
}

/* end hero when user logging in */







/* end hero */


/* start features */

.features{
    padding-top: 0px;
    padding-bottom: 60px;
    position: relative;
}
.features p, .features li{
    font-size: 2rem;
}

.features .children{
    width: 100%;
    height: 600px;
    display: block;
    margin-bottom: 20px;
}



.features .features-title h2{
    font-size: 2.5rem;
    color: #2b4683;
    margin-bottom: 15px;

}
.features .features-title p{
    font-size: 1.6rem;
    color: #777;
    margin-bottom: 30px;
    max-width: 500px;
    width: 100%;
}


.features .feat{
    margin-bottom: 50px;
    box-shadow: var(--main-shadow);
    padding: 20px;
    transition: var(--main-transition);
    font-size: 1.6rem;


}
.features .feat:hover{
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}
.features .feat:first-child{
    width: 60%;
    

}
.features .feat:nth-child(2){
    width: 50%;

}
.features .feat:nth-child(3){
    width: 45%;

}
.features .feat:nth-child(4){
    width: 70%;

}

@media (max-width: 992px) {
    .features .feat:first-child {
            width: 100%;
    
    
        }
    
        .features .feat:nth-child(2) {
            width: 100%;
    
        }
    
        .features .feat:nth-child(3) {
            width: 100%;
    
        }
    
        .features .feat:nth-child(4) {
            width: 100%;
    
        }
    
}

.features .feat .feat-title{
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;

}
.features .feat .feat-title span{
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: var(--secondary-color);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;

}

.features .feat .feat-title h3{
    color: #023e5a;

}



.features .feat .feat-content ul{
    display: flex;
    flex-direction: column;
    gap: 5px;
    list-style: disc;
    color: #777;
    line-height: 1.8rem;
    padding-right: 20px;

}


.features .feat .feat-content  p{

    color: #777;
    line-height: 2.3rem;
    font-weight: 600;
    margin-top: 5px;

}


/* end features */



/* start apply now */

.apply-now{
    background-color: #a8e0fe4f;
    padding: 25px;
    min-height: 150px;
    
}
.apply-now .container{
    display: flex;
    align-items: center;
    gap: 30px;
    justify-content: center;

}
.apply-now .container .img{
    width: 100px;
    height: 100px;
    background-color: #2b45836a;
    padding: 10px;
    border-radius: 25px;

}
.apply-now .container img{
    display: block;
    width: 100%;
    height: 100%;
}

.apply-now .text p{
    font-size: 2rem;
    max-width: 500px;
    width: 100%;
    line-height: 1.6;
}

.apply-now .text p span{
    font-size: 2.5rem;
    transform: translateY(-30px);
    display: inline-block;
    color: #8558b5;
    font-weight: 800;
}
@media (max-width: 768px) {
    .apply-now .text p {
        font-size: 1.4rem;
    }
.apply-now .text p span {
    font-size: 1.8rem;
    transform: translateY(0);
}
    
}
.apply-now .btn{
    background-color: #956AC6;
    margin: 20px auto;
}
.apply-now .btn:hover{
    background-color: #8558b5;
}

/* end apply now */

/* start home modal children dropdown */

.children-modal .children-dropdown {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 300px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #2b4683 transparent;
    margin: 20px 0;
}

.children-modal .btns {
    display: flex;
    margin: 0;
    gap: 10px;
    justify-content: flex-end;
}
@media (max-width: 768px) {
    .children-modal .btns {
        justify-content: center;
    }
    
}

.children-modal .btn {
    background-color: #956AC6;
    color: #fff;
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    font-size: 1.6rem;
    transition: var(--main-transition);
}
.children-modal .btn:hover {
    background-color: #8558b5;
}

.children-modal .child-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-bottom: 1px solid #2b45836a;
    cursor: pointer;
}

.children-modal .child-item:last-child{
    border: none;
}

.children-modal .child-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
}

.children-modal .child-item p {
    margin: 0;
    font-size: 1.4rem;
    color: #333;
}

/* end home modal children dropdown */
/* start home modal add child  */

.children-modal .modal-content{
    max-height: 600px;
    overflow-y: auto;
}

.add-child-form{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.add-child-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.add-child-form .form-group label {
    font-weight: bold;
}
.add-child-form .form-group input,
.add-child-form .form-group select,
.add-child-form .form-group textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1.4rem;
}


.add-child-form .child-photo-group .photo-preview {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 50%;
    overflow: hidden;
    width: 100px;
    height: 100px;
    cursor: pointer;
    margin: auto;
}


.add-child-form .child-photo-group .photo-preview img{
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;

}

.add-child-form .child-photo-group label {
    display: none;
}
.add-child-form .child-photo-group input {
    display: none;}



.add-child{
    display: none;
}


/* end home modal add child */

/* ========================= */
/* Responsive Design Section */
/* ========================= */

/* @media (max-width: 992px) {


    .hero p {
        font-size: 1.6rem;
        line-height: 2rem;
        padding: 0 15px;
    }

    .hero .hero-img img {
        max-width: 300px;
    }

    .features .features-title p {
        width: 100%;
    }
}

@media (max-width: 768px) {


    .hero {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .hero-logged-in .hero-options {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .hero-logged-in .hero-options .btn {
        width: 90%;
        font-size: 1.4rem;
    }

    .hero .hero-imgs img {
        position: static !important;
        width: 60% !important;
        height: auto !important;
        margin: 10px auto;
        display: block;
    }

    .hero .hero-imgs {
        position: relative;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }


    .features {
        padding-top: 80px;
    }

    .features .feat {
        width: 100% !important;
        margin-bottom: 25px;
    }

    .features .features-title h2 {
        font-size: 2rem;
        text-align: center;
    }

    .features .features-title p {
        text-align: center;
        font-size: 1.4rem;
        padding: 0 15px;
    }


    .children-modal .modal-content {
        width: 95%;
        max-height: 90vh;
        margin: auto;
    }

    .children-modal .child-item img {
        width: 40px;
        height: 40px;
    }

    .children-modal .child-item p {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {


    .hero p {
        font-size: 1.4rem;
    }

    .features .features-title h2 {
        font-size: 1.8rem;
    }

    .apply-now .btn {
        font-size: 1.4rem;
        padding: 8px 16px;
    }

    .add-child-form .form-group input,
    .add-child-form .form-group select,
    .add-child-form .form-group textarea {
        font-size: 1.2rem;
        padding: 8px;
    }
} */