/* ================= FONT ================= */
@font-face {
    font-family: 'futura';
    src: url('assets/fonts/FuturaPTLight.otf');
    font-display: swap;
    font-weight: 1 1000;
}

/* ================= ROOT ================= */
:root {
    --white: #ffffff;
    --pure-white: #ffffff;
    --dark: #111;
    --black: #000;

    --overlay-glass: rgba(0, 0, 0, 0.467);
    --overlay-dark: rgba(0, 0, 0, 0.75);
    --text-muted: rgba(255, 255, 255, 0.7);

    --navbar-padding-desktop: 3px 60px;
    --navbar-padding-mobile: 15px 25px;

    --content-padding: 15px;
    --content-width: 500px;

    --letter-spacing-sm: 1.5px;
    --letter-spacing-lg: 2px;

    --transition-fast: 0.3s ease;

    /* ---- Clients section specific ---- */
    --clients-col-gap: 16px;
    --clients-logo-radius: 8px;
    --clients-scroll-speed-1: 72s;
    --clients-scroll-speed-2: 78s;
    --clients-scroll-speed-3: 75s;
    --clients-panel-height: 420px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* ================= NAVBAR ================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #fff;
    box-shadow: none;
    z-index: 1000;
    padding: 8px 50px 8px 80px;
}

