﻿
/* =====================================
   GLOBAL
===================================== */

:root {
    --primary: #a65f43;
    --primary-dark: #80452f;
    --primary-light: #f5e9de;
    --dark: #26343b;
    --text: #626b70;
    --light: #faf7f1;
    --white: #ffffff;
    --border: #e9e5df;
    --ink: var(--dark);
    --accent: var(--primary);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
    width: 100%;
    overflow-x: clip;
}

body {
    width: 100%;
    font-family: 'Inter', sans-serif;
    color: var(--text);
    overflow-x: hidden;
    padding-top: 0px;
}

img {
    max-width: 100%;
}

a,
a:hover,
a:focus,
a:active,
a:visited,
a:link {
    text-decoration: none !important;
}

ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

button,
input,
select,
textarea {
    max-width: 100%;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

/* =====================================
   FIXED HEADER
===================================== */

body > header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

/* =====================================
   TOP HEADER
===================================== */

/*.header-top {
    width: 100%;
    padding: 12px 0;
    background: var(--dark);
}

.top-header-inner {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.contact-list,
.social-icon-one {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-list {
    gap: 28px;
}

.social-icon-one {
    gap: 20px;
}

.header-top a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    transition: color 0.3s ease;
}

    .header-top a:hover {
        color: #e3b08d;
    }

.header-top i {
    display: inline-block;
    flex-shrink: 0;
    width: 15px;
    text-align: center;
    font-size: 15px;
}*/

/* =====================================
   MAIN NAVBAR
===================================== */

/*body > header .navbar {
    width: min(1200px, calc(100% - 40px));
    min-height: 82px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    flex-wrap: nowrap;
    position: relative;
}

    body > header .navbar > img {
        width: 70px;
        height: 70px;
        object-fit: contain;
        flex-shrink: 0;
    }*/

/* =====================================
   NAVIGATION
===================================== */

/*.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

    .nav-links > a,
    .nav-links .dropdown-toggle {
        color: var(--dark);
        font-size: 14px;
        font-weight: 600;
        white-space: nowrap;
        transition: color 0.3s ease;
    }

        .nav-links > a:hover,
        .nav-links .dropdown-toggle:hover {
            color: var(--primary);
        }*/

/* =====================================
   APPOINTMENT BUTTON
===================================== */

/*.Appointment-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 19px;
    border: 2px solid var(--primary);
    border-radius: 30px;
    background: var(--primary);
    color: var(--white) !important;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(166, 95, 67, 0.20);
    transition: all 0.3s ease;
}

    .Appointment-button:hover {
        background: var(--primary-dark);
        border-color: var(--primary-dark);
        color: var(--white) !important;
        box-shadow: 0 8px 20px rgba(128, 69, 47, 0.28);
        transform: translateY(-2px);
    }

    .Appointment-button i {
        font-size: 15px;
        transition: transform 0.3s ease;
    }

    .Appointment-button:hover i {
        transform: translateX(3px);
    }*/

/* =====================================
   DROPDOWN
===================================== */

/*.dropdown {
    position: relative;
    list-style: none;
}

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
}

    .dropdown-toggle::after {
        content: "";
        display: inline-block;
        width: 0;
        height: 0;
        margin: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 6px solid currentColor;
        border-bottom: 0;
    }

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 190px;
    padding: 8px 0;
    margin: 0;
    background: var(--white);
    border: 2px solid #ed9e6ba3;
    border-radius: 11px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 1100;
}

.dropdown:hover > .dropdown-menu,
.dropdown:focus-within > .dropdown-menu,
.dropdown.show > .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 15px;
    color: #333;
    font-size: 14px;
    transition: all 0.3s ease;
}

    .dropdown-menu li a:hover {
        background: #f2f2f2;
        color: var(--primary);
    }*/

/* =====================================
   MOBILE MENU BUTTON
===================================== */

/*.menu-button {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 21px;
    cursor: pointer;
    flex-shrink: 0;
}*/

/* =====================================
   PAGE BANNER
===================================== */

.page-banner {
    padding: 225px 0;
    padding-bottom: 100px;
    text-align: center;
    background: linear-gradient(135deg, #f5e9de, #faf7f1, #f0e4d8);
}

.eyebrow {
    margin-bottom: 12px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.page-banner h1 {
    margin-bottom: 18px;
    color: var(--dark);
    font-family: "Playfair Display", serif;
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 600;
    line-height: 1.2;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 14px;
}

    .breadcrumb a {
        color: var(--primary);
    }

    .breadcrumb i {
        color: #999;
        font-size: 11px;
    }

    .breadcrumb span {
        color: var(--text);
    }

/* =====================================
   COMMON SECTION STYLES
===================================== */

.therapy-section,
.program-section,
.recovery-section {
    padding: 90px 0;
}

.section-label {
    margin-bottom: 15px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.therapy-content h2,
.recovery-content h2,
.section-heading h2,
.enquiry-inner h2 {
    margin-bottom: 22px;
    color: var(--dark);
    font-family: "Playfair Display", serif;
    font-size: clamp(30px, 4vw, 43px);
    font-weight: 600;
    line-height: 1.25;
}

.therapy-content p,
.recovery-content p,
.section-heading > p {
    color: var(--text);
    font-size: 15px;
    line-height: 1.9;
}

.therapy-content > p:not(.section-label) {
    margin-bottom: 20px;
}

/* =====================================
   FITNESS CONTENT
===================================== */

.therapy-section {
    background: var(--white);
}

.therapy-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: 60px;
}

.therapy-image {
    position: relative;
    min-width: 0;
    padding: 0 0 18px 18px;
}

    .therapy-image::before {
        content: "";
        position: absolute;
        top: 20px;
        left: 0;
        width: 80%;
        height: 85%;
        background: var(--primary-light);
        border-radius: 16px;
        z-index: 0;
    }

    .therapy-image img {
        position: relative;
        z-index: 1;
        display: block;
        width: 100%;
        height: 560px;
        object-fit: cover;
        border-radius: 14px;
        box-shadow: 0 18px 45px rgba(38, 52, 59, 0.12);
        transition: transform 0.5s ease;
    }

    .therapy-image:hover img {
        transform: translateY(-4px);
    }

.therapy-content {
    min-width: 0;
}

/* =====================================
   BUTTONS
===================================== */

.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 13px 24px;
    border: 1px solid var(--primary);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.primary-button {
    background: var(--primary);
    color: var(--white) !important;
}

    .primary-button:hover {
        background: var(--primary-dark);
        border-color: var(--primary-dark);
        color: var(--white) !important;
        transform: translateY(-2px);
    }

.secondary-button {
    background: transparent;
    color: var(--primary) !important;
}

    .secondary-button:hover {
        background: var(--primary);
        color: var(--white) !important;
        transform: translateY(-2px);
    }

    .primary-button i,
    .secondary-button i {
        transition: transform 0.3s ease;
    }

    .primary-button:hover i,
    .secondary-button:hover i {
        transform: translateX(4px);
    }

/* =====================================
   ENQUIRY MODAL
===================================== */

#enquiryModal {
    z-index: 20000;
}

    #enquiryModal .modal-dialog {
        max-width: 520px;
    }

    #enquiryModal .modal-content {
        overflow: hidden;
        border: none;
        border-radius: 14px;
        background: var(--white);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    }

    #enquiryModal .modal-header {
        padding: 22px 26px;
        border: none;
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    }

    #enquiryModal .modal-title {
        color: var(--white);
        font-family: "Playfair Display", serif;
        font-size: 25px;
        font-weight: 600;
    }

    #enquiryModal .btn-close {
        opacity: 1;
        filter: brightness(0) invert(1);
    }

    #enquiryModal .modal-body {
        padding: 26px;
    }

        #enquiryModal .modal-body > p {
            color: var(--text);
            font-size: 14px;
            line-height: 1.7;
        }

    #enquiryModal .form-label {
        display: block;
        margin-bottom: 8px;
        color: var(--dark);
        font-size: 13px;
        font-weight: 700;
    }

    #enquiryModal .form-control {
        width: 100%;
        min-height: 48px;
        padding: 12px 14px;
        border: 1px solid var(--border);
        border-radius: 6px;
        background: #fcfbf9;
        color: var(--dark);
        font-family: "Inter", sans-serif;
        font-size: 14px;
        box-shadow: none;
        transition: all 0.3s ease;
    }

    #enquiryModal textarea.form-control {
        min-height: 115px;
        resize: vertical;
    }

    #enquiryModal .form-control:focus {
        border-color: var(--primary);
        background: var(--white);
        box-shadow: 0 0 0 3px rgba(166, 95, 67, 0.12);
        outline: none;
    }

    #enquiryModal button[type="submit"] {
        width: 100%;
        margin-top: 5px;
        font-family: "Inter", sans-serif;
    }

