/*
 Theme Name:   PSYQUILIBRE PLATFORM
 Description:  Child theme for Hello Elementor
 Author:       MAB
 Template:     hello-elementor
 Version:      1.0.0
*/

:root {
    --psy-carbon-black: #222222;
    --psy-stormy-teal: #006A7B;
    --psy-cool-steel: #A1A6B4;
    --psy-amber-gold: #FCBD1B;
    --psy-bright-snow: #F8F8F8;
    --psy-white: #ffffff;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* ==========================================================================
   Floating Sticky Header (Pill Shape & Glassmorphism)
   ========================================================================== */

.psy-floating-header-wrapper {
    position: fixed;
    top: 20px;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 999;
    display: flex;
    justify-content: center;
    padding: 0 20px;
    transition: top 0.3s ease;
    
    /* Modern Entry Animation */
    opacity: 0;
    transform: translateY(-30px);
    animation: headerEntry 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

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

/* The Pill Shape Header */
.psy-floating-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 50px;
    padding: 15px 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid transparent;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    z-index: 1;
    background-clip: padding-box;
}

.psy-floating-header::before {
    content: "";
    position: absolute;
    inset: -1px; /* 1px border thickness */
    border-radius: 51px; /* slightly larger to match */
    z-index: -1;
    background: radial-gradient(
        250px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        var(--psy-amber-gold) 0%,
        transparent 60%
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 1px; /* 1px border thickness */
    opacity: 0;
    transition: opacity 0.4s ease;
}

.psy-floating-header:hover::before {
    opacity: 1;
}

@property --border-angle {
    syntax: "<angle>";
    inherits: true;
    initial-value: 0turn;
}

/* One-time loading border spin effect */
.psy-floating-header::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 51px;
    z-index: -1;
    background: conic-gradient(
        from var(--border-angle),
        transparent 0%,
        var(--psy-amber-gold) 30%,
        transparent 60%
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 1px;
    opacity: 0;
    pointer-events: none;
    /* Delays start to let header enter first */
    animation: borderSpinLoad 1.5s ease-in-out 0.5s forwards;
}

@keyframes borderSpinLoad {
    0% {
        --border-angle: 0turn;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        --border-angle: 1turn;
        opacity: 0;
    }
}

/* Scrolled State (Glassmorphism & Shrink) */
.psy-floating-header-wrapper.is-scrolled {
    top: 10px; /* Moves slightly up */
}
.psy-floating-header-wrapper.is-scrolled .psy-floating-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    padding: 10px 30px; /* Shrinks vertically */
}

/* Logo */
.psy-header-logo img {
    height: 40px;
    width: auto;
    transition: height 0.3s ease;
}
.psy-floating-header-wrapper.is-scrolled .psy-header-logo img {
    height: 35px; /* Logo shrinks slightly */
}

/* Navigation Links */
.psy-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}
.psy-menu li a {
    text-decoration: none;
    color: var(--psy-stormy-teal);
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s ease;
}
.psy-menu li a:hover {
    color: var(--psy-amber-gold);
}

/* Actions Area */
.psy-header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* "Mon compte" Button */
.psy-btn-account {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 30px;
    border: 1.5px solid var(--psy-stormy-teal);
    color: var(--psy-stormy-teal);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}
.psy-btn-account:hover {
    background: var(--psy-stormy-teal);
    color: var(--psy-white);
}

/* Search and Profile Buttons styling */
.psy-btn-search,
.psy-btn-account-icon {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    color: var(--psy-stormy-teal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.2s ease;
}
.psy-btn-search:hover,
.psy-btn-account-icon:hover {
    background: rgba(0, 106, 123, 0.05);
    color: var(--psy-amber-gold);
}

/* Desktop and Mobile Display classes */
.desktop-only {
    display: inline-flex !important;
}
.mobile-only {
    display: none !important;
}

/* Search Fullscreen Overlay */
.psy-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.psy-search-overlay.active {
    opacity: 1;
    visibility: visible;
}
.psy-search-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: transparent;
    border: none;
    color: var(--psy-stormy-teal);
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}
.psy-search-close:hover {
    background: rgba(0, 106, 123, 0.05);
    transform: rotate(90deg);
    color: var(--psy-amber-gold);
}
.psy-search-container {
    width: 90%;
    max-width: 650px;
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.psy-search-overlay.active .psy-search-container {
    transform: translateY(0);
}
.psy-search-field-wrapper {
    position: relative;
    border-bottom: 2.5px solid var(--psy-stormy-teal);
    padding-bottom: 12px;
    display: flex;
    align-items: center;
}
.psy-search-input {
    width: 100%;
    background: transparent;
    border: none;
    font-size: 28px;
    font-weight: 700;
    color: var(--psy-stormy-teal);
    outline: none;
    padding-right: 50px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.psy-search-input::placeholder {
    color: rgba(0, 106, 123, 0.25);
}
.psy-search-submit-btn {
    position: absolute;
    right: 0;
    background: transparent;
    border: none;
    color: var(--psy-stormy-teal);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s ease;
}
.psy-search-submit-btn:hover {
    color: var(--psy-amber-gold);
    transform: scale(1.1);
}
.psy-search-hint {
    font-size: 13px;
    color: var(--psy-cool-steel);
    margin-top: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Burger Icon (Hidden on Desktop) */
.psy-burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}
.psy-burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--psy-stormy-teal);
    border-radius: 2px;
    transition: all 0.3s ease;
}
/* Burger Animation */
.psy-burger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.psy-burger.active span:nth-child(2) {
    opacity: 0;
}
.psy-burger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Overlay Menu */
.psy-mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 998;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}
.psy-mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}
.psy-mobile-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}
.psy-mobile-nav li {
    margin-bottom: 25px;
}
.psy-mobile-nav li a {
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;
    color: var(--psy-stormy-teal);
    transition: color 0.2s ease;
}
.psy-mobile-nav li a:hover {
    color: var(--psy-amber-gold);
}
.psy-mobile-submenu {
    list-style: none;
    padding: 15px 0 0 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.psy-mobile-submenu li a {
    font-size: 18px;
    font-weight: 500;
    color: var(--psy-cool-steel);
}
.psy-mobile-submenu li a:hover {
    color: var(--psy-stormy-teal);
}

/* Prevent body scroll when menu open */
body.no-scroll {
    overflow: hidden;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .psy-menu {
        display: none; /* Hide desktop nav */
    }
    .psy-burger {
        display: flex;
    }
    .psy-floating-header {
        padding: 10px 20px;
    }
    .desktop-only {
        display: none !important;
    }
    .mobile-only {
        display: inline-flex !important;
    }
    .psy-btn-account-icon {
        display: inline-flex !important;
    }
    .psy-header-actions {
        gap: 8px !important;
    }
}

/* ==========================================================================
   Hero Section Styles (New Full-Screen Design)
   ========================================================================== */

.psy-hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: var(--psy-carbon-black);
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    padding: 150px 20px 80px;
    overflow: hidden;
    border-radius: 0 0 40px 40px;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

/* Background Image with Ken Burns effect */
.psy-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://psyquilibre.tn/wp-content/uploads/2026/07/Design-sans-titre-26-1.webp') center/cover no-repeat;
    z-index: 0;
    animation: kenBurns 10s infinite alternate linear;
}

@keyframes kenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

/* Color Grade Overlay - Lightened for dark text readability on white wall */
.psy-hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    /* Soft white gradient to ensure text readability without hiding the image */
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.psy-hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    width: 100%;
}

@media (min-width: 992px) {
    .psy-hero-container {
        grid-template-columns: 1.5fr 1fr; /* Left side wider to fit content easily */
        align-items: end; /* Align items to bottom for the widget */
    }
}

/* Left Column Content */
.psy-hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 650px;
    padding-bottom: 40px;
}

/* The Capsule Tag */
.pioneer-tag {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 106, 123, 0.05);
    border-radius: 50px;
    padding: 8px 16px;
    color: var(--psy-stormy-teal);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 24px;
    align-self: flex-start;
    border: 1px solid rgba(0, 106, 123, 0.2);
    opacity: 0;
    animation: heroFadeIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards, floatTag 4s ease-in-out 0.8s infinite;
}
.pioneer-tag .sparkle {
    margin-right: 6px;
    font-size: 14px;
}

@keyframes floatTag {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes heroFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Main Typography */
.hero-title {
    color: var(--psy-carbon-black);
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0 0 24px 0;
    opacity: 0;
    animation: heroFadeIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.1s forwards;
}
.hero-title-accent {
    font-family: 'Playfair Display', 'Merriweather', serif;
    font-style: italic;
    color: var(--psy-stormy-teal);
    font-weight: 700;
}

.hero-subtitle {
    color: var(--psy-carbon-black);
    font-size: clamp(16px, 2vw, 18px);
    font-weight: 500;
    line-height: 1.6;
    margin: 0 0 40px 0;
    opacity: 0.9;
    max-width: 550px;
    opacity: 0;
    animation: heroFadeIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.2s forwards;
}

/* Buttons */
.cta-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 32px;
    margin-bottom: 60px;
    opacity: 0;
    animation: heroFadeIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.3s forwards;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 99px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--psy-stormy-teal);
    color: var(--psy-bright-snow) !important;
}
.btn-primary:hover {
    background: #008195;
    box-shadow: 0 8px 24px rgba(0, 106, 123, 0.4);
    transform: translateY(-2px);
}
.btn-primary svg {
    margin-left: 8px;
    transition: transform 0.3s ease;
}
.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-secondary {
    background: transparent;
    color: var(--psy-carbon-black) !important;
    padding: 16px 0;
    border: none;
    font-weight: 700;
}
.btn-secondary:hover {
    color: var(--psy-stormy-teal) !important;
}

/* Social Proof Avatars */
.hero-social-proof {
    display: flex;
    align-items: center;
    gap: 16px;
    opacity: 0;
    animation: heroFadeIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.4s forwards;
}
.avatar-group {
    display: flex;
}
.avatar-group img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid var(--psy-bright-snow);
    margin-left: -16px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.avatar-group img:first-child {
    margin-left: 0;
}
.social-proof-text {
    font-size: 14px;
    line-height: 1.4;
    color: var(--psy-carbon-black);
    opacity: 0.9;
}
.social-proof-text strong {
    display: block;
    font-weight: 800;
}

