@font-face {
    font-family: "Helvetica Neue LT Pro 33 ThEx";
    src: url("/new_assets/fonts/font/Helvetica Neue LT Pro 33 Thin Extended-c4d9.otf")
        format("opentype");
}

@font-face {
    font-family: "Helvetica Neue LT Pro 43 LiEx";
    src: url("/new_assets/fonts/font/Helvetica Neue LT Pro 43 Light Extended-4534.otf")
        format("opentype");
}

@font-face {
    font-family: "Helvetica Neue LT Pro 53 Ex";
    src: url("/new_assets/fonts/font/Helvetica Neue LT Pro 53 Extended-7ea2.otf")
        format("opentype");
}

@font-face {
    font-family: "Helvetica Neue LT Pro 63 MeEx";
    src: url("/new_assets/fonts/font/Helvetica Neue LT Pro 63 Medium Extended-8a9b.otf")
        format("opentype");
}

@font-face {
    font-family: "Helvetica Neue LT Pro 73 Ex";
    src: url("/new_assets/fonts/font/Helvetica Neue LT Pro 73 Bold Extended-3f6c.otf")
        format("opentype");
}

@font-face {
    font-family: "Helvetica Neue LT Pro 83 HeEx";
    src: url("/new_assets/fonts/font/Helvetica Neue LT Pro 83 Heavy Extended-9195.otf")
        format("opentype");
}

@font-face {
    font-family: "Helvetica Neue LT Pro 93 BlEx";
    src: url("/new_assets/fonts/font/Helvetica Neue LT Pro 93 Black Extended-51c7.otf")
        format("opentype");
}

@font-face {
    font-family: "Media Sans SemiCondensed";
    src: url("/new_assets/fonts/font/Media Sans SemiCondensed Bold-9dc4.otf")
        format("opentype");
}
:root {
    --public-relation-color: #eea121;
    --events-color: #6270d3;
    --creative-hub-color: #114da5;
    --media-buying-color: #924ada;
    --digital-color: #e28b2c;
    --strategic-planning-color: #e87b40;
    --multimedia-production-color: #c73a7e;
}

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

html,
body {
    height: 100%;
    width: 100%;
    overflow: hidden;
    overscroll-behavior: none; /* Prevent pull-to-refresh globally */
}

body {
    font-family: "Helvetica Neue LT Pro 53 Ex", sans-serif;
    background-color: #000;
    color: #fff;
}

.main-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    background-color: #000;
}

/* Left Navigation Bar - Modern Professional Design */
.left-nav {
    position: fixed;
    left: 80px;
    top: 0;
    width: 320px;
    height: 100vh;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    padding: 50px 40px;
}

.logo {
    margin-bottom: 70px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-text {
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    font-family: "Helvetica Neue LT Pro 93 BlEx", sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text .number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #f7a800 0%, #ffd700 100%);
    border-radius: 8px;
    font-size: 18px;
    font-weight: 900;
    color: #000;
    box-shadow: 0 4px 15px rgba(247, 168, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-text:hover .number {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(247, 168, 0, 0.6);
}

.logo-subtext {
    font-size: 11px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 2px;
    font-weight: 600;
    font-family: "Helvetica Neue LT Pro 73 Ex", sans-serif;
}

.nav-menu {
    list-style: none;
    flex: 1;
    padding: 0;
    margin: 0;
    position: relative;
    padding-left: 2px;
}

/* Continuous vertical line on the left - changes color based on active slide */
.nav-menu::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--active-line-color, rgba(255, 255, 255, 0.1));
    z-index: 0;
    transition: background 0.4s ease;
}

.nav-menu li {
    margin-bottom: 8px;
    position: relative;
    cursor: pointer;
}

.nav-menu li a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: 8px;
    pointer-events: auto;
    cursor: pointer;
    font-family: "Helvetica Neue LT Pro 53 Ex", sans-serif;
    font-weight: 400;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.nav-text {
    flex: 1;
}

.nav-indicator {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 1px;
    font-family: "Helvetica Neue LT Pro 73 Ex", sans-serif;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateX(-10px);
}

.nav-menu li:hover .nav-indicator,
.nav-menu li.active .nav-indicator {
    opacity: 1;
    transform: translateX(0);
    color: var(--slide-color, rgba(255, 255, 255, 0.6));
}

/* Colored segment next to active item - positioned on the left line */
.nav-menu li a::before {
    content: "";
    position: absolute;
    left: -2px;
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--slide-color, #00d4ff);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.nav-menu li a::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.03);
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.nav-menu li:hover > a::after {
    transform: translateX(0);
}

.nav-menu li.active > a {
    color: #fff;
    font-weight: 700;
    font-size: 16px; /* Keep same size as inactive tabs */
    font-family: "Helvetica Neue LT Pro 73 Ex", sans-serif;
    background: transparent;
    box-shadow: none;
}

.nav-menu li.active > a::before {
    transform: scaleY(1);
}

.nav-menu li:hover > a {
    color: rgba(255, 255, 255, 0.9);
    transform: translateX(4px);
}

/* Color coding for each slide - for the left line segment */
.nav-menu li[data-slide="0"] > a::before {
    --slide-color: #f7a800;
} /* Home - Gold */

.nav-menu li[data-slide="1"] > a::before {
    --slide-color: #8a2be2;
} /* About - Purple */

.nav-menu li[data-slide="4"] > a::before {
    --slide-color: #00d4ff;
} /* Services - Cyan */

.nav-menu li[data-slide="11"] > a::before {
    --slide-color: #ff6b6b;
} /* Projects - Red */

.nav-menu li[data-slide="14"] > a::before {
    --slide-color: #4ecdc4;
} /* Clients - Teal */

.nav-menu li[data-slide="15"] > a::before {
    --slide-color: #95e1d3;
} /* Contact - Mint */

.nav-menu li[data-slide="16"] > a::before {
    --slide-color: #00d4ff;
} /* Join Us - Cyan */

/* Submenu Styles - Modern Design */
.nav-menu li.has-children > a {
    pointer-events: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu li.has-children .arrow {
    font-size: 14px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    color: rgba(255, 255, 255, 0.4);
    margin-left: auto;
    padding-left: 10px;
}

.nav-menu li.has-children.open .arrow {
    transform: rotate(90deg);
    color: var(--slide-color, #00d4ff);
}

.nav-menu .submenu {
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        padding 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    padding-left: 15px;
    margin-top: 8px;
    margin-bottom: 8px;
    transform: translateY(-10px);
}

.nav-menu li.has-children.open .submenu {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
}

.nav-menu .submenu li {
    opacity: 0;
    transform: translateX(-15px);
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu li.has-children.open .submenu li {
    opacity: 1;
    transform: translateX(0);
}

.nav-menu li.has-children.open .submenu li:nth-child(1) {
    transition-delay: 0.05s;
}

.nav-menu li.has-children.open .submenu li:nth-child(2) {
    transition-delay: 0.1s;
}

.nav-menu li.has-children.open .submenu li:nth-child(3) {
    transition-delay: 0.15s;
}

.nav-menu li.has-children.open .submenu li:nth-child(4) {
    transition-delay: 0.2s;
}

.nav-menu li.has-children.open .submenu li:nth-child(5) {
    transition-delay: 0.25s;
}

.nav-menu li.has-children.open .submenu li:nth-child(6) {
    transition-delay: 0.3s;
}

.nav-menu .submenu li {
    padding-top: 8px;
    padding-bottom: 8px;
    margin-bottom: 4px;
    position: relative;
}

.nav-menu .submenu li a {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    pointer-events: auto;
    cursor: pointer;
    padding: 3px 12px;
    font-weight: 400;
    border-radius: 0px;
    position: relative;
    transition: all 0.3s ease;
    margin: -7px 0px;
}

.nav-menu .submenu li a::before {
    display: none;
}

/* About Us submenu - no background colors unless active */
.nav-menu li.has-children[data-slide="1"] .submenu li[data-slide="1"] a {
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
}

.nav-menu li.has-children[data-slide="1"] .submenu li[data-slide="2"] a {
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
}

.nav-menu li.has-children[data-slide="1"] .submenu li[data-slide="3"] a {
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
}

/* Active About Us submenu items */
.nav-menu li.has-children[data-slide="1"] .submenu li[data-slide="1"].active a {
    background: #8a2be2;
    color: #fff;
}

.nav-menu li.has-children[data-slide="1"] .submenu li[data-slide="2"].active a {
    background: #00d4ff;
    color: #fff;
}

.nav-menu li.has-children[data-slide="1"] .submenu li[data-slide="3"].active a {
    background: #ff6b9d;
    color: #fff;
}

/* Services submenu - no background colors unless active */
.nav-menu li.has-children[data-slide="4"] .submenu li[data-slide="5"] a {
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
}

.nav-menu li.has-children[data-slide="4"] .submenu li[data-slide="6"] a {
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
}

.nav-menu li.has-children[data-slide="4"] .submenu li[data-slide="7"] a {
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
}

.nav-menu li.has-children[data-slide="4"] .submenu li[data-slide="8"] a {
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
}

.nav-menu li.has-children[data-slide="4"] .submenu li[data-slide="9"] a {
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
}

.nav-menu li.has-children[data-slide="4"] .submenu li[data-slide="10"] a {
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
}

/* Active submenu item - full color background */
.nav-menu .submenu li.active a {
    color: #fff;
    font-weight: 600;
}

.nav-menu li.has-children[data-slide="4"] .submenu li[data-slide="5"].active a {
    background: #e87b40;
    color: #fff;
}

.nav-menu li.has-children[data-slide="4"] .submenu li[data-slide="6"].active a {
    background: #924ada;
    color: #fff;
}

.nav-menu li.has-children[data-slide="4"] .submenu li[data-slide="7"].active a {
    background: #114da5;
    color: #fff;
}

.nav-menu li.has-children[data-slide="4"] .submenu li[data-slide="8"].active a {
    background: #eea121;
    color: #fff;
}

.nav-menu li.has-children[data-slide="4"] .submenu li[data-slide="9"].active a {
    background: #6270d3;
    color: #fff;
}

.nav-menu
    li.has-children[data-slide="4"]
    .submenu
    li[data-slide="10"].active
    a {
    background: #e28b2c;
    color: #fff;
}

.nav-menu .submenu li.active a::before {
    display: none;
}

.nav-menu .submenu li.active::before {
    display: none;
}

/* Hover states for submenu items */
.nav-menu .submenu li:hover a {
    color: rgba(255, 255, 255, 0.95);
    transform: translateX(2px);
}

/* Hover states for About Us submenu */
.nav-menu li.has-children[data-slide="1"] .submenu li[data-slide="1"]:hover a {
    background: rgba(138, 43, 226, 0.15);
    color: rgba(255, 255, 255, 0.85);
}

.nav-menu li.has-children[data-slide="1"] .submenu li[data-slide="2"]:hover a {
    background: rgba(0, 212, 255, 0.15);
    color: rgba(255, 255, 255, 0.85);
}

.nav-menu li.has-children[data-slide="1"] .submenu li[data-slide="3"]:hover a {
    background: rgba(255, 107, 157, 0.15);
    color: rgba(255, 255, 255, 0.85);
}

/* Hover states for Services submenu */
.nav-menu li.has-children[data-slide="4"] .submenu li[data-slide="5"]:hover a {
    background: rgba(232, 123, 64, 0.15);
    color: rgba(255, 255, 255, 0.85);
}

.nav-menu li.has-children[data-slide="4"] .submenu li[data-slide="6"]:hover a {
    background: rgba(146, 74, 218, 0.15);
    color: rgba(255, 255, 255, 0.85);
}

.nav-menu li.has-children[data-slide="4"] .submenu li[data-slide="7"]:hover a {
    background: rgba(17, 77, 165, 0.15);
    color: rgba(255, 255, 255, 0.85);
}

.nav-menu li.has-children[data-slide="4"] .submenu li[data-slide="8"]:hover a {
    background: rgba(238, 161, 33, 0.15);
    color: rgba(255, 255, 255, 0.85);
}

.nav-menu li.has-children[data-slide="4"] .submenu li[data-slide="9"]:hover a {
    background: rgba(98, 112, 211, 0.15);
    color: rgba(255, 255, 255, 0.85);
}

.nav-menu li.has-children[data-slide="4"] .submenu li[data-slide="10"]:hover a {
    background: rgba(226, 139, 44, 0.15);
    color: rgba(255, 255, 255, 0.85);
}

.social-icons {
    display: flex;
    flex-direction: row;
    gap: 12px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
}

.social-icon {
    width: 36px;
    height: 36px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-weight: 600;
    text-decoration: none;
}

.social-icon i {
    display: block;
    font-size: 16px;
    line-height: 1;
}

.social-icon:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Main Slider Area */
.slider-container {
    flex: 1;
    margin-left: 0px;
    position: relative;
    height: 100vh;
    width: calc(100vw - 0px);
}
.active-margin .slider-container {
    flex: 1;
    margin-left: 400px;
    position: relative;
    height: 100vh;
    width: calc(100vw - 400px);
}
.timeline {
    width: 100%;
    height: 100vh;
    background-color: #000;
}

.timeline .swiper-container {
    height: 100vh;
    width: 100%;
    position: relative;
}

.timeline .swiper-wrapper {
    transition: 0.3s cubic-bezier(0.68, -0.4, 0.27, 1.34);
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Mobile: Faster, simpler transitions */
@media screen and (max-width: 1024px) {
    .timeline .swiper-wrapper {
        transition: 0.2s ease-out;
    }
}

.timeline .swiper-slide {
    position: relative;
    color: #fff;
    overflow: hidden;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    display: flex;
    align-items: center;
    height: 100vh;
    min-height: 100vh;
    width: 100%;
}

/* Home slide specific background */
.timeline .swiper-slide:first-child {
    background: linear-gradient(
        135deg,
        #000000 0%,
        #1a0000 30%,
        #2a001a 50%,
        #1a002a 70%,
        #00001a 100%
    );
}

/* Central Graphic Area - Abstract Bars */
.center-graphic {
    position: absolute;
    left: 30%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 70vw;
    max-width: 1000px;
    height: 80vh;
    max-height: 800px;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
    padding: 0 20px;
}

/* Vimeo iframe "cover" behavior for the center graphic.
   Unlike <video>, iframes can't use object-fit, so we oversize and center
   the iframe to fill the container without letterboxing. */
.center-graphic iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 100%;
    width: 177.78%;
    transform: translate(-50%, -50%);
}


.abstract-bars-container {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 6px;
    z-index: 1;
}

.abstract-bar {
    flex: 1;
    min-width: 8px;
    max-width: 15px;
    background: linear-gradient(
        to top,
        transparent 0%,
        currentColor 30%,
        currentColor 100%
    );
    border-radius: 3px 3px 0 0;
    animation: barGlow 3s ease-in-out infinite;
    position: relative;
    box-shadow: 0 0 20px currentColor, inset 0 0 10px rgba(255, 255, 255, 0.2);
    opacity: 0.85;
}

/* Warm colors on left side - reds and oranges */
.abstract-bar:nth-child(-n + 40) {
    color: #ff3333;
    animation-delay: calc(var(--bar-index, 0) * 0.03s);
}

.abstract-bar:nth-child(n + 20):nth-child(-n + 40) {
    color: #ff6633;
}

.abstract-bar:nth-child(n + 30):nth-child(-n + 50) {
    color: #ff9933;
}

.abstract-bar:nth-child(n + 40):nth-child(-n + 60) {
    color: #ffcc33;
}

/* Cool colors on right side - greens, blues, purples */
.abstract-bar:nth-child(n + 60):nth-child(-n + 80) {
    color: #33ff66;
}

.abstract-bar:nth-child(n + 80):nth-child(-n + 100) {
    color: #3399ff;
}

.abstract-bar:nth-child(n + 100) {
    color: #9966ff;
}

/* Varied heights for bars to create cityscape effect */
.abstract-bar:nth-child(odd) {
    height: 35%;
}

.abstract-bar:nth-child(even) {
    height: 55%;
}

.abstract-bar:nth-child(3n) {
    height: 75%;
}

.abstract-bar:nth-child(4n) {
    height: 25%;
}

.abstract-bar:nth-child(5n) {
    height: 85%;
}

.abstract-bar:nth-child(7n) {
    height: 45%;
}

.abstract-bar:nth-child(11n) {
    height: 65%;
}

.abstract-bar:nth-child(13n) {
    height: 95%;
}

.abstract-bar:nth-child(17n) {
    height: 15%;
}

/*@keyframes barGlow {
    0%,
    100% {
        opacity: 0.7;
        transform: scaleY(1);
    }
    50% {
        opacity: 1;
        transform: scaleY(1.05);
    }
}*/

/* Particle effects */
.abstract-bar::before {
    content: "";
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: currentColor;
    border-radius: 50%;
    box-shadow: 0 0 10px currentColor, 0 0 20px currentColor;
    animation: sparkle 2s ease-in-out infinite;
    animation-delay: calc(var(--bar-index, 0) * 0.1s);
}

@keyframes sparkle {
    0%,
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) translateY(-10px);
    }
}

.number-nine {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(200px, 30vw, 500px);
    font-weight: 900;
    z-index: 3;
    font-family: "Helvetica Neue LT Pro 93 BlEx", sans-serif;
    background: linear-gradient(
        135deg,
        rgba(255, 150, 50, 0.9) 0%,
        rgba(255, 200, 100, 0.95) 25%,
        rgba(255, 255, 255, 0.98) 50%,
        rgba(100, 150, 255, 0.95) 75%,
        rgba(150, 100, 255, 0.9) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.3))
        drop-shadow(0 0 80px rgba(255, 200, 100, 0.4))
        drop-shadow(0 0 120px rgba(100, 150, 255, 0.3));
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
    mix-blend-mode: screen;
    animation: metallicShine 4s ease-in-out infinite;
}

@keyframes metallicShine {
    0%,
    100% {
        filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.3))
            drop-shadow(0 0 80px rgba(255, 200, 100, 0.4))
            drop-shadow(0 0 120px rgba(100, 150, 255, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 60px rgba(255, 255, 255, 0.5))
            drop-shadow(0 0 120px rgba(255, 220, 120, 0.6))
            drop-shadow(0 0 180px rgba(120, 180, 255, 0.5));
    }
}

.abstract-bg {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 0;
    background: radial-gradient(
        ellipse at center,
        rgba(255, 50, 50, 0.2) 0%,
        rgba(255, 100, 50, 0.15) 20%,
        rgba(255, 150, 50, 0.1) 40%,
        rgba(100, 150, 255, 0.1) 60%,
        rgba(150, 100, 255, 0.15) 80%,
        rgba(200, 50, 255, 0.2) 100%
    );
    filter: blur(60px);
    animation: pulse 6s ease-in-out infinite;
}

/*@keyframes pulse {
    0%,
    100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.2);
    }
}*/

/* Right Content Area */
.right-content {
    position: absolute;
    right: 100px;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    z-index: 4;
    text-align: left;
}

/* New Layout Structure - Two Section Layout */
.slide-two-section {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100%;
}

.slide-top-section {
    flex: 0 0 30%;
    background-color: #1e3a8a;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 80px;
    position: relative;
    z-index: 2;
    min-height: 30vh;
}

.slide-top-title {
    font-size: 72px;
    font-weight: 800;
    color: rgba(255, 255, 255);
    max-width: 50%;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 0.9;
    margin: 0;
    font-family: "Helvetica Neue LT Pro 63 MeEx", sans-serif;
}

.slide-top-content {
    text-align: left;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.slide-top-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.9;
    margin-bottom: 10px;
    text-align: left;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.slide-more-button {
    display: inline-block;
    padding: 5px 20px;
    border: 1px solid #fff;
    background: transparent;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-radius: 20px;
    width: 40%;
    text-align: center;
}

.slide-more-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.slide-bottom-section {
    flex: 0 0 50%;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 70vh;
}

/* Desktop/tablet: ensure services fill viewport (mobile overrides below handle 450px) */
@media screen and (min-width: 769px) {
    .service-slide .slide-bottom-section,
    .slide-two-section .slide-bottom-section {
        height: 100vh !important;
        min-height: 100vh !important;
    }

    .service-slide .vimeo-embed-container,
    .slide-two-section .vimeo-embed-container {
        height: 100vh !important;
        min-height: 100vh !important;
    }
}

/* Vimeo Embed Styling */
.slide-bottom-section .vimeo-embed-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

/* Override: Service slides use flex instead of absolute positioning */
.service-slide .slide-bottom-section .vimeo-embed-container,
.slide-two-section .slide-bottom-section .vimeo-embed-container {
    position: relative !important; /* Override absolute for flex layout */
}

@media (min-width: 1770px) {
    .slide-bottom-section .vimeo-embed-container iframe {
        width: 100%;
        height: 56.25vw; /* Maintain 16:9 aspect ratio based on viewport width */
        min-height: 100%;
        position: absolute;
        top: 50% !important;
        left: 0;
        transform: translateY(-50%);
        pointer-events: none;
    }
}

.slide-bottom-section .vimeo-embed-container iframe {
    width: 100%;
    height: 56.25vw; /* Maintain 16:9 aspect ratio based on viewport width */
    min-height: 100%;
    position: absolute;
    top: 42%;
    left: 0;
    transform: translateY(-58%);
    pointer-events: none;
}

.slide-bottom-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        transparent 100%
    );
    padding: 60px 80px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.slide-bottom-text {
    color: #fff;
    line-height: 1.4;
    margin-bottom: 15px;
}

.slide-bottom-text-arabic {
    font-size: 64px;
    font-weight: 400;
    direction: rtl;
    text-align: left;
    margin-bottom: 20px;
    font-family: "Helvetica Neue LT Pro 53 Ex", sans-serif;
}

.slide-bottom-text-english {
    font-size: 36px;
    font-weight: 300;
    font-style: italic;
    text-align: left;
}

/* Responsive styles for new layout */
@media screen and (max-width: 1024px) {
    .slide-top-section {
        padding: 40px 50px;
    }

    .slide-top-title {
        font-size: 48px;
    }

    .slide-top-content {
        max-width: 400px;
    }

    .slide-bottom-overlay {
        padding: 40px 50px;
    }

    .slide-bottom-text-arabic {
        font-size: 42px;
    }

    .slide-bottom-text-english {
        font-size: 24px;
    }
}

@media screen and (max-width: 768px) {
    .slide-top-section {
        padding: 30px 30px;
        flex-direction: column;
        text-align: center;
    }

    .slide-top-title {
        font-size: 36px;
        margin-bottom: 20px;
    }

    .slide-top-content {
        max-width: 100%;
        text-align: center;
    }

    .slide-bottom-overlay {
        padding: 30px 30px;
    }

    .slide-bottom-text-arabic {
        font-size: 32px;
    }

    .slide-bottom-text-english {
        font-size: 20px;
    }
}

.main-heading {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    font-family: "Helvetica Neue LT Pro 73 Ex", sans-serif;
}

.main-heading .line1 {
    font-size: 36px;
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
    font-family: "Helvetica Neue LT Pro 73 Ex", sans-serif;
}

.main-heading .line2 {
    font-size: 64px;
    display: block;
    color: rgba(255, 255, 255, 0.98);
    font-weight: 900;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.6);
    font-family: "Helvetica Neue LT Pro 93 BlEx", sans-serif;
}

