@media(min-width: 1600px) {
    .container, .container-sm, .container-md, .container-lg, .container-xl {
        max-width: 1450px !important;
    }
    .custom-container{
        max-width: 1400px !important;
    }
}

.custom-container{
    width: 100% !important;
    padding-right: 15px !important;
    padding-left: 15px !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

@media (min-width: 576px) { /* Small (sm) */
    .custom-container {
        max-width: 540px !important;
    }
}

@media (min-width: 768px) { /* Medium (md) */
    .custom-container {
        max-width: 720px !important;
    }
}

@media (min-width: 992px) {
    .custom-container {
        max-width: 960px !important;
    }
}

@media (min-width: 1200px) {
    .custom-container {
        max-width: 1140px !important;
    }
}

@media (min-width: 1400px) {
    .custom-container {
        max-width: 1320px !important;
    }
}

@media (min-width: 1600px) { 
    .custom-container {
        max-width: 1500px !important;
    }
    header .h-bottom{
        justify-content: start !important;
    }
    header .main-menu{
        gap: 5px;
    }
}



@media(max-width:1800px){
  header .main-menu{
    margin-left: 1%;
  }

  header .header-content .header-content-right #menu-ana-menu{
    gap: 20px;
  }

  main #home-journey-process .journey-image{
    width: 600px;
  }
}



@media(max-width:1600px){
  main #home-treatments .woman-image {
        position: absolute;
        width: 100%;
        top: 35px;
        right: 0;
    }
}

@media (max-width:1500px) {
    .section-title{
        font-size: 36px!important;
    }
}

@media(max-width: 1440px) {
    header .main-menu{
        gap: 15px;
    }

    header .h-left .logo img {
        width: 80%;
    }

    header .tops-menu > li > a{
        padding: 12px;
    }
    main .banner-multi-decor {
        display: grid;
        grid-template-columns: repeat(10, 1fr);
        grid-auto-rows: clamp(70px, 10vw, 65px);
    }
    main #centerDecor{
        top: 50%;
    }
    main #home-banner .banner-title{
        font-size: 100px;
    }

    main #home-banner .ratings-container .rating-block{
        font-size: 16px;
    }

    main #home-services .services-box{
        font-size: 16px;
    }

    main #home-our-numbers .our-box {
        padding: 30px 15px 30px 15px;
        gap: 30px;
    }

    main #home-our-numbers .our-numbers-icon{
        width: 100px;
        height: 100px;
    }

    main #home-our-numbers .our-numbers-icon img{
        width: 80px;
        height: 80px;
    }

    main #home-treatment-packages .packages-box .package-list-item{
        padding: 10px 20px;
        font-size: 16px;
    }

    main #home-treatment-packages .packages-box .package-head{
        font-size: 26px;
    }

    main #home-comments .comments-left-head{
        margin-bottom: 25px;
    }

    main #home-comments .comments-right-text {
        text-align: center;
        font-size: 24px;
    }
  
    /* contact */
    #post-detail .contact-address-col{
        margin-bottom: 30px;
        padding: 0px;
    }

    main #post-detail.contact-page .contact-col{
        margin-bottom: 25px;
    }

    main #post-detail.contact-page .contact-content{
        padding: 15px;
    }

    main #post-detail.contact-page .contact-content .branch-name{
        font-size: 22px;
    }

    main #post-detail.contact-page .contact-content .contact-list .contact-list-item{
        font-size: 16px;
    }
}

@media(max-width:1200px){
    header .h-left .logo img {
        width: 275px !important;
    }

    main #home-banner .doctor-image-container{
        bottom: 0px;
    }

    main #home-banner .banner-doctor-logos img {
        width: 80px;
        height: 90px;
        object-fit: contain;
    }

    main #home-banner .banner-subtitle{
        text-align: center;
    }

    main #home-book .book-inner .book-image{
        width: 400px;
    }

    main #home-we-work .work-col .work-box .number{
        font-size: 60px;
    }
    
    footer .footer-form{
        margin-bottom:25px;
    }
    footer .footer-top .footer-contact-container .footer-contact{
        font-size:18px;
    }
}

