/* ================================
   First Physio - Main Stylesheet
   ================================ */

/* CSS Variables */
:root {
    /* Brand Colors */
    --primary-blue: #1E4A8E;
    --primary-orange: #E85D04;
    --primary-orange-light: #FF6B1A;
    --primary-orange-dark: #CC4F00;

    /* Dark Theme Colors (default) */
    --bg-dark: #0B1120;
    --bg-dark-secondary: #111827;
    --bg-card: #1a2332;
    --bg-card-hover: #243044;

    /* Text Colors */
    --text-primary: #FFFFFF;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;

    /* Gradients */
    --gradient-brand: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-orange) 100%);
    --gradient-glow: radial-gradient(circle, var(--primary-orange) 0%, transparent 70%);
    --gradient-blue-glow: radial-gradient(circle, var(--primary-blue) 0%, transparent 70%);

    /* Spacing */
    --section-padding: 6rem;
    --container-padding: 1.5rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.2);
    --shadow-glow-orange: 0 0 40px rgba(232, 93, 4, 0.3);
    --shadow-glow-blue: 0 0 40px rgba(30, 74, 142, 0.3);

    /* Fonts */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

/* Light Theme */
[data-theme="light"] {
    --bg-dark: #F8FAFC;
    --bg-dark-secondary: #E2E8F0;
    --bg-card: #FFFFFF;
    --bg-card-hover: #F1F5F9;

    --text-primary: #1E293B;
    --text-secondary: #475569;
    --text-muted: #64748B;

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-glow-orange: 0 0 40px rgba(232, 93, 4, 0.15);
    --shadow-glow-blue: 0 0 40px rgba(30, 74, 142, 0.15);
}

[data-theme="light"] .gradient-orbs .orb {
    opacity: 0.08;
}

[data-theme="light"] .header {
    background: rgba(248, 250, 252, 0.9);
    border-bottom-color: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .header.scrolled {
    background: rgba(248, 250, 252, 0.98);
}

[data-theme="light"] .service-card,
[data-theme="light"] .condition-card,
[data-theme="light"] .value-card,
[data-theme="light"] .cta-card {
    border-color: rgba(0, 0, 0, 0.08);
}


/* Reset & Base Styles */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Selection */
::selection {
    background-color: var(--primary-orange);
    color: var(--text-primary);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-orange);
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Section */
.section {
    padding: var(--section-padding) 0;
    position: relative;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
    color: var(--text-secondary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

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

/* Text Gradient */
.text-gradient {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ================================
   Gradient Orbs Background
   ================================ */
.gradient-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--primary-blue);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--primary-orange);
    bottom: 10%;
    left: -100px;
    animation-delay: -5s;
    opacity: 0.15;
    /* Made more subtle */
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--primary-blue);
    bottom: -100px;
    right: 20%;
    animation-delay: -10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(20px, -30px) scale(1.05);
    }

    50% {
        transform: translate(-10px, 20px) scale(0.95);
    }

    75% {
        transform: translate(-20px, -10px) scale(1.02);
    }
}

/* ================================
   Buttons
   ================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-orange) 100%);
    color: var(--text-primary);
    box-shadow: var(--shadow-glow-orange);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 50px rgba(232, 93, 4, 0.5);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--text-secondary);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
    background: rgba(232, 93, 4, 0.1);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn svg {
    transition: transform var(--transition-fast);
}

.btn:hover svg {
    transform: translateX(4px);
}

/* Pulse Animation for CTA */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: var(--shadow-glow-orange);
    }

    50% {
        box-shadow: 0 0 60px rgba(232, 93, 4, 0.6);
    }
}

/* ================================
   Navigation
   ================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: all var(--transition-normal);
    background: rgba(11, 17, 32, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header.scrolled {
    padding: 0.75rem 0;
    background: rgba(11, 17, 32, 0.95);
}

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

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: transform var(--transition-fast);
}

.nav-logo:hover img {
    transform: scale(1.02);
}

/* Footer logo sizing */
.footer-brand .nav-logo img {
    height: 70px;
}

/* Scrolled header - smaller logo */
.header.scrolled .nav-logo img {
    height: 42px;
}

/* Legacy text logo styles (kept for compatibility) */
.logo-first {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.logo-physio {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.logo-icon {
    color: var(--primary-orange);
}

.logo-icon-o {
    color: var(--primary-orange);
    font-style: italic;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
}

.nav-link {
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    color: var(--primary-orange);
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.9rem;
}

/* Theme Toggle Button */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    color: var(--text-primary);
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-orange);
    color: var(--primary-orange);
}

/* Sun icon visible by default (dark mode) */
.theme-toggle .sun-icon {
    display: block;
}

.theme-toggle .moon-icon {
    display: none;
}

