/* ==========================================================================
   BELINECOM - SCROLL-LINKED PARALLAX STACKING (Vincent Lobelle style)
   ========================================================================== */
:root {
    --color-bg-light: #ffffff;
    --color-bg-dark: #000000;
    --color-text-dark: #000000;
    --color-primary: #0081AF;
    --transition-smooth: all 0.3s ease;
    --font-heading: 'League Spartan', 'Space Grotesk', 'Syne', 'Urbanist', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    overflow-y: scroll;
    height: auto;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--color-bg-dark);
    color: var(--color-text-dark);
    width: 100vw;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.slides-container {
    width: 100%;
    position: relative;
}

/* 
   Slide base container (.article.magneticScroll)
   Normal block elements flowing vertically. 
   Overflow hidden is CRITICAL so translated children are clipped.
*/
.article.magneticScroll {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

/* 
   .picture: The parallax background.
   Must be taller than the container (e.g. 150% height and top -25%)
   to prevent white gaps when translated vertically up to 45%.
*/
.picture {
    position: absolute;
    z-index: 1;
    top: -25%;
    left: 0;
    width: 100%;
    height: 150%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    will-change: transform;
}

/* Slide 1 specific white background visual */
.hero-bg {
    background-color: var(--color-bg-light);
}

/* 
   .infos: Content overlay.
   Stays in front of the background.
*/
.infos {
    position: relative;
    z-index: 3;
}

/* branding-wrapper styles Slide 1 content */
.branding-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 480px;
    padding: 20px;
}

/* Wordmark Logo Styling */
.logo-container {
    width: 100%;
    max-width: 320px;
    will-change: transform;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.logo-svg {
    width: 100%;
    height: auto;
    fill: #000000;
    shape-rendering: geometricPrecision;
    text-rendering: optimizeLegibility;
    image-rendering: -webkit-optimize-contrast;
    transform: translateZ(0);
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.logo-svg path,
.logo-svg polygon,
.logo-svg rect,
.logo-svg line {
    shape-rendering: geometricPrecision;
}

/* Cat Emblem GIF styling */
.emblem-container {
    width: 100%;
    max-width: 300px;
}

.cat-emblem-gif {
    width: 100%;
    height: auto;
    display: block;
}

/* Slide 1 Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: opacity 0.4s ease, transform 0.3s ease;
    user-select: none;
    text-decoration: none;
}

.scroll-indicator:hover {
    transform: translateX(-50%) translateY(3px);
}

.scroll-indicator .mouse-icon {
    width: 24px;
    height: 38px;
    border: 2px solid var(--color-primary);
    border-radius: 12px;
    position: relative;
    display: flex;
    justify-content: center;
    padding-top: 6px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 12px rgba(0, 129, 175, 0.15);
}

.scroll-indicator .wheel {
    width: 4px;
    height: 8px;
    background-color: var(--color-primary);
    border-radius: 2px;
    animation: scrollWheelAnim 1.8s infinite ease-in-out;
}

.scroll-indicator .scroll-chevron {
    color: var(--color-primary);
    font-size: 13px;
    animation: scrollChevronAnim 1.8s infinite ease-in-out;
}

@keyframes scrollWheelAnim {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    50% {
        opacity: 0.6;
        transform: translateY(8px);
    }

    100% {
        opacity: 0;
        transform: translateY(14px);
    }
}

@keyframes scrollChevronAnim {

    0%,
    100% {
        opacity: 0.4;
        transform: translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateY(4px);
    }
}

/* Slide Large Typography Overlays */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 300;
}

.slide-hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    gap: 1.5rem;
    padding: 20px;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    pointer-events: none;
}

.slide-title-outline {
    font-family: var(--font-heading);
    font-size: clamp(5rem, 25vw, 28rem);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 20px;
    line-height: 0.8;
    color: transparent;
    -webkit-text-stroke: 3.5px #ffffff;
    paint-order: stroke fill;
    filter: drop-shadow(0 12px 35px rgba(0, 0, 0, 0.65)) drop-shadow(0 2px 12px rgba(0, 0, 0, 0.9));
    margin: 0;
}

