@media screen and (min-width: 1600px) {
    .container-fluid {
        max-width: 1560px;
    }

    .companion-sec .container-fluid {
        max-width: 1731px;
    }

    .container {
        max-width: 1256px;
    }
}

@media screen and (max-width: 1600px) {
    .container-fluid {
        max-width: 1400px;
    }

    .inner-box {
        margin: 0px auto 20px;
        padding: 48px 0px;
    }

    .companion-box {
        border-radius: 644.93px 0px;
    }
}

@media screen and (max-width: 1365px) {
    .container-fluid {
        max-width: 1100px;
    }

    .text-box h1 {
        font-size: 46px;
        line-height: 54px;
    }

    .text-box p {
        font-size: 17px;
        line-height: 24px;
    }

    .hero-sec .btn-default {
        min-width: 214px;
    }

    .hero-sec .btn-secondary {
        min-width: 214px;
    }

    .companion-box {
        border-radius: 444.93px 0px;
        padding: 140px 0px 80px;
    }

    .footer-lists {
        grid-gap: 32px;
    }
    .footer-content > .row > .footer-item {
        width: 100%;
        padding: 0 20px 40px;
    }
    .footer-content > .row  .col-3:not(.footer-item) {
        display: none;
    }
}

@media screen and (max-width: 1199px) {
    .text-box h1 {
        font-size: 38px;
        line-height: 46px;
    }

    .companion-header h2,
    .scientifically-sec h2 {
        font-size: 38px;
        line-height: 53px;
    }

    .inner-box .box-left p {
        font-size: 14px;
        line-height: 21px;
        max-width: 450px;
    }

    .inner-box {
        padding: 36px 0px;
    }

    .companion-header {
        max-width: 624px;
    }

    .logo-sec {
        padding: 0px 0px 60px;
    }

    .attexis-card {
        height: 100%;
    }
}

@media screen and (max-width: 991px) {
    .hero-sec .img-holder {
        margin: 32px 0px 24px;
    }

    .attexis-card {
        margin-bottom: 20px;
        height: auto;
    }

    .logo-inner {
        grid-template-columns: 3fr 3fr;
    }

    .adults-sec .img-holder {
        margin-bottom: 32px;
    }

    .adults-sec .text-box p {
        max-width: 100%;
    }

    .companion-box {
        border-radius: 244.93px 0px;
    }

    .text-box h2 {
        font-size: 33px;
    }

    .scientifically-sec {
        padding: 80px 0px;
    }

    .cards-wrapper .scientifically-card {
        width: 48%;
    }

    .inner-box {
        grid-gap: 20px;
        padding: 24px 0px;
    }

    .footer-lists {
        margin-top: 48px;
    }

    .icon-box {
        margin: 0 auto;
    }
    .footer-item {
        width: 100%;
    }
    .adults-sec a {
        margin: 0 auto;
        display: inherit;
    }
    .navbar-list .btn-list {
        margin-top: 0;
    }
}