@media(max-width:991px){
    body #mobile-sticky-contact {
        position: fixed;
        z-index: 999;
        bottom: 10%;
        left: 5%;
    }
    main .section-title {
        font-size: 24px!important;
    }

    main .line{
        top: 20px;
    }

    main .fixed-col{
        padding: 0px;
    }
    
    main #home-banner .banner-content .banner-title{
        font-size: 72px;
    }

    main #home-banner .banner-content{
        padding-top: 15%;
    }

    main #home-banner .banner-content .doctor-image {
        width: 60%;
        display: block;
        margin: 0 auto;
    }

    main #home-banner .banner-content .banner-col{
        margin-bottom: 25px;
        padding: 0px;
    }

    main #home-banner .ratings-container{
        margin-top: 20px;
    }

    main #home-banner .banner-doctor-logos{
        justify-content: center;
    }

    main #home-banner .ratings-container .rating-block {
        font-size: 20px;
        justify-content: center;
        margin-top: 0px;
    }
    
    main #home-banner .doctor-image-container {
        bottom: 0px;
        margin-bottom: 0px;
    }

    main #home-form {
        position: relative;
        bottom: 60px;
        margin-bottom: 25px;
    }

    main #home-hair-expertise .col-lg-7{
        flex: 0 0 100%;
        max-width: 100%;
        position: relative;
        transform: translateX(0%);
    }

    main #home-hair-expertise .section-content .section-subdesc{
        padding-left: 0%;
    }

    main #home-hair-expertise .section-content .section-desc{
        margin-bottom: 10px;
    }

    main #home-hair-expertise .position-relative{
        margin-bottom: 25px;
    }

    main .our-numbers-icon {
        position: absolute;
        left: 50%;
        transform: translate(-50%, -70%);
        top: 50%;
    }

    main #home-our-numbers .our-numbers-icon {
        width: 80px;
        height: 80px;
    }

    main #home-our-numbers .our-numbers-icon img {
        width: 60px;
        height: 60px;
    }

    main #home-book .book-inner .book-image {
        position: relative;
        left: 0;
        top: 0;
        width: 50%;
        margin: 0 auto;
    }
    
    main #home-treatment-packages .packages-col{
        margin-bottom:25px;
    }
    
    main #home-choose-area .steps{
        grid-template-columns: repeat(2, 1fr);
    }

    main #home-faq-area .faq-right-image{
        z-index: 0;
    }

    main #home-faq-area .faq-inner-area .steps{
        position: relative;
        z-index: 1;
    }

    main #home-faq-area .faq-inner-area .step-toggle{
        font-size: 20px;
    }

    main #home-faq-area .faq-inner-area .step-item.active .step-desc{
        font-size: 16px;
    }

    main #home-comments .comments-right-text{
        font-size: 18px;
    }

    main #home-press .section-title-head{
        margin-bottom: 35px;
    }

    main #home-blog .blog-left-content{
        margin-bottom: 25px;
    }

    main #home-blog .row{
        margin: 0px;
    }
   
    /* footer */
    footer .footer-col{
        margin-bottom: 25px;
    }
    footer .footer-logo img {
        width: 50%;
        margin: 0 auto;
    }
      footer .footer-bottom{
        padding: 15px 0 75px!important;
    }

    footer .footer-inner .footer-contact-container .footer-contact{
        font-size: 18px!important;
    }
}

@media(max-width: 768px) {
    /* general */
    .btn-area .wp-btn{
        font-size: 16px;
    }
    header .top-logo img {
        width: 100px;
    }
    header .web-lang>li.menu-item-has-children {
        background: #DEE2EB;
        padding: 3px 5px;
    }
    header .h-left .logo img {
        width: 252px !important;
    }
    header .h-top .h-top-btn{
        font-size: 16px;
    }
    
    main #home-before-after .before-after-text {
        font-size: 18px;
        text-align: center;
        padding:0 5px;
    }
    
    main #home-before-after .before-after-text b::after{
        display:none;
    }
    
    main #home-before-after .before-slider-area .swiper-pagination .swiper-pagination-bullet {
        background: #fff;
        width: 8px;
        height: 8px;
    }
    
    main #home-before-after .section-title-head {
        gap: 5px;
        margin-bottom: 15px;
    }
    
    main #home-hairmetrix .hairmetrix-col{
        margin-bottom:25px;
    }

   main #home-comments .comments-left-head {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    main #home-comments .comments-left-head > *:nth-child(3) {
        grid-column: 1 / span 2;
    }

    main #home-faq-area .faq-right-image{
        width: 60vw;
    }

    main #home-faq-area .faq-inner-area{
        padding: 30px 10px;
    }
    main #home-hair-expertise .col-lg-6 {
        margin-bottom: 15px;
    }
    main #home-febopras .col-lg-6{
        margin-bottom:15px ;
    }
    main #home-our-numbers .our-numbers-icon {
        position: absolute;
        left: 50%;
        transform: translate(-50%, -62%);
        top: 50%;
    }
    main #home-choose-area .steps {
        grid-template-columns: repeat(1, 1fr);
    }
    
    main #home-choose-area .custom-grid-gallery{
        gap:10px;
    }
    
    main #home-choose-area .gallery-item:nth-child(5n+3) {
        grid-column: span 6;
    }
    
    main #home-choose-area .gallery-item:nth-child(5n+4) {
        grid-column: span 3;
    }
    
    main #home-choose-area .gallery-item:nth-child(5n+5){
        grid-column:span 3;
    }
       
    
    main #home-blog .blog-content .blog-title{
        font-size:16px;
    }
    
    main #home-press #press-logo-inner .press-logo-gallery-item img {
        width: 100px !important;
        height: 120px !important;
        object-fit: contain;
    }
    
 

    /*  footer */
    footer .footer-top-row {
        margin: 0 0 20px 0;
    }
    
    footer .row{
        margin:0px;
    }
    
    footer .footer-top{
        margin-bottom:20px;
    }

    
    footer .footer-col{
        padding: 0;
        margin-bottom: 25px;
    }

    footer .footer-center .footer-menu ul li a{
        font-size: 16px;
    }
    footer .footer-center .footer-contact-container .footer-contact{
        font-size: 16px;
    }
  
    /* other page */
    main #post-detail .contact-address-list {
        grid-template-columns: repeat(1, 1fr);
        gap: 0px;
    }
    .sidebar-form .contact_form .input-area .form-in{
        padding:10px 13px!important;
    }
    .sidebar-form  .contact_form .input-area .form-in::placeholder{
        font-size:14px !important;
    }

    .sidebar-form .contact_form .form-button{
        padding: 10px !important;
    }

    /* post */

    main #post-detail .post-header .post-title{
        font-size: 32px;
    }

    /* contact */
    main #post-detail .contact-address-col .contact-page-whatsapp-btn{
        font-size: 20px;
    }

    main #post-detail .meeting-form-area{
        padding: 20px 30px;
    }
}