.slide-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 10vw, 9rem);
    font-weight: 600;
    text-transform: lowercase;
    letter-spacing: 18px;
    line-height: 0.9;
    color: #ffffff;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    margin: 0;
}

/* Slide Explanatory Glassmorphic Card */
.slide-description {
    position: absolute;
    right: 6rem;
    bottom: 2rem;
    z-index: 10;
    max-width: 640px;
    padding: 20px 34px;
    background: rgba(255, 255, 255, 0.75);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    /* box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08); */
    pointer-events: auto;
    text-align: left;
}

.slide-desc-heading {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.slide-desc-text {
    font-family: var(--font-body);
    color: #1a1a1a;
    font-size: 0.9rem;
    line-height: 1.5;
    font-weight: 400;
}

/* ==========================================================================
   SLIDE EXPERTISE (.expertise-wrapper)
   ========================================================================== */
.expertise-bg {
    background-color: var(--color-bg-dark);
}

.expertise-wrapper {
    width: 100%;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: clamp(1rem, 3vh, 2.5rem) clamp(4.5rem, 7vw, 7rem) clamp(1rem, 3vh, 2.5rem) clamp(1.5rem, 4vw, 4rem);
    box-sizing: border-box;
    color: #ffffff;
    pointer-events: auto;
}

.expertise-header {
    text-align: center;
    margin-bottom: clamp(0.6rem, 1.8vh, 1.2rem);
    width: 100%;
    max-width: 100%;
}

.expertise-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(0.75rem, 1.2vw, 0.95rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--color-primary);
    margin-bottom: 0.4rem;
}

.expertise-title {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 300;
    line-height: 1.3;
    color: #ffffff;
}

.expertise-banner-container {
    width: 100%;
    max-width: 100%;
    margin-bottom: clamp(0.8rem, 2vh, 1.5rem);
    display: flex;
    justify-content: center;
}

.expertise-horizontal-img {
    width: 100%;
    height: clamp(120px, 30vh, 250px);
    object-fit: cover;
    object-position: center 30%;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: clamp(0.6rem, 1.5vw, 1.5rem);
    width: 100%;
}

.expertise-col {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: clamp(0.6rem, 1.5vh, 1.1rem) clamp(0.6rem, 1vw, 1rem);
    backdrop-filter: blur(8px);
    transition: transform 0.3s ease, border-color 0.3s ease;
    position: relative;
    z-index: 5;
    pointer-events: auto;
}

.expertise-col:hover {
    border-color: rgba(0, 129, 175, 0.5);
    transform: translateY(-3px);
}

.expertise-col-title {
    font-family: var(--font-heading);
    font-size: clamp(0.8rem, 1.1vw, 1rem);
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid rgba(0, 129, 175, 0.4);
}

.expertise-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.expertise-list li {
    font-family: var(--font-body);
    font-size: clamp(0.7rem, 0.9vw, 0.82rem);
    color: #cccccc;
    line-height: 1.4;
    position: relative;
    padding-left: 0.9rem;
    margin-bottom: 0.25rem;
}

.expertise-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

@media screen and (max-width: 800px) {
    .slide-hero-content {
        padding: 15px;
    }

    .slide-title-outline {
        font-size: 22vw;
        -webkit-text-stroke: 1.5px #ffffff;
        letter-spacing: 8px;
    }

    .slide-description {
        right: 1rem;
        bottom: 1rem;
        max-width: calc(100% - 2rem);
        padding: 14px 18px;
    }
}

/* ==========================================================================
   DYNAMIC DOTS NAVIGATION (.menu-boules / .boule) & BURGER MENU
   ========================================================================== */
.menu-gradient-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 90;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

