@import "tailwindcss";

/* Vellora Health - Main Stylesheet */

:root {
    /* ===========================================
       DESIGN TOKENS - Single Source of Truth
       =========================================== */

    /* ----- Colors ----- */
    /* Primary */
    --primary-dark: #1a2332;
    --primary-navy: #2c3e50;

    /* Accent */
    --accent-gold: #c9a961;
    --accent-gold-light: #d4b87a;
    --accent-gold-bg: rgba(201, 169, 97, 0.15);
    --accent-gold-hover: rgba(201, 169, 97, 0.3);

    /* Text */
    --text-light: #f8f9fa;
    --text-muted: #a8b2c1;
    --text-secondary: #666666;
    --text-dark: #444444;

    /* Backgrounds */
    --bg-light: #f5f7fa;
    --bg-white: #ffffff;
    --bg-overlay-light: rgba(255, 255, 255, 0.05);
    --bg-overlay-medium: rgba(255, 255, 255, 0.1);

    /* Semantic */
    --success-green: #27ae60;
    --error-red: #dc3545;

    /* Borders */
    --border-light: #e0e0e0;
    --border-medium: #d0d0d0;

    /* Gradients */
    --gradient-dark: linear-gradient(135deg, #1a2332 0%, #2c3e50 100%);
    --gradient-gold: linear-gradient(135deg, #c9a961 0%, #d4b87a 100%);

    /* ----- Typography ----- */
    /* Font Families */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', serif;

    /* Font Sizes */
    --text-xs: 12px;
    --text-sm: 14px;
    --text-base: 15px;
    --text-md: 16px;
    --text-lg: 18px;
    --text-xl: 20px;
    --text-2xl: 24px;
    --text-3xl: 28px;
    --text-4xl: 36px;
    --text-5xl: 48px;
    --text-6xl: 56px;

    /* Font Weights */
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;

    /* Line Heights */
    --leading-tight: 1.2;
    --leading-normal: 1.6;
    --leading-relaxed: 1.8;

    /* ----- Spacing ----- */
    --space-xs: 8px;
    --space-sm: 12px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 40px;
    --space-3xl: 48px;
    --space-4xl: 60px;
    --space-5xl: 80px;
    --space-6xl: 100px;

    /* ----- Border Radius ----- */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 10px;
    --radius-xl: 12px;
    --radius-2xl: 16px;
    --radius-full: 9999px;

    /* ----- Shadows ----- */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.1);
    --shadow-nav: 0 2px 20px rgba(0, 0, 0, 0.1);
    --shadow-gold: 0 10px 30px rgba(201, 169, 97, 0.3);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-card-hover: 0 20px 40px rgba(0, 0, 0, 0.15);

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

    /* ----- Layout ----- */
    --container-max: 1200px;
    --container-padding: 24px;
    --nav-height: 76px;
    --section-padding: 100px;
    --card-padding: 40px;
}

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

body {
    font-family: var(--font-primary);
    color: var(--primary-dark);
    line-height: var(--leading-normal);
    background: var(--bg-white);
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Navigation */
nav {
    background: var(--primary-dark);
    padding: var(--space-md) 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-nav);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: var(--primary-dark);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo-icon svg {
    width: 44px;
    height: 44px;
}

.logo-icon-outline {
    width: 44px;
    height: 44px;
    background: transparent;
    border: 2px solid var(--accent-gold);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon-outline svg {
    width: 44px;
    height: 44px;
}

.logo-text {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: var(--font-semibold);
    color: var(--accent-gold);
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--text-light);
}

.nav-links {
    display: flex;
    gap: var(--space-xl);
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: var(--font-medium);
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color var(--transition-base);
}

.nav-links a:hover {
    color: var(--accent-gold);
}

.nav-cta {
    background: var(--gradient-gold);
    color: var(--primary-dark) !important;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: var(--font-semibold) !important;
}

.nav-cta:hover {
    opacity: 0.9;
    color: var(--primary-dark) !important;
}

/* Hero Section */
.hero {
    background: var(--gradient-dark);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%23c9a96120" stroke-width="0.5"/><circle cx="50" cy="50" r="30" fill="none" stroke="%23c9a96115" stroke-width="0.5"/><circle cx="50" cy="50" r="20" fill="none" stroke="%23c9a96110" stroke-width="0.5"/></svg>') center/cover;
    opacity: 0.5;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background: var(--accent-gold-bg);
    border: 1px solid var(--accent-gold-hover);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
}

.hero-badge span {
    color: var(--accent-gold);
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: var(--text-6xl);
    font-weight: var(--font-bold);
    color: var(--text-light);
    line-height: var(--leading-tight);
    margin-bottom: var(--space-lg);
    max-width: 700px;
}

.hero h1 span {
    color: var(--accent-gold);
}

.hero-tagline {
    font-size: 22px;
    color: var(--accent-gold);
    font-weight: var(--font-medium);
    margin-bottom: var(--space-md);
    letter-spacing: 0.5px;
}

.hero-subtitle {
    font-size: var(--text-lg);
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: var(--space-2xl);
    line-height: var(--leading-relaxed);
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-4xl);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-md);
    font-weight: var(--font-semibold);
    font-size: var(--text-base);
    text-decoration: none;
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--primary-dark);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--bg-overlay-medium);
    color: var(--text-light);
}

