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

:root {
    /* Modern Healthcare Purple Color Palette - Elegant & Professional */
    /* Primary: Rich Purple - Trust, Compassion, Professional Care */
    --primary-color: #7c3aed; /* Vibrant purple - trust & dignity */
    --primary-dark: #6d28d9; /* Deep purple - authority & stability */
    --primary-darker: #5b21b6; /* Darker purple - depth & sophistication */
    --primary-light: #8b5cf6; /* Light purple - approachable & friendly */
    --primary-lighter: #a78bfa; /* Lighter purple - soft & gentle */
    --primary-lightest: #c4b5fd; /* Very light purple - subtle accents */
    
    /* Secondary: Soft Lavender - Warmth, Care, Gentleness */
    --secondary-color: #a78bfa; /* Soft lavender - warmth & care */
    --secondary-dark: #8b5cf6; /* Medium lavender */
    --secondary-light: #c4b5fd; /* Very light lavender */
    --secondary-lighter: #ddd6fe; /* Lighter lavender */
    --secondary-lightest: #e9d5ff; /* Softest lavender - backgrounds */
    
    /* Accent: Soft Pink-Lavender - Compassion & Healing */
    --accent-color: #d8b4fe; /* Soft lavender-pink - compassion */
    --accent-dark: #c084fc; /* Medium lavender-pink */
    --accent-light: #e9d5ff; /* Very light lavender-pink */
    --accent-lighter: #f3e8ff; /* Lighter lavender-pink */
    --accent-lightest: #faf5ff; /* Softest pink-lavender - backgrounds */
    
    /* Supporting: Fresh Mint - Health & Vitality */
    --support-color: #34d399; /* Fresh mint - health & growth */
    --support-light: #6ee7b7; /* Light mint */
    
    /* Neutral Colors - Professional & Readable */
    --text-dark: #1e293b; /* Deep slate - primary text */
    --text-medium: #475569; /* Medium slate - secondary text */
    --text-light: #64748b; /* Light slate - tertiary text */
    --text-muted: #94a3b8; /* Muted slate - subtle text */
    
    /* Background Colors - Clean & Modern */
    --bg-white: #ffffff; /* Pure white */
    --bg-light: #f8fafc; /* Cool light gray */
    --bg-primary-tint: #faf5ff; /* Light purple tint - elegant backgrounds */
    --bg-secondary-tint: #f3e8ff; /* Light lavender tint - soft backgrounds */
    --bg-accent-tint: #fef7ff; /* Light pink tint - warm backgrounds */
    --bg-gradient: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 50%, #fef7ff 100%);
    
    /* Border & Divider */
    --border-color: #e2e8f0; /* Light border */
    --border-light: #f1f5f9; /* Very light border */
    --border-primary: rgba(124, 58, 237, 0.2); /* Light purple border */
    
    /* Shadows with Purple Theme */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-primary: 0 4px 20px rgba(124, 58, 237, 0.25); /* Purple shadow */
    --shadow-secondary: 0 4px 20px rgba(167, 139, 250, 0.2); /* Lavender shadow */
    --shadow-soft: 0 8px 30px rgba(124, 58, 237, 0.15); /* Soft purple shadow */
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

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

/* Navigation */
.navbar {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, var(--bg-primary-tint) 100%);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px var(--shadow-primary);
    border-bottom: 2px solid var(--border-primary);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    display: block;
    animation: breathe 3s ease-in-out infinite;
    transform-origin: center center;
}

.logo-img:not([src]),
.logo-img[src=""] {
    display: none;
}

.logo:hover .logo-img {
    animation: none;
    transform: scale(1.05);
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    height: auto;
}

.nav-menu li a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-link {
    color: var(--text-medium);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.625rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    line-height: 1.5;
    min-height: 40px;
    box-sizing: border-box;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-color) 100%);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover {
    color: var(--primary-color);
    background: var(--bg-primary-tint);
}

.nav-link:hover::before {
    width: 80%;
}

.nav-link.active {
    color: var(--primary-color);
    background: var(--bg-primary-tint);
}

.nav-link.active::before {
    width: 80%;
}

.btn-contact {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white !important;
    padding: 0.625rem 1.75rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-primary);
    font-weight: 600;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    line-height: 1.5;
    min-height: 40px;
    box-sizing: border-box;
}

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

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

