:root {
    --primary-color: #0ea5e9;
    --primary-dark: #0369a1;
    --secondary-color: #f97316;
    --secondary-dark: #f59e0b;
    --accent-color: #10b981;
    --text-color: #0f172a;
    --text-light: #6b7280;
    --white: #ffffff;
    --off-white: #f7fafc;
    --nav-height: 76px;
    --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 22px 50px rgba(15, 23, 42, 0.15);
    --radius: 18px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(14, 165, 233, 0.08), transparent 30%),
        radial-gradient(circle at 90% 10%, rgba(16, 185, 129, 0.08), transparent 32%),
        radial-gradient(circle at 40% 80%, rgba(249, 115, 22, 0.08), transparent 30%);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    color: var(--text-color);
    letter-spacing: -0.3px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.mb-5 {
    margin-bottom: 3rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

.section-padding {
    padding: 90px 0;
}

.bg-light {
    background-color: var(--off-white);
}

.text-gradient {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border-radius: 999px;
    font-weight: 700;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(14, 165, 233, 0.45);
}

.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 999px;
    font-weight: 700;
    transition: var(--transition);
    margin-left: 12px;
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--off-white);
    transform: translateY(-2px);
    border-color: var(--primary-dark);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(14px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
    border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Nunito', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-color);
}

.logo .highlight {
    color: var(--primary-color);
    position: relative;
}

.logo .highlight::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, rgba(14, 165, 233, 0.25), rgba(249, 115, 22, 0.25));
    border-radius: 999px;
    z-index: -1;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-links a {
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.nav-links a:not(.btn-primary):hover {
    color: var(--primary-color);
    transform: translateY(-1px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.96);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    z-index: 999;
    transform: translateY(-100%);
    transition: var(--transition);
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
}

/* Hero */
.hero {
    padding: calc(var(--nav-height) + 60px) 0 120px;
    background: linear-gradient(120deg, #e0f2fe 0%, #e5f9f4 50%, #fff5ec 100%);
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.8;
}

.hero::before {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.25), transparent 60%);
    top: -80px;
    right: -60px;
}

.hero::after {
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.22), transparent 60%);
    bottom: -100px;
    left: -60px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.eyebrow {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.12);
    color: var(--primary-dark);
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.hero-text h1 {
    font-size: clamp(2.6rem, 4vw, 3.6rem);
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero-text p {
    font-size: 1.15rem;
    color: var(--text-color);
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.hero-highlights span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(14, 165, 233, 0.15);
    box-shadow: var(--shadow-sm);
    font-weight: 600;
}

.hero-highlights i {
    color: var(--primary-color);
}

.hero-btns {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
}

.image-wrapper {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transform: rotate(1deg);
    transition: var(--transition);
    background: linear-gradient(145deg, rgba(14, 165, 233, 0.12), rgba(16, 185, 129, 0.12));
    padding: 14px;
}

.image-wrapper:hover {
    transform: rotate(0);
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.22);
}

.hero-img-display {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: calc(var(--radius) - 6px);
}

.floating-card {
    position: absolute;
    bottom: -20px;
    left: 20px;
    background: var(--white);
    padding: 16px 18px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.mini-label {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 4px;
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    background: rgba(14, 165, 233, 0.12);
    color: var(--primary-dark);
    border-radius: 10px;
    font-weight: 700;
}

.wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 1;
}

/* Sections */
.section-header {
    margin-bottom: 60px;
}

.section-title,
.section-header h2 {
    font-size: 2.3rem;
    margin-bottom: 14px;
    letter-spacing: -0.4px;
    line-height: 1.2;
}

.section-subtitle,
.section-header p {
    font-size: 1.05rem;
    color: var(--text-light);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 26px;
}

.mission-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.mission-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-md);
    border-color: rgba(14, 165, 233, 0.2);
}

.icon-box {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--white);
}

