/* 
   Solisia - Design System & Stylesheet
   Fidelity: 1:1 Pixel-Perfect Replica
*/

@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    color-scheme: light;

    /* Color Palette */
    --bg-cream: #FAF7F3;
    --bg-beige: #E2CEC0;
    --brand-brown: #3D322D;
    --text-charcoal: #171717;
    --text-muted: #4E4E4E;
    --white: #FFFFFF;
    --shadow-soft: rgba(61, 50, 45, 0.08);
    --shadow-medium: rgba(61, 50, 45, 0.12);
    --border-accent: rgba(226, 206, 192, 0.5);

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-serif-sub: 'Libre Baskerville', serif;
    --font-body: 'Poppins', sans-serif;
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    /* Layout */
    --max-width: 1280px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    height: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-cream);
    color: var(--text-charcoal);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

/* Typography Helper Classes */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-charcoal);
    line-height: 1.25;
}

p {
    font-family: var(--font-body);
    color: var(--text-muted);
}

.font-serif {
    font-family: var(--font-serif-sub);
}

.text-brand {
    color: var(--brand-brown);
}

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

/* Containers */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* Header & Nav */
header {
    background-color: rgba(250, 247, 243, 0.85);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(61, 50, 45, 0.05);
    transition: var(--transition-smooth);
}

header.scrolled {
    background-color: var(--bg-cream);
    box-shadow: 0 4px 20px var(--shadow-soft);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-link svg {
    width: 140px;
    height: auto;
    display: block;
}


.desktop-nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.desktop-nav a {
    text-decoration: none;
    color: var(--brand-brown);
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    position: relative;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: var(--brand-brown);
    transition: var(--transition-smooth);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    width: 100%;
}

.btn-contact {
    border: 1px solid var(--brand-brown);
    color: var(--brand-brown);
    padding: 0.6rem 1.8rem;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-radius: 50px;
}

.btn-contact:hover {
    background-color: #C8A46B;
    color: var(--white);
    border-color: #C8A46B;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(200, 164, 107, 0.25), 0 4px 10px rgba(61, 50, 45, 0.08);
}

.btn-contact:active {
    transform: translateY(-1px) scale(0.96);
}

/* Hamburger & Mobile Nav */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.menu-toggle svg {
    width: 30px;
    height: 30px;
    fill: var(--brand-brown);
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--bg-cream);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1);
}

.mobile-nav-overlay.open {
    right: 0;
}

.mobile-nav-overlay a {
    font-family: var(--font-heading);
    font-size: 2rem;
    text-decoration: none;
    color: var(--brand-brown);
    transition: var(--transition-smooth);
}

.mobile-nav-overlay a:hover,
.mobile-nav-overlay a.active {
    opacity: 0.7;
    transform: scale(1.05);
}

/* Page Layout Spacer */
main {
    margin-top: var(--header-height);
    flex: 1;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 6rem 0;
    background: radial-gradient(circle farthest-corner at 50% 50%, var(--white) 35%, var(--bg-beige) 100%);
    overflow: hidden;
}

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

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    z-index: 2;
}

.hero-logo-container {
    width: 100%;
    max-width: 440px;
    margin-bottom: 0.5rem;
}

.hero-logo-container svg {
    width: 100%;
    height: auto;
    display: block;
}

.hero-logo-container svg path {
    fill: var(--brand-brown);
}

.hero-logo-container svg path[fill="none"] {
    fill: none !important;
}


.hero-heading {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    font-family: var(--font-serif-sub);
    font-style: italic;
    font-weight: 400;
    color: var(--text-charcoal);
}

.hero-heading span {
    display: block;
    font-size: 0.9em;
    font-family: inherit;
    font-style: inherit;
    font-weight: inherit;
}

.hero-subheading {
    font-family: var(--font-serif-sub);
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-muted);
    font-style: italic;
    max-width: 600px;
}

.hero-cta {
    align-self: flex-start;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    background-color: var(--brand-brown);
    color: var(--white);
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 500;
    border-radius: 50px;
    gap: 0.8rem;
    box-shadow: 0 4px 15px rgba(61, 50, 45, 0.15);
    transition: all 0.3s ease;
}

.btn-primary svg {
    width: 20px;
    height: 20px;
    fill: var(--white);
    transition: transform 0.3s ease, fill 0.3s ease;
}

.btn-primary:hover {
    background-color: #C8A46B;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(200, 164, 107, 0.25), 0 4px 10px rgba(61, 50, 45, 0.08);
}