.btn-contact::after {
    display: none;
}

.btn-contact:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 50%, var(--accent-dark) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(124, 58, 237, 0.3);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-color) 100%);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.55) 0%, rgba(139, 92, 246, 0.5) 25%, rgba(167, 139, 250, 0.45) 50%, rgba(192, 132, 252, 0.5) 75%, rgba(216, 180, 254, 0.55) 100%),
                url('images/photo1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 3rem 0;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    opacity: 0.4;
    z-index: 0;
}

.hero-logo-wrapper {
    position: relative;
    z-index: 1;
    margin-bottom: 3rem;
    animation: fadeInDown 1s ease;
    display: inline-block;
    padding: 2.5rem;
}

.hero-logo-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 40%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 3s ease-in-out infinite;
}

.hero-logo-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    z-index: -2;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.hero-logo {
    height: 200px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.4)) 
            drop-shadow(0 0 20px rgba(255, 255, 255, 0.2));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    mix-blend-mode: normal;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    animation: breatheHero 3s ease-in-out infinite;
    transform-origin: center center;
}

/* Remove white background from logo if present */
.hero-logo[src$=".png"],
.hero-logo[src$=".jpg"],
.hero-logo[src$=".jpeg"] {
    background: transparent;
    background-color: transparent;
}

.hero-logo:hover {
    animation: none;
    transform: scale(1.08) translateY(-5px);
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.5)) 
            drop-shadow(0 0 30px rgba(255, 255, 255, 0.3));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-title {
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.8;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 30px;
    border-right: 3px solid white;
    border-bottom: 3px solid white;
    transform: rotate(45deg);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 50%, var(--accent-dark) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(124, 58, 237, 0.3);
}

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

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-color: transparent;
    box-shadow: var(--shadow-primary);
}

.btn-full {
    width: 100%;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
    padding-bottom: 1.5rem;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-color) 100%);
    border-radius: 2px;
}

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

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    font-weight: 400;
}

/* About Section */
.about {
    background: var(--bg-white);
}

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

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

.qualification-box {
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: var(--bg-primary-tint);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.7;
}

.qualification-box strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.about-image {
    position: relative;
}

.image-placeholder {
    width: 100%;
    position: relative;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.about-logo {
    width: 100%;
    height: auto;
    max-width: 500px;
    object-fit: contain;
    filter: drop-shadow(0 10px 25px rgba(124, 58, 237, 0.2));
    animation: breatheHero 3s ease-in-out infinite;
    transform-origin: center center;
    display: block;
    margin: 0 auto;
}

.about-logo:hover {
    animation: none;
    transform: scale(1.05);
}

/* Trust Section */
.trust {
    background: var(--bg-gradient);
    padding: 5rem 0;
}

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

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

.trust-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.trust-text {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.trust-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.2);
    border: 3px solid var(--border-primary);
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.trust-photo {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.trust-image:hover .trust-photo {
    transform: scale(1.05);
}

@media (min-width: 968px) {
    .trust-image {
        max-width: 700px;
    }
}

/* Specializations Section */
.specializations {
    position: relative;
    background: url('images/care.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow: hidden;
}

.specializations::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(250, 245, 255, 0.75) 0%, rgba(243, 232, 255, 0.7) 50%, rgba(254, 247, 255, 0.75) 100%);
    z-index: 0;
}

.specializations-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto 3rem;
}

.intro-text {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.palliative-care {
    position: relative;
    z-index: 1;
    background: var(--bg-gradient);
    padding: 3rem;
    border-radius: 24px;
    margin-top: 3rem;
    box-shadow: var(--shadow-primary);
    border: 2px solid var(--border-primary);
    overflow: hidden;
}

.palliative-care::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

.palliative-title {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.palliative-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

/* Services Section */
.services {
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(124, 58, 237, 0.12);
    border: 2px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-color) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

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

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--bg-primary-tint) 0%, var(--bg-secondary-tint) 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    transform: scale(1.1);
}

