/* for fotter */

@media (max-width: 992px) {
    nav {
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
    }

    nav ul:last-child {
        position: absolute;
        right: 0;
        top: 100%;
        flex-direction: column;
        gap: 0;
        display: none;
        background-color: white;
        width: 100%;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        animation: slideIn 0.5s ease forwards;
    }

    nav ul:last-child li {
        text-align: center;
        padding: 10px 0;
        width: 100%;
    }

    .hamburger {
        display: flex;
    }
    .nav-active ul:last-child {
        display: flex;
        width: 100%;
        z-index: 99;
        padding-bottom: 10px;
    }


    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .hamburger.active div:nth-child(1) {
        transform: rotate(45deg) translate(7px, 6px);
    }

    .hamburger.active div:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active div:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px)
    }
    .book_app{
        animation:none;
    }
}
@media screen and (max-width: 580px) {
    .end_footer .footer_col {
        text-align: center;
        display: flex;
        justify-content: center;
    }    
}
@media screen and (max-width: 768px) {
    .direct_ask_que{
        display: block;
    }
    .have_que{
        width: 100%;
        text-align: center;
    }
    .have_talk{
        padding-top: 10px;
        margin: 0 auto;
        display: flex;
        justify-content: center;
    }
}

@media screen and (max-width: 420px) {
    .schedule_both_btn {
        display: block;
        margin: 0;
    }    
    .schedule_both_btn button {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 12px 0 0 0;
    }
    .pre_both_btn {
        display: block;
        margin: 0;
    }    
    .pre_both_btn button {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 12px 0 0 0;
    }  
}

@media only screen and (max-width: 512px) {
    .fix_app_section {
        background: url(img/fix_512_size.jpg);
        background-size: cover;
        background-position: center center;
        padding: 0;
        animation: none;
    }
    .fix_app_section::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        z-index: 1;
    }
    .fix_app_content { /* Fixed typo */
        margin: 0 auto;
        text-align: center;
        z-index: 2; /* Ensure content is above the overlay */
    }
    .contact_both {
        display: flex;
        justify-content: center;
    }
}

@media screen and (max-width: 501px) {
   .question_division{
        display: block;
        margin-bottom: 0;
        padding: 0;
   }
   .question_division .que_img{
        width: 100%;
   }
   .question_division .que_img img{
        width: 60%;
        margin: 0 auto;
    }
    .que_content{
        width: 100%;
        display: flex;
        flex-direction: column; 
        align-items: center;
        justify-content: center; 
        text-align: center;
       
    }
}


@media screen and (max-width: 992px) {
        .pre_bg_img{
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .trolyy_img {
            position: absolute; 
            bottom: 0px;
            left: 40px; 
            width: auto;
            height: auto; 
        } 
        .pre_box{
                align-items: center;
                margin: 0;
        }
        .pre_sub_text{
            text-align: center;
            
        }
}   

@media screen and (max-width: 485px) {
    .trolyy_img {
        display: none;
    } 
} 

@media screen and (max-width: 520px) {
    .baby_text p{
        margin-bottom: 0;
        font-size: 13px;
        color: #000;
    }
    .baby_text strong{
        font-size: 30px;
    }
    .baby_slpeeping{
        display: flex;
        justify-content: center;
    }
    .baby_slpeeping img{
        width: 50%;
        margin: 0 auto;
    }
} 

@media screen and (max-width: 769px) {
    .fotter-links-new ,.footer_logo_content ,.footer-contact{
        padding: 0;
    
    }
} 