.btn-primary:hover svg {
    transform: translateX(4px);
    fill: var(--white);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.96);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-profile-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 594px; /* Increased by 10% from 540px */
    text-align: left;
    margin-top: -4.5rem; /* Shifted slightly higher to align with left-hand content */
}

.hero-profile-label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--brand-brown);
    margin-bottom: 0.4rem;
}

.hero-profile-subtitle {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 500;
    font-style: italic;
    color: var(--text-muted);
    letter-spacing: 0.02em;
    line-height: 1.4;
    margin-bottom: 1.2rem;
}

.therapist-photo {
    width: 100%;
    max-width: 594px; /* Increased by 10% from 540px */
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 35px var(--shadow-medium);
    border: 1px solid var(--bg-beige);
    object-fit: cover;
    z-index: 2;
}

/* Sections Common */
.section {
    padding: 4.5rem 0;
}

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

.section-bg-beige {
    background-color: var(--bg-cream);
}

.section-header {
    max-width: 700px;
    margin: 0 auto 4rem auto;
    text-align: center;
}

.section-tag {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--brand-brown);
    font-weight: 600;
    margin-bottom: 1rem;
    display: inline-block;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    margin-bottom: 1.5rem;
}

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

/* Welcome Sanctuary */
.welcome-sanctuary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

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

.welcome-text {
    font-family: var(--font-serif-sub);
    font-size: 1.25rem;
    line-height: 1.7;
    font-style: italic;
}

.welcome-image-container {
    position: relative;
}

.welcome-image {
    width: 100%;
    aspect-ratio: 4/3; /* Standard professional landscape ratio */
    border-radius: 20px;
    box-shadow: 0 15px 30px var(--shadow-soft);
    object-fit: cover;
    object-position: center; /* Centered focus on the cropped portrait */
}

/* Services Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.2rem;
    margin-bottom: 4rem;
}

.service-card {
    background-color: #FFFDF9; /* Warmer, softer luxurious cream background */
    border: 1px solid rgba(226, 206, 192, 0.35); /* Softer initial border */
    padding: 3.5rem 2.5rem 3rem 2.5rem; /* Expanded padding for balance */
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(61, 50, 45, 0.02); /* Delicate default shadow */
    height: 100%; /* Ensure all cards stretch to equal height */
}

/* Elegant gold accent top border line that expands from the center on hover */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px; /* Slightly thinner, more delicate accent line */
    background-color: #dcb656; /* Brand gold */
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 3;
}

.service-card:hover::before {
    width: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(61, 50, 45, 0.06), 0 4px 15px rgba(220, 182, 86, 0.05); /* Luminous glow shadow */
    border-color: rgba(220, 182, 86, 0.4);
}

.service-icon-wrapper {
    width: 64px; /* Slightly larger, more premium sizing */
    height: 64px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(226, 206, 192, 0.18);
    border: 1px solid rgba(226, 206, 192, 0.3);
    color: var(--brand-brown);
    transition: all 0.35s ease;
    margin-bottom: 0.2rem;
}

.service-icon {
    width: 28px;
    height: 28px;
    stroke: currentColor;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Translucent warm gold background with gold icon state on hover */
.service-card:hover .service-icon-wrapper {
    background-color: rgba(220, 182, 86, 0.12);
    border-color: rgba(220, 182, 86, 0.5);
    color: #dcb656;
    transform: scale(1.05);
}

.service-card:hover .service-icon {
    transform: rotate(4deg) scale(1.08);
}

.service-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-style: italic;
    color: rgba(220, 182, 86, 0.08);
    font-weight: 300;
    line-height: 1;
    position: absolute;
    top: 2rem;
    right: 2rem;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.service-card:hover .service-number {
    color: rgba(220, 182, 86, 0.2);
    transform: translateY(-4px) scale(1.05);
}

.service-card h3 {
    font-size: 1.4rem; /* Slighting larger heading size */
    font-family: var(--font-heading);
    color: var(--brand-brown);
    font-weight: 500;
    letter-spacing: 0.01em;
    margin: 0;
}

.service-card p {
    font-size: 0.93rem;
    color: var(--text-muted);
    line-height: 1.7; /* Increased line height for editorial feel */
    margin: 0; /* Let flex gap cleanly manage bottom margin */
}

.service-learn-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--brand-brown);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: auto; /* Push Learn More to the bottom of the card */
    transition: all 0.3s ease;
}

.service-learn-more span {
    position: relative;
}

