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

/* CSS Variables - Color Palette */
:root {
    /* Mindful Steps Therapy - Calming teal/green palette */
    --color-primary: rgb(69, 163, 155);
    --color-primary-light: rgba(69, 163, 155, 0.1);
    --color-primary-foreground: rgb(255, 255, 255);
    
    --color-accent: rgb(88, 179, 140);
    --color-accent-light: rgba(88, 179, 140, 0.1);
    --color-accent-foreground: rgb(255, 255, 255);
    
    --color-secondary: rgb(235, 192, 88);
    --color-secondary-light: rgba(235, 192, 88, 0.1);
    --color-secondary-foreground: rgb(40, 45, 50);
    
    --color-background: rgb(255, 255, 255);
    --color-foreground: rgb(40, 45, 50);
    --color-muted: rgb(245, 247, 248);
    --color-muted-foreground: rgb(100, 110, 120);
    --color-border: rgb(230, 235, 238);
    
    --radius: 0.75rem;
    --shadow: 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);
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--color-foreground);
    background-color: var(--color-background);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1.125rem;
    height: 3.5rem;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-primary-foreground);
}

.btn-primary:hover {
    background-color: rgb(58, 138, 131);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    color: var(--color-foreground);
    border: 2px solid var(--color-border);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.8);
    border-color: var(--color-primary);
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(230, 235, 238, 0.4);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--color-primary);
    color: var(--color-primary-foreground);
    border-radius: var(--radius);
}

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

.nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-muted-foreground);
    transition: color 0.2s ease;
}

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

.mobile-menu-btn {
    display: flex;
    color: var(--color-foreground);
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 5rem;
    left: 0;
    right: 0;
    background-color: var(--color-background);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem;
    display: none;
    flex-direction: column;
    gap: 1rem;
    z-index: 40;
    box-shadow: var(--shadow-lg);
}

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

.mobile-menu a {
    padding: 0.75rem;
    font-weight: 500;
    color: var(--color-muted-foreground);
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.mobile-menu a:hover {
    background-color: var(--color-muted);
    color: var(--color-foreground);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
}

.hero-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(255, 255, 255, 0.8) 50%, 
        rgba(255, 255, 255, 0.4) 100%);
}

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

.hero-text {
    max-width: 48rem;
    padding: 5rem 0;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin: 1.5rem 0;
}

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

.hero-description {
    font-size: 1.25rem;
    color: var(--color-muted-foreground);
    line-height: 1.6;
    margin: 2rem 0;
    max-width: 42rem;
}

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

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

/* Stats Section */
.stats-section {
    padding: 5rem 0;
    background-color: rgba(245, 247, 248, 0.5);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 80rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.stat-card {
    text-align: center;
}

.stat-number {
    font-size: 3.75rem;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    font-size: 1.125rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

.stat-sublabel {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    margin-top: 0.25rem;
}

.text-accent {
    color: var(--color-accent);
}

.text-secondary {
    color: var(--color-secondary);
}

/* Section Styles */
.about-section,
.services-section,
.impact-section,
.community-section,
.contact-section {
    padding: 6rem 0;
}

.services-section,
.contact-section {
    background-color: rgba(245, 247, 248, 0.3);
}

.community-section {
    background: linear-gradient(135deg, 
        rgba(69, 163, 155, 0.05) 0%, 
        rgba(88, 179, 140, 0.05) 50%, 
        rgba(255, 255, 255, 1) 100%);
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 4rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin: 1rem 0 1.5rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3.75rem;
    }
}

.section-description {
    font-size: 1.125rem;
    color: var(--color-muted-foreground);
}

/* Two Column Grid */
.two-column-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .two-column-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .two-column-grid.reverse .image-column {
        order: -1;
    }
}

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

.text-large {
    font-size: 1.125rem;
    color: var(--color-muted-foreground);
    line-height: 1.7;
}

.image-wrapper {
    aspect-ratio: 4 / 3;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Features List */
.features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.feature-item svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

/* Featured Image */
.featured-image {
    margin: 0 auto 4rem;
    max-width: 80rem;
}

.featured-image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-xl);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 90rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.service-card {
    padding: 2rem 1.5rem;
    background-color: var(--color-background);
    border: 2px solid rgba(230, 235, 238, 0.5);
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

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

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    margin-bottom: 1rem;
}

.service-icon svg {
    color: white;
}

.bg-primary {
    background-color: var(--color-primary-light);
}

.bg-primary svg {
    color: var(--color-primary);
}

.bg-accent {
    background-color: var(--color-accent-light);
}

.bg-accent svg {
    color: var(--color-accent);
}

.bg-secondary {
    background-color: var(--color-secondary-light);
}

.bg-secondary svg {
    color: var(--color-secondary);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.service-description {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    line-height: 1.6;
}

/* Impact Cards */
.impact-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.impact-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    border: 2px solid;
    border-radius: var(--radius);
}

.bg-primary-light {
    background-color: var(--color-primary-light);
    border-color: rgba(69, 163, 155, 0.2);
}

.bg-accent-light {
    background-color: var(--color-accent-light);
    border-color: rgba(88, 179, 140, 0.2);
}

.bg-secondary-light {
    background-color: var(--color-secondary-light);
    border-color: rgba(235, 192, 88, 0.2);
}

.impact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius);
    flex-shrink: 0;
}

.impact-icon svg {
    color: white;
}

.impact-content {
    flex: 1;
}

.impact-number {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.impact-text {
    color: var(--color-foreground);
    font-weight: 500;
}

/* Community Grid */
.community-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 80rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .community-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.community-image {
    aspect-ratio: 1 / 1;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.community-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.community-features {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.5rem;
    background-color: var(--color-background);
    border: 2px solid;
    border-radius: var(--radius);
}

.border-primary {
    border-color: rgba(69, 163, 155, 0.2);
}

.border-accent {
    border-color: rgba(88, 179, 140, 0.2);
}

.border-secondary {
    border-color: rgba(235, 192, 88, 0.2);
}

.feature-icon-wrapper {
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.feature-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-card-text {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
}

/* Contact Section */
.contact-wrapper {
    max-width: 64rem;
    margin: 0 auto;
}

.contact-card {
    background-color: var(--color-background);
    border: 2px solid var(--color-border);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
}

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

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

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

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius);
    flex-shrink: 0;
}

.contact-icon svg {
    color: white;
}

.contact-name {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.contact-role,
.contact-org {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
}

.contact-link {
    font-size: 1.125rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

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

.office-hours {
    background-color: rgba(245, 247, 248, 0.5);
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.office-hours-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.office-hours-list {
    color: var(--color-muted-foreground);
    margin-bottom: 1.5rem;
}

.office-hours-list p {
    margin: 0.5rem 0;
}

/* Footer */
.footer {
    background-color: rgba(40, 45, 50, 0.05);
    border-top: 1px solid var(--color-border);
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

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

.footer-text {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    text-align: center;
}

@media (min-width: 768px) {
    .footer-text {
        text-align: right;
    }
}

.footer-text p {
    margin: 0.25rem 0;
}

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