/* Normal desktop :1200px. */
@media (min-width: 1200px) and (max-width: 1600px) {
    
   



}


/* Normal desktop :992px. */
@media (min-width: 992px) and (max-width: 1199px) {



}
  


/* Tablet desktop :768px. */
@media (min-width: 768px) and (max-width: 991px) {

   
}

/* Large Mobile :600px. */
@media only screen and (min-width: 600px) and (max-width: 767px) {


}




/* small mobile :480px. */
@media only screen and (min-width: 480px) and (max-width: 599px) {
    


}





/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    
    .hero-doctor-img {
        margin-bottom: 30px;
    }
    
    .cta-doctor-img {
        margin-bottom: 30px;
    }
    .custom-footer .col-md-4 {
        text-align: center !important;
    }
    .custom-footer .list-unstyled {
        padding-right: 0;
    }
    .custom-footer .list-unstyled li {
        text-align: center;
    }
    .custom-footer .bi {
        margin-left: 5px;
    }
}

@media (max-width: 768px) {
    .stat-box {
        margin-bottom: 15px;
    }
    .d-grid.gap-2 {
        display: grid !important;
    }
    .d-md-flex {
        justify-content: center !important;
    }
    .custom-btn-book, .custom-btn-learn {
        /* width: 100%;
        margin-bottom: 10px; */
    }
}