.btn-outline:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.hero-stats {
    display: flex;
    gap: var(--space-3xl);
}

.stat {
    text-align: left;
}

.stat-number {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: var(--font-bold);
    color: var(--accent-gold);
    margin-bottom: 4px;
}

.stat-label {
    font-size: var(--text-xs);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Multilingual Banner */
.multilingual-banner {
    background: var(--accent-gold);
    padding: var(--space-md) 0;
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
}

.banner-icon {
    color: var(--primary-dark);
    flex-shrink: 0;
}

.banner-text {
    flex-grow: 1;
}

.banner-text strong {
    color: var(--primary-dark);
    font-size: var(--text-md);
    display: block;
    margin-bottom: 4px;
}

.language-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.lang-item {
    color: var(--primary-dark);
    font-size: var(--text-sm);
    opacity: 0.85;
}

.banner-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background: var(--primary-dark);
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: var(--font-semibold);
    font-size: var(--text-sm);
    flex-shrink: 0;
    transition: opacity var(--transition-base);
}

.banner-cta:hover {
    opacity: 0.9;
}

/* Section Styles */
.why-choose {
    padding: var(--section-padding) 0;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
}

.section-label {
    display: inline-block;
    color: var(--accent-gold);
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-md);
}

.section-title {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: var(--font-bold);
    color: var(--primary-dark);
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.feature-card {
    background: var(--bg-white);
    padding: var(--card-padding) var(--space-xl);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 1px solid rgba(0,0,0,0.05);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-gold);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--primary-dark);
}

.feature-card h3 {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-sm);
    color: var(--primary-dark);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
}

/* Services Section */
.services {
    padding: var(--section-padding) 0;
    background: var(--bg-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.service-card {
    background: var(--bg-light);
    padding: var(--card-padding);
    border-radius: var(--radius-2xl);
    display: flex;
    gap: var(--space-lg);
    transition: all var(--transition-base);
}

.service-card:hover {
    background: var(--primary-dark);
}

.service-card:hover h3,
.service-card:hover p,
.service-card:hover li {
    color: var(--text-light);
}

.service-card:hover .service-number {
    color: var(--accent-gold);
}

.service-number {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    font-weight: var(--font-bold);
    color: var(--accent-gold-hover);
    line-height: 1;
}

.service-content h3 {
    font-size: var(--text-2xl);
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-sm);
    color: var(--primary-dark);
    transition: color var(--transition-base);
}

.service-content p {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    transition: color var(--transition-base);
}

.service-content ul {
    list-style: none;
}

.service-content li {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    padding: 4px 0;
    padding-left: 20px;
    position: relative;
    transition: color var(--transition-base);
}

.service-content li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
}

/* Attorney Resources Section */
.attorney-resources {
    padding: var(--section-padding) 0;
    background: var(--gradient-dark);
}

.attorney-resources .section-label,
.attorney-resources .section-title,
.attorney-resources .section-subtitle {
    color: var(--text-light);
}

.attorney-resources .section-subtitle {
    color: var(--text-muted);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-3xl);
}

.resource-card {
    background: var(--bg-overlay-light);
    border: 1px solid var(--bg-overlay-medium);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: all var(--transition-base);
}

.resource-card:hover {
    background: var(--bg-overlay-medium);
    transform: translateY(-4px);
}

.resource-icon {
    width: 64px;
    height: 64px;
    background: var(--accent-gold-bg);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.resource-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--accent-gold);
}

.resource-card h3 {
    color: var(--text-light);
    font-size: var(--text-lg);
    margin-bottom: var(--space-xs);
}

.resource-card p {
    color: var(--text-muted);
    font-size: var(--text-sm);
    margin-bottom: var(--space-md);
}