.modal-backdrop {
    z-index: 19900;
}

/* =====================================
   PROGRAM SECTION
===================================== */

.program-section {
    background: var(--light);
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

    .section-heading h2 {
        margin-bottom: 18px;
    }

    .section-heading > p {
        max-width: 700px;
        margin: 0 auto;
    }

.program-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.program-card {
    position: relative;
    height: 100%;
    min-width: 0;
    padding: 32px 25px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(38, 52, 59, 0.04);
    transition: all 0.3s ease;
}

    .program-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 0;
        height: 4px;
        background: var(--primary);
        transition: width 0.3s ease;
    }

    .program-card:hover {
        transform: translateY(-7px);
        border-color: transparent;
        box-shadow: 0 18px 35px rgba(38, 52, 59, 0.1);
    }

        .program-card:hover::before {
            width: 100%;
        }

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    margin-bottom: 24px;
    border-radius: 15px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 25px;
    transition: all 0.3s ease;
}

.program-card:hover .card-icon {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.program-card h3 {
    margin-bottom: 14px;
    color: var(--dark);
    font-family: "Playfair Display", serif;
    font-size: 21px;
    font-weight: 600;
    line-height: 1.35;
}

.program-card p {
    margin-bottom: 0;
    color: var(--text);
    font-size: 14px;
    line-height: 1.85;
}

/* =====================================
   RECOVERY / BENEFITS SECTION
===================================== */

.recovery-section {
    background: var(--white);
}

.recovery-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 60px;
}

