/* Responsive */
@media (min-width: 991px) {
    .header .top-right {
        width: 50%;
        margin-left: 20px;
    }

    .header .top-right a,
    #main-menu .nav-item>.nav-link {
        font-size: 11px;
    }
}

@media (min-width: 1200px) {
    .header .top-right {
        width: 42%;
        margin-left: 0;
        flex: 1.1;
    }

    .header .menu-wrap {
        flex: 1;
    }

    .header .top-right a,
    #main-menu .nav-item>.nav-link {
        font-size: 14px;
    }
}

@media (max-width: 991px) {
    .header {
        padding: 10px;
    }

    .container-fluid {
        padding: 0;
    }

    .navbar {
        min-height: 72px;
    }

    .desktop-nav {
        display: none;
    }

    .navbar-brand {
        position: static;
        transform: none;
        max-width: 100px;
        order: 1;
    }

    .menu-wrap {
        order: 3;
        width: auto;
    }

    .top-right {
        order: 2;
        width: auto;
        margin-left: auto;
        gap: 10px;
    }

    .navbar-toggler {
        display: flex;
    }

    .top-right .new-link {
        display: none;
    }

    .top-right .btn-custom {
        padding: 8px 20px;
    }

    #main-menu {
        position: fixed;
        top: 92px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgb(var(--color_base));
        padding: 0 18px;
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px);
        z-index: 998;
    }

    #main-menu.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .mobile-nav {
        display: block;
    }

    .close-icon02 {
        display: none !important;
    }
}

@media (max-width: 620px) {
    .new-link {
        display: none;
    }
}

@media (max-width: 480px) {
    .top-right .btn-custom {
        padding: 8px 10px;
        font-size: 12px;
    }

    .navbar-brand {
        max-width: 70px;
    }
}

@media (max-width: 390px) {
    .navbar-brand {
        max-width: 100px;
    }
}

@media (max-width: 350px) {
    .top-right .btn-custom {
        font-size: 10px;
    }

    .navbar-brand {
        max-width: 80px;
    }
}


/* --------------------------------------------- */
/* ================= RESPONSIVE CSS ================= */

/* Large tablets / small laptops */
@media (max-width: 1199px) {
    .hero {
        padding: 70px 50px;
    }

    .program-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .therapies,
    .assessments {
        gap: 30px;
        padding: 50px 30px;
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px;
    }

    .map {
        padding: 0 50px;
    }
}