.service-image {
    width: 100%;
    height: 200px;
    margin: 0 auto 1.5rem;
    border-radius: 15px;
    overflow: hidden;
    background: var(--bg-primary-tint);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.service-card:hover .service-image {
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.2);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-title {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.service-text {
    color: var(--text-light);
    line-height: 1.7;
}

/* Target Groups Section */
.target-groups {
    background: var(--bg-white);
}

.target-groups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.target-group-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 30%, var(--secondary-color) 60%, var(--accent-color) 100%);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    color: white;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-primary);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.target-group-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transition: all 0.5s ease;
}

.target-group-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.target-group-card:hover::before {
    top: -30%;
    right: -30%;
}

.target-group-number {
    font-size: 3rem;
    font-weight: 700;
    opacity: 0.3;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}

.target-group-title {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.target-group-text {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* Contact Section */
.contact {
    background: var(--bg-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

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

.contact-subtitle {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-primary);
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.3);
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-item h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-item p {
    color: var(--text-light);
}

.contact-form-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-primary);
    border: 2px solid var(--border-light);
    position: relative;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-color) 100%);
    border-radius: 24px 24px 0 0;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
    background: var(--bg-primary-tint);
}

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

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 10px;
    display: none;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    display: block;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    display: block;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    background: transparent;
    mix-blend-mode: normal;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin: 0;
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Animations */
@keyframes breathe {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.12);
    }
}

@keyframes breatheHero {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        position: absolute;
        top: 100%;
        left: -100%;
        flex-direction: column;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, var(--bg-primary-tint) 100%);
        backdrop-filter: blur(20px);
        width: 100%;
        padding: 2rem;
        box-shadow: var(--shadow-primary);
        border-top: 2px solid var(--border-primary);
        transition: left 0.3s ease;
        gap: 0.5rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .about-content {
        grid-template-columns: 1fr;
    }

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

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

    .target-groups-grid {
        grid-template-columns: 1fr;
    }

    .logo-img {
        height: 35px;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .footer-logo-img {
        height: 35px;
        background: transparent;
        mix-blend-mode: normal;
    }

    .hero-logo {
        height: 140px;
    }

    .hero-logo-wrapper {
        margin-bottom: 2rem;
        padding: 1.5rem;
    }

    .hero-logo-wrapper::before {
        width: 240px;
        height: 240px;
    }

    .hero-logo-wrapper::after {
        width: 260px;
        height: 260px;
    }
}

/* Tablet optimizations */
@media (max-width: 968px) and (min-width: 641px) {
    .container {
        padding: 0 2rem;
    }

    .hero-title {
        font-size: clamp(2rem, 4vw, 2.75rem);
    }

    .hero-subtitle {
        font-size: clamp(1rem, 2vw, 1.15rem);
    }

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

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

    .section-title {
        font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    }

    .contact-wrapper {
        gap: 3rem;
    }
}