/* Delicate growing underline on CTA */
.service-learn-more span::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #dcb656;
    transition: all 0.3s ease;
}

.service-learn-more svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    transition: transform 0.3s ease;
}

.service-card:hover .service-learn-more {
    color: #b99742; /* Soft gold text highlight on hover */
}

.service-card:hover .service-learn-more span::after {
    width: 100%;
}

.service-card:hover .service-learn-more svg {
    transform: translateX(4px);
}

/* About Us Section Home */
.about-home-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: center;
}

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

.about-quote {
    font-family: var(--font-serif-sub);
    font-size: 1.5rem;
    line-height: 1.6;
    font-style: italic;
    color: var(--brand-brown);
    position: relative;
}

.about-quote::before {
    content: '“';
    position: absolute;
    top: -20px;
    left: -25px;
    font-size: 5rem;
    color: var(--bg-beige);
    opacity: 0.4;
    font-family: var(--font-heading);
}

/* Why Choose Us Benefits */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    border: 1px solid var(--border-accent);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    transition: var(--transition-smooth);
}

.benefit-card:hover {
    transform: translateY(-3px);
    border-color: var(--brand-brown);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--bg-cream);
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon svg {
    width: 28px;
    height: 28px;
    display: block;
}

.benefit-icon svg path {
    fill: var(--brand-brown) !important;
}

.benefit-card h3 {
    font-size: 1.25rem;
    color: var(--brand-brown);
}

.benefit-card p {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Stats / Safe conversations Section */
.stats-section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.stat-item {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-accent);
    text-align: center;
    box-shadow: 0 4px 15px var(--shadow-soft);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 600;
    color: var(--brand-brown);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* About Page Styles */
.about-hero {
    background-color: var(--bg-cream);
    padding: 6.5rem 0 3rem 0;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5rem;
    align-items: center;
}

.about-paragraphs {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-paragraphs p {
    font-size: 1.05rem;
    line-height: 1.7;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.philosophy-card {
    background-color: var(--white);
    border: 1px solid var(--border-accent);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: var(--transition-smooth);
}

.philosophy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow-soft);
    border-color: var(--bg-beige);
}

.philosophy-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--bg-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.philosophy-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--brand-brown);
}

.philosophy-card h3 {
    font-size: 1.4rem;
    color: var(--brand-brown);
}

.purpose-block {
    background-color: var(--white);
    border: 1px solid var(--border-accent);
    padding: 4rem;
    border-radius: 20px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.purpose-block p {
    font-family: var(--font-serif-sub);
    font-size: 1.4rem;
    line-height: 1.8;
    font-style: italic;
    color: var(--brand-brown);
}

/* Solutions Page Details */
.solutions-list {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.solutions-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    padding: 3rem;
    background-color: var(--white);
    border: 1px solid var(--border-accent);
    border-radius: 20px;
    box-shadow: 0 5px 15px var(--shadow-soft);
}

.solutions-item:nth-child(even) {
    direction: rtl;
}

.solutions-item:nth-child(even) .solutions-text {
    direction: ltr;
}

.solutions-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.solutions-text p {
    font-size: 1.05rem;
    line-height: 1.7;
}

.solutions-image-container {
    width: 100%;
}

.solutions-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 25px var(--shadow-soft);
}

.solutions-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    text-align: center;
}

.trust-card {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--border-accent);
}

/* Call to Action Container Section */
.cta-banner-section {
    background-color: var(--bg-cream);
    padding: 4.5rem 0;
    text-align: center;
}

.cta-banner-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.cta-banner-content p {
    font-family: var(--font-serif-sub);
    font-size: 1.6rem;
    line-height: 1.6;
    font-style: italic;
    color: var(--brand-brown);
}

/* Legal / Info Pages */
.legal-container {
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.legal-title {
    font-size: 3rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--bg-beige);
    padding-bottom: 1rem;
    color: var(--brand-brown);
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--brand-brown);
}

.legal-section p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-highlight {
    background-color: var(--white);
    border-left: 4px solid var(--brand-brown);
    padding: 2rem;
    border-radius: 0 15px 15px 0;
    font-family: var(--font-serif-sub);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--brand-brown);
    margin: 3rem 0;
    box-shadow: 0 5px 15px var(--shadow-soft);
}

/* Footer Styles */
footer {
    background-color: #4A3629;
    color: var(--bg-cream);
    padding: 4.5rem 0 2rem 0;
    margin-top: auto;
    font-family: var(--font-body);
    border-radius: 35px 35px 0 0;
}