.description {
    font-size: 16px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.85);
    max-width: 380px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
    font-weight: 400;
    letter-spacing: 0.3px;
    font-family: "Helvetica Neue LT Pro 53 Ex", sans-serif;
}

/* Swiper Navigation */
.timeline .swiper-button-next,
.timeline .swiper-button-prev {
    background-size: 30px 30px;
    width: 30px;
    height: 30px;
    margin-top: 0;
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.timeline .swiper-button-prev {
    left: 50%;
    top: 30px;
    transform: translateX(-50%) rotate(90deg);
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E");
}

.timeline .swiper-button-prev:hover {
    opacity: 1;
    transform: translateX(-50%) rotate(90deg) translateY(-5px);
}

.timeline .swiper-button-next {
    left: 50%;
    bottom: 30px;
    top: auto;
    transform: translateX(-50%) rotate(90deg);
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E");
}

.timeline .swiper-button-next:hover {
    opacity: 1;
    transform: translateX(-50%) rotate(90deg) translateY(5px);
}

.timeline .swiper-pagination {
    display: none !important;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .left-nav {
        width: 280px;
        padding: 40px 30px;
        left: 60px;
    }

    .logo-text {
        font-size: 24px;
    }

    .logo-text .number {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }

    .nav-menu li a {
        font-size: 15px;
        padding: 10px 14px;
    }

    .nav-menu li.active > a {
        font-size: 16px; /* Same as inactive */
    }

    .slider-container {
        margin-left: 0px;
        width: calc(100vw - 0px);
    }

    .active-margin .slider-container {
        margin-left: 280px;
        width: calc(100vw - 280px);
    }

    .right-content {
        right: 40px;
        width: 300px;
    }

    .main-heading .line1 {
        font-size: 28px;
    }

    .main-heading .line2 {
        font-size: 48px;
    }

    .number-nine {
        font-size: 300px;
    }

    .center-graphic {
        width: 500px;
        height: 500px;
    }
}

@media screen and (max-width: 768px) {
    .about-image {
        position: absolute;
        bottom: 0px;
        right: 0px !important;
    }
    .about-image img {
        max-width: 488px !important;
        width: 430px !important;
    }
    .left-nav {
        width: 240px;
        padding: 30px 20px;
        left: 40px;
    }

    .logo {
        margin-bottom: 50px;
        padding-bottom: 20px;
    }

    .logo-text {
        font-size: 20px;
    }

    .logo-text .number {
        width: 24px;
        height: 24px;
        font-size: 14px;
    }

    .logo-subtext {
        font-size: 9px;
    }

    .nav-menu li a {
        font-size: 14px;
        padding: 10px 12px;
    }

    .nav-menu li.active > a {
        font-size: 16px; /* Same as inactive */
    }

    .nav-menu .submenu li a {
        font-size: 13px;
        padding: 6px 10px;
    }

    .slider-container {
        margin-left: 0px;
        width: calc(100vw - 0px);
    }

    .active-margin .slider-container {
        margin-left: 240px;
        width: calc(100vw - 240px);
    }

    .right-content {
        right: 20px;
        width: 250px;
    }

    .main-heading .line1 {
        font-size: 20px;
    }

    .main-heading .line2 {
        font-size: 36px;
    }

    .description {
        font-size: 14px;
    }

    .number-nine {
        font-size: 200px;
    }

    .center-graphic {
        width: 400px;
        height: 400px;
    }

    .timeline .swiper-button-prev {
        left: 50%;
        top: 20px;
        transform: translateX(-50%) rotate(90deg);
    }

    .timeline .swiper-button-next {
        left: 50%;
        bottom: 20px;
        top: auto;
        transform: translateX(-50%) rotate(90deg);
    }
}

/* Projects Overview Grid Styles - Modern Design */
.projects-overview-grid-slide {
    background-size: cover;
    padding: 0;
    overflow: hidden;
    height: 100vh;
}

/* On large screens, allow overflow for hover effects */
@media screen and (min-width: 1401px) {
    .projects-overview-grid-slide {
        overflow: visible !important;
    }
}

.projects-overview-container {
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
}

/* On large screens, allow overflow for hover effects */
@media screen and (min-width: 1401px) {
    /* Ensure swiper wrapper allows overflow */
    .swiper-wrapper {
        overflow: visible !important;
    }

    .swiper-slide.projects-overview-grid-slide {
        overflow: visible !important;
    }

    .projects-overview-grid-slide {
        overflow: visible !important;
    }

    .projects-overview-container {
        overflow: visible !important;
        padding: 30px 30px 30px 50px !important; /* Extra left padding to account for sidebar */
        max-height: none !important;
        height: auto !important;
        min-height: 100vh;
    }

    .projects-masonry-grid {
        height: calc(100vh - 60px) !important;
        overflow: visible !important;
        padding: 20px !important;
        gap: 16px !important;
    }

    .project-masonry-item {
        overflow: visible !important;
        position: relative !important;
        transform-origin: center center;
    }

    .project-masonry-item:hover {
        overflow: visible !important;
        z-index: 1000 !important;
    }

    /* For items on the left side, shift more to the right */

    .project-masonry-image {
        overflow: visible !important;
    }
}

.projects-overview-container::-webkit-scrollbar {
    width: 6px;
}

.projects-overview-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.projects-overview-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.projects-overview-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Masonry Grid Layout - Three Part Structure */
.projects-masonry-grid {
    width: 100%;
    height: calc(100vh - 16px);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 8px;
    padding: 8px;
    box-sizing: border-box;
    overflow: hidden;
}

.project-masonry-item {
    position: relative;
    overflow: hidden; /* Changed from hidden to visible */
    cursor: pointer;
    background: #0a0a0a;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    min-height: 0;
    min-width: 0;
}

/* 1st Part (Top Left - 50% width, 50% height): Contains 3 images (2, 3, 4) */
/* Image 2: Full height on left side of 1st part */
.project-masonry-item[data-index="0"] {
    grid-column: 1;
    grid-row: 1 / 4;
}

/* Image 3: Top right of 1st part */
.project-masonry-item[data-index="1"] {
    grid-column: 2;
    grid-row: 1/3;
}

/* Image 4: Bottom right of 1st part */
.project-masonry-item[data-index="2"] {
    grid-column: 2;
    grid-row: 3/4;
}

/* 3rd Part (Top Right - 50% width, 50% height): Contains 2 images (5, 6) stacked */
/* Image 5: Top of 3rd part */
.project-masonry-item[data-index="3"] {
    grid-column: 3 / 5;
    grid-row: 1/2;
}

/* Image 6: Bottom of 3rd part */
.project-masonry-item[data-index="4"] {
    grid-column: 3 / 5;
    grid-row: 2/4;
}

/* 2nd Part (Bottom - 100% width, 50% height): Contains 2 images (7, 8) side by side */
/* Image 7: Left of 2nd part */
.project-masonry-item[data-index="5"] {
    grid-column: 1 / 3;
    grid-row: 4 / 5;
}

/* Image 8: Right of 2nd part */
.project-masonry-item[data-index="6"] {
    grid-column: 3 / 5;
    grid-row: 4 / 5;
}

/* Remove fallback rules - using data-index for precise positioning */

.project-masonry-item {
    transform-origin: center center;
}

.project-masonry-item:hover {
    z-index: 10;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

/* Ensure items don't get cut off on large screens */
@media screen and (min-width: 1401px) {
    .projects-overview-container {
        overflow: visible;
    }

    .projects-masonry-grid {
        overflow: visible;
    }

    .project-masonry-item {
        overflow: visible;
    }

    .project-masonry-item:hover {
        overflow: visible;
    }
}

.project-masonry-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s ease;

    min-width: 0;
    min-height: 0;
}

/* Responsive Styles for Projects Masonry Grid */
@media screen and (max-width: 1400px) {
    .projects-masonry-grid {
        gap: 6px;
        padding: 6px;
    }
}

@media screen and (max-width: 1024px) {
    .projects-masonry-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(4, 1fr);
        gap: 4px;
        padding: 4px;
    }
}

@media screen and (max-width: 768px) {
    .projects-masonry-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(6, 1fr);
        gap: 4px;
        padding: 4px;
    }

    /* 1st Part - Stack vertically on mobile */
    .project-masonry-item[data-index="0"] {
        grid-column: 1 / 3;
        grid-row: 1 / 3;
    }

    .project-masonry-item[data-index="1"] {
        grid-column: 1;
        grid-row: 3;
    }

    .project-masonry-item[data-index="2"] {
        grid-column: 2;
        grid-row: 3;
    }

    /* 3rd Part */
    .project-masonry-item[data-index="3"] {
        grid-column: 1 / 3;
        grid-row: 4;
    }

    .project-masonry-item[data-index="4"] {
        grid-column: 1 / 3;
        grid-row: 5;
    }

    /* 2nd Part */
    .project-masonry-item[data-index="5"] {
        grid-column: 1;
        grid-row: 6;
    }

    .project-masonry-item[data-index="6"] {
        grid-column: 2;
        grid-row: 6;
    }
}

@media screen and (max-width: 480px) {
    .projects-masonry-grid {
        grid-template-columns: 1fr;
    }

    .project-masonry-item[data-size="tall"],
    .project-masonry-item[data-size="wide"],
    .project-masonry-item[data-size="medium"] {
        grid-row: span 1;
        aspect-ratio: 3 / 4;
    }
}

/* Projects Grid Slide Styles - New Layout */
.projects-grid-slide {
    padding: 0;
    overflow: hidden;
    height: 100vh;
}

.projects-grid-container {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Main Layout - Two Parts */
.projects-detail-layout {
    display: flex;
    width: 100%;
    height: 100vh;
    position: relative;
}

/* Left Part (50% width) */
.projects-detail-left {
    width: 50%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 40px;
    box-sizing: border-box;
    gap: 20px;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Main Project Image - Full width, 50% of screen height */
.projects-main-image-wrapper {
    position: relative;
    width: 100%;
    height: 50vh;
    flex-shrink: 0;
    overflow: hidden;
    background: #0a0a0a;
}

.projects-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Grid Overlay Pattern */

/* 7 Images Grid Below Main Image */
.projects-thumbnails-layout {
    display: flex;
    width: 100%;
    height: calc(50vh - 20px);
    gap: 20px;
    flex: 1;
    min-height: 0;
}

/* First Part: 1 image (25% of left part = 12.5% of total) */
.projects-thumbnails-part1 {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.projects-thumbnails-part1 .projects-thumbnail-item {
    width: 100%;
    height: 100%;
    flex: 1;
}

/* Second Part: 6 images in 3 rows, 2 columns (25% of left part = 12.5% of total) */
.projects-thumbnails-part2 {
    width: 50%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 10px;
}

.projects-thumbnails-part2 .projects-thumbnail-item {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* Right Part (50% width) - Content */
.projects-detail-right {
    width: 50%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 80px 100px;
    box-sizing: border-box;
    overflow-y: auto;
    overflow-x: hidden;
    justify-content: flex-start;
}

/* Client Branding Section - Modern Design */
.projects-client-branding {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.projects-client-logo {
    max-width: 150px;
    height: auto;
    margin-bottom: 15px;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.6));
    transition: transform 0.3s ease;
}

.projects-branding-arabic {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.98);
    font-weight: 700;
    direction: rtl;
    text-align: right;
    margin-bottom: 8px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
    font-family: "Helvetica Neue LT Pro 73 Ex", sans-serif;
    line-height: 1.4;
    letter-spacing: 0.3px;
}

.projects-branding-english {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-family: "Helvetica Neue LT Pro 53 Ex", sans-serif;
}

.projects-main-title {
    font-size: 48px;
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 30px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    font-family: "Helvetica Neue LT Pro 93 BlEx", sans-serif;
    letter-spacing: -1px;
    text-transform: uppercase;
}

.projects-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    line-height: 1.7;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
    font-weight: 400;
    letter-spacing: 0.2px;
    font-family: "Helvetica Neue LT Pro 53 Ex", sans-serif;
    max-width: 95%;
}

.projects-description p {
    margin-bottom: 20px;
}

.projects-description p:last-child {
    margin-bottom: 0;
}

/* Thumbnail Items - Updated for New Layout */
.projects-thumbnail-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    min-height: 0;
    min-width: 0;
}

.projects-thumbnail-item:hover {
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.15);
    z-index: 10;
    border-color: rgba(255, 255, 255, 0.15);
}

.projects-thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;

    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.projects-thumbnail-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;

    padding: 15px;
    opacity: 1;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.projects-thumbnail-text {
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    line-height: 1.4;
    font-family: "Helvetica Neue LT Pro 53 Ex", sans-serif;
}

/* Responsive Styles for Projects Grid */
@media screen and (max-width: 1024px) {
    .projects-detail-layout {
        flex-direction: column;
    }

    .projects-detail-left {
        width: 100%;
        height: 60vh;
        padding: 20px;
    }

    .projects-detail-right {
        width: 100%;
        height: 40vh;
        padding: 40px 50px;
    }

    .projects-main-image-wrapper {
        width: 100%;
        max-width: 400px;
        height: auto;
        min-height: 300px;
    }

    .projects-main-image {
        width: 100%;
        max-width: 400px;
        height: 300px;
    }

    .projects-thumbnails-layout {
        height: auto;
        min-height: 300px;
    }

    .projects-main-title {
        font-size: 48px;
    }

    .projects-branding-arabic {
        font-size: 20px;
    }

    .projects-branding-english {
        font-size: 12px;
    }
}

@media screen and (max-width: 768px) {
    .projects-main-title {
        font-size: 36px;
        margin-bottom: 30px;
    }

    .projects-branding-arabic {
        font-size: 24px;
    }

    .projects-branding-english {
        font-size: 14px;
    }

    .projects-description {
        font-size: 16px;
    }

    .projects-thumbnails-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 40px 50px;
        gap: 20px;
    }
}

@media screen and (max-width: 768px) {
    .projects-hero-section {
        flex-direction: column;
    }

    .projects-portrait-wrapper {
        flex: 0 0 40vh;
    }

    .projects-hero-content {
        padding: 40px 30px;
    }

    .projects-main-title {
        font-size: 42px;
        margin-bottom: 25px;
    }

    .projects-description {
        font-size: 15px;
        line-height: 1.7;
    }

    .projects-branding-arabic {
        font-size: 20px;
    }

    .projects-branding-english {
        font-size: 12px;
    }

    .projects-client-logo {
        max-width: 150px;
    }

    .projects-thumbnails-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 30px 30px;
        gap: 15px;
    }

    .projects-grid-overlay {
        width: 50%;
    }
}

/* ============================================
   CLIENTS SLIDE STYLES - Horizontal Swiper Layout
   ============================================ */
.clients-slide {
    padding: 0;
    overflow: hidden;
    height: 100vh;
}

.clients-container {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Horizontal Custom Carousel Container */
/* Owl Carousel Wrapper */
.clients-owl-carousel,
.clients-owl-carousel-desktop {
    width: 100% !important;
    min-height: 100vh !important;
    height: auto !important;
    position: relative;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    overflow: visible !important;
    touch-action: pan-x;
    pointer-events: auto !important;
    z-index: 10;
    overscroll-behavior: contain;
}

.clients-owl-carousel .owl-stage-outer {
    min-height: 100vh !important;
    height: auto !important;
    width: 100% !important;
    touch-action: pan-x !important;
    overflow: visible !important;
    position: relative !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.clients-owl-carousel .owl-stage {
    min-height: 100vh !important;
    height: auto !important;
    width: auto !important;
    display: flex !important;
    position: relative !important;
    visibility: visible !important;
    opacity: 1 !important;
    align-items: center;
}

.clients-owl-carousel .owl-item {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    min-height: 100vh !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    overflow: visible !important;
    flex-shrink: 0;
}

.clients-owl-item {
    width: 100% !important;
    min-height: 100vh !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px;
    box-sizing: border-box;
    position: relative;
    flex-shrink: 0;
    overflow: visible !important;
}

.clients-title-slide {
    padding: 0 20px !important;
}

.clients-logos-slide {
    padding: 40px 20px !important;
}

.clients-more-slide {
    padding: 20px !important;
}

/* Owl Carousel Navigation Arrows */
.clients-owl-carousel .owl-nav,
.clients-owl-carousel-desktop .owl-nav,
.clients-owl-carousel-mobile .owl-nav {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 100% !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    justify-content: space-between !important;
    padding: 0 40px !important;
    z-index: 200 !important;
    pointer-events: none !important;
}

/* Unified Arrow Styles - All Carousels */
.clients-owl-carousel .owl-nav button,
.clients-owl-carousel-desktop .owl-nav button,
.clients-owl-carousel-mobile .owl-nav button,
.projects-owl-carousel-desktop .owl-nav button,
.projects-owl-carousel-mobile .owl-nav button,
.careers-owl-carousel .owl-nav button {
    pointer-events: all !important;
    width: 50px !important;
    height: 50px !important;
    background: rgba(78, 205, 196, 0.15) !important;
    border: 2px solid rgba(78, 205, 196, 0.5) !important;
    border-radius: 50%;
    color: #4ecdc4 !important;
    font-size: 24px !important;
    line-height: 1;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(15px);
    user-select: none;
    -webkit-user-select: none;
    margin: 0;
    padding: 0;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4), 0 0 20px rgba(78, 205, 196, 0.3);
    position: relative;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 200 !important;
}

/* Style spans inside navigation buttons */
.clients-owl-carousel .owl-nav button span,
.clients-owl-carousel-desktop .owl-nav button span,
.clients-owl-carousel-mobile .owl-nav button span,
.projects-owl-carousel-desktop .owl-nav button span,
.projects-owl-carousel-mobile .owl-nav button span,
.careers-owl-carousel .owl-nav button span {
    display: inline-block;
    line-height: 1;
    font-size: inherit;
    color: inherit;
}

/* Animation removed - no ::before pseudo-element */

/* Unified Hover Styles - All Carousels */
.clients-owl-carousel .owl-nav button:hover,
.clients-owl-carousel-desktop .owl-nav button:hover,
.clients-owl-carousel-mobile .owl-nav button:hover,
.projects-owl-carousel-desktop .owl-nav button:hover,
.projects-owl-carousel-mobile .owl-nav button:hover,
.careers-owl-carousel .owl-nav button:hover {
    background: rgba(78, 205, 196, 0.3) !important;
    border-color: rgba(78, 205, 196, 0.8) !important;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4), 0 0 20px rgba(78, 205, 196, 0.3);
    color: #fff !important;
}

.clients-owl-carousel .owl-nav button.owl-prev {
    left: 40px;
    position: absolute;
}

.clients-owl-carousel .owl-nav button.owl-next {
    right: 40px;
    position: absolute;
}

