﻿@media (max-width: 1120px) {
}

@media (max-width: 992px) {
    .welcome_detail {
        width: 100%;
    }

    .service_img-container .service_img-box.i-box-1 {
        width: 100%;
    }

    .service_img-container .service_img-box.i-box-2 {
        width: 100%;
    }

    .service_img-container .service_img-box.i-box-3 {
        width: 100%;
    }

    .service_img-container .service_img-box.i-box-4 {
        width: 100%;
    }

    .contact_form-container .contact_box {
        width: 75%;
    }

    .contact_form-container form input,
    .contact_form-container form input:focus,
    .contact_form-container form input:active {
        width: 100%;
    }

    .service_img-container .service_img-box {
        margin-top: 35px;
    }

    .info_section .news_container .social_container {
        width: 100%;
    }

    .owl-carousel .owl-nav,
    .owl-carousel .owl-nav.disabled {
        display: flex;
        position: absolute;
        top: 110%;
        transform: translate(-50%);
        justify-content: space-between;
        width: 40%;
        z-index: 0;
        left: 50%;
    }
}

@media (max-width: 766px) {
    .navbar-toggler {
        /*        background-color: maroon;
*/ margin-top: -145px;
        color: maroon;
    }
}

@media (max-width: 768px) {
    .welcome_detail {
        margin-top: 25px;
    }

    .story_detail {
        margin-top: 25px;
    }

    .contact_form-container form input,
    .contact_form-container form input:focus,
    .contact_form-container form input:active {
        width: 85%;
    }

    .service_section .container {
        padding: 0;
    }

    .col-md-4.address_container {
        margin-top: 25px;
    }

    .col-md-4.news_container {
        margin-top: 25px;
    }

    .contact_section .row .col-md-6 {
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .address_container, .news_container {
        margin-left: 0px;
    }

    .top-bar .email-info {
        position: relative;
        /* left: 50%; */
        /* transform: translateX(-50%); */

        transform: translate(-50%, 1%);
        color: white;
    }

    .top-bar .contact-info {
        margin-left: 0px;
        color: white;
        font-size: large;
    }

    #loginSection {
        /*    width: 80%;*/
        margin-left: 28px;
        width: 80%;
    }

        #loginSection .login-button {
            width: 50%;
        }

    /*.navbar-toggler {*/
    /*        background-color: maroon;
*/ /*margin-top: -145px;
            color: maroon;
        }*/
    /*services container responsive*/
    .services-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .box {
        width: 100%;
        margin-bottom: 20px;
    }

    .box-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .box-image {
        max-width: 100%;
        height: auto;
    }

    .text-content h2, .text-content h3 {
        text-align: center;
    }

    .contact_info {
        text-align: center; /* Centers the text content */
        margin: 0 auto; /* Centers the entire container */
    }
}

@media (max-width: 576px) {
    .slider_section .slider_box .slider-detail .slider_detail-text {
        width: 85%;
    }

    .service_section .container {
        width: 90%;
    }

    .slider_section .carousel-indicators {
        top: 95%;
        left: 25%;
        display: flex;
        justify-content: space-between;
        width: 100px;
        align-items: center;
    }

    .owl-carousel .owl-nav,
    .owl-carousel .owl-nav.disabled {
        width: 75%;
    }

    .contact_form-container .contact_box {
        width: 85%;
    }

    .contact_form-container .contact_box {
        padding: 35px 35px;
        margin: 100px 25px;
    }

    .contact_form-container form input,
    .contact_form-container form input:focus,
    .contact_form-container form input:active {
        width: 100%;
    }

    .info_section .news_container form input {
        width: 90%;
    }
}

@media (max-width: 480px) {
    .service_section .service_img-container .service_img-box {
        min-width: 275px;
        height: 250px;
    }
}

/*collapse navlink adjust*/


@media (max-width: 992px) {
    .top-bar .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0;
    }

    .contact-info,
    .email-info {
        width: 100%;
        text-align: center;
        padding: 25px 0;
        box-sizing: border-box;
    }

    .contact-info {
        margin-bottom: 30px; /* Space between contact info and email */
    }

    .email-info {
        padding-top: 0;
        margin-top: 70px
    }

    .nav-item.active .nav-link {
        color: maroon;
        font-weight: bold;
        border-bottom: none;
        padding-bottom: 10px;
    }

}