/* small mobile :320px. */
@media only screen and (max-width: 479px)  {
    p {
    text-align: right;
    }
    
    .services .services-p {
    width: 90%;
    }
    .services .accordion-item h2 {
        font-size: 16px;
    }
    .services .accordion-item ul{
                list-style: none;
        margin: 10px 0px;
        padding: 5px 5px;
    }
    .services .accordion-item ul li::before {
        margin-left: 5px;
        content: "\f00c";
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
    }   
    .services .accordion-item .accordion-button:not(.collapsed) {
     
        background: transparent;
    }
    .faq .card {
        display: none;
    }
    .hero-section {
    background: linear-gradient(to top, #13B9B9, #fff);
    }
    .hero-stats {
        margin-bottom: 0px;
        flex-wrap: wrap;
    }
    .stat-box {
        width: 50%;
        display: flex;
    flex-direction: column;
    align-items: anchor-center;
    justify-content: start;
    align-self: flex-start;
    }
    .stat-box h3 {
    font-size: 25px;
    }
    .stat-box:nth-of-type(3) {
    width: 50%;
    }
    .hero-text h1 {
        font-size: 21px;
    }
    .hero-logo {
        width: 50px;
        /* height: 99px; */
        height: 50px;
    }
    .hero-text {
        margin-top: 25px;
    }
    .top-line {
        width: 96%;
        margin: 0 auto;
        justify-content: center;
        height: auto;
        margin-bottom: 14px;
    }
    .hero-text {
        width: 98%;
            height: auto;
    }
    .hero-text h2 {
    font-size: 14px;
        word-spacing: 1px;
    }
    .hero-text .lead {
    font-size: 14px;
    word-spacing: normal;
    text-align: center;
    padding: 0;
    }
    .beside-logo-text {
    justify-content: normal;
    }
   .navbar-brand img {
        max-width: 220px;
    }
    .custom-btn-book, .custom-btn-learn {
        width: 90%;
        padding: 10px 15px;
        margin: 0 10px;
    }
    .more-links-btn {
        display: block;
        padding: 30px 0;
    }   
    .more-links-btn .custom-btn-book,.more-links-btn .custom-btn-learn {
        width: 95%;
        margin-bottom: 20px;
    }
    .hero-doctor-img {
        margin-bottom: 0px;
    }
    .aboutme {
    padding: 35px 20px;
    }
    .aboutme-text h2{
        font-size: 20px;
        margin: 25px auto;
    }
    .aboutme-text h2 span {
        display: block;
    }
    .custom-link {
        margin:5px auto;
    }
    .gallery h2 span {
        display: block;
    }
    .gallery .gallery-p {
    width: 90%;
    }
    .services {
        padding: 60px 30px;
    }
    .gallery {
    padding: 60px 0;
    margin-bottom: 0;
    }
    .services .card h5, .services .card p {
    margin-bottom: 20px !important;
    }
    .faq {
    padding: 60px 0;
    }
    .faq h2 span {
        display: block;
    }

    .faq p {
        width: 90%;
        text-align: right;
    }
    .faq .card {
    height: 15rem;
    }
    .faq .custom-btn-book {
    width: 60%;
    }
    .articles {
    padding: 60px 0;
    }
    .articles p {
    width: 90%;
    }
    .testimonials {
    padding: 60px 0;
    }

    .testimonials .testimonials-pc-section {
        display: none;
    }
    .testimonials .testimonials-mobile-section {
        display: block;
    }

    .custom-testimonial-card {
        flex-direction: column;
    }
    .custom-testimonial-card img {
    width: 90%;
    height: 90%;
    margin: 10px auto;
    }
    .footer-cta-section {
        background: linear-gradient(0deg, var(--secondarylight-color) 0%, var(--primary-color) 31%, var(--primary-color) 100%);
        height: auto;
        padding: 60px 0 0;
    }
    .cta-doctor-img {
        margin-bottom: 0;
    }
    .custom-footer {
        text-align: center;
    }
    .custom-footer .logowithtxt {
        display: flex;
        justify-content: center;
    }
    .custom-footer p, .custom-footer ul {
        text-align: center;
    }
    .custom-footer .h5footer2 {
        margin: 0;
        text-align: center;
    }
    .custom-footer .list-unstyled {
        margin:0;
    }
    .custom-footer .social-icons {
        text-align: center;
    }
    /* About me */
    .about-page h1 {
        font-size: 28px;
    }

    .hero-content {
        flex-direction: column-reverse;
    }
    .aboutme-text {
    min-height: 300px;
    padding-top: 20px;
    }
    .about-page .aboutme-text p {
    width: auto;
    }
    .about-page .card h4 {
    font-size: 30px;
    }
    .about-stats .col-md-4 {
        margin-bottom: 30px;
    }
    .about-dr-ahmad .certs {
    margin-top: 10px;
    }
    .about-dr-ahmad .certs .card {
        margin-bottom: 15px;
    }

    .about-dr-ahmad .dr-personal-pic {
        display: block;
        margin: 0 auto;
    }
    .vision .row {
        flex-direction: column-reverse;
    }
    .vision h2 {
        margin-top: 20px;
    }
    .vision .vision-img {
    height: 220px;
    }
    .vision ul {
        margin: 10px 0;
        padding: 10px 0;
    }

    /* services */
    .services-pc {
        display: none;
    }
    .services-mobile {
        display: block;
    }
    .services-mobile .accordion .accordion-button::after {
        margin-left: 10px;
    }
    .services-mobile .accordion .accordion-button{
        flex-direction: row-reverse;
        text-align: right;
        justify-content: right;
        padding: 5px;
    }
    .services-mobile .accordion .accordion-header{
        display: flex;
    }
    
    
    .service-text p{
        text-align: right;
    }
    .services .custom-btn-book {
        width: 60%;
    }

    /* gallery */
    .gallery .custom-btn-book {
        width: 60%;
    }
    .gallery-page {
        background-position-x: -173px;
        height: 230px;
    }
    .gallery-section1 {
        display: flex;
        flex-direction: column;
                justify-content: center;
        align-items: center;
    }
    .gallery-section1 .custom-btn-book {
        width: 90%;
    }
    .gallery  .custom-btn-learn {
        width: 50%;
    }
    .gallery  .custom-btn-learn.btn3 {
        width: 85%;   
        height: 50px;
        font-size: 17px;
    }
    .gallery .card p a {
    font-size: 1.3rem;
    }
    .article-page-header .article-page-header-content .rightdv {
    text-align: center;
    }
    .gallery-page .custom-btn-learn {
        width: 50%;
    }
    .single-gallery-page {
        flex-direction: column;
    }

    /* articles */
    .article-page-header .article-page-header-content {
        /* flex-direction: column-reverse; */
    }
    .article-page-header .article-page-header-content .rightdv h4 {
        margin-top: 10px;
    }
    .article-page-header .article-page-header-content .rightdv h1 {
    font-size: 26px;
    }
    .article-page-header {
        height: 200px;
    }
    .article-page p {
        width: 100%;
        text-align: justify;
        margin-bottom: 15px;
    }
    .contact-page {
        padding: 20px 0;
    }
    .contact-page .hero-text {
        width: 100%;
    }
    .contact-page .hero-text p {
        text-align: justify;
    }
    .gallery-content {
        display: none;
    }

    /* cert */

    .about-dr-ahmad .certs .card {
        height: 200px;
    }
    .about-dr-ahmad .certs .card .box .sticker {
        position: absolute;
        bottom: 12px;
        left: -49px;
        width: 165px;
        border-radius: 12px;
        transform: rotate(45deg);
    }

    .faq-section1 {
        flex-direction: column;
        align-items: center;
    }
}