body.menu-open .menu-gradient-backdrop {
    opacity: 1;
    pointer-events: auto;
}

.burger-menu {
    position: fixed;
    top: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 110;
    mix-blend-mode: difference;
}

.burger-menu .line {
    position: absolute;
    display: block;
    height: 2px;
    width: 24px;
    left: 8px;
    background-color: #ffffff;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    transform-origin: center;
}

/* Vertical placement for three lines */
.burger-menu .line:nth-child(1) {
    top: 13px;
}

.burger-menu .line:nth-child(2) {
    top: 19px;
}

.burger-menu .line:nth-child(3) {
    top: 25px;
}

/* Animate to aligned cross shape */
body.menu-open .burger-menu .line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

body.menu-open .burger-menu .line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

body.menu-open .burger-menu .line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}


.menu-boules {
    position: fixed;
    right: 2rem;
    top: 50%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transform: translateY(-50%);
    z-index: 100;
    mix-blend-mode: difference;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

body.menu-open .menu-boules {
    right: 4rem;
}

.boule-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    pointer-events: none;
}

.boule-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
    opacity: 0;
    padding-right: 1.5rem;
    transform: translateX(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
    cursor: pointer;
}

.boule-label:hover+.boule {
    opacity: 1;
    transform: scale(1.4);
}

body.menu-open .boule-label {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

body.menu-open .boule-label:hover {
    opacity: 1;
}

.boule {
    display: block;
    cursor: pointer;
    background: #ffffff;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    opacity: 0.6;
    transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease, height 0.3s ease;
    pointer-events: auto;
}

/* If no title, dot becomes smaller when menu is open */
body.menu-open .no-title .boule {
    width: 0.5rem;
    height: 0.5rem;
    opacity: 0.35;
}

.boule:hover {
    opacity: 1;
    transform: scale(1.4);
}

.boule.active {
    opacity: 1;
    transform: scale(1.4);
    outline: 1.5px solid #ffffff;
    outline-offset: 2px;
}

body.menu-open .boule.active {
    transform: scale(1);
    outline: 2px solid #ffffff;
    opacity: 1;
    outline-offset: 2px;
}

/* ==========================================================================
   TEAM MEMBER SECTION (.team-wrapper / .team / .team-member)
   ========================================================================== */
.team-bg {
    background-color: var(--color-bg-dark);
}

.team-wrapper {
    width: 100vw;
    max-width: 1200px;
    padding: clamp(1.5rem, 4vh, 3rem) 4%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.team-header {
    text-align: center;
    margin-bottom: clamp(1rem, 2.5vh, 2rem);
    width: 100%;
    max-width: 900px;
}

.team-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(0.75rem, 1.2vw, 0.95rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--color-primary);
    margin-bottom: 0.4rem;
}

.team-title {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 300;
    line-height: 1.3;
    color: #ffffff;
}

.team {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    width: 100%;
}

.team-member {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
    background-color: #111111;
    border: 1px solid #222222;
    cursor: pointer;
}

.team-member img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(115%);
    /* transition: var(--transition-smooth); */
    display: block;
}

.team-member:hover img {
    filter: grayscale(0%) contrast(105%);
    transform: scale(1.03);
}

/* Info overlay with icon appearing on hover */
.info-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.team-member:hover .info-overlay {
    opacity: 1;
}

.info-overlay i {
    font-size: 2.5rem;
    color: #ffffff;
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.team-member:hover .info-overlay i {
    transform: scale(1);
}

/* ==========================================================================
   MODAL WINDOW DIALOG
   ========================================================================== */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modal-backdrop.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: #050505;
    border: 1px solid #222222;
    width: 90%;
    max-width: 800px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.92);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-x: hidden;
}

.modal-backdrop.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: #888888;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: #ffffff;
}

