@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;
  }
}



@media(max-width:1600px){
  header .tops-menu > li > a{
    font-size: 15px;
  }
  header .meeting-btn{
    display: none!important;
  }
}

@media (max-width:1500px) {
    main #home-banner .banner-content .banner-title{
        font-size: 45px;
    }
}

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

    main #home-services .services-row{
        justify-content: center;
    }

    main #home-center-form #center-form .input-area input{
        padding: 17px 22px;
    }

    main #home-center-form #center-form .input-area #center-phone{
        padding: 17px 55px;
    }

    main #home-center-form #center-form .form-button {
        font-size: 22px;
        height: 55px;
    }

    main #home-faq-area .faq-list-area .faq-item.collapsed-item {
        margin-bottom: 10px;
    }

    main #home-follow .clinic-item {
        padding: 5px;
    }

    footer .footer-social-container{
        flex-wrap: wrap;
        gap: 10px!important;
    }


    footer .footer-social-container .footer-top-social-link{
        padding: 10px;
    }

    footer .footer-social-container .footer-top-social-link svg {
        width: 30px!important;
        height: 30px!important;
    }

    /* post doctor */
    main #post-detail .doctor-inner-area .post-scroll{
        max-height: 480px;
    }
    main #post-detail .doctor-inner-area .doctor-btn-group{
        gap: 10px;
        flex-direction: column;
    }

    main #post-detail .doctor-inner-area .doctor-col{
        margin-bottom: 25px;
    }
}

@media(max-width:1300px){
    header .meeting-btn{
        display: none!important;
    }

    main #home-count-area .count-content .count-title{
        font-size: 35px;
    }

    main #home-count-area .count-col::after{
        display: none;
    }
    main #home-period .period-inner-container .period-title{
        font-size: 28px;
    }
    main #home-period .period-inner-container .period-row{
        gap: 10px;
    }

    main #home-period .period-inner-container .period-row .period-box .period-box-desc{
        font-size: 16px;
    }

    main #home-certificates .certificates-row {
        flex-wrap: wrap;
        justify-content: center;
    }

    main #home-certificates .certificates-row .certificates-box {
        width: 30%;
        flex: 0 0 30%;
        margin-bottom: 25px;
    }
}

@media(max-width: 1200px) {


}

@media(max-width: 1100px) {
    header .tops-menu > li > a{
        font-size: 16px;
        padding: 10px;
    }
}

@media(max-width: 991px) {
    body .border-wrapper{
        width:150px;
    }
    main #home-banner{
        min-height: 700px;
        margin-bottom: 60px;
    }

    main #home-banner .owl-stage {
        min-height: 700px;
    }

    main #home-banner .banner-image{
        min-height: 700px;
    }

    main #home-banner .banner-content .banner-title {
        font-size: 36px;
        font-weight: bold;
    }


    main #home-banner .banner-content{
        padding: 125px 0 0 0;
    }

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

    main #home-count-area{
        margin-bottom: 60px;
    }

    main #home-period .period-inner-container .period-row{
        flex-wrap: wrap;
    }

    main #home-period .period-inner-container .period-row .period-box {
        width: 48%;
        flex: 0 0 48%;
        gap: 10px;
        margin-bottom: 25px;
    }

    main #home-services .section-title{
        font-size: 28px;
    }

    main #home-certificates .section-title{
        font-size: 28px;
    }

    main #home-certificates .certificates-row .certificates-box {
        width: 45%;
        flex: 0 0 45%;
    }

    main .home-form{
    margin-top: 40px;
    }

    main .home-form .home-form-title {
        font-size: 28px;
    }

    main #home-center-form #center-form .input-area input::placeholder{
        font-size: 22px;
    }

    /* why bbm */
    main #home-why-bbm {
        margin-bottom: 60px;
    }

    main #home-why-bbm .why-bbm-text-col .why-bbm-title {
        font-size: 28px;
    }

    main #home-why-bbm .why-bbm-text-col {
        margin-bottom: 30px;
    }

    main #home-why-bbm .why-bbm-image-col img {
        width: 80%;
        display: block;
        margin: 0 auto;
    }

    /* doctors */

    main #home-doctors .section-title {
        margin-bottom: 20px;
        font-size: 28px;
    }

    main #home-center-form .center-form-title {
        font-size: 28px;
    }

    main #home-center-form #center-form .input-area {
        margin-bottom: 15px;
    }

    main #home-faq-area .faq-title{
        color: #3E3E3F;
        font-size: 28px;
        font-weight: 700;
        margin-bottom: 15px;
    }

    main #home-follow .follow-content .follow-title {
        font-size: 28px;
    }

    /* footer */
    footer .footer-top {
        padding: 25px 0;
    }
    footer .footer-col{
        margin-bottom: 25px;
    }
    footer .footer-logo {
        width: 100%!important;
    }

    footer .footer-social-container .footer-top-social-link svg {
        color: #86746B;
        width: 25px!important;
        height: 25px!important;
    }
    footer  .footer-center-menu-col{
        margin-bottom: 25px;
    }
        footer .footer-center .footer-menu {
        margin-top: 15px;
    }
    footer .footer-bottom{
        padding: 15px 0 85px!important;
    }
    /* contact */
    #post-detail .contact-address-col{
        margin-bottom: 30px;
    }
     main #post-detail .post-col{
        padding:0px;
    }
}

