/* ============================================
   Patrick Akrivos - Main styles
   Grid for layout, Flexbox for nav/internal
   Spyros Kolokotronis for intros.gr - 2026
   ============================================ */

/* Screen Reader Only class for accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

:root {
    --header-bg: #cbbc9f;
    --menu-text: #000;
    --menu-text-active: #ffffff;
    --menu-active-bg: #2a5a3a;
    --hero-bg-fallback: #999c93;
    --hero-descriptive: #C7D0C9;
    --hero-cta-accent: #D67C5E;
    --hero-overlay-text: #f5f0e6;
    --meet-bg: #3d5c3d;
    --meet-heading: #7eb8da;
    --meet-text: #b0b0b0;
    --block-psycho-bg: #4a5568;
    --block-workshops-bg: #a67c52;
    --discuss-left-bg: #4a5568;
    --discuss-right-bg: #b87070;
    --discuss-left-text: #7eb8da;
    --discuss-right-text: #ffffff;
    --bio-bg: #e07c3c;
    --contact-cta-bg: #4a3f35;
    --contact-section-bg: #8b3a3a;
    --social-circle: #3a6a8a;
    --font-sans: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--menu-text);
    line-height: 1.4;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ----- Header ----- */
.site-header {
    background: transparent;
    padding: 0 1.5rem;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: transform 0.3s ease-in-out;
}

.site-header.is-hidden {
    transform: translateY(-100%);
}

.header-inner {
    background: var(--header-bg);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1rem;
}

.brand {
    display: block;
    width: 243px;
    height: 76px;
}

.brand-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.brand-logo-placeholder {
    width: 100%;
    height: 100%;
    min-width: 243px;
    min-height: 76px;
    background: #000;
    display: block;
}

/* Nav */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 20px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-list>li {
    position: relative;
    display: flex;
    align-items: center;
}


.nav-list a {
    padding: 0 10px;
    font-size: 14px;
    text-transform: uppercase;
    color: var(--menu-text);
    font-weight: 500;
    transition: all 0.2s ease;
    display: block;
}

/* Greek language specific adjustments */
html[lang="el"] .nav-list a {
    font-size: 13px;
}

.nav-list a:hover {
    color: #000;
    background: rgba(255, 255, 255, 0.5);
}

.nav-list a.active {
    background: #ffffff;
    color: #000;
}

.mobile-dropdown-toggle {
    display: none;
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--header-bg);
    min-width: 200px;
    display: none;
    flex-direction: column;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 10;
    padding: 0.5rem 0;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
}

.has-dropdown:hover .dropdown-menu {
    display: flex;
}

.dropdown-menu li {
    display: block;
    width: 100%;
}

.dropdown-menu li::before {
    display: none !important;
}

.dropdown-menu a {
    padding: 10px 15px !important;
    text-transform: none;
    font-weight: 400;
    font-size: 14px;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.8) !important;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 1px;
}

.lang-switcher a {
    font-size: 13px;
    font-weight: 500;
    color: var(--menu-text);
    padding: 2px 4px;
    transition: all 0.2s ease;
}

.lang-switcher a:hover {
    color: #fff;
    background: var(--menu-active-bg);
}

.lang-switcher a.active {
    color: #000;
    background: #fff;
    font-weight: 700;
}



.social-link {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--social-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--menu-text-active);
}

.social-link span {
    font-size: 0.85rem;
}

.icon-linkedin::before {
    content: 'in';
}

.icon-facebook::before {
    content: 'f';
}

.icon-instagram::before {
    content: 'ig';
}

.login-link {
    font-size: 0.9rem;
    margin-left: 0.5rem;
    color: var(--menu-text);
}

/* Hamburger (hidden on desktop) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    width: 24px;
    height: 2px;
    background: var(--menu-text);
    border-radius: 1px;
    transition: transform 0.3s ease, top 0.3s ease, background 0.2s ease;
}

.hamburger {
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    top: 7px;
}

/* Hamburger to X Morph */
.menu-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.menu-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ----- Main: Grid layout ----- */
.page-home {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
}

/* ----- Hero (match reference: sage bg, vertical title, descriptive text, orange CTAs) ----- */
.hero {
    position: relative;
    width: 100%;
    margin-top: -5rem;
    /* pull up so GIF sits under transparent header */
}

/* GIF as centered img so it plays reliably on smaller viewport heights */
.hero-gif-wrap {
    position: relative;
    width: 100%;
    display: block;
    background-color: var(--hero-bg-fallback, #8A968E);
}

.hero-gif-wrap.bg-white {
    background-color: #fff;
}

.hero-gif {
    width: 100%;
    max-width: 1920px;
    height: auto;
    display: block;
    margin: 0 auto;
    aspect-ratio: 1920 / 800; /* Match actual GIF dimensions for stability */
    object-fit: cover;
}

.hero-contact-gif {
    width: 500px;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 5rem auto 0 auto;
    /* 5rem to clear the header */
}

.hero-red-tagline {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1320px;
    background-color: rgba(139, 58, 58, 0.45);
    color: #fff;
    padding: 50px;
    text-align: center;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    line-height: 1.4;
    z-index: 10;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    justify-items: center;
    gap: 2rem 3rem;
    padding: 3rem 4rem;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-right-block {
    grid-column: 3;
    justify-self: start;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 200px;
    margin-left: 200px;
}

.hero-bottom-center-block {
    grid-column: 1 / -1;
    align-self: end;
    text-align: center;
    max-width: 800px;

}

.hero-descriptive {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--hero-descriptive);
    margin: 0;
}

.hero-ctas {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    flex-wrap: nowrap;
}

.hero-cta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-cta-item:hover {
    color: #e08a6e;
}

.publications-promo-ctas .hero-cta-label {
    color: #000;
}

.hero-cta-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: inherit;
}

.hero-cta-icon svg {
    width: 100%;
    height: 100%;
}

/* ----- Online Sessions section: 1920x832 background, bottom band with CTAs ----- */
.online-sessions-section {
    position: relative;
    width: 100%;
    min-height: 800px;
    max-width: 100%;
    overflow: hidden;
}

.online-sessions-bg {
    position: absolute;
    inset: 0;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #989C93;
}

