/* Enhanced CSS with Modern Design Improvements */

/* CSS Variables */
:root {
    --white: #ffffff;
    --sky-blue-light: #f0faff;
    --sky-blue: #87ceeb;
    --navy: #1e3a5f;
    --dark-navy: #0a1628;
    --bright-blue: #0066ff;
    --electric-cyan: #00d9ff;
    --whatsapp-green: #25D366;
    --gray-dark: #333333;
    --gray-light: #666666;
    --glass-white: rgba(255, 255, 255, 0.7);
    
    --grad-blue-dark: #6E98FF;
    --grad-blue-light: #82D1FF;
    --main-gradient: linear-gradient(135deg, var(--grad-blue-dark) 0%, var(--grad-blue-light) 100%);
    --whatsapp-gradient: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    
    /* Enhanced gradients */
    --premium-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --success-gradient: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    --warning-gradient: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    
    /* Dark mode variables */
    --bg-primary: var(--sky-blue-light);
    --bg-secondary: var(--white);
    --text-primary: var(--dark-navy);
    --text-secondary: var(--gray-dark);
    --text-light: var(--gray-light);
    --glass-bg: var(--glass-white);
    --border-color: rgba(255, 255, 255, 0.5);
    --shadow-color: rgba(0, 102, 255, 0.1);
    --shadow-color-strong: rgba(0, 102, 255, 0.15);
    
    /* Enhanced shadows */
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-strong: 0 15px 40px rgba(0, 0, 0, 0.15);
    --shadow-colored: 0 10px 30px rgba(110, 152, 255, 0.2);
}

/* Dark mode theme */
[data-theme="dark"] {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-light: #94a3b8;
    --glass-bg: rgba(30, 41, 59, 0.7);
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.3);
    --shadow-color-strong: rgba(0, 0, 0, 0.5);
    --sky-blue-light: #0f172a;
    --white: #1e293b;
    --gray-dark: #f1f5f9;
    --gray-light: #cbd5e1;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    font-feature-settings: "liga" 1, "kern" 1;
    text-rendering: optimizeLegibility;
}

/* Enhanced Performance optimizations */
img {
    max-width: 100%;
    height: auto;
    display: block;
    font-style: italic;
    background-repeat: no-repeat;
    background-size: cover;
    shape-margin: 1rem;
}

/* Enhanced Animated Background */
.dynamic-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(180deg, #e6f7ff 0%, #ffffff 100%);
}

.glass-shape {
    position: absolute;
    background: var(--main-gradient);
    filter: blur(120px);
    opacity: 0.15;
    animation: floatShape 20s ease-in-out infinite;
    border-radius: 50%;
}

.shape1 {
    width: 600px;
    height: 600px;
    top: -300px;
    left: -300px;
    animation-duration: 25s;
}

.shape2 {
    width: 500px;
    height: 500px;
    bottom: -250px;
    right: -250px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation-duration: 30s;
    animation-direction: reverse;
}

.shape3 {
    width: 400px;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-duration: 35s;
}

.shape4 {
    width: 300px;
    height: 300px;
    top: 20%;
    right: 10%;
    background: var(--success-gradient);
    animation-duration: 40s;
}

@keyframes floatShape {
    0%, 100% { 
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.15;
    }
    25% { 
        transform: translate(50px, -80px) rotate(45deg) scale(1.1);
        opacity: 0.2;
    }
    50% { 
        transform: translate(-30px, 30px) rotate(90deg) scale(0.9);
        opacity: 0.1;
    }
    75% { 
        transform: translate(-80px, -50px) rotate(135deg) scale(1.05);
        opacity: 0.25;
    }
}

/* Enhanced Navigation */
nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 1.5rem 8%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

nav.scrolled {
    padding: 1rem 8%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-medium);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.logo-glass {
    width: 400px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.logo-glass:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 8px 25px rgba(110, 152, 255, 0.3));
}

.logo-glass img,
.logo-glass svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 2;
    position: relative;
}

/* Alternative logo style for better contrast */
.logo-solid {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(110, 152, 255, 0.3);
    transition: all 0.3s ease;
}

.logo-solid:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(110, 152, 255, 0.3);
    border-color: rgba(110, 152, 255, 0.5);
}

.logo-solid img {
    width: 75%;
    height: 75%;
    object-fit: contain;
    z-index: 2;
    position: relative;
}

/* Dark theme logo variant */
.logo-dark {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(110, 152, 255, 0.3);
    transition: all 0.3s ease;
}

.logo-dark:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(110, 152, 255, 0.25);
    border-color: rgba(110, 152, 255, 0.5);
}

.logo-dark img {
    width: 75%;
    height: 75%;
    object-fit: contain;
    z-index: 2;
    position: relative;
}