.resource-link {
    color: var(--accent-gold);
    text-decoration: none;
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.resource-link:hover {
    text-decoration: underline;
}

.attorney-cta {
    text-align: center;
    padding: var(--space-3xl);
    background: var(--accent-gold-bg);
    border: 1px solid var(--accent-gold-hover);
    border-radius: var(--radius-2xl);
}

.attorney-cta h3 {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    color: var(--text-light);
    margin-bottom: var(--space-sm);
}

.attorney-cta p {
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
}

/* Physician Recruitment Section */
.physician-recruitment {
    padding: var(--section-padding) 0;
    background: var(--bg-light);
}

.recruitment-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.recruitment-text h2 {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.recruitment-text p {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    font-size: var(--text-md);
    line-height: var(--leading-relaxed);
}

.benefits-list {
    list-style: none;
    margin-bottom: var(--space-xl);
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

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

.check-icon {
    width: 24px;
    height: 24px;
    background: var(--success-green);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.check-icon svg {
    width: 14px;
    height: 14px;
    fill: white;
}

.benefit-text strong {
    display: block;
    color: var(--primary-dark);
    margin-bottom: 2px;
}

.benefit-text span {
    color: var(--text-secondary);
    font-size: var(--text-sm);
}

.recruitment-form,
.appointment-form {
    background: var(--bg-white);
    padding: var(--card-padding);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
}

.recruitment-form h3,
.appointment-form h3 {
    font-size: var(--text-2xl);
    color: var(--primary-dark);
    margin-bottom: var(--space-xs);
}

.recruitment-form > p {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    font-size: var(--text-sm);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--primary-dark);
    margin-bottom: var(--space-xs);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px var(--space-md);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    font-family: inherit;
    transition: border-color var(--transition-base);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
}

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

.form-submit {
    width: 100%;
    padding: var(--space-md);
    background: var(--gradient-gold);
    color: var(--primary-dark);
    border: none;
    border-radius: var(--radius-md);
    font-size: var(--text-md);
    font-weight: var(--font-semibold);
    cursor: pointer;
    transition: all var(--transition-base);
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

/* Form Validation States */
.form-group .error-message {
    display: none;
    color: var(--error-red);
    font-size: var(--text-xs);
    margin-top: 6px;
}

.form-group.error .error-message {
    display: block;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: var(--error-red);
    background-color: rgba(220, 53, 69, 0.03);
}

.form-group.error input:focus,
.form-group.error select:focus,
.form-group.error textarea:focus {
    border-color: var(--error-red);
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.form-group.valid input,
.form-group.valid select,
.form-group.valid textarea {
    border-color: var(--success-green);
}

.form-group.valid input:focus,
.form-group.valid select:focus,
.form-group.valid textarea:focus {
    border-color: var(--success-green);
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
}

.form-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Patient Section */
.patients {
    padding: var(--section-padding) 0;
    background: var(--bg-white);
}

.patient-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-3xl);
}

.patient-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.patient-card {
    background: var(--bg-light);
    padding: var(--space-xl);
    border-radius: var(--radius-2xl);
    transition: all var(--transition-base);
}

.patient-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.patient-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-gold);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.patient-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--primary-dark);
}

.patient-card h3 {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--primary-dark);
    margin-bottom: var(--space-md);
}

.patient-card ul {
    list-style: none;
}

.patient-card li {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    padding: var(--space-xs) 0;
    padding-left: var(--space-lg);
    position: relative;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.patient-card li:last-child {
    border-bottom: none;
}

.patient-card li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: var(--font-bold);
}

.patient-cta {
    text-align: center;
    padding: var(--space-3xl);
    background: var(--gradient-dark);
    border-radius: var(--radius-2xl);
}

.patient-cta h3 {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    color: var(--text-light);
    margin-bottom: var(--space-sm);
}

.patient-cta p {
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
}

.patient-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
}

.btn-outline-dark {
    background: transparent;
    border: 2px solid var(--bg-overlay-medium);
    color: var(--text-light);
}

.btn-outline-dark:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

/* Locations Section */
.locations {
    padding: var(--section-padding) 0;
    background: var(--bg-white);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.location-card {
    background: var(--bg-light);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    transition: all var(--transition-base);
}

.location-card:hover {
    box-shadow: var(--shadow-xl);
}

.location-map {
    height: 200px;
    background: var(--primary-navy);
    display: flex;
    align-items: center;
    justify-content: center;
}

.location-map svg {
    width: 48px;
    height: 48px;
    fill: var(--accent-gold);
    opacity: 0.5;
}

.location-info {
    padding: var(--space-xl);
}

.location-badge {
    display: inline-block;
    background: var(--accent-gold);
    color: var(--primary-dark);
    font-size: 11px;
    font-weight: var(--font-semibold);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px var(--space-sm);
    border-radius: 4px;
    margin-bottom: var(--space-sm);
}

.location-info h3 {
    font-size: 22px;
    color: var(--primary-dark);
    margin-bottom: var(--space-sm);
}

.location-info p {
    color: var(--text-secondary);
    font-size: var(--text-base);
    margin-bottom: var(--space-xs);
}

.location-hours {
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(0,0,0,0.1);
}

.location-hours span {
    font-weight: var(--font-semibold);
    color: var(--primary-dark);
}

/* Appointment Section */
.appointment {
    padding: var(--section-padding) 0;
    background: var(--gradient-dark);
}

.appointment-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.appointment-text h2 {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    color: var(--text-light);
    margin-bottom: 20px;
}

.appointment-text p {
    color: var(--text-muted);
    margin-bottom: var(--space-xl);
    font-size: var(--text-md);
    line-height: var(--leading-relaxed);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-gold-bg);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--accent-gold);
}