/* Tablets */
@media (max-width: 991px) {
    .hero {
        height: 80vh;
        padding: 60px 30px;
    }

    .hero h1 {
        font-size: 34px;
        line-height: 38px;
    }

    .intro {
        padding: 45px 25px;
    }

    .program-grid {
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
    }

    .therapies,
    .assessments {
        flex-direction: column;
        padding: 50px 25px;
    }

    .therapy-img,
    .assessment-img {
        max-width: 100%;
    }

    .therapy-content,
    .assessment-content {
        width: 100%;
    }

    .assessment-list li {
        width: 100%;
        max-width: 100%;
    }

    .appointment {
        padding: 60px 25px;
    }

    .form-box {
        padding: 70px 30px;
    }

    .appointment-form {
        width: 100%;
        max-width: 684px;
    }

    .logo-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 40px 25px;
    }

    .footer-bottom {
        padding: 14px 30px 40px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .hero {
        height: 70vh;
        padding: 40px 20px;
    }

    .hero h1 {
        font-size: 28px;
        line-height: 32px;
    }

    .intro {
        padding: 40px 20px;
    }

    .programs {
        padding: 55px 20px 45px;
    }

    .programs h2,
    .therapy-content h2,
    .assessment-content h2,
    .form-box h2,
    .seen h2 {
        font-size: 26px;
        line-height: 32px;
    }

    .program-grid {
        grid-template-columns: 1fr;
    }

    .program-card {
        max-width: 100%;
        padding: 45px 25px 28px;
    }

    .therapy-box-grid {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .therapies,
    .assessments {
        padding: 40px 20px;
    }

    .assessment-img {
        order: -1;
    }

    .form-box {
        padding: 55px 20px;
    }

    .form-box h2 {
        margin-bottom: 40px;
    }

    .check-row {
        font-size: 13px;
        line-height: 18px;
        margin-bottom: 35px;
    }

    .logo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .map {
        padding: 0 20px;
        margin-bottom: -70px;
    }

    .map iframe {
        height: 280px;
    }

    .footer {
        padding-top: 120px;
    }

    .footer-logo {
        margin-bottom: 45px;
    }

    .footer-logo img {
        width: 220px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 35px 20px;
    }

    .social-links {
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        padding: 18px 20px 35px;
    }

    .footer p,
    .footer a {
        font-size: 16px;
        line-height: 22px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .hero {
        height: 65vh;
        padding: 35px 16px;
    }

    .hero h1 {
        font-size: 24px;
        line-height: 29px;
    }

    .intro p,
    .programs>p,
    .therapy-content>p,
    .assessment-content p {
        font-size: 15px;
        line-height: 21px;
    }

    .btn,
    .submit-btn {
        width: 100%;
        padding: 13px 20px;
    }

    .programs h2,
    .therapy-content h2,
    .assessment-content h2,
    .form-box h2,
    .seen h2 {
        font-size: 23px;
        line-height: 29px;
    }

    .program-icon {
        width: 90px;
        margin-bottom: 30px;
    }

    .therapy-box li a {
        font-size: 14px;
        padding: 7px 30px;
    }

    .assessment-list li {
        height: auto;
        padding: 14px 10px;
        gap: 12px;
    }

    .appointment {
        padding: 45px 16px;
    }

    .form-box {
        padding: 45px 16px;
    }

    .appointment-form input,
    .appointment-form input::placeholder {
        font-size: 14px;
    }

    .seen {
        padding: 60px 16px;
    }

    .logo-grid {
        grid-template-columns: 1fr;
    }

    .logo-item {
        display: flex;
        justify-content: center;
    }

    .map {
        padding: 0 16px;
    }

    .footer-logo img {
        width: 180px;
    }
}



/* Responsive Banner */
@media (max-width: 1440px) {
    .stat-center {
        width: 149px;
        height: 149px;
    }

    .banner-left{
        padding-inline: 40px;
    }

    .stats-wrap{
        gap: 40px;
    }
}

@media (max-width: 1200px) {
    .longevity-banner {
        align-items: stretch;
    }

    .banner-left {
        padding: 80px 45px;
    }

    .banner-left h1 {
        font-size: 42px;
        line-height: 42px;
    }

    .stats-wrap {
        gap: 35px;
    }
}

@media (max-width: 991px) {
    .longevity-banner {
        flex-direction: column;
    }

    .banner-left {
        padding: 70px 35px 50px;
    }

    .banner-right {
        max-width: 100%;
        height: 520px;
    }

    .banner-left>p {
        max-width: 100%;
    }

    .stats-wrap {
        justify-content: center;
        gap: 30px;
    }

    .check {
        gap: 14px 35px;
    }
}

@media (max-width: 767px) {
    .banner-left {
        padding: 55px 22px 45px;
    }

    .banner-left h1 {
        font-size: 34px;
        line-height: 36px;
        margin-bottom: 18px;
    }

    .banner-left>p {
        font-size: 16px;
        line-height: 23px;
    }

    .stats-wrap {
        margin: 38px 0;
        gap: 24px;
    }

    .stat-center {
        width: 150px;
        height: 150px;
    }

    .stat-center h3,
    .stat-center h3 span {
        font-size: 24px;
        line-height: 32px;
    }

    .stat-box p {
        font-size: 15px;
        line-height: 20px;
    }

    .check {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .check li {
        font-size: 16px;
        line-height: 21px;
    }

    .banner-buttons {
        gap: 12px;
    }

    .banner-right {
        height: 430px;
    }
}

@media (max-width: 480px) {
    .banner-left {
        padding: 45px 16px 38px;
    }

    .banner-left h1 {
        font-size: 30px;
        line-height: 32px;
    }

    .stats-wrap {
        flex-direction: column;
        align-items: center;
    }

    .stat-center {
        width: 178px;
        height: 178px;
    }

    .banner-buttons {
        flex-direction: column;
    }

    .banner-buttons .btn,
    .banner-buttons a {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .banner-right {
        height: 360px;
    }

    .banner-right::after {
        height: 100px;
        bottom: -30px;
    }
}