.navbar.scrolled {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .nav-link {
    color: #000;
}

.navbar-brand img {
    width: 100px;
    scale: 2;
}

.navbar-toggler {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.navbar-toggler-icon {
    display: block;
    width: 25px;
    height: 3px;
    background: #000;
    position: relative;
    transition: 0.3s;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background: #000;
    transition: 0.3s;
}

.navbar-toggler-icon::before {
    top: -8px;
}

.navbar-toggler-icon::after {
    top: 8px;
}

.navbar-menu {
    list-style: none;
    display: flex;
    gap: 50px;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #0c0c0c !important;
    padding: 10px 0px;
    display: block;
    transition: background 0.2s;
    transform: translateY(15px);
    font-size: 18px;
    font-family: sans-serif;
    font-weight: 100 !important;
}



/* Desktop Sliding Submenu */
.submenu {
    list-style: none;
    position: absolute;
    top: 70px;
    left: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);

    opacity: 0;
    visibility: hidden;
    transform: translateX(-20px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.has-submenu:hover>.submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.submenu-item {
    text-decoration: none;
    color: #333;
    padding: 12px 20px;
    display: block;
    transition: all 0.2s;
    position: relative;
      font-family: sans-serif;
    font-weight: 100 !important;
}

.submenu-item:hover {
    background: #f5f5f5;
    padding-left: 25px;
}

/* Level 3 submenu - slides from the right */
.submenu .submenu {
    left: 100%;
    top: 0;
    transform: translateX(20px);
}

.submenu .has-submenu:hover > .submenu {
    transform: translateX(0);
}

@media (min-width: 992px) {
    .submenu .has-submenu:hover > .submenu {
        transform: translateX(-180px) translateY(35px);
        z-index: 9999;
    }
}

.has-submenu:hover>.nav-link::after {
    transform: translateX(3px);
}

/* Back button - hidden on desktop */
.submenu-back {
    display: none;
}

.submenu-content {
    width: 100%;
    min-width: 220px;
}

/* Mobile styles */
@media (max-width: 991px) {
    .navbar-toggler {
        display: block;
    }

    .navbar-menu {
        position: fixed;
        inset: 0;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: #fff;
        flex-direction: column;
        padding: 20px;
        transition: left 0.3s ease;
        overflow-y: auto;
        gap: 0;
    }

    .navbar-menu.active {
        left: 0;
    }

    .nav-item {
        border-bottom: 1px solid #eee;
    }

    .submenu {
        position: fixed;
        top: 80px;
        left: 100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: #f9f9f9;
        border: none;
        box-shadow: none;
        padding: 0;
        overflow-y: auto;
        transform: translateX(0);
        transition: left 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        z-index: 10;
    }

    .submenu.open {
        left: 0;
        opacity: 1;
        visibility: visible;
    }

    .submenu .submenu {
        left: 100%;
        top: 60px;
    }

    .submenu .submenu.open {
        left: 0;
    }

    .submenu-back {
        display: block;
        padding: 15px 20px;
        background: #fff;
        border-bottom: 2px solid #333;
        font-weight: bold;
        cursor: pointer;
        position: sticky;
        top: 0;
        z-index: 100;
        color: #000;
        text-decoration: none;
        transition: background 0.2s;
    }

    .submenu-back:hover {
        background: #f5f5f5;
    }

    .submenu-back::before {
        content: '← ';
        font-size: 18px;
        margin-right: 5px;
    }

    .submenu-content {
        padding: 20px;
    }

    .submenu-item {
        padding: 15px 10px;
        border-bottom: 1px solid #ddd;
    }

    .has-submenu>.nav-link::after,
    .has-submenu>.submenu-item::after {
        content: '›';
        float: right;
        font-size: 20px;
    }

    .nav-link {
        transform: translateY(0);
    }

    .navbar {
        padding: 10px 30px 10px 50px;
    }
}


/* ================= GLOBAL ================= */
body {
    margin: 0;
    font-family: 'futura', sans-serif;
    /* background: var(--black); */
    /* color: var(--white); */
    overflow-x: hidden;
}

ul {
    padding-left: 0;
}


/* ================= HERO ================= */
.hero {
    height: 100vh;
    position: relative;
}

.swiper {
    height: 100%;
}

.swiper-slide {
    position: relative;
    background-size: cover;
    background-position: center;
    filter: contrast(1.1) brightness(1.05);
}

.swiper-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}


/* ================= SLIDE CONTENT ================= */
.slide-content {
    position: absolute;
    bottom: 0px;
    left: 0px;
    z-index: 2;
    padding: var(--content-padding);
    background: var(--overlay-glass);
    color: white;
    backdrop-filter: blur(20px);
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
}

.slide-content h2 {
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    opacity: 0.4;
    margin-right: 0.5em;
    margin-bottom: 0;
}

.slide-content .highlight {
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 1;
    margin: 0 0.5em;
}

.slide-content .divider {
    font-weight: 900;
    font-size: 16px;
    opacity: 0.4;
}

.slide-content .divider.pipe {
    margin-left: 0.5em;
    margin-right: 1em;
}

@media (max-width: 768px) {
    .slide-content {
        left: 25px;
        right: 25px;
        max-width: unset;
    }

    .slide-content h2 {
        font-size: 26px;
    }

    .fixed-social {
        display: none;
    }
}

@media (max-width: 480px) {
    .slide-content {
        white-space: normal;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        padding: 8px 10px;
    }

    .slide-content h2,
    .slide-content .highlight,
    .slide-content .divider {
        letter-spacing: 0.05em;
        font-size: 14px;
        margin: 0 3px;
        opacity: 1;
    }

    .slide-content h2 {
        opacity: 0.6;
        margin-bottom: 4px;
        width: 100%;
    }

    .slide-content .divider.pipe {
        margin-left: 0.2em;
        margin-right: 0.5em;
    }

    .divider {
        display: none;
    }
}


/* ================= SWIPER CONTROLS ================= */
.swiper-button-next,
.swiper-button-prev {
    color: var(--pure-white);
}

.swiper-pagination-bullet {
    background: var(--pure-white);
    opacity: 0.4;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}


/* ================= FIXED SOCIAL ================= */
.fixed-social {
    position: fixed;
    right: 35px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fixed-social::before {
    content: "";
    width: 1px;
    height: 120px;
    background: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

a {
    text-decoration: none;
}

.fixed-social a {
    width: 40px;
    height: 40px;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pure-white);
    border: 1px solid var(--pure-white);
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

.fixed-social a i {
    font-size: 20px;
}

.fixed-social a:hover {
    opacity: 0.6;
}


/* ================= IMAGE BREADCRUMB ================= */
.image-breadcrumb {
    position: relative;
    height: 65vh;
    display: flex;
    align-items: flex-end;
    padding-bottom: 15px;
    background-position: top;
}

.image-breadcrumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(-350deg,
            rgba(0, 0, 0, 0.753),
            rgba(255, 255, 255, 0));
}

.breadcrumb-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.breadcrumb-content h1 {
    font-size: 36px;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.breadcrumb-item a {
    color: var(--text-muted);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--white);
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--text-muted);
}

@media (max-width: 991px) {
    .image-breadcrumb {
        height: 44vh;
    }

    .breadcrumb-content h1 {
        font-size: 28px;
    }
}


/* ================= PROJECT GRID ================= */
.projects-section {
    background: white;
    color: var(--black);
}

.projects-section h3 {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.projects-section .text {
    line-height: 1.8;
    font-size: 20px;
    color: #343333;
}

.project-card {
    position: relative;
    display: block;
    overflow: hidden;
    height: 100%;
    min-height: 280px;
}

.project-card.tall {
    min-height: 580px;
}

.project-card.wide {
    min-height: 300px;
    max-height: 380px;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.7),
            rgba(0, 0, 0, 0.25),
            rgba(0, 0, 0, 0));
    display: flex;
    align-items: flex-end;
    padding: 24px;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.project-overlay span {
    color: var(--white);
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.project-card:hover img {
    transform: scale(1.08);
}

.project-card:hover .project-overlay {
    transform: translateY(0);
}

@media (max-width: 991px) {
    .project-card.tall {
        min-height: 400px;
    }
}

@media (max-width: 575px) {

    .project-card,
    .project-card.tall,
    .project-card.wide {
        min-height: 240px;
    }
}


/* ================= FANCYBOX ================= */
.fancybox__backdrop {
    background: rgba(0, 0, 0, 0.9);
}

.fancybox__slide {
    padding: 40px 0 90px;
}

.fancybox__thumbs {
    background: rgba(0, 0, 0, 0.6);
}

.fancybox__thumb {
    border-radius: 6px;
    overflow: hidden;
}

.fancybox__thumb.is-selected::after {
    border-color: var(--white);
}


/* ================= AWARDS SECTION ================= */
.awards-section {
    background: rgb(245, 245, 245);
}

.awards-section .section-title {
    font-size: 13px;
    letter-spacing: var(--letter-spacing-lg);
    text-transform: uppercase;
    color: #999;
    margin-bottom: 8px;
}

.awards-section .section-heading {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: var(--letter-spacing-sm);
    margin-bottom: 40px;
    color: var(--black);
}

.awards-grid {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.awards-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.award-card {
    background: var(--pure-white);
    overflow: hidden;
    width: 100%;
    transition:
        box-shadow var(--transition-fast),
        transform var(--transition-fast);
    cursor: pointer;
}

.award-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.award-card .card-img-wrap {
    overflow: hidden;
}

.award-card .card-img {
    width: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.award-card:hover .card-img {
    transform: scale(1.04);
}

.award-card .card-body {
    padding: 16px 18px 20px;
}

.award-card .card-body h3 {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
    letter-spacing: 0.3px;
    color: var(--black);
}

.award-card .card-body p {
    font-size: 13px;
    line-height: 1.7;
    color: #555;
}

.award-card.img-only .card-body {
    display: none;
}

.award-card .card-badge {
    background: var(--black);
    color: var(--pure-white);
    padding: 28px 20px;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.award-card .card-badge span {
    display: block;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: var(--letter-spacing-lg);
    margin-top: 8px;
    opacity: 0.7;
}

@media (max-width: 900px) {
    .awards-section {
        padding: 40px 24px;
    }
}

@media (max-width: 600px) {
    .awards-section {
        padding: 30px 16px;
    }

    .awards-section .section-heading {
        font-size: 26px;
    }
}

/* ================= CLIENTS SECTION ================= */
.clients-section {
    background: var(--pure-white);
    overflow: hidden;
}

/* ---- Left content ---- */
.clients-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 48px;
}

.clients-left .section-label {
    font-size: 12px;
    letter-spacing: var(--letter-spacing-lg);
    text-transform: uppercase;
    color: #999;
    margin-bottom: 12px;
}

.clients-left h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.5px;
    color: var(--black);
    margin-bottom: 18px;
}

.clients-left p {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
    max-width: 300px;
    margin-bottom: 36px;
}

/* Buttons — reusing your site's clean aesthetic */
.btn-clients-outline {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid var(--black);
    color: var(--black);
    background: transparent;
    padding: 10px 22px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: var(--letter-spacing-sm);
    text-transform: uppercase;
    text-decoration: none;
    transition:
        background var(--transition-fast),
        color var(--transition-fast);
}

.btn-clients-outline:hover {
    background: var(--black);
    color: var(--pure-white);
}

.btn-clients-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--black);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: var(--letter-spacing-sm);
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition-fast);
}

.btn-clients-link:hover {
    border-color: var(--black);
    color: var(--black);
}

.btn-clients-link .arrow {
    display: inline-block;
    transition: transform var(--transition-fast);
}

.btn-clients-link:hover .arrow {
    transform: translateX(5px);
}

/* ---- Right: scroll panel ---- */
.clients-right {
    position: relative;
    height: var(--clients-panel-height);
    overflow: hidden;
    padding-left: 10px;
    padding-right: 10px;
}

/* Fade masks */
.clients-right::before,
.clients-right::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 80px;
    z-index: 2;
    pointer-events: none;
}