.online-sessions-band {

    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.online-sessions-band-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1000px;
    padding: 1.25rem 1.5rem;
    gap: 2rem;
}

.online-sessions-icons {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.online-sessions-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.online-sessions-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.online-sessions-ctas {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.online-sessions-cta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.online-sessions-cta-item:hover {
    color: #f0f0f0;
}

.online-sessions-cta-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.online-sessions-cta-icon-accent {
    color: #e07c3c;
}

.online-sessions-cta-icon svg {
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .online-sessions-section {
        min-height: 50vh;
    }

    .online-sessions-band-inner {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }

    .online-sessions-ctas {
        justify-content: center;
    }
}

/* ----- Meet / Video (match reference: sage green, golden top strip, left overlay, text + laptop) ----- */
.meet-section {
    position: relative;
    background: #8a9a82;
    padding: 0;
    min-height: 50vh;
    border-top: 20px solid #d4a84b;
}

.meet-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    background: rgba(52, 72, 65, 0.35);
    background-image: repeating-linear-gradient(-45deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.03) 2px,
            rgba(0, 0, 0, 0.03) 4px);
    pointer-events: none;
}

.meet-inner {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    min-height: 50vh;
    padding: 3rem 2rem;
}

.meet-text {
    color: #ebebeb;
    font-size: clamp(1.2rem, 3vw, 2.2rem);
    line-height: 1.2;
    text-align: right;
    font-weight: 300;
}

.meet-body {
    margin: 0;
}

.meet-body br+.meet-highlight,
.meet-body .meet-highlight {
    color: #389bdb;
}

.meet-highlight {
    color: #389bdb;
    font-weight: 400;
}

.meet-video-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    grid-column: 2;
}

.laptop-frame {
    position: relative;
    background: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    max-width: 100%;
}

.laptop-video {
    width: 100%;
    display: block;
    border-radius: 4px;
    border: none;
    box-sizing: border-box;
}

/* ----- Service blocks ----- */
.blocks-section {
    padding: 0;
}

.blocks-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.block {
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: var(--meet-text);
    transition: opacity 0.2s;
}

.block:hover {
    opacity: 0.95;
}

.block-psychotherapy {
    background: var(--block-psycho-bg);
}

.block-psychotherapy .block-title {
    color: var(--meet-heading);
}

.block-workshops {
    background: var(--block-workshops-bg);
}

.block-workshops .block-title {
    color: var(--hero-overlay-text);
}

.block-title {
    font-size: clamp(1.5rem, 2vw, 2rem);
    margin: 0;
    font-weight: 700;
}

.block-desc {
    margin: 0;
    font-size: 0.9rem;
}

/* ----- Index Middle Contact ----- */
.index-middle-contact {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1.5rem;
    width: 100%;
}

.index-middle-contact-inner {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.index-middle-contact-link {
    display: block;
    width: 100%;
    max-width: 1300px;
    transition: transform 0.2s ease;
}

.index-middle-contact-link:hover {
    transform: scale(1.02);
}

.index-middle-contact-img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* ----- Index Bio Section ----- */
.index-bio-section {
    position: relative;
    max-width: 1700px;
    width: 100%;
    aspect-ratio: 1700 / 435;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    box-sizing: border-box;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 0;
}

.index-bio-section-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    text-align: center;
}

.index-bio-section-title-link {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.1em;
    margin-top: 2rem;
    /* Give it a little bit of breathing room from the top edge */
    transition: color 0.2s ease, transform 0.2s ease;
}

.index-bio-section-title-link:hover {
    color: var(--hero-overlay-text);
    transform: scale(1.05);
}

.index-bio-tagline-section {
    background-color: #ffffff;
    padding: 3rem 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.index-bio-tagline {
    font-size: clamp(1rem, 2vw, 1.25rem);
    text-align: center;
    color: var(--menu-text);
    margin: 0;
    max-width: 800px;
    line-height: 1.6;
}

/* ----- Index Discuss Section ----- */
.index-discuss-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1.5rem;
    width: 100%;
}

