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

:root {
    --primary-color: #483D8B;
    --secondary-color: #E6E6FA;
    --highlight-color: #98FB98;
    --text-color: #fff;
    --border-color: #dddddd;
    --main-max-width: 960px;
    --primary-font: 'Montserrat', sans-serif;
    --body-font: 'Lato', sans-serif;
    --serif-font: 'PT Serif', serif;
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-height: 100vh;
    font-family: var(--primary-font);
    line-height: 1.6;
}

header {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 0.5rem;
    background-color: var(--primary-color);
}

header a {
    justify-self: center;
    display: block;
}

.logo {
    max-width: 90vw;
    min-width: 140px;
    margin: 0.5rem auto;
    justify-self: center;
}

#menu {
    background-color: transparent;
    font-size: 2.5rem;
    font-weight: 700;
    border: none;
    outline: none;
    box-shadow: none;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

#menu::before {
    content: "≡";
    color: white;
}

nav {
    margin: 0 auto;
    align-content: center;
}

.navigation {
    list-style: none;
    margin: 0 auto;
}

.navigation li {
    display: none;
}

.navigation a {
    display: block;
    padding: 0.75rem;
    text-align: center;
    text-decoration: none;
    color: white;
    font-weight: 700;
    transition: 0.5s;
    font-size: clamp(1rem, 2vmin, 1.5rem)
}

.navigation a:hover,
.navigation a:active {
    color: var(--highlight-color);
}

.show li {
    display: block;
}

#menu.show::before {
    content: "X";
}

a:hover,
a:focus {
    color: var(--highlight-color);
}

/* Highlight nav-cta item as button on all screens, but more pronounced on large */
.navigation .nav-cta {
    background: white;
    color: var(--primary-color);
    border-radius: 2rem;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    border: 1px solid transparent;
    border-color: var(--highlight-color);
}

.navigation .nav-cta:hover,
.navigation .nav-cta:focus {
    background: white;
    color: var(--primary-color);
    border-color: var(--highlight-color);
    outline: none;
}

/* Hero Section */

.hero-section {
    background: var(--primary-color);
    padding: 2rem 1rem;
    color: #fff;
    text-align: center;
}

.hero-section h2 {
    font-family: var(--primary-font);
    font-size: 2rem;
    margin-bottom: 1.2rem;
}

.hero-question {
    background: rgba(3, 3, 65, 0.15);
    border: 2px solid #e6e6fa;
    border-radius: 1rem;
    padding: 1rem;
    margin-bottom: 2rem;
    color: #fff;
}

.hero-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 1rem;
    padding: 1rem;
    text-align: left;
    text-decoration: none;
    color: #fff;
    transition: box-shadow 0.2s, transform 0.2s;
    box-shadow: 0 2px 6px rgba(72, 61, 139, 0.15);
    background: #6e61b3;
}

.hero-individual {
    background-color: #1a1146;
}

.hero-couple {
    background-color: #152447;
}

.hero-family {
    background-color: #073b25;
}

.hero-card:hover,
.hero-card:focus {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px) scale(1.02);
}

.card-content h3 {
    font-family: var(--primary-font);
    font-size: 1.25rem;
    margin: 0 0 0.2rem 0;
}

.card-content p {
    font-family: var(--body-font);
    font-size: 1rem;
    margin: 0;
    opacity: 0.8;
}

.hero-card img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    margin-left: 1rem;
}

/* Why Us Section */
.why-us {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1rem;
}

.why-us-left {
    width: 100%;
    text-align: center;
}

