/* Modern CSS Design System for Mental Health Clinic */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Merriweather:wght@300;400&display=swap');

/* CSS Variables - Modern Color Palette */
:root {
    /* Primary Colors - Calming Blues */
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #60a5fa;
    --primary-bg: #eff6ff;
    
    /* Secondary Colors - Soft Greens */
    --secondary-color: #10b981;
    --secondary-dark: #059669;
    --secondary-light: #34d399;
    
    /* Neutral Colors */
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --background: #ffffff;
    --background-alt: #f9fafb;
    --background-card: #ffffff;
    --border-color: #e5e7eb;
    
    /* Accent Colors */
    --accent-warm: #f59e0b;
    --accent-cool: #8b5cf6;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif: 'Merriweather', 'Georgia', serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

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

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

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

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Modern Navigation */
header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-base);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

header.scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    height: 70px;
}

.logo {
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
    text-decoration: none;
    display: flex;
    align-items: center;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 0.25rem;
    height: 100%;
}

.nav-links li {
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-links li a,
.nav-links .dropdown-toggle {
    color: var(--text-primary);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all var(--transition-base);
    position: relative;
    display: flex;
    align-items: center;
    height: 40px;
    white-space: nowrap;
}

.nav-links li a:hover,
.nav-links .dropdown-toggle:hover {
    color: var(--primary-color);
    background: var(--primary-bg);
}

.nav-links li a.active {
    color: var(--primary-color);
    background: var(--primary-bg);
    font-weight: 600;
}

/* Special styling for Patient Portal link */
.nav-links li:last-child a {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    margin-left: 0.5rem;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}

.nav-links li:last-child a:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

/* Add divider before Patient Portal */
.nav-links li:nth-last-child(2)::after {
    content: '';
    position: absolute;
    right: -0.5rem;
    top: 50%;
    transform: translateY(-50%);
    height: 24px;
    width: 1px;
    background: var(--border-color);
}

/* Modern Dropdown */
.dropdown {
    position: relative;
    height: 100%;
}

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: all var(--transition-base);
}

.dropdown-toggle i {
    font-size: 0.7em;
    transition: transform var(--transition-base);
    margin-top: 1px;
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: var(--background-card);
    min-width: 280px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: var(--background-card);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: none;
    border-right: none;
    transform: translateX(-50%) rotate(45deg);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 0.6rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    font-weight: 400;
    font-size: 0.9rem;
}

.dropdown-menu li a:hover {
    background: var(--primary-bg);
    color: var(--primary-color);
    transform: translateX(3px);
}

/* Mobile Menu Button */
.mobile-menu-toggle {
    display: none;
    background: var(--background-alt);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-base);
}

.mobile-menu-toggle:hover {
    background: var(--primary-bg);
    border-color: var(--primary-light);
    color: var(--primary-color);
}

/* Modern Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-bg) 0%, var(--background) 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.15;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9) 0%, rgba(30, 64, 175, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 2rem;
    animation: fadeInUp 1s ease;
}

.hero-content h1 {
    color: var(--background);
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--background);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-lg);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    background: var(--background);
    color: var(--primary-dark);
}

/* Modern Services Section */
.services {
    padding: var(--spacing-2xl) 0;
    background: var(--background-alt);
}

.services h2 {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    color: var(--text-primary);
    position: relative;
}

.services h2::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-full);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.service-card {
    background: var(--background-card);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform var(--transition-slow);
}

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

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

.service-card i {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.featured-service {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--primary-bg), var(--background-card));
    border: 2px solid var(--primary-light);
}

.service-features {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.service-features li {
    background: var(--primary-bg);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--primary-light);
    transition: all var(--transition-fast);
}

.service-features li:hover {
    background: var(--primary-color);
    color: var(--background);
    transform: translateY(-2px);
}

.service-details {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--background-alt);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-color);
}

.service-specialties {
    list-style: none;
    margin: 1rem 0;
}

.service-specialties li {
    margin: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-secondary);
}

.service-specialties li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--background);
    text-decoration: none;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
    text-align: center;
}

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

/* Modern About Section */
.about {
    padding: var(--spacing-2xl) 1rem;
    background: var(--background);
}

.about h2 {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    color: var(--text-primary);
    position: relative;
}