/* Mobile optimizations */
@media (max-width: 640px) {
    /* Base adjustments */
    html {
        font-size: 16px;
    }

    .container {
        padding: 0 1.25rem;
    }

    section {
        padding: 2.5rem 0;
    }

    /* Typography */
    h1 {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    h3 {
        font-size: 1.25rem;
        line-height: 1.4;
    }

    /* Hero section */
    .hero {
        min-height: 85vh;
        padding: 2rem 0;
    }

    .hero-content {
        text-align: center;
        padding: 1.5rem 0;
    }

    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 0.5rem;
        line-height: 1.6;
    }

    .hero-logo {
        height: 100px;
        max-width: 90%;
    }

    .hero-logo-wrapper {
        margin-bottom: 1.5rem;
        padding: 1rem;
    }

    .hero-logo-wrapper::before {
        width: 180px;
        height: 180px;
    }

    .hero-logo-wrapper::after {
        width: 200px;
        height: 200px;
    }

    /* Navigation */
    .nav-wrapper {
        padding: 1rem 0;
    }

    .logo-img {
        height: 30px;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .nav-menu {
        padding: 1.5rem;
        gap: 0.75rem;
    }

    .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .btn-contact {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }

    /* Section headers */
    .section-header {
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    /* About section */
    .about-content {
        gap: 2rem;
    }

    .about-text {
        padding: 0;
    }

    .about-text p {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 1rem;
    }

    .about-logo {
        width: 85%;
        max-width: 300px;
    }

    .qualification-box {
        padding: 1rem;
        font-size: 0.85rem;
        line-height: 1.6;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-image {
        height: 140px;
        margin-bottom: 1rem;
    }

    .service-card h3 {
        font-size: 1.15rem;
        margin-bottom: 0.75rem;
    }

    .service-card p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    /* Specializations */
    .specializations-content {
        padding: 2rem 1.5rem;
    }

    .palliative-care {
        padding: 2rem 1.25rem;
        margin: 2rem 0;
    }

    .palliative-title {
        font-size: 1.35rem;
        margin-bottom: 1rem;
    }

    .palliative-content p {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 1rem;
    }

    /* Target groups */
    .target-groups-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .target-group-card {
        padding: 1.5rem;
    }

    .target-group-card h3 {
        font-size: 1.15rem;
    }

    .target-group-card p {
        font-size: 0.9rem;
    }

    /* Contact section */
    .contact-wrapper {
        gap: 2rem;
    }

    .contact-info {
        padding: 1.5rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
        padding: 1rem;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
    }

    .contact-item h4 {
        font-size: 1rem;
    }

    .contact-item p {
        font-size: 0.9rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

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

    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.75rem;
        font-size: 0.95rem;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }

    .btn-full {
        width: 100%;
    }

    /* Footer */
    .footer {
        padding: 3rem 0 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-section {
        padding: 0;
    }

    .footer-logo-wrapper {
        justify-content: center;
        margin-bottom: 1rem;
    }

    .footer-logo-img {
        height: 30px;
        background: transparent;
        mix-blend-mode: normal;
    }

    .footer-logo {
        font-size: 1.25rem;
    }

    .footer-links {
        gap: 0.75rem;
    }

    .footer-links a {
        font-size: 0.9rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
        font-size: 0.85rem;
    }

    /* Trust section */
    .trust-wrapper {
        gap: 2rem;
    }

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

    .trust-image {
        max-width: 100%;
    }

    .trust-photo {
        width: 100%;
    }

    /* Buttons */
    .btn-primary,
    .btn-secondary {
        font-size: 0.95rem;
        padding: 0.875rem 1.75rem;
    }

    /* Form messages */
    .form-message {
        font-size: 0.9rem;
        padding: 0.875rem;
        margin-top: 1rem;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-logo {
        height: 90px;
    }

    .section-title {
        font-size: 1.35rem;
    }

    .service-card,
    .target-group-card {
        padding: 1.25rem;
    }

    .contact-form-wrapper {
        padding: 1.25rem;
    }

    .palliative-care {
        padding: 1.5rem 1rem;
    }
}

/* Landscape orientation for mobile */
@media (max-width: 968px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }

    .hero-logo-wrapper {
        margin-bottom: 1rem;
    }

    .hero-logo {
        height: 80px;
    }
}

/* Touch-friendly optimizations */
@media (max-width: 968px) {
    /* Ensure buttons and links are at least 44x44px for touch */
    .btn,
    .nav-link,
    .btn-contact {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Improve touch targets */
    .faq-question,
    .service-card,
    .target-group-card {
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(124, 58, 237, 0.1);
    }

    /* Prevent text size adjustment on iOS */
    input,
    textarea,
    select {
        font-size: 16px !important;
    }
}

/* Smooth scroll behavior */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* FAQ Page Styles */
.faq-page {
    padding: 6rem 0 5rem;
    background: var(--bg-white);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(124, 58, 237, 0.08);
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.12);
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s ease;
    font-family: inherit;
}

.faq-question:hover {
    color: var(--primary-color);
    background: var(--bg-primary-tint);
}

.faq-question.active {
    color: var(--primary-color);
    background: var(--bg-primary-tint);
}

.faq-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
    color: var(--primary-color);
}

.faq-question.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer.active {
    max-height: 1000px;
}

.faq-answer p {
    padding: 0 2rem 1.5rem 2rem;
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

.faq-answer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.faq-answer a:hover {
    text-decoration: underline;
}

.faq-contact-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: var(--bg-gradient);
    border-radius: 20px;
}

.faq-contact-cta h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.faq-contact-cta p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Privacy Page Styles */
.privacy-page {
    padding: 6rem 0 5rem;
    background: var(--bg-white);
}

.privacy-content {
    max-width: 900px;
    margin: 0 auto;
}

.privacy-text h3 {
    color: var(--primary-color);
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.privacy-text h4 {
    color: var(--text-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.privacy-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.privacy-text ul {
    margin: 1rem 0 1.5rem 2rem;
    color: var(--text-light);
    line-height: 1.8;
}

.privacy-text ul li {
    margin-bottom: 0.5rem;
}

.privacy-text strong {
    color: var(--text-dark);
}

.privacy-contact {
    background: var(--bg-primary-tint);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    margin-top: 3rem;
}

.privacy-contact h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.privacy-contact a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.privacy-contact a:hover {
    text-decoration: underline;
}

/* Insurance Page Styles */
.insurance-page {
    padding: 6rem 0 5rem;
    background: var(--bg-white);
}

.insurance-content {
    max-width: 900px;
    margin: 0 auto;
}

.insurance-info h3 {
    color: var(--primary-color);
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.insurance-info p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.insurance-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.insurance-list li {
    padding: 1rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.8;
    border-bottom: 1px solid var(--border-color);
}

.insurance-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.insurance-list li:last-child {
    border-bottom: none;
}

.insurance-note {
    background: var(--bg-primary-tint);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    margin-top: 2rem;
    box-shadow: 0 2px 10px rgba(124, 58, 237, 0.1);
}

.insurance-note h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.insurance-contact-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 3rem;
    background: var(--bg-gradient);
    border-radius: 20px;
}

.insurance-contact-cta h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.insurance-contact-cta p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Quality Page Styles */
.quality-page {
    padding: 6rem 0 5rem;
    background: var(--bg-white);
}

.quality-content {
    max-width: 1200px;
    margin: 0 auto;
}

.quality-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.quality-intro h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.quality-intro p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.quality-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.1);
    border: 2px solid var(--border-light);
    transition: all 0.3s ease;
}

.quality-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-primary);
    border-color: var(--primary-light);
}

.quality-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--bg-primary-tint) 0%, var(--bg-secondary-tint) 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.quality-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.quality-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.quality-detail {
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 1rem;
}

.quality-standards,
.quality-commitment {
    margin: 3rem 0;
    padding: 2.5rem;
    background: var(--bg-gradient);
    border-radius: 20px;
}

.quality-standards h3,
.quality-commitment h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.quality-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.quality-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.8;
}