footer p, footer a {
    color: #E2CEC0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 6rem;
    border-bottom: 1px solid rgba(226, 206, 192, 0.15);
    padding-bottom: 4rem;
    margin-bottom: 2rem;
}

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

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--white) !important;
    letter-spacing: 0.1em;
}

.footer-left h3 {
    font-family: var(--font-serif-sub);
    font-style: italic;
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 400;
}

/* Subscription Form in Footer */
.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    max-width: 450px;
    margin-top: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #E2CEC0;
}

.input-email {
    background: transparent;
    border: none;
    border-bottom: 1.5px solid rgba(226, 206, 192, 0.4);
    padding: 0.8rem 0;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.input-email:focus {
    outline: none;
    border-bottom-color: var(--white);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    cursor: pointer;
    font-size: 0.85rem;
    user-select: none;
}

.checkbox-group input {
    margin-top: 3px;
}

.btn-subscribe {
    align-self: flex-start;
    background-color: var(--white);
    color: var(--brand-brown);
    border: none;
    padding: 0.8rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-subscribe:hover {
    background-color: #C8A46B;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(200, 164, 107, 0.25), 0 4px 10px rgba(61, 50, 45, 0.08);
}

.btn-subscribe:active {
    transform: translateY(-1px) scale(0.96);
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.footer-contact-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--white);
    letter-spacing: 0.05em;
}

.footer-confidentiality-notice {
    font-size: 0.95rem;
    opacity: 0.9;
}

.footer-contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.contact-item span:first-child {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.6;
}

.contact-item a, .contact-item span:last-child {
    font-size: 1.05rem;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.contact-item a:hover {
    color: var(--white);
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(226, 206, 192, 0.3);
    transition: var(--transition-smooth);
}

.social-links a svg {
    width: 20px;
    height: 20px;
    display: block;
    transition: var(--transition-smooth);
}

.social-links a svg path {
    fill: #E2CEC0 !important;
    transition: var(--transition-smooth);
}

.social-links a:hover {
    border-color: var(--white);
    background-color: rgba(226, 206, 192, 0.1);
}

.social-links a:hover svg path {
    fill: var(--white) !important;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    padding-top: 1rem;
}

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

.footer-links a {
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

/* Toast Message Style */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #FAF5F0; /* Warm beige/cream background */
    color: #3D322D; /* Dark brand charcoal */
    border: 1px solid rgba(226, 206, 192, 0.5);
    border-left: 5px solid #C8A46B; /* Elegant gold accent border */
    padding: 1.2rem 2.2rem;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(61, 50, 45, 0.08), 0 5px 15px rgba(0, 0, 0, 0.04); /* Soft shadow for depth */
    z-index: 10000;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.25, 1, 0.5, 1); /* Smooth slide-up & fade-in */
    pointer-events: none;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

@media (max-width: 600px) {
    .toast {
        right: 1.5rem;
        left: 1.5rem;
        bottom: 1.5rem;
        text-align: center;
        border-left: none;
        border-top: 4px solid #C8A46B; /* Symmetrical top gold border for mobile */
        padding: 1.2rem 1.5rem;
    }
}

/* Animations Definition */
@keyframes rotateSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE BREAKPOINTS */

@media (max-width: 1024px) {
    :root {
        --header-height: 70px;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 0;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
        max-width: 800px;
        margin: 0 auto;
    }
    
    .hero-cta {
        align-self: center;
    }
    
    .hero-visual {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin-top: 3rem;
    }

    .hero-profile-container {
        align-items: center;
        text-align: center;
        margin-top: 0;
    }
    
    .hero-section {
        padding: 4rem 0;
    }
    
    .about-home-grid,
    .stats-section-grid,
    .about-intro-grid,
    .solutions-item {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .welcome-sanctuary {
        display: flex;
        flex-direction: column;
        gap: 2rem; /* 32px spacing between text block and image */
    }

    .welcome-content {
        order: 1;
    }

    .welcome-image-container {
        order: 2;
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .solutions-item:nth-child(even) {
        direction: ltr;
    }
    
    .philosophy-grid,
    .solutions-trust-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .hero-section {
        padding: 3rem 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Safe Conversations Grid Icons Sizing */
.stats-section-grid svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    margin-top: 3px;
    display: block;
}

.stats-section-grid svg path {
    fill: var(--brand-brown) !important;
}

/* General button inline SVGs */
.btn-primary svg {
    width: 20px;
    height: 20px;
    fill: var(--white);
    flex-shrink: 0;
}

/* ==========================================================================
   CONTACT PAGE & BOOKING FORM STYLES
   ========================================================================== */

.contact-section {
    padding: 6.5rem 0;
    background-color: var(--bg-cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: flex-start;
}

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

.contact-title {
    font-size: clamp(2.5rem, 4.5vw, 3.8rem);
    line-height: 1.1;
    color: var(--brand-brown);
}

.contact-subtitle {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.privacy-block-card {
    background-color: var(--white);
    border: 1px solid var(--border-accent);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.privacy-block-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--brand-brown);
}

.privacy-block-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.contact-form-wrapper {
    background-color: var(--white);
    border: 1px solid var(--border-accent);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-soft);
}

.contact-booking-form {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.form-field label {
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand-brown);
    font-weight: 600;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    background-color: var(--bg-cream);
    border: 1px solid rgba(61, 50, 45, 0.12);
    padding: 0.9rem 1.2rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-charcoal);
    border-radius: 10px;
    transition: var(--transition-smooth);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: rgba(78, 78, 78, 0.5);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--brand-brown);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(61, 50, 45, 0.05);
}

/* Custom select styling */
.select-wrapper {
    position: relative;
    width: 100%;
}

.select-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 2.5rem;
}

.select-wrapper::after {
    content: '';
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid var(--brand-brown);
    pointer-events: none;
    opacity: 0.7;
    transition: var(--transition-smooth);
}

.select-wrapper:focus-within::after {
    transform: translateY(-50%) rotate(180deg);
}

.form-field textarea {
    resize: vertical;
}

.btn-submit-booking {
    align-self: flex-start;
    background-color: var(--brand-brown);
    color: var(--white);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(61, 50, 45, 0.15);
    transition: all 0.3s ease;
}

.btn-submit-booking:hover {
    background-color: #C8A46B;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(200, 164, 107, 0.25), 0 4px 10px rgba(61, 50, 45, 0.08);
}

.btn-submit-booking:active {
    transform: translateY(-1px) scale(0.96);
}

/* Error Message styling */
.error-message {
    font-size: 0.8rem;
    color: #b03a2e;
    margin-top: -0.2rem;
    min-height: 1.2rem;
    display: block;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.error-message.show {
    opacity: 1;
}

.form-field.invalid input,
.form-field.invalid select {
    border-color: #b03a2e;
    background-color: rgba(176, 58, 46, 0.02);
}

/* Responsive updates for Contact Page */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 4rem 0;
    }
    
    .privacy-block-card,
    .contact-form-wrapper {
        padding: 2rem;
    }
    
    .btn-submit-booking {
        width: 100%;
        text-align: center;
    }
}

/* ==========================================================================
   SESSION OVERVIEW SECTION
   ========================================================================== */
.session-overview {
    background-color: var(--bg-cream);
    padding: 2.5rem 0 5rem 0;
}

.session-overview-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.session-overview-title {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-family: var(--font-heading);
    color: var(--brand-brown);
    margin-bottom: 0.8rem;
    font-weight: 500;
    line-height: 1.25;
}

.session-overview-title em {
    font-family: var(--font-serif-sub);
    font-style: italic;
    font-weight: 400;
    color: #b08253; /* A warm elegant gold-brown accent */
}

.session-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    max-width: 380px;
    margin: 0 auto;
}

