:root {
    --bg-main: #FDFAF6; /* Soft Ivory to match homepage */
    --bg-surface: #FFFFFF; /* Pure White */
    --bg-surface-glass: rgba(253, 250, 246, 0.8);
    --text-primary: #1C1C1E; /* Dark Charcoal */
    --text-secondary: #5A5A5A; /* Muted Grey */
    --accent: #9EAB98; /* Muted Sage Green to match homepage */
    --accent-glow: rgba(158, 171, 152, 0.3);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    max-width: 700px;
}

/* Reusable Components */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: 9999px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--accent);
    color: #FFF;
    box-shadow: 0 4px 14px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(158, 171, 152, 0.4);
    background-color: #86947f;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(28, 28, 30, 0.15);
}

.btn-outline:hover {
    background: rgba(28, 28, 30, 0.05);
    border-color: rgba(28, 28, 30, 0.3);
}

.btn-sage {
    background-color: #9EAB98;
    color: #FFFFFF !important;
    border: none;
}

.btn-sage:hover {
    background-color: #86947f;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(158, 171, 152, 0.4);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: var(--bg-surface-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(28, 28, 30, 0.08);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition);
    opacity: 0.8;
}

.nav-links a:hover, .nav-links a.active {
    opacity: 1;
    color: var(--accent);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    transform: scale(1.05); /* To allow some parallax wiggle if needed */
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(28, 28, 30, 0.05), var(--bg-main));
}

.hero-content {
    max-width: 800px;
    animation: fadeUp 1s ease-out;
}

.hero-subtitle {
    color: var(--accent);
    font-size: 1.125rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.page-header {
    padding: 150px 0 60px 0;
    background: var(--bg-surface);
    text-align: center;
    border-bottom: 1px solid rgba(28, 28, 30, 0.08);
}

.page-header h1 {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.page-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.subpage-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* Sections General */
.section {
    padding: 8rem 0;
    position: relative;
}

.section-alt {
    background-color: var(--bg-surface);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header p {
    margin: 0 auto;
}

.content-section {
    padding: 4rem 0;
}

.content-section p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

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

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

.content-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.content-section li {
    margin-bottom: 0.5rem;
}

/* About Section Grid */
.content-section {
    padding: 4rem 0;
}

.content-section p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

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

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

.content-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.content-section li {
    margin-bottom: 0.5rem;
}

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

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.about-image:hover img {
    transform: scale(1.05);
}

.quote-box {
    background: var(--bg-surface-glass);
    border-left: 4px solid var(--accent);
    padding: 2rem;
    border-radius: 0 12px 12px 0;
    margin: 2rem 0;
    font-style: italic;
    backdrop-filter: blur(8px);
}

.quote-box p {
    color: var(--text-primary);
    margin-bottom: 0;
    font-size: 1.2rem;
}

/* Cards Section (Training & Practitioners) */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--bg-surface);
    border: 1px solid rgba(28, 28, 30, 0.08);
    border-radius: 16px;
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    background: rgba(28, 28, 30, 0.01);
}

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

.card-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

/* Practitioners Image Override */
.practitioner-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
}

.practitioner-card p.prac-title {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.practitioner-card .prac-contact {
    text-align: left;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(28, 28, 30, 0.08);
}

.practitioner-card .prac-contact p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.practitioner-card .prac-contact i {
    color: var(--accent);
    width: 16px;
    text-align: center;
}

.practitioner-card .prac-contact a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

.practitioner-card .prac-contact a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.practitioner-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem auto;
    border: 3px solid var(--bg-main);
    box-shadow: 0 0 0 3px var(--accent);
    display: block;
}

/* Footer & Contact */
.footer {
    background: var(--bg-surface);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(28, 28, 30, 0.08);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-bot {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(28, 28, 30, 0.08);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-surface-glass);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 2rem 0;
        text-align: center;
        border-bottom: 1px solid rgba(28, 28, 30, 0.08);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    h1 {
        font-size: 2.5rem;
    }
}

/* Calendar Embed Wrapper to crop profile info and show only calendar grid */
.calendar-embed-wrapper {
    position: relative;
    width: 100%;
    height: 1106px;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(28, 28, 30, 0.08);
    box-shadow: 0 4px 15px rgba(28, 28, 30, 0.05);
}

.calendar-embed-wrapper iframe {
    position: absolute;
    top: -393px;
    left: 0;
    width: 100%;
    height: 1499px;
    border: none;
    border-radius: 0;
}

@media (max-width: 768px) {
    .calendar-embed-wrapper {
        height: 1106px;
    }
    .calendar-embed-wrapper iframe {
        top: -393px;
        height: 1499px;
    }
}