.recovery-content {
    min-width: 0;
}

    .recovery-content h2 {
        margin-bottom: 20px;
    }

    .recovery-content > p:not(.section-label) {
        margin-bottom: 20px;
    }

.benefits-list {
    display: grid;
    gap: 15px;
    margin: 25px 0;
    padding: 0;
    list-style: none;
}

    .benefits-list li {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        color: var(--dark);
        font-size: 14px;
        font-weight: 500;
        line-height: 1.7;
    }

        .benefits-list li i {
            flex: 0 0 auto;
            margin-top: 4px;
            color: var(--primary);
            font-size: 17px;
        }

.recovery-image {
    position: relative;
    min-width: 0;
    padding: 0 18px 18px 0;
}

    .recovery-image::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 85%;
        height: 85%;
        background: var(--primary-light);
        border-radius: 15px;
    }

    .recovery-image img {
        position: relative;
        z-index: 1;
        display: block;
        width: 100%;
        height: 460px;
        object-fit: cover;
        border-radius: 14px;
        box-shadow: 0 18px 45px rgba(38, 52, 59, 0.12);
        transition: transform 0.5s ease;
    }

    .recovery-image:hover img {
        transform: translateY(-4px);
    }

/* =====================================
   CONTACT / ENQUIRY SECTION
===================================== */

.enquiry-section {
    padding: 65px 0;
    background: var(--dark);
    color: var(--white);
}

.enquiry-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

    .enquiry-inner > div:first-child {
        max-width: 650px;
    }

    .enquiry-inner h2 {
        margin-bottom: 12px;
        color: var(--white);
        font-size: clamp(28px, 3vw, 36px);
    }

    .enquiry-inner p:not(.section-label) {
        margin-bottom: 0;
        color: #d5dcdf;
        font-size: 15px;
        line-height: 1.8;
    }

    .enquiry-inner .section-label {
        color: #e3b08d;
    }

.enquiry-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    flex-shrink: 0;
}

/* =====================================
   FOOTER
===================================== */

.site-footer {
    width: 100%;
    background: #1e292e;
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-top: 60px;
    padding-bottom: 50px;
}

.footer-about {
    min-width: 0;
    padding-right: 10px;
}

.footer-logo img {
    width: 165px;
    max-height: 70px;
    object-fit: contain;
    margin-bottom: 20px;
}

.footer-about p {
    max-width: 320px;
    color: #cbd2d5;
    font-size: 14px;
    line-height: 1.8;
}

.footer-grid h3 {
    margin-bottom: 25px;
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
}