/* Moon icon visible in light mode */
[data-theme="light"] .theme-toggle .sun-icon {
    display: none;
}

[data-theme="light"] .theme-toggle .moon-icon {
    display: block;
}

[data-theme="light"] .theme-toggle {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .theme-toggle:hover {
    background: rgba(0, 0, 0, 0.1);
    border-color: var(--primary-orange);
}

.nav-toggle,
.nav-close {
    display: none;
    cursor: pointer;
    color: var(--text-primary);
}

/* Mobile Navigation */
@media screen and (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--bg-dark-secondary);
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        transition: right var(--transition-normal);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.show-menu {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .nav-link {
        display: block;
        width: 100%;
        padding: 1rem;
        text-align: center;
        font-size: 1.1rem;
    }

    .nav-toggle {
        display: block;
    }

    .nav-close {
        display: block;
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
    }

    .nav-btn {
        display: none;
    }
}

/* ================================
   Hero Section
   ================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 6rem;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Centered hero (when no image) */
.hero-container-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-container-centered .hero-content {
    max-width: 800px;
    text-align: center;
}

.hero-container-centered .hero-description {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.hero-container-centered .hero-buttons {
    justify-content: center;
}

.hero-container-centered .hero-stats {
    justify-content: center;
}

.hero-content {
    max-width: 600px;
}

.hero-subtitle {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(232, 93, 4, 0.1);
    border: 1px solid rgba(232, 93, 4, 0.3);
    border-radius: var(--radius-xl);
    color: var(--primary-orange);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Hero Image */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    max-width: 500px;
}

.hero-img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
}

.hero-image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: var(--gradient-glow);
    filter: blur(60px);
    opacity: 0.5;
    z-index: 1;
}

/* Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 40px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.scroll-indicator:hover .scroll-arrow {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Hero Responsive */
@media screen and (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-content {
        max-width: 100%;
        order: 1;
    }

    .hero-image {
        order: 0;
    }

    .hero-description {
        max-width: 100%;
    }

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

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

    .hero-image-wrapper {
        max-width: 350px;
    }

    .hero-scroll {
        display: none;
    }
}

@media screen and (max-width: 640px) {
    .hero {
        padding-top: 5rem;
        min-height: auto;
        padding-bottom: 3rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }
}

/* ================================
   Section Header
   ================================ */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-subtitle {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: rgba(30, 74, 142, 0.2);
    border: 1px solid rgba(30, 74, 142, 0.3);
    border-radius: var(--radius-xl);
    color: var(--primary-blue);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.section-title {
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.1rem;
}

/* ================================
   Services Section
   ================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.service-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(232, 93, 4, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-orange);
    margin-bottom: 1.5rem;
    transition: all var(--transition-normal);
}

.service-card:hover .service-icon {
    background: var(--gradient-brand);
    color: var(--text-primary);
}

.service-title {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.service-description {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-orange);
    font-weight: 500;
    font-size: 0.95rem;
}

.service-link svg {
    transition: transform var(--transition-fast);
}

.service-link:hover svg {
    transform: translateX(4px);
}

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

/* Services Responsive */
@media screen and (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================
   Why Choose Us Section
   ================================ */
.why-us {
    background: linear-gradient(180deg, transparent 0%, rgba(30, 74, 142, 0.05) 50%, transparent 100%);
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.why-us-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.why-us-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.why-us-item {
    display: flex;
    gap: 1rem;
}

.why-us-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--gradient-brand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
}

.why-us-text h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.why-us-text p {
    font-size: 0.95rem;
}

/* Values Grid */
.values-title {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.value-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    transition: all var(--transition-normal);
}

.value-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-3px);
}

.value-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.value-card h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.value-card p {
    font-size: 0.85rem;
}

/* Why Us Responsive */
@media screen and (max-width: 1024px) {
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* ================================
   Conditions Section
   ================================ */
.conditions-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.condition-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    transition: all var(--transition-normal);
}

.condition-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-5px);
    border-color: var(--primary-orange);
}

.condition-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.condition-card h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.condition-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

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

.conditions-cta p {
    margin-bottom: 1rem;
}

/* Conditions Responsive */
@media screen and (max-width: 1024px) {
    .conditions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 640px) {
    .conditions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ================================
   CTA Section
   ================================ */
.cta {
    padding: 4rem 0;
}

.cta-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3rem;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-brand);
    opacity: 0.03;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.cta-info {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    position: relative;
    z-index: 1;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    justify-content: center;
    text-align: left;
}

.cta-hours h4,
.cta-location h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-orange);
    margin-bottom: 0.75rem;
}

.cta-hours ul {
    list-style: none;
}

.cta-hours li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 0.25rem 0;
}