/* Right Glassmorphic Widget */
.hero-widget-container {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    padding-bottom: 40px;
    opacity: 0;
    animation: heroFadeIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.6s forwards;
}
.glass-widget {
    background: rgba(255, 255, 255, 0.65); /* More solid, premium glass */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 32px;
    padding: 32px;
    width: 100%;
    max-width: 340px;
    box-shadow: 0 24px 48px rgba(0, 106, 123, 0.08), inset 0 0 0 1px rgba(255,255,255,0.5);
    position: relative;
    overflow: hidden;
    animation: floatWidget 6s ease-in-out infinite;
}

@keyframes floatWidget {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
/* Shine effect */
.glass-widget::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: shine 6s infinite;
}
@keyframes shine {
    0% { left: -100%; }
    20%, 100% { left: 200%; }
}

.widget-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}
.widget-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--psy-stormy-teal);
    line-height: 1;
    letter-spacing: -0.03em;
}
.widget-label {
    font-size: 15px;
    font-weight: 700;
    color: var(--psy-carbon-black);
    line-height: 1.2;
    display: flex;
    flex-direction: column;
}
.widget-quote {
    font-size: 14px;
    line-height: 1.6;
    color: var(--psy-carbon-black);
    opacity: 0.85;
    border-top: 1px solid rgba(0, 106, 123, 0.1);
    padding-top: 20px;
    position: relative;
    font-weight: 500;
}
.widget-quote::before {
    content: '"';
    font-family: 'Playfair Display', 'Merriweather', serif;
    font-size: 40px;
    color: var(--psy-amber-gold);
    position: absolute;
    top: 10px;
    left: -8px;
    opacity: 0.4;
}

/* --- Mobile Responsiveness Adjustments --- */
@media (max-width: 991px) {
    .psy-hero-section::before {
        /* Add a solid white overlay on mobile to make dark text readable over the busy image */
        background: rgba(255, 255, 255, 0.85); 
    }
    .psy-hero-section {
        padding: 120px 16px 60px; /* Less padding on small screens */
        min-height: auto; /* Let content determine height */
    }
    .psy-hero-container {
        gap: 40px;
    }
    .hero-title {
        font-size: clamp(32px, 8vw, 42px); /* Scale down title for mobile */
    }
    .hero-title br {
        display: none; /* Remove line break on mobile */
    }
    .hero-widget-container {
        justify-content: center;
        padding-bottom: 0;
    }
    .glass-widget {
        max-width: 100%; /* Take up full available width minus padding */
        padding: 24px;
    }
    .cta-group {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
    }
}

/* ==========================================================================
   Services Section (Bento Grid)
   ========================================================================== */
.psy-services-section {
    background: linear-gradient(180deg, #FFFFFF 0%, #F8F9FA 15%, #F8F9FA 100%);
    padding: 180px 20px 120px; /* Massive top padding to let the hero breathe */
    margin-top: -60px; /* Pull it slightly under the hero */
    color: var(--psy-carbon-black);
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* Animated Light Yellow Shadow Background */
.psy-services-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(252, 189, 27, 0.08) 0%, transparent 60%);
    animation: pulseYellowShadow 15s infinite alternate ease-in-out;
    z-index: 0;
    pointer-events: none;
}

@keyframes pulseYellowShadow {
    0% { transform: scale(1) translate(0, 0); opacity: 0.5; }
    50% { transform: scale(1.2) translate(5%, 5%); opacity: 1; }
    100% { transform: scale(0.9) translate(-5%, -5%); opacity: 0.7; }
}

/* Flying Birds Animation */
.birds-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 2s ease;
}
.psy-services-section.is-visible .birds-container {
    opacity: 1;
}

.bird {
    position: absolute;
    color: rgba(0, 106, 123, 0.12); /* Slightly more transparent since they are larger */
    animation: flyBird 20s linear infinite;
    --bird-scale: 1;
}
/* Spreading them across the full height of the section */
.bird:nth-child(1) { top: 8%; left: -5%; animation-duration: 25s; animation-delay: 1s; --bird-scale: 1.5; }
.bird:nth-child(2) { top: 35%; left: -12%; animation-duration: 22s; animation-delay: 4s; --bird-scale: 1.1; }
.bird:nth-child(3) { top: 55%; left: -18%; animation-duration: 28s; animation-delay: 0s; --bird-scale: 1.8; }
.bird:nth-child(4) { top: 75%; left: -8%; animation-duration: 24s; animation-delay: 2s; --bird-scale: 1.3; }
.bird:nth-child(5) { top: 85%; left: -24%; animation-duration: 26s; animation-delay: 6s; --bird-scale: 1.6; }
.bird:nth-child(6) { top: 20%; left: -30%; animation-duration: 21s; animation-delay: 3s; --bird-scale: 1.2; }

@keyframes flyBird {
    0% { transform: translateX(0) scale(var(--bird-scale)) translateY(0); }
    25% { transform: translateX(30vw) scale(var(--bird-scale)) translateY(-30px); }
    50% { transform: translateX(60vw) scale(var(--bird-scale)) translateY(15px); }
    75% { transform: translateX(90vw) scale(var(--bird-scale)) translateY(-15px); }
    100% { transform: translateX(120vw) scale(var(--bird-scale)) translateY(0); }
}

.psy-services-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.services-header {
    text-align: center;
    margin-bottom: 80px;
}

.services-header h2 {
    color: var(--psy-stormy-teal);
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

/* Typewriter Cursor */
.type-cursor {
    display: inline-block;
    width: 4px;
    height: 0.9em;
    background-color: var(--psy-amber-gold);
    animation: blinkCursor 0.8s step-end infinite;
    vertical-align: baseline;
    margin-left: 6px;
    border-radius: 2px;
}

@keyframes blinkCursor {
    from, to { opacity: 1; }
    50% { opacity: 0; }
}

.services-header p {
    color: var(--psy-carbon-black);
    opacity: 0.7;
    font-size: 20px;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* 12-Column Grid for complex asymmetric layouts */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

.bento-card {
    background: #FFFFFF;
    border: 1px solid rgba(0, 106, 123, 0.08);
    border-radius: 32px; /* Softer, more premium curves */
    padding: 48px 40px; /* More vertical breathing room */
    display: flex;
    flex-direction: column;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1), transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease;
    box-shadow: 0 10px 40px rgba(0, 106, 123, 0.04);
    
    /* Scroll Entrance defaults */
    opacity: 0;
    transform: translateY(40px);
}

.psy-services-section.is-visible .bento-card {
    opacity: 1;
    transform: translateY(0);
}

.psy-services-section.is-visible .bento-card-wide { transition-delay: 0.1s; }
.psy-services-section.is-visible .bento-card-standard { transition-delay: 0.2s; }
.psy-services-section.is-visible .bento-card-col:nth-child(3) { transition-delay: 0.3s; }
.psy-services-section.is-visible .bento-card-col:nth-child(4) { transition-delay: 0.4s; }
.psy-services-section.is-visible .bento-card-col:nth-child(5) { transition-delay: 0.5s; }
.psy-services-section.is-visible .bento-card-col:nth-child(6) { transition-delay: 0.6s; }

/* Grid Distribution Upgrade */
.bento-card-wide {
    grid-column: span 8; /* Top row left */
}
.bento-card-standard {
    grid-column: span 4; /* Top row right */
}
.bento-card-col {
    grid-column: span 4; /* Middle row: 3 cards perfectly balanced */
}

/* Card 6 becomes a full-width footer banner for maximum impact */
.bento-card:nth-child(6) {
    grid-column: span 12; 
    flex-direction: row; /* Horizontal layout */
    align-items: center;
    padding: 40px 60px;
    gap: 40px;
}
.bento-card:nth-child(6) .bento-content {
    flex-direction: row;
    align-items: center;
    width: 100%;
}
.bento-card:nth-child(6) h3 {
    margin-bottom: 0;
    width: 30%;
    font-size: 32px;
}
.bento-card:nth-child(6) p {
    margin-bottom: 0;
    width: 50%;
    padding: 0 40px;
    border-left: 1px solid rgba(0, 106, 123, 0.1);
}
.bento-card:nth-child(6) .bento-link {
    margin-left: auto;
}

.bento-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 106, 123, 0.08);
    border-color: rgba(0, 106, 123, 0.2);
}

/* Watermark Numbers Design */
.bento-num {
    position: absolute;
    bottom: -25px; /* Tucked into the bottom right corner */
    right: -15px;
    font-family: 'Playfair Display', 'Merriweather', serif;
    font-style: italic;
    font-size: 180px; /* Massive scale */
    line-height: 0.8;
    color: rgba(0, 106, 123, 0.03); /* Extremely subtle */
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 0;
    pointer-events: none;
}

/* Number illuminates and floats up slightly on hover */
.bento-card:hover .bento-num {
    color: rgba(252, 189, 27, 0.15); /* amber gold glow */
    transform: translateY(-15px) scale(1.05);
}

.bento-gif-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bento-gif-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bento-card:nth-child(6) .bento-gif-icon {
    margin-bottom: 0;
    margin-right: 24px;
}