.contact-details strong {
    display: block;
    color: var(--text-light);
    font-size: var(--text-md);
}

.contact-details span {
    color: var(--text-muted);
    font-size: var(--text-sm);
}

.appointment-form h3 {
    margin-bottom: var(--space-lg);
}

/* Footer */
footer {
    background: var(--primary-dark);
    padding: var(--space-4xl) 0 30px;
    border-top: 1px solid var(--bg-overlay-medium);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-tagline {
    color: var(--text-light);
    font-size: var(--text-md);
    font-style: italic;
    margin-top: var(--space-sm);
    margin-bottom: var(--space-xs);
}

.footer-brand p {
    color: var(--text-muted);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    margin-top: var(--space-xs);
}

.footer-languages {
    margin-top: var(--space-md);
    padding-top: var(--space-sm);
    border-top: 1px solid var(--bg-overlay-medium);
    color: var(--text-muted);
    font-size: var(--text-xs);
}

.footer-languages span {
    color: var(--accent-gold);
    font-weight: var(--font-medium);
}

.footer-column h4 {
    color: var(--text-light);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: var(--space-sm);
}

.footer-column a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: var(--text-sm);
    transition: color var(--transition-base);
}

.footer-column a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--bg-overlay-medium);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: var(--text-xs);
}

.footer-legal {
    display: flex;
    gap: var(--space-lg);
}

.footer-legal a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: var(--text-xs);
}

.footer-legal a:hover {
    color: var(--accent-gold);
}

.footer-disclaimer {
    padding: var(--space-lg) 0;
    margin-bottom: var(--space-lg);
    border-bottom: 1px solid var(--bg-overlay-medium);
}

.footer-disclaimer p {
    color: var(--text-muted);
    font-size: var(--text-xs);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-sm);
}

.footer-disclaimer p:last-child {
    margin-bottom: 0;
}

.footer-disclaimer strong {
    color: var(--text-light);
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 40px;
    }

    .features-grid,
    .services-grid,
    .resources-grid,
    .locations-grid,
    .patient-info {
        grid-template-columns: 1fr;
    }

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

    .recruitment-content,
    .appointment-content {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .banner-content {
        flex-direction: column;
        text-align: center;
    }

    .language-list {
        justify-content: center;
    }

    .banner-icon {
        display: none;
    }
}

@media (max-width: 640px) {
    .hero h1 {
        font-size: 32px;
    }

    .section-title {
        font-size: 32px;
    }

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

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

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gold);
    color: var(--primary-dark);
    padding: var(--space-sm) var(--space-lg);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    font-weight: var(--font-semibold);
    z-index: 9999;
    transition: top var(--transition-base);
}

.skip-link:focus {
    top: 0;
    outline: 2px solid var(--primary-dark);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
}

.mobile-menu-btn svg {
    width: 28px;
    height: 28px;
    stroke: var(--text-light);
}

@media (max-width: 968px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-dark);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        padding: 16px 0;
    }

    .nav-cta {
        margin-top: 8px;
        text-align: center;
    }
}

/* Blog Styles */
.blog-hero {
    background: var(--gradient-dark);
    padding: 120px 0 60px;
    text-align: center;
}

.blog-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    color: var(--text-light);
    margin-bottom: 16px;
}

.blog-hero-subtitle {
    color: var(--text-muted);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

.blog-listing {
    background: var(--bg-light);
    padding: 60px 0;
}

.blog-cta {
    background: var(--gradient-dark);
    padding: 80px 0;
    text-align: center;
}

.blog-cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: var(--text-light);
    margin-bottom: 16px;
}

.blog-cta p {
    color: var(--text-muted);
    font-size: 18px;
    margin-bottom: 32px;
}

.blog-cta .cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.no-posts {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.blog-header {
    background: var(--gradient-dark);
    padding: 120px 0 60px;
    text-align: center;
}

.blog-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    color: var(--text-light);
    margin-bottom: 16px;
}

.blog-header p {
    color: var(--text-muted);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
    padding: 60px 0;
}

.blog-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: all 0.3s;
    border: 1px solid rgba(0,0,0,0.05);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.blog-card-content {
    padding: 24px;
}

.blog-card-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--text-muted);
}