.modal-body {
    display: flex;
    flex-direction: row;
    width: 100%;
    transition: transform 0.25s ease-in-out, opacity 0.25s ease-in-out;
    will-change: transform, opacity;
}

.modal-body.slide-out-left {
    transform: translateX(-50px);
    opacity: 0;
}

.modal-body.slide-out-right {
    transform: translateX(50px);
    opacity: 0;
}

.modal-body.slide-in-left {
    transform: translateX(-50px);
    opacity: 0;
    transition: none !important;
}

.modal-body.slide-in-right {
    transform: translateX(50px);
    opacity: 0;
    transition: none !important;
}

.modal-image-col {
    width: 40%;
    overflow: hidden;
    background-color: #111111;
}

.modal-image-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(100%) contrast(110%);
}

.modal-text-col {
    width: 60%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-text-col h2 {
    font-size: 1.8rem;
    text-transform: none;
    letter-spacing: 1px;
    color: #ffffff;
    margin-bottom: 4px;
}

.modal-text-col h3 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary);
    margin-bottom: 24px;
    font-weight: 600;
}

.modal-text-col p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #a0aec0;
}

.modal-exp-wrapper {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.modal-exp-title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.modal-exp-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.modal-exp-list li {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: #cbd5e1;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
}

.modal-exp-list li i {
    color: var(--color-primary);
    font-size: 0.75rem;
    margin-top: 4px;
}

/* ==========================================================================
   RESPONSIVE STYLING ADJUSTMENTS
   ========================================================================== */
@media screen and (max-width: 1024px) {
    .team {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .expertise-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
    }

    .modal-content {
        max-width: 700px;
    }
}

@media screen and (max-width: 768px) {
    .team {
        grid-template-columns: repeat(2, 1fr);
    }

    .modal-body {
        flex-direction: column;
    }

    .modal-image-col {
        max-width: 100%;
        width: 250px;
        height: auto;
        margin: auto;
        aspect-ratio: 2/3;
    }

    .modal-text-col {
        width: 100%;
        padding: 30px 24px;
    }

    .modal-content {
        width: 95%;
        max-height: 90vh;
        overflow-y: auto;
    }
}

@media screen and (max-width: 650px) {
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .expertise-banner-container {
        display: none;
    }

    .expertise-col {
        padding: 0.5rem;
    }

    .expertise-list li {
        font-size: 0.72rem;
        margin-bottom: 0.15rem;
    }
}

@media screen and (max-height: 500px) {
    .menu-boules {
        gap: 0.7rem;
    }

    .boule {
        width: 0.8rem;
        height: 0.8rem;
    }
}

@media screen and (max-height: 600px) {
    .expertise-grid {
        grid-template-columns: repeat(5, 1fr) !important;
        gap: 0.5rem;
    }

    .expertise-col {
        text-align: center;
        position: relative;
    }

    .expertise-col-title {
        cursor: pointer;
        user-select: none;
        transition: color 0.2s ease;
    }

    .expertise-col-title:hover {
        color: var(--color-primary);
    }

    .expertise-list {
        display: none !important;
    }

    .expertise-col.tooltip-open .expertise-list {
        display: block !important;
        position: absolute;
        bottom: calc(100% + 12px);
        left: 50%;
        transform: translateX(-50%);
        width: 150px;
        max-width: 150px;
        white-space: normal;
        word-wrap: break-word;
        background: rgba(10, 15, 25, 0.96);
        border: 1px solid rgba(0, 129, 175, 0.6);
        border-radius: 8px;
        padding: 10px 14px;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 129, 175, 0.2);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        z-index: 1000;
        text-align: left;
        animation: tooltipPopIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
        pointer-events: auto;
    }

    .expertise-col.tooltip-open .expertise-list::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        border-width: 6px;
        border-style: solid;
        border-color: rgba(0, 129, 175, 0.6) transparent transparent transparent;
    }
}

@keyframes tooltipPopIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(6px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
    }
}