.bento-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.bento-card h3 {
    color: var(--psy-stormy-teal);
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.bento-card p {
    color: var(--psy-carbon-black);
    opacity: 0.75;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 32px;
    flex-grow: 1;
}

/* Wide card specific tweaks */
.bento-card-wide .bento-content {
    max-width: 70%;
}

/* CTA Indicator */
.bento-link {
    color: var(--psy-stormy-teal);
    font-weight: 700;
    font-size: 14px;
    display: inline-flex; /* Fixes text wrapping issues */
    width: max-content;
    white-space: nowrap;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.bento-link .arrow {
    transition: transform 0.3s ease;
    font-size: 18px;
    line-height: 1;
}

.bento-card:hover .bento-link {
    color: var(--psy-amber-gold);
}
.bento-card:hover .bento-link .arrow {
    transform: translateX(6px);
}

/* Responsive Layout */
@media (max-width: 1200px) {
    .bento-card {
        padding: 40px 30px;
    }
    .bento-card:nth-child(6) h3 { font-size: 24px; }
    .bento-card:nth-child(6) p { padding: 0 20px; }
}

@media (max-width: 1024px) {
    .bento-card-wide, .bento-card-standard {
        grid-column: span 6; /* Split 50/50 on medium screens */
    }
    .bento-card-wide .bento-content {
        max-width: 100%;
    }
    .bento-card-col {
        grid-column: span 6; /* 2 columns for the bottom cards */
    }
    .bento-card:nth-child(6) {
        flex-direction: column;
        padding: 40px;
    }
    .bento-card:nth-child(6) .bento-content {
        flex-direction: column;
        align-items: flex-start;
    }
    .bento-card:nth-child(6) h3, .bento-card:nth-child(6) p {
        width: 100%;
        padding: 0;
        border-left: none;
        margin-bottom: 20px;
    }
    .bento-card:nth-child(6) .bento-link {
        margin-left: 0;
    }
}

@media (max-width: 767px) {
    .bento-card-wide, .bento-card-standard, .bento-card-col, .bento-card:nth-child(6) {
        grid-column: span 12; /* Stack all cards on mobile */
    }
    .psy-services-section {
        padding: 100px 16px 80px;
    }
    .bento-num {
        font-size: 140px;
    }
}

/* ==========================================================================
   Emergency FAB & Popup (Bespoke Dark Editorial Design)
   ========================================================================== */
.psy-emergency-wrapper {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 9999;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

/* FAB Button (Dark & Elegant) */
@keyframes fab-attention {
    0%, 90% { transform: translateY(0); }
    92% { transform: translateY(-8px); }
    94% { transform: translateY(0); }
    96% { transform: translateY(-4px); }
    98% { transform: translateY(0); }
    100% { transform: translateY(0); }
}

.psy-emergency-fab,
.psy-emergency-fab:active,
.psy-emergency-fab:focus {
    background: var(--psy-stormy-teal) !important;
    color: #FFFFFF !important;
    border: none !important;
    outline: none !important;
    border-radius: 50px !important;
    padding: 12px 24px 12px 12px !important;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 106, 123, 0.4) !important;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    letter-spacing: 0.5px;
    animation: fab-attention 15s infinite ease-in-out;
}
.psy-emergency-fab:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 106, 123, 0.6) !important;
    background: var(--psy-carbon-black) !important;
    animation: none;
}
.psy-fab-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--psy-amber-gold);
    color: #FFFFFF;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Bespoke Dark Popup Container */
.psy-emergency-popup {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 440px;
    background: var(--psy-stormy-teal);
    color: #FFFFFF;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255,255,255,0.1);
    padding: 48px 40px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transform-origin: bottom right;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none;
}
.psy-emergency-popup.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Minimal Close Button */
.psy-emergency-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}
.psy-emergency-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.psy-emergency-content {
    text-align: left;
}

.psy-ep-title {
    color: var(--psy-amber-gold);
    font-family: 'Playfair Display', 'Merriweather', serif;
    font-style: italic;
    font-size: 36px;
    font-weight: 500;
    margin-top: 0;
    margin-bottom: 12px;
    padding-right: 24px;
    letter-spacing: -0.01em;
}
.psy-ep-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 40px;
    font-weight: 300;
}

/* Primary Assistance (No boxes, pure typography) */
.psy-ep-primary {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    margin-bottom: 40px;
}
.psy-ep-primary::before {
    display: none; /* Remove previous accent */
}
.psy-ep-primary h4 {
    color: rgba(255, 255, 255, 0.75);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 12px;
    font-weight: 700;
}
.psy-ep-primary p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}
a.psy-ep-number {
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    font-weight: 400;
    letter-spacing: 2px;
    margin: 16px 0;
    color: #FFFFFF;
    background: none;
    -webkit-text-fill-color: initial;
    display: inline-block;
    line-height: 1;
    text-decoration: none;
    transition: opacity 0.3s;
}
a.psy-ep-number:hover {
    opacity: 0.8;
}

/* Urgent Section (Sleek Divider) */
.psy-ep-urgent {
    background: transparent;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    padding: 32px 0 0 0;
}
.psy-ep-urgent h4 {
    color: #FF8A80;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 24px;
    font-weight: 700;
}
.psy-ep-urgent-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}
.psy-ep-urgent-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px 20px;
    text-align: left;
    transition: background 0.3s ease;
}
.psy-ep-urgent-item:hover {
    background: rgba(255, 255, 255, 0.08);
}
.psy-ep-item-title {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 0;
    display: block;
}
a.psy-ep-item-number {
    color: #FF8A80;
    font-size: 28px;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'Playfair Display', serif;
    text-decoration: none;
    transition: opacity 0.3s;
}
a.psy-ep-item-number:hover {
    opacity: 0.8;
}
.psy-ep-urgent-footer {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    .psy-emergency-popup {
        width: calc(100vw - 32px);
        right: -24px;
        bottom: 70px;
        padding: 32px 24px;
    }
    .psy-emergency-wrapper {
        right: 16px;
        bottom: 20px;
    }
    .psy-ep-number {
        font-size: 48px;
    }
    .psy-ep-title {
        font-size: 28px;
    }
}

/* ==========================================================================
   Hero Partner Logo Integration
   ========================================================================== */
.psy-hero-partner-logo {
    margin: 16px 0 0 0; /* Margin only on top */
    padding-top: 16px; /* Padding on top */
    border-top: 1px solid rgba(0, 106, 123, 0.1); /* Separator moved to top */
}
.psy-hero-partner-logo img {
    max-width: 100%;
    height: auto;
    max-height: 40px;
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.3s ease;
    mix-blend-mode: multiply;
    display: block;
}
.psy-hero-partner-logo img:hover {
    filter: grayscale(0%) opacity(1);
}

/* ==========================================================================
   FAQ Section (Split Layout Architecture)
   ========================================================================== */
.psy-faq-section {
    padding: 120px 20px;
    background-color: #FFFFFF;
}

.psy-faq-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 35% 1fr;
    gap: 80px;
}

/* Left Column */
.psy-faq-left {
    position: sticky;
    top: 140px; /* Anchors the left side while right side scrolls */
    align-self: start;
}