.clients-owl-carousel .owl-nav button.disabled {
    opacity: 0.3 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

/* Hide any duplicate custom nav classes - only use Owl Carousel's default buttons */
.clients-carousel-nav,
.projects-carousel-nav,
.careers-carousel-nav,
.clients-carousel-prev,
.clients-carousel-next,
.projects-carousel-prev,
.projects-carousel-next,
.careers-carousel-prev,
.careers-carousel-next {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Ensure only one set of navigation buttons per carousel */
.clients-owl-carousel .owl-nav button:not(:first-of-type):not(:last-of-type),
.clients-owl-carousel-desktop
    .owl-nav
    button:not(:first-of-type):not(:last-of-type),
.clients-owl-carousel-mobile
    .owl-nav
    button:not(:first-of-type):not(:last-of-type),
.projects-owl-carousel-desktop
    .owl-nav
    button:not(:first-of-type):not(:last-of-type),
.projects-owl-carousel-mobile
    .owl-nav
    button:not(:first-of-type):not(:last-of-type),
.careers-owl-carousel .owl-nav button:not(:first-of-type):not(:last-of-type) {
    display: none !important;
}

/* Ensure only 2 buttons per carousel (prev and next) */
.clients-owl-carousel .owl-nav,
.clients-owl-carousel-desktop .owl-nav,
.clients-owl-carousel-mobile .owl-nav,
.projects-owl-carousel-desktop .owl-nav,
.projects-owl-carousel-mobile .owl-nav,
.careers-owl-carousel .owl-nav {
    display: flex !important;
}

.clients-owl-carousel .owl-nav button:first-of-type,
.clients-owl-carousel-desktop .owl-nav button:first-of-type,
.clients-owl-carousel-mobile .owl-nav button:first-of-type,
.projects-owl-carousel-desktop .owl-nav button:first-of-type,
.projects-owl-carousel-mobile .owl-nav button:first-of-type,
.careers-owl-carousel .owl-nav button:first-of-type {
    display: flex !important;
}

.clients-owl-carousel .owl-nav button:last-of-type,
.clients-owl-carousel-desktop .owl-nav button:last-of-type,
.clients-owl-carousel-mobile .owl-nav button:last-of-type,
.projects-owl-carousel-desktop .owl-nav button:last-of-type,
.projects-owl-carousel-mobile .owl-nav button:last-of-type,
.careers-owl-carousel .owl-nav button:last-of-type {
    display: flex !important;
}

.clients-owl-carousel.owl-carousel {
    display: block !important;
    visibility: visible !important;
}

.clients-owl-carousel .owl-stage-outer,
.clients-owl-carousel-desktop .owl-stage-outer {
    min-height: 100vh;
    height: auto;
    overflow: visible;
    /* Isolate touch events to horizontal only */
    touch-action: pan-x;
    position: relative;
    pointer-events: auto !important;
    -webkit-overflow-scrolling: touch;
}

.clients-owl-carousel .owl-stage,
.clients-owl-carousel-desktop .owl-stage {
    display: flex !important;
    min-height: 100vh;
    height: auto;
    position: relative;
    /* Width will be calculated dynamically based on number of items */
    will-change: transform;
    align-items: start;
}

.clients-owl-carousel .owl-stage-outer {
    display: block !important;
    visibility: visible !important;
}

.clients-owl-carousel .owl-wrapper {
    display: flex !important;
}

.clients-owl-item {
    width: 100% !important;
    min-height: 100vh !important;
    height: auto !important;
    flex-shrink: 0;
    display: flex !important;
    align-items: center;
    justify-content: center;
    overflow: visible !important;
    padding: 60px 80px;
    box-sizing: border-box;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    touch-action: pan-x;
}

.clients-owl-carousel .owl-item {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    flex-shrink: 0;
}

/* Owl Carousel by default hides inactive items - we need to override this */
.clients-owl-carousel .owl-item {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
}

.clients-owl-carousel .owl-item:not(.active) {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.clients-owl-carousel .owl-item.cloned {
    display: none !important;
}

/* Ensure the stage shows all items horizontally */
.clients-owl-carousel .owl-stage {
    display: flex !important;
    width: 100% !important;
    will-change: transform;
}

.clients-owl-carousel .owl-stage-outer {
    width: 100% !important;
    overflow: visible !important;
}

/* Force visibility of all carousel content */
.clients-owl-carousel .owl-item > * {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Prevent vertical scrolling in clients carousel area */
.clients-slide {
    overflow: hidden;
    /* Allow horizontal touch events for Owl Carousel */
    touch-action: pan-x pan-y;
}

.clients-slide * {
    /* Allow touch events to propagate to Owl Carousel */
    touch-action: auto;
}

.clients-slide .clients-owl-carousel * {
    /* Ensure all carousel children can receive touch events */
    touch-action: pan-x;
    -webkit-user-select: none;
    user-select: none;
}

.clients-slide .clients-owl-carousel {
    /* Stop vertical scroll propagation to main Swiper */
    overscroll-behavior-y: contain;
    display: block !important;
    visibility: visible !important;
}

/* Override any Owl Carousel default hiding */
.owl-carousel {
    display: block !important;
}

.clients-owl-carousel.owl-carousel {
    opacity: 1 !important;
    display: block !important;
    visibility: visible !important;
}

/* Clients arrows now use unified style above (line 2078-2153) */

.clients-owl-carousel .owl-nav button.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* Slide 1: Title Slide */
.clients-title-slide {
    background: transparent;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 100%;
    cursor: pointer;
    position: relative;
    padding: 0;
    margin: 0;
}

.clients-title-content {
    text-align: center;
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 50px;
    position: relative;
    z-index: 10;
    padding: 30px 40px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out;
}

.clients-main-title {
    font-size: 72px;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, #4ecdc4 50%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    letter-spacing: -2.5px;
    line-height: 1.05;
    font-family: "Helvetica Neue LT Pro 93 BlEx", sans-serif;
    text-transform: uppercase;
    text-align: center;
    width: 100%;
    animation: fadeInUp 0.8s ease-out, gradientShift 3s ease infinite;
    text-shadow: 0 0 40px rgba(78, 205, 196, 0.3);
    position: relative;
}

@media screen and (max-width: 1024px) {
    .clients-main-title {
        font-size: 80px;
        margin-bottom: 40px;
    }

    .clients-title-content {
        max-width: 90%;
        padding: 15px;
    }
}

@media screen and (max-width: 768px) {
    .clients-main-title {
        font-size: 56px;
        margin-bottom: 30px;
    }

    .clients-title-content {
        max-width: 95%;
        padding: 10px;
    }
}

/* Animated Swipe Indicator */
.clients-swipe-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    animation: swipePulse 2s ease-in-out infinite;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: auto;
    position: relative;
    z-index: 20;
}

.swipe-arrow-right {
    font-size: 32px;
    color: rgba(255, 255, 255, 0.8);
    animation: arrowBounceRight 1.5s ease-in-out infinite;
}

.swipe-arrow-right:nth-child(1) {
    animation-delay: 0s;
}

.swipe-arrow-right:nth-child(3) {
    animation-delay: 0.3s;
}

.swipe-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: "Helvetica Neue LT Pro 53 Ex", sans-serif;
}

@keyframes swipePulse {
    0%,
    100% {
        opacity: 0.7;
        transform: translateX(0);
    }
    50% {
        opacity: 1;
        transform: translateX(10px);
    }
}

@keyframes arrowBounce {
    0%,
    100% {
        transform: translateX(0);
        opacity: 0.6;
    }
    50% {
        transform: translateX(-15px);
        opacity: 1;
    }
}

@keyframes arrowBounceRight {
    0%,
    100% {
        transform: translateX(0);
        opacity: 0.6;
    }
    50% {
        transform: translateX(15px);
        opacity: 1;
    }
}

/* Slide 2 & 3: Logos Grid Slides */
.clients-logos-slide {
    background: transparent;
    padding: 50px 60px;
    overflow: visible !important;
    width: 100%;
    box-sizing: border-box;
}

.clients-logos-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: auto;
    gap: 35px;
    width: 100%;
    max-width: 1700px;
    padding: 0 20px;
    box-sizing: border-box;
    overflow: visible;
    align-content: center;
    justify-items: center;
}

/* First slide grid: 5 columns x 3 rows for 15 logos */
.clients-first-slide-grid {
    grid-template-rows: repeat(3, auto);
    margin-top: 30px;
}

/* Title content when inside logos slide */
.clients-logos-slide .clients-title-content {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1700px;
    z-index: 10;
    padding: 5px 35px;
    margin-bottom: 0;
}

.clients-logos-slide .clients-main-title {
    margin-bottom: 0;
    font-size: 40px;
}

.client-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: visible;
    min-height: 140px;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: fadeInScale 0.6s ease-out backwards;
    box-sizing: border-box;
}

.client-logo-item:nth-child(1) {
    animation-delay: 0.05s;
}
.client-logo-item:nth-child(2) {
    animation-delay: 0.1s;
}
.client-logo-item:nth-child(3) {
    animation-delay: 0.15s;
}
.client-logo-item:nth-child(4) {
    animation-delay: 0.2s;
}
.client-logo-item:nth-child(5) {
    animation-delay: 0.25s;
}
.client-logo-item:nth-child(6) {
    animation-delay: 0.3s;
}
.client-logo-item:nth-child(7) {
    animation-delay: 0.35s;
}
.client-logo-item:nth-child(8) {
    animation-delay: 0.4s;
}
.client-logo-item:nth-child(9) {
    animation-delay: 0.45s;
}
.client-logo-item:nth-child(10) {
    animation-delay: 0.5s;
}
.client-logo-item:nth-child(11) {
    animation-delay: 0.55s;
}
.client-logo-item:nth-child(12) {
    animation-delay: 0.6s;
}
.client-logo-item:nth-child(13) {
    animation-delay: 0.65s;
}
.client-logo-item:nth-child(14) {
    animation-delay: 0.7s;
}
.client-logo-item:nth-child(15) {
    animation-delay: 0.75s;
}

.client-logo-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(78, 205, 196, 0.4);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(78, 205, 196, 0.2);
    z-index: 10;
    transform: translateY(-8px) scale(1.03);
}

.client-logo-image {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
    object-position: center;
    filter: brightness(1.05) contrast(1.3) saturate(1.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    display: block;
}

.client-logo-item:hover .client-logo-image {
    filter: brightness(1.2) contrast(1.4) saturate(1.2);
    transform: scale(1.15);
}

/* Slide 4: More Clients Text Slide */
.clients-more-slide {
    background: transparent;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.clients-more-content {
    text-align: center;
    max-width: 800px;
    padding: 60px;
    position: relative;
    z-index: 10;
}

.clients-more-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 40px;
    color: #fff;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.clients-more-icon svg {
    width: 100%;
    height: 100%;
    animation: rotateIn 1s ease 0.4s forwards;
    transform-origin: center;
    opacity: 0;
}

.clients-more-title {
    font-size: 72px;
    font-weight: 900;
    color: #fff;
    margin: 0 0 35px 0;
    letter-spacing: -2px;
    line-height: 1.1;
    font-family: "Helvetica Neue LT Pro 93 BlEx", sans-serif;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.clients-more-text {
    font-size: 22px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    letter-spacing: 0.5px;
    font-family: "Helvetica Neue LT Pro 53 Ex", sans-serif;
    margin: 0 0 40px 0;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

.clients-more-subtitle {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: "Helvetica Neue LT Pro 75 Bd", sans-serif;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.8s forwards;
    position: relative;
    padding-top: 30px;
}

.clients-more-subtitle::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.5),
        transparent
    );
    opacity: 0;
    animation: fadeIn 0.6s ease 1s forwards;
}

/* Animations for last slide */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-180deg) scale(0.5);
    }
    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* When slide becomes active, trigger animations */
.clients-carousel-item.clients-more-slide.active .clients-more-icon,
.clients-carousel-item.clients-more-slide.active .clients-more-title,
.clients-carousel-item.clients-more-slide.active .clients-more-text,
.clients-carousel-item.clients-more-slide.active .clients-more-subtitle {
    animation-play-state: running;
}

/* Responsive Styles for Clients Slide */
@media screen and (max-width: 1024px) {
    .clients-slide {
        touch-action: pan-y !important;
    }

    .clients-container {
        height: 100vh !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        touch-action: pan-y !important;
        padding-bottom: 40px !important;
    }

    .clients-owl-carousel {
        height: auto !important;
        overflow: visible !important;
        touch-action: pan-x pan-y !important;
    }

    .clients-owl-carousel .owl-stage-outer {
        height: auto !important;
        overflow: visible !important;
        touch-action: pan-x !important;
    }

    .clients-owl-carousel .owl-stage {
        height: auto !important;
        overflow: visible !important;
    }

    .clients-owl-item {
        height: auto !important;
        min-height: auto !important;
        overflow: visible !important;
    }

    .clients-logos-grid {
        height: calc(100vh - 200px) !important;
        max-height: calc(100vh - 200px) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        touch-action: pan-y !important;
        will-change: scroll-position;
        transform: translateZ(0);
        backface-visibility: hidden;
    }

    /* Adjust for first slide with title */
    .clients-owl-item:has(.clients-title-content) .clients-logos-grid {
        height: calc(100vh - 320px) !important;
        max-height: calc(100vh - 320px) !important;
    }

    .clients-main-title {
        font-size: 56px;
        letter-spacing: -2px;
    }

    .clients-title-content {
        padding: 25px 30px;
        margin-bottom: 40px;
        max-width: 92%;
    }

    .clients-logos-slide .clients-main-title {
        font-size: 35px;
    }

    .clients-owl-item {
        padding: 40px 35px;
    }

    .clients-owl-carousel .owl-nav {
        padding: 0 20px !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 250 !important;
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 100% !important;
        justify-content: space-between !important;
        pointer-events: none !important;
    }

    .clients-owl-carousel .owl-nav button,
    .clients-owl-carousel-desktop .owl-nav button,
    .clients-owl-carousel-mobile .owl-nav button {
        width: 50px !important;
        height: 50px !important;
        font-size: 24px !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: all !important;
        position: absolute !important;
        z-index: 251 !important;
        background: rgba(78, 205, 196, 0.15) !important;
        border: 2px solid rgba(78, 205, 196, 0.5) !important;
        border-radius: 50% !important;
        color: #4ecdc4 !important;
    }

    .clients-owl-carousel .owl-nav button.owl-prev {
        left: 15px !important;
        right: auto !important;
    }

    .clients-owl-carousel .owl-nav button.owl-next {
        right: 15px !important;
        left: auto !important;
    }

    .clients-logos-slide {
        padding: 40px 35px;
    }

    .clients-logos-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(6, 1fr);
        gap: 22px;
        padding: 0 15px;
    }

    .clients-first-slide-grid {
        grid-template-rows: repeat(5, 1fr);
        max-height: calc(90vh - 180px);
        margin-top: 25px;
    }

    .client-logo-item {
        padding: 28px;
        min-height: 120px;
        border-radius: 14px;
    }

    .client-logo-image {
        max-width: 180px;
        max-height: 120px;
    }

    .clients-more-title {
        font-size: 48px;
    }

    .clients-more-text {
        font-size: 18px;
    }
}

@media screen and (max-width: 768px) {
    /* Ensure vertical scrolling for clients on smaller mobile */
    .clients-slide {
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        height: 100vh !important;
    }

    .clients-container {
        height: 100vh !important;
        min-height: 100vh !important;
        padding-bottom: 30px !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .clients-main-title {
        font-size: 42px;
        letter-spacing: -1.5px;
    }

    .clients-title-content {
        padding: 20px 25px;
        margin-bottom: 25px;
        border-radius: 20px;
        max-width: 96%;
    }

    .clients-logos-slide .clients-main-title {
        font-size: 30px;
    }

    .clients-logos-slide .clients-title-content {
        top: 10px;
        padding: 5px 25px;
    }

    .clients-swipe-indicator {
        gap: 15px;
        margin-top: 30px;
    }

    .clients-owl-carousel .owl-nav {
        padding: 0 15px;
    }

    .clients-owl-carousel .owl-nav button,
    .clients-owl-carousel-desktop .owl-nav button,
    .clients-owl-carousel-mobile .owl-nav button {
        width: 50px !important;
        height: 50px !important;
        font-size: 24px !important;
        background: rgba(78, 205, 196, 0.15) !important;
        border: 2px solid rgba(78, 205, 196, 0.5) !important;
        color: #4ecdc4 !important;
    }

    .clients-owl-carousel .owl-nav button.owl-prev {
        left: 15px;
    }

    .clients-owl-carousel .owl-nav button.owl-next {
        right: 15px;
    }

    .clients-logos-slide {
        padding: 35px 20px;
    }

    .clients-logos-grid {
        gap: 18px;
        padding: 0 10px;
    }

    .clients-first-slide-grid {
        max-height: calc(90vh - 160px);
        margin-top: 20px;
    }

    .client-logo-item {
        padding: 22px;
        min-height: 100px;
        border-radius: 12px;
    }

    .client-logo-image {
        max-width: 140px;
        max-height: 100px;
    }

    .swipe-arrow-right {
        font-size: 24px;
    }

    .swipe-text {
        font-size: 14px;
    }

    .clients-main-title {
        font-size: 32px;
        letter-spacing: -1px;
    }

    .clients-title-content {
        padding: 18px 20px;
        margin-bottom: 20px;
        border-radius: 16px;
        max-width: 98%;
    }

    .clients-logos-slide .clients-main-title {
        font-size: 28px;
    }

    .clients-logos-slide .clients-title-content {
        top: 10px;
        padding: 18px 20px;
    }

    .clients-owl-item {
        padding: 25px 15px;
    }

    .clients-owl-carousel .owl-nav button,
    .clients-owl-carousel-desktop .owl-nav button,
    .clients-owl-carousel-mobile .owl-nav button {
        width: 50px !important;
        height: 50px !important;
        font-size: 24px !important;
        background: rgba(78, 205, 196, 0.15) !important;
        border: 2px solid rgba(78, 205, 196, 0.5) !important;
        color: #4ecdc4 !important;
    }

    .clients-owl-carousel .owl-nav button.owl-prev {
        left: 10px;
    }

    .clients-owl-carousel .owl-nav button.owl-next {
        right: 10px;
    }

    .clients-logos-slide {
        padding: 25px 15px;
    }

    .clients-logos-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: auto !important;
        gap: 15px !important;
        padding: 0 10px !important;
    }

    .clients-first-slide-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: auto !important;
    }

    .clients-first-slide-grid {
        max-height: calc(90vh - 140px);
        margin-top: 15px;
    }

    .client-logo-item {
        padding: 18px;
        min-height: 90px;
        border-radius: 10px;
    }

    .client-logo-image {
        max-width: 120px;
        max-height: 90px;
    }

    .client-logo-item:hover {
        transform: translateY(-6px) scale(1.02);
    }

    .client-logo-image {
        max-width: 120px;
        max-height: 90px;
    }

    .client-logo-item:hover {
        transform: translateY(-6px) scale(1.02);
    }

    .clients-more-title {
        font-size: 36px;
        margin-bottom: 20px;
    }

    .clients-more-text {
        font-size: 16px;
    }

    .clients-more-content {
        padding: 40px 30px;
    }

    .clients-description {
        font-size: 13px;
        line-height: 1.6;
    }

    .clients-logos-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(8, 1fr);
        gap: 15px;
    }
}

/* ============================================
   SERVICES OVERVIEW SLIDE (Completely Hidden)
   ============================================ */

/* ============================================
   CONTACT SLIDE STYLES
   ============================================ */
.contact-slide {
    padding: 0;
    overflow: hidden;
}