@keyframes tooltipArrowPopIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(6px) rotate(45deg) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0) rotate(45deg) scale(1);
    }
}

@media screen and (max-height: 600px) and (max-width: 600px) {
    .expertise-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.5rem;
    }
}

@media screen and (max-height: 600px) and (max-width: 400px) {
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.4rem;
    }
}

/* ==========================================================================
   SECTION 5: CONTACT CARD STYLING
   ========================================================================== */
.contact-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 850px;
    padding: 20px;
    z-index: 5;
}

.contact-card {
    background: rgba(10, 15, 25, 0.78);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: clamp(1.8rem, 4vw, 3rem);
    color: #ffffff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-tagline {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2.2vw, 1.7rem);
    font-weight: 400;
    line-height: 1.4;
    color: #ffffff;
}

.contact-tagline .highlight {
    color: var(--color-primary);
    font-weight: 700;
}

.contact-quote {
    font-family: var(--font-body);
    font-style: italic;
    font-size: clamp(0.85rem, 1.4vw, 1.05rem);
    color: #d1d5db;
    border-left: 3px solid var(--color-primary);
    padding-left: 1rem;
    margin: 0 auto;
    max-width: 650px;
    text-align: left;
}

.contact-quote cite {
    display: block;
    margin-top: 6px;
    font-size: 0.85rem;
    font-style: normal;
    color: var(--color-primary);
    font-weight: 600;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
    font-family: var(--font-body);
    font-size: clamp(0.85rem, 1.2vw, 1rem);
    color: #e2e8f0;
    margin-top: 0.5rem;
}

.contact-address i {
    color: var(--color-primary);
    margin-right: 6px;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-top: 0.6rem;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-primary);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 15px rgba(0, 129, 175, 0.4);
}

.contact-btn i {
    font-size: 1rem;
}

.contact-btn:hover {
    background-color: #00668c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 129, 175, 0.6);
}

.contact-copyright {
    margin-top: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-family: var(--font-body);
    font-size: 0.78rem;
    color: #94a3b8;
    display: flex;
    flex-direction: column;
    gap: 4px;
    line-height: 1.4;
}

.contact-tva {
    font-size: 0.75rem;
    color: #a0aec0;
    font-weight: 500;
    letter-spacing: 0.5px;
}

@media screen and (max-width: 600px) {
    .contact-address .company-name {
        display: block;
        margin-bottom: 2px;
    }

    .contact-address .address-separator {
        display: none;
    }

    .contact-address .address-text {
        display: block;
    }
}

/* ==========================================================================
   SECTION 4.2: FULLSCREEN PROJECTS SLIDESHOW (.projects-slideshow-container)
   ========================================================================== */
.projects-slideshow-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-color: #05080e;
    pointer-events: auto;
}

.project-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transform: scale(1.03);
}

.project-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 2;
}

.project-controls-bar {
    position: absolute;
    top: 2.5rem;
    left: 3rem;
    z-index: 20;
    display: inline-flex;
    align-items: center;
    background: rgba(10, 15, 25, 0.78);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
    user-select: none;
}