.session-divider .divider-line {
    flex: 1;
    height: 1px;
    background-color: rgba(61, 50, 45, 0.12);
}

.session-divider svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.session-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.session-card {
    background-color: var(--white);
    border: 1px solid rgba(226, 206, 192, 0.32);
    border-radius: 16px;
    padding: 1.5rem 1.6rem;
    box-shadow: 0 4px 15px rgba(61, 50, 45, 0.02);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.session-card:hover,
.session-card-full:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(61, 50, 45, 0.05);
    border-color: rgba(200, 164, 107, 0.35);
}

.session-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.session-icon-circle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: #FAF2EA;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.session-icon-circle svg {
    width: 20px;
    height: 20px;
}

.session-card-titles {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.session-card-titles h3 {
    font-size: 1.12rem;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--brand-brown);
    margin: 0;
    line-height: 1.2;
}

.session-tagline {
    font-size: 0.8rem;
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--text-muted);
}

.session-card-divider {
    border: none;
    height: 1px;
    background-color: rgba(61, 50, 45, 0.06);
    margin: 1rem 0;
    width: 100%;
}

.session-time-badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background-color: #FAF2EA;
    padding: 0.25rem 0.65rem;
    border-radius: 30px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.78rem;
    color: var(--brand-brown);
    margin-bottom: 0.8rem;
}