.about h2::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-full);
}

.about-content {
    max-width: 1200px;
    margin: 3rem auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.about-text {
    padding: 1rem;
}

.about-text h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Modern Team Section */
.team-section {
    padding: var(--spacing-2xl) 1rem;
    background: var(--background-alt);
}

.team-section h2 {
    text-align: center;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xl);
    position: relative;
}

.team-section h2::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-full);
}

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

.team-member {
    background: var(--background-card);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-slow);
    border: 1px solid var(--border-color);
}

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

.member-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-base);
}

.member-icon i {
    font-size: 3rem;
    color: var(--background);
}

.team-member:hover .member-icon {
    transform: scale(1.1) rotate(5deg);
}

.team-member h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.team-member p {
    color: var(--text-secondary);
    margin: 0.25rem 0;
}

/* Modern Contact Section */
.contact {
    padding: var(--spacing-2xl) 1rem;
    background: var(--background);
}

.contact h2 {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    color: var(--text-primary);
    position: relative;
}

.contact h2::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-full);
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.contact-info {
    padding: 2rem;
    background: var(--background-alt);
    border-radius: var(--radius-xl);
}

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

.contact-info p {
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-info i {
    color: var(--primary-color);
    font-size: 1.25rem;
    width: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    background: var(--background-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: all var(--transition-fast);
    background: var(--background);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.submit-button {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--background);
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

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

/* Modern Screening Pages */
.screening-section {
    padding-top: 100px;
    min-height: 100vh;
    background: var(--background-alt);
}

.screening-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.screening-intro {
    margin-bottom: 2rem;
    padding: 2rem;
    background: var(--background-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--primary-color);
}

.screening-intro h1 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.screening-intro p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.screening-intro .disclaimer {
    font-style: italic;
    color: var(--text-light);
    font-size: 0.9rem;
    padding: 1rem;
    background: var(--warning);
    background: rgba(245, 158, 11, 0.1);
    border-radius: var(--radius-md);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.screening-form {
    background: var(--background-card);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.question-group {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--background-alt);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

.question-group:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.question-text {
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 1.1rem;
}

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

.option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--background);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.option:hover {
    border-color: var(--primary-color);
    background: var(--primary-bg);
    transform: translateY(-2px);
}

.option input[type="radio"]:checked + label {
    background: var(--primary-color);
    color: var(--background);
}

.submit-btn {
    display: block;
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--background);
    border: none;
    border-radius: var(--radius-full);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
    margin-top: 2rem;
}

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

.submit-btn:disabled {
    background: var(--text-light);
    cursor: not-allowed;
    transform: none;
}

/* Results Section */
.results-section {
    margin-top: 2rem;
    padding: 2.5rem;
    background: var(--background-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    animation: fadeIn 0.5s ease;
}

.results-section h2 {
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.score-summary {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary-bg), var(--background-alt));
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-color);
}

.interpretation {
    margin-bottom: 2rem;
}

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

.results-actions {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.action-btn {
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: var(--background);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    text-decoration: none;
}

.action-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Modern Footer */
footer {
    background: var(--text-primary);
    color: var(--background);
    padding: var(--spacing-xl) 1rem var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--background);
}

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

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

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-section a:hover {
    color: var(--primary-light);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--background);
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

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

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-service {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation */
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--background);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
        transform: translateX(-100%);
        transition: transform var(--transition-base);
    }
    
    .nav-links.active {
        transform: translateX(0);
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--background-alt);
        margin-top: 0.5rem;
    }
    
    /* Hero adjustments */
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    /* Grid adjustments */
    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .about-image img {
        height: 300px;
    }
    
    /* Form adjustments */
    .options {
        grid-template-columns: 1fr;
    }
    
    /* Spacing adjustments */
    .services,
    .about,
    .team-section,
    .contact {
        padding: var(--spacing-xl) 1rem;
    }
}

@media (max-width: 480px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .logo {
        font-size: 1.25rem;
    }
    
    .services-grid,
    .team-grid {
        padding: 1rem;
    }
    
    .service-card,
    .team-member {
        padding: 1.5rem;
    }
}

/* Print styles */
@media print {
    header,
    footer,
    .cta-button,
    .submit-button {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .screening-section {
        padding-top: 0;
    }
}