/* Manual override classes for specific backgrounds */
.logo-force-light {
    background: white !important;
    border: 2px solid rgba(110, 152, 255, 0.3) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
}

.logo-force-light img {
    filter: none !important;
}

.logo-force-dark {
    background: white !important;
    border: 2px solid rgba(110, 152, 255, 0.3) !important;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15) !important;
}

.logo-force-dark img {
    filter: none !important;
}



/* Enhanced Navigation Links */
.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
    transition: all 0.3s ease;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.5rem 0;
    letter-spacing: 0.02em;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--main-gradient);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1px;
}

.nav-links a:hover::before,
.nav-links a.active::before {
    width: 100%;
}

.nav-links a:hover {
    color: var(--bright-blue);
    transform: translateY(-1px);
}

/* Enhanced Buttons */
.btn {
    padding: 0.8rem 1.8rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    min-width: 140px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.2);
    color: var(--dark-navy);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-soft);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: var(--shadow-colored);
    border-color: rgba(110, 152, 255, 0.3);
}

.btn-primary {
    background: var(--main-gradient);
    color: white;
    box-shadow: var(--shadow-colored);
    border: 1px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(110, 152, 255, 0.4);
    filter: brightness(1.1);
}

.btn-whatsapp {
    background: var(--whatsapp-gradient);
    color: white;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
    filter: brightness(1.1);
}

/* Enhanced Hero Section */
.hero {
    padding: 12rem 8% 8rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    z-index: 1;
}

.hero-content h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--dark-navy);
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--dark-navy) 0%, var(--bright-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--gray-dark);
    margin-bottom: 3rem;
    line-height: 1.8;
    font-weight: 400;
    max-width: 90%;
}

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

/* Enhanced Feature Cards */
.feature-card {
    padding: 1.8rem 2.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--main-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 20px;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-strong);
    border-color: rgba(110, 152, 255, 0.3);
}

.feature-card:hover::before {
    opacity: 0.05;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--main-gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: var(--shadow-colored);
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.feature-card span {
    font-weight: 600;
    color: var(--dark-navy);
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
}

/* Enhanced Treatment Cards Section */
.treatment-cards-section {
    padding: 10rem 8%;
    background: linear-gradient(135deg, var(--sky-blue-light) 0%, rgba(255, 255, 255, 0.8) 100%);
    position: relative;
    scroll-snap-align: start;
}

.treatment-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Enhanced Treatment Cards */
.treatment-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.treatment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--main-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 24px;
    z-index: 1;
}

.treatment-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-strong);
    border-color: rgba(110, 152, 255, 0.3);
}

.treatment-card:hover::before {
    opacity: 0.05;
}

.treatment-card-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
}

.treatment-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.treatment-card:hover .treatment-card-image img {
    transform: scale(1.1);
}

.treatment-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(30, 58, 95, 0.85), 
        rgba(15, 23, 42, 0.9)
    );
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.treatment-card:hover .treatment-card-overlay {
    opacity: 1;
}

.treatment-card-hint {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    padding: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.treatment-card:hover .treatment-card-hint {
    transform: translateY(0);
}

.treatment-card-content {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.98);
    position: relative;
    z-index: 2;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.treatment-card-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 0.8rem;
    line-height: 1.3;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.treatment-card-subtitle {
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
    text-decoration: none;
}

/* Enhanced Page Indicator for treatments with dedicated pages */
.treatment-card[data-has-page="true"]::after {
    content: "🔗";
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--main-gradient);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    opacity: 0.9;
    transition: all 0.3s ease;
    z-index: 5;
    box-shadow: var(--shadow-soft);
}

.treatment-card[data-has-page="true"]:hover::after {
    opacity: 1;
    transform: scale(1.1);
}

/* Enhanced Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--dark-navy);
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--dark-navy) 0%, var(--bright-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.3rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.6;
}

/*
========================================
Treatment Page - Hero Section Fix
========================================
*/

/*
========================================
Navbar and Hero Title Fixes
========================================
*/

/* Fix 1: Make the top navigation bar look sharper and less blurry */
nav {
    background: rgba(255, 255, 255, 0.97); /* Increased opacity for a solid look */
    backdrop-filter: blur(10px);          /* Slightly reduced blur effect */
    border-bottom: 1px solid #e5e7eb;     /* Added a crisp bottom border for definition */
}

nav.nav-hidden {
    transform: translateY(-100%);
    box-shadow: none;
}

/* Fix 2: Change the hero section title to black for better visibility */
.treatment-hero .treatment-hero-content h1 {
    color: var(--dark-navy); /* This sets the color to a dark navy/black */
}