@media screen and (max-width: 767px) {
    .footer-bottom {
        flex-wrap: wrap;
        margin-top: 48px;
    }

    .contact-sec {
        padding: 0px 0px 80px;
    }

    .contact-sec .text-box p {
        margin: 0 auto 32px;
    }

    .fach-page .companion-box {
        padding-bottom: 32px;
    }

    .contact-sec form .form-check {
        margin-top: 16px;
    }

    .contact-sec form .btn-secondary {
        height: 56px;
    }

    .contact-sec form .form-group {
        margin-bottom: 16px;
    }

    .attexis-sec .text-box {
        margin-bottom: 40px;
    }

    .attexis-sec .attexis-card.text-box {
        margin-bottom: 16px !important;
        height: auto;
        min-height: auto;
        padding: 16px;
    }

    .attexis-sec .attexis-card p {
        font-size: 16px;
        line-height: 140%;
    }

    .attexis-sec {
        padding: 66px 0px 72px;
    }

    .professional-page .companion-box {
        padding-bottom: 32px;
    }

    .icon-box {
        height: 106px;
        width: 106px;
        margin: 0 auto;
        padding: 26px;
    }

    .swiper-pagination {
        position: static;
        margin-bottom: 32px;
    }

    .scientifically-sec .swiper-pagination-bullet {
        background: #FFF;
    }

    .companion-mobile .inner-box {
        margin-bottom: 32px !important;
    }

    .scientifically-sec2 .cards-wrapper .scientifically-card {
        width: 48%;
    }

    .scientifically-sec2 .cards-wrapper .scientifically-card h6 {
        word-break: break-word;
    }

    .scientifically-sec2 .cards-wrapper .scientifically-card:last-child {
        width: 100%;
    }

    .companion-mobile.cards-wrapper .scientifically-card {
        padding: 19px 8px;
        max-height: 127px;
        min-height: 127px;
    }

    .pagination2 {
        margin-top: 32px !important;
    }

    .swiper-pagination-bullet {
        border-radius: 4px;
        background: #EAE9C5;
        width: 9px;
        height: 9px;
        opacity: 1 !important;
    }

    .swiper-pagination-bullet.swiper-pagination-bullet-active {
        width: 47px;
    }

    footer {
        background: url(../images/footer-mobile.png);
        background-position: bottom;
        background-size: contain;
        background-repeat: no-repeat;
    }

    .companion-mobile .inner-box h2 {
        text-align: start !important;
    }

    .btn-list {
        flex-wrap: wrap;
    }

    .footer-bottom p {
        font-size: 14px;
        line-height: 24px;
    }

    .footer-bottom p br {
        display: none;
    }

    .footer-lists {
        display: block;
    }

    .navbar-logo img {
        height: auto;
        margin-bottom: 20px;
    }

    .btn-default {
        grid-gap: 8px;
        padding: 11px 16px;
        min-width: 50%;
    }

    .btn-secondary {
        min-width: 50%;
        padding: 12px 16px;
    }

    .btn-list {
        grid-gap: 8px;
    }

    header {
        padding: 16px 0px;
    }

    .hero-sec .text-box {
        text-align: center;
    }

    .hero-sec .text-box p {
        margin: 0px 0px 40px;
    }

    .hero-sec .btn-list li {
        width: 100%;
    }

    .hero-sec .btn-list a {
        width: 100%;
        height: 56px;
    }

    .text-box p {
        font-size: 18px;
        line-height: 140%;
    }

    .hero-sec {
        padding: 32px 0px 64px;
    }

    .text-box h1 {
        font-size: 33px;
        line-height: 120%;
    }

    .logo-inner {
        grid-gap: 24px 16px;
    }

    .logo-inner .text-box p {
        margin-top: 16px;
        word-break: break-all;
    }

    .logo-sec {
        padding: 0px 0px 48px;
    }

    .adults-sec {
        padding: 48px 0px;
    }

    .adults-sec .text-box h2 {
        font-size: 26px;
        line-height: 130%;
        text-align: center;
    }

    .companion-box {
        border-radius: 96px 0px;
        padding: 32px 0px 1px;

    }

    .companion-sec {
        margin: 30px 0px;
    }

    .cards-wrapper {
        max-width: 950px;
        grid-gap: 8px;
    }

    .cards-wrapper .scientifically-card {
        width: 100%;
        min-height: 102px;
        border-radius: 56px 0px;
        padding: 32px 8px;
    }

    .faq-sec .text-box h2 {
        font-size: 27px;
    }

    .faq-sec .accordion-button {
        font-size: 18px;
        line-height: 25px;
        height: 100%;
    }

    .faq-sec .accordion-item {
        padding: 16px;
    }

    .faq-sec .accordion {
        margin-top: 36px;
    }

    .cards-wrapper .scientifically-card h6 {
        font-size: 18px;
        line-height: 140%;
    }

    footer .footer-link br {
        display: none;
    }

    footer .footer-link {
        line-height: 22px;
        margin-top: 26px;
    }

    .contact-list a {
        max-width: 122px;
        line-height: 150%;
    }

    .list-1 {
        margin-bottom: 48px;
    }

    footer {
        padding: 40px 0px;
    }

    .faq-sec {
        padding-bottom: 72px;
    }

    .companion-box .container {
        padding: 0px 16px;
    }


    .inner-box {
        margin: 0px auto 40px;
        padding: 0px;
    }

    .inner-box .box-left .img-holder {
        max-width: 144px;
        margin: 0 auto;
    }

    .inner-box .box-left p {
        font-size: 16px;
        line-height: 150%;
    }

    .inner-box.text-box h2 {
        font-size: 26px;
        line-height: 120%;
        margin-bottom: 24px;
        text-align: center;
    }

    .text-box h2 {
        line-height: 120%;
    }

    .companion-header {
        padding-right: 0px;
    }

    .adults-sec .text-box p {
        font-size: 16px;
        line-height: 150%;
        margin-bottom: 18px;
    }
    .m-wrapper {
        display: none !important;
    }
    .m-wrapper.active {
        display: block !important;
        position: absolute;
        background: #fff;
        position: fixed;
        top: 64px;
        left: 0;
        height: calc(100% - 64px);
        z-index: 100;
        padding: 0px 20px;
        background: linear-gradient(180deg, rgba(247, 211, 180, 1) 0%, rgba(234, 233, 197, 1) 100%);
    }
    .pre-footer .textwidget {
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 575px) {
    .companion-box {
        border-radius: 70px 0 !important;
    }
    input[type="submit"] {
        max-width: 348px;
        width: 100%;
        min-width: auto !important;
    }
    .mobile-header {
        display: flex;
        justify-content: space-between;
        width: 100%;
        align-items: center;
        margin-bottom: 20px;
    }
    .mobile-header .navbar-logo img {
        margin: 0;
    }
    .pre-header {
        text-align: center;
    }
    .logo-inner .text-box img {
        height: 112px;
        width: 112px;
    }

    .logo-inner .text-box {
        max-width: 163px;
    }
    .navbar-list {
        flex-direction: column;
    }
    .m-wrapper {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }
    .m-wrapper a {
        margin-left: 0px;
    }
}