.footer-links {
    display: grid;
    gap: 13px;
    margin: 0;
    padding: 0;
}

    .footer-links a {
        color: #cbd2d5;
        font-size: 14px;
        transition: color 0.3s ease;
    }

        .footer-links a:hover {
            color: #e3b08d;
        }

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

    .footer-social a {
        display: flex;
        width: 36px;
        height: 36px;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
        color: var(--white);
        font-size: 15px;
        transition: all 0.3s ease;
    }

        .footer-social a:hover {
            background: var(--accent);
            transform: translateY(-3px);
        }

.footer-bottom {
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
}

    .footer-bottom p {
        margin: 0;
        color: #cbd2d5;
        font-size: 13px;
    }

/* =====================================
   APPOINTMENT MODAL
===================================== */

#appointmentModal {
    z-index: 20000;
}

    #appointmentModal .modal-dialog {
        max-width: 520px;
    }

.custom-modal {
    overflow: hidden;
    border: none;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.custom-modal-header {
    padding: 22px 26px;
    border: none;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

    .custom-modal-header .modal-title {
        color: var(--white);
        font-family: "Playfair Display", serif;
        font-size: 25px;
        font-weight: 600;
    }

    .custom-modal-header .btn-close {
        opacity: 1;
        filter: brightness(0) invert(1);
    }

.custom-modal-body {
    padding: 26px;
}

.modal-intro {
    margin-bottom: 22px;
    color: var(--text);
    font-size: 14px;
    line-height: 1.7;
}

#appointmentForm .form-label {
    margin-bottom: 8px;
    color: var(--dark);
    font-size: 13px;
    font-weight: 700;
}

#appointmentForm .form-control,
#appointmentForm .form-select {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background-color: #fcfbf9;
    color: var(--dark);
    font-size: 14px;
    box-shadow: none;
    transition: all 0.3s ease;
}

#appointmentForm textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

#appointmentForm .form-control:focus,
#appointmentForm .form-select:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(166, 95, 67, 0.12);
}

.modal-submit-btn {
    display: flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    background: var(--primary);
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .modal-submit-btn:hover {
        background: var(--primary-dark);
        transform: translateY(-2px);
    }

/* =====================================
   WHATSAPP BUTTON
===================================== */

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9999;
    display: flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #25d366;
    color: #ffffff;
    font-size: 29px;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

    .whatsapp-float:hover {
        color: #fff;
        transform: scale(1.08);
    }

/* =====================================
   LARGE DESKTOP
===================================== */

@media (min-width: 1400px) {

    .container,
    .top-header-inner,
    body > header .navbar {
        width: min(1200px, calc(100% - 80px));
    }

    .therapy-grid,
    .recovery-grid {
        gap: 70px;
    }
}

/* =====================================
   LAPTOP
===================================== */

@media (min-width: 1200px) and (max-width: 1399px) {

    .nav-links {
        gap: 16px;
    }

        .nav-links > a,
        .nav-links .dropdown-toggle {
            font-size: 13px;
        }

    .Appointment-button {
        padding: 11px 15px;
    }

    .therapy-grid,
    .recovery-grid {
        gap: 40px;
    }

    .program-grid {
        gap: 18px;
    }
}

/* =====================================
   SMALL LAPTOP
===================================== */

@media (min-width: 992px) and (max-width: 1199px) {

    body {
        padding-top: 120px;
    }

        body > header .navbar {
            width: calc(100% - 40px);
            min-height: 78px;
            gap: 15px;
        }

            body > header .navbar > img {
                width: 60px;
                height: 60px;
            }

    .nav-links {
        gap: 11px;
    }

        .nav-links > a,
        .nav-links .dropdown-toggle {
            font-size: 12px;
        }

    .dropdown-toggle {
        gap: 5px;
    }

    .Appointment-button {
        padding: 10px 12px;
        font-size: 11px;
        gap: 6px;
    }

    .therapy-grid,
    .recovery-grid {
        gap: 30px;
    }

    .therapy-image img {
        height: 440px;
    }

    .recovery-image img {
        height: 400px;
    }

    .program-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 35px;
    }
}

/* =====================================
   TABLET - 768px TO 991px
===================================== */