.bg-yellow {
    background: linear-gradient(135deg, #fcd34d, #f59e0b);
}

.bg-blue {
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
}

.bg-green {
    background: linear-gradient(135deg, #34d399, #10b981);
}

.mission-card h3 {
    margin-bottom: 12px;
    font-size: 1.4rem;
}

/* Services */
.services-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.services-list h3 {
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.check-list li {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
    font-size: 1.05rem;
}

.check-list i {
    color: var(--primary-color);
    margin-right: 12px;
}

.therapies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.therapy-card {
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-weight: 700;
    color: var(--primary-color);
    border: 1px solid rgba(14, 165, 233, 0.15);
    position: relative;
    overflow: hidden;
}

.therapy-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(249, 115, 22, 0.08));
    opacity: 0;
    transition: var(--transition);
}

.therapy-card h4 {
    position: relative;
    z-index: 1;
}

.therapy-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.therapy-card:hover::after {
    opacity: 1;
}

.highlight-card {
    margin-bottom: 40px;
}

/* Activities */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.activity-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    height: 100%;
}

.activity-card img {
    width: 100%;
    max-width: 210px;
    height: 170px;
    object-fit: contain;
}

.activity-card h3 {
    font-size: 1.08rem;
    color: var(--text-color);
}

.activity-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(14, 165, 233, 0.18);
}

.activities-collapse {
    position: relative;
}

.activities-fade {
    display: none;
}

.activities-toggle-wrap {
    display: none;
    justify-content: center;
    margin-top: 18px;
}

/* Facility */
.facility-content {
    margin-top: 20px;
}

.facility-collapse {
    position: relative;
}

.facility-fade {
    display: none;
}

.facility-toggle-wrap {
    display: none;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    grid-auto-rows: 260px;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-6px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-1 {
    grid-row: span 1;
}

/* Contact */
.bg-blue-gradient {
    background: radial-gradient(circle at 15% 20%, rgba(14, 165, 233, 0.25), transparent 35%),
        radial-gradient(circle at 85% 10%, rgba(16, 185, 129, 0.25), transparent 30%),
        linear-gradient(135deg, #0ea5e9 0%, #0369a1 50%, #0b759c 100%);
}

.text-white {
    color: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: rgba(255, 255, 255, 0.08);
    padding: 50px;
    border-radius: var(--radius);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.18);
}

.contact-info h2 {
    color: var(--white);
    margin-bottom: 10px;
}

.contact-info>p {
    margin-bottom: 32px;
    opacity: 0.85;
}

.contact-item {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 14px;
    row-gap: 6px;
    align-items: flex-start;
    margin-bottom: 26px;
}

.contact-item i {
    font-size: 1.35rem;
    margin-top: 2px;
    color: var(--accent-color);
}

.white-link {
    color: var(--white);
    text-decoration: underline;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    min-height: 320px;
    background: #eee;
    border-radius: var(--radius);
    overflow: hidden;
}

/* Footer */
footer {
    padding: 30px 0;
    background: var(--white);
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1100px) {
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 220px;
    }
}

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }

    .section-title,
    .section-header h2 {
        font-size: 2rem;
    }

    .section-subtitle,
    .section-header p {
        font-size: 1rem;
    }

    .hero-btns {
        justify-content: center;
    }

    .floating-card {
        position: static;
        margin-top: 16px;
        justify-content: center;
    }

    .services-wrapper {
        grid-template-columns: 1fr;
    }

    .activities-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 200px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        padding-top: 120px;
    }

    .hero-text h1 {
        font-size: 2.4rem;
    }

    .hero-highlights {
        justify-content: center;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    .activities-collapse {
        max-height: 480px;
        overflow: hidden;
        transition: max-height 0.35s ease;
    }

    .activities-collapse.expanded {
        max-height: 2000px;
    }

    .activities-fade {
        display: block;
        position: absolute;
        inset: auto 0 0 0;
        height: 120px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 90%);
        pointer-events: none;
    }

    .activities-toggle-wrap {
        display: flex;
    }

    .facility-collapse {
        max-height: 520px;
        overflow: hidden;
        transition: max-height 0.35s ease;
    }

    .facility-collapse.expanded {
        max-height: 2000px;
    }

    .facility-fade {
        display: block;
        position: absolute;
        inset: auto 0 0 0;
        height: 120px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 90%);
        pointer-events: none;
    }

    .facility-toggle-wrap {
        display: block;
    }
}

@media (max-width: 576px) {
    .section-padding {
        padding: 70px 0;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .section-title,
    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-subtitle,
    .section-header p {
        font-size: 0.98rem;
    }

    .btn-secondary {
        margin-left: 0;
        margin-top: 10px;
    }

    .hero-highlights span {
        width: 100%;
        justify-content: center;
    }

    .therapies-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
    }

    .activities-grid {
        grid-template-columns: 1fr;
    }
}