.project-nav-btn {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    width: 48px;
    height: 48px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.project-prev-btn {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.project-next-btn {
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.project-nav-btn:hover {
    background: var(--color-primary);
    color: #ffffff;
    box-shadow: none;
}

.project-counter {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: #ffffff;
    padding: 0 1.2rem;
    white-space: nowrap;
}

.project-counter .current-slide {
    color: var(--color-primary);
    font-weight: 700;
}

.project-counter .counter-sep {
    color: rgba(255, 255, 255, 0.35);
    margin: 0 2px;
}

.project-caption-bar {
    position: absolute;
    bottom: 2.5rem;
    left: 3rem;
    z-index: 20;
    background: rgba(10, 15, 25, 0.78);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 12px 24px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
    color: #ffffff;
    display: none;
}

.project-caption-container {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    letter-spacing: 1px;
    color: #e2e8f0;
}

.project-caption-container strong {
    color: var(--color-primary);
    font-weight: 600;
}

.project-caption-container strong {
    color: #ffffff;
    font-weight: 600;
}

/* ==========================================================================
   SECTION 4.5: PARTNERS & REFERENCES STYLING
   ========================================================================== */
.partners-bg {
    background-color: var(--color-bg-dark);
}

.partners-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: clamp(1.5rem, 4vh, 3rem) clamp(4.5rem, 7vw, 7rem) clamp(1.5rem, 4vh, 3rem) clamp(1.5rem, 4vw, 4rem);
    box-sizing: border-box;
    color: #ffffff;
    pointer-events: auto;
}

.partners-header {
    text-align: center;
    margin-bottom: clamp(1rem, 2.5vh, 2rem);
    max-width: 800px;
}

.partners-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(0.75rem, 1.2vw, 0.95rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--color-primary);
    margin-bottom: 0.4rem;
}

.partners-title {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2vw, 1.6rem);
    font-weight: 300;
    line-height: 1.3;
    color: #ffffff;
}

.partners-damier {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(4px, 0.8vw, 8px);
    width: 100%;
    max-width: 880px;
    justify-content: center;
    align-items: center;
    padding: 6px 0;
    margin: 0 auto;
}

.damier-tile {
    position: relative;
    background-color: #ffffff;
    width: clamp(62px, 8.5vw, 92px);
    height: clamp(62px, 8.5vw, 92px);
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
    user-select: none;
    flex-shrink: 0;
}

.damier-tile:hover {
    background-color: #e3f7ff;
    transform: scale(1.12);
    z-index: 10;
    box-shadow: 0 8px 22px rgba(44, 44, 44, 0.6);
}

.damier-logo {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    filter: grayscale(100%) opacity(0.75);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.damier-tile:hover .damier-logo,
.damier-tile.damier-tooltip-open .damier-logo {
    filter: grayscale(0%) opacity(1);
}

.damier-tile.damier-tooltip-open::before {
    content: attr(data-name);
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 15, 25, 0.95);
    color: #ffffff;
    border: 1px solid rgba(0, 129, 175, 0.6);
    border-radius: 6px;
    padding: 6px 12px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 100;
    animation: tooltipPopIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.damier-tile.damier-tooltip-open::after {
    content: "";
    position: absolute;
    bottom: calc(100% + 5px);
    left: 50%;
    width: 8px;
    height: 8px;
    background: rgba(10, 15, 25, 0.95);
    border-right: 1px solid rgba(0, 129, 175, 0.6);
    border-bottom: 1px solid rgba(0, 129, 175, 0.6);
    transform: translateX(-50%) rotate(45deg);
    z-index: 101;
    animation: tooltipArrowPopIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

@media screen and (max-height: 650px) {
    .partners-wrapper {
        padding: 0.6rem clamp(3.5rem, 5vw, 5rem) 0.6rem 1rem;
        max-height: 88vh;
        overflow-y: auto;
    }

    .partners-header {
        margin-bottom: 0.4rem;
    }

    .partners-title {
        font-size: clamp(0.75rem, 2.2vh, 1rem);
        line-height: 1.2;
    }

    .partners-subtitle {
        font-size: 0.7rem;
        margin-bottom: 0.15rem;
    }

    .damier-tile {
        width: clamp(75px, 15vh, 98px);
        height: clamp(75px, 15vh, 98px);
    }
}

@media screen and (max-width: 600px) {
    .logo-container {
        max-width: 256px;
    }

    .partners-wrapper {
        padding-right: clamp(3rem, 10vw, 4.5rem);
        max-height: 88vh;
        overflow-y: auto;
    }

    .damier-tile {
        width: clamp(65px, 16vw, 88px);
        height: clamp(65px, 16vw, 88px);
        padding: 0;
    }
}