@media (min-width: 768px) and (max-width: 991px) {

    body {
        padding-top: 125px;
    }

        body > header .navbar {
            width: calc(100% - 40px);
            min-height: 75px;
        }

            body > header .navbar > img {
                width: 62px;
                height: 62px;
            }

    .menu-button {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        max-height: calc(100vh - 125px);
        max-height: calc(100dvh - 125px);
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 15px 25px 25px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--white);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.10);
    }

        .nav-links.open {
            display: flex;
        }

        .nav-links > a,
        .nav-links .dropdown-toggle {
            display: flex;
            width: 100%;
            padding: 14px 0;
            justify-content: space-between;
            border-bottom: 1px solid var(--border);
            font-size: 15px;
        }

        .nav-links .dropdown {
            width: 100%;
        }

        .nav-links .dropdown-menu {
            position: static;
            display: none;
            width: 100%;
            min-width: 100%;
            padding: 8px 15px;
            border: none;
            border-radius: 6px;
            background: var(--light);
            box-shadow: none;
        }

        .nav-links .dropdown:hover > .dropdown-menu {
            display: none;
        }

        .nav-links .dropdown.show > .dropdown-menu {
            display: block;
        }

        .nav-links .dropdown-menu li a {
            padding: 12px 8px;
        }

        .nav-links .Appointment-button {
            justify-content: center;
            margin-top: 15px;
            padding: 13px 20px;
            border-bottom: none;
        }

    .therapy-section,
    .program-section,
    .recovery-section {
        padding: 65px 0;
    }

    .therapy-grid,
    .recovery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

    .therapy-image img,
    .recovery-image img {
        height: 350px;
    }

    .program-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 35px;
    }

    .enquiry-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* =====================================
   MOBILE - 577px TO 767px
===================================== */

@media (min-width: 577px) and (max-width: 767px) {

    body {
        padding-top: 155px;
    }

    .container {
        width: calc(100% - 36px);
    }

    body > header .navbar {
        width: calc(100% - 36px);
        min-height: 72px;
    }

        body > header .navbar > img {
            width: 58px;
            height: 58px;
        }

    .menu-button {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        max-height: calc(100vh - 155px);
        max-height: calc(100dvh - 155px);
        overflow-y: auto;
        padding: 15px 22px 22px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--white);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.10);
    }

        .nav-links.open {
            display: flex;
        }

        .nav-links > a,
        .nav-links .dropdown-toggle {
            width: 100%;
            padding: 13px 0;
            border-bottom: 1px solid var(--border);
        }

        .nav-links .dropdown {
            width: 100%;
        }

        .nav-links .dropdown-menu {
            position: static;
            display: none;
            width: 100%;
            min-width: 100%;
            border: none;
            background: var(--light);
            box-shadow: none;
        }

        .nav-links .dropdown:hover > .dropdown-menu {
            display: none;
        }

        .nav-links .dropdown.show > .dropdown-menu {
            display: block;
        }

    .therapy-grid,
    .recovery-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .therapy-image img,
    .recovery-image img {
        height: 350px;
    }

    .program-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px;
    }

    .enquiry-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* =====================================
   MOBILE - UP TO 576px
===================================== */