@media(max-width: 575px) {
    body{
        font-size: 16px!important;
    }
    body .row{
        margin:5px;
    }
    header .h-left .logo img {
       width: 175px !important;
    }

    main .section-btns .btn{
        min-width: 175px;
    }

    main #home-banner {
        position: relative;
        margin-bottom: -30px;
        top: -120px;
        min-height: auto;
    }
    
    main #home-banner .banner-content .banner-title {
        /* letter-spacing: initial; */
        -webkit-text-stroke: 1px #fff;
    }

    main #home-banner .banner-content {
        padding-top: 150px;
    }    
    
    main #home-banner .banner-content .banner-title {
        font-size:48px;
    }

    main #home-banner .banner-doctor-logos{
        padding: 5px;
    }
    
    main #home-banner .banner-doctor-logos img{
        width: 70px;
        height: 70px;
    }

    main #home-banner .banner-subtitle{
        font-size: 22px;
    }
    
    main #home-before-after .section-btns {
        gap: 10px;
        margin-top: 15px;
    }
    
    main #home-hair-expertise .row{
        margin:0px;
    }

    main #home-form {
        position: relative;
        bottom: 100px;
        margin-bottom: -100px;
    }

    main #home-form .form-inner iframe {
        height: 500px !important;
    }

    main .ratings-container .rating-block{
        padding: 0px;
        font-size: 13px!important;
    }

    main #home-comments .comments-icon img {
        width: 75px;
    }

    main #home-comments .owl-carousel .comments-icon img{
        width: 50px;
    }

    main #home-our-numbers .our-box .our-number::after{
        right: -15px;
    }
    
    main #home-febopras .fb-section-desc{
        font-size:20px;
    }

    main .row.numbers-row{
        margin: 0px;
    }

    main #home-treatment-packages .owl-item.active.center{
        transform: scale(1);
    }

    main #home-choose-area .choose-inner-area{
        padding: 40px 10px;
    }

    main #home-book .book-inner .book-image{
        width: 75%;
    }

    main #home-our-numbers .our-box .our-number{
        font-size: 27px;
    }

    main #home-our-numbers .row{
        margin: 0px;
    }

    /* footer */
    body footer .footer-logo img {
        width: 70%;
        margin: 0 auto;
    }

    body footer .footer-top .container-large{
        padding: 0px;
    }

    body footer .footer-inner .footer-menu ul li a{
        font-size: 18px;
    }
    body footer .footer-menu {
        gap: 10px;
        grid-template-columns: repeat(1, 1fr);
    }
    body footer .footer-top .footer-contact-container .icon svg {
        width: 15px;
        height: 15px;
    }
    body footer .footer-inner .footer-contact-container .footer-contact {
        font-size: 16px !important;
    }
    body footer .footer-col-menu{
        margin-bottom:15px;
    }
    /* post */
    main #post-detail .post-header {
        padding: 30px 0;
        margin: 20px 10px;
    }
    #sidebar-area .sidebar-form{
        padding: 35px 15px;
    }
    main #post-detail .post-header .post-category {
        margin-bottom: 10px;
    }
    main #post-detail .post-header .post-title {
        font-size: 24px;
    }
    main #post-detail .sidebar-related-posts .sidebar-related-item {
        padding: 7px 12px;
        font-size: 16px;
    }

}
@media(max-width: 400px) {
    header .web-lang > li .lang-item{
        padding: 2px 4px !important;
    }

    /* homepage */
    main .ratings-container .rating-block {
        padding: 0px;
        font-size: 11px !important;
    }
    main #home-banner .banner-content .banner-desc {
        font-size: 14px;
    }

    main #home-step-process .process-box {
        width: 100%;
        flex: 0 0 100%;
        margin-bottom: 25px;
    }

    main #home-process .process-tab-title{
        font-size: 14px;
    }
    main #home-comments .comments-left-head > *:nth-child(3) {
        grid-column: 1 / span 1;
    }
    
    main #home-comments .comments-left-head {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
    }
}

@media(max-width:991px){
    main #home-febopras, main #home-choose-area, main #home-book, main #home-reels , main #home-faq-area, main #home-comments{
        margin-bottom: 60px;
    } 


    main .graft-calculator {
        display: flex;
        gap: 10px;
        flex-direction: column;
    }
}