@media (max-width: 768px) {
    .top-bar .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0;
    }

    .contact-info,
    .email-info {
        width: 100%;
        text-align: center;
        padding: 5px 0;
        box-sizing: border-box;
    }

    .contact-info {
        margin-bottom: 0px; /* Space between contact info and email */
    }

    .email-info {
        padding-top: 0;
    }
}

/* Ensure full-width layout for mobile */
@media (max-width: 600px) {
    .top-bar .container {
        padding: 0 15px;
    }

    .contact-info,
    .email-info {
        padding: 0px 0;
    }

    /* Navbar for mobile screens */
    @media (max-width: 991px) {
        /* Adjust victor-info */
        .victor-info {
            margin-inline-end: 150px
        }


        /* Adjust Get Appointment button */
        .slider_detail-btn .get-brochure-btn {
            margin-top: 15px;
            display: block;
            width: 100%;
            text-align: center;
            padding: 12px 0; /* Add padding for touch targets */
            font-size: 16px; /* Adjust font size */
        }

        /* Adjust Get Brochure button */
        .get-brochure-btn1 {
            margin-top: 15px;
            display: block;
            width: 100%;
            text-align: center;
            padding: 12px 0;
            font-size: 16px;
        }
    }


    .logo_box {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .victor-info {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
        font-size: 18px;
        font-weight: bold;
    }
}


/* Adjustments for very small screens */
@media (max-width: 767px) {
    .navbar-expand-lg .navbar-nav .nav-item {
        margin-bottom: 8px;
        font-size: 14px;
    }

    .navbar-brand {
        margin-bottom: 10px;
    }

    .navbar-collapse {
        text-align: center;
        /* text-align: right;*/
    }

    .datapanel-form {
        /*        width: 125%;*/
        overflow-x: auto;
    }

        .datapanel-form .navbar-toggler-icon {
            margin-top: 0px;
            /* margin-left: 80px;*/
        }

        .datapanel-form #GridView1 {
            overflow-x: auto; /* Adds horizontal scrolling on smaller screens */
        }
}


    /* Slider Section */
    @media (max-width: 767px) {
        .slider_detail-heading h1 {
            font-size: 24px;
        }

        .slider_detail-text p {
            font-size: 14px;
        }

        .slider_detail-btn a {
            font-size: 14px;
            padding: 8px 16px;
        }
        /* admin panel style tables */


        /*.info_section {
        width: 140%;
        padding: 180px   }*/


        /* Info Section */

        .info_section .row {
            flex-direction: column;
            text-align: center;
        }

        .info_section .address_container,
        .info_section .news_container {
            margin-bottom: 20px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

            .info_section .address_link-container a,
            .info_section .news_container ul {
                justify-content: center;
            }

        .logout-button {
            width: 20%;
            height: 4%;
            margin-right: -90px;
        }
        /*services image center */
        .service_img-box {
            flex: 1 1 calc(100% - 20px); /* Make each item take full width minus gap */
            max-width: calc(100% - 20px); /* Max width should be same as flex basis */
        }

        .layout_padding {
            padding: 110px 0;
        }
        /* Footer Section */

        .footer_section p {
            padding-bottom: 0px;
            font-size: 14px;
            text-align: center;
        }
    }


    @media (min-width: 601px) {
        .navbar-toggler {
            margin-top: 0%;
        }
    }

    @media (max-width: 600px) {
        .navbar-toggler {
            margin-left: 50%;
        }
    }

    @media (max-width: 401px) {
        .navbar-toggler-icon {
            margin-left: -50px;
            position: absolute;
            top: 0;
            right: 0;
            z-index: 2;
        }

        .navbar-collapse {
            margin-left: -60px
        }

        .datapanel-form .navbar-toggler-icon {
            margin-top: 30px;
           
        }
    }

@media (min-width: 769px) and (max-width: 1024px) {
    .datapanel-form #loginSection {
        padding: 15%
    }

    #loginSection .login-button {
        width: 50%;
        height: 4%;
        margin-right: -90px;
    }

    .info_section {
        padding: 11%;
    }
}