.clients-right::before {
    top: 0;
    background: linear-gradient(to bottom,
            var(--pure-white) 10%,
            transparent);
}

.clients-right::after {
    bottom: 0;
    background: linear-gradient(to top, var(--pure-white) 10%, transparent);
}

/* Columns flex wrapper */
.clients-cols {
    display: flex;
    gap: var(--clients-col-gap);
    height: 100%;
}

.logo-col {
    flex: 1;
    overflow: hidden;
    min-width: 0;
}

/* Scroll track */
.logo-track {
    display: flex;
    flex-direction: column;
    gap: var(--clients-col-gap);
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    will-change: transform;
}

/* Direction + speed per column */
.logo-col:nth-child(1) .logo-track {
    animation-name: scrollUp;
    animation-duration: var(--clients-scroll-speed-1);
}

.logo-col:nth-child(2) .logo-track {
    animation-name: scrollDown;
    animation-duration: var(--clients-scroll-speed-2);
}

.logo-col:nth-child(3) .logo-track {
    animation-name: scrollUp;
    animation-duration: var(--clients-scroll-speed-3);
}

/* Pause on hover */
.logo-col:hover .logo-track,
.logo-col.paused .logo-track {
    animation-play-state: paused;
}

@keyframes scrollUp {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-50%);
    }
}

