:root {
    /* Psychology Clinic Color System */
    --primary-accent: #5F6F65;
    --bg-color: #F6F4EF;
    --section-bg: #E8E3D9;
    --soft-accent: #B7A99A;
    --text-color: #2E2E2E;
    --border-color: #D9D6CF;
    --off-white: #FFFFFF;

    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing for breathing room */
    --section-padding: 100px;
    --card-padding: 40px;
}

html {
    scroll-behavior: smooth;
}

::selection {
    background-color: var(--soft-accent);
    color: white;
}



body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    line-height: 1.7;
    font-size: 16px;
    font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    margin-bottom: 1em;
    margin-top: 0;
    color: var(--text-color);
    line-height: 1.3;
    letter-spacing: 0.3px;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.2em;
    line-height: 1.8;
}


a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.25s ease, opacity 0.25s ease;
}

a:hover {
    color: var(--primary-accent);
}

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

/* Navbar - Minimal, not sticky, quiet hover */
.navbar {
    background: var(--off-white);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.brand-logo {
    display: flex;
    align-items: center;
}

.brand-logo img {
    height: 90px;
    width: 90px; /* Force it to be a square */
    object-fit: cover;
    border-radius: 50%; /* Crop the black corners perfectly into a circular badge */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* Optional elegant shadow */
}

.brand-logo:hover {
    opacity: 0.9;
}

.nav-links a {
    margin-left: 32px;
    font-size: 0.95rem;
    color: var(--text-color);
    opacity: 0.75;
    font-weight: 400;
}

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

/* Button Styles - Text-first, soft, rounded corners, no strong shadows */
.btn-primary-small {
    padding: 10px 22px;
    border: 1px solid var(--primary-accent);
    border-radius: 8px;
    color: var(--primary-accent);
    transition: all 0.25s ease;
    font-weight: 400;
}

.btn-primary-small:hover {
    background-color: var(--primary-accent);
    color: var(--off-white);
    opacity: 0.95;
}

.btn-primary {
    background-color: var(--primary-accent);
    color: white;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 400;
    margin-right: 15px;
    display: inline-block;
    border: none;
    transition: opacity 0.25s ease;
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-color);
    padding: 13px 31px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-weight: 400;
    display: inline-block;
    transition: all 0.25s ease;
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-secondary:hover {
    border-color: var(--primary-accent);
    color: var(--primary-accent);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
}



/* Hero Section - Calm, spacious */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--section-padding) 20px;
    background-color: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.25;
    margin-bottom: 30px;
    color: var(--text-color);
    font-weight: 500;
}

.tagline {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-accent);
    margin-bottom: 20px;
    font-family: var(--font-body);
    font-weight: 500;
}

.hero-desc {
    font-size: 1.15rem;
    color: #666;
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.eyebrow {
    display: block;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.8px;
    color: var(--soft-accent);
    margin-bottom: 15px;
    font-weight: 500;
}


/* Sections - Large vertical spacing, breathing room */
.needs-section,
.intro-section,
.reasons-section,
.pathway-section {
    padding: var(--section-padding) 0;
}

.needs-section {
    background-color: var(--off-white);
    text-align: center;
}

.needs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 60px;
}

/* Cards - Soft background, thin borders, no shadows */
.need-card,
.reason-card,
.service-card {
    padding: var(--card-padding);
    background: var(--section-bg);
    border-radius: 6px;
    border: 1px solid var(--border-color);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-color);
    cursor: default;
    transition: border-color 0.25s ease;
}

.need-card:hover,
.reason-card:hover,
.service-card:hover {
    border-color: var(--soft-accent);
}

/* Intro Section */
.intro-section {
    background-color: var(--bg-color);
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.intro-section h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    line-height: 1.3;
}

.intro-section p {
    margin-bottom: 24px;
    color: #555;
}

.text-link {
    color: var(--primary-accent);
    font-weight: 400;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
    transition: opacity 0.25s ease;
}

.text-link:hover {
    opacity: 0.7;
}

.stats-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 20px;
    border-left: 1px solid var(--border-color);
    padding-left: 40px;
}

.stat-item {
    margin-bottom: 10px;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-accent);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Reasons Section */
.reasons-section {
    background-color: var(--section-bg);
}

.center,
.center-text {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.reason-card h3 {
    font-size: 1.4rem;
    color: var(--primary-accent);
    margin-bottom: 15px;
}



/* Pathway Section */
.pathway-section {
    background-color: var(--bg-color);
}

.steps-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 60px;
    position: relative;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.step {
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 2;
}

.step-circle {
    width: 50px;
    height: 50px;
    background-color: var(--primary-accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
}

.step-line {
    flex: 1;
    height: 1px;
    background-color: var(--border-color);
    margin-top: 25px;
    position: relative;
    z-index: 1;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-accent);
}

.step p {
    font-size: 0.95rem;
    color: #666;
    padding: 0 10px;
}

/* Footer - Calm, not corporate */
footer {
    background-color: var(--primary-accent);
    color: #FFFFFF;
    padding: 80px 0 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h3,
.footer-col h4 {
    color: white;
    font-family: var(--font-heading);
    margin-bottom: 20px;
    font-weight: 500;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 12px;
    transition: color 0.25s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.disclaimer {
    margin-top: 15px;
    color: #FFD4D4;
    font-weight: 400;
}



/* Form Fields - Simple, soft borders, focus state with primary accent */
input,
select,
textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--off-white);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    font-size: 15px;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-accent);
    box-shadow: 0 0 0 3px rgba(95, 111, 101, 0.1);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
}