.treatment-hero {
    position: relative;
    /* This padding-top is crucial to push the content below the fixed nav bar */
    padding-top: 12rem;
    padding-bottom: 6rem;
    padding-left: 8%;
    padding-right: 8%;
    /* This background matches the modern, light theme of the site */
    background: linear-gradient(135deg,
        rgba(240, 250, 255, 0.9) 0%,
        rgba(255, 255, 255, 0.95) 100%
    );
    overflow: hidden;
}

.treatment-hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

/* Adjustments for smaller screens */
@media (max-width: 768px) {
    .treatment-hero {
        padding-top: 8rem; /* A bit less padding on mobile */
        padding-bottom: 4rem;
        padding-left: 5%;
        padding-right: 5%;
    }
    .treatment-hero-container {
        grid-template-columns: 1fr; /* Stack content on mobile */
    }
}

.breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--bright-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--dark-navy);
}

.treatment-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--dark-navy);
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.treatment-hero-subtitle {
    font-size: 1.3rem;
    color: var(--gray-dark);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.treatment-hero-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 3rem;
}

.treatment-hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.treatment-hero-image {
    position: relative;
}

.treatment-hero-image img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: var(--shadow-strong);
    transition: transform 0.3s ease;
}

.treatment-hero-image:hover img {
    transform: scale(1.02);
}

/* Enhanced Container and Responsive Design */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Responsive Footer adjustments */
@media (max-width: 768px) {
    .footer-container {
        grid-template-areas:
            "logo"
            "links"
            "social"
            "copy";
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-links, .footer-social, .footer-logo {
        justify-content: center;
        margin: 0 auto;
    }
}

/* Enhanced Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    background: var(--whatsapp-gradient);
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 2.2rem;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: pulse 2s infinite;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5);
    color: white;
}

@keyframes pulse {
    0% {
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    }
}

/* Enhanced Responsive Design */
@media (max-width: 1200px) {
    .hero-container,
    .treatment-hero-container {
        gap: 4rem;
    }
    
    .treatment-cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 1rem 5%;
    }
    
    .hero {
        padding: 10rem 5% 6rem;
    }
    
    .hero-container,
    .treatment-hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .treatment-cards-section {
        padding: 6rem 5%;
    }
    
    .treatment-cards-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
    }
    
    .treatment-hero-features {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: clamp(2.5rem, 8vw, 3.5rem);
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .feature-card {
        padding: 1.5rem 2rem;
    }
    
    .floating-whatsapp {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 6rem 2rem 2rem;
        gap: 2rem;
        transition: right 0.3s ease;
        box-shadow: var(--shadow-strong);
        z-index: 999;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-buttons {
        display: none;
    }
    
    .mobile-menu {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        gap: 4px;
        padding: 8px;
        border-radius: 8px;
        transition: all 0.3s ease;
        z-index: 1000;
    }
    
    .mobile-menu span {
        width: 25px;
        height: 3px;
        background: var(--text-primary);
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    
    .mobile-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .mobile-menu.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 8rem 4% 4rem;
    }
    
    .treatment-cards-section {
        padding: 4rem 4%;
    }
    
    .feature-card {
        padding: 1.2rem 1.5rem;
        gap: 1rem;
    }
    
    .treatment-card-content {
        padding: 2rem;
    }
    
    .hero-content h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .section-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
}

/* Enhanced Dark Mode Support */
[data-theme="dark"] {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-light: #94a3b8;
    --glass-bg: rgba(30, 41, 59, 0.7);
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.3);
    --shadow-color-strong: rgba(0, 0, 0, 0.5);
    --sky-blue-light: #0f172a;
    --white: #1e293b;
    --gray-dark: #f1f5f9;
    --gray-light: #cbd5e1;
}

[data-theme="dark"] .dynamic-background {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
}

