@media (min-width: 300px) and (max-width: 600px) {

    .main {
        width: 100%;
        height: 100%;
    }

    .mySlides {
        width: 100%;
        height: 200px;
        margin-top: 70px;
    }

    .hints {
        width: 100%;
        height: auto;
        background-color: lightblue;
        display: flex;
        flex-direction: column;
    }

    .hints2 {
        width: 95%;
        height: 250px;
        margin-left: 08px;
        border-radius: 10px;
        margin-top: 05px;
        background-color: white;
    }

    .hints2 h1 {
        font-size: 19px;
        text-align: center;
        margin-top: 10px;
    }

    .hints2 p {
        margin-top: 10px;
        margin-left: 10px;
        font-size: 15px;
    }

    .hints2 img {
        margin-left: 100px;
    }

    .about {
        width: 100%;
        height: auto;
        margin-top: 20px;
    }

    .about h1 {
        margin-left: 50px;
    }

    .about p {
        margin-left: 10px;
        margin-top: 20px;
        font-size: 16px;
        color: black;
    }

    .director {
        width: 100%;
        height: auto;
        flex-direction: column;
        display: flex;
    }

    .director2 {
        width: 100%;
        height: 100%;
        margin-left: 0px;
        margin-top: 20px;
    }

    .director2 h1 {
        color: #b21b79;
        margin-left: 15px;
        font-size: 28px;
    }

    .director2 h2 {
        margin-top: 15px;
        color: #29176c;
        margin-left: 15px;
    }

    .director2 p {
        margin-top: 20px;
        margin-left: 15px;
    }

    .facility {
        width: 100%;
        height: auto;
        border: 1px solid white;
        display: flex;
        flex-direction: column;
        margin-left: 0px;
        margin-top: 10px;
        border-radius: 10px;
    }

    .facility2 {
        width: 100%;
        height: auto;

    }

    .facility2 li {
        margin-left: 10px;
        margin-top: 10px;
        font-size: 18px;
    }

    .treatment {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        margin-top: 0px;
    }

    .treat2 {
        width: 95%;
        height: 100%;
        border: 1px solid #29176c;
        margin-left: 06px;
        border-radius: 10px;
        margin-top: 20px;
    }

    .treat2 h1 {
        text-align: center;
        font-size: 28px;
        color: #b21b79;
    }

    .treat2 img {
        width: 100%;
        margin-top: 20px;
        height: 250px;
    }

    .treat2 p {
        margin-left: 10px;
        margin-top: 10px;
    }

    .maps {
        width: 100%;
        height: 400px;
        margin-top: 20px;
        margin-left: 0px;
    }

    .footer {
        width: 100%;
        height: auto;
        flex-direction: column;
        margin-top: 10px;
        display: flex;
    }

    .foot {
        width: 100%;
        height: 100%;

    }

    .foot h1 {
        text-align: center;
        margin-top: 20px;
        color: #b21b79;
    }

    .foot p {
        margin-left: 10px;
        font-size: 18px;
        margin-top: 15px;
    }

    .foot p a {
        margin-left: 80px;
        text-decoration: none;
        font-size: 18px;
        color: black;
    }

    .fa {
        padding: 10px;
        font-size: 20px;
        width: 50px;
        text-align: center;
        text-decoration: none;
        margin: 5px 2px;
        border-radius: 50%;
    }

    .fa:hover {
        opacity: 0.7;
    }

    .fa-facebook {
        background: #3B5998;
        color: white;
    }

    .fa-twitter {
        background: #55ACEE;
        color: white;
    }

    .fa-google {
        background: #dd4b39;
        color: white;
    }

    .fa-linkedin {
        background: #007bb5;
        color: white;
    }

    .fa-youtube-play {
        background: #bb0000;
        color: white;
    }

    .fa-instagram {
        background: #125688;
        color: white;
    }

    .fa-pinterest {
        background: #cb2027;
        color: white;
    }


    .whatsapp {
        position: sticky;
        bottom: 0;
        z-index: 999;
    }

    .whatsapp img {
        width: 80px;
        margin-top: 20px;
        margin-left: 20px;

    }


    .heads {
        width: 100%;
        height: 110px;
        margin-top: 50px;
        background-image: url(img/about-background.jpg);
        background-size: cover;
        background-repeat: no-repeat;
    }

    .heads h1 {
        text-align: center;
        padding-top: 25px;
        color: white;
        font-size: 22px;
    }

    .heads p {
        text-align: center;
        padding-top: 10px;
        font-size: 19px;
        color: white;
    }

    .contact {
        width: 100%;
        margin: 0 auto;
        /* Center the form horizontally */
    }


    .gallery {
        width: 100%;
        height: auto;
        flex-direction: column;
        display: flex;
    }

    .galler2 {
        width: 100%;
        height: 100%;
        margin-left: 0px;
    }

    .galler2 img {
        width: 100%;
        height: auto;
    }

}