.blog-card-category {
    color: var(--accent-gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card h2 a {
    color: inherit;
    text-decoration: none;
}

.blog-card h2 a:hover {
    color: var(--accent-gold);
}

.blog-card p {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.blog-card .read-more {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-card .read-more:hover {
    text-decoration: underline;
}

/* Single Post Styles */
.post-header {
    background: var(--gradient-dark);
    padding: 120px 0 60px;
}

.post-header .container {
    max-width: 800px;
}

.post-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    font-size: 14px;
    color: var(--text-muted);
}

.post-category {
    color: var(--accent-gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: var(--text-light);
    line-height: 1.2;
    margin-bottom: 24px;
}

.post-excerpt {
    color: var(--text-muted);
    font-size: 18px;
    line-height: 1.7;
}

.post-content {
    padding: 60px 0;
}

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

.post-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: var(--primary-dark);
    margin: 40px 0 20px;
}

.post-content h3 {
    font-size: 22px;
    color: var(--primary-dark);
    margin: 32px 0 16px;
}

.post-content p {
    color: #444;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.post-content ul,
.post-content ol {
    margin: 24px 0;
    padding-left: 24px;
}

.post-content li {
    color: #444;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 8px;
}

.post-content blockquote {
    border-left: 4px solid var(--accent-gold);
    padding-left: 24px;
    margin: 32px 0;
    font-style: italic;
    color: #666;
}

.post-content a {
    color: var(--accent-gold);
    text-decoration: underline;
}

.post-content a:hover {
    color: var(--accent-gold-light);
}

.post-subtitle {
    color: var(--text-muted);
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.post-author {
    color: var(--text-muted);
    font-size: 14px;
}

.post-author strong {
    color: var(--text-light);
}

.post-reading-time {
    color: var(--text-muted);
}

.post-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.post-tags .tag {
    background: var(--bg-light);
    color: #666;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
}

.post-share {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
}

.post-share span {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.post-share a {
    color: var(--accent-gold);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.post-share a:hover {
    text-decoration: underline;
}

.post-cta {
    background: var(--gradient-dark);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
}

.post-cta h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.post-cta p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.post-cta .btn {
    margin: 0 8px;
}

/* Legal Pages Styles */
.legal-header {
    background: var(--gradient-dark);
    padding: 120px 0 60px;
    text-align: center;
}

.legal-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: var(--text-light);
    margin-bottom: 16px;
}

.legal-header p {
    color: var(--text-muted);
    font-size: 16px;
}

.legal-content {
    padding: 60px 0;
}

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

.legal-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--primary-dark);
    margin: 40px 0 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.legal-content h2:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.legal-content h3 {
    font-size: 18px;
    color: var(--primary-dark);
    margin: 24px 0 12px;
}

.legal-content p {
    color: #444;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-content ul {
    margin: 16px 0;
    padding-left: 24px;
}

.legal-content li {
    color: #444;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 8px;
}

.legal-content strong {
    color: var(--primary-dark);
}

.legal-content .contact-info {
    background: var(--bg-light);
    padding: 24px;
    border-radius: 12px;
    margin: 32px 0;
}

.legal-content .contact-info p {
    margin-bottom: 8px;
}

.legal-content .contact-info p:last-child {
    margin-bottom: 0;
}

/* Language Page Styles */
.lang-hero {
    background: var(--gradient-dark);
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.lang-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.lang-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    color: var(--text-light);
    margin-bottom: 24px;
}

.lang-hero p {
    color: var(--text-muted);
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 32px;
}

.lang-contact {
    padding: 80px 0;
    background: var(--bg-light);
}

.lang-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.lang-contact-card {
    background: var(--bg-white);
    padding: 32px;
    border-radius: 16px;
    text-align: center;
}

.lang-contact-card h3 {
    font-size: 20px;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.lang-contact-card p {
    color: #666;
    font-size: 15px;
    margin-bottom: 8px;
}

.lang-contact-card a {
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
}

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

/* Main content area for pages using base layout */
main {
    padding-top: 76px;
}

main > .container:first-child {
    padding-top: 40px;
}

/* Additional Mobile Responsive Styles */
@media (max-width: 768px) {
    /* Language pages */
    .lang-hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .lang-hero h1 {
        font-size: 32px;
    }

    .lang-hero p {
        font-size: 16px;
    }

    .lang-contact {
        padding: 60px 0;
    }

    .lang-contact-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .lang-contact-card {
        padding: 24px;
    }

    /* Legal pages */
    .legal-header {
        padding: 100px 0 40px;
    }

    .legal-header h1 {
        font-size: 32px;
    }

    .legal-content {
        padding: 40px 0;
    }

    .legal-content h2 {
        font-size: 20px;
    }

    .legal-content .contact-info {
        padding: 20px;
    }

    /* Blog pages */
    .blog-header {
        padding: 100px 0 40px;
    }

    .blog-header h1 {
        font-size: 32px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        padding: 40px 0;
    }

    .post-header {
        padding: 100px 0 40px;
    }

    .post-header h1 {
        font-size: 28px;
    }

    .post-content {
        padding: 40px 0;
    }

    .post-content h2 {
        font-size: 24px;
    }

    .post-content p,
    .post-content li {
        font-size: 16px;
    }

    /* Forms */
    .recruitment-form,
    .appointment-form {
        padding: 24px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 14px;
        font-size: 16px;
    }

    .form-submit {
        padding: 14px;
        font-size: 15px;
    }

    /* Service cards */
    .service-card {
        flex-direction: column;
        padding: 24px;
    }

    .service-number {
        font-size: 36px;
    }

    /* Container padding */
    .container {
        padding: 0 16px;
    }

    /* Section padding */
    .why-choose,
    .services,
    .attorney-resources,
    .physician-recruitment,
    .patients,
    .locations,
    .appointment {
        padding: 60px 0;
    }

    /* Section titles */
    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    /* Feature cards */
    .feature-card {
        padding: 24px;
    }

    /* Patient CTA */
    .patient-cta {
        padding: 32px 20px;
    }

    .patient-cta h3 {
        font-size: 24px;
    }

    /* Location cards */
    .location-info {
        padding: 24px;
    }

    .location-map {
        height: 150px;
    }

    /* Attorney CTA */
    .attorney-cta {
        padding: 32px 20px;
    }

    .attorney-cta h3 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }

    .hero-tagline {
        font-size: 18px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .btn {
        padding: 14px 24px;
        font-size: 14px;
        width: 100%;
        justify-content: center;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-label {
        font-size: 11px;
    }

    .hero-stats {
        gap: 16px;
    }

    .stat {
        min-width: 80px;
    }

    .section-label {
        font-size: 11px;
    }

    .lang-hero h1 {
        font-size: 28px;
    }

    .legal-header h1,
    .blog-header h1 {
        font-size: 28px;
    }

    .footer-legal {
        flex-direction: column;
        gap: 12px;
    }
}

/* ===========================================
   UTILITY CLASSES
   Use these instead of inline styles
   =========================================== */

/* Text Colors */
.text-gold { color: var(--accent-gold); }
.text-light { color: var(--text-light); }
.text-muted { color: var(--text-muted); }
.text-dark { color: var(--primary-dark); }
.text-secondary { color: var(--text-secondary); }

/* Background Colors */
.bg-white { background: var(--bg-white); }
.bg-light { background: var(--bg-light); }
.bg-dark { background: var(--primary-dark); }
.bg-gradient-dark { background: var(--gradient-dark); }

/* Flexbox Utilities */
.flex { display: flex; }
.flex-center { justify-content: center; }
.flex-between { justify-content: space-between; }
.flex-column { flex-direction: column; }
.items-center { align-items: center; }

/* Spacing Utilities */
.mt-xs { margin-top: var(--space-xs); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }

.mb-xs { margin-bottom: var(--space-xs); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

.p-md { padding: var(--space-md); }
.p-lg { padding: var(--space-lg); }
.p-xl { padding: var(--space-xl); }

/* Border Radius Utilities */
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-full { border-radius: var(--radius-full); }

/* Language Page Specific Utilities */
.lang-hero-buttons {
    justify-content: center;
}

.lang-hero-tagline {
    color: var(--accent-gold);
}

/* No Margin/Border Radius Override */
.no-margin { margin: 0; }
.no-radius { border-radius: 0; }

/* ===========================================
   ANIMATIONS & INTERACTIONS
   CSS-only animations for enhanced UX
   =========================================== */

/* ----- Animation Variables ----- */
:root {
    --animation-duration-fast: 0.2s;
    --animation-duration-base: 0.4s;
    --animation-duration-slow: 0.6s;
    --animation-duration-slower: 0.8s;
    --animation-ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --animation-ease-in-out: cubic-bezier(0.645, 0.045, 0.355, 1);
    --animation-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ----- Keyframe Animations ----- */

/* Fade In Up Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Scale In Animation */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Slide In Left */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Slide In Right */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Float Animation for decorative elements */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Shimmer Animation for loading states */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* ----- Parallax Effects ----- */

/* Parallax Container */
.parallax-container {
    perspective: 1px;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
}

/* Hero Parallax Background */
.hero {
    position: relative;
    overflow: hidden;
}

.hero::before {
    transform: translateZ(-1px) scale(2);
}

/* Parallax Layers - Use with scroll */
.parallax-slow {
    will-change: transform;
    transform: translateZ(-2px) scale(3);
}

.parallax-medium {
    will-change: transform;
    transform: translateZ(-1px) scale(2);
}

.parallax-fast {
    will-change: transform;
    transform: translateZ(0);
}

/* ----- Card Hover Animations ----- */

/* Enhanced Feature Card Hover */
.feature-card {
    transition:
        transform var(--animation-duration-base) var(--animation-ease-out),
        box-shadow var(--animation-duration-base) var(--animation-ease-out),
        border-color var(--animation-duration-base) var(--animation-ease-out);
    will-change: transform, box-shadow;
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--accent-gold-hover);
}

.feature-card:hover .feature-icon {
    animation: pulse 0.6s ease-in-out;
}

/* Enhanced Service Card Hover */
.service-card {
    transition:
        background var(--animation-duration-base) var(--animation-ease-out),
        transform var(--animation-duration-base) var(--animation-ease-out),
        box-shadow var(--animation-duration-base) var(--animation-ease-out);
    will-change: transform, background;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-card:hover .service-number {
    transform: scale(1.1);
    transition: transform var(--animation-duration-base) var(--animation-bounce);
}

.service-number {
    transition: transform var(--animation-duration-base) var(--animation-ease-out);
}

/* Enhanced Patient Card Hover */
.patient-card {
    transition:
        transform var(--animation-duration-base) var(--animation-ease-out),
        box-shadow var(--animation-duration-base) var(--animation-ease-out);
    will-change: transform;
}

.patient-card:hover {
    transform: translateY(-8px) rotate(-1deg);
}

.patient-card:hover .patient-icon {
    animation: float 2s ease-in-out infinite;
}

/* Enhanced Location Card Hover */
.location-card {
    transition:
        transform var(--animation-duration-base) var(--animation-ease-out),
        box-shadow var(--animation-duration-base) var(--animation-ease-out);
    will-change: transform;
}

.location-card:hover {
    transform: translateY(-6px) scale(1.01);
}

.location-card:hover .location-map {
    filter: brightness(1.1);
    transition: filter var(--animation-duration-base) ease;
}

/* Enhanced Resource Card Hover */
.resource-card {
    transition:
        transform var(--animation-duration-base) var(--animation-ease-out),
        background var(--animation-duration-base) var(--animation-ease-out),
        border-color var(--animation-duration-base) var(--animation-ease-out);
    will-change: transform;
}

.resource-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: var(--accent-gold);
}

.resource-card:hover .resource-icon {
    transform: scale(1.15) rotate(5deg);
    transition: transform var(--animation-duration-base) var(--animation-bounce);
}

.resource-icon {
    transition: transform var(--animation-duration-base) var(--animation-ease-out);
}

/* Blog Card Hover */
.blog-card {
    transition:
        transform var(--animation-duration-base) var(--animation-ease-out),
        box-shadow var(--animation-duration-base) var(--animation-ease-out);
    will-change: transform;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
}

/* ----- Button Animations ----- */

/* Primary Button Enhanced */
.btn {
    position: relative;
    overflow: hidden;
    transition:
        transform var(--animation-duration-fast) var(--animation-ease-out),
        box-shadow var(--animation-duration-fast) var(--animation-ease-out);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:active {
    transform: translateY(1px) scale(0.98);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold), 0 0 20px rgba(201, 169, 97, 0.4);
}

.btn-outline:hover,
.btn-outline-dark:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* ----- Link Animations ----- */

/* Navigation Link Hover */
.nav-links a {
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width var(--animation-duration-base) var(--animation-ease-out);
}

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

/* Resource Link Arrow Animation */
.resource-link {
    transition: transform var(--animation-duration-fast) ease;
}

.resource-link:hover {
    transform: translateX(5px);
}

/* Footer Link Hover */
.footer-column a {
    position: relative;
    display: inline-block;
}

.footer-column a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-gold);
    transition: width var(--animation-duration-base) var(--animation-ease-out);
}

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

/* ----- Scroll-Triggered Animations ----- */
/* These use CSS scroll-driven animations (modern browsers) */

/* Fade in on scroll - apply to sections */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp var(--animation-duration-slow) var(--animation-ease-out) forwards;
    animation-timeline: view();
    animation-range: entry 10% cover 40%;
}

/* Stagger children animations */
.stagger-children > * {
    opacity: 0;
    animation: fadeInUp var(--animation-duration-base) var(--animation-ease-out) forwards;
}

.stagger-children > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-children > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-children > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-children > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-children > *:nth-child(5) { animation-delay: 0.5s; }
.stagger-children > *:nth-child(6) { animation-delay: 0.6s; }

/* ----- Icon Animations ----- */

/* Check Icon Animation */
.check-icon {
    transition: transform var(--animation-duration-fast) var(--animation-ease-out);
}

.benefits-list li:hover .check-icon {
    transform: scale(1.2);
}

/* Contact Icon Animation */
.contact-icon {
    transition:
        transform var(--animation-duration-base) var(--animation-ease-out),
        background var(--animation-duration-base) ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--accent-gold-hover);
}

/* ----- Form Input Animations ----- */

.form-group input,
.form-group select,
.form-group textarea {
    transition:
        border-color var(--animation-duration-fast) ease,
        box-shadow var(--animation-duration-fast) ease,
        transform var(--animation-duration-fast) ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 169, 97, 0.15);
}

/* Form Submit Button Animation */
.form-submit {
    position: relative;
    overflow: hidden;
    transition:
        transform var(--animation-duration-fast) var(--animation-ease-out),
        box-shadow var(--animation-duration-fast) var(--animation-ease-out);
}

.form-submit:not(:disabled):hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.form-submit:not(:disabled):active {
    transform: translateY(-1px);
}

/* ----- Hero Section Animations ----- */

/* Hero Content Animation on Load */
.hero-content {
    animation: fadeInUp var(--animation-duration-slow) var(--animation-ease-out);
}

.hero-badge {
    animation: fadeIn var(--animation-duration-base) var(--animation-ease-out);
    animation-delay: 0.2s;
    animation-fill-mode: both;
}

.hero h1 {
    animation: fadeInUp var(--animation-duration-slow) var(--animation-ease-out);
    animation-delay: 0.3s;
    animation-fill-mode: both;
}

.hero-tagline {
    animation: fadeInUp var(--animation-duration-slow) var(--animation-ease-out);
    animation-delay: 0.4s;
    animation-fill-mode: both;
}

.hero-subtitle {
    animation: fadeInUp var(--animation-duration-slow) var(--animation-ease-out);
    animation-delay: 0.5s;
    animation-fill-mode: both;
}

.hero-buttons {
    animation: fadeInUp var(--animation-duration-slow) var(--animation-ease-out);
    animation-delay: 0.6s;
    animation-fill-mode: both;
}

.hero-stats {
    animation: fadeInUp var(--animation-duration-slow) var(--animation-ease-out);
    animation-delay: 0.7s;
    animation-fill-mode: both;
}

/* Stat Number Counter Effect (visual only) */
.stat-number {
    transition: transform var(--animation-duration-fast) ease;
}

.stat:hover .stat-number {
    transform: scale(1.1);
}

/* ----- Section Header Animations ----- */

.section-header {
    animation: fadeInUp var(--animation-duration-slow) var(--animation-ease-out);
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
}

.section-label {
    position: relative;
    display: inline-block;
}

.section-label::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    animation: expandWidth 0.8s var(--animation-ease-out) forwards;
    animation-delay: 0.5s;
}

@keyframes expandWidth {
    to {
        width: 100%;
    }
}

/* ----- Scroll Progress Indicator ----- */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    z-index: 9999;
}

.scroll-progress::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--gradient-gold);
    width: 0%;
    animation: scrollProgress linear;
    animation-timeline: scroll();
}