@keyframes scrollDown {
    from {
        transform: translateY(-50%);
    }

    to {
        transform: translateY(0);
    }
}

/* ---- Logo card ---- */
.logo-item {
    background: var(--pure-white);
    border: 1px solid #e8e8e8;
    border-radius: var(--clients-logo-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 16px;
    flex-shrink: 0;
    transition:
        border-color var(--transition-fast),
        box-shadow var(--transition-fast),
        transform var(--transition-fast);
    cursor: default;
}

.logo-item:hover {
    border-color: #ccc;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    cursor: pointer;
}

.logo-item img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    transition: filter var(--transition-fast);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 991px) {
    .clients-left {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
        align-items: center;
    }

    .clients-left p {
        max-width: 100%;
    }

    :root {
        --clients-panel-height: 340px;
    }
}

@media (max-width: 575px) {
    .clients-section {
        padding: 48px 0;
    }

    .clients-left h2 {
        font-size: 2rem;
    }

    :root {
        --clients-panel-height: 300px;
        --clients-col-gap: 12px;
    }

    /* Hide 3rd column on small phones */
    .logo-col:nth-child(3) {
        display: none;
    }
}

@media (max-width: 380px) {

    /* Only 1 column on very small screens */
    .logo-col:nth-child(2) {
        display: none;
    }
}