@media (min-width: 601px) and (max-width: 1250px) {
    .main {
        width: 1250px;
        height: 100%;
    }

    .mySlides {
        width: 100%;
        height: 500px;
        margin-top: 70px;
    }

    .hints {
        width: 100%;
        height: 260px;
        background-color: lightblue;
        display: flex;
    }

    .hints2 {
        width: 19%;
        height: 250px;
        margin-left: 10px;
        border-radius: 10px;
        margin-top: 05px;
        background-color: white;
    }

    .hints2 h1 {
        font-size: 19px;
        text-align: center;
        margin-top: 10px;
    }

    .hints2 p {
        margin-top: 10px;
        margin-left: 10px;
        font-size: 15px;
    }

    .hints2 img {
        margin-left: 60px;
    }

    .about {
        width: 100%;
        height: 350px;

        margin-top: 30px;
    }

    .about h1 {
        margin-left: 50px;
    }

    .about p {
        margin-left: 50px;
        margin-top: 20px;
        font-size: 18px;
        color: black;
    }


    .director {
        width: 100%;
        height: 300px;

        display: flex;
    }

    .director2 {
        width: 45%;
        height: 100%;
        margin-left: 50px;
    }

    .director2 h1 {
        color: #b21b79;
    }

    .director2 h2 {
        margin-top: 15px;
        color: #29176c;
    }

    .director2 p {
        margin-top: 20px;
    }


    .facility {
        width: 90%;
        height: 420px;
        border: 1px solid white;
        display: flex;
        margin-left: 60px;
        margin-top: 10px;
        border-radius: 10px;
    }

    .facility2 {
        width: 50%;
        height: 420px;

    }

    .facility2 li {
        margin-left: 100px;
        margin-top: 10px;
        font-size: 18px;
    }

    .treatment {
        width: 100%;
        height: 450px;
        display: flex;
        margin-top: 40px;
    }

    .treat2 {
        width: 32%;
        height: 100%;
        border: 1px solid #29176c;
        margin-left: 10px;
        border-radius: 10px;
    }

    .treat2 h1 {
        text-align: center;
        font-size: 28px;
        color: #b21b79;
    }

    .treat2 img {
        width: 100%;
        margin-top: 20px;
        height: 250px;
    }

    .treat2 p {
        margin-left: 10px;
        margin-top: 10px;
    }

    .maps {
        width: 95%;
        height: 400px;
        margin-top: 20px;
        margin-left: 30px;
    }

    .footer {
        width: 100%;
        height: 400px;

        margin-top: 10px;
        display: flex;
    }

    .foot {
        width: 25%;
        height: 100%;

    }

    .foot h1 {
        text-align: center;
        margin-top: 20px;
        color: #b21b79;
    }

    .foot p {
        margin-left: 10px;
        font-size: 18px;
        margin-top: 15px;
    }

    .foot p a {
        margin-left: 80px;
        text-decoration: none;
        font-size: 18px;
        color: black;
    }

    .fa {
        padding: 20px;
        font-size: 20px;
        width: 50px;
        text-align: center;
        text-decoration: none;
        margin: 5px 2px;
        border-radius: 50%;
    }

    .fa:hover {
        opacity: 0.7;
    }

    .fa-facebook {
        background: #3B5998;
        color: white;
    }

    .fa-twitter {
        background: #55ACEE;
        color: white;
    }

    .fa-google {
        background: #dd4b39;
        color: white;
    }

    .fa-linkedin {
        background: #007bb5;
        color: white;
    }

    .fa-youtube-play {
        background: #bb0000;
        color: white;
    }

    .fa-instagram {
        background: #125688;
        color: white;
    }

    .fa-pinterest {
        background: #cb2027;
        color: white;
    }


    .whatsapp {
        position: sticky;
        bottom: 0;
        z-index: 999;
    }

    .whatsapp img {
        width: 80px;
        margin-top: 20px;
        margin-left: 20px;

    }

    .heads {
        width: 100%;
        height: 220px;
        margin-top: 50px;
        background-image: url(img/about-background.jpg);
        background-size: cover;
        background-repeat: no-repeat;
    }

    .heads h1 {
        text-align: center;
        padding-top: 40px;
        color: white;
    }

    .heads p {
        text-align: center;
        padding-top: 40px;
        font-size: 22px;
        color: white;
    }

    .contact {
        width: 600px;
        margin: 0 auto;
        /* Center the form horizontally */
    }

    .contact form {
        padding: 20px;
        border: 1px solid #ccc;
        border-radius: 8px;
    }

    label {
        display: block;
        margin-bottom: 5px;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea {
        width: calc(100% - 22px);
        padding: 8px;
        margin-bottom: 10px;
        border: 1px solid #ccc;
        border-radius: 4px;
        box-sizing: border-box;
    }

    input[type="radio"] {
        margin-right: 10px;
    }

    button {
        background-color: #4CAF50;
        color: white;
        padding: 10px 20px;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    button:hover {
        background-color: #45a049;
    }

    .animated-button {
        animation: pulse 1s infinite alternate;
    }

    @keyframes pulse {
        from {
            transform: scale(1);
        }

        to {
            transform: scale(1.1);
        }
    }


    .gallery {
        width: 100%;
        height: auto;

        display: flex;
    }

    .galler2 {
        width: 30%;
        height: 100%;

        margin-left: 25px;
    }

    .galler2 img {
        width: 100%;
        height: auto;
    }
}