[data-theme="dark"] .treatment-card,
[data-theme="dark"] .feature-card {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .treatment-card-content {
    background: rgba(30, 41, 59, 0.95);
}

[data-theme="dark"] .hero-content h1,
[data-theme="dark"] .section-title {
    background: linear-gradient(135deg, #f1f5f9 0%, #82d1ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.animate-on-scroll.fade-left {
    transform: translateX(-30px);
}

.animate-on-scroll.fade-right {
    transform: translateX(30px);
}

.animate-on-scroll.scale-up {
    transform: scale(0.9);
}

.animate-on-scroll.animate.scale-up {
    transform: scale(1);
}

/* Stagger animations */
.animate-on-scroll.stagger-1 { transition-delay: 0.1s; }
.animate-on-scroll.stagger-2 { transition-delay: 0.2s; }
.animate-on-scroll.stagger-3 { transition-delay: 0.3s; }
.animate-on-scroll.stagger-4 { transition-delay: 0.4s; }
.animate-on-scroll.stagger-5 { transition-delay: 0.5s; }

/* Enhanced Performance */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Enhanced Focus States for Accessibility */
*:focus {
    outline: 2px solid var(--bright-blue);
    outline-offset: 2px;
}

.btn:focus,
.nav-links a:focus {
    outline: 2px solid var(--bright-blue);
    outline-offset: 2px;
    border-radius: 4px;
}

/*
=================================
Contact Section Styling
=================================
*/

.contact {
    padding: 6rem 8%;
    background: var(--white);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Creates two columns */
    gap: 4rem;
    align-items: center;
    background: var(--sky-blue-light);
    padding: 4rem;
    border-radius: 30px;
    box-shadow: var(--shadow-medium);
}

/* Align the text in the left column to the left */
.contact-content .section-title,
.contact-content .section-subtitle {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.contact-info {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--main-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-colored);
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

/* Form Styles */
.form-neon {
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid #dee9ff;
    background: #f8fafc;
    font-size: 1rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--bright-blue);
    box-shadow: 0 0 0 3px rgba(110, 152, 255, 0.3);
    outline: none;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    background: var(--main-gradient);
    color: white;
    box-shadow: var(--shadow-colored);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr; /* Stack columns on smaller screens */
        gap: 3rem;
        padding: 3rem;
    }

    .contact-content .section-title,
    .contact-content .section-subtitle {
        text-align: center; /* Center text when stacked */
    }

    .contact-info, .contact-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
     .contact {
        padding: 4rem 5%;
    }
    .contact-container {
        padding: 2rem;
    }
    .form-neon {
        padding: 2rem;
    }
}

/*
=================================
Footer Styling with Font Awesome
=================================
*/

.footer {
    background: linear-gradient(135deg, #0a264a, #133e66);
    color: rgba(255, 255, 255, 0.9);
    padding: 4rem 8% 2rem;
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(110, 152, 255, 0.05) 0%, rgba(130, 209, 255, 0) 70%);
    opacity: 0.5;
}

.footer-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-areas:
        "logo links social"
        "copy copy copy";
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    grid-area: logo;
}

.footer-logo img {
    width: 130px;
    height: auto;
    opacity: 0.95;
    transition: opacity 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(110, 152, 255, 0.3));
}

.footer-logo img:hover {
    opacity: 1;
    filter: drop-shadow(0 0 15px rgba(110, 152, 255, 0.5));
}

.footer-links {
    grid-area: links;
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
  color: #1da1f2; /* or use your preferred blue, e.g., #38bdf8 or #2196f3 */
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #0a72b1; /* a darker or more vibrant blue for hover */
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: #67e8f9;
    transition: width 0.3s ease;
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-social {
    grid-area: social;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.footer-social a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.footer-social a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(110, 152, 255, 0.3), rgba(130, 209, 255, 0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(110, 152, 255, 0.3);
}

.footer-social a:hover::before {
    opacity: 1;
}

/* Font Awesome Icon Styles */
.footer-social i {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.footer-social a:hover i {
    color: #ffffff;
    transform: scale(1.2);
}

/* Specific hover colors for each platform */
.footer-social a[href*="facebook"]:hover {
    background: #1877f2 !important;
    border-color: #1877f2;
}

.footer-social a[href*="facebook"]:hover::before {
    opacity: 0;
}

.footer-social a[href*="instagram"]:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
    border-color: #bc1888;
}

.footer-social a[href*="instagram"]:hover::before {
    opacity: 0;
}

.footer-social a[href*="tiktok"]:hover {
    background: #000000 !important;
    border-color: #ff0050;
}

.footer-social a[href*="tiktok"]:hover::before {
    opacity: 0;
}

.footer-copyright {
    grid-area: copy;
    text-align: center;
    font-size: 0.85rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .footer-container {
        grid-template-areas:
            "logo"
            "links"
            "social"
            "copy";
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-logo, 
    .footer-links, 
    .footer-social {
        justify-content: center;
    }
    
    .footer-social {
        margin-bottom: 1rem;
    }
    
    .footer-links {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 5% 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .footer-social a {
        width: 50px;
        height: 50px;
    }
    
    .footer-social i {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 2.5rem 4% 1.5rem;
    }
    
    .footer-logo img {
        width: 100px;
    }
    
    .footer-links a {
        font-size: 0.9rem;
    }
    
    .footer-social {
        gap: 0.8rem;
    }
    
    .footer-copyright {
        font-size: 0.8rem;
        margin-top: 1.5rem;
        padding-top: 1rem;
    }
}

.footer-social img {
  width: 24px !important;
  height: 24px !important;
  object-fit: contain;
  display: block;
  transition: 0.3s;
}