/* Animations */
.fade-in {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

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

@keyframes breathe {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.visual-block,
.image-block div {
    background-size: 200% 200% !important;
    animation: breathe 8s ease infinite;
}

/* Mobile Responsive */
@media (max-width: 768px) {

    .hero h1 {
        font-size: 2.2rem;
    }

    .split-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stats-block {
        border-left: none;
        border-top: 1px solid var(--border-color);
        padding-top: 30px;
        padding-left: 0;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        padding: 30px 20px;
        border-bottom: 2px solid var(--border-color);
        text-align: center;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        z-index: 1000;
        animation: slideDown 0.3s ease-out;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        margin: 15px 0;
        display: block;
        font-size: 1.1rem;
        font-weight: 500;
    }

    .mobile-menu-btn {
        display: block;
        cursor: pointer;
    }

    .mobile-menu-btn span {
        display: block;
        width: 25px;
        height: 2px;
        background-color: var(--primary-accent);
        margin: 6px 0;
        transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .mobile-menu-btn.open span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-menu-btn.open span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.open span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-col.links-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .brand-logo img {
        height: 50px;
        width: 50px;
    }

    .steps-row {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .step-line {
        display: none;
    }

    .step {
        width: 100%;
        max-width: 300px;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-button {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    cursor: pointer;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-button svg {
    width: 32px;
    height: 32px;
    fill: white;
}

@keyframes whatsappPulse {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    }

    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.6);
    }
}

/* Tooltip */
.whatsapp-float::before {
    content: "Chat with us on WhatsApp";
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--text-color);
    color: white;
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    font-family: var(--font-body);
}

.whatsapp-float:hover::before {
    opacity: 1;
}

/* Mobile adjustments for WhatsApp button */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-button {
        width: 55px;
        height: 55px;
    }

    .whatsapp-button svg {
        width: 28px;
        height: 28px;
    }

    .whatsapp-float::before {
        display: none;
    }
}

/* --- New Emotion Recognition Cards (Services Redesign) --- */

.services-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.emotion-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    /* Very soft shadow */
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.emotion-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.card-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 300px;
    /* Fixed height for consistency */
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
    filter: brightness(0.95) contrast(0.95);
    /* Slight matt look */
}

.emotion-card:hover .card-image {
    transform: scale(1.03);
    filter: brightness(1) contrast(1);
}

.card-content {
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
    background-color: #FAFAFA;
    /* Very light grey */
    transition: background-color 0.3s ease;
}

.emotion-card:hover .card-content {
    background-color: white;
}

/* Inner thought style */
.recognition-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 500;
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 16px;
    line-height: 1.35;
    position: relative;
}

/* Decorative quote marks just for feel */
.recognition-text::before {
    content: "“";
    color: var(--soft-accent);
    opacity: 0.4;
    margin-right: 4px;
}

.recognition-text::after {
    content: "”";
    color: var(--soft-accent);
    opacity: 0.4;
    margin-left: 4px;
}

/* Reassurance line style */
.reassurance-line {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--primary-accent);
    opacity: 0.8;
    letter-spacing: 0.4px;
    font-weight: 400;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 16px;
    margin-top: auto;
    /* Pushes to bottom if we want aligned height */
}


/* ============================================
   TESTIMONIALS SECTION
   ============================================ */

/* --- Hero / Header --- */
.testimonials-hero {
    padding: 110px 20px 70px;
    background-color: var(--bg-color);
}

.testimonials-title {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 24px;
    line-height: 1.25;
    letter-spacing: 0.2px;
}

.testimonials-subtitle {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.85;
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Confidentiality badge */
.testimonials-confidentiality {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    color: #999;
    letter-spacing: 0.5px;
    border: 1px solid var(--border-color);
    border-radius: 40px;
    padding: 8px 20px;
    background-color: var(--off-white);
    margin: 0;
}

.confidentiality-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--primary-accent);
    opacity: 0.7;
    flex-shrink: 0;
}

/* --- Cards Grid --- */
.testimonials-section {
    padding: 30px 0 100px;
    background-color: var(--bg-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

/* --- Individual Card --- */
.testimonial-card {
    background-color: var(--off-white);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 44px 40px 36px;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    transition: border-color 0.3s ease, transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-card:hover {
    border-color: var(--soft-accent);
    transform: translateY(-4px);
}

/* Decorative opening quote mark */
.testimonial-quote-mark {
    font-family: var(--font-heading);
    font-size: 5rem;
    line-height: 1;
    color: var(--soft-accent);
    opacity: 0.35;
    margin-bottom: 4px;
    margin-left: -4px;
    user-select: none;
    pointer-events: none;
}

/* Quote body */
.testimonial-text {
    font-family: var(--font-heading);
    font-size: 1.18rem;
    font-style: italic;
    font-weight: 400;
    color: var(--text-color);
    line-height: 1.75;
    margin: 0 0 28px 0;
    padding: 0;
    border: none;
    flex-grow: 1;
}

/* Attribution row */
.testimonial-attribution {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    margin-top: auto;
    background-color: transparent;
    color: inherit;
}

.testimonial-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    color: #aaa;
    font-weight: 400;
}

/* --- Closing CTA --- */
.testimonials-closing {
    padding: 80px 20px 110px;
    background-color: var(--section-bg);
    text-align: center;
}

.closing-note {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #888;
    line-height: 1.85;
    max-width: 560px;
    margin: 0 auto;
    border-top: 1px solid var(--border-color);
    padding-top: 0;
    margin-bottom: 0;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .testimonials-title {
        font-size: 2rem;
    }

    .testimonials-hero {
        padding: 80px 20px 50px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 34px 28px 28px;
    }

    .testimonials-closing {
        padding: 60px 20px 80px;
    }
}