.free-text {
    font-size: 0.72rem;
    color: #b08253;
    font-weight: 600;
    margin-left: 0.3rem;
}

.session-time-badge svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}

.session-best-for {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.session-best-for.inline-style {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem 0.6rem;
}

.session-best-for.inline-style p {
    margin: 0;
}

.session-best-for .best-for-header {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.best-for-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #b08253;
    display: inline-block;
    flex-shrink: 0;
}

.session-best-for strong {
    font-family: var(--font-body);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #b08253;
}

.session-best-for p {
    font-size: 0.85rem;
    line-height: 1.45;
    color: var(--text-muted);
    margin: 0;
}

/* Full Width Card */
.session-card-full {
    background-color: var(--white);
    border: 1px solid rgba(226, 206, 192, 0.32);
    border-radius: 16px;
    padding: 1.5rem 1.6rem;
    box-shadow: 0 4px 15px rgba(61, 50, 45, 0.02);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    grid-column: span 2;
}

.session-full-bottom {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
}

.session-full-bottom .session-time-badge {
    margin-bottom: 0;
}

/* Footer Card */
.session-footer-card {
    text-align: center;
    background-color: #FAF5F0;
    border: 1px solid rgba(226, 206, 192, 0.25);
    border-radius: 16px;
    padding: 1.8rem 2rem;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(61, 50, 45, 0.01);
}

.footer-card-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    max-width: 180px;
    margin: 0 auto;
}

.footer-card-divider.top {
    margin-bottom: 0.8rem;
}

.footer-card-divider.bottom {
    margin-top: 0.8rem;
}

.divider-line-thin {
    flex: 1;
    height: 1px;
    background-color: rgba(61, 50, 45, 0.1);
}

.leaf-ornament {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #C8A46B;
}

.footer-card-tag {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-family: var(--font-body);
    margin-bottom: 0.15rem;
}

.footer-card-action {
    font-size: 1.45rem;
    font-family: var(--font-serif-sub);
    font-style: italic;
    margin: 0;
}

.footer-card-action a {
    color: var(--brand-brown);
    text-decoration: none;
    position: relative;
    transition: var(--transition-smooth);
}

.footer-card-action a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #C8A46B;
    transition: var(--transition-smooth);
}

.footer-card-action a:hover {
    color: #C8A46B;
}

.footer-card-action a:hover::after {
    background-color: var(--brand-brown);
}

/* RESPONSIVE OVERRIDES */
@media (max-width: 991px) {
    .session-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .session-card-full {
        grid-column: span 1;
    }
    
    .session-full-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
    
    .session-best-for.inline-style {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
}

@media (max-width: 600px) {
    .session-overview {
        padding: 2rem 0 4rem 0;
    }
    
    .session-card,
    .session-card-full {
        padding: 1.4rem 1.3rem;
        border-radius: 12px;
    }
    
    .session-card-header {
        align-items: center;
    }
    
    .session-icon-circle {
        width: 42px;
        height: 42px;
    }
    
    .session-icon-circle svg {
        width: 18px;
        height: 18px;
    }
    
    .session-card-titles h3 {
        font-size: 1.05rem;
    }
    
    .session-footer-card {
        padding: 1.5rem 1.2rem;
        border-radius: 12px;
    }
    
    .footer-card-action {
        font-size: 1.3rem;
    }
}

/* Certificates Alignment for tablet sizes */
.about-certificates-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: center;
    width: 100%;
}

@media (min-width: 769px) and (max-width: 1024px) {
    .about-certificates-container {
        flex-direction: row !important;
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .about-certificates-container img {
        max-width: 340px !important;
        flex: 1 1 300px;
    }
}

/* Contact Form Success State Styles */
.contact-success-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1.5rem;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.contact-success-state.show {
    opacity: 1;
}

.contact-success-state .success-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(226, 206, 192, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.contact-success-state .success-icon-wrapper svg {
    width: 36px;
    height: 36px;
}

.contact-success-state h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--brand-brown);
    margin: 0;
}

.contact-success-state p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Stats Section Image Styling */
.stats-image-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sanctuary-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    border: 1px solid var(--border-accent);
    box-shadow: 0 4px 15px var(--shadow-soft);
    object-fit: cover;
    display: block;
}