@keyframes scrollProgress {
    to {
        width: 100%;
    }
}

/* ----- Logo Animation ----- */

.logo {
    transition: transform var(--animation-duration-fast) ease;
}

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

.logo-icon,
.logo-icon-outline {
    transition: transform var(--animation-duration-base) var(--animation-ease-out);
}

.logo:hover .logo-icon,
.logo:hover .logo-icon-outline {
    transform: rotate(-5deg) scale(1.1);
}

/* ----- Mobile Menu Animation ----- */

.nav-links {
    transition:
        opacity var(--animation-duration-base) ease,
        transform var(--animation-duration-base) ease;
}

@media (max-width: 968px) {
    .nav-links {
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
    }

    .nav-links.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-links li {
        opacity: 0;
        transform: translateX(-20px);
        animation: slideInLeft var(--animation-duration-base) var(--animation-ease-out) forwards;
    }

    .nav-links.active li:nth-child(1) { animation-delay: 0.1s; }
    .nav-links.active li:nth-child(2) { animation-delay: 0.15s; }
    .nav-links.active li:nth-child(3) { animation-delay: 0.2s; }
    .nav-links.active li:nth-child(4) { animation-delay: 0.25s; }
    .nav-links.active li:nth-child(5) { animation-delay: 0.3s; }
    .nav-links.active li:nth-child(6) { animation-delay: 0.35s; }
}

/* ----- Language Dropdown Animation ----- */

.lang-dropdown {
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
    transition:
        opacity var(--animation-duration-fast) ease,
        transform var(--animation-duration-fast) ease;
    pointer-events: none;
}

.lang-dropdown.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* ----- Reduced Motion ----- */
/* Respect user preferences for reduced motion */

@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;
    }

    .hero-content,
    .hero-badge,
    .hero h1,
    .hero-tagline,
    .hero-subtitle,
    .hero-buttons,
    .hero-stats {
        animation: none;
        opacity: 1;
    }

    .feature-card:hover,
    .service-card:hover,
    .patient-card:hover,
    .location-card:hover,
    .resource-card:hover,
    .blog-card:hover {
        transform: none;
    }
}