.why-us img {
    display: none;
    max-width: 220px;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

.why-us-left h2 {
    font-family: var(--primary-font);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.why-us-left p {
    font-family: var(--body-font);
    font-size: 1rem;
    color: var(--primary-color);
}

.why-us-right {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.stat-box {
    width: 100%;
    max-width: 320px;
    background: #fff;
    border-radius: 1rem;
    padding: 1.2rem 1rem;
    box-shadow: 0 2px 12px rgba(72, 61, 139, 0.04);
    text-align: center;
    border-left: 6px solid var(--primary-color);
}

.stat-number {
    font-size: 2rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-box p {
    font-family: var(--body-font);
    margin: 0.5rem 0 0 0;
    color: var(--primary-color);
    font-size: 1rem;
}

/* Testimonials */

.testimonials {
    background: #f8f8fd;
    padding: 3rem 1rem 4rem 1rem;
    text-align: center;
}

.testimonials h2 {
    font-family: var(--primary-font);
    color: #483d8b;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.testimonials-intro {
    font-family: var(--body-font);
    font-size: 1.2rem;
    color: #222;
    margin-bottom: 2.5rem;
}

.testimonials-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
}

.testimonial-card {
    background: #fff;
    border: 1.5px solid #ececf9;
    border-radius: 1rem;
    box-shadow: 0 2px 10px rgba(72, 61, 139, 0.06);
    max-width: 340px;
    width: 100%;
    padding: 2rem 1.5rem 1.2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-card img {
    width: 110px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.2rem;
}

.testimonial-card blockquote {
    font-family: var(--serif-font);
    font-size: 1.1rem;
    margin: 0 0 1rem 0;
    color: #333;
    font-style: italic;
}

.testimonial-card figcaption {
    font-family: var(--primary-font);
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1rem;
}


/* FAQ */
.faq {
    padding: 2rem;
}


.faq h2 {
    font-family: var(--primary-font);
    font-size: 2rem;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    background: white;
    border: 1px solid #ddd;
    padding: 1rem;
    border-radius: 5px;
}

.faq-item summary {
    font-weight: bold;
    cursor: pointer;
}

.faq-item p {
    margin-top: 0.5rem;
}


/* CTA Button */

.cta-container {
    display: flex;
    justify-content: center;
    margin: 2.5rem 0 1.5rem 0;
}

.cta-btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-family: var(--primary-font);
    font-weight: 600;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 2rem;
    box-shadow: 0 2px 10px rgba(72, 61, 139, 0.08);
    text-decoration: none;
    transition: background 0.2s, box-shadow 0.2s, width 0.2s;
    width: 90%;
    max-width: 340px;
    text-align: center;
    letter-spacing: 0.03em;
}

.cta-btn:hover,
.cta-btn:focus {
    background: #372d6b;
    box-shadow: 0 4px 18px rgba(72, 61, 139, 0.13);
    outline: none; 
}

/* Social Media Section */
.social-media {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1rem;
    max-width: 1000px;
    margin: 1rem auto;
    background: #fff;
    justify-content: center;
    align-items: center;
}

.social-media h2 {
    font-family: var(--primary-font);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
    color: var(--primary-color);
}

.social-media ul {
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-media p {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.social-media li {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    list-style: none;
}

.support-faq {
    background-color: #f8f8fd;
    padding: 2rem 1rem;
}

.registered-address strong {
    color: var(--primary-color);
    font-weight: bold;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: #e5e5e5;
    padding: 1rem;
    text-align: center;
}

#lastModified {
    color: var(--highlight-color);
    font-weight: bold;
}

/* Team Section - Used in contact.html */

.contact-team {
    display: flex;
    flex-direction: column;
    /* grid-template-columns: 1fr; */
    gap: 1rem;
    padding: 2rem 1rem;
}

.contact-team h2 {
    font-family: var(--primary-font);
    color: #483d8b;
    font-size: 2rem;
    text-align: center;
}

.contact-team p {
    font-family: var(--body-font);
    font-size: 1rem;
    color: #222;
    text-align: center;
}

/* Figure as a card */
.team {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
}

.team figure {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem 1rem 2rem 1rem;
    box-shadow: 0 2px 12px #0001;
    background-color: #fff;
    max-width: 280px;
}

.team figure h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
}


.team figure img {
    width: 100%;
    max-width: 250px;
    height: auto;
    object-fit: cover;
    border: 1px solid var(--border-color);
    margin: 1rem auto 0 auto;
    background: #eee;
}

/* Caption block */
.team figcaption {
    flex-grow: 1;
    max-height: 120px;
    font-size: 0.8rem;
    text-align: center;
    padding: 0 0.5rem;
    margin-top: 0.5rem;
}

/* Process Section */

.process-section {
    background: #e6e6fa;
    padding: 3rem 1rem 3rem 1rem;
    text-align: center;
}

.process-section h2 {
    font-family: var(--primary-font);
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 0.6rem;
}

.process-intro {
    font-family: var(--body-font);
    font-size: 1.2rem;
    color: rgb(34, 34, 34);
    margin-bottom: 2.5rem;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
}

.process-step {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 2px 12px rgba(72, 61, 139, 0.07);
    padding: 2rem 1.4rem 1.7rem 1.4rem;
    max-width: 340px;
    width: 100%;
    text-align: center;
}

.process-icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.process-step h3 {
    font-family: var(--primary-font);
    color: var(--primary-color);
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
    margin-top: 0;
}

.process-step p {
    font-family: var(--body-font);
    color: #333;
    font-size: 1rem;
    margin: 0;
}

.therapists-section {
    background: #f8f8fd;
    padding: 3rem 1rem;
    border-radius: 1.2rem;
    margin-bottom: 3rem;
}

.therapists-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.therapists-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 2rem;
}

.therapists-image picture,
.therapists-image img {
    display: block;
    width: 100%;
    max-width: 320px;
    height: auto;
}

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

.therapists-text h2 {
    font-family: var(--primary-font);
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.therapists-text p {
    font-family: var(--body-font);
    font-size: 1.13rem;
    color: #222;
    margin: 0;
}

.therapists-text strong {
    display: block;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.paragraph-intro {
    text-align: center;
    margin: 0 auto 2rem auto;
    font-family: 'Lato', sans-serif;
    font-size: 1.2rem;
    color: rgb(34, 34, 34);
    background: #f8f8fd;
    border-radius: 1.2rem;
    padding: 1.5rem 1.3rem;
    box-shadow: 0 2px 10px rgba(72, 61, 139, 0.05);
}

.about-columns {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    margin: 0 auto 3rem auto;
    max-width: 900px;
    align-items: stretch;
}

.about-block {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 2px 10px rgba(72, 61, 139, 0.05);
    padding: 2rem 1.5rem;
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    position: relative;
}

.about-block h2 {
    font-family: var(--primary-font);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #483d8b;
}

.about-block p {
    font-family: var(--body-font);
    font-size: 1rem;
    margin: 0.5rem 0 0 0;
}

.about-icon {
    color: #36ba6b;
    margin-bottom: 1rem;
    display: inline-block;
}

.about-values-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.about-values-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid #e6e6fa;
    min-height: 44px;
}

.about-values-list li:last-child {
    border-bottom: none;
}

.icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: #e6e6fa;
    border-radius: 50%;
}

.icon-container img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
}

.value-text {
    display: block;
    min-width: 0;
    flex: 1;
}

/* form.css */

.couple-fields,
.group-fields {
    display: none;
}