@media(max-width: 768px) {
    main #home-faq-area .faq-list-area .faq-item .item-top{
        padding: 15px 40px 15px 15px;
    }
    main #home-faq-area .faq-list-area .faq-item .item-top .item-accord{
        width: 25px;
        height: 40px;
    }

    main #home-faq-area .faq-list-area .faq-item .item-top .item-title{
        font-size: 17px;
    }

    main #home-faq-area .faq-list-area .faq-item .item-bottom .item-text {
        font-size: 16px;
    }
    /*  footer */
    footer .footer-top{
        padding: 40px 0!important;
    }
    footer .footer-logo-container img {
        width: 200px;
        margin: 0 auto;
    }
    footer .footer-logo-container .footer-social-container {
        justify-content: center;
    }

    /* other page */

    .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) {
    header .logo img {
        width: 150px;
    }
    main #home-banner .banner-content .banner-title {
        font-size: 28px;
        font-weight: bold;
    }
    main #home-banner .banner-content .banner-desc{
        font-size: 16px;
    }

    main #home-banner .banner-image {
        height: 65vh;
        min-height: 750px;
    }

    main #home-banner {
        min-height: 750px;
    }

    main #home-banner .owl-stage {
        min-height: 750px;
    }

    main #home-banner .banner-content{
        padding: 45px 0 0;
    }

    main #home-banner .banner-content .banner-link {
        min-width: 175px;
        padding: 8px;
        font-size: 16px;
    }

    main #home-banner .owl-nav button svg {
        width: 35px;
        height: 35px;
    }

    main #home-why-bbm .why-bbm-text-col .why-bbm-desc{
        font-size: 18px;
    }

    main #home-why-bbm .why-bbm-text-col .why-bbm-text-box .desc {
        font-size: 16px;
    }

    main #home-why-bbm .why-bbm-text-col {
        padding: 0px;
    }

    main #home-why-bbm .why-bbm-image-col{
        padding: 0px;
    }

    main #home-why-bbm .why-bbm-text-col .why-bbm-link-container {
        gap: 10px;
    }

    main #home-why-bbm .why-bbm-image-col img {
        width: 100%;
        display: block;
        margin: 0 auto;
    }

    main #home-why-bbm .why-bbm-text-col .why-bbm-link-1, main #home-why-bbm .why-bbm-text-col .why-bbm-link-2{
        min-width: 140px;
        font-size: 16px;
    }
    main #home-doctors .doctor-box-item {
        margin-bottom: 15px;
        padding: 5px;
    }
    main #home-period .period-inner-container {
        background-color: #E9E1DD;
        padding: 40px 30px;
        border-radius: 48px;
    }

     main #home-period .period-inner-container .period-row .period-box {
        width: 100%;
        flex: 0 0 100%;
        gap: 10px;
        margin-bottom: 25px;
    }
    
    #home-services .container {
        margin-right: 5px;
        margin-left: 5px;
    }

    main #home-services .services-row .services-col{
        padding: 5px;
    }
    
    main #home-services .services-row .services-col .services-content .services-text {
        padding: 15px 8px 15px 8px;
    }

    main #home-certificates .certificates-row .certificates-box .certificates-content .certificates-text .title{
        font-size: 18px;
    }

    main #home-certificates .certificates-row .certificates-box .certificates-content .certificates-text .desc{
        font-size: 16px;
    }

    main #home-certificates .certificates-row .certificates-box .certificates-content .certificates-text .desc{
        font-size: 14px;
    }

    main #home-center-form #center-form .form-input-col {
        padding: 0;
    }

    main #home-center-form #center-form .input-area input::placeholder{
        font-size: 16px;
    }

    main #home-center-form #center-form .input-area #center-phone::placeholder{
        font-size: 16px;
    }

    main #home-faq-area .faq-col{
        padding: 0;
    }
    main #home-faq-area .faq-list-area .faq-item .item-top .item-accord::before {
        width: 100%;
    }

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

    main #home-follow .follow-content .follow-desc {
        font-size: 16px;
    }

    /* footer */

    footer .footer-center .footer-center-contact-col{
        margin-bottom: 25px;
    }

    footer .footer-logo::after{
        display: none!important;
    }

    footer .footer-text{
        text-align: center;
    }

    footer .footer-kvkk-link{
        justify-content: center;
    }

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

    /* homepage */
    main #home-banner .banner-content .banner-desc {
        font-size: 14px;
    }

    main #home-certificates .certificates-row .certificates-box {
        width: 100%;
        flex: 0 0 100%;
    }

}

/* section gap query */
@media (max-width: 991px) {
  main #home-banner,
  main #home-count-area,
  main #home-why-bbm,
  main #home-doctors,
  main #home-center-form,
  main #home-period,
  main #home-services,
  main #home-certificates,
  main #home-form,
  main #home-faq-area,
  main #home-follow {
    margin-bottom: 60px;
  }
}

@media (max-width: 575px) {
  main #home-banner,
  main #home-count-area,
  main #home-why-bbm,
  main #home-doctors,
  main #home-period,
  main #home-services,
  main #home-certificates,
  main #home-form,
  main #home-faq-area,
  main #home-follow {
    margin-bottom: 40px;
  }
}