.cta-location p {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* CTA Responsive */
@media screen and (max-width: 1024px) {
    .cta-card {
        gap: 2rem;
    }

    .cta-info {
        flex-direction: row;
        justify-content: center;
        gap: 2rem;
    }
}

@media screen and (max-width: 640px) {
    .cta-card {
        padding: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .cta-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* ================================
   Footer
   ================================ */
.footer {
    background: var(--bg-dark-secondary);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-tagline {
    color: var(--primary-orange);
    font-style: italic;
    font-size: 0.9rem;
    margin: 0.5rem 0 1rem;
}

.footer-description {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--primary-orange);
    color: var(--text-primary);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-orange);
}

.footer-contact li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-contact svg {
    flex-shrink: 0;
    color: var(--primary-orange);
}

.footer-contact a {
    color: var(--text-secondary);
}

.footer-contact a:hover {
    color: var(--primary-orange);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Footer Responsive */
@media screen and (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

/* ================================
   WhatsApp Float Button
   ================================ */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all var(--transition-normal);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

@media screen and (max-width: 640px) {
    .whatsapp-float {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 55px;
        height: 55px;
    }
}

/* ================================
   Animations
   ================================ */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 0.8s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

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

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Intersection Observer Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scale Breathing Animation */
.scale-breathe {
    animation: scaleBreathe 3s ease-in-out infinite;
}

@keyframes scaleBreathe {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

/* Float Animation */
.float {
    animation: floatElement 4s ease-in-out infinite;
}

@keyframes floatElement {

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

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

/* ================================
   Utility Classes
   ================================ */
.text-center {
    text-align: center;
}

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

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

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

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

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

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

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

.mb-4 {
    margin-bottom: 2rem;
}

.hidden {
    display: none;
}

@media screen and (max-width: 640px) {
    .hidden-mobile {
        display: none;
    }
}

@media screen and (min-width: 641px) {
    .hidden-desktop {
        display: none;
    }
}

/* ================================
   Theme Toggle Button
   ================================ */
.theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    padding: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--primary-orange);
    border-color: var(--primary-orange);
}

/* Dark mode: show sun, hide moon */
.theme-toggle .sun-icon {
    display: block;
}

.theme-toggle .moon-icon {
    display: none;
}

/* Light mode: show moon, hide sun */
[data-theme="light"] .theme-toggle {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .theme-toggle .sun-icon {
    display: none;
}

[data-theme="light"] .theme-toggle .moon-icon {
    display: block;
}

/* ================================
   Centered Hero Container
   ================================ */
.hero-container-centered {
    display: flex;
    justify-content: center;
    text-align: center;
}

.hero-container-centered .hero-content {
    max-width: 800px;
}

.hero-container-centered .hero-buttons {
    justify-content: center;
}

.hero-container-centered .hero-stats {
    justify-content: center;
}

/* ================================
   Body Model Section
   ================================ */
.body-model-section {
    background: linear-gradient(180deg, transparent 0%, rgba(30, 74, 142, 0.05) 50%, transparent 100%);
}

.body-model-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.body-model-content {
    max-width: 500px;
}

.body-model-content p {
    font-size: 1.1rem;
    margin-top: 1.5rem;
}

.body-model-image {
    display: flex;
    justify-content: center;
}

.body-model-image .hero-image-wrapper {
    max-width: 400px;
}

@media screen and (max-width: 1024px) {
    .body-model-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .body-model-content {
        max-width: 100%;
    }

    .body-model-image {
        order: -1;
    }

    .body-model-image .hero-image-wrapper {
        max-width: 300px;
    }
}

/* ================================
   Practo Widget Hidden Container
   ================================ */
/* Hide the Practo widget - we trigger it via our styled buttons */
practo\:abs_widget {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    z-index: 9999 !important;
    opacity: 0 !important;
    pointer-events: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* When the Practo widget needs to be visible (for the popup to work) */
practo\:abs_widget:focus-within,
practo\:abs_widget:active {
    opacity: 1 !important;
    width: auto !important;
    height: auto !important;
}

/* ================================
   Interactive Body Pain Point Diagram
   ================================ */

/* Body Diagram Container - Side by Side Layout */
.body-diagram-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Individual Body View */
.body-view {
    text-align: center;
}

.view-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Body Image Wrapper - Relative for positioning hotspots */
.body-image-wrapper {
    position: relative;
    display: inline-block;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg), var(--shadow-glow-blue);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.body-image-wrapper:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg), 0 0 60px rgba(232, 93, 4, 0.3);
}

.body-img {
    display: block;
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: var(--radius-lg);
}

/* Pain Point Hotspots */
.pain-point {
    position: absolute;
    width: 30px;
    height: 30px;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 10;
    text-decoration: none;
}

.pain-point::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: var(--primary-orange);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(232, 93, 4, 0.8), 0 0 30px rgba(232, 93, 4, 0.4);
    transition: all var(--transition-fast);
    z-index: 2;
}

.pain-point:hover::before {
    transform: translate(-50%, -50%) scale(1.3);
    box-shadow: 0 0 25px rgba(232, 93, 4, 1), 0 0 50px rgba(232, 93, 4, 0.6);
}

/* Pulsing Ring Animation */
.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border: 2px solid var(--primary-orange);
    border-radius: 50%;
    animation: pulseRing 2s infinite;
    z-index: 1;
}

@keyframes pulseRing {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

/* Tooltip */
.pain-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    pointer-events: none;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(232, 93, 4, 0.3);
    margin-bottom: 10px;
}

.pain-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--bg-card);
}