@media (max-width: 576px) {

    html {
        scroll-padding-top: 170px;
    }

    body {
        padding-top: 0;
    }

    .container {
        width: calc(100% - 30px);
    }

    /* TOP HEADER */

    .header-top {
        padding: 9px 0;
    }

    .top-header-inner {
        width: calc(100% - 24px);
        flex-direction: column;
        justify-content: center;
        gap: 8px;
    }

    .contact-list {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 7px 14px;
    }

        .contact-list li {
            min-width: 0;
        }

    .header-top a {
        font-size: 11px;
        gap: 6px;
    }

    .header-top i {
        width: 13px;
        font-size: 12px;
    }

    .social-icon-one {
        justify-content: center;
        gap: 17px;
    }

    /* MAIN NAVBAR */

    body > header .navbar {
        width: calc(100% - 30px);
        min-height: 68px;
        gap: 12px;
    }

        body > header .navbar > img {
            width: 54px;
            height: 54px;
        }

    .menu-button {
        display: flex;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    /* MOBILE NAVIGATION */

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: -15px;
        right: -15px;
        width: auto;
        max-height: calc(100vh - 155px);
        max-height: calc(100dvh - 155px);
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 12px 20px 20px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--white);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
    }

        .nav-links.open {
            display: flex;
        }

        .nav-links > a,
        .nav-links .dropdown-toggle {
            display: flex;
            width: 100%;
            justify-content: space-between;
            padding: 13px 0;
            font-size: 14px;
            border-bottom: 1px solid var(--border);
        }

        .nav-links .dropdown {
            width: 100%;
        }

        .nav-links .dropdown-menu {
            position: static;
            display: none;
            width: 100%;
            min-width: 100%;
            padding: 7px 12px;
            border: none;
            border-radius: 6px;
            background: var(--light);
            box-shadow: none;
        }

        .nav-links .dropdown:hover > .dropdown-menu {
            display: none;
        }

        .nav-links .dropdown.show > .dropdown-menu {
            display: block;
        }

        .nav-links .dropdown-menu li a {
            padding: 11px 8px;
            font-size: 13px;
        }

        .nav-links .Appointment-button {
            justify-content: center;
            margin-top: 13px;
            padding: 12px 15px;
            border-bottom: none;
        }

    /* PAGE BANNER */

    .page-banner {
        padding: 48px 0;
    }

    .eyebrow,
    .section-label {
        font-size: 10px;
        letter-spacing: 1.8px;
    }

    .page-banner h1 {
        font-size: clamp(27px, 7vw, 34px);
        line-height: 1.25;
        margin-bottom: 13px;
    }

    .breadcrumb {
        gap: 8px;
        font-size: 12px;
    }

    /* SECTIONS */

    .therapy-section,
    .program-section,
    .recovery-section {
        padding: 48px 0;
    }

    .therapy-grid,
    .recovery-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .therapy-image {
        padding: 0 0 12px 12px;
    }

    .recovery-image {
        padding: 0 12px 12px 0;
    }

        .therapy-image img,
        .recovery-image img {
            width: 100%;
            height: clamp(230px, 70vw, 320px);
            object-fit: cover;
        }

    .therapy-content h2,
    .recovery-content h2,
    .section-heading h2 {
        font-size: clamp(26px, 7vw, 32px);
        line-height: 1.25;
        margin-bottom: 16px;
    }

    .therapy-content p,
    .recovery-content p,
    .section-heading > p {
        font-size: 14px;
        line-height: 1.8;
    }

    /* BUTTONS */

    .primary-button,
    .secondary-button {
        min-height: 46px;
        padding: 12px 18px;
        font-size: 13px;
    }

    /* PROGRAM CARDS */

    .section-heading {
        margin-bottom: 28px;
    }

    .program-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .program-card {
        padding: 24px 20px;
    }

    .card-icon {
        width: 54px;
        height: 54px;
        margin-bottom: 18px;
        font-size: 22px;
    }

    .program-card h3 {
        font-size: 19px;
    }

    .program-card p {
        font-size: 13px;
        line-height: 1.8;
    }

    /* BENEFITS */

    .benefits-list {
        gap: 12px;
        margin: 20px 0;
    }

        .benefits-list li {
            font-size: 13px;
            gap: 9px;
        }

    /* ENQUIRY */

    .enquiry-section {
        padding: 45px 0;
    }

    .enquiry-inner {
        align-items: stretch;
        flex-direction: column;
        gap: 22px;
    }

        .enquiry-inner h2 {
            font-size: 27px;
        }

        .enquiry-inner p:not(.section-label) {
            font-size: 14px;
        }

    .enquiry-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

        .enquiry-actions a,
        .enquiry-actions button {
            width: 100%;
        }

    /* FOOTER */

    .footer-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 25px;
        padding-top: 38px;
        padding-bottom: 30px;
    }

    .footer-about {
        padding-right: 0;
    }

        .footer-about p {
            max-width: 100%;
        }

    .footer-grid h3 {
        margin-bottom: 15px;
        font-size: 17px;
    }

    .footer-links {
        gap: 11px;
    }

    .footer-bottom {
        padding: 15px 10px;
    }

        .footer-bottom p {
            font-size: 11px;
            line-height: 1.7;
        }

    /* MODALS */

    #enquiryModal,
    #appointmentModal {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

        #enquiryModal .modal-dialog,
        #appointmentModal .modal-dialog {
            width: auto;
            max-width: none;
            margin: 10px;
        }

        #enquiryModal .modal-header,
        .custom-modal-header {
            padding: 17px 18px;
        }

            #enquiryModal .modal-title,
            .custom-modal-header .modal-title {
                font-size: 21px;
            }

        #enquiryModal .modal-body,
        .custom-modal-body {
            padding: 19px;
        }

        #enquiryModal .form-control,
        #appointmentForm .form-control,
        #appointmentForm .form-select {
            min-height: 46px;
            font-size: 14px;
        }

    /* WHATSAPP */

    .whatsapp-float {
        width: 49px;
        height: 49px;
        right: 13px;
        bottom: 13px;
        font-size: 25px;
    }
}

