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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #fefefe;
}

/* Therapeutic Color Palette */
:root {
    --primary-color: #6b9bd6;          /* Calming blue */
    --secondary-color: #8fbc8f;        /* Sage green */
    --accent-color: #dda0dd;           /* Soft lavender */
    --warm-neutral: #f5f5dc;           /* Beige/cream */
    --soft-gray: #f8f9fa;             /* Light gray */
    --text-primary: #2c3e50;          /* Deep blue-gray */
    --text-secondary: #5a6c7d;        /* Medium blue-gray */
    --border-color: #e8f4f8;          /* Very light blue */
    --success-color: #52c41a;         /* Healing green */
    --gradient-primary: linear-gradient(135deg, #6b9bd6 0%, #8fbc8f 100%);
    --gradient-secondary: linear-gradient(135deg, #f5f5dc 0%, #e8f4f8 100%);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

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

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(107, 155, 214, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo h1 {
    font-size: 1.8rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
}

.tagline {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-style: italic;
    margin: 0;
}

/* Navigation */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

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

/* Hamburger Menu */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    align-items: center;
    justify-content: center;
}

.hamburger:hover {
    background: var(--soft-gray);
}

.hamburger-icon,
.close-icon {
    color: var(--text-primary);
    transition: opacity 0.3s ease;
}

.hamburger.active .hamburger-icon {
    display: none;
}

.hamburger.active .close-icon {
    display: block !important;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(107, 155, 214, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 155, 214, 0.4);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    background: var(--gradient-secondary);
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

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

.hero-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(107, 155, 214, 0.2);
}

/* Placeholder Images */
.placeholder-image {
    background: var(--gradient-secondary);
    border: 2px dashed var(--border-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    color: var(--text-secondary);
    font-style: italic;
    text-align: center;
    padding: 2rem;
}

/* Section Styling */
section {
    padding: 80px 0;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

/* Services Section */
.services {
    background: var(--soft-gray);
}

.services h2 {
    text-align: center;
    margin-bottom: 1rem;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(107, 155, 214, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(107, 155, 214, 0.15);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

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

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

.about-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(107, 155, 214, 0.15);
}

.about-features {
    margin-top: 2rem;
}

.feature {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--soft-gray);
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
}

.feature h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Team Section */
.team {
    background: var(--soft-gray);
}

.team h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.team-single {
    max-width: 800px;
    margin: 3rem auto 0;
}

.team-member.featured {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(107, 155, 214, 0.15);
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
    align-items: start;
    transition: all 0.3s ease;
}

.team-member.featured:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(107, 155, 214, 0.2);
}

.member-photo {
    margin-bottom: 0;
}

.member-photo .placeholder-image {
    min-height: 383px;
    border-radius: 15px;
    margin: 0;
    max-width: none;
}

.member-photo img {
    width: 100%;
    height: 383px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(107, 155, 214, 0.2);
}

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

.member-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.member-specialties {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--soft-gray);
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
}

.member-specialties h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.member-specialties ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
}

.member-specialties li {
    color: var(--text-secondary);
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.member-specialties li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Consultation Section */
.consultation {
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.consultation h2, .consultation p {
    color: white;
}

.consultation-benefits {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
}

.benefit-icon {
    font-weight: bold;
    font-size: 1.2rem;
}

/* FAQ Section */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    background: var(--soft-gray);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--accent-color);
}

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

/* Contact Section */
.contact {
    background: var(--warm-neutral);
}

.contact h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.contact-simple {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.contact-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(107, 155, 214, 0.15);
    text-align: center;
    max-width: 500px;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(107, 155, 214, 0.2);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

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

.contact-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-email {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    background: var(--gradient-secondary);
    padding: 1rem 2rem;
    border-radius: 25px;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.contact-email:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(107, 155, 214, 0.3);
}

.response-time {
    color: var(--text-secondary);
    font-style: italic;
    font-size: 0.9rem;
    margin: 1rem 0 0 0;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 2rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-brand h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

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

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

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1120px) {
    .team-member.featured {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .member-content {
        text-align: center;
    }
    
    .header {
        position: static;
        box-shadow: none;
        background: white;
    }
    
    .header .container {
        flex-direction: column;
        padding: 1rem 20px 0;
    }
    
    .header-top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding-bottom: 1rem;
    }
    
    .logo {
        text-align: left;
        margin-bottom: 0;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .tagline {
        font-size: 0.75rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav {
        width: 100%;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0;
        background: white;
        border-top: 1px solid var(--border-color);
        box-shadow: 0 4px 20px rgba(107, 155, 214, 0.15);
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
        width: 100%;
        margin: 0;
    }
    
    .nav-menu.active {
        max-height: 500px;
        padding: 1rem 0;
    }
    
    .nav-link {
        padding: 1rem 2rem;
        display: block;
        width: 100%;
        text-align: left;
        border-bottom: 1px solid var(--border-color);
        transition: all 0.3s ease;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-link:hover {
        background: var(--soft-gray);
        color: var(--primary-color);
        padding-left: 2.5rem;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .hero {
        padding: 80px 0 80px;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-card {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .contact-email {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }
    
    .consultation-benefits {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        text-align: center;
    }
    
    .services-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .team-member.featured {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .member-content {
        text-align: center;
    }
}

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

.service-card,
.team-member,
.faq-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Legal Pages Styling */
.legal-page {
    padding: 120px 0 80px;
    background: var(--soft-gray);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(107, 155, 214, 0.1);
}

.legal-content h1 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.legal-content h2 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.legal-content h3 {
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-content h4 {
    color: var(--text-primary);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.legal-content ul, .legal-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.legal-content p {
    line-height: 1.7;
    margin-bottom: 1rem;
}

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

.legal-content em {
    background: var(--warm-neutral);
    padding: 1rem;
    border-radius: 8px;
    display: block;
    margin: 1.5rem 0;
    border-left: 4px solid var(--secondary-color);
    font-style: normal;
    color: var(--text-secondary);
}

/* Focus states for accessibility */
.btn:focus,
input:focus,
textarea:focus,
select:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}