:root {
    --primary: #0f172a;
    --secondary: #0d9488;
    --accent: #38bdf8;
    --bg-light: #f8fafc;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--primary);
    overflow-x: hidden;
}

.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-premium {
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-premium:hover {
    transform: scale(1.05);
}

.btn-premium:active {
    transform: scale(0.95);
}

.btn-primary {
    background-color: #0f172a;
    color: white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.btn-primary:hover {
    background-color: #1e293b;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.btn-secondary {
    background-color: #0d9488;
    color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn-secondary:hover {
    background-color: #0f766e;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Custom Animations & Premium Effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(13, 148, 136, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(13, 148, 136, 0);
    }
}

.pulse-glow {
    animation: pulse-glow 2s infinite;
}

.therapy-card {
    background-color: white;
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid #f1f5f9;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.therapy-card:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.07);
    transform: translateY(-0.5rem);
}

.therapy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

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

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

/* Image Reveal Hover Effect */
.image-zoom-container {
    overflow: hidden;
    border-radius: 2rem;
}

.image-zoom-container img {
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-zoom-container:hover img {
    transform: scale(1.05);
}

/* Fancy Underline for Links */
.link-underline {
    position: relative;
    text-decoration: none;
}

.link-underline::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--secondary);
    transform-origin: bottom right;
    transition: transform 0.4s cubic-bezier(0.86, 0, 0.07, 1);
}

.link-underline:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Hero Section Background with Parallax Feel */
.hero-bg {
    background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.75)), url('https://images.unsplash.com/photo-1579152276503-31581d9f88a3?auto=format&fit=crop&q=80&w=2000');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
}

.nav-scrolled {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

/* Footer Contact Override to bypass CDN issues */
.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
}

.footer-contact-icon {
    width: 24px !important;
    height: 24px !important;
    color: #14b8a6 !important;
    margin-right: 1rem !important;
    flex-shrink: 0 !important;
}

.footer-contact-text {
    font-size: 0.875rem !important;
    flex: 1;
    min-width: 0;
}

.footer-contact-title {
    display: block;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 0.25rem;
    color: #ffffff !important;
}

.footer-contact-desc {
    color: #cbd5e1 !important;
    display: block;
}

/* Progress Bar Animated Wave */
.progress-wave {
    position: relative;
    overflow: hidden;
}

.progress-wave::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.4) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: translateX(-100%);
    animation: shimmer-wave 2.5s infinite ease-in-out;
}

@keyframes shimmer-wave {
    100% {
        transform: translateX(100%);
    }
}

/* -------------------------------------
   Product Cards (Featured & Therapies)
------------------------------------- */
.product-card {
    background: #ffffff;
    border-radius: 1.5rem;
    /* 24px */
    border: 1px solid #f1f5f9;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(13, 148, 136, 0.15);
    border-color: #ccfbf1;
}

.product-body {
    padding: 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.product-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
    transition: color 0.3s ease;
}

.product-card:hover .product-name {
    color: #0d9488;
}

.product-desc {
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex: 1;
}

.product-tag {
    display: inline-block;
    align-self: flex-start;
    padding: 0.35rem 0.85rem;
    background: #f1f5f9;
    color: #475569;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.product-card:hover .product-tag {
    background: #e0f2fe;
    color: #0284c7;
}

/* -------------------------------------
   Navbar & Navigation Components
------------------------------------- */
.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
    transition: all 0.2s ease;
    white-space: nowrap;
    cursor: pointer;
    background: none;
    border: none;
}

.nav-link:hover {
    color: #0d9488;
    background: #f0fdfa;
}

.nav-chevron {
    width: 14px;
    height: 14px;
    transition: transform 0.25s ease;
}

.nav-dropdown-wrap {
    position: relative;
}

.nav-dropdown-wrap:hover .nav-chevron {
    transform: rotate(180deg);
}

.nav-dropdown-wrap:hover .nav-link {
    color: #0d9488;
    background: #f0fdfa;
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    transform: translateX(-50%) translateY(-6px);
}

.nav-dropdown-wrap:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-inner {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.06);
    padding: 8px;
    overflow: hidden;
    position: relative;
}

/* arrow tip */
.nav-dropdown-inner::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: white;
    rotate: 45deg;
    box-shadow: -2px -2px 4px rgba(0, 0, 0, 0.04);
}

.nav-drop-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 10px;
    transition: background 0.15s ease;
    text-decoration: none;
}

.nav-drop-item:hover {
    background: #f8fafc;
}

.nav-drop-icon {
    font-size: 1.25rem;
    width: 36px;
    height: 36px;
    background: #f0fdfa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nav-drop-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
}

.nav-drop-desc {
    font-size: 0.75rem;
    color: #94a3b8;
}

.nav-cta {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 999px;
    background: linear-gradient(135deg, #0f172a 0%, #134e4a 100%);
    color: white !important;
    font-size: 0.875rem;
    font-weight: 700;
    transition: all 0.25s ease;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.25);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.nav-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: btn-shine 3s infinite;
}

@keyframes btn-shine {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

.nav-cta:hover {
    background: linear-gradient(135deg, #0d9488 0%, #0f172a 100%);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.35);
    transform: translateY(-2px);
}

/* Mobile Menu Styles */
.mob-link {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #334155;
    border-radius: 12px;
    transition: all 0.2s ease;
    text-decoration: none;
    margin-bottom: 2px;
}

.mob-link:hover {
    background: #f0fdfa;
    color: #0d9488;
    padding-left: 20px;
}

.mob-sub {
    font-weight: 500;
    color: #475569;
    font-size: 0.9rem;
    padding-left: 32px;
}

.mob-section-label {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #94a3b8;
    padding: 16px 16px 8px;
}

.btn-wave {
    position: relative;
    overflow: hidden;
}

.btn-wave::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0) 40%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0) 60%
    );
    animation: wave-effect 4s infinite;
    transform: rotate(25deg);
}

@keyframes wave-effect {
    0% { left: -100%; }
    20% { left: 100%; }
    100% { left: 100%; }
}

.submenu-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    opacity: 0;
}

.submenu-content.active {
    max-height: 800px;
    opacity: 1;
    margin-top: 8px;
}

.submenu-indicator {
    transition: transform 0.3s ease;
}

.submenu-trigger.active .submenu-indicator {
    transform: rotate(180deg);
}

.submenu-trigger.active {
    background-color: #f8fafc;
}