.quality-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.quality-contact {
    text-align: center;
    margin-top: 3rem;
    padding: 3rem;
    background: var(--bg-gradient);
    border-radius: 20px;
}

.quality-contact h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.quality-contact p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Appointment Page Styles */
.appointment-page {
    padding: 6rem 0 5rem;
    background: var(--bg-white);
}

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

.appointment-info h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.appointment-info p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.appointment-benefits,
.appointment-process {
    margin: 2.5rem 0;
    padding: 2rem;
    background: var(--bg-gradient);
    border-radius: 15px;
}

.appointment-benefits h4,
.appointment-process h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.appointment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.appointment-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.8;
}

.appointment-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.process-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h5 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.step-content p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
}

.appointment-note {
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: var(--bg-primary-tint);
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
}

.appointment-note h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.appointment-note p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.8;
}

.appointment-form-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-primary);
    border: 2px solid var(--border-light);
    position: sticky;
    top: 100px;
}

.appointment-form-wrapper h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.appointment-form select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    cursor: pointer;
}

.appointment-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
    background: var(--bg-primary-tint);
}

/* Responsive adjustments for new pages */
@media (max-width: 968px) {
    .faq-question {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
    }

    .faq-answer p {
        padding: 0 1.5rem 1.25rem 1.5rem;
    }

    .insurance-list li {
        padding-left: 1.5rem;
    }

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

    .trust-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .appointment-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .appointment-form-wrapper {
        position: relative;
        top: 0;
    }

    .service-image {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .service-image {
        height: 160px;
        margin-bottom: 1.25rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    animation: pulse-whatsapp 2s ease-in-out infinite;
}

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

.whatsapp-float svg {
    width: 35px;
    height: 35px;
    fill: white;
}

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

@media (max-width: 640px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 28px;
    }

    .whatsapp-float svg {
        width: 30px;
        height: 30px;
    }
}