.index-discuss-section-inner {
    max-width: 1700px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.index-discuss-section-link {
    display: block;
    width: 100%;
    max-width: 1700px;
    transition: transform 0.2s ease;
}

.index-discuss-section-link:hover {
    transform: scale(1.02);
}

.index-discuss-section-img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* ----- Bio Page Hero Customizations ----- */
.hero-bio {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 80vh;
    overflow: hidden;
    padding-top: 120px;
    padding-bottom: 60px;
    z-index: 1;
}

.hero-bio-bg-layer {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-color: #f29200;
}

.hero-bio-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bio-top-content {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 0 5%;
    margin-top: -48px;
}

.hero-bio-img-top {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 2vw;
}

.hero-bio-img-bottom {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.hero-bio-bottom-content {
    width: 100%;
    text-align: center;
    padding: 2rem 1rem 0;
}

.hero-bio-descriptive-wrap {
    max-width: 1320px;
    margin: 0 auto;
    padding: 50px;
    background-color: #7a2020b3;
}

/* ----- Bio ----- */
.bio-section {
    background: var(--bio-bg);
    padding: 2rem;
    text-align: center;
}

.bio-visual {
    position: relative;
    max-width: 400px;
    margin: 0 auto 1rem;
}

.bio-image {
    width: 100%;
    height: auto;
    filter: contrast(1.2);
}

.bio-label {
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-transform: lowercase;
}

.bio-tagline {
    margin: 0;
    font-size: 0.95rem;
    color: var(--meet-text);
}

/* ----- Contact CTA ----- */
.contact-cta-section {
    background: var(--contact-cta-bg);
    padding: 3rem 2rem;
}

.contact-cta-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.contact-cta-heading {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
}

.contact-cta-graphic {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
    height: 80px;
    opacity: 0.2;
    background: radial-gradient(circle, #fff 2px, transparent 2px);
    background-size: 6px 6px;
}

/* ----- Contact ----- */
.contact-section {
    background: var(--contact-section-bg);
    position: relative;
    max-width: 1700px;
    width: 100%;
    aspect-ratio: 1700 / 700;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    padding: 2rem;
    box-sizing: border-box;
}

.contact-inner {
    max-width: 1200px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 2rem;
    position: relative;
    z-index: 2;
    margin-bottom: 3rem;
}

.contact-figure {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 300px;
    height: 250px;
    opacity: 0;
    /* Hiding abstract figure on this specific image layout to avoid overlap */
}

.contact-label {
    width: 100%;
    text-align: right;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-transform: lowercase;
    margin: 0 0 0.5rem;
}

.contact-details {
    text-align: right;
    color: #fff;
    font-size: 0.95rem;
}

.contact-details p {
    margin: 0 0 0.25rem;
}

.contact-details a {
    color: #7eb8da;
}

.contact-social-section {
    background-color: #ffffff;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
}

.contact-social-inner {
    max-width: 1700px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
}

.contact-social-section .social-link {
   background: #fff;
    color: #7eb8da;
    border-radius: 50px;
    border: 2px solid #7eb8da;
}

.site-copyright {
    background: #fff;
    width: 100%;
    padding: 0 1.5rem 1rem 1.5rem;
}

.site-copyright-inner {
    max-width: 1700px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

.copyright {
    font-size: 0.75rem;
    color: #000;
    margin: 0;
    width: 100%;
    text-align: right;
}

/* ----- Footer ----- */
.site-footer {
    background: #fff;
    padding: 1rem 0;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 1700px;
    padding: 0 2%;
    margin: 0 auto;
    background: var(--header-bg);
}

.footer-nav .nav-list li+li::before {
    content: '';
    width: 1px;
    height: 1em;
    background: currentColor;
    opacity: 0.5;
    margin: 0 5px;
}

.footer-nav .nav-list {
    display: flex;
    align-items: center;
}

.footer-nav .nav-list a {
    color: var(--menu-text);
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* ============================================
   Responsive: fluid to mobile, hamburger
   ============================================ */
@media (max-width: 1196px) {
    .hero-overlay {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        padding: 2rem 1.5rem;
        gap: 2rem;
    }

    .hero-right-block {
        grid-column: 1;
        grid-row: 1;
        justify-self: center;
        max-width: 100%;
        margin-top: 2rem;
        margin-left: 0;
    }

    .meet-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .meet-text {
        order: 1;
    }

    .meet-video-wrap {
        order: 2;
        grid-column: 1;
        justify-content: center;
    }

    .discuss-split {
        grid-template-columns: 1fr;
    }

    .discuss-right {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 1196px) {
    .menu-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--header-bg);
        padding: 1rem;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    }

    .main-nav.is-open {
        display: block;
        width: 100%;
        animation: menuFadeDown 0.3s ease-out forwards;
    }

    @keyframes menuFadeDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .nav-list {
        display: block;
        width: 100%;
        padding: 0;
    }

    .nav-list li+li::before {
        display: none;
    }

    .nav-list li {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        width: 100%;
        background: transparent;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

    .nav-list li:last-child {
        border-bottom: none;
    }

    .nav-list a {
        display: block;
        padding: 0.75rem;
        flex: 1;
        min-width: 0;
    }

    .main-nav .nav-list a.active {
        background: transparent !important;
        font-weight: 700;
    }

    /* Animations: ONLY for main-nav */
    .main-nav.is-open .nav-list li {
        animation: staggerIn 0.4s ease forwards;
        opacity: 0; /* Only header starts hidden */
        transform: translateX(-5px);
    }

    @keyframes staggerIn {
        to { opacity: 1; transform: translateX(0); }
    }

    .main-nav.is-open .nav-list li:nth-child(1) { animation-delay: 0.05s; }
    .main-nav.is-open .nav-list li:nth-child(2) { animation-delay: 0.1s; }
    .main-nav.is-open .nav-list li:nth-child(3) { animation-delay: 0.15s; }
    .main-nav.is-open .nav-list li:nth-child(4) { animation-delay: 0.2s; }
    .main-nav.is-open .nav-list li:nth-child(5) { animation-delay: 0.25s; }
    .main-nav.is-open .nav-list li:nth-child(6) { animation-delay: 0.3s; }

    /* Submenus on mobile - Accordion effect */
    .dropdown-menu {
        display: block;
        max-height: 0;
        overflow: hidden;
        position: static;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.03);
        padding: 0 1rem; /* Set vertical padding to 0 initially */
        border: none;
        width: 100%;
        min-width: auto;
        transition: max-height 0.35s ease-out, padding 0.35s ease;
    }

    .has-dropdown.is-submenu-open > .dropdown-menu {
        max-height: 500px; /* Large enough for the list */
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .dropdown-menu a {
        border-bottom: none !important;
        padding: 0.5rem 0.75rem !important;
        font-size: 13px !important;
    }

    .mobile-dropdown-toggle {
        display: block;
        width: 44px;
        height: 44px;
        background: transparent;
        border: none;
        position: relative;
        cursor: pointer;
    }

    .mobile-dropdown-toggle::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 8px;
        height: 8px;
        border-right: 2px solid var(--menu-text);
        border-bottom: 2px solid var(--menu-text);
        transform: translate(-50%, -70%) rotate(45deg);
        transition: transform 0.2s ease;
    }

    .has-dropdown.is-submenu-open > .mobile-dropdown-toggle::after {
        transform: translate(-50%, -20%) rotate(-135deg);
    }

    .lang-switcher {
        justify-content: center;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        width: 100%;
        display: flex;
    }

    .lang-switcher a {
        font-size: 15px;
        padding: 5px 10px;
    }

    /* Disable hover display on mobile */
    .has-dropdown:hover .dropdown-menu {
        display: none;
    }

    .has-dropdown.is-submenu-open:hover .dropdown-menu {
        display: block;
    }

    .hero-overlay {
        min-height: 70vh;
    }

    .hero-ctas {
        justify-content: center;
    }

    .blocks-grid {
        grid-template-columns: 1fr;
    }

    .contact-inner {
        justify-content: center;
    }

    .contact-label,
    .contact-details {
        text-align: center;
    }

    .contact-details {
        align-items: center;
    }

    .contact-social {
        justify-content: center;
    }

    .contact-cta-graphic {
        display: none;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-nav .nav-list {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Inner page content */
.page-content {
    min-height: 50vh;
}

.content-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.content-section h1 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    margin: 0 0 1rem;
}

.content-section.block-psychotherapy {
    background: var(--block-psycho-bg);
    color: var(--meet-text);
}

.content-section.block-psychotherapy h1 {
    color: var(--meet-heading);
}

.content-section.block-workshops {
    background: var(--block-workshops-bg);
    color: var(--meet-text);
}

.content-section.block-workshops h1 {
    color: var(--hero-overlay-text);
}

.services-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.services-links a {
    font-size: 1.1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.video-wrap {
    margin-top: 1rem;
}

.content-video {
    width: 100%;
    max-width: 800px;
    border-radius: 8px;
}

@media (max-width: 1196px) {
    .hero-ctas {

        align-items: center;
    }

    .site-header,
    .site-footer {
        padding-left: 0;
        padding-right: 0;
    }
}

/* ----- Services Card Section ----- */
.services {
    padding: 50px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 400px;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.service-column {
    display: flex;
    flex-direction: column;
}

.service-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 960 / 335;
}

.service-card-bg1 {
    background-color: #8BAAC7;
}

.service-card-bg2 {
    background-color: #A87C5E;
}

.service-card-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.3;
}

.service-card-overlay.bg1 {
    background-color: #8BAAC7;
}

.service-card-overlay.bg2 {
    background-color: #A87C5E;
}

.service-card-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.service-card-content {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 10;
    width: 100%;
    padding: 1.5rem 1.5rem 2rem 1.5rem;
}

.service-card-ctas {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.service-card-bg2 .service-card-ctas {
    justify-content: center;
}

@media (min-width: 768px) {
    .service-card-content {
        padding: 2rem 2.5rem;
    }

    .service-card-ctas {
        gap: 2.5rem;
    }
}

.service-card-cta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
}

.service-card-cta-icon {
    color: #EB5B38;
}

.service-card-cta-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    color: #1f2937;
}

.service-card-bg2 .service-card-cta-label {
    color: #fff;
}

.service-card-desc-wrap {
    width: 100%;
    max-width: 32rem;
    margin: 1.5rem auto 2rem auto;
    padding: 0 1rem;
}

.service-card-desc {
    font-size: 0.875rem;
    color: #4b5563;
    text-align: center;
    line-height: 1.625;
}

.service-card-image-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ceba96;
    font-size: clamp(1.8rem, 3vw, 3rem);
    font-weight: 700;
    text-transform: lowercase;
    text-align: center;
    width: 90%;
    pointer-events: none;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 5;
}

/* ----- Services Page Grid (Redesign) ----- */
.services-page-grid {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
}

@media (min-width: 1197px) {
    .services-page-grid {
        grid-template-columns: repeat(2, 1fr);
        margin: 50px 0;
    }
}

.services-page-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.services-page-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: block;
    aspect-ratio: 960 / 335;
}

.services-page-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.services-page-banner:hover img {
    transform: scale(1.05);
}

.services-page-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ceba96;
    font-size: clamp(1.8rem, 3vw, 3rem);
    font-weight: 700;
    text-transform: lowercase;
    text-align: center;
    width: 90%;
    pointer-events: none;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.services-page-desc {
    padding: 2rem;
    max-width: 500px;
    text-align: center;
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
    line-height: 1.5;
}

/* ----- FAQ module ----- */
.faq-section {
    width: 100%;
    background-color: #ffffff;
    padding: 3rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.faq-inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    gap: 1rem;
}

@media (min-width: 768px) {
    .faq-inner {
        padding: 0 2rem;
    }
}

.faq-arrow {
    color: #D0C5B3;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.3s;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.faq-arrow:hover {
    color: #bdae98;
}

.faq-arrow:focus {
    outline: none;
}

.faq-arrow svg {
    stroke: currentColor;
    width: 40px;
    height: 40px;
}

@media (min-width: 768px) {
    .faq-arrow svg {
        width: 60px;
        height: 60px;
    }
}

.faq-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    margin: 0 1rem;
    gap: 2rem;
}

@media (min-width: 1197px) {
    .faq-content {
        flex-direction: row;
        margin: 0 3rem;
        gap: 4rem;
    }
}

.faq-image-wrap {
    flex-shrink: 0;
}

.faq-image {
    width: 100%;
    max-width: 350px;
    height: auto;
    object-fit: contain;
}

@media (min-width: 768px) {
    .faq-image {
        max-width: 470px;
    }
}

.faq-text-wrap {
    flex: 1;
    max-width: 42rem;
    text-align: left;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.faq-question {
    color: #E7A862;
    font-weight: 300;
    font-size: 1.125rem;
    line-height: 1.375;
    margin: 0 0 1rem 0;
    transition: opacity 0.3s;
}

@media (min-width: 768px) {
    .faq-question {
        font-size: 1.25rem;
    }
}

@media (min-width: 1197px) {
    .faq-question {
        font-size: 1.5rem;
    }
}

.faq-answer {
    color: #B3B3B3;
    font-weight: 300;
    font-size: 0.875rem;
    line-height: 1.625;
    margin: 0;
    transition: opacity 0.3s;
}

@media (min-width: 768px) {
    .faq-answer {
        font-size: 1rem;
    }
}

@media (min-width: 1197px) {
    .faq-answer {
        font-size: 1.125rem;
    }
}

/* ----- Contact Action Banner ----- */
.contact-action-banner {
    background-color: #000;
    padding: 3rem 1.5rem;
    display: flex;
    justify-content: center;
    max-width: 1700px;
    margin: 2rem auto;
}

.contact-action-banner-inner {
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.contact-action-ctas {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-action-desc {
    color: #cbbc9f;
    font-size: 1rem;
    text-align: center;
    margin: 0;
    line-height: 1.5;
    font-family: inherit;
}

/* ----- Bio Category Grid (Category View) ----- */
.bio-category-grid {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
	margin: 50px 0;
}

@media (min-width: 1197px) {
    .bio-category-grid {
        grid-template-columns: repeat(2, 1fr);
        margin: 50px 0;
    }
}

.bio-category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bio-publications-item {
    grid-column: 1 / -1;
}

.bio-category-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: block;
    aspect-ratio: 960 / 333;
}

.bio-publications-item .bio-category-banner {
    aspect-ratio: 1920 / 336;
}

.bio-category-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.bio-category-banner:hover img {
    transform: scale(1.05);
}

.bio-category-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ceba96;
    /* Matching the mockup beige/gold color */
    font-size: clamp(1.8rem, 3vw, 3rem);
    font-weight: 400;
    text-transform: uppercase;
    text-align: center;
    width: 90%;
    pointer-events: none;
    
}

.bio-category-desc {
    padding: 2rem;
    max-width: 500px;
    text-align: center;
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
    line-height: 1.5;
}

/* ----- Bio Promo Section (Individual Bio Pages) ----- */
.bio-promo-section {
    background-color: #fff;
    padding: 3rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.bio-promo-container {
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 900px) {
    .bio-promo-container {
        grid-template-columns: 1fr 1fr;
    }
}

.bio-promo-left {
    background-color: #7d856b;
    padding: 3rem 4rem;
    color: #eae9e4;
    font-size: 1rem;
    line-height: 1.8;
}

.bio-promo-left p {
    margin: 0;
}

.bio-promo-right {
    background-color: #5c5d51;
    padding: 3rem 4rem;
    color: #eae9e4;
    font-size: 1rem;
    line-height: 1.8;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.bio-promo-right h3 {
    font-size: 1.4rem;
    margin: 0;
    text-transform: uppercase;
    font-weight: 700;
}

.bio-promo-right p {
    margin: 0;
}

.bio-promo-ctas {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* ----- Publications Promo Section ----- */
.publications-promo-section {
    background-color: #fff;
    padding: 3rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.publications-promo-container {
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 900px) {
    .publications-promo-container {
        grid-template-columns: 1fr 1fr;
    }
}

.publications-promo-left {
    background-color: #7d856b;
    padding: 3rem 4rem;
    color: #eae9e4;
    font-size: 1rem;
    line-height: 1.8;
}

.publications-promo-left p {
    margin: 0;
}

.publications-promo-right {
    background-color: #5c5d51;
    padding: 3rem 4rem;
    color: #eae9e4;
    font-size: 1rem;
    line-height: 1.8;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.publications-promo-right p {
    margin: 0;
}

.publications-promo-right h3 {
    color: #ceba96;
    font-size: 1.4rem;
    margin: 2rem 0 1rem;
    text-transform: uppercase;
    font-weight: 700;
}

.publications-promo-right h3:first-child {
    margin-top: 0;
}

.publications-promo-right ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.publications-promo-right li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.publications-promo-right li::before,
.bio-promo-right li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #ceba96;
    font-weight: bold;
}

.bio-promo-right h3 {
    font-size: 1.4rem;
    margin: 0;
    text-transform: uppercase;
    font-weight: 700;
}

.bio-promo-right ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
}

.bio-promo-right li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.publications-promo-ctas {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.publications-promo-ctas .hero-cta-item {
    color: #000;
}

.publications-promo-ctas .hero-cta-item:hover {
    color: #ceba96;
}

.exp-item {
    margin-bottom: 0;
}

.exp-item strong {
    color: #ceba96;
    font-size: 1.1rem;
}

.exp-item ul {
    margin-top: 0.5rem;
}

/* ----- Important Info Page Hero Customizations ----- */
.hero-important {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 50vh;
    overflow: hidden;
    padding-top: 120px;
    padding-bottom: 60px;
    z-index: 1;
}

.hero-important-bg-layer {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-color: #000000;
}

.hero-important-top-content {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 0 5%;
    margin-top: -48px;
}

.hero-important-img-top {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* ----- Important Info Page ----- */
.ii-section {
    background: #000000;
    color: #ffffff;
    padding: 6rem 2rem;
}

.ii-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.ii-block {
    display: flex;
    flex-direction: column;
}

.ii-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: flex-start;
}

.ii-left {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.ii-title {
    color: #dfcdb4;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 300;
    text-transform: uppercase;
    text-align: left;
    margin: 0 0 1rem 6rem;
    letter-spacing: 0.05em;
}

.ii-subtitle {
    color: #fff;
    font-size: 1.9rem;
    font-style: italic;
    text-align: right;
    line-height: 1.5;
    margin: 0;
    font-weight: 300;
}

.ii-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
}

.ii-desc {
    color: #666666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.ii-desc ul {
    margin: 0.5rem 0 1rem 0;
    padding-left: 1.5rem;
}

.ii-desc li {
    margin-bottom: 0.25rem;
}

@media (max-width: 900px) {
    .ii-row {
        grid-template-columns: 1fr;
    }

    .ii-subtitle {
        text-align: left;
    }
}

/* ----- Psychotherapy Page ----- */
.pty-sections {
    background: #ffffff;
    width: 100%;
}

.pty-block {
    display: flex;
    flex-direction: column;
}

.pty-header {
    width: 100%;
}

.pty-c1 .pty-header {
    background-color: #ba7676;
}

.pty-c2 .pty-header {
    background-color: #797c76;
}

.pty-c3 .pty-header {
    background-color: #8f9b6c;
}

.pty-c4 .pty-header {
    background-color: #da5828;
}

.pty-c5 .pty-header {
    background-color: #ad7d21;
}

.pty-c6 .pty-header {
    background-color: #6a95b5;
}

.pty-header-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0.5rem 1.5rem;
    position: relative;
    min-height: 70px;
}

.pty-title {
    color: #e5e4de;
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    font-weight: 300;
    text-transform: uppercase;
    margin: 0;
    text-align: center;
    flex-grow: 1;
}

.pty-icons {
    display: flex;
    gap: 0.5rem;
    position: absolute;
    right: 1.5rem;
}

.pty-icons img {
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.pty-icons img:hover {
    opacity: 0.8;
}

.pty-content {
    background: repeating-linear-gradient(-45deg, rgb(0 0 0 / 1%), rgba(0, 0, 0, 0.08) 1px, #ffffff 1px, #ffffff 4px);
    padding: 4rem 1.5rem;
}

.pty-content-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 900px) {
    .pty-content-inner {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.pty-left {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

.pty-subtitle {
    font-size: 1.15rem;
    font-style: italic;
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
    text-align: right;
    max-width: 500px;
}

/* Match subtitle to header colors */
.pty-c1 .pty-subtitle {
    color: #ba7676;
}

.pty-c2 .pty-subtitle {
    color: #555555;
}

.pty-c3 .pty-subtitle {
    color: #8f9b6c;
}

.pty-c4 .pty-subtitle {
    color: #da5828;
}

.pty-c5 .pty-subtitle {
    color: #ad7d21;
}

.pty-c6 .pty-subtitle {
    color: #6a95b5;
}

.pty-right {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
}

.pty-desc {
    color: #a0a0a0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.pty-left .pty-desc {
    text-align: right;
    max-width: 500px;
}

.pty-desc ul {
    list-style: inside;
    margin: 0.5rem 0 1rem 0;
    padding-left: 0.5rem;
}

.pty-desc li {
    margin-bottom: 0.5rem;
}

.pty-separator {
    height: 60px;
    width: 100%;
    background: repeating-linear-gradient(-45deg, rgb(0 0 0 / 40%), rgba(0, 0, 0, 0.08) 1px, #ffffff 1px, #ffffff 4px);
}

.pty-middle-contact {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem 1.5rem;
    width: 100%;
    background: repeating-linear-gradient(-45deg,
            rgba(0, 0, 0, 0.03),
            rgba(0, 0, 0, 0.03) 1px,
            #ffffff 1px,
            #ffffff 4px);
}

.pty-middle-contact-link {
    display: block;
    width: 100%;
    max-width: 1300px;
    transition: transform 0.2s ease;
}

.pty-middle-contact-link:hover {
    transform: scale(1.02);
}

.pty-middle-contact-img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Workshops header colors */
.wst-c1 .pty-header {
    background-color: #a5937d;
}

.wst-c2 .pty-header {
    background-color: #8ca391;
}

.wst-c3 .pty-header {
    background-color: #8c904e;
}

.wst-c4 .pty-header {
    background-color: #dc4e29;
}

.wst-c5 .pty-header {
    background-color: #565656;
}

.wst-c6 .pty-header {
    background-color: #5a806c;
}

.wst-c7 .pty-header {
    background-color: #4a6372;
}

/* Workshops subtitle colors */
.wst-c1 .pty-subtitle {
    color: #a5937d;
}

.wst-c2 .pty-subtitle {
    color: #8ca391;
}

.wst-c3 .pty-subtitle {
    color: #8c904e;
}

.wst-c4 .pty-subtitle {
    color: #dc4e29;
}

.wst-c5 .pty-subtitle {
    color: #565656;
}

.wst-c6 .pty-subtitle {
    color: #5a806c;
}

.wst-c7 .pty-subtitle {
    color: #4a6372;
}

/* ----- Cross Cultural Page ----- */
.cc-top-section {
    width: 100%;
    max-width: 1320px;
    margin: 4rem auto;
    background-color: #eae9e4;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    justify-content: center;
}

.cc-top-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1320px;
    min-height: 450px;
}

.cc-top-left {
    flex: 6;
    position: relative;
    min-height: 400px;
}

.cc-top-right {
    flex: 2;
    background-color: rgba(205, 125, 114, 0.85);
    padding: 64px 30px;
    display: flex;
    margin-right: 40px;
    align-items: center;
}

.cc-top-quote {
    color: #f5f0e6;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 300;
    line-height: 1.5;
    text-align: right;
    margin: 0;
}

.cc-bottom-section {
    background-color: #3b849b;
    padding: 5rem 2rem;
    width: 100%;
}

.cc-bottom-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media(min-width: 900px) {
    .cc-top-inner {
        flex-direction: row;
    }

    .cc-bottom-container {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }
}

.cc-bottom-col {
    display: flex;
    flex-direction: column;
}

.cc-bottom-col p {
    color: #ffffff;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
    font-weight: 300;
}

.os-custom-section {
    position: relative;
    width: 100%;
    min-height: 750px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.os-custom-top {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 2rem 5%;
}

.os-custom-title {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 400;
    text-transform: uppercase;
    max-width: 300px;
    text-align: right;
    margin-top: -100px;
}

.os-custom-band {
    background-color: #7a685029;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: right;
    padding: 1.5rem;
}

.os-custom-band-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    width: 100%;
    gap: 2rem;
}

.os-custom-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.os-brand-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.os-brand-cta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
}

.os-brand-cta-item:hover {
    color: #f0f0f0;
}

.os-brand-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.os-brand-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.os-custom-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid #e07c3c;
    transition: transform 0.2s ease, background-color 0.2s;
}

.os-custom-icons a:hover {
    transform: scale(1.1);
    background-color: rgba(224, 124, 60, 0.2);
}

.os-custom-icons img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.os-custom-text {
    color: #e0dcd5;
    font-size: clamp(1rem, 1.2vw, 1.25rem);
    margin: 0;
    font-weight: 300;
    max-width: 600px;
}

@media (max-width: 768px) {
    .os-custom-section {
        min-height: auto;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        position: relative;
		margin-top: 25px;
		
    }

    .os-custom-bg {
        background-image: url('../../images/mobile/A_mobile_REDESIGN_ON_LINE_SESSIONS.jpg') !important;
        position: relative !important;
        inset: auto !important;
        width: 100% !important;
        aspect-ratio: 500 / 625; /* Aspect ratio from the redesign image */
        background-size: cover;
        background-position: center;
        z-index: 1 !important;
    }

    .os-custom-top {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: auto;
        /* Calculate parent height or just overlay it on the relative BG */
        /* To keep it precise, we'll use the absolute position relative to the section, but only covering the BG part */
        padding: 1.5rem 5%;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: flex-end;
        background: transparent;
        z-index: 2;
        /* To make it sit precisely where the orange BG ends, we'll set the height to the aspect-ratio of the BG */
        aspect-ratio: 502 / 517;
        box-sizing: border-box;
    }

    .os-custom-title {
        color: #ffffff;
        font-size: 1.15rem;
        font-weight: 400;
        text-transform: none;
        max-width: 100%;
        text-align: right;
        margin: 0;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    }

    .os-custom-title strong {
        display: block;
        font-size: 1.9rem;
        font-weight: 700;
        margin-bottom: 0.15rem;
    }

    .os-custom-band {
        background-color: #7a6850;
        min-height: auto;
        padding: 2rem 1rem;
        z-index: 3;
        position: relative;
        justify-content: center;
    }

    .os-custom-band-inner {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        text-align: right;
        gap: 2rem;
    }

    .os-brand-icons {
        gap: 1.5rem;
        justify-content: center;
        flex: 1;
        min-width: 250px;
    }

    .os-custom-text {
        text-align: right;
        max-width: 100%;
        flex: 1.5;
        font-size: 1.05rem;
        min-width: 280px;
    }

    /* Cross Cultural Page Mobile */
    .cc-top-section {
        background-image: url('../../images/mobile/mobile_GLASSES_GIF.gif') !important;
        margin: 2rem 0;
        max-width: 100%;
        height: auto;
    }

    .cc-top-inner {
        min-height: auto;
    }

    .cc-top-left {
        min-height: 400px; /* Space for the GIF */
        flex: none;
    }

    .cc-top-right {
        margin-right: 0;
        width: 100%;
        flex: none;
        padding: 40px 20px;
        justify-content: center;
    }

    .cc-top-quote {
        text-align: center;
    }
}

.os-text-section {
    padding: 5rem 2rem;
    background-color: #ffffff;
}

.os-text-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.os-text-col p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #444;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.os-text-col p:last-child {
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .os-text-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .online-sessions-ctas {
        display: none !important;
    }

    .online-sessions-band-inner {
        justify-content: center !important;
    }

    .online-sessions-icons {
        justify-content: center !important;
        width: 100% !important;
    }
}

/* ----- Tablet Responsiveness (1024px and smaller) ----- */
@media (max-width: 1196px) {

    /* Page-specific Hero Image Overrides */
    .body-home .hero-gif-wrap .hero-gif {
        content: url('../../images/tablet-1024/1024X600-index-tablet.gif') !important;
		margin-top: -5%;
    }

    .body-bio .hero-gif-wrap .hero-gif {
        content: url('../../images/tablet-1024/1024X600_REDESIGN_BIO_P_AKRIVOS.jpg') !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    .body-short_bio .hero-gif-wrap .hero-gif {
        content: url('../../images/tablet-1024/1024X600_REDESIGN_SHORT-BIO_P_AKRIVOS.jpg') !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    .body-extended_bio .hero-gif-wrap .hero-gif {
        content: url('../../images/tablet-1024/1024X600_REDESIGN_EXTENDED_BIO_P_AKRIVOS.jpg') !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    .body-cross_cultural .hero-gif-wrap .hero-gif {
        content: url('../../images/tablet-1024/1024X600_REDESIGN_CROSS_CULTURAL_COUNSELLING.jpg') !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    .body-online_sessions .hero-gif-wrap .hero-gif {
        content: url('../../images/ON_LINE_SESSIONS.gif') !important;
    }

    .body-important_info .hero-gif-wrap .hero-gif {
        content: url('../../images/headers/1920X800_KEYVISUAL_REDESIGN_IMPORTANT_INFO.jpg') !important;
    }

    .body-services .hero-gif-wrap .hero-gif {
        content: url('../../images/tablet-1024/1024X600_REDESIGN_SERVICES.jpg') !important;
    }

    .body-psychotherapy .hero-gif-wrap .hero-gif {
        content: url('../../images/tablet-1024/1024X600_REDESIGN_PSYHOTHERAPY.jpg') !important;
    }

    .body-workshops .hero-gif-wrap .hero-gif {
        content: url('../../images/tablet-1024/1024X600_REDESIGN_WORKSHOPS.jpg') !important;
    }

    .body-publications .hero-gif-wrap .hero-gif {
        content: url('../../images/tablet-1024/1024X600_REDESIGN_PUBLICATIONS_P_AKRIVOS.jpg') !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    .online-sessions-section {
        display: flex !important;
        flex-direction: column !important;
        min-height: 0 !important;
        background-color: #6b7b6b;
    }

    .online-sessions-bg {
        background-image: url('../../images/tablet-1024/1024X768_ONLINE_SESSIONS.jpg') !important;
        background-size: cover !important;
        background-position: center !important;
        position: relative !important;
        inset: auto !important;
        width: 100% !important;
        aspect-ratio: 1024 / 768 !important;
    }

    .online-sessions-band {
        position: static !important;
        width: 100% !important;
        background-color: #596c7a !important;
        min-height: auto !important;
    }

    /* Target the background class if used for general sections */
    .background {
        background-image: url('../../images/tablet-1024/BACKROUND_1024X768_PC.jpg') !important;
        background-size: cover !important;
        background-position: center !important;
    }

    .meet-section {
        background-image: url('../../images/tablet-1024/BACKROUND_1024X768_PC.jpg') !important;
        background-size: cover !important;
        background-position: center !important;
    }

    /* Service Cards (Left and Right) */
    .service-card-bg1 .service-card-image {
        background-image: url('../../images/tablet-1024/872X304_PSYHOTHERAPY.jpg') !important;
        background-size: cover !important;
        background-position: center !important;
    }

    .service-card-bg2 .service-card-image {
        background-image: url('../../images/tablet-1024/872X304_WORKSSHOPS.jpg') !important;
        background-size: cover !important;
        background-position: center !important;
    }

    .index-middle-contact .index-middle-contact-img {
        content: url('../../images/tablet-1024/1024X454_CONTACT-ME.jpg');
    }

    .index-bio-section {
        background-image: url('../../images/tablet-1024/1024X454_BIO.jpg') !important;
        background-size: cover !important;
        background-position: center !important;
        max-width: 1024px;
        aspect-ratio: 1024 / 426;
    }

    .index-discuss-section .index-discuss-section-img {
        content: url("../../images/tablet-1024/1024X445_LET'S_DISCUSS.jpg");
        max-width: 1024px;
        aspect-ratio: 1024 / 426;
    }

    .faq-image-wrap .faq-image {
        content: url('../../images/tablet-1024/485X180_FAQ.jpg');
    }

    .bio-publications-item .bio-category-banner img {
        content: url('../../images/tablet-1024/1024X336_PUBLICATIONS.jpg') !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    .bio-publications-item .bio-category-banner {
        aspect-ratio: 1024 / 336 !important;
    }

    .contact-section {
        background-image: url('../../images/tablet-1024/1024X515_CONTACT.jpg') !important;
        background-size: cover !important;
        background-position: center !important;
        max-width: 1024px;
        aspect-ratio: 1024 / 515;
        margin: 0 auto;
        /* Keep it centered as it has max-width now */
    }

    .contact-label {
        text-align: right !important;
        max-width: 350px;
        margin-left: auto !important;
    }

    .contact-details {
        text-align: right !important;
        max-width: 350px;
        margin-left: auto !important;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }

    /* Layout Positioning Fixes */
    .hero {
        margin-top: 0;
        /* Remove negative margin if it interferes on tablet */
    }

    .hero-overlay {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
        text-align: center;
        padding: 2rem;
        inset: auto 0 0 0;
        /* Align to bottom */
        height: auto;
        min-height: 400px;
        /* Ensure space for the gif background content */
    }

    .hero-right-block {
        grid-column: auto;
        margin: 0 auto;
        max-width: 100%;
        align-items: center;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-descriptive {
        font-size: 1rem;
        max-width: 600px;
    }

    /* Page-specific homepage overlay (move below GIF) */
    .page-home .hero-overlay {
        position: static;
        /* Forces it into a separate line after the GIF wrap */
        min-height: 0;
        background-color: var(--hero-bg-fallback, #8A968E);
        padding: 3rem 1.5rem;
        width: 100%;
        max-width: 100%;
    }

    .page-home .hero-right-block {
        margin: 0 auto;
    }
}

/* Contact Locations Section */
.contact-location-section {
    padding: 3rem 0;
    background: #fff;
}

.contact-location-inner {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    gap: 2rem;
}

.contact-location-column {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.location-details {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.location-details a {
    color: var(--cta-blue);
    text-decoration: none;
    font-weight: 500;
}

.location-details a:hover {
    text-decoration: underline;
}

.location-map {
    width: 100%;
    /* Overflow hidden for rounded corners if desired, but iframe is 600px */
}

@media (max-width: 1024px) {
    .contact-location-inner {
        flex-direction: column;
    }
}

@media (max-width: 550px) {
    .pty-title {
        text-align: left !important;
		max-width: 75%;
    }
}

/* Mobile-specific overrides for screens below 500px */
@media (max-width: 500px) {
    .index-middle-contact .index-middle-contact-img,
    .pty-middle-contact .pty-middle-contact-img {
        content: url('../../images/mobile/500X700_CONTACT-ME.jpg') !important;
        aspect-ratio: 500 / 700 !important;
    }

    .online-sessions-bg {
        background-image: url('../../images/mobile/500X615_ONLINE_SESSIONS.jpg') !important;
        background-size: cover !important;
        background-position: center !important;
        aspect-ratio: 500 / 615 !important;
    }

    .index-discuss-section .index-discuss-section-img {
        content: url("../../images/mobile/500X250_REDESIGN_LET'S-DISCUSS.jpg") !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 500 / 250 !important;
        object-fit: cover !important;
        object-position: center !important;
    }
}

/* Mobile-specific hero gif for the home page */
@media (max-width: 700px) {
    .body-home .hero-gif-wrap .hero-gif {
        content: url('../../images/mobile/index-MOBILE.gif') !important;
        margin-top: -20%;
		aspect-ratio: 500 / 500;
    }

    .body-bio .hero-gif-wrap .hero-gif {
        content: url('../../images/mobile/500X600_REDESIGN_BIO_P_AKRIVOS.jpg') !important;
        aspect-ratio: 500 / 600 !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    .body-short_bio .hero-gif-wrap .hero-gif {
        content: url('../../images/mobile/500X600_REDESIGN_SHORT-BIO_P_AKRIVOS.jpg') !important;
        aspect-ratio: 500 / 600 !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    .body-extended_bio .hero-gif-wrap .hero-gif {
        content: url('../../images/mobile/500X600_REDESIGN_EXTENDED-BIO_P_AKRIVOS.jpg') !important;
        aspect-ratio: 500 / 600 !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    .body-publications .hero-gif-wrap .hero-gif {
        content: url('../../images/mobile/500X600_REDESIGN_PUBLICATIONS_P_AKRIVOS.jpg') !important;
        aspect-ratio: 500 / 600 !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    .bio-publications-item .bio-category-banner img {
        content: url('../../images/mobile/500X336_PUBLICATIONS.jpg') !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    .bio-publications-item .bio-category-banner {
        aspect-ratio: 500 / 336 !important;
    }

    .body-services .hero-gif-wrap .hero-gif {
        content: url('../../images/mobile/500X600_REDESIGN_SERVICES.jpg') !important;
        aspect-ratio: 500 / 600 !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    .body-psychotherapy .hero-gif-wrap .hero-gif {
        content: url('../../images/mobile/500X600_REDESIGN_PSYHOTHERAPY.jpg') !important;
        aspect-ratio: 500 / 600 !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    .body-workshops .hero-gif-wrap .hero-gif {
        content: url('../../images/mobile/500X600_REDESIGN_WORKSHOPS.jpg') !important;
        aspect-ratio: 500 / 600 !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    .body-cross_cultural .hero-gif-wrap .hero-gif {
        content: url('../../images/mobile/500X600_REDESIGN_CROSS_CULTURAL_COUNSELLING.jpg') !important;
        aspect-ratio: 500 / 600 !important;
        object-fit: cover !important;
        object-position: center !important;
    }
	
	.body-important_info .hero-gif-wrap .hero-gif {
        content: url('../../images/mobile/mobile_500X600_important_info.jpg') !important;
        aspect-ratio: 500 / 600 !important;
        object-fit: cover !important;
        object-position: center !important;
    }

	.body-online_sessions .hero-gif-wrap .hero-gif {
        content: url(../../images/mobile/mobile_REDESIGN_ON_LINE_SESSIONS.gif) !important;
		margin-top: -20%;
		aspect-ratio: 500 / 500;
    }
	
	
	
	
}