/* =====================================
   IPHONE SE AND SMALL MOBILE
   320px TO 375px
===================================== */

@media (max-width: 375px) {

    .container {
        width: calc(100% - 24px);
    }

    body > header .navbar {
        width: calc(100% - 24px);
        min-height: 62px;
        gap: 8px;
    }

        body > header .navbar > img {
            width: 48px;
            height: 48px;
        }

    .menu-button {
        width: 37px;
        height: 37px;
        font-size: 18px;
    }

    .top-header-inner {
        width: calc(100% - 16px);
        gap: 7px;
    }

    .contact-list {
        gap: 6px 10px;
    }

    .header-top a {
        font-size: 10px;
        gap: 5px;
    }

    .header-top i {
        font-size: 11px;
        width: 11px;
    }

    .nav-links {
        left: -12px;
        right: -12px;
        padding: 10px 15px 18px;
    }

    .page-banner {
        padding: 40px 0;
    }

        .page-banner h1 {
            font-size: 27px;
        }

    .therapy-section,
    .program-section,
    .recovery-section {
        padding: 40px 0;
    }

    .therapy-content h2,
    .recovery-content h2,
    .section-heading h2 {
        font-size: 26px;
    }

    .therapy-image img,
    .recovery-image img {
        height: 235px;
    }

    .program-card {
        padding: 22px 17px;
    }

        .program-card h3 {
            font-size: 18px;
        }

    .enquiry-inner h2 {
        font-size: 25px;
    }

    .footer-grid {
        gap: 22px;
    }

    #enquiryModal .modal-dialog,
    #appointmentModal .modal-dialog {
        margin: 7px;
    }

    #enquiryModal .modal-body,
    .custom-modal-body {
        padding: 15px;
    }

    .whatsapp-float {
        right: 10px;
        bottom: 10px;
    }
}

/* =====================================
   EXTRA SMALL SCREEN - 320px
===================================== */

@media (max-width: 320px) {

    .container {
        width: calc(100% - 20px);
    }

    body > header .navbar {
        width: calc(100% - 20px);
    }

    .contact-list {
        gap: 5px 8px;
    }

    .header-top a {
        font-size: 9px;
    }

    .page-banner h1 {
        font-size: 25px;
    }

    .breadcrumb {
        font-size: 11px;
        gap: 6px;
    }

    .therapy-content h2,
    .recovery-content h2,
    .section-heading h2 {
        font-size: 24px;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
        padding: 11px 12px;
        font-size: 12px;
    }

    .program-card {
        padding: 20px 15px;
    }

    .whatsapp-float {
        width: 45px;
        height: 45px;
        right: 10px;
        bottom: 10px;
        font-size: 23px;
    }
}

/* =====================================
   MOBILE LANDSCAPE
===================================== */

@media (max-height: 500px) and (orientation: landscape) {

    .nav-links {
        max-height: 65vh;
        max-height: 65dvh;
        overflow-y: auto;
    }

    #enquiryModal .modal-dialog,
    #appointmentModal .modal-dialog {
        margin-top: 8px;
        margin-bottom: 8px;
    }

    #enquiryModal .modal-content,
    #appointmentModal .modal-content {
        max-height: 95vh;
        overflow-y: auto;
    }
}

/* =====================================
   TOUCH DEVICE IMPROVEMENTS
===================================== */

@media (hover: none) and (pointer: coarse) {

    .program-card:hover {
        transform: none;
    }

    .therapy-image:hover img,
    .recovery-image:hover img {
        transform: none;
    }

    .Appointment-button:hover,
    .primary-button:hover,
    .secondary-button:hover {
        transform: none;
    }

    .footer-social a,
    .whatsapp-float,
    .menu-button {
        touch-action: manipulation;
    }
}

/* =====================================
   IPHONE SAFE AREA
===================================== */

@supports (padding: env(safe-area-inset-bottom)) {

    .whatsapp-float {
        bottom: calc(13px + env(safe-area-inset-bottom));
    }

    @media (max-width: 375px) {
        .whatsapp-float {
            bottom: calc(10px + env(safe-area-inset-bottom));
        }
    }
}