/* ===============================================================
   CLIENTS — MOBILE HORIZONTAL SCROLL OVERRIDE
   Add these rules AFTER your existing clients CSS
   Desktop (≥992px): unchanged vertical columns
   Mobile (<992px):  horizontal rows scrolling L→R and R→L
   =============================================================== */

@media (max-width: 991px) {

    /* ---- Container: stack rows vertically ---- */
    .clients-right {
        height: auto;
        /* no fixed height needed for rows */
        overflow: hidden;
        padding-left: 0;
        padding-right: 0;
    }

    .clients-cols {
        flex-direction: column;
        /* rows stacked top-to-bottom */
        gap: var(--clients-col-gap, 14px);
        height: auto;
    }

    /* ---- Each "column" becomes a full-width horizontal row ---- */
    .logo-col {
        width: 100%;
        overflow: hidden;
        flex: none;
        /* disable the flex: 1 stretch */
    }

    /* ---- Track scrolls horizontally instead of vertically ---- */
    .logo-track {
        flex-direction: row;
        /* items side by side */
        width: max-content;
        /* let it grow as wide as needed */
        /* cancel vertical animation — will be overridden below */
        animation: none;
    }

    /* Row 1 — left to right (scrollRight) */
    .logo-col:nth-child(1) .logo-track {
        animation-name: scrollRight;
        animation-duration: var(--clients-scroll-speed-1, 28s);
        animation-timing-function: linear;
        animation-iteration-count: infinite;
    }

    /* Row 2 — right to left (scrollLeft) */
    .logo-col:nth-child(2) .logo-track {
        animation-name: scrollLeft;
        animation-duration: var(--clients-scroll-speed-2, 22s);
        animation-timing-function: linear;
        animation-iteration-count: infinite;
    }

    /* Row 3 — left to right again */
    .logo-col:nth-child(3) .logo-track {
        animation-name: scrollRight;
        animation-duration: var(--clients-scroll-speed-3, 32s);
        animation-timing-function: linear;
        animation-iteration-count: infinite;
        display: flex;
        /* restore visibility (hidden on ≤575px above) */
    }

    /* Fade masks — now left & right edges */
    .clients-right::before,
    .clients-right::after {
        top: 0;
        bottom: 0;
        height: auto;
        width: 60px;
    }

    .clients-right::before {
        left: 0;
        right: auto;
        background: linear-gradient(to right, var(--pure-white) 10%, transparent);
    }

    .clients-right::after {
        right: 0;
        left: auto;
        background: linear-gradient(to left, var(--pure-white) 10%, transparent);
    }

    /* Pause on hover / tap */
    .logo-col:hover .logo-track,
    .logo-col.paused .logo-track {
        animation-play-state: paused;
    }

    /* Logo card: fixed width so cards don't stretch */
    .logo-item {
        width: 130px;
        flex-shrink: 0;
    }
}

/* ---- Horizontal keyframes ---- */
@keyframes scrollLeft {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes scrollRight {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }
}

/* ---- Small phones: keep 3 rows but tighten spacing ---- */
@media (max-width: 575px) {
    .logo-item {
        width: 110px;
        padding: 14px 10px;
    }

    /* Override the "hide 3rd col" rule from original CSS */
    .logo-col:nth-child(3) {
        display: flex;
    }
}

@media (max-width: 380px) {

    /* Override the "hide 2nd col" rule from original CSS */
    .logo-col:nth-child(2) {
        display: flex;
    }

    .logo-item {
        width: 95px;
        padding: 12px 8px;
    }
}