.psy-faq-heading {
    color: var(--psy-stormy-teal);
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 600; /* Reduced weight to match other H2s */
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.psy-faq-heading .psy-italic-accent {
    font-family: 'Playfair Display', 'Merriweather', serif;
    font-style: italic;
    color: var(--psy-amber-gold);
    font-weight: 500;
}

.psy-faq-subheading {
    color: var(--psy-carbon-black);
    opacity: 0.7;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.psy-faq-contact-card {
    margin-top: 40px;
    padding: 24px;
    background: rgba(0, 106, 123, 0.02);
    border: 1px solid rgba(0, 106, 123, 0.05);
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.psy-faq-contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 106, 123, 0.06);
    background: rgba(0, 106, 123, 0.04);
}

.psy-faq-contact-card p {
    font-size: 15px;
    color: var(--psy-carbon-black);
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.5;
}

.psy-faq-contact-btn {
    display: inline-block;
    padding: 12px 28px;
    border: 1px solid rgba(0, 106, 123, 0.2);
    border-radius: 50px;
    color: var(--psy-stormy-teal);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.psy-faq-contact-btn:hover {
    background-color: var(--psy-stormy-teal);
    color: #FFFFFF;
    border-color: var(--psy-stormy-teal);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 106, 123, 0.1);
}

/* Right Column (Accordion) */
.psy-faq-right {
    display: flex;
    flex-direction: column;
}

.psy-faq-item {
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    border-bottom: 1px solid rgba(0, 106, 123, 0.15) !important;
    border-radius: 0 !important; /* Only round corners when active */
    margin: 0 !important;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.psy-faq-item:first-child {
    border-top: 1px solid rgba(0, 106, 123, 0.15) !important;
}

/* Fix first child double border when active */
.psy-faq-item.is-active:first-child {
    border-top-color: transparent !important; 
}

.psy-faq-question,
.psy-faq-question:hover,
.psy-faq-question:focus,
.psy-faq-question:active {
    width: 100%;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 24px 16px;
    display: flex;
    align-items: flex-start;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    transition: padding 0.4s ease;
}

.psy-faq-num {
    font-family: 'Playfair Display', serif;
    color: var(--psy-cool-steel);
    font-size: 15px;
    font-weight: 600;
    margin-right: 24px;
    margin-top: 2px;
    opacity: 0.8;
}

.psy-faq-text {
    flex: 1;
    min-width: 0; /* Fixes flexbox text overflow bug */
    white-space: normal;
    word-wrap: break-word;
    color: var(--psy-carbon-black);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
    padding-right: 20px;
    transition: color 0.3s ease;
}

.psy-faq-item:hover .psy-faq-text {
    color: var(--psy-stormy-teal);
}

/* Plus / Minus Morph Icon */
.psy-faq-icon {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.psy-faq-icon::before,
.psy-faq-icon::after {
    content: '';
    position: absolute;
    background-color: var(--psy-stormy-teal);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease;
}

.psy-faq-icon::before {
    width: 14px;
    height: 1px;
}

.psy-faq-icon::after {
    width: 1px;
    height: 14px;
}

/* Active State */
.psy-faq-item.is-active {
    background: linear-gradient(135deg, #F8F9FA 0%, #FFFFFF 100%);
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
    border-top: none !important;
    border-radius: 12px !important;
    box-shadow: 0 15px 35px rgba(0, 106, 123, 0.05);
    margin: 12px 0 !important;
    transform: scale(1.01);
    z-index: 2;
    position: relative;
}

.psy-faq-item.is-active + .psy-faq-item {
    border-top: 1px solid transparent;
}

.psy-faq-item.is-active .psy-faq-question {
    padding: 32px 24px 12px;
}

.psy-faq-item.is-active .psy-faq-text {
    color: var(--psy-stormy-teal);
}

.psy-faq-item.is-active .psy-faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg); /* Morphs plus to minus */
    opacity: 0;
}

.psy-faq-item.is-active .psy-faq-icon::before {
    transform: translate(-50%, -50%) rotate(180deg);
}

.psy-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.psy-faq-answer-inner {
    padding: 12px 24px 32px 64px; /* Aligns perfectly with the text start (after the 01.) */
}

.psy-faq-answer p {
    color: var(--psy-cool-steel);
    font-size: 15.5px;
    line-height: 1.7;
    margin: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .psy-faq-container {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }
    .psy-faq-left {
        position: static;
        top: auto;
    }
    .psy-faq-heading {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    .psy-faq-section {
        padding: 60px 15px;
    }
    .psy-faq-question {
        padding: 20px 10px;
    }
    .psy-faq-num {
        margin-right: 15px;
        font-size: 14px;
    }
    .psy-faq-text {
        font-size: 15px;
    }
    .psy-faq-icon {
        margin-left: 10px;
    }
    .psy-faq-answer-inner {
        padding: 10px 10px 20px 10px;
    }
    .psy-faq-item.is-active .psy-faq-question {
        padding: 20px 10px 10px;
    }
}

/* ==========================================================================
   Footer Section (Modern Floating Bento Card)
   ========================================================================== */
.psy-footer-section {
    position: relative;
    padding: 80px 20px 40px;
    background-color: var(--psy-stormy-teal); /* Changed to dark background */
    border-top: none; 
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    overflow: hidden; /* Contains the flying birds */
}

/* ==========================================================================
   Footer Flying Birds Animation
   ========================================================================== */
.psy-footer-birds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.psy-bird-wrapper {
    position: absolute;
    top: 0;
}

.psy-bird-wrapper-1 {
    top: 15%;
    animation: flyAcross1 45s linear infinite;
    transform: scale(1.4);
}

.psy-bird-wrapper-2 {
    top: 35%;
    animation: flyAcross2 35s linear infinite;
    transform: scale(0.9);
}

.psy-bird {
    width: 80px;
    height: 80px;
    opacity: 0.15; /* Transparent yellow */
    animation: birdFloat 4s ease-in-out infinite alternate;
}

.psy-bird-wrapper-2 .psy-bird {
    animation-duration: 3.2s;
    animation-delay: -1s;
}

@keyframes flyAcross1 {
    0% { left: -20%; }
    100% { left: 120%; }
}

@keyframes flyAcross2 {
    0% { left: 50%; }
    50% { left: 120%; }
    50.01% { left: -20%; }
    100% { left: 50%; }
}

@keyframes birdFloat {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-20px) rotate(5deg); }
}

.psy-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1; /* Keeps content above birds */
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.psy-footer-container.psy-footer-visible {
    opacity: 1;
    transform: translateY(0);
}

.psy-footer-card {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.psy-footer-top {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 80px;
    margin-bottom: 60px;
}

.psy-footer-brand {
    /* Removed max-width to allow grid to handle spacing */
}

.psy-footer-logo {
    max-width: 160px;
    height: auto;
    margin-bottom: 24px;
}

.psy-footer-desc {
    color: #FFFFFF;
    opacity: 0.7;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 32px;
}

.psy-footer-socials {
    display: flex;
    gap: 16px;
}

.psy-footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    transition: all 0.3s ease;
}

.psy-footer-social-link:hover {
    background-color: var(--psy-amber-gold);
    color: #FFFFFF;
    transform: translateY(-3px);
}

.psy-footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.psy-footer-col-title {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
}

.psy-footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.psy-footer-menu li {
    margin-bottom: 12px;
}

.psy-footer-menu a {
    color: #FFFFFF;
    opacity: 0.7;
    font-size: 14.5px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.psy-footer-menu a:hover {
    opacity: 1;
    color: var(--psy-amber-gold);
    transform: translateX(4px);
}

.psy-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.psy-footer-copy {
    color: #FFFFFF;
    opacity: 0.6;
    font-size: 14px;
    margin: 0;
}

.psy-footer-legal {
    display: flex;
    gap: 24px;
}

.psy-footer-legal a {
    color: #FFFFFF;
    opacity: 0.6;
    font-size: 14px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.psy-footer-legal a:hover {
    opacity: 1;
    color: var(--psy-amber-gold);
}

/* Responsive Footer */
@media (max-width: 991px) {
    .psy-footer-top {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .psy-footer-brand {
        max-width: 100%;
        text-align: center;
    }
    .psy-footer-logo {
        margin: 0 auto 24px;
    }
    .psy-footer-socials {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .psy-footer-card {
        padding: 40px 24px;
        border-radius: 24px;
    }
    .psy-footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .psy-footer-bottom {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
}

/* ==========================================================================
   PsyQuilibre - About Us Page (Editorial Brand Narrative)
   ========================================================================== */
.psy-about-wrapper {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    color: var(--psy-carbon-black, #222222);
    background-color: var(--psy-white, #ffffff);
    overflow: hidden;
    width: 100%;
}
.psy-about-wrapper * {
    box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   Section 1: The Visionary Hero (The Manifesto)
   -------------------------------------------------------------------------- */
.psy-about-hero {
    padding: 140px 20px 100px;
    max-width: 1200px;
    margin: 0 auto;
}
.psy-about-hero-grid {
    display: grid;
    grid-template-columns: 65% 35%;
    gap: 60px;
    align-items: center;
}
.psy-about-hero-text h1 {
    font-size: clamp(40px, 5vw, 68px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 32px;
    letter-spacing: -0.02em;
    color: var(--psy-carbon-black, #222222);
}
.psy-about-hero-text h1 .accent {
    font-family: 'Playfair Display', 'Merriweather', serif;
    font-style: italic;
    color: var(--psy-stormy-teal, #006A7B);
    font-weight: 700;
}
.psy-about-hero-text p {
    font-size: 18px;
    line-height: 1.7;
    opacity: 0.85;
    max-width: 600px;
}
.psy-about-hero-visual {
    background: var(--psy-bright-snow, #F8F8F8);
    border-radius: 40px;
    padding: 60px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.02);
}
.psy-about-hero-visual img {
    max-width: 280px;
    height: auto;
    filter: none;
}

/* --------------------------------------------------------------------------
   Section 2: The Genesis & The Gap (Why We Exist)
   -------------------------------------------------------------------------- */
.psy-about-genesis {
    padding: 80px 20px 120px;
    max-width: 1200px;
    margin: 0 auto;
}
.psy-about-genesis-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}
.psy-genesis-callout {
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 800;
    line-height: 1.25;
    color: var(--psy-stormy-teal, #006A7B);
    letter-spacing: -0.01em;
}
.psy-genesis-narrative {
    font-size: 17px;
    line-height: 1.8;
    color: var(--psy-carbon-black, #222222);
    opacity: 0.85;
    padding-top: 10px;
}

/* --------------------------------------------------------------------------
   Section 3: The Hybrid Architecture
   -------------------------------------------------------------------------- */
.psy-about-hybrid {
    padding: 80px 20px 120px;
    max-width: 1200px;
    margin: 0 auto;
}
.psy-hybrid-row {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 120px;
}
.psy-hybrid-row:last-child {
    margin-bottom: 0;
}
.psy-hybrid-text {
    flex: 0 0 45%;
}
/* Alternate layout for the second row */
.psy-hybrid-row:nth-child(2) .psy-hybrid-text {
    flex: 0 0 45%;
    order: 2;
}
.psy-hybrid-visual {
    flex: 0 0 55%;
    position: relative;
    border-radius: 32px;
}
.psy-hybrid-row:nth-child(2) .psy-hybrid-visual {
    flex: 0 0 55%;
    order: 1;
}
.psy-hybrid-visual img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 32px;
    position: relative;
    z-index: 2;
    box-shadow: 0 24px 48px rgba(0, 106, 123, 0.08);
}
.psy-hybrid-visual::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle at center, rgba(0, 106, 123, 0.08) 0%, transparent 70%);
    z-index: 1;
    border-radius: 40px;
}

.psy-hybrid-number {
    font-family: 'Playfair Display', serif;
    font-size: 120px;
    color: transparent;
    -webkit-text-stroke: 1px rgba(0, 106, 123, 0.15);
    font-weight: 700;
    line-height: 0.8;
    margin-bottom: 10px;
    letter-spacing: -0.05em;
}
.psy-hybrid-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--psy-stormy-teal, #006A7B);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}
.psy-hybrid-desc {
    font-size: 17px;
    line-height: 1.7;
    color: var(--psy-carbon-black, #222222);
    opacity: 0.85;
}

/* --------------------------------------------------------------------------
   Section 4: Notre Impact (The Unbelievable Stats Grid)
   -------------------------------------------------------------------------- */
.psy-about-impact {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}
.psy-impact-header {
    text-align: center;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.psy-impact-header h2 {
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 800;
    color: var(--psy-carbon-black, #222222);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}
.psy-impact-header p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--psy-cool-steel, #A1A6B4);
}
.psy-impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}
.psy-impact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.psy-impact-number {
    font-size: clamp(48px, 5vw, 64px);
    font-weight: 800;
    color: var(--psy-stormy-teal, #006A7B);
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}
.psy-impact-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--psy-cool-steel, #A1A6B4);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.5;
    max-width: 220px;
}

/* --------------------------------------------------------------------------
   Section 5: The Institutional Backbone
   -------------------------------------------------------------------------- */
.psy-about-institutions {
    padding: 100px 20px 140px;
    background: var(--psy-bright-snow, #F8F8F8);
    border-radius: 60px 60px 0 0;
    text-align: center;
}
.psy-inst-container {
    max-width: 1000px;
    margin: 0 auto;
}
.psy-inst-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--psy-cool-steel, #A1A6B4);
    margin-bottom: 50px;
}
.psy-inst-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}
.psy-inst-logo-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 106, 123, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}
.psy-animate-on-scroll.is-visible .psy-inst-logo-card {
    opacity: 1;
    transform: translateY(0);
}
.psy-animate-on-scroll.is-visible .psy-inst-logo-card:nth-child(1) { transition-delay: 0.1s; }
.psy-animate-on-scroll.is-visible .psy-inst-logo-card:nth-child(2) { transition-delay: 0.2s; }
.psy-animate-on-scroll.is-visible .psy-inst-logo-card:nth-child(3) { transition-delay: 0.3s; }

.psy-inst-logo-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 50px rgba(0, 106, 123, 0.1);
}
.psy-inst-logo-card img {
    max-height: 80px;
    width: auto;
    filter: none;
    transition: transform 0.3s ease;
}
.psy-inst-logo-card:hover img {
    transform: scale(1.05);
}
.psy-inst-subtext {
    font-size: 16px;
    line-height: 1.7;
    color: var(--psy-carbon-black, #222222);
    opacity: 0.75;
    max-width: 800px;
    margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Responsive Adjustments
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
    .psy-about-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .psy-about-hero-visual {
        padding: 60px 20px;
    }
    .psy-about-genesis-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .psy-hybrid-row, .psy-hybrid-row:nth-child(2) {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 80px;
    }
    .psy-hybrid-text, .psy-hybrid-visual, 
    .psy-hybrid-row:nth-child(2) .psy-hybrid-text, 
    .psy-hybrid-row:nth-child(2) .psy-hybrid-visual {
        flex: 1 1 100%;
        order: 0 !important; /* Reset order for mobile */
    }
    .psy-impact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 60px 40px;
    }
}

@media (max-width: 576px) {
    .psy-about-hero {
        padding: 100px 20px 60px;
    }
    .psy-impact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .psy-inst-logos {
        gap: 40px;
        flex-direction: column;
    }
}

/* --------------------------------------------------------------------------
   About Page Animations & Enhancements
   -------------------------------------------------------------------------- */
.psy-animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.psy-animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for children inside sections (like impact items or hybrid rows) */
.psy-animate-on-scroll.is-visible .psy-impact-item:nth-child(1) { transition-delay: 0.1s; }
.psy-animate-on-scroll.is-visible .psy-impact-item:nth-child(2) { transition-delay: 0.2s; }
.psy-animate-on-scroll.is-visible .psy-impact-item:nth-child(3) { transition-delay: 0.3s; }
.psy-animate-on-scroll.is-visible .psy-impact-item:nth-child(4) { transition-delay: 0.4s; }

/* Enhanced Counter Typography & Styling */
.psy-impact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 10px;
    background: transparent;
    border: none;
    box-shadow: none;
    transition: transform 0.4s ease;
    opacity: 0; /* Handled by stagger animation above */
    transform: translateY(20px);
    position: relative;
}
.psy-animate-on-scroll.is-visible .psy-impact-item {
    opacity: 1;
    transform: translateY(0);
}
.psy-impact-item:hover {
    transform: translateY(-8px) !important;
    /* Optional: a very faint glow or no shadow at all */
}

/* Add a delicate yellow dot as an accent instead of a heavy border */
.psy-impact-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--psy-amber-gold);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.psy-impact-item:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(10px);
}

.psy-impact-number {
    display: flex;
    align-items: baseline;
    justify-content: center;
    font-size: clamp(48px, 5vw, 64px);
    font-weight: 800;
    color: var(--psy-stormy-teal);
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}
.psy-counter-value {
    color: var(--psy-stormy-teal);
}
.psy-yellow-accent {
    color: var(--psy-amber-gold);
    font-size: 0.8em;
    margin-left: 4px;
}

/* --------------------------------------------------------------------------
   Premium Guide Archive & Single
   -------------------------------------------------------------------------- */
.psy-guide-archive-wrapper { width: 95%; max-width: 1600px; margin: 0 auto; padding: 140px 20px 60px 20px; }

/* Hero Section */
.premium-hero {
    background: linear-gradient(135deg, var(--psy-stormy-teal) 0%, #035b6a 100%);
    border-radius: 30px; padding: 80px 40px; margin-bottom: 60px;
    box-shadow: 0 20px 40px rgba(0,106,123,0.15); position: relative; overflow: hidden;
    color: #fff; text-align: left;
}
.psy-guide-hero-content { position: relative; z-index: 2; }
.hero-badge {
    display: inline-block; background: rgba(255, 255, 255, 0.15); color: #fff; backdrop-filter: blur(8px);
    padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px;
}
.premium-hero h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 800; color: #fff; margin-bottom: 20px; line-height: 1.2; }
.premium-hero h1 .accent-gradient { font-family: 'Playfair Display', serif; font-style: italic; font-weight: 700; color: var(--psy-amber-gold); -webkit-text-fill-color: var(--psy-amber-gold); }
.hero-lead { font-size: 20px; color: #fff; font-weight: 600; margin-bottom: 15px; opacity: 0.9; }
.premium-hero p { max-width: 700px; margin: 0 0 15px 0; color: rgba(255,255,255,0.8); line-height: 1.7; font-size: 18px; }
.hero-divider { width: 40px; height: 3px; background: var(--psy-amber-gold); margin: 30px 0; border-radius: 3px; }

/* Hero Marquee Animation */
.hero-marquee-container {
    width: 100%; overflow: hidden; margin-top: 10px; padding: 10px 0; position: relative; z-index: 2;
    pointer-events: none; user-select: none;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.hero-marquee-track { display: inline-flex; white-space: nowrap; animation: heroMarquee 25s linear infinite; gap: 0; }
.hero-marquee-track span {
    font-size: 22px; font-family: 'Playfair Display', serif; font-style: italic;
    color: var(--psy-amber-gold); opacity: 0.9; font-weight: 600;
}
@keyframes heroMarquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Filters */
.premium-filters { margin-bottom: 50px; }
.psy-filter-bar { display: flex; gap: 15px; align-items: center; justify-content: center; flex-wrap: wrap; background: #fff; padding: 20px; border-radius: 20px; border: 1px solid #e2e8f0; box-shadow: 0 10px 30px rgba(0,0,0,0.02); }
.psy-filter-search { position: relative; flex: 1; min-width: 250px; }
.psy-filter-search input { width: 100%; padding: 14px 20px 14px 45px; border: 1px solid #eaeaea; border-radius: 12px; font-size: 15px; outline: none; transition: border-color 0.3s; background: #fafafa; }
.psy-filter-search input:focus { border-color: var(--psy-stormy-teal); background: #fff; }
.psy-search-icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--psy-cool-steel); }
.select-wrapper { position: relative; }
.select-wrapper select { padding: 14px 40px 14px 20px; border: 1px solid #eaeaea; border-radius: 12px; font-size: 15px; outline: none; background: #fafafa; appearance: none; cursor: pointer; min-width: 180px; }
.select-icon { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: var(--psy-cool-steel); pointer-events: none; }
.psy-filter-radios { display: flex; gap: 8px; flex-wrap: wrap; }
.radio-pill { cursor: pointer; }
.radio-pill input { display: none; }
.radio-pill span { display: block; padding: 10px 16px; border-radius: 30px; background: #f5f5f5; color: var(--psy-cool-steel); font-size: 14px; font-weight: 500; transition: all 0.3s ease; border: 1px solid transparent; }
.radio-pill:hover span { background: #e0e0e0; }
.radio-pill.active-pill span { background: rgba(0, 106, 123, 0.05); color: var(--psy-stormy-teal); border: 1px solid var(--psy-stormy-teal); }

/* Grid & Cards */
.psy-guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 30px; }
.psy-premium-card {
    --mouse-x: -1000px;
    --mouse-y: -1000px;
    background: #fff;
    border-radius: 24px; padding: 35px 30px; box-shadow: 0 10px 40px rgba(0,0,0,0.04);
    display: flex; flex-direction: column; position: relative;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s;
}
.psy-premium-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: radial-gradient(400px circle at var(--mouse-x) var(--mouse-y), rgba(255, 183, 3, 0.9), transparent 50%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 10;
}
.psy-premium-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(0,106,123,0.1); }
.psy-premium-card:hover::after { opacity: 1; }
.card-badges { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; align-items: center; min-height: 24px; position: relative; z-index: 20; }
.badge { position: relative; display: inline-flex; padding: 5px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; cursor: help; max-width: 150px; }
.badge-text { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Custom Instant Tooltip */
.badge[data-tooltip]::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: var(--psy-stormy-teal);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
    z-index: 100;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.badge[data-tooltip]::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    border-width: 5px;
    border-style: solid;
    border-color: var(--psy-stormy-teal) transparent transparent transparent;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
    z-index: 100;
}
.badge[data-tooltip]:hover::before,
.badge[data-tooltip]:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

.badge-green { background: rgba(0, 106, 123, 0.1); color: var(--psy-stormy-teal); }
.badge-gold { background: rgba(255, 183, 3, 0.15); color: var(--psy-amber-gold); }
.badge-type { background: rgba(0, 106, 123, 0.05); color: var(--psy-stormy-teal); }
.card-content h3 { font-size: 22px; color: var(--psy-carbon-black); margin: 0 0 15px 0; line-height: 1.3; font-weight: 700; position: relative; z-index: 20; }
.card-info-row { display: flex; align-items: center; gap: 8px; color: var(--psy-cool-steel); font-size: 14px; margin-bottom: 15px; }
.card-desc { color: #666; font-size: 15px; line-height: 1.6; margin-bottom: 25px; flex: 1; }
.card-action { margin-top: auto; padding-top: 20px; border-top: 1px solid #f0f0f0; }
.premium-btn { display: inline-flex; align-items: center; justify-content: space-between; width: 100%; color: var(--psy-cool-steel); font-weight: 600; text-decoration: none; font-size: 15px; transition: color 0.3s; }
.premium-btn svg { transition: transform 0.3s ease; }
.psy-premium-card:hover .premium-btn { color: var(--psy-stormy-teal); }
.psy-premium-card:hover .premium-btn svg { transform: translateX(5px); }

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

/* Single Page Premium */
.psy-single-premium-wrapper { width: 90%; max-width: 1400px; margin: 0 auto; padding: 140px 20px 80px 20px; }

.psy-sp-hero { background: linear-gradient(135deg, var(--psy-stormy-teal) 0%, #035b6a 100%); border-radius: 30px; padding: 40px 40px 60px 40px; color: #fff; margin-bottom: 50px; position: relative; overflow: hidden; }
.psy-sp-nav-bar-inner { margin-bottom: 30px; position: relative; z-index: 3; }
.btn-back-minimal { display: inline-flex; align-items: center; gap: 8px; color: #fff; background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(5px); padding: 8px 16px; border-radius: 30px; font-weight: 500; text-decoration: none; font-size: 14px; transition: all 0.3s ease; border: 1px solid rgba(255, 255, 255, 0.2); }
.btn-back-minimal .arrow { transition: transform 0.3s ease; display: inline-block; }
.btn-back-minimal:hover { background: rgba(255, 255, 255, 0.25); color: #fff; }
.btn-back-minimal:hover .arrow { transform: translateX(-5px); }

@keyframes floatMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.floating-divider-container {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    margin-bottom: 50px;
    margin-top: -30px;
    padding: 10px 0;
    pointer-events: none;
    user-select: none;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.floating-divider-track {
    display: inline-flex;
    white-space: nowrap;
    animation: floatMarquee 60s linear infinite;
    gap: 2vw;
}

.floating-divider-track span {
    font-size: clamp(30px, 5vw, 60px);
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px rgba(0, 106, 123, 0.15);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-bg-waves { position: absolute; bottom: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.hero-bg-waves svg { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }
.psy-sp-hero-grid { display: grid; grid-template-columns: 1.5fr 1fr; align-items: center; position: relative; z-index: 2; gap: 30px; }

.psy-sp-hero-content { max-width: 800px; }
.sp-badge { display: inline-block; background: rgba(255,255,255,0.15); backdrop-filter: blur(8px); color: #fff; padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 20px; }
.psy-sp-hero h1 { font-size: clamp(24px, 3.5vw, 36px); font-weight: 600; margin: 0 0 15px 0; color: #fff; line-height: 1.3; }
.sp-location { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; opacity: 0.9; }
.psy-sp-hero-graphic { display: flex; justify-content: flex-end; align-items: center; }

@keyframes heroLogoFloat {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}
.hero-geo-element { opacity: 0.65; max-width: 280px; animation: heroLogoFloat 6s ease-in-out infinite; transform-origin: center center; }
.hero-geo-element img { width: 100%; height: auto; display: block; filter: brightness(0) invert(1); }

.psy-sp-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 50px; }

/* Mobile Optimizations */
@media (max-width: 850px) {
    .psy-single-premium-wrapper { padding: 100px 15px 40px 15px; width: 95%; }
    .psy-sp-hero { padding: 30px 20px 40px 20px; border-radius: 20px; }
    .psy-sp-nav-bar-inner { text-align: center; }
    
    /* Hero Banner Mobile */
    .premium-hero, .psy-sp-hero { padding: 40px 20px; border-radius: 20px; margin-bottom: 40px; }
    .psy-sp-hero-grid { grid-template-columns: 1fr; text-align: left; gap: 0; }
    .psy-guide-hero-content, .psy-sp-hero-content { z-index: 2; position: relative; }
    .psy-sp-hero-graphic { position: absolute; right: -30px; bottom: -30px; opacity: 0.15; z-index: 0; justify-content: flex-end; margin: 0; pointer-events: none; }
    .hero-geo-element { max-width: 200px; }
    .hero-bg-waves { opacity: 0.3; }
    .sp-badge, .hero-badge { white-space: normal; line-height: 1.4; padding: 6px 12px; font-size: 11px; margin-bottom: 15px; }
    .premium-hero h1, .psy-sp-hero h1 { font-size: 28px; }
    .hero-lead { font-size: 16px; }
    .premium-hero p, .psy-sp-hero p { font-size: 15px; }
    .hero-divider { margin: 20px 0; }
    .hero-marquee-track span { font-size: 16px; }
    .hero-marquee-container { margin-top: 0; padding: 5px 0; }
    
    /* Filters Mobile */
    .psy-filter-bar { flex-direction: column; align-items: stretch; gap: 15px; padding: 20px; }
    .filter-search-wrapper, .filter-group { width: 100%; min-width: 100%; }
    .psy-guide-dropdown { width: 100%; font-size: 14px; }
    .filter-tags { justify-content: flex-start; gap: 8px; width: 100%; overflow-x: auto; padding-bottom: 5px; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
    .filter-tags::-webkit-scrollbar { display: none; }
    .tag-btn { white-space: nowrap; font-size: 13px; padding: 8px 16px; flex: 0 0 auto; }
    
    .psy-sp-layout { grid-template-columns: 1fr; gap: 40px; }
    .psy-guide-grid { grid-template-columns: 1fr; gap: 20px; }
}

.sp-section { margin-bottom: 40px; }
.sp-section h2 { font-size: 24px; color: var(--psy-stormy-teal); margin-bottom: 20px; font-weight: 700; }
.sp-content { font-size: 16px; line-height: 1.8; color: var(--psy-carbon-black); }
/* Strip inline bolding for a cleaner editorial look */
.sp-content b, .sp-content strong { font-weight: 400; color: var(--psy-carbon-black); }

.sp-services-capsule { background: rgba(0,106,123,0.03); border-radius: 20px; padding: 25px 30px; }
.sp-services-capsule ul { list-style: none; padding: 0; margin: 0; }
.sp-services-capsule li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 15px; font-size: 16px; line-height: 1.6; color: var(--psy-carbon-black); }
.sp-services-capsule li:last-child { margin-bottom: 0; }
.bullet-icon { color: var(--psy-amber-gold); margin-top: 4px; flex-shrink: 0; }

.sp-info-card { background: #fff; border-radius: 24px; padding: 35px 30px; box-shadow: 0 20px 60px rgba(0, 106, 123, 0.06); border: none; position: sticky; top: 100px; }
.sp-info-card h3 { font-size: 20px; color: var(--psy-carbon-black); margin: 0 0 25px 0; font-weight: 700; border-bottom: 1px solid #f0f0f0; padding-bottom: 15px; }
.sp-info-list { list-style: none; padding: 0; margin: 0; }
.sp-info-list li { display: flex; gap: 15px; margin-bottom: 25px; align-items: flex-start; }
.sp-info-list li:last-child { margin-bottom: 0; }

/* Monochromatic line icons */
.monochromatic-icons .info-icon { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: transparent; color: var(--psy-stormy-teal); }
.monochromatic-icons .info-icon svg { width: 22px; height: 22px; stroke-width: 1.5; }

.info-text { display: flex; flex-direction: column; gap: 4px; }
.info-text strong { font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--psy-cool-steel); font-weight: 600; }
.info-text span, .info-text a { font-size: 15px; color: var(--psy-carbon-black); font-weight: 400; line-height: 1.5; text-decoration: none; }
/* Apprendre Section */
.apprendre-grid-container { padding: 0 20px; }
.apprendre-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 40px; margin-bottom: 60px; }
.apprendre-card { background: #fff; border-radius: 24px; overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease; box-shadow: 0 10px 30px rgba(0, 106, 123, 0.05); }
.apprendre-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(0, 106, 123, 0.12); }
.apprendre-card-img { position: relative; width: 100%; height: 220px; background: var(--psy-cloud-white); overflow: hidden; }
.apprendre-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.apprendre-card:hover .apprendre-card-img img { transform: scale(1.05); }
.apprendre-card-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, rgba(0,106,123,0.1), rgba(0,106,123,0.02)); }
.apprendre-card-overlay { position: absolute; inset: 0; background: rgba(0,106,123,0.4); opacity: 0; display: flex; align-items: center; justify-content: center; transition: opacity 0.3s ease; }
.apprendre-card:hover .apprendre-card-overlay { opacity: 1; }
.read-more-btn { background: #fff; color: var(--psy-stormy-teal); padding: 10px 20px; border-radius: 30px; font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 8px; transform: translateY(15px); transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.apprendre-card:hover .read-more-btn { transform: translateY(0); }
.apprendre-card-content { padding: 30px; display: flex; flex-direction: column; flex-grow: 1; }
.apprendre-meta { font-size: 12px; color: var(--psy-cool-steel); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; margin-bottom: 12px; }
.apprendre-card h2 { font-size: 22px; font-weight: 700; color: var(--psy-carbon-black); margin: 0 0 15px 0; line-height: 1.4; transition: color 0.3s; }
.apprendre-card:hover h2 { color: var(--psy-stormy-teal); }
.apprendre-excerpt { font-size: 15px; color: var(--psy-cool-steel); line-height: 1.6; }

/* ==========================================================================
   Single Apprendre Article - The Editorial Magazine
   ========================================================================== */

/* Full Bleed Hero */
.editorial-hero { position: relative; width: 100vw; height: 65vh; min-height: 500px; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; margin-top: -140px; display: flex; align-items: flex-end; padding: 60px 40px; margin-bottom: 60px; overflow: hidden; }
.editorial-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; transform: scale(1.02); transition: transform 10s ease; }
.editorial-hero:hover .editorial-hero-bg { transform: scale(1.05); }
.editorial-hero-bg.fallback-bg { background: linear-gradient(135deg, var(--psy-stormy-teal) 0%, #035b6a 100%); }
.editorial-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.8) 100%); }

.editorial-hero-content { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; width: 100%; color: #fff; }
.btn-back-minimal.light { color: rgba(255,255,255,0.8); border: 1px solid rgba(255,255,255,0.3); margin-bottom: 30px; }
.btn-back-minimal.light:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,0.1); }

.editorial-hero-meta { display: flex; align-items: center; gap: 12px; font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; margin-bottom: 20px; color: var(--psy-amber-gold); }
.ed-separator { color: rgba(255,255,255,0.5); }
.ed-read-time { color: rgba(255,255,255,0.8); }

.editorial-title { font-family: 'Playfair Display', serif; font-size: clamp(36px, 5vw, 64px) !important; font-weight: 700; color: #fff; line-height: 1.15; margin: 0 0 30px 0 !important; text-shadow: 0 4px 20px rgba(0,0,0,0.3); }

.editorial-author-meta { display: flex; align-items: center; gap: 15px; border-top: 1px solid rgba(255,255,255,0.2); padding-top: 20px; }
.ed-author-avatar { width: 45px; height: 45px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; backdrop-filter: blur(5px); }
.ed-author-info { display: flex; flex-direction: column; gap: 4px; }
.ed-author-info strong { font-size: 16px; font-weight: 600; }
.ed-author-info span { font-size: 13px; color: rgba(255,255,255,0.6); }

/* Article Core Content */
.editorial-article-container { max-width: 900px; margin: 0 auto; padding: 0 20px; }
.editorial-content { font-size: 20px; line-height: 1.9; color: #333a40; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-weight: 400; letter-spacing: -0.01em; }

.editorial-content p { margin-bottom: 35px; }
.editorial-content h2 { font-family: 'Playfair Display', serif; font-size: 34px; color: var(--psy-carbon-black); margin: 60px 0 25px 0; font-weight: 700; line-height: 1.3; }
.editorial-content h3 { font-family: 'Playfair Display', serif; font-size: 26px; color: var(--psy-stormy-teal); margin: 40px 0 20px 0; font-weight: 600; }

/* Custom Lists */
.editorial-content ul { list-style: none; padding-left: 0; margin-bottom: 35px; }
.editorial-content ul li { position: relative; padding-left: 30px; margin-bottom: 15px; line-height: 1.8; }
.editorial-content ul li::before { content: ''; position: absolute; left: 0; top: 12px; width: 12px; height: 2px; background-color: var(--psy-amber-gold); }

/* Elegant Blockquotes */
.editorial-content blockquote { position: relative; margin: 50px -40px 50px 40px; padding: 30px 40px; font-family: 'Playfair Display', serif; font-size: 28px; font-style: italic; color: var(--psy-stormy-teal); line-height: 1.5; background: #fff; border-radius: 20px; box-shadow: 0 20px 40px rgba(0, 106, 123, 0.04); z-index: 1; }
.editorial-content blockquote::before { content: '"'; position: absolute; top: -20px; left: -20px; font-family: 'Playfair Display', serif; font-size: 120px; color: var(--psy-amber-gold); opacity: 0.2; line-height: 1; z-index: -1; }

.editorial-content img { border-radius: 16px; margin: 40px 0; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }

/* Footer & Sharing */
.editorial-footer { margin-top: 80px; margin-bottom: 80px; padding-top: 50px; }
.ed-share-box { text-align: center; border-bottom: 1px solid rgba(0, 106, 123, 0.1); padding-bottom: 50px; margin-bottom: 50px; }
.ed-share-box strong { display: block; font-family: 'Playfair Display', serif; font-size: 24px; color: var(--psy-carbon-black); margin-bottom: 25px; }
.ed-share-box .share-links { justify-content: center; gap: 20px; }
.ed-share-box .share-links a { background: #f8f9fa; padding: 12px 25px; border-radius: 30px; color: var(--psy-stormy-teal); text-decoration: none; font-size: 14px; font-weight: 600; transition: all 0.3s ease; border: 1px solid rgba(0,106,123,0.1); }
.ed-share-box .share-links a:hover { background: var(--psy-stormy-teal); color: #fff; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,106,123,0.15); }

/* Also Read Section */
.also-read-section { background: var(--psy-cloud-white); padding: 80px 0; border-top: 1px solid rgba(0, 106, 123, 0.05); }
.also-read-container { max-width: 1400px; margin: 0 auto; padding: 0 40px; }
.also-read-title { font-family: 'Playfair Display', serif; font-size: 36px; color: var(--psy-carbon-black); margin-bottom: 40px; font-weight: 700; }

/* Mobile Optimizations */
@media (max-width: 850px) {
    .editorial-hero { height: auto; padding: 100px 20px 40px 20px; }
    .editorial-content blockquote { margin: 40px 0; padding: 25px; font-size: 22px; }
    .editorial-content { font-size: 18px; }
    .ed-share-box .share-links { flex-direction: column; }
    .also-read-container { padding: 0 20px; }
    .also-read-title { font-size: 28px; }
}

/* Apprendre Shortcode */
.psy-apprendre-shortcode-wrapper { padding: 60px 20px; max-width: 1400px; margin: 0 auto; }
.sc-apprendre-header, .sc-guide-header { text-align: center; margin-bottom: 50px; }
.sc-apprendre-header h2, .sc-guide-header h2 { font-family: 'Playfair Display', serif; font-size: 42px; color: var(--psy-stormy-teal); margin-bottom: 15px; font-weight: 700; }
.sc-apprendre-header p, .sc-guide-header p { font-size: 18px; color: var(--psy-cool-steel); max-width: 650px; margin: 0 auto; line-height: 1.6; }
.sc-apprendre-footer, .sc-guide-footer { text-align: center; margin-top: 50px; }
.sc-apprendre-cta, .sc-guide-cta { display: inline-block; padding: 16px 40px; background: var(--psy-amber-gold); color: #fff; border-radius: 40px; font-weight: 600; font-size: 16px; text-decoration: none; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); box-shadow: 0 10px 20px rgba(228, 172, 49, 0.2); }
.sc-apprendre-cta:hover, .sc-guide-cta:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(228, 172, 49, 0.35); color: #fff; }

/* Guide Carousel Shortcode (Marquee) */
.psy-guide-carousel-wrapper { padding: 80px 0; background: var(--psy-cloud-white); overflow: hidden; }
.psy-guide-marquee-container { display: flex; width: max-content; }
.psy-guide-marquee-container:hover .guide-carousel-track { animation-play-state: paused; }
.guide-carousel-track { display: flex; gap: 30px; padding: 20px 15px 40px 15px; animation: psy-marquee 40s linear infinite; flex-shrink: 0; }
@keyframes psy-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-100% - 30px)); }
}

.guide-carousel-card { flex: 0 0 350px; background: #fff; border-radius: 20px; padding: 35px 30px; display: flex; flex-direction: column; text-decoration: none; transition: transform 0.3s ease, box-shadow 0.3s ease; box-shadow: 0 15px 35px rgba(0, 106, 123, 0.08); border: 1px solid rgba(0, 106, 123, 0.05); }
.guide-carousel-card:hover { transform: translateY(-10px); box-shadow: 0 20px 45px rgba(0, 106, 123, 0.15); }
.gc-content { display: flex; flex-direction: column; flex-grow: 1; }
.gc-profession { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--psy-cool-steel); font-weight: 700; margin-bottom: 12px; }
.gc-content h3 { font-size: 22px; color: var(--psy-carbon-black); font-weight: 700; margin: 0 0 15px 0; line-height: 1.3; font-family: 'Playfair Display', serif; }
.gc-location { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--psy-cool-steel); margin-bottom: 25px; }
.gc-location svg { opacity: 0.6; }
.gc-action { margin-top: auto; font-size: 15px; font-weight: 700; color: var(--psy-stormy-teal); transition: color 0.3s ease; }
.guide-carousel-card:hover .gc-action { color: var(--psy-amber-gold); }

/* ==========================================================================
   Mega Menu (Minimal & Elegant)
   ========================================================================== */
.psy-mega-menu-parent { position: relative; }
.psy-mega-menu-parent > a svg { transition: transform 0.3s ease; margin-left: 4px; vertical-align: middle; }
.psy-mega-menu-parent:hover > a svg { transform: rotate(180deg); }

.psy-mega-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(15px); width: 680px; background: #ffffff; border-radius: 16px; box-shadow: 0 10px 40px rgba(0, 106, 123, 0.08); opacity: 0; visibility: hidden; transition: all 0.2s ease-in-out; z-index: 1000; padding: 25px; border: 1px solid rgba(0, 106, 123, 0.05); }
.psy-mega-menu-parent:hover .psy-mega-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

/* Tiny invisible bridge to prevent hover loss */
.psy-mega-menu::before { content: ''; position: absolute; top: -15px; left: 0; width: 100%; height: 15px; }

.mega-menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mega-menu-item { display: flex; flex-direction: column; gap: 8px; padding: 15px; border-radius: 10px; text-decoration: none; transition: background 0.3s ease; }
.mega-menu-item:hover { background: rgba(0, 106, 123, 0.02); }
.mega-icon { color: var(--psy-amber-gold); transition: all 0.3s ease; display: flex; align-items: center; margin-bottom: 5px; }
.mega-menu-item:hover .mega-icon { transform: translateY(-3px); color: var(--psy-stormy-teal); }
.mega-content h4 { font-family: 'Playfair Display', serif; font-size: 18px; color: var(--psy-carbon-black); margin: 0 0 6px 0; font-weight: 700; transition: color 0.3s ease; }
.mega-menu-item:hover .mega-content h4 { color: var(--psy-stormy-teal); }
.mega-content p { font-size: 13px; color: var(--psy-cool-steel); margin: 0; line-height: 1.4; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }

/* Mobile Menu Fallback for Mega Menu */
@media (max-width: 1024px) {
    .psy-mega-menu { position: static; width: 100%; box-shadow: none; border: none; padding: 15px 0; display: none; opacity: 1; visibility: visible; border-radius: 0; background: transparent; transform: none; }
    .psy-mega-menu-parent:hover .psy-mega-menu { transform: none; display: block; }
    .mega-menu-grid { grid-template-columns: 1fr; gap: 10px; }
    .mega-menu-item { padding: 15px; background: #fff; border-radius: 8px; border: 1px solid rgba(0, 106, 123, 0.05); flex-direction: row; align-items: flex-start; }
    .mega-icon { margin-top: 2px; margin-bottom: 0; }
}

/* ==========================================================================
   Questionnaire Shortcode Styles
   ========================================================================== */
.psy-quiz-wrapper { padding: 80px 20px; max-width: 1000px; margin: 0 auto; }
.psy-quiz-header { text-align: center; margin-bottom: 50px; }
.psy-quiz-main-title { font-family: 'Playfair Display', serif; font-size: 46px; color: var(--psy-carbon-black); margin-bottom: 20px; font-weight: 700; }
.psy-quiz-main-subtitle { font-size: 18px; color: var(--psy-cool-steel); line-height: 1.6; max-width: 800px; margin: 0 auto; }

.mental-health-quiz-container { background-color: #fff; border-radius: 24px; box-shadow: 0 20px 50px rgba(0, 106, 123, 0.08); overflow: hidden; border: 1px solid rgba(0, 106, 123, 0.05); }

/* Tabs */
.quiz-tabs { display: flex; background-color: var(--psy-cloud-white); border-bottom: 1px solid rgba(0, 106, 123, 0.05); }
.tab-button { flex: 1; padding: 25px 20px; border: none; background: transparent; font-size: 16px; font-weight: 700; color: var(--psy-cool-steel); cursor: pointer; transition: all 0.3s ease; border-bottom: 3px solid transparent; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.tab-button:hover { background-color: rgba(0, 106, 123, 0.02); color: var(--psy-stormy-teal); }
.tab-button.active { color: var(--psy-stormy-teal); border-bottom-color: var(--psy-amber-gold); background-color: #fff; }

/* Content Area */
.quiz-content-area { padding: 50px; }
.quiz-section { animation: fadeIn 0.4s ease-out; }
.quiz-title { font-family: 'Playfair Display', serif; font-size: 28px; color: var(--psy-carbon-black); margin-bottom: 15px; text-align: center; font-weight: 700; }
.quiz-intro { font-size: 16px; color: var(--psy-cool-steel); margin-bottom: 40px; text-align: center; }

/* Questions */
.question-block { background-color: #fdfdfd; border: 1px solid rgba(0, 106, 123, 0.1); border-radius: 16px; padding: 30px; margin-bottom: 20px; transition: border-color 0.3s ease; }
.question-block:hover { border-color: rgba(0, 106, 123, 0.3); }
.question-text { font-weight: 700; margin-bottom: 20px; color: var(--psy-carbon-black); font-size: 18px; line-height: 1.4; }
.question-options { display: flex; flex-direction: column; gap: 12px; }
.question-options label { display: flex; align-items: center; cursor: pointer; font-size: 15px; color: var(--psy-cool-steel); transition: color 0.2s ease; padding: 12px 16px; background: var(--psy-cloud-white); border-radius: 12px; border: 1px solid transparent; }
.question-options label:hover { color: var(--psy-stormy-teal); background: rgba(0, 106, 123, 0.03); border-color: rgba(0, 106, 123, 0.1); }
.question-options input[type="radio"] { margin-right: 12px; transform: scale(1.2); accent-color: var(--psy-stormy-teal); }

/* Buttons */
.quiz-navigation-buttons { display: flex; justify-content: space-between; margin-top: 50px; gap: 20px; }
.submit-evaluation-button, .back-button, .next-quiz-button { padding: 16px 30px; border: none; border-radius: 30px; font-size: 16px; font-weight: 700; cursor: pointer; transition: all 0.3s ease; flex: 1; text-align: center; }
.submit-evaluation-button { background-color: var(--psy-amber-gold); color: #fff; box-shadow: 0 10px 20px rgba(228, 172, 49, 0.2); }
.submit-evaluation-button:hover { background-color: #d39e2d; transform: translateY(-3px); box-shadow: 0 15px 25px rgba(228, 172, 49, 0.3); }
.back-button, .next-quiz-button { background-color: rgba(0, 106, 123, 0.05); color: var(--psy-stormy-teal); }
.back-button:hover, .next-quiz-button:hover { background-color: rgba(0, 106, 123, 0.1); transform: translateY(-3px); }

/* Results */
.results-section { animation: fadeIn 0.5s ease-out; }
.results-title { font-family: 'Playfair Display', serif; font-size: 36px; color: var(--psy-carbon-black); text-align: center; margin-bottom: 15px; }
.results-subtitle { font-size: 16px; color: var(--psy-cool-steel); text-align: center; margin-bottom: 40px; }
.results-summary { display: flex; gap: 30px; margin-bottom: 40px; }
.result-card { background-color: #fdfdfd; border: 1px solid rgba(0, 106, 123, 0.1); border-radius: 20px; padding: 40px 30px; flex: 1; text-align: center; box-shadow: 0 10px 30px rgba(0, 106, 123, 0.03); }
.result-card-title { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--psy-stormy-teal); margin-bottom: 25px; font-weight: 700; }
.result-score-circle { width: 120px; height: 120px; border-radius: 50%; background: var(--psy-cloud-white); border: 4px solid var(--psy-amber-gold); display: flex; align-items: center; justify-content: center; margin: 0 auto 25px auto; flex-direction: column; }
.score-number { font-size: 36px; font-weight: 700; color: var(--psy-carbon-black); line-height: 1; }
.score-total { font-size: 14px; color: var(--psy-cool-steel); margin-top: 5px; }
.result-interpretation { font-size: 18px; font-weight: 700; margin-bottom: 20px; padding: 8px 20px; display: inline-block; border-radius: 20px; }

/* Interpretations */
.interpretation-minimale { color: #2e7d32; background: #e8f5e9; }
.interpretation-légère { color: #827717; background: #f0f4c3; }
.interpretation-modérée { color: #f57f17; background: #fff9c4; }
.interpretation-modérément_sévère { color: #e65100; background: #ffe0b2; }
.interpretation-sévère { color: #c62828; background: #ffcdd2; }

.progress-bar-container { background-color: rgba(0, 106, 123, 0.05); border-radius: 10px; height: 8px; overflow: hidden; margin-bottom: 25px; }
.progress-bar { height: 100%; border-radius: 10px; width: 0%; transition: width 1s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.progress-bar.severity-minimal { background-color: #4CAF50; }
.progress-bar.severity-mild { background-color: #8BC34A; }
.progress-bar.severity-moderate { background-color: #FFC107; }
.progress-bar.severity-mod_severe { background-color: #FF9800; }
.progress-bar.severity-severe { background-color: #F44336; }

.result-recommendation { font-size: 15px; color: var(--psy-cool-steel); line-height: 1.6; }

/* Warning Box */
.warning-box { background-color: #fff9e6; border-left: 4px solid var(--psy-amber-gold); border-radius: 0 12px 12px 0; padding: 25px; display: flex; gap: 20px; margin-bottom: 30px; }
.warning-icon { color: var(--psy-amber-gold); flex-shrink: 0; }
.warning-text strong { color: var(--psy-carbon-black); font-size: 16px; margin-bottom: 8px; display: block; }
.warning-text p { color: #666; font-size: 14px; line-height: 1.5; margin: 0; }
.emergency-contact-box { text-align: center; padding: 20px; background: rgba(0, 106, 123, 0.03); border-radius: 12px; color: var(--psy-carbon-black); }
.emergency-contact-box strong { color: var(--psy-stormy-teal); font-size: 20px; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* Mobile */
@media (max-width: 768px) {
    .psy-quiz-wrapper { padding: 40px 15px; }
    .psy-quiz-main-title { font-size: 32px; }
    .quiz-tabs { flex-direction: column; }
    .quiz-content-area { padding: 30px 20px; }
    .quiz-navigation-buttons { flex-direction: column; }
    .results-summary { flex-direction: column; }
    .warning-box { flex-direction: column; align-items: flex-start; gap: 15px; }
}

/* Custom Search Input Fix (Resets crude input borders) */
.psy-search-input {
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    color: var(--psy-stormy-teal) !important;
    outline: none !important;
    padding: 10px 50px 10px 0 !important;
    border-radius: 0 !important;
}
.psy-search-input:focus {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

/* Search Results Page styling */
.psy-search-results-wrapper {
    max-width: 1200px;
    margin: 150px auto 80px;
    padding: 0 20px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    min-height: 60vh;
}

.psy-search-results-header {
    text-align: center;
    margin-bottom: 50px;
}

.psy-results-meta {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--psy-amber-gold);
    letter-spacing: 1.5px;
    display: inline-block;
    margin-bottom: 8px;
}

.psy-search-results-header h1 {
    font-size: 42px;
    font-weight: 800;
    color: var(--psy-stormy-teal);
    margin: 0 0 10px 0;
    letter-spacing: -1px;
}

.psy-results-count {
    font-size: 15px;
    color: var(--psy-cool-steel);
    font-weight: 600;
}

.psy-search-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.psy-search-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(0, 106, 123, 0.06);
    box-shadow: 0 10px 30px rgba(0, 106, 123, 0.02);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.psy-search-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 106, 123, 0.06);
    border-color: rgba(0, 106, 123, 0.12);
}

.psy-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.psy-post-type-badge {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 30px;
}

.psy-post-type-badge.guide {
    background: rgba(255, 193, 7, 0.1) !important;
    color: #b45309 !important;
}

.psy-post-type-badge.apprendre {
    background: rgba(0, 106, 123, 0.08) !important;
    color: var(--psy-stormy-teal) !important;
}

.psy-post-type-badge.page {
    background: #f1f5f9 !important;
    color: #475569 !important;
}

.psy-post-type-badge.post {
    background: #e0f2fe !important;
    color: #0369a1 !important;
}

.psy-card-date {
    font-size: 12px;
    color: var(--psy-cool-steel);
    font-weight: 600;
}

.psy-card-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.psy-card-title a {
    color: var(--psy-carbon-black);
    text-decoration: none;
    transition: color 0.2s ease;
}

.psy-card-title a:hover {
    color: var(--psy-stormy-teal);
}

.psy-card-excerpt {
    font-size: 14px;
    color: var(--psy-cool-steel);
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.psy-card-footer {
    border-top: 1px solid #f1f5f9;
    padding-top: 15px;
    display: flex;
    align-items: center;
}

.psy-card-link {
    color: var(--psy-stormy-teal);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
}

.psy-card-link svg {
    transition: transform 0.2s ease;
}

.psy-card-link:hover {
    color: var(--psy-amber-gold);
}

.psy-card-link:hover svg {
    transform: translateX(4px);
}

/* No Results section */
.psy-search-no-results {
    grid-column: 1 / -1;
    text-align: center;
    background: #ffffff;
    border-radius: 24px;
    padding: 60px 40px;
    border: 1px solid rgba(0, 106, 123, 0.08);
    box-shadow: 0 10px 30px rgba(0, 106, 123, 0.03);
    max-width: 600px;
    margin: 0 auto;
}

.psy-no-results-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.psy-search-no-results h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--psy-stormy-teal);
    margin: 0 0 10px 0;
}

.psy-search-no-results p {
    color: var(--psy-cool-steel);
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 30px;
}

.psy-search-form-inline {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.psy-search-form-inline input {
    padding: 12px 20px !important;
    border-radius: 30px !important;
    border: 1.5px solid rgba(0, 106, 123, 0.15) !important;
    font-size: 14px !important;
    outline: none !important;
    width: 250px !important;
    transition: all 0.3s ease !important;
    background: #fff !important;
}

.psy-search-form-inline input:focus {
    border-color: var(--psy-stormy-teal) !important;
    box-shadow: 0 0 0 4px rgba(0, 106, 123, 0.06) !important;
}

.psy-search-form-inline button {
    background: var(--psy-stormy-teal) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 30px !important;
    padding: 12px 25px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.psy-search-form-inline button:hover {
    background: var(--psy-amber-gold) !important;
    transform: translateY(-1px) !important;
}

/* Responsive grid for search */
@media (max-width: 768px) {
    .psy-search-grid {
        grid-template-columns: 1fr;
    }
    .psy-search-results-header h1 {
        font-size: 32px;
    }
    .psy-search-results-wrapper {
        margin: 120px auto 60px;
    }
}