.contact-container {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 20px 60px;
    box-sizing: border-box;
    background: linear-gradient(180deg, #000 0%, #0a0a0a 100%);
    overflow: hidden;
}

/* Mobile: Enable vertical scrolling for contact slide */
@media screen and (max-width: 1024px) {
    .contact-slide {
        touch-action: pan-y !important;
    }

    .contact-container {
        height: 100vh !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        touch-action: pan-y !important;
        padding-bottom: 40px !important;
    }

    .contact-content-wrapper {
        height: auto !important;
        overflow: visible !important;
        min-height: auto !important;
    }

    .contact-main-grid {
        height: auto !important;
        min-height: auto !important;
    }

    .careers-carousel-slide {
        touch-action: pan-y !important;
    }

    .careers-carousel-container {
        height: 100vh !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        touch-action: pan-y !important;
        position: relative;
    }

    /* Scroll navigation arrows for careers jobs list */
    .careers-jobs-list {
        position: relative;
    }

    .careers-scroll-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 100%;
        display: flex;
        justify-content: space-between;
        padding: 0 10px;
        z-index: 100;
        pointer-events: none;
    }

    .careers-scroll-nav button {
        pointer-events: all;
        width: 50px;
        height: 50px;
        background: rgba(255, 255, 255, 0.15);
        border: 2px solid rgba(78, 205, 196, 0.5);
        border-radius: 50%;
        color: #fff;
        font-size: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        backdrop-filter: blur(10px);
        opacity: 0.8;
    }

    .careers-scroll-nav button:hover {
        opacity: 1;
        background: rgba(255, 255, 255, 0.25);
        border-color: rgba(78, 205, 196, 0.8);
        transform: scale(1.1);
    }

    .careers-scroll-nav button:disabled {
        opacity: 0.3;
        cursor: not-allowed;
    }

    .careers-owl-carousel {
        height: auto !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .careers-owl-carousel .owl-stage-outer {
        height: auto !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }

    .careers-owl-carousel .owl-stage {
        height: auto !important;
    }

    .careers-owl-item {
        height: auto !important;
        min-height: auto !important;
    }

    .careers-departments-container {
        height: auto !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .careers-jobs-list {
        height: calc(100vh - 200px) !important;
        max-height: calc(100vh - 200px) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        touch-action: pan-y !important;
        will-change: scroll-position;
        transform: translateZ(0);
        backface-visibility: hidden;
    }

    .contact-content-wrapper {
        height: auto !important;
        overflow: visible !important;
        min-height: auto !important;
    }

    .contact-hq-card {
        height: auto !important;
        min-height: auto !important;
    }

    .contact-main-grid {
        height: auto !important;
        min-height: auto !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .contact-left-panel {
        height: auto !important;
        min-height: auto !important;
        overflow: visible !important;
        flex: none !important;
    }

    .contact-map-section {
        height: auto !important;
        min-height: 200px !important;
    }

    .contact-locations-grid {
        height: auto !important;
        min-height: auto !important;
    }

    .contact-form-panel {
        height: auto !important;
        min-height: auto !important;
        flex: none !important;
    }

    .contact-form {
        height: auto !important;
    }
}

@media screen and (max-width: 768px) {
    .contact-container {
        height: 100vh !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        padding-bottom: 40px !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .contact-content-wrapper {
        height: auto !important;
        overflow: visible !important;
        min-height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
    }

    /* Make HQ section smaller and compact */
    .contact-hq-card {
        height: auto !important;
        min-height: auto !important;
        padding: 12px 16px !important;
        flex-shrink: 0 !important;
        margin-bottom: 0 !important;
    }

    .hq-card-header {
        margin-bottom: 8px !important;
    }

    .hq-card-title {
        font-size: 16px !important;
    }

    .hq-address {
        font-size: 11px !important;
        line-height: 1.4 !important;
        margin-bottom: 8px !important;
    }

    .hq-contact-grid {
        grid-template-columns: 1fr !important;
        gap: 6px !important;
    }

    .hq-contact-item {
        padding: 8px 10px !important;
        font-size: 11px !important;
    }

    /* Make main grid (map and locations) scrollable and bigger */
    .contact-main-grid {
        height: auto !important;
        min-height: calc(100vh - 200px) !important;
        max-height: none !important;
        display: flex !important;
        flex-direction: column !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        flex: 1 !important;
        gap: 20px !important;
    }

    .contact-left-panel {
        height: auto !important;
        min-height: auto !important;
        overflow: visible !important;
        flex: none !important;
    }

    .contact-map-section {
        height: auto !important;
        min-height: 200px !important;
    }

    .contact-locations-grid {
        height: auto !important;
        min-height: auto !important;
    }

    .contact-form-panel {
        height: auto !important;
        min-height: auto !important;
        flex: none !important;
    }

    .contact-form {
        height: auto !important;
    }

    .careers-carousel-container {
        height: 100vh !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        position: relative;
    }
}

.contact-header {
    margin-bottom: 15px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-title {
    font-size: 42px;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, #4ecdc4 50%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    letter-spacing: -1.5px;
    line-height: 1.05;
    font-family: "Helvetica Neue LT Pro 93 BlEx", sans-serif;
    text-transform: uppercase;
    text-align: center;
    animation: fadeInUp 0.8s ease-out, gradientShift 3s ease infinite;
    text-shadow: 0 0 40px rgba(78, 205, 196, 0.3);
    position: relative;
    padding: 18px 28px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 100%;
    box-sizing: border-box;
}

.contact-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 1700px;
    margin: 0 auto;
    width: 100%;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

/* HQ Card at Top */
.contact-hq-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(78, 205, 196, 0.2);
    border-radius: 16px;
    padding: 18px 24px;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-hq-card:hover {
    border-color: rgba(78, 205, 196, 0.4);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(78, 205, 196, 0.15);
}

.hq-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.hq-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    font-family: "Helvetica Neue LT Pro 73 Ex", sans-serif;
    background: linear-gradient(135deg, #ffffff 0%, #4ecdc4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hq-badge {
    background: linear-gradient(135deg, #4ecdc4 0%, #95e1d3 100%);
    color: #000;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    font-family: "Helvetica Neue LT Pro 73 Ex", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hq-card-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hq-address {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.5;
    font-family: "Helvetica Neue LT Pro 53 Ex", sans-serif;
}

.hq-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.hq-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: "Helvetica Neue LT Pro 53 Ex", sans-serif;
    font-size: 11px;
}

.hq-contact-item:hover {
    background: rgba(78, 205, 196, 0.15);
    border-color: rgba(78, 205, 196, 0.4);
    color: #4ecdc4;
    transform: translateY(-2px);
}

.hq-contact-icon {
    font-size: 14px;
    flex-shrink: 0;
}

.hq-contact-text {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Main Grid Layout */
.contact-main-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 20px;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.contact-left-panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 0;
    overflow: hidden;
}

.contact-map-section {
    position: relative;
    height: 200px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    overflow: hidden;
    backdrop-filter: blur(15px);
    flex-shrink: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-map-section:hover {
    border-color: rgba(78, 205, 196, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(78, 205, 196, 0.1);
}

.contact-map-iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 20px;
    display: block;
}

/* Locations Grid */
.contact-locations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

.location-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 12px 14px;
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.location-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4ecdc4, #95e1d3);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.location-card:hover::before {
    transform: scaleX(1);
}

.location-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(78, 205, 196, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(78, 205, 196, 0.15);
}

.location-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.location-flag {
    font-size: 20px;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    display: flex;
    align-items: center;
    justify-content: center;
}

.location-flag svg {
    width: 20px;
    height: 20px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.location-card-name {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    font-family: "Helvetica Neue LT Pro 73 Ex", sans-serif;
    transition: color 0.4s ease;
    letter-spacing: 0.3px;
}

.location-card:hover .location-card-name {
    color: #4ecdc4;
}

.location-card-address {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    line-height: 1.4;
    font-family: "Helvetica Neue LT Pro 53 Ex", sans-serif;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.location-card-uk-office-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 600;
    color: #4ecdc4;
    background: rgba(78, 205, 196, 0.15);
    border: 1px solid rgba(78, 205, 196, 0.4);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.location-card-uk-office-btn:hover {
    color: #fff;
    background: rgba(78, 205, 196, 0.35);
    border-color: #4ecdc4;
}

/* Form Panel */
.contact-form-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-form-panel:hover {
    border-color: rgba(78, 205, 196, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.location-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 4px;
}

.location-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
    border-bottom-color: rgba(78, 205, 196, 0.3);
}

.location-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.location-arrow {
    color: #4ecdc4;
    font-size: 24px;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(78, 205, 196, 0.1);
    border-radius: 50%;
}

.location-item:hover .location-arrow {
    color: #fff;
    background: rgba(78, 205, 196, 0.3);
    transform: translateX(5px) scale(1.1);
}

.location-details {
    flex: 1;
}

.location-name {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px 0;
    font-family: "Helvetica Neue LT Pro 73 Ex", sans-serif;
    transition: color 0.4s ease;
}

.location-item:hover .location-name {
    color: #4ecdc4;
}

.location-address {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 10px 0;
    line-height: 1.6;
    font-family: "Helvetica Neue LT Pro 53 Ex", sans-serif;
}

.location-contact {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
}

.location-email,
.location-phone,
.location-mobile {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: "Helvetica Neue LT Pro 53 Ex", sans-serif;
}

.location-email a,
.location-phone a,
.location-mobile a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    position: relative;
}

.location-email a::after,
.location-phone a::after,
.location-mobile a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #4ecdc4;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.location-email a:hover,
.location-phone a:hover,
.location-mobile a:hover {
    color: #4ecdc4;
    transform: translateX(3px);
}

.location-email a:hover::after,
.location-phone a:hover::after,
.location-mobile a:hover::after {
    width: 100%;
}

.contact-icon {
    font-size: 16px;
    flex-shrink: 0;
}

/* HQ Information Section (under form) */
.contact-hq-info {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.contact-hq-info .location-item {
    border-bottom: none;
    padding-bottom: 0;
}

.map-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeInUp 0.8s ease-out;
}

.marker-pin {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #4ecdc4 0%, #95e1d3 100%);
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 25px rgba(78, 205, 196, 0.8), 0 4px 15px rgba(0, 0, 0, 0.3);
    margin: 0 auto 12px;
    position: relative;
    animation: pulse 2s ease-in-out infinite;
}

.marker-pin::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 25px rgba(78, 205, 196, 0.8),
            0 4px 15px rgba(0, 0, 0, 0.3);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 35px rgba(78, 205, 196, 1),
            0 6px 20px rgba(0, 0, 0, 0.4);
    }
}

.marker-label {
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 13px;
    white-space: nowrap;
    font-family: "Helvetica Neue LT Pro 53 Ex", sans-serif;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease;
}

.map-marker:hover .marker-label {
    background: rgba(78, 205, 196, 0.9);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(78, 205, 196, 0.5);
}

.contact-form-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 25px;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-form-section:hover {
    border-color: rgba(78, 205, 196, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.contact-form-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    font-family: "Helvetica Neue LT Pro 73 Ex", sans-serif;
    letter-spacing: -0.3px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #ffffff 0%, #4ecdc4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-form-subtitle {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin: -8px 0 12px 0;
    font-family: "Helvetica Neue LT Pro 53 Ex", sans-serif;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    color: #fff;
    font-size: 14px;
    font-family: "Helvetica Neue LT Pro 53 Ex", sans-serif;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.form-input:hover,
.form-textarea:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(78, 205, 196, 0.6);
    box-shadow: 0 0 0 4px rgba(78, 205, 196, 0.15),
        0 8px 25px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
}

.form-submit-btn {
    padding: 14px 40px;
    background: linear-gradient(135deg, #4ecdc4 0%, #95e1d3 100%);
    color: #000;
    border: none;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    font-family: "Helvetica Neue LT Pro 73 Ex", sans-serif;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    align-self: flex-start;
    box-shadow: 0 6px 20px rgba(78, 205, 196, 0.4);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-submit-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.6s ease;
}

.form-submit-btn:hover::before {
    left: 100%;
}

.btn-arrow {
    transition: transform 0.4s ease;
}

.form-submit-btn:hover .btn-arrow {
    transform: translateX(5px);
}

.form-submit-btn:hover {
    background: linear-gradient(135deg, #95e1d3 0%, #4ecdc4 100%);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 40px rgba(78, 205, 196, 0.6);
}

.form-submit-btn:active {
    transform: translateY(-2px) scale(1);
}

.contact-info {
    margin-top: 20px;
}

.contact-address {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 15px 0;
    font-family: "Helvetica Neue LT Pro 53 Ex", sans-serif;
    line-height: 1.6;
}

.contact-phone {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-family: "Helvetica Neue LT Pro 53 Ex", sans-serif;
    display: flex;
    gap: 20px;
}

/* Responsive Styles for Contact Page */
@media screen and (max-width: 1024px) {
    .contact-container {
        padding: 18px 40px;
    }

    .contact-header {
        margin-bottom: 12px;
    }

    .contact-title {
        font-size: 36px;
        padding: 15px 25px;
        letter-spacing: -1.5px;
        max-width: 350px;
    }

    .contact-hq-card {
        padding: 20px 25px;
    }

    .hq-card-title {
        font-size: 20px;
    }

    .hq-contact-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .contact-main-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .contact-map-section {
        height: 200px !important;
        min-height: 200px !important;
    }

    .contact-locations-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .contact-form-panel {
        padding: 18px !important;
    }

    .hq-contact-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .hq-contact-item {
        font-size: 12px !important;
        padding: 10px 14px !important;
    }

    .location-card {
        padding: 15px;
    }

    .contact-form-panel {
        padding: 22px;
    }

    .contact-form-title {
        font-size: 22px;
    }
}

@media screen and (max-width: 768px) {
    .contact-container {
        padding: 15px 20px;
    }

    .contact-title {
        font-size: 28px;
        padding: 12px 20px;
        letter-spacing: -1px;
        max-width: 300px;
    }

    .contact-header {
        margin-bottom: 10px;
    }

    .contact-hq-card {
        padding: 18px 20px;
    }

    .hq-card-title {
        font-size: 18px;
    }

    .hq-address {
        font-size: 13px;
    }

    .hq-contact-item {
        padding: 10px 14px;
        font-size: 12px;
    }

    .contact-map-section {
        height: 180px;
    }

    .contact-locations-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .location-card {
        padding: 14px;
    }

    .location-card-name {
        font-size: 15px;
    }

    .location-card-address {
        font-size: 11px;
    }

    .contact-form-panel {
        padding: 20px;
    }

    .contact-form-title {
        font-size: 20px;
    }

    .contact-form-subtitle {
        font-size: 13px;
    }

    .form-input,
    .form-textarea {
        padding: 10px 15px;
        font-size: 13px;
    }

    .form-textarea {
        min-height: 70px;
    }

    .form-submit-btn {
        padding: 12px 35px;
        font-size: 14px;
        width: 100%;
        justify-content: center;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media screen and (max-width: 480px) {
    .contact-container {
        padding: 12px 12px;
    }

    .contact-title {
        font-size: 24px;
        padding: 10px 18px;
        letter-spacing: -0.5px;
        max-width: 280px;
    }

    .contact-header {
        margin-bottom: 8px;
    }

    .contact-hq-card {
        padding: 15px 18px;
    }

    .hq-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .hq-card-title {
        font-size: 16px;
    }

    .hq-badge {
        padding: 5px 12px;
        font-size: 11px;
    }

    .hq-address {
        font-size: 12px;
    }

    .hq-contact-item {
        padding: 10px 12px;
        font-size: 11px;
    }

    .hq-contact-icon {
        font-size: 16px;
    }

    .contact-map-section {
        height: 160px;
    }

    .location-card {
        padding: 12px;
    }

    .location-flag {
        font-size: 20px;
    }

    .location-card-name {
        font-size: 14px;
    }

    .location-card-address {
        font-size: 10px;
    }

    .contact-form-panel {
        padding: 15px;
    }

    .contact-form-title {
        font-size: 18px;
    }

    .contact-form-subtitle {
        font-size: 12px;
    }

    .form-input,
    .form-textarea {
        padding: 10px 14px;
        font-size: 12px;
        border-radius: 12px;
    }

    .form-textarea {
        min-height: 60px;
    }

    .form-submit-btn {
        padding: 10px 30px;
        font-size: 13px;
        width: 100%;
        justify-content: center;
    }
}

/* Allow text selection on all slides */
.swiper-slide {
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
}

/* Mobile: Ensure swiper allows vertical scrolling beyond projects */
@media screen and (max-width: 1024px) {
    .swiper-container {
        touch-action: pan-y !important;
        overflow: visible !important;
    }

    .swiper-wrapper {
        touch-action: pan-y !important;
    }

    .swiper-slide {
        touch-action: pan-y !important;
    }

    /* Ensure projects gallery container allows internal scrolling */
    .projects-gallery-container {
        touch-action: pan-y !important;
        -webkit-overflow-scrolling: touch !important;
    }
}

.swiper-slide * {
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
}

/* Prevent swiper navigation when clicking on images and buttons */
.swiper-slide img,
.swiper-slide button,
.swiper-slide a,
.swiper-slide input,
.swiper-slide textarea,
.swiper-slide select {
    pointer-events: auto;
    cursor: default;
}

.swiper-slide img {
    cursor: pointer;
}

.swiper-slide button {
    cursor: pointer;
}

/* ============================================
   CAREERS SLIDE STYLES - Three Column Interactive Layout
   ============================================ */
.careers-slide {
    padding: 0;
    overflow: hidden;
    height: 100vh;
}

.careers-container {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 60px 80px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.careers-header {
    margin-bottom: 50px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.careers-header-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    margin-top: 8px;
}

.careers-title {
    font-size: 72px;
    font-weight: 900;
    color: #fff;
    margin: 0;
    letter-spacing: -2px;
    line-height: 1.05;
    font-family: "Helvetica Neue LT Pro 93 BlEx", sans-serif;
    text-transform: uppercase;
}

.careers-subtitle {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    font-family: "Helvetica Neue LT Pro 53 Ex", sans-serif;
    font-weight: 500;
}

.careers-results {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-family: "Helvetica Neue LT Pro 53 Ex", sans-serif;
}

/* Three Column Layout */
.careers-layout {
    display: flex;
    width: 100%;
    height: calc(100vh - 200px);
    gap: 40px;
    position: relative;
    align-items: flex-start;
}

/* Left: Department Tabs */
.careers-departments {
    width: 280px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 15px;
    max-height: 100%;
}

.careers-departments::-webkit-scrollbar {
    width: 4px;
}

.careers-departments::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.careers-departments::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

.careers-department-tab {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.careers-department-tab:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateX(3px);
}

.careers-department-tab.active {
    background: linear-gradient(135deg, #4ecdc4 0%, #95e1d3 100%);
    border-color: #4ecdc4;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
}

.department-tab-header {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    font-family: "Helvetica Neue LT Pro 73 Ex", sans-serif;
    text-align: center;
    line-height: 1.3;
}

.careers-department-tab.active .department-tab-header {
    color: #000;
}

/* Middle: Job Tabs */
.careers-jobs {
    width: 320px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 15px;
    max-height: 100%;
}

.careers-jobs::-webkit-scrollbar {
    width: 4px;
}

.careers-jobs::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.careers-jobs::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

.careers-jobs-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.careers-job-tab {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-height: 60px;
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.careers-job-tab:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateX(3px);
}

.careers-job-tab.active {
    background: rgba(78, 205, 196, 0.15);
    border: 2px solid #4ecdc4;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.2);
}

.job-tab-title {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    font-family: "Helvetica Neue LT Pro 73 Ex", sans-serif;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    width: 100%;
    display: block;
}

.careers-job-tab.active .job-tab-title {
    color: #4ecdc4;
    font-weight: 700;
}

/* Right: Job Details */
.careers-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
}

.careers-details-content {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    min-height: 0;
}

.careers-details-content::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(255, 107, 157, 0.15) 0%,
        rgba(255, 215, 0, 0.15) 100%
    );
    opacity: 1;
    z-index: 0;
    filter: blur(60px);
}

.careers-details-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    gap: 20px;
    flex-wrap: wrap;
}

.careers-job-title {
    font-size: 28px;
    font-weight: 900;
    color: #4ecdc4;
    margin: 0;
    font-family: "Helvetica Neue LT Pro 93 BlEx", sans-serif;
    text-transform: uppercase;
    letter-spacing: -1px;
    text-shadow: 0 2px 20px rgba(78, 205, 196, 0.3);
    flex: 1;
    line-height: 1.2;
    min-width: 200px;
}

.careers-apply-btn {
    padding: 12px 28px;
    background: linear-gradient(135deg, #4ecdc4 0%, #95e1d3 100%);
    color: #000;
    border: none;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    font-family: "Helvetica Neue LT Pro 73 Ex", sans-serif;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
    white-space: nowrap;
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.careers-apply-btn:hover {
    background: linear-gradient(135deg, #95e1d3 0%, #4ecdc4 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(78, 205, 196, 0.5);
}

/* Job Scope - Scrollable */
.careers-job-scope {
    position: relative;
    z-index: 1;
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 0;
    max-height: 500px;
}

.scope-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 20px 0;
    font-family: "Helvetica Neue LT Pro 73 Ex", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.scope-content {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    font-family: "Helvetica Neue LT Pro 53 Ex", sans-serif;
    overflow-y: auto;
    padding-right: 15px;
    flex: 1;
    min-height: 0;
    max-height: calc(500px - 50px);
}

.scope-content::-webkit-scrollbar {
    width: 6px;
}

.scope-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.scope-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.scope-content p {
    margin-bottom: 12px;
}

.scope-content h4 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin: 24px 0 12px 0;
    font-family: "Helvetica Neue LT Pro 73 Ex", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.scope-content ul {
    margin: 10px 0;
    padding-left: 18px;
}

.scope-content li {
    margin-bottom: 6px;
    line-height: 1.5;
}

/* Responsive Styles for Clients, Contact, Careers */
@media screen and (max-width: 1024px) {
    .clients-container,
    .contact-container,
    .careers-container {
        padding: 60px 50px;
    }

    .clients-title,
    .contact-title,
    .careers-title {
        font-size: 46px;
    }

    .clients-logos-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 20px;
    }

    .contact-content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .careers-layout {
        height: calc(100vh - 220px);
        gap: 30px;
    }

    .careers-departments {
        width: 240px;
    }

    .careers-jobs {
        width: 280px;
    }

    .careers-job-title {
        font-size: 24px;
    }
}

@media screen and (max-width: 768px) {
    .careers-container {
        padding: 40px 30px;
    }

    .careers-title {
        font-size: 28px;
    }

    .careers-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .careers-header-info {
        align-items: flex-start;
    }

    .careers-details-header {
        flex-direction: column;
        gap: 15px;
    }

    .careers-job-title {
        font-size: 16px;
    }

    .careers-apply-btn {
        width: 100%;
    }

    .careers-details-content {
        padding: 30px;
    }

    .careers-sidebar {
        flex-direction: row;
        overflow-x: auto;
    }

    .careers-filter-card {
        min-width: 250px;
    }
}

@media screen and (max-width: 768px) {
    .clients-container,
    .contact-container,
    .careers-container {
        padding: 50px 30px;
    }

    .clients-title,
    .contact-title,
    .careers-title {
        font-size: 32px;
    }

    .clients-logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .careers-layout {
        flex-direction: column !important;
        height: auto !important;
        min-height: calc(100vh - 150px) !important;
        gap: 20px !important;
    }

    .careers-departments {
        width: 100% !important;
        max-height: 120px !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        padding-bottom: 10px !important;
        gap: 10px !important;
    }

    .careers-department-tab {
        min-width: 160px !important;
        flex-shrink: 0 !important;
        padding: 12px 16px !important;
    }

    .department-tab-header {
        font-size: 14px !important;
    }

    .careers-jobs {
        width: 100% !important;
        max-height: 180px !important;
        overflow-y: auto !important;
    }

    .careers-jobs-list {
        flex-direction: column !important;
        gap: 8px !important;
    }

    .careers-job-tab {
        width: 100% !important;
        min-width: auto !important;
        padding: 12px 16px !important;
    }

    .job-tab-title {
        font-size: 13px !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
        width: 100% !important;
        display: block !important;
    }

    .careers-details {
        width: 100% !important;
    }

    .careers-job-title {
        font-size: 18px !important;
    }

    .careers-details-content {
        padding: 20px !important;
    }

    .careers-apply-btn {
        width: 100% !important;
        margin-top: 15px !important;
    }

    .scope-content {
        font-size: 13px !important;
    }
}

/* ============================================
   COMPREHENSIVE RESPONSIVE STYLES
   Tablet (768px - 1024px) and Mobile (< 768px)
   Desktop (> 1024px) remains unchanged
   ============================================ */

/* Tablet Styles (768px - 1024px) */
@media screen and (max-width: 1024px) and (min-width: 769px) {
    /* Main Container */
    .main-container {
        overflow-x: hidden;
    }

    /* Left Navigation - Reduced size */
    .left-nav {
        width: 260px;
        left: 40px;
        padding: 40px 25px;
    }

    .logo {
        margin-bottom: 50px;
        padding-bottom: 25px;
    }

    .logo-text {
        font-size: 22px;
    }

    .logo-text .number {
        width: 26px;
        height: 26px;
        font-size: 15px;
    }

    .logo-subtext {
        font-size: 10px;
    }

    .nav-menu li a {
        font-size: 14px;
        padding: 10px 12px;
    }

    .nav-menu li.active > a {
        font-size: 16px; /* Same as inactive */
    }

    .nav-menu .submenu li a {
        font-size: 11px;
        padding: 6px 10px;
    }

    /* Slider Container - Adjust for smaller nav */
    .slider-container {
        margin-left: 0;
        width: 100vw;
    }

    .active-margin .slider-container {
        margin-left: 260px;
        width: calc(100vw - 260px);
    }

    /* Right Content */
    .right-content {
        right: 40px;
        width: 400px;
        max-width: calc(100vw - 320px);
    }

    .main-heading .line1 {
        font-size: 24px;
    }

    .main-heading .line2 {
        font-size: 42px;
    }

    .description {
        font-size: 13px;
        line-height: 1.6;
    }

    /* Center Graphics */
    .center-graphic {
        width: 60vw;
        max-width: 600px;
        height: 60vh;
        max-height: 600px;
    }

    .number-nine {
        font-size: clamp(150px, 25vw, 350px);
    }

    /* Slide Top Section */
    .slide-top-section {
        padding: 40px 50px;
        flex: 0 0 35%;
    }

    .slide-top-title {
        font-size: 48px;
        max-width: 60%;
    }

    .slide-top-content {
        max-width: 400px;
    }

    .slide-top-description {
        font-size: 13px;
    }

    /* Slide Bottom Section */
    .slide-bottom-section {
        flex: 0 0 65%;
    }

    .slide-bottom-overlay {
        padding: 40px 50px;
    }

    .slide-bottom-text-arabic {
        font-size: 42px;
    }

    .slide-bottom-text-english {
        font-size: 24px;
    }

    /* About Content */
    .about-content {
        top: 15% !important;
    }

    .about-image img {
        width: 450px !important;
    }

    /* Social Icons */
    .social-icons {
        gap: 10px;
        padding-top: 25px;
    }

    .social-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}

/* Mobile Styles (< 768px) */
@media screen and (max-width: 768px) {
    /* Main Container */
    .main-container {
        flex-direction: column;
        overflow-x: hidden;
    }

    /* Left Navigation - Hidden by default, show as overlay menu */
    .left-nav {
        position: fixed;
        left: -100%;
        top: 0;
        width: 280px;
        height: 100vh;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(10px);
        z-index: 2000;
        transition: left 0.3s ease;
        padding: 30px 25px;
        box-shadow: 2px 0 20px rgba(0, 0, 0, 0.5);
    }

    .left-nav.mobile-open {
        left: 0;
    }

    /* Mobile Menu Overlay */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        z-index: 1999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

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

    /* Mobile Menu Toggle Button */
    .mobile-menu-toggle {
        position: fixed;
        top: 20px;
        left: 20px;
        z-index: 2001;
        width: 50px;
        height: 50px;
        background: rgba(0, 0, 0, 0.9) !important;
        border: 2px solid rgba(255, 255, 255, 0.4) !important;
        border-radius: 8px;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        padding: 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    }

    /* Hide on desktop */
    @media (min-width: 1025px) {
        .mobile-menu-toggle {
            display: none !important;
        }
    }

    /* Show on mobile/tablet (up to 1024px) */
    @media (max-width: 1024px) {
        .mobile-menu-toggle {
            display: flex !important;
        }
    }

    .mobile-menu-toggle:hover {
        background: rgba(0, 0, 0, 0.9);
        border-color: rgba(255, 255, 255, 0.4);
    }

    .mobile-menu-toggle span {
        display: block !important;
        width: 26px !important;
        height: 3px !important;
        background: #fff !important;
        margin: 4px 0 !important;
        transition: all 0.3s ease;
        border-radius: 2px;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .logo {
        margin-bottom: 40px;
        padding-bottom: 20px;
    }

    .logo-text {
        font-size: 20px;
    }

    .logo-text .number {
        width: 24px;
        height: 24px;
        font-size: 14px;
    }

    .logo-subtext {
        font-size: 9px;
    }

    .nav-menu li a {
        font-size: 14px;
        padding: 10px 12px;
    }

    .nav-menu li.active > a {
        font-size: 16px; /* Same as inactive */
    }

    .nav-menu .submenu li a {
        font-size: 12px;
        padding: 6px 10px;
    }

    /* Slider Container - Full width on mobile */
    .slider-container {
        margin-left: 0 !important;
        width: 100vw !important;
        height: 100vh;
    }

    .active-margin .slider-container {
        margin-left: 0 !important;
        width: 100vw !important;
    }

    /* Right Content - Centered and full width */
    .right-content {
        position: absolute;
        right: auto;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 500px;
        text-align: center;
        padding: 20px;
    }

    .main-heading {
        text-align: center;
    }

    .main-heading .line1 {
        font-size: 18px;
        display: block;
        margin-bottom: 8px;
    }

    .main-heading .line2 {
        font-size: 32px;
        display: block;
    }

    .description {
        font-size: 12px;
        line-height: 1.6;
        text-align: center;
        margin-top: 15px;
    }

    /* Center Graphics - Smaller on mobile */
    .center-graphic {
        width: 80vw;
        max-width: 400px;
        height: 50vh;
        max-height: 400px;
        left: 50% !important;
        top: 45% !important;
    }

    .number-nine {
        font-size: clamp(120px, 40vw, 250px);
    }

    /* About Content - Stacked layout */
    .about-content {
        position: absolute;
        top: 4% !important;
        transform: translateY(-50%);
    }
    .about-360-number {
        font-size: 50px !important;
    }

    .about-image {
        position: absolute;
        bottom: 0;
        right: 0;
    }

    .about-image img {
        width: 100% !important;
        max-width: 300px !important;
        height: auto !important;
    }

    /* Slide Two Section - Stack vertically */
    .slide-two-section {
        flex-direction: column;
        height: 100vh;
        overflow: hidden;
    }

    .slide-top-section {
        flex: 0 0 40%;
        padding: 30px 25px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
    }

    .slide-top-title {
        font-size: 32px;
        max-width: 100%;
        margin-bottom: 15px;
        line-height: 1.1;
    }

    .slide-top-content {
        max-width: 100%;
        width: 100%;
    }

    .slide-top-description {
        font-size: 12px;
        margin-bottom: 15px;
    }

    .slide-more-button {
        width: auto;
        padding: 8px 20px;
        font-size: 12px;
    }

    .slide-bottom-section {
        flex: 1 1 60% !important;
        min-height: 60vh !important;
        height: 60vh !important;
        max-height: 60vh !important;
        position: relative !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    .slide-bottom-overlay {
        padding: 30px 25px;
    }

    .slide-bottom-text-arabic {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .slide-bottom-text-english {
        font-size: 18px;
    }

    /* Home Slide Video */
    .home video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Home Slide Vimeo Embed */
    .home iframe {
        width: 100vw !important;
        height: 56.25vw !important;
        min-height: 100vh !important;
        min-width: 177.77vh !important;
    }

    /* Swiper Navigation Buttons - Repositioned for mobile */
    .timeline .swiper-button-prev,
    .timeline .swiper-button-next {
        width: 40px;
        height: 40px;
    }

    .timeline .swiper-button-prev {
        left: 50%;
        top: 15px;
        transform: translateX(-50%) rotate(90deg);
    }

    .timeline .swiper-button-next {
        left: 50%;
        bottom: 15px;
        top: auto;
        transform: translateX(-50%) rotate(90deg);
    }

    /* Social Icons - Smaller on mobile */
    .social-icons {
        gap: 8px;
        padding-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .social-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    /* Projects Grid - Adjust for mobile */
    .projects-overview-grid-slide {
        padding: 0;
    }

    .projects-overview-container {
        padding: 20px;
        overflow-y: auto !important; /* Enable vertical scrolling on mobile */
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important; /* Smooth scrolling on mobile */
        overscroll-behavior-y: auto !important; /* Allow chaining to parent scroll */
        touch-action: pan-y !important; /* Allow vertical scrolling */
        height: 100vh !important; /* Ensure full height */
        max-height: 100vh !important;
    }

    /* Hide scroll arrows in Clients section on mobile */
    .clients-slide .scroll-arrow,
    .clients-container .scroll-arrow {
        display: none !important;
    }

    /* Clients, Contact, Careers - Mobile adjustments */
    .clients-container,
    .contact-container,
    .careers-container {
        padding: 30px 20px;
    }

    .clients-title,
    .contact-title,
    .careers-title {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .clients-logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    /* Form adjustments */
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Careers layout - Stack on mobile */
    .careers-layout {
        flex-direction: column !important;
        height: auto !important;
        min-height: calc(100vh - 120px) !important;
        gap: 20px !important;
    }

    .careers-departments {
        width: 100% !important;
        max-height: 120px !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        padding-bottom: 10px !important;
        gap: 10px !important;
    }

    .careers-department-tab {
        min-width: 160px !important;
        flex-shrink: 0 !important;
        padding: 12px 16px !important;
    }

    .department-tab-header {
        font-size: 14px !important;
    }

    .careers-jobs {
        width: 100% !important;
        max-height: 200px !important;
        overflow-y: auto !important;
    }

    .careers-jobs-list {
        flex-direction: column !important;
        gap: 8px !important;
    }

    .careers-job-tab {
        width: 100% !important;
        min-width: 100% !important;
        padding: 12px 16px !important;
    }

    .job-tab-title {
        font-size: 13px !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
        width: 100% !important;
        display: block !important;
    }

    .careers-details {
        width: 100% !important;
    }

    .careers-job-title {
        font-size: 18px !important;
    }

    .careers-apply-btn {
        width: 100% !important;
        margin-top: 15px !important;
    }

    .careers-details-content {
        padding: 20px !important;
    }

    .scope-content {
        font-size: 13px !important;
    }

    .scope-title {
        font-size: 16px !important;
    }
}

/* Extra Small Mobile (< 480px) */
@media screen and (max-width: 480px) {
    .right-content {
        width: 95%;
        padding: 15px;
    }

    .main-heading .line1 {
        font-size: 16px;
    }

    .main-heading .line2 {
        font-size: 50px;
    }

    .description {
        font-size: 11px;
    }

    .slide-top-title {
        font-size: 28px;
    }

    .slide-top-section {
        padding: 25px 20px;
    }

    .slide-bottom-overlay {
        padding: 25px 20px;
    }

    .slide-bottom-text-arabic {
        font-size: 24px;
    }

    .slide-bottom-text-english {
        font-size: 16px;
    }

    .number-nine {
        font-size: clamp(100px, 35vw, 200px);
    }

    .center-graphic {
        width: 90vw;
        max-width: 350px;
    }

    .mobile-menu-toggle {
        width: 45px;
        height: 45px;
        top: 15px;
        left: 15px;
    }

    .left-nav {
        width: 260px;
    }

    .clients-title,
    .contact-title,
    .careers-title {
        font-size: 28px;
    }

    .clients-logos-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }

    .clients-first-slide-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* ============================================
   PROJECTS HORIZONTAL CAROUSEL (Owl Carousel)
   ============================================ */

/* Projects Owl Carousel Wrapper */
.projects-owl-carousel {
    width: 100% !important;
    height: 100vh !important;
    position: relative;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    overflow: hidden;
    /* Allow both vertical and horizontal swipes - Owl handles horizontal, main swiper handles vertical */
    touch-action: pan-x pan-y;
    pointer-events: auto !important;
    z-index: 10;
    /* Prevent horizontal overscroll chaining, but do not block vertical navigation */
    overscroll-behavior-x: contain;
    overscroll-behavior-y: auto;
}

.projects-owl-carousel .owl-stage-outer {
    height: 100vh !important;
    width: 100% !important;
    /* Allow both vertical and horizontal swipes */
    touch-action: pan-x pan-y !important;
    overflow: visible !important;
    position: relative !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    -webkit-overflow-scrolling: touch !important;
}

.projects-owl-carousel .owl-stage {
    height: 100vh !important;
    width: auto !important;
    display: flex !important;
    position: relative !important;
    visibility: visible !important;
    opacity: 1 !important;
    align-items: center;
}

.projects-owl-carousel .owl-item {
    height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    flex-shrink: 0;
    box-sizing: border-box;
    /* Width will be set dynamically by JavaScript to account for sidebar */
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
}

/* Hide cloned items to prevent looping effect */
.projects-owl-carousel .owl-item.cloned {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Ensure the stage shows all items horizontally - match clients pattern */
.projects-owl-carousel .owl-stage-outer {
    width: 100% !important;
    overflow: visible !important;
}

.projects-owl-item {
    width: 100% !important;
    height: 100vh !important;
    flex-shrink: 0;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 60px 80px;
    box-sizing: border-box;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    /* Allow vertical swipe */
    touch-action: pan-y;
}

/* Title Slide */
.projects-title-slide {
    padding: 0 20px !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.projects-title-content {
    text-align: center;
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 50px;
    position: relative;
    z-index: 10;
    padding: 30px 40px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out;
}

.projects-main-title {
    font-size: 55px;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, #4ecdc4 50%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    letter-spacing: -2.5px;
    line-height: 1.05;
    font-family: "Helvetica Neue LT Pro 93 BlEx", sans-serif;
    text-transform: uppercase;
    text-align: center;
    width: 100%;
    animation: fadeInUp 0.8s ease-out, gradientShift 3s ease infinite;
    text-shadow: 0 0 40px rgba(78, 205, 196, 0.3);
    position: relative;
}

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

@keyframes gradientShift {
    0%,
    100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.projects-swipe-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.projects-swipe-indicator .swipe-arrow-right {
    font-size: 24px;
    color: #fff;
    animation: arrowBounceRight 2s ease-in-out infinite;
}

.projects-swipe-indicator .swipe-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

.projects-swipe-indicator:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@keyframes arrowBounceRight {
    0%,
    100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(8px);
    }
}

/* Gallery Slides */
.projects-gallery-slide {
    padding: 30px !important;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    overflow: hidden;
    height: 100vh;
    width: 100%;
    box-sizing: border-box;
    display: flex;
}

.projects-gallery-container {
    width: 100%;
    max-width: 100%;
    display: flex;
    gap: 35px;
    flex: 1;
    height: calc(100vh - 120px);
    align-items: stretch;
    padding: 0;
    box-sizing: border-box;
    min-height: 0;
}

/* Adjust height when title is present (first slide) */
.projects-gallery-slide:has(.projects-title-content)
    .projects-gallery-container {
    height: calc(100vh - 380px);
    margin-top: 0;
}

/* Ensure title content doesn't interfere with layout */
.projects-gallery-slide .projects-title-content {
    flex-shrink: 0;
    width: 100%;
}

.projects-masonry-gallery {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
    height: 100%;
    overflow: hidden;
    min-width: 0;
    min-height: 0;
}

.projects-gallery-left,
.projects-gallery-right {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 25px;
    height: 100%;
}

.projects-gallery-slide .project-masonry-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    will-change: transform;
    flex: 1;
    min-height: 0;
    min-width: 0;
    width: 100%;
    border-radius: 16px;
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: fadeInScale 0.6s ease-out backwards;
}

.projects-gallery-slide .project-masonry-item:nth-child(1) {
    animation-delay: 0.1s;
}

.projects-gallery-slide .project-masonry-item:nth-child(2) {
    animation-delay: 0.2s;
}

.projects-gallery-slide .project-masonry-item:nth-child(3) {
    animation-delay: 0.3s;
}

.projects-gallery-slide .project-masonry-item:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.projects-gallery-slide .project-masonry-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.85) 100%
    );
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    pointer-events: none;
    border-radius: 16px;
}

.projects-gallery-slide .project-masonry-item::after {
    content: attr(data-project-title);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px 30px;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    pointer-events: none;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.9);
    font-family: "Helvetica Neue LT Pro 73 Ex", sans-serif;
}

.projects-gallery-slide .project-masonry-item:hover {
    z-index: 10;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.7), 0 0 40px rgba(78, 205, 196, 0.2);
    border-color: rgba(78, 205, 196, 0.4);
    background: rgba(255, 255, 255, 0.06);
}

.projects-gallery-slide .project-masonry-item:hover::before {
    opacity: 1;
}

.projects-gallery-slide .project-masonry-item:hover::after {
    opacity: 1;
    transform: translateY(0);
}

.projects-gallery-slide .project-masonry-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1), filter 0.5s ease;
    filter: brightness(0.95) contrast(1.05);
    min-width: 100%;
    min-height: 100%;
}

.projects-gallery-slide .project-masonry-item:hover .project-masonry-image {
    filter: brightness(1.1) contrast(1.1);
}

/* Project Popup Modal */
.projects-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 40px;
    box-sizing: border-box;
}

.projects-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.projects-popup-content {
    width: 100%;
    max-width: 1400px;
    max-height: 90vh;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: scale(0.9) translateY(30px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.projects-popup-overlay.active .projects-popup-content {
    transform: scale(1) translateY(0);
}

.projects-popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10000;
    backdrop-filter: blur(10px);
}

.projects-popup-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: rotate(90deg);
}

.projects-single-content {
    display: flex;
    gap: 40px;
    padding: 50px;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.projects-single-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.projects-single-main-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
    position: relative;
}

.projects-single-main-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.3) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.projects-single-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.projects-single-main-image:hover img {
    transform: scale(1.05);
}

.projects-single-thumbnails {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 15px;
}

.projects-single-thumbnail {
    width: 100%;
    height: 120px;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.projects-single-thumbnail:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.projects-single-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.projects-single-thumbnail:hover img {
    transform: scale(1.1);
}

.projects-single-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
    color: #fff;
    justify-content: flex-start;
}

.projects-single-branding {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.projects-single-logo {
    max-width: 180px;
    max-height: 70px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.projects-single-branding-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

.projects-single-title {
    font-size: 32px;
    font-weight: 900;
    color: #fff;
    margin: 0;
    line-height: 1.1;
    letter-spacing: -1px;
    font-family: "Helvetica Neue LT Pro 93 BlEx", sans-serif;
    text-transform: uppercase;
}

.projects-single-description {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
}

.projects-single-description p {
    margin: 0 0 20px 0;
}

.projects-single-description p:last-child {
    margin-bottom: 0;
}

/* Navigation Arrows */
.projects-owl-carousel-desktop .owl-nav,
.projects-owl-carousel-mobile .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 200 !important;
    pointer-events: none;
}

/* Projects arrows now use unified style above */

/* Animation removed - no ::before pseudo-element */

/* Projects hover now uses unified style above */

.projects-owl-carousel-desktop .owl-nav button.owl-prev,
.projects-owl-carousel-mobile .owl-nav button.owl-prev {
    left: 40px;
    position: absolute;
}

.projects-owl-carousel-desktop .owl-nav button.owl-next,
.projects-owl-carousel-mobile .owl-nav button.owl-next {
    right: 40px;
    position: absolute;
}

.projects-owl-carousel-desktop .owl-nav button.disabled,
.projects-owl-carousel-mobile .owl-nav button.disabled {
    opacity: 0.3 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}
.about-360-bottom-text {
    font-size: 25px;
    font-weight: 600;
}
/* Responsive Styles for Projects Carousel */
@media screen and (max-width: 1024px) {
    .projects-carousel-slide {
        touch-action: pan-y !important;
    }

    .projects-carousel-container {
        height: 100vh !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        touch-action: pan-y !important;
        padding-bottom: 40px !important;
    }

    .projects-owl-carousel {
        height: auto !important;
        overflow: visible !important;
        /* Allow both vertical and horizontal swipes on mobile */
        touch-action: pan-x pan-y !important;
    }

    .projects-owl-carousel .owl-stage-outer {
        height: auto !important;
        overflow: visible !important;
        /* Allow both vertical and horizontal swipes */
        touch-action: pan-x pan-y !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .projects-owl-carousel .owl-stage {
        height: auto !important;
        overflow: visible !important;
    }

    .projects-owl-carousel .owl-item {
        overflow: visible !important;
    }

    .projects-owl-item {
        height: auto !important;
        min-height: auto !important;
        overflow: visible !important;
        padding-top: 20px !important;
    }

    /* Ensure second slide (without title) shows all content */
    .projects-owl-item:not(:has(.projects-title-content)) {
        padding-top: 40px !important;
        overflow: visible !important;
    }

    .projects-gallery-slide {
        overflow: visible !important;
    }

    .projects-gallery-container {
        height: auto !important;
        overflow: visible !important;
    }

    .projects-main-title {
        font-size: 56px;
        letter-spacing: -2px;
    }

    .projects-title-content {
        max-width: 92%;
        padding: 25px 30px;
        margin-bottom: 40px;
    }

    .projects-gallery-slide {
        padding: 40px 35px !important;
        padding-top: 60px !important;
    }

    /* Slides without title need top padding */
    .projects-gallery-slide:not(:has(.projects-title-content)) {
        padding-top: 60px !important;
    }

    .projects-gallery-container {
        flex-direction: column;
        gap: 22px;
        height: calc(100vh - 200px) !important;
        max-height: calc(100vh - 200px) !important;
        padding: 0 15px;
        padding-top: 0 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        margin-top: 0 !important;
        touch-action: pan-y !important;
        will-change: scroll-position;
        transform: translateZ(0);
        backface-visibility: hidden;
    }

    /* Adjust for first slide with title */
    .projects-gallery-slide:has(.projects-title-content)
        .projects-gallery-container {
        height: calc(100vh - 320px) !important;
        max-height: calc(100vh - 320px) !important;
    }

    /* Ensure slides without title show all content */
    .projects-gallery-slide:not(:has(.projects-title-content))
        .projects-gallery-container {
        height: calc(100vh - 120px) !important;
        max-height: calc(100vh - 120px) !important;
    }

    .projects-gallery-left,
    .projects-gallery-right {
        width: 100%;
        height: auto;
        flex: 0 0 auto;
    }
    .contact-content-wrapper {
        overflow-y: scroll !important;
    }
    .contact-main-grid {
        overflow-y: scroll !important;
    }
    .about-360-bottom-text {
        font-size: 15px;
        font-weight: 600;
    }
    .projects-masonry-gallery {
        height: auto !important;
        overflow-y: visible !important;
        gap: 20px;
    }
    .clients-logos-grid {
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
    }
    .clients-logos-grid .client-logo-item {
        overflow: hidden;
    }

    .projects-gallery-slide .project-masonry-item {
        min-height: 220px;
        border-radius: 14px;
    }

    .projects-popup-overlay {
        padding: 20px;
    }

    .projects-popup-content {
        max-width: 100%;
        max-height: 95vh;
    }

    .projects-popup-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .projects-single-content {
        flex-direction: column;
        gap: 30px;
        padding: 30px 20px;
    }

    .projects-single-title {
        font-size: 28px;
    }

    .projects-single-main-image {
        height: 250px;
    }

    .projects-owl-carousel-desktop .owl-nav,
    .projects-owl-carousel-mobile .owl-nav {
        padding: 0 20px !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 250 !important;
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 100% !important;
        justify-content: space-between !important;
    }

    .projects-owl-carousel-desktop .owl-nav button,
    .projects-owl-carousel-mobile .owl-nav button {
        width: 40px !important;
        height: 40px !important;
        font-size: 18px !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: all !important;
        position: absolute !important;
        z-index: 251 !important;
        background: rgba(78, 205, 196, 0.15) !important;
        border: 2px solid rgba(78, 205, 196, 0.5) !important;
        color: #4ecdc4 !important;
    }

    .projects-owl-carousel-desktop .owl-nav button.owl-prev,
    .projects-owl-carousel-mobile .owl-nav button.owl-prev {
        left: 15px !important;
        right: auto !important;
    }

    .projects-owl-carousel-desktop .owl-nav button.owl-next,
    .projects-owl-carousel-mobile .owl-nav button.owl-next {
        right: 15px !important;
        left: auto !important;
    }
}

@media screen and (max-width: 768px) {
    /* Ensure vertical scrolling for projects on smaller mobile */
    .projects-carousel-slide {
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        height: 100vh !important;
        touch-action: pan-y !important;
    }

    .projects-carousel-container {
        height: 100vh !important;
        min-height: 100vh !important;
        padding-bottom: 30px !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        touch-action: pan-y !important;
    }

    /* Projects Owl Carousel - Allow horizontal scrolling on mobile */
    .projects-owl-carousel {
        touch-action: pan-x pan-y !important;
        overflow-x: auto !important;
        overflow-y: visible !important;
    }

    .projects-owl-carousel .owl-stage-outer {
        touch-action: pan-x pan-y !important;
        overflow-x: auto !important;
        overflow-y: visible !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .projects-owl-carousel .owl-stage {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
    }

    /* Ensure main swiper allows scrolling beyond projects */
    .swiper-container {
        touch-action: pan-y !important;
    }

    .swiper-wrapper {
        touch-action: pan-y !important;
    }

    /* Ensure all slides after projects can be scrolled to */
    .swiper-slide {
        touch-action: pan-y !important;
    }

    .projects-main-title {
        font-size: 42px;
        letter-spacing: -1.5px;
    }

    .projects-title-content {
        max-width: 96%;
        padding: 20px 25px;
        margin-bottom: 25px;
        border-radius: 20px;
    }

    .projects-swipe-indicator {
        gap: 15px;
        margin-top: 30px;
        padding: 12px 24px;
    }

    .projects-gallery-slide {
        padding: 35px 20px !important;
    }

    .projects-gallery-container {
        gap: 18px;
        height: auto !important;
        max-height: none !important;
        overflow-y: visible !important;
        padding: 0 10px;
    }

    /* Adjust for first slide with title */
    .projects-gallery-slide:has(.projects-title-content)
        .projects-gallery-container {
        height: calc(100vh - 250px) !important;
    }

    .projects-masonry-gallery {
        gap: 18px;
        height: auto;
    }

    .projects-gallery-left,
    .projects-gallery-right {
        flex: 0 0 auto;
    }

    .projects-gallery-slide .project-masonry-item {
        min-height: 180px;
        border-radius: 12px;
    }

    .projects-gallery-slide .project-masonry-item::after {
        font-size: 16px;
        padding: 20px 25px;
        letter-spacing: 1px;
    }

    .projects-owl-carousel-desktop .owl-nav,
    .projects-owl-carousel-mobile .owl-nav {
        padding: 0 15px;
    }

    .projects-owl-carousel-desktop .owl-nav button,
    .projects-owl-carousel-mobile .owl-nav button {
        width: 50px;
        height: 50px;
        font-size: 24px !important;
    }

    .projects-owl-carousel-desktop .owl-nav button.owl-prev,
    .projects-owl-carousel-mobile .owl-nav button.owl-prev {
        left: 15px;
    }

    .projects-owl-carousel-desktop .owl-nav button.owl-next,
    .projects-owl-carousel-mobile .owl-nav button.owl-next {
        right: 15px;
    }

    .projects-single-content {
        padding: 25px;
        gap: 25px;
    }

    .projects-single-title {
        font-size: 24px;
    }

    .projects-single-main-image {
        height: 250px;
    }

    .projects-single-thumbnails {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 480px) {
    .projects-main-title {
        font-size: 32px;
        letter-spacing: -1px;
        line-height: 1.1;
    }

    .projects-title-content {
        padding: 18px 20px;
        margin-bottom: 20px;
        border-radius: 16px;
        max-width: 98%;
    }

    .projects-gallery-slide {
        padding: 25px 15px !important;
    }

    .projects-gallery-container {
        gap: 12px;
        height: calc(100vh - 60px) !important;
        max-height: none;
        overflow-y: auto;
        padding: 0 5px;
    }

    /* Adjust for first slide with title */
    .projects-gallery-slide:has(.projects-title-content)
        .projects-gallery-container {
        height: calc(100vh - 180px) !important;
    }

    .projects-masonry-gallery {
        gap: 12px;
        height: auto;
    }

    .projects-gallery-left,
    .projects-gallery-right {
        flex: 0 0 auto;
    }

    .projects-gallery-slide .project-masonry-item {
        min-height: 140px;
        border-radius: 10px;
    }

    .projects-gallery-slide .project-masonry-item::after {
        font-size: 14px;
        padding: 15px 20px;
        letter-spacing: 0.5px;
    }

    .projects-gallery-slide .project-masonry-item:hover {
        /* No transform on hover */
    }

    .projects-owl-carousel-desktop .owl-nav button,
    .projects-owl-carousel-mobile .owl-nav button {
        width: 40px;
        height: 40px;
        font-size: 20px !important;
    }

    .projects-owl-carousel-desktop .owl-nav button.owl-prev,
    .projects-owl-carousel-mobile .owl-nav button.owl-prev {
        left: 10px;
    }

    .projects-owl-carousel-desktop .owl-nav button.owl-next,
    .projects-owl-carousel-mobile .owl-nav button.owl-next {
        right: 10px;
    }
}

/* Projects "And More To Come" Slide */
.projects-more-slide {
    background: transparent;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 20px !important;
}

.projects-more-content {
    text-align: center;
    max-width: 800px;
    padding: 60px;
    position: relative;
    z-index: 10;
}

.projects-more-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 40px;
    color: #fff;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.projects-more-icon svg {
    width: 100%;
    height: 100%;
    animation: rotateIn 1s ease 0.4s forwards;
    transform-origin: center;
    opacity: 0;
}

.projects-more-title {
    font-size: 72px;
    font-weight: 900;
    color: #fff;
    margin: 0 0 35px 0;
    letter-spacing: -2px;
    line-height: 1.1;
    font-family: "Helvetica Neue LT Pro 93 BlEx", sans-serif;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.projects-more-text {
    font-size: 22px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    letter-spacing: 0.5px;
    font-family: "Helvetica Neue LT Pro 53 Ex", sans-serif;
    margin: 0;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

/* Responsive Styles for Projects More Slide */
@media screen and (max-width: 1024px) {
    .projects-more-title {
        font-size: 56px;
    }

    .projects-more-text {
        font-size: 20px;
    }

    .projects-more-content {
        padding: 50px 40px;
    }
}

@media screen and (max-width: 768px) {
    .projects-more-title {
        font-size: 48px;
    }

    .projects-more-text {
        font-size: 18px;
    }

    .projects-more-content {
        padding: 40px 30px;
    }
}

@media screen and (max-width: 480px) {
    .projects-more-title {
        font-size: 36px;
        margin-bottom: 20px;
    }

    .projects-more-text {
        font-size: 16px;
    }

    .projects-more-content {
        padding: 40px 30px;
    }
}

/* ============================================
   CAREERS HORIZONTAL CAROUSEL (Owl Carousel)
   ============================================ */

/* Careers Owl Carousel Wrapper */
.careers-owl-carousel {
    width: 100% !important;
    height: 100vh !important;
    position: relative;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    overflow: hidden;
    touch-action: pan-x;
    pointer-events: auto !important;
    z-index: 10;
    overscroll-behavior: contain;
}

.careers-owl-carousel .owl-stage-outer {
    height: 100vh !important;
    width: 100% !important;
    touch-action: pan-x !important;
    overflow: hidden !important;
    position: relative !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.careers-owl-carousel .owl-stage {
    height: 100vh !important;
    width: auto !important;
    display: flex !important;
    position: relative !important;
    visibility: visible !important;
    opacity: 1 !important;
    align-items: center;
}

.careers-owl-carousel .owl-item {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    flex-shrink: 0;
}

.careers-owl-item {
    width: 100% !important;
    height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px;
    box-sizing: border-box;
    position: relative;
    flex-shrink: 0;
}

/* Title Slide */
.careers-title-slide {
    padding: 0 20px !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.careers-title-content {
    text-align: center;
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    padding: 0 20px;
    box-sizing: border-box;
}

.careers-main-title {
    font-size: 120px;
    font-weight: 900;
    color: #fff;
    margin: 0 0 60px 0;
    letter-spacing: -3px;
    line-height: 1.05;
    font-family: "Helvetica Neue LT Pro 93 BlEx", sans-serif;
    text-transform: uppercase;
    text-align: center;
    width: 100%;
    animation: fadeInUp 0.8s ease-out;
}

.careers-swipe-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.careers-swipe-indicator .swipe-arrow-right {
    font-size: 24px;
    color: #fff;
    animation: arrowBounceRight 2s ease-in-out infinite;
}

.careers-swipe-indicator .swipe-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

.careers-swipe-indicator:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Departments Slide (Slide 2 - No Background, No Header) */
.careers-departments-slide {
    padding: 0 !important;
    overflow: hidden;
    height: 100vh;
    background: transparent !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.careers-departments-container {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 60px;
    box-sizing: border-box;
}

.careers-departments-with-jobs {
    display: flex;
    width: 100%;
    max-width: 1400px;
    gap: 40px;
    align-items: center;
    justify-content: center;
    height: auto;
    max-height: 90vh;
    overflow: hidden;
}

.careers-departments-only {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 400px;
    flex-shrink: 0;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 8px;
    -webkit-overflow-scrolling: touch;
}

/* Updated Department Tab with Badge */
.careers-departments-slide .careers-department-tab {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid transparent;
    border-radius: 12px;
    padding: 20px 25px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.careers-departments-slide .careers-department-tab::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #4ecdc4 0%, #95e1d3 100%);
    transform: scaleY(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.careers-departments-slide .careers-department-tab:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    border-left-color: #4ecdc4;
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.careers-departments-slide .careers-department-tab:hover::before {
    transform: scaleY(1);
}

.careers-departments-slide .careers-department-tab.active {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: #4ecdc4;
    border-color: rgba(255, 255, 255, 0.25);
}

.careers-departments-slide .careers-department-tab.active::before {
    transform: scaleY(1);
}

.department-tab-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 1;
}

.careers-departments-slide .department-tab-header {
    font-size: 18px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    font-family: "Helvetica Neue LT Pro 73 Ex", sans-serif;
    text-align: left;
    line-height: 1.3;
    flex: 1;
}

.department-tab-badge {
    background: linear-gradient(135deg, #4ecdc4 0%, #95e1d3 100%);
    color: #000;
    font-size: 14px;
    font-weight: 900;
    padding: 6px 12px;
    border-radius: 20px;
    min-width: 32px;
    text-align: center;
    font-family: "Helvetica Neue LT Pro 93 BlEx", sans-serif;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.4);
}

/* Jobs Layout (Same slide as departments) */
.careers-jobs-layout {
    display: flex;
    flex: 1;
    gap: 40px;
    position: relative;
    align-items: stretch;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    min-width: 0;
    max-height: 90vh;
}

/* Ensure the job card is vertically centered and never cropped - same pattern as clients */
.careers-departments-slide .careers-details {
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.careers-departments-slide .careers-details-content {
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.careers-departments-slide .careers-job-scope {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    max-height: none;
}

.careers-departments-slide .careers-job-scope .scope-content {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding-right: 8px;
}

.careers-jobs-layout[style*="display: flex"] {
    opacity: 1;
    visibility: visible;
}

/* Jobs Popup Modal */
.careers-jobs-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 40px;
    box-sizing: border-box;
}

.careers-jobs-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.careers-jobs-popup-content {
    width: 100%;
    max-width: 1400px;
    max-height: 90vh;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: scale(0.9) translateY(30px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.careers-jobs-popup-overlay.active .careers-jobs-popup-content {
    transform: scale(1) translateY(0);
}

.careers-popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
    backdrop-filter: blur(10px);
}

.careers-popup-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: rotate(90deg);
}

.careers-jobs-popup-header {
    padding: 40px 50px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.careers-popup-department-name {
    font-size: 48px;
    font-weight: 900;
    color: #fff;
    margin: 0;
    letter-spacing: -2px;
    line-height: 1.1;
    font-family: "Helvetica Neue LT Pro 93 BlEx", sans-serif;
    text-transform: uppercase;
}

.careers-popup-jobs-count {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.careers-jobs-popup-body {
    display: flex;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.careers-jobs-list-popup {
    width: 40%;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.careers-job-item-popup {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.careers-job-item-popup:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.careers-job-item-popup.active {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.careers-job-item-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.careers-job-item-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.5;
}

.careers-job-details-popup {
    width: 60%;
    padding: 40px 50px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.careers-job-details-header-popup {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.careers-job-title-popup {
    font-size: 36px;
    font-weight: 900;
    color: #fff;
    margin: 0;
    letter-spacing: -1px;
    line-height: 1.2;
    font-family: "Helvetica Neue LT Pro 93 BlEx", sans-serif;
    text-transform: uppercase;
    flex: 1;
}

.careers-apply-btn-popup {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.careers-apply-btn-popup:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.careers-job-scope-popup {
    flex: 1;
}

.careers-job-scope-content-popup {
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    line-height: 1.8;
    font-weight: 300;
}

.careers-job-scope-content-popup h4 {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin: 30px 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.careers-job-scope-content-popup h4:first-child {
    margin-top: 0;
}

.careers-job-scope-content-popup p {
    margin: 0 0 20px 0;
}

.careers-job-scope-content-popup ul {
    margin: 15px 0;
    padding-left: 25px;
}

.careers-job-scope-content-popup li {
    margin: 10px 0;
    line-height: 1.6;
}

/* Navigation Arrows */
.careers-owl-carousel .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 200 !important;
    pointer-events: none;
}

/* Careers arrows now use unified style above */

.careers-owl-carousel .owl-nav button.owl-prev {
    left: 40px;
    position: absolute;
}

.careers-owl-carousel .owl-nav button.owl-next {
    right: 40px;
    position: absolute;
}

.careers-owl-carousel .owl-nav button.disabled {
    opacity: 0.3 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

/* Responsive Styles for Careers Carousel */
/* Careers styles up to 1024px - same as mobile layout */
@media screen and (max-width: 1024px) {
    .careers-main-title {
        font-size: 80px;
        margin-bottom: 40px;
    }

    .careers-title-content {
        max-width: 90%;
        padding: 15px;
    }

    .careers-department-name {
        font-size: 42px;
    }

    .careers-department-card {
        padding: 50px 40px;
    }

    .careers-owl-carousel .owl-nav {
        padding: 0 20px;
    }

    .careers-owl-carousel .owl-nav button {
        width: 50px !important;
        height: 50px !important;
        font-size: 24px !important;
        background: rgba(78, 205, 196, 0.15) !important;
        border: 2px solid rgba(78, 205, 196, 0.5) !important;
        color: #4ecdc4 !important;
    }

    .careers-owl-carousel .owl-nav button.owl-prev {
        left: 20px;
    }

    .careers-owl-carousel .owl-nav button.owl-next {
        right: 20px;
    }

    .careers-jobs-popup-body {
        flex-direction: column;
    }

    .careers-jobs-list-popup {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        max-height: 200px;
    }

    .careers-job-details-popup {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .careers-main-title {
        font-size: 56px;
        margin-bottom: 30px;
        letter-spacing: -2px;
    }

    .careers-title-content {
        max-width: 95%;
        padding: 10px;
    }

    .careers-swipe-indicator {
        gap: 15px;
        margin-top: 30px;
        padding: 12px 24px;
    }

    .careers-department-name {
        font-size: 32px;
    }

    .careers-department-card {
        padding: 40px 30px;
    }

    .badge-number {
        font-size: 36px;
    }

    .careers-owl-carousel .owl-nav {
        padding: 0 15px;
    }

    .careers-owl-carousel .owl-nav button {
        width: 50px !important;
        height: 50px !important;
        font-size: 24px !important;
        background: rgba(78, 205, 196, 0.15) !important;
        border: 2px solid rgba(78, 205, 196, 0.5) !important;
        color: #4ecdc4 !important;
    }

    .careers-owl-carousel .owl-nav button.owl-prev {
        left: 15px;
    }

    .careers-owl-carousel .owl-nav button.owl-next {
        right: 15px;
    }

    .careers-jobs-popup-content {
        max-height: 95vh;
    }

    .careers-jobs-popup-header {
        padding: 30px 30px 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .careers-popup-department-name {
        font-size: 32px;
    }

    .careers-job-details-header-popup {
        flex-direction: column;
        gap: 20px;
    }

    .careers-job-title-popup {
        font-size: 28px;
    }

    .careers-jobs-list-popup,
    .careers-job-details-popup {
        padding: 20px;
    }
}

/* About Us Slide Animations - Slower Duration */
.animate-content.animate__animated,
.animate-image.animate__animated {
    animation-duration: 2s !important;
    animation-delay: 0s;
}

.animate-image.animate__animated {
    animation-delay: 0.3s;
}

/* 360° Slide Animations - Slower Duration */
.about-360-top-text.animate__animated,
.about-360-number.animate__animated,
.about-360-image.animate__animated {
    animation-duration: 2s !important;
}

/* Service Slides Animations - Slower Duration */
.animate-service-title.animate__animated,
.animate-service-description.animate__animated {
    animation-duration: 1.5s !important;
}

/* ============================================
    OUR SENIOR TEAM SLIDE - HOVER & CLICK EFFECTS
   ============================================ */

.team-members-container,
.team-members-wrapper {
    position: relative;
    scrollbar-width: thin;
    scrollbar-color: rgba(78, 205, 196, 0.3) transparent;
}

/* Team Owl Carousel - Global Fix */
.team-owl-carousel {
    display: block !important;
    width: 100% !important;
    overflow: visible !important;
    position: relative !important;
}

.team-owl-carousel .owl-stage-outer {
    display: block !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-x pan-y !important;
    width: 100% !important;
    position: relative !important;
}

.team-owl-carousel .owl-stage {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    width: auto !important;
    min-width: 100% !important;
    position: relative !important;
}

.team-owl-carousel .owl-item {
    display: flex !important;
    flex-shrink: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
}

.team-owl-carousel .owl-item .team-member {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
}

.team-members-container::-webkit-scrollbar {
    height: 6px;
}

.team-members-container::-webkit-scrollbar-track {
    background: transparent;
}

.team-members-container::-webkit-scrollbar-thumb {
    background: rgba(78, 205, 196, 0.3);
    border-radius: 3px;
    transition: background 0.3s ease;
}

.team-members-container::-webkit-scrollbar-thumb:hover {
    background: rgba(78, 205, 196, 0.5);
}

.team-member {
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.team-member::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(0, 0, 0, 0.3) 100%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    pointer-events: none;
    border-radius: 12px;
}

.team-member:hover::before {
    opacity: 1;
}

.team-member-image {
    transition: filter 0.3s ease;
    filter: grayscale(0%);
    border-radius: 12px;
    object-fit: cover;
}

/* Gray filter on non-active images when hovering */
.team-members-container:hover .team-member-image.grayscale {
    filter: grayscale(100%) brightness(0.4);
    opacity: 0.5;
}

/* Active image (hovered) - enhanced */
.team-member.active .team-member-image,
.team-member-image.active {
    filter: grayscale(0%) brightness(1.15) contrast(1.1);
    z-index: 20;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(78, 205, 196, 0.3);
}

.team-member:hover {
    z-index: 15;
}

.team-member:hover .team-member-image {
    filter: grayscale(0%) brightness(1.1);
}

/* Expanded state */
.team-member.expanded {
    width: 600px !important;
    z-index: 100;
    position: relative;
}

.team-member.expanded .team-member-content {
    transition: opacity 0.3s ease;
}

.team-member.expanded .team-member-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Team Member Info Enhancement */
.team-member-info {
    position: relative;
    z-index: 2;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 12px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    margin-top: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.team-member:hover .team-member-info {
    background: rgba(0, 0, 0, 0.6);
    border-color: rgba(78, 205, 196, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.team-member-content {
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Bio Display */
.team-member-bio {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    z-index: 101;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    animation: fadeIn 0.4s ease-out;
}

.team-bio-content {
    max-width: 500px;
    width: 100%;
    position: relative;
}

.team-bio-close {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 102;
}

.team-bio-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: rotate(90deg);
}

.team-bio-name {
    font-size: 32px;
    font-weight: 900;
    color: #fff;
    margin: 0 0 10px 0;
    letter-spacing: -1px;
    line-height: 1.2;
    font-family: "Helvetica Neue LT Pro 93 BlEx", sans-serif;
    text-transform: uppercase;
}

.team-bio-title {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 25px 0;
    font-weight: 600;
    letter-spacing: 1px;
}

.team-bio-text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin: 0;
    font-weight: 300;
}

/* ============================================
   RESPONSIVE STYLES - TABLET & MOBILE
   ============================================ */

/* Tablet Styles (768px - 1024px) */
@media screen and (max-width: 1024px) and (min-width: 769px) {
    /* Team Slide Container */
    .about-team-slide > div {
        padding: 60px 50px 60px 30px !important;
    }

    /* Title */
    .about-team-slide h1 {
        font-size: 80px !important;
        top: 30px !important;
        left: 30px !important;
    }

    /* Team Members Container */
    .team-members-container,
    .team-members-wrapper {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 0 !important; /* Use margins for better mobile support */
        margin-bottom: 60px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: thin;
        scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
        padding-bottom: 20px !important; /* Space for scrollbar */
    }

    /* Team Owl Carousel - Mobile Fix */
    .team-owl-carousel {
        display: block !important;
        width: 100% !important;
        overflow: visible !important;
    }

    .team-owl-carousel .owl-stage-outer {
        display: block !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        touch-action: pan-x pan-y !important;
        width: 100% !important;
    }

    .team-owl-carousel .owl-stage {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: flex-start !important;
        width: auto !important;
        min-width: 100% !important;
    }

    .team-owl-carousel .owl-item {
        display: flex !important;
        flex-shrink: 0 !important;
        width: 120px !important;
        min-width: 120px !important;
        margin-right: 10px !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .team-owl-carousel .owl-item:last-child {
        margin-right: 0 !important;
    }

    .team-member {
        width: 110px !important;
        min-width: 110px !important;
        margin-right: 8px !important; /* Replacement for gap */
        flex-shrink: 0 !important;
    }

    .team-member:last-child {
        margin-right: 0 !important;
    }

    .team-member-image {
        height: 450px !important;
    }

    .team-member-info {
        margin-top: 15px !important;
    }

    .team-member-info div {
        font-size: 12px !important;
    }

    .team-member-info div:nth-child(2) {
        font-size: 12px !important;
    }

    .team-member-info div:nth-child(3) {
        font-size: 9px !important;
    }

    /* Expanded State */
    .team-member.expanded {
        width: 450px !important;
        min-width: 450px;
    }

    /* Bio */
    .team-member-bio {
        padding: 30px !important;
        border-radius: 15px !important;
    }

    .team-bio-content {
        max-width: 100%;
    }

    .team-bio-name {
        font-size: 28px;
    }

    .team-bio-title {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .team-bio-text {
        font-size: 14px;
        line-height: 1.7;
    }

    .team-bio-close {
        width: 35px;
        height: 35px;
        font-size: 20px;
        top: -5px;
        right: -5px;
    }
}

/* Mobile Styles (max-width: 768px) */
@media screen and (max-width: 768px) {
    /* Team Slide Container */
    .about-team-slide > div {
        padding: 40px 20px 40px 20px !important;
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        overflow: visible !important;
    }

    /* Title */
    .about-team-slide h1 {
        font-size: 50px !important;
        top: 90px !important; /* Moved down to avoid menu overlap */
        left: 20px !important;
        line-height: 0.85 !important;
    }

    /* Team Members Container */
    .team-members-container,
    .team-members-wrapper {
        display: flex !important;
        flex-direction: row !important; /* Force row direction */
        flex-wrap: nowrap !important;
        gap: 0 !important; /* Use margins for better mobile support */
        margin-bottom: 40px !important;
        height: 75% !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: thin;
        scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
        padding-bottom: 10px;
        align-items: flex-start !important; /* Align items to top */
        justify-content: flex-start !important; /* Force horizontal alignment */
        width: 100% !important; /* Ensure full width */
        min-width: 100% !important; /* Prevent shrinking */
    }

    /* Team Owl Carousel - Mobile Fix */
    .team-owl-carousel {
        display: block !important;
        width: 100% !important;
        overflow: visible !important;
    }

    .team-owl-carousel .owl-stage-outer {
        display: block !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        touch-action: pan-x pan-y !important;
        width: 100% !important;
    }

    .team-owl-carousel .owl-stage {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: flex-start !important;
        width: auto !important;
        min-width: 100% !important;
    }

    .team-owl-carousel .owl-item {
        display: flex !important;
        flex-shrink: 0 !important;
        width: 100px !important;
        min-width: 100px !important;
        margin-right: 8px !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .team-owl-carousel .owl-item:last-child {
        margin-right: 0 !important;
    }

    .team-members-container::-webkit-scrollbar {
        height: 3px;
    }

    .team-members-container::-webkit-scrollbar-track {
        background: transparent;
    }

    .team-members-container::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.3);
        border-radius: 2px;
    }

    /* Team Member */
    .team-member {
        width: 90px !important;
        min-width: 90px !important;
        margin-right: 6px !important; /* Replacement for gap */
        flex-shrink: 0 !important;
    }

    .team-member:last-child {
        margin-right: 0 !important;
    }

    .team-member-image {
        height: 380px !important;
    }

    .team-member-info {
        margin-top: 12px !important;
    }

    .team-member-info svg {
        width: 12px !important;
        height: 12px !important;
        margin-bottom: 4px !important;
    }

    .team-member-info div {
        font-size: 11px !important;
        margin-bottom: 3px !important;
    }

    .team-member-info div:nth-child(2) {
        font-size: 10px !important;
        margin-bottom: 4px !important;
    }

    .team-member-info div:nth-child(3) {
        font-size: 8px !important;
        line-height: 1.2 !important;
    }

    /* Disable hover effects on mobile (touch devices) */
    .team-members-container:hover .team-member-image.grayscale {
        filter: grayscale(0%) brightness(1);
        opacity: 1;
    }

    .team-member.active .team-member-image,
    .team-member-image.active {
        transform: scale(1);
    }

    /* Expanded State - Full width on mobile */
    .team-member.expanded {
        width: calc(100vw - 40px) !important;
        min-width: calc(100vw - 40px);
        max-width: calc(100vw - 40px);
        position: fixed !important;
        left: 20px !important;
        right: 20px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        height: auto !important;
        max-height: 85vh;
        z-index: 1000 !important;
    }

    .team-member.expanded .team-member-content {
        height: auto;
    }

    .team-member.expanded .team-member-image {
        height: 400px !important;
        object-fit: cover;
    }

    /* Bio - Full screen overlay on mobile */
    .team-member.expanded .team-member-bio {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        max-width: 100vw !important;
        max-height: 100vh !important;
        border-radius: 0 !important;
        padding: 60px 20px 20px 20px !important;
        z-index: 1001 !important;
        overflow-y: auto;
    }

    .team-bio-content {
        max-width: 100%;
        width: 100%;
    }

    .team-bio-name {
        font-size: 22px;
        margin-bottom: 8px;
    }

    .team-bio-title {
        font-size: 13px;
        margin-bottom: 15px;
    }

    .team-bio-text {
        font-size: 13px;
        line-height: 1.7;
    }

    .team-bio-close {
        width: 40px;
        height: 40px;
        font-size: 24px;
        top: 15px;
        right: 15px;
        background: rgba(255, 255, 255, 0.15);
    }

    .team-bio-close:active {
        transform: rotate(90deg) scale(0.95);
    }
}

/* Small Mobile (max-width: 480px) */
@media screen and (max-width: 480px) {
    /* Title */
    .about-team-slide h1 {
        font-size: 40px !important;
        top: 15px !important;
        left: 15px !important;
    }

    /* Team Slide Container */
    .about-team-slide > div {
        padding: 30px 15px 30px 15px !important;
    }

    /* Team Member */
    .team-member {
        width: 75px !important;
        min-width: 75px;
    }

    .team-member-image {
        height: 320px !important;
    }

    .team-member-info {
        margin-top: 10px !important;
    }

    .team-member-info svg {
        width: 10px !important;
        height: 10px !important;
    }

    .team-member-info div {
        font-size: 11px !important;
    }

    .team-member-info div:nth-child(2) {
        font-size: 9px !important;
    }

    .team-member-info div:nth-child(3) {
        font-size: 7px !important;
    }

    /* Expanded State */
    .team-member.expanded {
        width: calc(100vw - 30px) !important;
        min-width: calc(100vw - 30px);
        left: 15px !important;
        right: 15px !important;
    }

    .team-member.expanded .team-member-image {
        height: 350px !important;
    }

    /* Bio */
    .team-member.expanded .team-member-bio {
        padding: 50px 15px 15px 15px !important;
    }

    .team-bio-name {
        font-size: 20px;
    }

    .team-bio-title {
        font-size: 12px;
    }

    .team-bio-text {
        font-size: 12px;
    }

    .team-bio-close {
        width: 35px;
        height: 35px;
        font-size: 20px;
        top: 10px;
        right: 10px;
    }
}

/* ============================================
   ENHANCED RESPONSIVE DESIGN
   Mobile: up to 1024px
   Tablet: 1025px to 1440px
   Desktop: 1441px+ (unchanged)
   ============================================ */
@media screen and (max-width: 1440px) {

    .team-member-image{
        height: 380px !important;
    }
    .about-team-title h1 {
        font-size: 50px !important;
}
.client-logo-item{
    min-height: 100px !important;
}
.contact-map-section{
    height:130px !important;
}
.contact-form {
    gap:5px !important;
}
.contact-form-panel{
    gap:10px !important;
    padding:5px !important;
}
.careers-jobs {
    width: 150px !important;
}
.contact-hq-card{
    padding:5px 15px !important;
}
.clients-more-title,.projects-more-title {

    font-size: 40px !important;
}
.clients-more-text,.projects-more-text{
    font-size: 15px !important;
}
.client-logo-image{
    max-height: 70px;

}
.clients-logos-grid {
gap:5px !important;
}
}

/* Mobile View (max-width: 1024px) */
@media screen and (max-width: 1024px) {
    /* Navigation - already handled by mobile menu, but ensure it's hidden */
    .left-nav {
        position: fixed;
        left: -100%;
        width: 280px;
        padding: 30px 25px;
    }

    .clients-logos-slide .clients-title-content {
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1700px;
    z-index: 10;
    padding: 10px 35px;
    margin-bottom: 0;
}

.client-logo-image{
        max-height: 100px;
}



    .left-nav.mobile-open {
        left: 0;
    }

    /* Mobile menu toggle - ensure it's visible */
    .mobile-menu-toggle {
        display: flex;
        position: fixed;
        top: 20px;
        left: 20px;
        z-index: 2001;
    }

    /* Main container - full width */
    .main-container {
        flex-direction: column;
    }

    /* Slider container - full width */
    .slider-container {
        margin-left: 0 !important;
        width: 100vw !important;
    }

    .active-margin .slider-container {
        margin-left: 0 !important;
        width: 100vw !important;
    }

    /* Right content - centered on mobile */
    .right-content {
        position: absolute;
        right: auto;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 500px;
        text-align: center;
        padding: 20px;
    }

    /* Main heading - centered and smaller */
    .main-heading {
        text-align: center;
        width: 100%;
    }

    .main-heading .line1 {
        font-size: 20px;
        display: block;
        margin-bottom: 8px;
    }

    .main-heading .line2 {
        font-size: 38px;
        display: block;
    }

    .description {
        font-size: 13px;
        line-height: 1.7;
        text-align: center;
        margin-top: 15px;
        max-width: 100%;
    }

    /* Slide two section - stack vertically */
    .slide-two-section {
        flex-direction: column;
        height: 100vh;
    }

    /* Slide top section - full width, stacked */
    .slide-top-section {
        flex: 0 0 40%;
        padding: 30px 25px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .slide-top-title {
        font-size: 36px;
        max-width: 100%;
        margin-bottom: 15px;
        line-height: 1.1;
        text-align: center;
    }

    .slide-top-content {
        max-width: 100%;
        width: 100%;
        text-align: center;
        align-items: center;
    }

    .slide-top-description {
        font-size: 13px;
        margin-bottom: 15px;
        text-align: center;
    }

    .slide-more-button {
        width: auto;
        padding: 8px 24px;
        font-size: 12px;
    }

    /* Slide bottom section - full width and height on mobile */
    .slide-bottom-section {
        flex: 1 1 60% !important;
        min-height: 60vh !important;
        height: 60vh !important;
        max-height: 60vh !important;
        position: relative !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    /* Service slides - use flex-grow to fill remaining space */
    .service-slide .slide-bottom-section,
    .slide-two-section .slide-bottom-section {
        flex: 1 1 auto !important; /* flex-grow: 1 to fill remaining space */
        min-height: 450px !important;
        width: 100% !important;
        position: relative !important; /* Anchor for absolute container */
        display: block !important; /* Reset flex display if it was causing issues */
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Vimeo container absolutely positioned to fill the bottom section */
    .service-slide .slide-bottom-section .vimeo-embed-container,
    .slide-two-section .slide-bottom-section .vimeo-embed-container {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 100% !important; /* Ensure it fills at least the parent */
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        z-index: 0 !important;
        flex: none !important; /* Disable flex on the container itself */
    }

    /* Iframe fills the container */
    .service-slide .slide-bottom-section .vimeo-embed-container iframe,
    .slide-two-section .slide-bottom-section .vimeo-embed-container iframe {
        position: absolute !important;
        top:110px !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 100% !important;
        border: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
    }

    /* Generic slide-bottom-section (non-service) - keep absolute positioning */
    .slide-bottom-section:not(.service-slide .slide-bottom-section):not(.slide-two-section .slide-bottom-section) .vimeo-embed-container {
        width: 100% !important;
        height: 100% !important;
        min-height: 100% !important;
        max-height: 100% !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .slide-bottom-section:not(.service-slide .slide-bottom-section):not(.slide-two-section .slide-bottom-section) .vimeo-embed-container iframe {
        width: 100% !important;
        height: 100% !important;
        min-height: 100% !important;
        max-height: 100% !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        transform: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Service slide iframes: REMOVED - now using flex-grow approach above (cleaner) */

    .slide-bottom-overlay {
        padding: 30px 25px;
        align-items: center;
        text-align: center;
    }

    .slide-bottom-text-arabic {
        font-size: 32px;
        margin-bottom: 10px;
        text-align: center;
    }

    .slide-bottom-text-english {
        font-size: 20px;
        text-align: center;
    }

    /* About slide - mobile layout */
    .about-content {
        position: absolute;
        top: 8% !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 90% !important;
        text-align: center !important;
    }

    .about-image {
        position: absolute;
        bottom: 0;
        right: 50%;
        transform: translateX(50%);
        width: 100%;
        max-width: 300px;
    }

    .about-image img {
        width: 100% !important;
        max-width: 300px !important;
        height: auto !important;
    }

    /* Center graphic - smaller and centered */
    .center-graphic {
        width: 85vw;
        max-width: 450px;
        height: 50vh;
        max-height: 450px;
        left: 50% !important;
        top: 45% !important;
        transform: translate(-50%, -50%);
    }

    .center-graphic video {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
    }

    .center-graphic iframe {
        width: 100% !important;
        height: 100% !important;
    }

    .number-nine {
        font-size: clamp(140px, 45vw, 280px);
    }

    /* Home slide video/iframe */
    .home {
        position: relative;
        width: 100%;
        height: 100vh;
        overflow: hidden;
    }

    .home video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        /* Mobile video optimizations */
        -webkit-playsinline: true;
        playsinline: true;
        touch-action: none;
        pointer-events: none;
    }

    .home iframe {
        width: 100vw !important;
        height: 56.25vw !important;
        min-height: 100vh !important;
        min-width: 177.77vh !important;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    /* Mobile video optimizations for all video elements */
    video {
        -webkit-playsinline: true;
        playsinline: true;
        touch-action: none;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
    }

    /* Slide bottom section videos - mobile optimizations */
    .slide-bottom-section video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        -webkit-playsinline: true;
        playsinline: true;
        touch-action: none;
        pointer-events: none;
    }

    /* Service slides - ensure full height on mobile */
    .service-slide .slide-bottom-section,
    .slide-two-section .slide-bottom-section {
        height: 450px !important;
        min-height: 450px !important;
        max-height: none !important;
    }

    .service-slide .vimeo-embed-container,
    .slide-two-section .vimeo-embed-container {
        width: 100% !important;
        height: 450px !important; /* force 450px on mobile */
        min-height: 450px !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        overflow: hidden !important;
    }

    /* Vimeo embeds in slide-bottom-section - mobile adjustments */
    .slide-bottom-section .vimeo-embed-container {
        width: 100% !important;
        height: 100% !important;
        min-height: 100% !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
    }

    .slide-bottom-section .vimeo-embed-container iframe {
        width: 100% !important;
        height: 100% !important;
        min-height: 450px !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        transform: none !important;
        object-fit: cover;
    }

    /* Service slide iframes specifically - fill the black space */
    .service-slide .vimeo-embed-container iframe,
    .slide-two-section .vimeo-embed-container iframe {
        /* Cover the 450px container (can't style inside cross-origin iframe) */
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        height: 450px !important;
        min-height: 450px !important;
        width: 177.78% !important; /* 16:9 cover */
        min-width: 100% !important;
        max-height: none !important;
        border: 0 !important;
        display: block !important;
        pointer-events: none;
    }

    /* Swiper navigation buttons - repositioned */
    .timeline .swiper-button-prev,
    .timeline .swiper-button-next {
        width: 40px;
        height: 40px;
        background-size: 24px 24px;
    }

    .timeline .swiper-button-prev {
        left: 50%;
        top: 15px;
        transform: translateX(-50%) rotate(90deg);
    }

    .timeline .swiper-button-next {
        left: 50%;
        bottom: 15px;
        top: auto;
        transform: translateX(-50%) rotate(90deg);
    }

    /* Social icons */
    .social-icons {
        gap: 8px;
        padding-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .social-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    /* Projects, Clients, Contact, Careers - Mobile adjustments */
    .projects-owl-item {
        padding: 30px 20px;
    }

    .projects-title-content {
        max-width: 95%;
        padding: 25px 30px;
    }

    .clients-container,
    .contact-container,
    .careers-container {
        padding: 30px 20px;
    }

    .clients-title,
    .contact-title,
    .careers-title {
        font-size: 38px;
        margin-bottom: 25px;
    }

    .clients-logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .client-logo-item {
        padding: 15px;
    }

    .client-logo-item img {
        max-width: 100%;
        height: auto;
    }

    .contact-main-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-map-section {
        height: 200px;
    }

    .contact-locations-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .location-card {
        padding: 14px 16px;
    }

    .contact-form-container {
        padding: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .careers-header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 30px;
    }

    .careers-header-info {
        align-items: flex-start;
        margin-top: 15px;
    }

    .careers-layout {
        flex-direction: column !important;
        height: auto !important;
        min-height: calc(100vh - 120px) !important;
        gap: 20px !important;
    }

    .careers-departments {
        width: 100% !important;
        max-height: 120px !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        padding-bottom: 10px !important;
        gap: 10px !important;
    }

    .careers-department-tab {
        min-width: 160px !important;
        flex-shrink: 0 !important;
        padding: 12px 16px !important;
    }

    .department-tab-header {
        font-size: 14px !important;
    }

    .careers-jobs {
        width: 100% !important;
        max-height: 200px !important;
        overflow-y: auto !important;
    }

    .careers-jobs-list {
        flex-direction: column !important;
        gap: 8px !important;
    }

    .careers-job-tab {
        width: 100% !important;
        min-width: 100% !important;
        padding: 12px 16px !important;
    }

    .job-tab-title {
        font-size: 13px !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
        width: 100% !important;
        display: block !important;
    }

    .careers-details {
        width: 100% !important;
    }

    .careers-job-title {
        font-size: 18px !important;
    }

    .careers-apply-btn {
        width: 100% !important;
        margin-top: 15px !important;
    }

    .careers-details-content {
        padding: 20px !important;
    }

    .scope-content {
        font-size: 13px !important;
    }

    .scope-title {
        font-size: 16px !important;
    }
}

/* Small Mobile (max-width: 480px) - Enhanced */
@media screen and (max-width: 480px) {
    /* Mobile menu toggle - smaller */
    .mobile-menu-toggle {
        width: 45px;
        height: 45px;
        top: 15px;
        left: 15px;
    }

    .mobile-menu-toggle span {
        width: 22px;
        height: 2px;
        margin: 4px 0;
        border: 1px solid #fff;
    }

    /* Left nav - slightly narrower */
    .left-nav {
        width: 260px;
        padding: 25px 20px;
    }

    /* Right content - full width with padding */
    .right-content {
        width: 95%;
        padding: 15px;
    }

    /* Main heading - smaller */
    .main-heading .line1 {
        font-size: 18px;
    }

    .main-heading .line2 {
        font-size: 32px;
    }

    .description {
        font-size: 12px;
    }

    /* Slide top section - reduced padding */
    .slide-top-section {
        padding: 25px 20px;
        flex: 0 0 45%;
    }

    .slide-top-title {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .slide-top-description {
        font-size: 11px;
        margin-bottom: 12px;
    }

    .slide-more-button {
        padding: 6px 18px;
        font-size: 11px;
    }

    /* Slide bottom section */
    .slide-bottom-section {
        flex: 0 0 55%;
        min-height: 55vh;
    }

    .slide-bottom-overlay {
        padding: 25px 20px;
    }

    .slide-bottom-text-arabic {
        font-size: 26px;
        margin-bottom: 8px;
    }

    .slide-bottom-text-english {
        font-size: 16px;
    }

    /* About slide - extra small adjustments */
    .about-content {
        top: 6% !important;
        width: 95% !important;
    }

    .about-image {
        max-width: 450px;
    }

    .about-image img {
        max-width: 450px !important;
    }

    /* Center graphic - smaller */
    .center-graphic {
        width: 90vw;
        max-width: 580px;
        height: 45vh;
        max-height: 580px;
    }
    .swiper-slide-active .center-graphic {
        left: 50% !important;
        top: 40% !important;
        transform: translate(-50%, -50%) !important;
    }

    .number-nine {
        font-size: clamp(120px, 40vw, 240px);
    }

    /* Swiper navigation - smaller buttons */
    .timeline .swiper-button-prev,
    .timeline .swiper-button-next {
        width: 36px;
        height: 36px;
        background-size: 20px 20px;
    }

    .timeline .swiper-button-prev {
        top: 12px;
    }

    .timeline .swiper-button-next {
        bottom: 12px;
    }

    /* Social icons - smaller */
    .social-icon {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    /* Projects, Clients, Contact, Careers - Small mobile adjustments */
    .projects-owl-item {
        padding: 25px 15px;
    }

    .projects-title-content {
        padding: 20px 25px;
        max-width: 98%;
    }

    .clients-container,
    .contact-container,
    .careers-container {
        padding: 25px 15px;
    }

    .clients-title,
    .contact-title,
    .careers-title {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .clients-logos-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .contact-map-section {
        height: 180px;
    }

    .location-card {
        padding: 12px 14px;
    }

    .careers-departments {
        max-height: 100px !important;
        gap: 8px !important;
    }

    .careers-department-tab {
        min-width: 140px !important;
        padding: 10px 14px !important;
    }

    .department-tab-header {
        font-size: 12px !important;
    }

    .careers-jobs {
        max-height: 180px !important;
    }

    .careers-job-title {
        font-size: 16px !important;
    }

    .careers-details-content {
        padding: 15px !important;
    }
}

/* ============================================
   CAREERS CAROUSEL - MOBILE RESPONSIVE (max-width: 1024px)
   ============================================ */
/* Careers Mobile Layout - Apply up to 1024px (horizontal tabs, scrollable jobs & description) */
@media screen and (max-width: 1024px) {
    /* Careers Departments Container - Mobile Layout */
    .careers-departments-container {
        padding: 30px 20px !important;
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }

    .careers-departments-with-jobs {
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 20px !important;
        height: auto !important;
        min-height: calc(100vh - 100px) !important;
        align-items: stretch !important;
    }

    /* Department Tabs - Horizontal Scrollable (X) - More readable and clear */
    .careers-departments-only {
        width: 100% !important;
        display: flex !important;
        flex-direction: row !important;
        gap: 12px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        padding-bottom: 15px !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: thin;
        scrollbar-color: rgba(78, 205, 196, 0.5) rgba(255, 255, 255, 0.1);
    }

    /* Custom scrollbar for department tabs */
    .careers-departments-only::-webkit-scrollbar {
        height: 4px;
    }

    .careers-departments-only::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 2px;
    }

    .careers-departments-only::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.3);
        border-radius: 2px;
    }

    .careers-departments-only::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 255, 255, 0.5);
    }

    /* Department Tab - Mobile Styling */
    .careers-departments-slide .careers-department-tab {
        min-width: 180px !important;
        max-width: 180px !important;
        flex-shrink: 0 !important;
        padding: 16px 18px !important;
        border-radius: 10px !important;
        border-left: 3px solid transparent !important;
    }

    .careers-departments-slide .careers-department-tab:hover {
        transform: translateY(-2px) !important;
        translatex: 0 !important;
    }

    .careers-departments-slide .department-tab-header {
        font-size: 15px !important;
        line-height: 1.3 !important;
    }

    .department-tab-badge {
        font-size: 12px !important;
        padding: 4px 10px !important;
        min-width: 28px !important;
    }

    /* Jobs Layout - Stack Vertically on Mobile */
    .careers-jobs-layout {
        flex-direction: column !important;
        width: 100% !important;
        gap: 20px !important;
        align-items: stretch !important;
        min-height: 0 !important;
    }

    /* Jobs List - Full Width, Scrollable */
    .careers-jobs {
        width: 100% !important;
        max-height: 200px !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        padding-right: 10px !important;
        padding-bottom: 10px !important;
    }

    .careers-jobs-list {
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .careers-job-tab {
        width: 100% !important;
        min-width: 100% !important;
        padding: 14px 16px !important;
        border-radius: 10px !important;
    }

    .careers-job-tab:hover {
        transform: translateY(-2px) !important;
        translatex: 0 !important;
    }

    .job-tab-title {
        font-size: 13px !important;
        line-height: 1.4 !important;
    }

    /* Job Details - Full Width, Scrollable */
    .careers-details {
        width: 100% !important;
        max-height: calc(100vh - 450px) !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
    }

    .careers-details-content {
        padding: 20px !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
        overflow: hidden !important;
    }

    .careers-job-title {
        font-size: 20px !important;
        margin-bottom: 15px !important;
        flex-shrink: 0 !important;
    }

    .careers-apply-btn {
        width: 100% !important;
        padding: 12px 24px !important;
        font-size: 14px !important;
        margin-top: 15px !important;
        flex-shrink: 0 !important;
    }

    /* Job Scope - Scrollable */
    .careers-job-scope {
        flex: 1 !important;
        overflow: hidden !important;
        display: flex !important;
        flex-direction: column !important;
        min-height: 0 !important;
        max-height: calc(100vh - 500px) !important;
    }

    .scope-title {
        font-size: 16px !important;
        margin-bottom: 12px !important;
        flex-shrink: 0 !important;
    }

    .scope-content {
        font-size: 13px !important;
        line-height: 1.6 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        max-height: calc(100vh - 550px) !important;
        padding-right: 10px !important;
        flex: 1 !important;
        min-height: 0 !important;
    }

    /* Careers Title Slide - Mobile */
    .careers-title-slide {
        padding: 20px !important;
    }

    .careers-title-content {
        padding: 20px !important;
    }

    .careers-main-title {
        font-size: 48px !important;
        margin-bottom: 30px !important;
    }

    .careers-swipe-indicator {
        gap: 10px !important;
        padding: 10px 20px !important;
        font-size: 12px !important;
    }

    /* Navigation Arrows - Smaller on Mobile */
    .careers-owl-carousel .owl-nav {
        padding: 0 15px !important;
    }

    .careers-owl-carousel .owl-nav button {
        width: 50px !important;
        height: 50px !important;
        font-size: 24px !important;
        background: rgba(78, 205, 196, 0.15) !important;
        border: 2px solid rgba(78, 205, 196, 0.5) !important;
        color: #4ecdc4 !important;
    }

    .careers-owl-carousel .owl-nav button.owl-prev {
        left: 15px !important;
    }

    .careers-owl-carousel .owl-nav button.owl-next {
        right: 15px !important;
    }
}

/* Small Mobile (max-width: 480px) - Careers Adjustments */
@media screen and (max-width: 480px) {
    .careers-departments-container {
        padding: 20px 15px !important;
    }

    .careers-departments-only {
        gap: 10px !important;
    }

    .careers-departments-slide .careers-department-tab {
        min-width: 160px !important;
        max-width: 160px !important;
        padding: 14px 16px !important;
    }

    .careers-departments-slide .department-tab-header {
        font-size: 13px !important;
    }

    .department-tab-badge {
        font-size: 11px !important;
        padding: 3px 8px !important;
        min-width: 24px !important;
    }

    .careers-jobs {
        max-height: 180px !important;
    }

    .careers-job-tab {
        padding: 12px 14px !important;
    }

    .job-tab-title {
        font-size: 12px !important;
    }

    .careers-details {
        max-height: calc(100vh - 400px) !important;
    }

    .careers-details-content {
        padding: 15px !important;
    }

    .careers-job-title {
        font-size: 18px !important;
    }

    .scope-title {
        font-size: 14px !important;
    }

    .scope-content {
        font-size: 12px !important;
    }

    .careers-main-title {
        font-size: 40px !important;
    }

    .careers-owl-carousel .owl-nav button {
        width: 45px !important;
        height: 45px !important;
        font-size: 20px !important;
    }
}

/* Tablet View (1025px to 1440px) - Improved tablet experience */
/* Desktop Font Size Adjustments (1025px - 1440px) */
@media screen and (min-width: 1025px) and (max-width: 1440px) {
    /* Hide mobile menu toggle on tablet */
    .mobile-menu-toggle {
        display: none !important;
    }

    /* Reduce font sizes for medium desktop screens */
    .main-heading .line1 {
        font-size: 30px; /* Reduced from 36px */
    }

    .main-heading .line2 {
        font-size: 54px; /* Reduced from 64px */
    }

    .description {
        font-size: 14px; /* Reduced from 16px */
    }

    .slide-top-title {
        font-size: 60px; /* Reduced from 72px */
    }

    .slide-bottom-text-arabic {
        font-size: 54px; /* Reduced from 64px */
    }

    .slide-bottom-text-english {
        font-size: 30px; /* Reduced from 36px */
    }

    .projects-main-title {
        font-size: 56px; /* Reduced from 64px */
    }

    .clients-main-title {
        font-size: 70px; /* Reduced from 80px */
    }

    .careers-main-title {
        font-size: 70px; /* Reduced from 80px */
    }

    .about-team-slide h1 {
        font-size: 100px; /* Reduced proportionally */
    }

    .nav-menu li a {
        font-size: 13px; /* Slightly reduced */
    }

    .nav-menu li.active > a {
        font-size: 16px; /* Same as inactive */
    }

    .logo-text {
        font-size: 24px; /* Slightly reduced */
    }

    /* Ensure mobile overlay is hidden */
    .mobile-menu-overlay {
        display: none !important;
    }

    /* Navigation - slightly reduced but still visible */
    .left-nav {
        display: flex !important;
        position: fixed !important;
        width: 300px;
        padding: 45px 35px 0px 0px;
        left: 30px;
    }

    .logo {
        margin-bottom: 60px;
        padding-bottom: 25px;
    }

    .logo-text {
        font-size: 26px;
    }

    .logo-text .number {
        width: 30px;
        height: 30px;
        font-size: 17px;
    }

    .nav-menu li a {
        font-size: 15.5px;
        padding: 11px 15px;
    }

    .nav-menu li.active > a {
        font-size: 16px; /* Same as inactive */
    }

    /* Slider container adjustments */
    .slider-container {
        margin-left: 0px;
        width: calc(100vw - 0px);
    }

    .active-margin .slider-container {
        margin-left: 300px;
        width: calc(100vw - 300px);
    }

    /* Right content adjustments */
    .right-content {
        right: 80px;
        width: 450px;
    }

    /* Slide top section - optimized for tablet */
    .slide-top-section {
        padding: 55px 10px;
    }

    .slide-top-title {
        font-size: 40px;
        max-width: 52%;
    }

    .slide-top-content {
        max-width: 480px;
    }

    .slide-bottom-overlay {
        padding: 55px 70px;
    }

    .slide-bottom-text-arabic {
        font-size: 56px;
    }

    .slide-bottom-text-english {
        font-size: 32px;
    }

    /* About slide adjustments */
    .about-content {
        top: 2% !important;
    }

    .center-graphic iframe {
        width: 65% !important;
    }

    .about-image img {
        width: 363px !important;
        max-width: 480px !important;
    }

    .center-graphic {
        width: 65vw;
        max-width: 900px;
        height: 75vh;
        max-height: 750px;
    }

    /* Main heading adjustments */
    .main-heading .line1 {
        font-size: 34px;
    }

    .main-heading .line2 {
        font-size: 60px;
    }

    /* Projects, Clients, Contact, Careers - Tablet optimizations */
    .projects-owl-item {
        padding: 55px 70px;
    }

    .projects-title-content {
        max-width: 88%;
        padding: 35px 45px;
    }

    .clients-container,
    .contact-container,
    .careers-container {
        padding: 55px 70px;
    }

    .clients-title,
    .contact-title,
    .careers-title {
        font-size: 40px;
    }

    .clients-logos-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 22px;
    }

    .contact-main-grid {
        grid-template-columns: 1.1fr 1fr;
        gap: 22px;
    }

    .contact-map-section {
        height: 220px;
    }

    .contact-locations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .careers-layout {
        gap: 35px;
    }

    .careers-departments {
        width: 260px;
    }
}

/* Small Mobile - Final adjustments */
@media screen and (max-width: 480px) {
    /* Projects Carousel - Small mobile */
    .projects-owl-item {
        padding: 25px 15px;
    }

    .projects-title-content {
        padding: 20px 25px;
        max-width: 98%;
    }

    /* Clients Slide - Small mobile */
    .clients-container {
        padding: 25px 15px;
    }

    .clients-title {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .clients-logos-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* Contact Slide - Small mobile */
    .contact-container {
        padding: 25px 15px;
    }

    .contact-title {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .contact-map-section {
        height: 180px;
    }

    .location-card {
        padding: 12px 14px;
    }

    /* Careers Slide - Small mobile */
    .careers-container {
        padding: 25px 15px;
    }

    .careers-title {
        font-size: 32px;
    }

    .careers-departments {
        max-height: 100px !important;
        gap: 8px !important;
    }

    .careers-department-tab {
        min-width: 140px !important;
        padding: 10px 14px !important;
    }

    .department-tab-header {
        font-size: 12px !important;
    }

    .careers-jobs {
        max-height: 180px !important;
    }

    .careers-job-title {
        font-size: 16px !important;
    }

    .careers-details-content {
        padding: 15px !important;
    }
}

/* ============================================
   DESKTOP PROTECTION (1025px and above)
   All mobile changes are scoped below 1024px
   Desktop remains completely unchanged
   ============================================ */

/* Desktop View (1025px and above) - Protected, unchanged */
@media screen and (min-width: 1025px) {
    /* Desktop protection - ensure mobile menu toggle is hidden */
    .mobile-menu-toggle {
        display: none !important;
    }

    /* Ensure left nav is visible on desktop with original styling */
    .left-nav {
        display: flex !important;
        left: 80px !important;
        width: 320px !important;
        padding: 50px 40px !important;
        position: fixed !important;
    }

    /* Ensure mobile overlay is hidden */
    .mobile-menu-overlay {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }

    /* Ensure desktop slider container margins */
    .slider-container {
        margin-left: 0px !important;
        width: calc(100vw - 0px) !important;
    }

    .active-margin .slider-container {
        margin-left: 400px !important;
        width: calc(100vw - 400px) !important;
    }
    .careers-departments-slide .department-tab-header{
        font-size: 11px !important;
    }
    .job-tab-title {
        font-size: 9px !important;
    }

    .careers-details-content {
        padding: 11px !important;
    }

    /* Ensure scroll arrows are hidden on desktop */
    .scroll-arrow {
        display: none !important;
    }

    /* Protect desktop careers layout - revert to original */
    .careers-departments-with-jobs {
        flex-direction: row !important;
        width: 100% !important;
        max-width: 1400px !important;
        gap: 40px !important;
        align-items: flex-start !important;
        height: calc(100vh - 120px) !important;
    }

    .careers-departments-only {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        width: 265px !important;
        flex-shrink: 0 !important;
        overflow-x: visible !important;
        overflow-y: visible !important;
    }
    .department-tab-badge{
        font-size: 11px !important;
    }

    .careers-jobs-layout {
        display: flex !important;
        flex-direction: row !important;
        width: 100% !important;
        gap: 20px !important;
    }

    .careers-jobs {
        width: 280px;
        max-height: none !important;
        overflow-y: visible !important;
    }

    .careers-details {
        width: 100% !important;
        max-height: none !important;
        overflow-y: visible !important;
    }

    .careers-job-scope {
        max-height: none !important;
        overflow-y: visible !important;
    }

    .scope-content {
        max-height: none !important;
        overflow-y: visible !important;
    }
}