.pain-point:hover .pain-tooltip {
    opacity: 1;
    visibility: visible;
    bottom: calc(100% + 5px);
}

/* Conditions Quick Links */
.conditions-quick-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.condition-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--bg-dark-secondary);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    border: 1px solid transparent;
}

.condition-link:hover {
    background: rgba(232, 93, 4, 0.1);
    border-color: var(--primary-orange);
    color: var(--primary-orange);
    transform: translateY(-2px);
}

.condition-icon {
    font-size: 0.75rem;
}

/* Responsive Design for Body Diagram */
@media (max-width: 768px) {
    .body-diagram-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .body-img {
        max-width: 280px;
    }

    .pain-point {
        width: 24px;
        height: 24px;
    }

    .pain-point::before {
        width: 12px;
        height: 12px;
    }

    .pulse-ring {
        width: 24px;
        height: 24px;
    }

    .conditions-quick-links {
        padding: 1.5rem;
        gap: 0.75rem;
    }

    .condition-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .body-img {
        max-width: 240px;
    }

    .condition-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
}

/* ================================
   Pain Not Found CTA
   ================================ */
.pain-not-found-cta {
    margin-top: 4rem;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.pain-not-found-cta:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(232, 93, 4, 0.2);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.cta-text {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    display: block;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-orange) 100%);
    color: var(--text-primary);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-glow-orange);
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(232, 93, 4, 0.5);
    color: var(--text-primary);
}

.cta-button i {
    font-size: 1.5rem;
    transition: transform var(--transition-fast);
}

.cta-button:hover i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .pain-not-found-cta {
        margin-top: 3rem;
        padding: 2rem 1.5rem;
    }

    .cta-text {
        font-size: 1.05rem;
    }

    .cta-button {
        padding: 0.875rem 2rem;
        font-size: 0.95rem;
    }
}

/* ================================
   Testimonials Section
   ================================ */
.testimonials {
    background: linear-gradient(180deg, transparent 0%, rgba(30, 74, 142, 0.05) 50%, transparent 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    transition: all var(--transition-normal);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 4rem;
    font-family: var(--font-heading);
    color: var(--primary-orange);
    opacity: 0.15;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
    border-color: rgba(232, 93, 4, 0.2);
    box-shadow: var(--shadow-lg);
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-rating .star {
    color: #FFB800;
    font-size: 1.1rem;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.testimonial-name {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
}

.testimonial-badge {
    font-size: 0.7rem;
    font-weight: 500;
    color: #4285f4;
    background: rgba(66, 133, 244, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.testimonial-source {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.source-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.source-badge.source-google {
    color: #4285f4;
    background: rgba(66, 133, 244, 0.15);
}

.source-badge.source-practo {
    color: #ff6b35;
    background: rgba(255, 107, 53, 0.15);
}

.testimonial-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.testimonial-card-compact {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.testimonial-card-compact .testimonial-text {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.testimonial-card-compact .testimonial-rating {
    margin-bottom: 0.75rem;
}

.testimonial-card-compact .testimonial-rating .star {
    font-size: 0.9rem;
}

@media screen and (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 640px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 1.25rem;
    }
}

/* Testimonials Carousel */
.testimonials-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonials-container {
    flex: 1;
    overflow: hidden;
}

.testimonials-page {
    display: none;
    animation: fadeIn 0.4s ease;
}

.testimonials-page.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

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

.carousel-arrow {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.carousel-arrow:hover {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    transform: scale(1.1);
}

.carousel-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-arrow:disabled:hover {
    background: var(--bg-card);
    transform: none;
}

.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.testimonials-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.testimonials-dots .dot:hover {
    background: rgba(255, 255, 255, 0.4);
}

.testimonials-dots .dot.active {
    background: var(--primary-orange);
    transform: scale(1.2);
}

@media screen and (max-width: 768px) {
    .carousel-arrow {
        width: 40px;
        height: 40px;
    }

    .carousel-arrow svg {
        width: 20px;
        height: 20px;
    }
}