/* FA-Formed Styles - Matching Figma Design Exactly */

/* Fonts - Neue Haas Grotesk Display Pro */
@font-face {
    font-family: 'Neue Haas Grotesk Display Pro';
    src: url('../font/neue-haas-grotesk-display-pro-cufonfonts/NeueHaasDisplayXXThin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Haas Grotesk Display Pro';
    src: url('../font/neue-haas-grotesk-display-pro-cufonfonts/NeueHaasDisplayXXThinItalic.ttf') format('truetype');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Haas Grotesk Display Pro';
    src: url('../font/neue-haas-grotesk-display-pro-cufonfonts/NeueHaasDisplayXThin.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Haas Grotesk Display Pro';
    src: url('../font/neue-haas-grotesk-display-pro-cufonfonts/NeueHaasDisplayXThinItalic.ttf') format('truetype');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Haas Grotesk Display Pro';
    src: url('../font/neue-haas-grotesk-display-pro-cufonfonts/NeueHaasDisplayThin.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Haas Grotesk Display Pro';
    src: url('../font/neue-haas-grotesk-display-pro-cufonfonts/NeueHaasDisplayThinItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Haas Grotesk Display Pro';
    src: url('../font/neue-haas-grotesk-display-pro-cufonfonts/NeueHaasDisplayLight.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Haas Grotesk Display Pro';
    src: url('../font/neue-haas-grotesk-display-pro-cufonfonts/NeueHaasDisplayLightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Haas Grotesk Display Pro';
    src: url('../font/neue-haas-grotesk-display-pro-cufonfonts/NeueHaasDisplayRoman.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Haas Grotesk Display Pro';
    src: url('../font/neue-haas-grotesk-display-pro-cufonfonts/NeueHaasDisplayRomanItalic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Haas Grotesk Display Pro';
    src: url('../font/neue-haas-grotesk-display-pro-cufonfonts/NeueHaasDisplayMediu.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Haas Grotesk Display Pro';
    src: url('../font/neue-haas-grotesk-display-pro-cufonfonts/NeueHaasDisplayMediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Haas Grotesk Display Pro';
    src: url('../font/neue-haas-grotesk-display-pro-cufonfonts/NeueHaasDisplayBold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Haas Grotesk Display Pro';
    src: url('../font/neue-haas-grotesk-display-pro-cufonfonts/NeueHaasDisplayBoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Haas Grotesk Display Pro';
    src: url('../font/neue-haas-grotesk-display-pro-cufonfonts/NeueHaasDisplayBlack.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Haas Grotesk Display Pro';
    src: url('../font/neue-haas-grotesk-display-pro-cufonfonts/NeueHaasDisplayBlackItalic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

/* Import Raleway for specific sections that use it */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;500&display=swap');

:root {
    --dark-bg: #1C1B1A;
    --white: #FFFFFF;
    --black: #000000;
    --brown-dark: #312A18;
    --brown-medium: #453C32;
    --brown-light: rgba(98, 44, 12, 0.35);
    --gray-light: rgba(255, 255, 255, 0.8);
    --gray-medium: #D9D9D9;
}

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

html {
    scroll-behavior: smooth;
    overflow-y: scroll;
}

body {
    font-family: 'Neue Haas Grotesk Display Pro', 'Arial', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.5;
    color: var(--black);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.container-fluid {
    padding-left: 0;
    padding-right: 0;

}
/* Background Pattern - Creating a subtle texture pattern */
@keyframes backgroundMove {
    0% { background-position: 0 0; }
    100% { background-position: 100px 100px; }
}

/* Home Page Styles */
.home-page {
    background-color: var(--dark-bg);
    background-image: 
        radial-gradient(circle, rgba(255, 255, 255, 0.1) 2px, transparent 2px);
    background-size: 20px 20px;
    color: var(--white);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    overflow-y: hidden;
    height: 100vh;
}

/* Navigation */
.navbar-custom {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 39px 50px;
    background: transparent;
    backdrop-filter: blur(0px);
}

/* Desktop navbar remains transparent - white background only on mobile */

/* Dark background navbar for pages with dark background */
.home-page .navbar-custom,
.work-page .navbar-custom,
.about-page .navbar-custom,
.contact-page .navbar-custom {
    background: transparent;
}

.nav-links {
    display: flex;
    gap: 50px;
    align-items: center;
}

.nav-link-custom {
    font-family: 'Neue Haas Grotesk Display Pro', 'Arial', sans-serif;
    font-weight: 400;
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: 1.128;
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s ease;
    
}

.nav-link-custom:hover,
.nav-link-custom.active {
    opacity: 0.8;
}

.navbar-custom-dark {
    background: transparent;
}

.nav-link-dark {
    color: var(--black) !important;
}

/* About page navigation - white text on dark background */
.about-page .nav-link-dark {
    color: var(--white) !important;
}

/* Contact page navigation - white text on dark background */
.contact-page .nav-link-dark {
    color: var(--white) !important;
}

/* Home Main Content */
.home-main {
    display: flex;
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Left Fixed Content */
.home-content-fixed {
    position: fixed;
    left: 0;
    top: 0;
    width: 50%;
    height: 100vh;
    padding: 120px 0 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    z-index: 2;
    overflow: visible;
    min-height: 100vh;
}

/* Ensure text content stays above background but below images */
.home-text {
    padding: 80px 0px 200px 50px;
    box-sizing: border-box;
    position: relative;
    z-index: 3;
    margin-bottom: 0;
}


.home-heading {
    font-family: 'Neue Haas Grotesk Display Pro', 'Arial', sans-serif;
    font-weight: 400;
    font-size: clamp(28px, 4vw, 37.19148635864258px);
    line-height: 1.2561691979865686em;
    color: var(--white);
    margin-bottom: clamp(18px, 2vh, 23px);
    
}

.home-description {
    font-family: 'Neue Haas Grotesk Display Pro', 'Arial', sans-serif;
    font-weight: 400;
    font-size: clamp(13px, 1.2vw, 16px);
    line-height: 1.143999989827474em;
    color: var(--white);
    max-width: 362px;
}

/* Large Formed Logo */
.home-logo-large {
    position: fixed;
    bottom: 20px;
    left: 0;
    width: 99vw;
    padding: 0 50px;
    padding-bottom: 0;
    box-sizing: border-box;
    z-index: 0;
    margin: 0;
    display: block;
    overflow: visible;
    pointer-events: none;
    visibility: visible;
    opacity: 1;
}

.formed-logo-img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
    object-fit: contain;
    object-position: bottom;
}

.formed-logo-img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
}

/* Right Scrollable Images Section */
.home-images-scrollable {
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
    overflow-y: scroll;
    overflow-x: hidden;
    z-index: 5;
    scroll-behavior: smooth;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
    pointer-events: auto;
}

/* Start images below viewport - they'll scroll up into view */
.home-images-scrollable::before {
    content: '';
    display: block;
    height: 100vh;
    flex-shrink: 0;
    width: 100%;
}

/* Ensure images container has enough content to scroll */
.home-images-scrollable::after {
    content: '';
    display: block;
    height: 100vh;
    flex-shrink: 0;
    width: 100%;
}

.home-images-scrollable::-webkit-scrollbar {
    width: 4px;
}

.home-images-scrollable::-webkit-scrollbar-track {
    background: transparent;
}

.home-images-scrollable::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.home-image-group {
    width: 100%;
    margin-left: auto;
    max-width: 723px;
    min-height: 415px;
    height: 415px;
    overflow: hidden;
    flex-shrink: 0;
    padding-left: 50px;
    padding-right: 20px;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(100px);
    /* transition: opacity 0.8s ease-out, transform 0.8s ease-out; */
}

.home-img {
    width: 100%;
    height: 100%;
    max-height: 415px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

/* Our Work Page */
.work-page {
    background-color: var(--dark-bg);
    background-image: 
        radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    color: var(--white);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    overflow-y: hidden;
    height: 100vh;
}

/* Mobile Work Page - Allow scrolling */
@media (max-width: 768px) {
    .work-page {
        height: auto;
        min-height: 100vh;
        overflow-y: auto;
        overflow-x: hidden;
        background-attachment: fixed;
    }
}

.work-content {
    padding: 120px 47px;
    padding-right: 0px;
    max-width: 50%;
    width: 50%;
    margin: 0;
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 2;
    box-sizing: border-box;
}

.work-title {
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.1740000247955322em;
    color: var(--white);
    margin-bottom: clamp(20px, 3vh, 30px);
    
}

.work-sectors {
    display: flex;
    gap: 61px;
    margin-bottom: 32px;
    align-items: flex-start;
}

.sectors-list {
    width: 233px;
}

.sectors-title {
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    font-size: clamp(13px, 1.2vw, 15px);
    line-height: 1.174000040690104em;
    color: var(--white);
    margin-bottom: 10px;
    letter-spacing: 0.01em;
}

.sectors-description {
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    font-size: clamp(13px, 1.2vw, 15px);
    line-height: 1.174000040690104em;
    color: var(--white);
    width: 390px;
    letter-spacing: 0.01em;
}

.sectors-items {
    font-family: 'Neue Haas Grotesk Display Pro', 'Arial', sans-serif;
    font-weight: 400;
    font-size: 17.522762298583984px;
    line-height: 1.483784323325613em;
    color: var(--gray-light);
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
}

.sectors-items li {
    margin-bottom: 8px;
    font-size: 22px;    
    cursor: pointer;
    transition: color 0.3s ease;
}

.sectors-items li.sector-active {
    color: var(--white);
    font-weight: 500;
}

.work-images {
    position: fixed;
    right: 0;
    top: 0;
    width: 50%;
    height: 100vh;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
    overflow-y: scroll;
    overflow-x: hidden;
    z-index: 5;
    scroll-behavior: smooth;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
    pointer-events: auto;
}

/* Ensure images container has enough content to scroll */
.work-images::after {
    content: '';
    display: block;
    height: 50px;
    flex-shrink: 0;
    width: 100%;
}

.home-image-group-link {
    text-decoration: none;
    display: block;
    width: 100%;
}

.work-images .home-image-group {
    width: 100%;
    min-height: 415px;
    height: 415px;
    overflow: hidden;
    flex-shrink: 0;
    padding-left: 50px;
    padding-right: 20px;
    box-sizing: border-box;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    position: relative;
    cursor: pointer;
}

/* .work-images .home-image-group::after {
    content: '';
    position: absolute;
    top: 0;
    left: 44px;
    right: 50px;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 0.3s ease;
    pointer-events: none;
    z-index: 1;
    width: 100%;
} */

.work-images .home-image-group:hover::after {
    background-color: rgba(0, 0, 0, 0.2);
}

.work-images .home-image-group:hover .home-img {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

.work-image-title {
    font-family: 'Neue Haas Grotesk Display Pro', 'Arial', sans-serif;
    font-weight: 400;
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.144em;
    color: var(--white);
    
    padding: 14px 14px 0 14px;
}

/* Hover Text Overlay */
.image-hover-text {
    position: absolute;
    bottom: 0;
    left: 50px;
    right: 50px;
    padding: 30px;
    color: var(--white);
    font-family: 'Neue Haas Grotesk Display Pro', 'Arial', sans-serif;
    font-weight: 400;
    font-size: clamp(18px, 2.5vw, 24px);
    line-height: 1.2;
    z-index: 2;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.work-images .home-image-group:hover .image-hover-text {
    opacity: 1;
    transform: translateY(0);
}

.work-images::-webkit-scrollbar {
    width: 4px;
}

.work-images::-webkit-scrollbar-track {
    background: transparent;
}

.work-images::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

/* Work Page Formed Logo */
.work-logo-large {
    position: fixed;
    top: 24px;
    right: 50px;
    width: 132.65px;
    height: 31.1px;
    box-sizing: border-box;
    z-index: 10;
    margin: 0;
    display: block;
    overflow: visible;
    pointer-events: none;
    visibility: visible;
    opacity: 1;
}

/* Mobile Sector Header - Hidden on Desktop */
.mobile-sector-header {
    display: none;
}

.mobile-sector-separator {
    display: none;
}

.mobile-sector-title-wrapper {
    display: none;
}

/* Back to Top Button - Hidden on Desktop */
.back-to-top {
    display: none;
}

.work-logo-large .formed-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Project Detail Page */
.project-detail-page {
    background-color: var(--white);
    color: var(--black);
    position: relative;
    overflow-x: hidden;
    padding-top: 0;
    margin-top: 0;
}

.project-detail-wrapper {
    display: flex;
    padding-top: 0;
    margin-top: 0;
}

/* Left Column - Project Information */
.project-detail-content {
    width: 50%;
    padding: 120px 50px 0px 50px;
    background-color: var(--white);
    position: relative;
    box-sizing: border-box;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
}

.project-content-top {
    flex: 0 0 auto;
}

.project-content-bottom {
    flex: 0 0 auto;
    margin-top: auto;
}

.project-detail-logo {
    position: fixed;
    top: 39px;
    right: 50px;
    z-index: 10;
}

.formed-logo-black {
    height: 31px;
    width: auto;
}

/* Disabled prev/next arrows when no adjacent project */
.project-nav-arrow.disabled {
    cursor: default;
    pointer-events: none;
}

.project-title {
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.1740000247955322em;
    color: var(--black);
    margin-top: 0;
    margin-bottom: clamp(30px, 4vh, 50px);
    padding-top: 0;
    
}

.project-info {
    display: flex;
    gap: 78px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.project-info-labels,
.project-info-values {
    display: flex;
    flex-direction: column;
    gap: 1.4px;
}

.project-info-labels {
    width: 87px;
}

.project-info-values {
    width: 136px;
    padding-left: 9px;
}

.project-info-label {
    font-family: 'Neue Haas Grotesk Display Pro', 'Arial', sans-serif;
    font-weight: 400;
    font-size: clamp(13px, 1.2vw, 15px);
    line-height: 1.143999989827474em;
    color: var(--black);
    
}

.project-info-value {
    font-family: 'Neue Haas Grotesk Display Pro', 'Arial', sans-serif;
    font-weight: 300;
    font-size: clamp(13px, 1.2vw, 15px);
    line-height: 1.128000005086263em;
    color: var(--black);
    
}

/* Project Navigation Arrows */
.project-navigation {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.project-nav-arrow {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.project-nav-arrow:hover {
    opacity: 0.7;
}

.project-nav-icon {
    width: 28px;
    height: 30px;
    display: block;
    object-fit: contain;
}

.project-description {
    font-family: 'Neue Haas Grotesk Display Pro', 'Arial', sans-serif;
    font-weight: 400;
    font-size: clamp(13px, 1.2vw, 15px);
    line-height: 1.143999989827474em;
    color: var(--black);
    
}

/* Right Column - Image Gallery */
.project-images-gallery {
    width: 50%;
    background-color: var(--dark-bg);
    position: fixed;
    right: 12px;
    top: 130px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.project-main-image-container {
    position: relative;
    width: 100%;
    height: calc(100vh - 230px);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* Image Navigation Arrows */
.image-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgb(0 0 0 / 0%);
    border: none;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease;
    padding: 0;
}

.image-nav-arrow:hover {
    background-color: rgb(0 0 0 / 0%);
}

.image-nav-left {
    left: 20px;
}

.image-nav-right {
    right: 20px;
}
.image-nav-right img{
    width: 40px;
    height: 40px;
}

.image-nav-icon {
    width: 28px;
    height: 30px;
    display: block;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Make arrow white */
}

/* Thumbnail Gallery */
.project-thumbnails {
    display: flex;
    gap: 10px;
    padding-top: 10px;
    overflow-x: auto;
    height: 120px;
    background-color: var(--white);
    box-sizing: border-box;
}

.project-thumbnails::-webkit-scrollbar {
    height: 4px;
}

.project-thumbnails::-webkit-scrollbar-track {
    background: transparent;
}

.project-thumbnails::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.thumbnail-item {
    flex-shrink: 0;
    width: 120px;
    height: 80px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color 0.3s ease, opacity 0.3s ease;
    /* opacity: 0.6; */
}

.thumbnail-item:hover {
    opacity: 1;
}

.thumbnail-item.active {
    border-color: var(--white);
    opacity: 1;
}

.thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Work Images Link */
.home-image-group-link {
    text-decoration: none;
    display: block;
    width: 100%;
}

/* Our Services Page */
.services-page {
    background-color: var(--white);
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.02) 2px,
            rgba(0, 0, 0, 0.02) 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.02) 2px,
            rgba(0, 0, 0, 0.02) 4px
        );
    background-size: 100px 100px;
    animation: backgroundMove 20s linear infinite;
    color: var(--black);
    min-height: 100vh;
    height: 100vh;
    position: relative;
    overflow: hidden;
    overflow-x: hidden;
    width: 100%;
}

/* Formed Logo Top Right */
.services-logo-large {
    position: absolute;
    top: 23px;
    right: 50px;
    width: 132.65px;
    height: 31.1px;
    box-sizing: border-box;
    z-index: 10;
    margin: 0;
    display: block;
    overflow: visible;
    pointer-events: none;
    visibility: visible;
    opacity: 1;
}

.services-logo-large .formed-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Right Side Image Section */
.services-image-section {
    position: fixed;
    right: 0;
    top: 0;
    width: 50%;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
}

@media (min-width: 769px) {
    .services-image-section-mobile {
        display: none; /* Hide mobile image section on desktop */
    }
}

.services-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: rotate3d(0, 1, 0, 183deg);
}

.services-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--brown-dark);
    opacity: 0.6;
    z-index: 1;
}

/* Large Formed Logo on Right Side */
.services-formed-logo {
    width: 100%;
    pointer-events: none;
    visibility: visible;
    opacity: 1;
    padding-bottom: 20px;
}

.services-formed-logo .formed-logo-img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
    object-fit: contain;
    object-position: bottom left;
}

/* Main Content */
.services-content {
    padding: 130px 50px 0px 50px;
    width: 50%;
    height: 100vh;
    overflow-y: auto;
    z-index: 2;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.services-left {
    max-width: 100%;
    width: 100%;
    display: flex;
    gap: 34px;
    align-items: flex-start;
    justify-content: space-between;
}

.services-title-section {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.services-title {
    font-family: 'Neue Haas Grotesk Display Pro', 'Arial', sans-serif;
    font-weight: 300;
    font-size: clamp(24px, 4vw, 26px);
    line-height: 1.1440000534057617em;
    color: var(--black);
    margin-bottom: 13px;    
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.service-item {
    font-family: 'Neue Haas Grotesk Display Pro', 'Arial', sans-serif;
    font-weight: 300;
    font-size: clamp(18px, 2.5vw, 26px);
    line-height: 1.1280000393207257em;
    color: var(--black);
    
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.service-item:hover {
    opacity: 0.7;
}

.service-item.active {
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 5px;
}

.service-arrow {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: block;
}

.services-descriptions {
    display: flex;
    flex-direction: column;
    gap: 31px;
    max-width: 362px;
    flex: 1;
}

.service-description {
    font-family: 'Neue Haas Grotesk Display Pro', 'Arial', sans-serif;
    font-weight: 400;
    font-size: clamp(13px, 1.2vw, 15px);
    line-height: 1.143999989827474em;
    color: var(--black);
    
}

/* Our Team Page */
.team-page {
    background-color: var(--white);
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.02) 2px,
            rgba(0, 0, 0, 0.02) 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.02) 2px,
            rgba(0, 0, 0, 0.02) 4px
        );
    background-size: 100px 100px;
    animation: backgroundMove 20s linear infinite;
    color: var(--black);
    min-height: 100vh;
    height: 100vh;
    position: relative;
    overflow: hidden;
    overflow-x: hidden;
    width: 100%;
}
.team-content {
    padding: 120px 47px;
    width: 50%;
    overflow-y: auto;
    z-index: 2;
    box-sizing: border-box;
    padding-bottom: 100px;
    margin-top: 0;
}

.team-left {
    max-width: 652px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: calc(100vh - 143px);
}

.team-title {
    font-family: 'Neue Haas Grotesk Display Pro', 'Arial', sans-serif;
    font-weight: 400;
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.1440000534057617em;
    color: var(--black);
    margin-bottom: clamp(20px, 3vh, 30px);
    
}

.team-description {
    font-family: 'Neue Haas Grotesk Display Pro', 'Arial', sans-serif;
    font-weight: 400;
    font-size: clamp(13px, 1.2vw, 15px);
    line-height: 1.143999989827474em;
    color: var(--black);
    max-width: 362px;
    margin-bottom: auto;
    margin-left: 5px;
}

.team-main-image {
    width: 652px;
    height: 435px;
    object-fit: cover;
    display: block;
    max-width: 100%;
    margin-top: auto;
}

.team-right {
    position: fixed;
    right: 0;
    top: 0;
    width: 50%;
    height: 100vh;
    padding: 86px 50px 100px 50px;
    overflow-y: scroll;
    overflow-x: hidden;
    z-index: 2;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 20px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    pointer-events: auto;
}

/* Ensure team members container has enough content to scroll */
.team-right::after {
    content: '';
    display: block;
    height: 50px;
    flex-shrink: 0;
    width: 100%;
}

.team-right::-webkit-scrollbar {
    width: 4px;
}

.team-right::-webkit-scrollbar-track {
    background: transparent;
}

.team-right::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.team-member-item {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: 100%;
    flex-shrink: 0;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    position: relative;
    overflow: hidden;
}

.team-member-image {
    width: 100%;
    height: auto;
    max-width: 417px;
    max-height: 315px;
    object-fit: cover;
    display: block;
    margin-bottom: 0;
    transition: transform 0.3s ease;
    position: relative;
}

.team-member-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.team-member-item:hover .team-member-image::after {
    background-color: rgba(0, 0, 0, 0.2);
}

.team-member-item .team-member-info {
    margin-top: 7px;
}

.team-member-info {
    font-family: 'Neue Haas Grotesk Display Pro', 'Arial', sans-serif;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    width: 100%;
    max-width: 417px;
    position: relative;
    z-index: 10;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.team-member-name {
    font-family: 'Neue Haas Grotesk Display Pro', 'Arial', sans-serif;
    font-weight: 400;
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.2em;
    color: var(--black);
    
    margin-bottom: 4px;
    display: block;
}

.team-member-position {
    font-family: 'Neue Haas Grotesk Display Pro', 'Arial', sans-serif;
    font-weight: 400;
    font-size: clamp(13px, 1.2vw, 15px);
    line-height: 1.143999989827474em;
    color: #9E9E9E;
    
    margin-top: 0;
    display: block;
}

/* Ensure info text is always visible, not affected by hover */
.team-member-item:hover .team-member-info {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.team-background {
    position: fixed;
    right: 0;
    top: 0;
    width: 50%;
    height: 100vh;
    background-color: var(--brown-dark);
    z-index: 0;
}

/* About Page */
.about-page {
    background-color: var(--white);
    color: var(--white);
    min-height: 100vh;
    height: 100vh;
    position: relative;
    overflow: hidden;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Formed Logo Top Right */
.about-logo-large {
    position: absolute;
    top: 23px;
    right: 50px;
    width: 132.65px;
    height: 31.1px;
    box-sizing: border-box;
    z-index: 10;
    margin: 0;
    display: block;
    overflow: visible;
    pointer-events: none;
    visibility: visible;
    opacity: 1;
}

.about-logo-large .formed-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Team Page Logo */
.team-logo-large {
    position: absolute;
    top: 24px;
    right: 50px;
    width: 133px;
    height: 32px;
    box-sizing: border-box;
    z-index: 10;
    margin: 0;
    display: block;
    overflow: visible;
    pointer-events: none;
    visibility: visible;
    opacity: 1;
}

.team-logo-large .formed-logo-black {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Right Side Image Carousel */
.about-image-carousel {
    position: absolute;
    left: 50%;
    top: 0;
    width: 50%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.about-carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.about-carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 3s ease-in-out;
}

.about-carousel-image.active,
.about-carousel-image:first-child {
    opacity: 1;
}

.about-overlay {
    position: absolute;
    left: 50%;
    top: 0;
    width: 50%;
    height: 100%;
    background: rgba(98, 44, 12, 0.35);
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.03) 2px,
            rgba(255, 255, 255, 0.03) 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.03) 2px,
            rgba(255, 255, 255, 0.03) 4px
        );
    background-size: 100px 100px;
    animation: backgroundMove 20s linear infinite;
    z-index: 1;
}

.about-content {
    padding: 0;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
}

.about-sections {
    width: 50%;
    min-height: 100vh;
    background-color: #453C32 !important;
    padding: 150px 0 0 52px;
    box-sizing: border-box;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.about-section {
    width: 459px;
    max-width: calc(100% - 52px);
    box-sizing: border-box;
    margin-bottom: 0;
}


.about-section-title {
    font-family: 'Neue Haas Grotesk Display Pro', 'Arial', sans-serif;
    font-weight: 400;
    font-size: clamp(28px, 4.5vw, 40px);
    line-height: 1.1440000534057617em;
    color: var(--white);
    margin-bottom: clamp(10px, 1.5vh, 14px);
    
}

.about-section-description {
    font-family: 'Neue Haas Grotesk Display Pro', 'Arial', sans-serif;
    font-weight: 400;
    font-size: clamp(13px, 1.2vw, 15px);
    line-height: 1.143999989827474em;
    color: var(--white);
    margin-bottom: 44px;
}

/* Contact Page */
.contact-page {
    background-color: var(--white);
    color: var(--black);
    min-height: 100vh;
    height: 100vh;
    position: relative;
    overflow: hidden;
    overflow-x: hidden;
    width: 100%;
}

/* Formed Logo Top Right */
.contact-logo-large {
    position: absolute;
    top: 23px;
    right: 50px;
    width: 132.65px;
    height: 31.1px;
    box-sizing: border-box;
    z-index: 10;
    margin: 0;
    display: block;
    overflow: visible;
    pointer-events: none;
    visibility: visible;
    opacity: 1;
}

.contact-logo-large .formed-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Left Side - Contact Info */
.contact-left {
    position: fixed;
    left: 0;
    top: 0;
    width: 50%;
    height: 100vh;
    background-color: #3B1B1A;
    background-image: 
        radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 1;
    overflow-y: auto;
    padding: 0;
}

.contact-left-content {
    padding: 120px 50px 50px 50px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: space-between;
    box-sizing: border-box;
}

.contact-top {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.contact-title {
    font-family: 'Neue Haas Grotesk Display Pro', 'Arial', sans-serif;
    font-weight: 400;
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.1440000534057617em;
    color: var(--white);
    margin-bottom: 0;
    
}

.contact-intro {
    font-family: 'Neue Haas Grotesk Display Pro', 'Arial', sans-serif;
    font-weight: 400;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.143999989827474em;
    color: var(--white);
    max-width: 600px;
    
    margin-bottom: clamp(40px, 5vh, 70px);
}

.contact-bottom-sections {
    display: flex;
    gap: 80px;
    align-items: flex-start;
    margin-top: auto;
}

.contact-section-title {
    font-family: 'Neue Haas Grotesk Display Pro', 'Arial', sans-serif;
    font-weight: 400;
    font-size: clamp(13px, 1.2vw, 15px);
    line-height: 1.143999989827474em;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: clamp(15px, 2vh, 20px);
}

.contact-details-section,
.follow-us-section {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-detail-item {
    font-family: 'Neue Haas Grotesk Display Pro', 'Arial', sans-serif;
    font-weight: 400;
    font-size: clamp(13px, 1.2vw, 15px);
    line-height: 1.143999989827474em;
    color: var(--white);
    margin: 0;
}

.contact-detail-item a{
    font-family: 'Neue Haas Grotesk Display Pro', 'Arial', sans-serif;
    font-weight: 400;
    font-size: clamp(13px, 1.2vw, 15px);
    line-height: 1.143999989827474em;
    color: var(--white);
    margin: 0;
    text-decoration: none
}


.follow-us-links {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.follow-us-link {
    font-family: 'Neue Haas Grotesk Display Pro', 'Arial', sans-serif;
    font-weight: 400;
    font-size: clamp(13px, 1.2vw, 15px);
    line-height: 1.143999989827474em;
    color: var(--white);
    text-decoration: underline;
    
    transition: opacity 0.3s ease;
}

.follow-us-link:hover {
    opacity: 0.7;
}

/* Right Side - Contact Form */
.contact-content {
    position: fixed;
    right: 0;
    top: 0;
    width: 50%;
    height: 100vh;
    background-color: #F5F5F5;
    padding: 120px 50px 50px 50px;
    overflow-y: auto;
    z-index: 2;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.contact-form-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: flex-end;
    padding-bottom: 10px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-form-title {
    font-family: 'Neue Haas Grotesk Display Pro', 'Arial', sans-serif;
    font-weight: 400;
    font-size: clamp(18px, 1.2vw, 20px);
    line-height: 1.143999989827474em;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: clamp(25px, 3vh, 40px);
    margin-top: 0;
}

.contact-form .form-group {
    margin-bottom: 10px;
    position: relative;
}

.contact-form .form-group:last-of-type {
    margin-bottom: 0;
}

.contact-form label {
    font-family: 'Neue Haas Grotesk Display Pro', 'Arial', sans-serif;
    font-weight: 400;
    font-size: clamp(13px, 1.2vw, 15px);
    line-height: 1.143999989827474em;
    color: var(--black);
    display: none;
    margin-bottom: 8px;
    
}

.contact-form .form-control {
    width: 100%;
    padding: 8px 0;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid #00000099;
    background-color: transparent;
    font-family: 'Neue Haas Grotesk Display Pro', 'Arial', sans-serif;
    font-size: clamp(13px, 1.2vw, 15px);
    color: var(--black);
    
    outline: none;
}

.contact-form .form-control::placeholder {
    color: #999999;
    opacity: 1;
}

.contact-form .form-control:focus {
    border-bottom-color: var(--black);
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    font-family: 'Neue Haas Grotesk Display Pro', 'Arial', sans-serif;
    font-weight: 400;
    font-size: 30px;
    padding: 0;
    background-color: transparent;
    color: var(--black);
    border: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    align-self: flex-end;
}
.btn-submit-contact {
    margin-top: 20px;
}
.btn-submit:hover {
    opacity: 0.7;
}

.submit-arrow {
    width: 24px;
    height: 24px;
    display: block;
}

/* Contact Success Page */
.success-message-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.success-text {
    font-family: 'Neue Haas Grotesk Display Pro', 'Arial', sans-serif;
    font-weight: 400;
    font-size: clamp(32px, 6vw, 60px);
    line-height: 1.2;
    color: #181818;
    margin-top: 140px;
}

.btn-back {
    font-family: 'Neue Haas Grotesk Display Pro', 'Arial', sans-serif;
    font-weight: 400;
    font-size: 15px;
    padding: 0;
    background-color: transparent;
    color: var(--black);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: opacity 0.3s ease;
    
    border: none;
    cursor: pointer;
    align-self: flex-end;
    margin-top: auto;
}

.btn-back:hover {
    opacity: 0.7;
    color: var(--black);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Responsive Design */
@media (max-width: 1440px) {
    .home-content-fixed {
        width: 55%;
    }
    
    .home-images-scrollable {
        width: 100%;
    }
    
    .home-logo-large {
        font-size: 150px;
    }
    
    .project-images {
        position: relative;
        margin-top: 40px;
        right: auto;
        top: auto;
    }
    
    .team-content,
    .services-content {
        flex-direction: column;
    }
}

@media (max-width: 1024px) {
    .team-content{
        padding: 100px 20px 40px 50px;
    }
    /* Work page responsive */
    .work-content {
        position: relative;
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: auto;
        padding: 100px 20px 40px 50px;
    }

    .work-sectors {
        flex-direction: column;
        gap: 20px;
    }
    
    .sectors-list {
        width: 100%;
    }

    .sectors-description {
        width: 100%;
    }

    .work-images {
        position: relative;
        width: 100%;
        height: auto;
        padding: 0 0 40px 0;
        gap: 24px;
        overflow: visible;
    }

    .work-images .home-image-group {
        padding: 0;
        min-height: auto;
        height: auto;
        margin-bottom: 24px;
        opacity: 1;
        transform: none;
    }

    .work-images .home-image-group::after {
        display: none;
    }

    .image-hover-text {
        position: static;
        opacity: 1;
        transform: none;
        padding: 14px 14px 0 14px;
    }

    .work-logo-large {
        display: none;
    }
}

/* Mobile Hamburger Menu */
.mobile-menu-toggle {
    display: none;
    align-items: center;
    gap: 10px;
        position: relative;
    z-index: 1001;
}

.hamburger-btn {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    justify-content: center;
    position: relative;
}

.hamburger-line {
    width: 18.6px;
    height: 2px;
    background-color: var(--white);
    transition: all 0.3s ease;
    display: block;
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Close button in menu overlay - same transform */
.close-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.close-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.close-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.menu-text {
    font-family: 'Neue Haas Grotesk Display Pro', 'Arial', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.143999989827474em;
    color: var(--white);
    text-transform: uppercase;
    margin-top: 3.5px;
}

.mobile-logo {
    display: none;
    position: absolute;
    top: 18px;
    right: 14px;
    z-index: 1001;
    align-items: center;
    justify-content: flex-end;
}

.mobile-logo-img {
    width: auto;
    height: 30px; /* Increased size to match previous text size */
    display: block;
    object-fit: contain;
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
        width: 100%;
    height: 100vh;
    background-color: #3B1B1A; /* Dark brown background matching contact page */
    /* background-image: 
        radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px); */
    background-size: 20px 20px;
    z-index: 9999; /* Very high z-index to be above all content */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

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

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* Mobile Menu Header */
.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 14px;
    position: relative;
    z-index: 1001;
}

.mobile-menu-close {
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-text {
    font-family: 'Neue Haas Grotesk Display Pro', 'Arial', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.143999989827474em;
    color: var(--white);
    text-transform: uppercase;
    
}

.close-btn .hamburger-line {
    background-color: var(--white);
}

.mobile-menu-logo {
    display: flex;
    align-items: center;
}

.mobile-menu-logo-img {
    width: auto;
    height: 30px;
    display: block;
    object-fit: contain;
    max-width: 120px;
}

/* Mobile Menu Content */
.mobile-menu-content {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: calc(100vh - 54px); /* Full height minus header */
    padding-bottom: 40px;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 60px 14px 40px 14px;
    flex: 1;
    justify-content: center;
}

.mobile-nav-link {
    font-family: 'Neue Haas Grotesk Display Pro', 'Arial', sans-serif;
    font-weight: 300;
    font-size: clamp(38px, 4vw, 24px);
    color: var(--white);
    text-decoration: none;
    
    transition: opacity 0.3s ease;
    margin-bottom: 20px;
    display: block;
}

.mobile-nav-link:last-child {
    margin-bottom: 0;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    opacity: 0.7;
}

/* Mobile Menu Footer */
.mobile-menu-footer {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 40px 14px;
}

.mobile-contact-details,
.mobile-follow-us {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-footer-title {
    font-family: 'Neue Haas Grotesk Display Pro', 'Arial', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.143999989827474em;
    color: #FFFFFFCC;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.mobile-contact-item {
    font-family: 'Neue Haas Grotesk Display Pro', 'Arial', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.143999989827474em;
    color: #FFFFFFCC;
    margin: 0;
}

.mobile-contact-item a{
    font-family: 'Neue Haas Grotesk Display Pro', 'Arial', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.143999989827474em;
    color: #FFFFFFCC;
    text-decoration: none;
}

.mobile-social-link {
    font-family: 'Neue Haas Grotesk Display Pro', 'Arial', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.143999989827474em;
    color: #FFFFFFCC;
    text-decoration: underline;
    
    transition: opacity 0.3s ease;
    display: block;
}

.mobile-social-link:last-child {
    margin-bottom: 0;
}

.mobile-social-link:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {
    /* Mobile Navigation */
    .navbar-custom {
        padding: 18px 14px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: auto;
        min-height: auto;
        box-sizing: border-box;
        background: transparent;
    }
    
    /* White background navbar for pages with white background on mobile */
    .project-detail-page .navbar-custom,
    .project-detail-page .navbar-custom-dark {
        background: var(--white);
    }
    
    .team-page .navbar-custom,
    .team-page .navbar-custom-dark {
        background: var(--white);
    }

    .navbar-custom .container-fluid {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        position: relative;
        padding-left: 0px;
    }


    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        position: relative;
        top: 0;
        left: 0;
        height: 20px; /* Match hamburger button height for alignment */
    }

    .mobile-logo {
        display: flex;
        align-items: center;
        position: absolute;
        top: 0px; /* Match navbar padding-top for vertical alignment with hamburger */
        right: 0px; /* Match navbar padding-right */
        height: 30px; /* Match logo image height */
    }
    
    .mobile-logo-img {
        height: 30px; /* Increased size */
        width: auto;
        max-width: 120px; /* Prevent logo from being too wide */
        object-fit: contain;
    }
    
    .nav-links {
        display: none;
    }

    .mobile-menu-overlay {
        display: block;
    }
    
    /* Ensure menu overlay is above everything when active */
    .mobile-menu-overlay.active {
        z-index: 9999;
    }
    
    /* Hide navbar when menu is open to prevent overlap */
    body.menu-open .navbar-custom {
        z-index: 9998; /* Below menu but above content */
    }
    
    /* Mobile Menu Header Styling */
    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 18px 14px;
    }
    
    .mobile-menu-close {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-top: -6px;
    }
    
    .mobile-menu-logo {
        display: flex;
        align-items: center;
    }
    
    /* Mobile Menu Content Layout */
    .mobile-menu-content {
        min-height: calc(100vh - 54px);
    }
    
    .mobile-nav-links {
        padding: 60px 14px 40px 14px;
    }
    
    /* Mobile Menu Footer - Side by Side on larger mobile */
    .mobile-menu-footer {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 40px;
    }
    
    .mobile-contact-details,
    .mobile-follow-us {
        flex: 1;
    }
    
    /* Stack footer on very small screens */
    @media (max-width: 480px) {
        .mobile-menu-footer {
            gap: 30px;
        }
    }

    /* Work page mobile stack */
    .work-content {
        padding-top: calc(54px + 40px); /* Navbar height (54px) + proper spacing (40px) = 94px total */
        padding-left: 14px;
        padding-right: 14px;
        padding-bottom: 20px;
        width: 100%;
        max-width: 100%;
        height: auto;
        position: relative;
        margin-top: 0;
    }

    .work-title {
        font-size: 36px;
        margin-bottom: 24px;
        display: none; /* Hide on mobile, show sector header instead */
    }
    
    .sectors-list {
        display: none; /* Hide sectors list on mobile */
    }

    .work-sectors {
        gap: 0;
        flex-direction: column;
        margin-bottom: 0;
    }

    .sectors-items {
        font-size: 17px;
    }

    .sectors-description {
        width: 100%;
        font-size: 15px;
        margin-top: 0;
        margin-bottom: 0;
        display: none; /* Hide desktop description on mobile */
    }
    
    /* Mobile Sector Header */
    .mobile-sector-header {
        display: block;
        margin-top: 0;
        margin-bottom: 0;
        padding: 0;
    }
    
    .mobile-sector-separator {
        width: 100%;
        height: 1px;
        background-color: rgba(255, 255, 255, 0.3);
        margin-bottom: 20px;
        margin-top: 20px; /* Spacing from content above */
    }
    
    .mobile-sector-title-wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin-bottom: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
        border-top: 1px solid rgba(255, 255, 255, 0.3);
        padding: 10px 0;
    }
    
    .mobile-sector-title {
        font-family: 'Neue Haas Grotesk Display Pro', 'Arial', sans-serif;
        font-weight: 400;
        font-size: 15px;
        line-height: 1.143999989827474em;
        color: var(--white);
        
    }
    
    .mobile-sector-arrow {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
        display: block;
        object-fit: contain;
        transition: transform 0.3s ease;
        cursor: pointer;
    }
    
    .mobile-sector-arrow.active {
        transform: rotate(180deg);
    }
    
    .mobile-sector-title-wrapper {
        cursor: pointer;
    }

    .mobile-sector-title-wrapper.dropdown-active {
        margin-bottom: 0;
        padding-bottom: 0;
    }
    
    /* Mobile Sector Dropdown */
    .mobile-sector-dropdown {
        display: none;
        flex-direction: column;
        background-color: transparent;
        margin-top: 0;
        margin-bottom: 20px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, margin-top 0.3s ease, margin-bottom 0.3s ease;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
        padding-bottom: 5px;
    }
    
    .mobile-sector-dropdown.active {
        display: flex;
        max-height: 500px;
        margin-top: 10px;
        margin-bottom: 20px;
    }
    
    .mobile-sector-option {
        font-family: 'Neue Haas Grotesk Display Pro', 'Arial', sans-serif;
        font-weight: 400;
        font-size: 17px;
        line-height: 1.483784323325613em;
        color: rgba(255, 255, 255, 0.6);
        padding: 5px 0;
        cursor: pointer;
        transition: color 0.3s ease;
    }
    
    .mobile-sector-option:last-child {
        border-bottom: none;
    }
    
    .mobile-sector-option:hover {
        color: var(--white);
    }
    
    .mobile-sector-option.active {
        color: var(--white);
        font-weight: 500;
    }
    
    .mobile-sector-option.active span::before {
        content: '+ ';
    }
    
    .mobile-sectors-description {
        font-family: 'Raleway', sans-serif;
        font-weight: 400;
        font-size: 15px;
        line-height: 1.5;
        color: var(--white);
        letter-spacing: 0.01em;
        margin-top: 0;
        margin-bottom: 0;
    }

    .work-images {
        position: relative;
        width: 100%;
        height: auto;
        padding: 0 14px 80px 14px;
        overflow: visible;
        margin-top: 0;
        display: block;
    }

    .work-images .home-image-group {
        margin-bottom: 30px;
        min-height: auto;
        height: auto;
        padding: 0;
        position: relative;
        opacity: 1 !important; /* Ensure images are visible */
        transform: translateY(0) !important;
        visibility: visible !important;
    }
    
    .work-images .home-image-group:last-child {
        margin-bottom: 0;
    }
    
    .work-images .home-image-group img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
    }

    .image-hover-text {
        display: none; /* Hide hover text on mobile */
    }

    .work-image-title {
        font-family: 'Neue Haas Grotesk Display Pro', 'Arial', sans-serif;
        font-weight: 400;
        font-size: 20px;
        line-height: 1.1440000534057617em;
        color: var(--white);
        
        padding: 11px 0 30px 0;
        margin: 0;
        display: block;
    }
    
    /* Back to Top Button */
    .back-to-top {
        position: fixed;
        bottom: 40px;
        left: 14px;
        display: flex;
        align-items: center;
        gap: 10px;
        background-color: transparent;
        border: none;
        color: var(--white);
        cursor: pointer;
        z-index: 100;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        font-family: 'Neue Haas Grotesk Display Pro', 'Arial', sans-serif;
        font-weight: 400;
        font-size: 15px;
        line-height: 1.143999989827474em;
        
    }
    
    .back-to-top-arrow {
        width: 27px;
        height: 26px;
        display: block;
        object-fit: contain;
    }
    
    .back-to-top-text {
        color: var(--white);
    }

    /* Mobile Home Page Layout */
    .home-page {
        height: auto;
        min-height: 100vh;
        overflow-y: auto;
        overflow-x: hidden;
        background-color: var(--dark-bg);
        background-image: 
            radial-gradient(circle, rgba(255, 255, 255, 0.1) 2px, transparent 2px);
        background-size: 20px 20px;
        background-attachment: fixed;
    }

    .home-main {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
        position: relative;
        z-index: 0; /* Changed from -1 to 0 for proper stacking */
    }
    
    .home-content-fixed {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        padding: 0;
        display: flex;
        flex-direction: column;
        z-index: 1; /* Text below images */
        pointer-events: none; /* Allow clicks to pass through to images */
    }
    
    /* Hide fixed content when menu is open */
    body.menu-open .home-content-fixed {
        display: none;
    }
    
    body.menu-open .home-images-scrollable {
        display: none;
    }
    
    .home-text {
        /* Responsive spacing - starts with a base calculation */
        padding-top: calc(54px + 45vh); /* Navbar height + 45% viewport height */
        padding-left: 14px;
        padding-right: 14px;
        padding-bottom: 40px;
        max-width: 100%;
        margin-top: 0;
        pointer-events: auto; /* Re-enable pointer events for text */
        z-index: -1;
        position: relative;
    }
    
    /* Responsive adjustments for different screen sizes and orientations */
    @media (max-width: 480px) and (max-height: 700px) {
        /* Very small screens in portrait */
        .home-text {
            padding-top: calc(54px + 35vh);
        }
    }
    
    @media (max-width: 480px) and (min-height: 701px) {
        /* Small screens with more height */
        .home-text {
            padding-top: calc(0px + 40vh);
        }
    }
    
    @media (min-width: 481px) and (max-width: 600px) and (max-height: 800px) {
        /* Medium screens in portrait */
        .home-text {
            padding-top: calc(54px + 42vh);
        }
    }
    
    @media (min-width: 481px) and (max-width: 600px) and (min-height: 801px) {
        /* Medium screens with more height */
        .home-text {
            padding-top: calc(0px + 48vh);
        }
    }
    
    @media (min-width: 601px) and (max-width: 768px) {
        /* Larger mobile screens and small tablets */
        .home-text {
            padding-top: calc(0px + 50vh);
        }
    }
    
    /* Landscape orientation adjustments */
    @media (max-width: 768px) and (orientation: landscape) {
        .home-text {
            padding-top: calc(54px + 30vh); /* Less spacing in landscape */
        }
    }

    .home-heading {
        font-family: 'Neue Haas Grotesk Display Pro', 'Arial', sans-serif;
        font-weight: 400;
        font-size: clamp(28px, 8vw, 37.19148635864258px); /* Responsive font size */
        line-height: 1.0770760626799767em;
        color: var(--white);
        margin-bottom: clamp(20px, 4vh, 27px); /* Responsive margin */
        
    }

    .home-description {
        font-family: 'Neue Haas Grotesk Display Pro', 'Arial', sans-serif;
        font-weight: 400;
        font-size: clamp(13px, 3.5vw, 15px); /* Responsive font size */
        line-height: 1.143999989827474em;
        color: var(--white);
        max-width: 362px;
        width: 100%;
        
        margin-bottom: 0;
    }

    /* Mobile Images - Vertical Scroll */
    .home-images-scrollable {
        position: fixed; /* Same as text container so z-index works */
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        padding: 0 11px;
        overflow-y: scroll; /* Scroll inside fixed container */
        display: block;
        margin-top: 0;
        z-index: 10; /* Above text (z-index: 1), images go on top of text */
        padding-top: calc(54px + 45vh); /* Match text position using same responsive calculation */
        padding-bottom: 300vh; /* Very large bottom padding to ensure full scrolling past all 6 images */
        box-sizing: border-box;
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    }
    
    /* Match image container padding with text for all breakpoints */
    @media (max-width: 480px) and (max-height: 700px) {
        .home-images-scrollable {
            padding-top: calc(54px + 35vh);
        }
    }
    
    @media (max-width: 480px) and (min-height: 701px) {
        .home-images-scrollable {
            padding-top: calc(54px + 40vh);
        }
        .home-img{
            max-height: 270px;
            min-height: 270px;
        }
    }
    
    @media (min-width: 481px) and (max-width: 600px) and (max-height: 800px) {
        .home-images-scrollable {
            padding-top: calc(54px + 42vh);
        }
    }
    
    @media (min-width: 481px) and (max-width: 600px) and (min-height: 801px) {
        .home-images-scrollable {
            padding-top: calc(54px + 48vh);
        }
    }
    
    @media (min-width: 601px) and (max-width: 768px) {
        .home-images-scrollable {
            padding-top: calc(54px + 50vh);
        }
    }
    
    @media (max-width: 768px) and (orientation: landscape) {
        .home-images-scrollable {
            padding-top: calc(54px + 30vh);
        }
    }

    .home-images-scrollable::before,
    .home-images-scrollable::after {
        display: none;
    }

    .home-image-group {
        width: 100%;
        min-height: 200px; /* Ensure minimum height so container isn't zero-height */
        height: auto;
        padding: 0;
        margin-bottom: 24px;
        opacity: 0;
        transform: translateY(300px); /* Start 300px below, will animate up when visible */
        /* transition: opacity 0.1s ease-out, transform 0.1s ease-out; */
        position: relative;
        visibility: visible; /* Always visible in layout, opacity controls appearance */
        z-index: 2; /* Images scroll behind text but above background */
    }

    .home-image-group.visible {
        opacity: 1 !important;
        transform: translateY(485px) !important;
        visibility: visible;
    }
    
    /* When scrolling up, images move down but stay visible */
    .home-image-group.moved-down {
        opacity: 1 !important;
        transform: translateY(485px) !important;
        visibility: visible;
    }

    .home-image-group:first-child {
        margin-top: 24px;
    }

    .home-image-group:last-child {
        margin-bottom: 0;
    }

    .home-img {
        width: 100%;
        height: auto;
        object-fit: cover;
        display: block;
        border-radius: 0;
    }


    /* Mobile Large Logo at Bottom */
    .home-logo-large {
        position: absolute;
        bottom: 20px;
        left: 0;
        width: 100%;
        padding: 0 13px;
        margin-top: 0;
        margin-bottom: 0;
        max-height: none;
        height: auto;
        z-index: 12; /* Logo above text */
        pointer-events: auto;
    }

    .home-logo-large .formed-logo-img {
        width: 100%;
        height: auto;
        /* max-height: 86.22px; */
        object-fit: contain;
    }

    /* Hide desktop navigation */
    .nav-links {
        display: none;
    }

    .work-title,
    .project-title,
    .team-title {
        font-size: 36px;
    }
    

    .project-detail-content {
        padding: 20px;
    }
    
    /* Project Detail Page Mobile Responsive */
    .project-detail-page {
        background-color: var(--white);
        overflow-y: auto;
        overflow-x: hidden;
    }
    
    /* Project Detail Page - Navbar text color black */
    .project-detail-page .navbar-custom-dark .nav-link-dark,
    .project-detail-page .navbar-custom .nav-link-custom {
        color: var(--black) !important;
    }
    
    .project-detail-page .mobile-menu-toggle .menu-text {
        color: var(--black);
    }
    
    .project-detail-page .mobile-logo-img {
        filter: brightness(0); /* Make logo black */
    }
    
    .project-detail-page .hamburger-line {
        background-color: var(--black);
    }
    
    .project-detail-wrapper {
        flex-direction: column;
        min-height: auto;
    }
    
    .project-detail-content {
        width: 100%;
        padding: calc(54px + 20px) 14px 0px 14px;
        padding-top: calc(54px + 20px); /* Navbar height (54px) + spacing (20px) */
        min-height: auto;
        display: flex;
        flex-direction: column;
        background-color: var(--white);
        color: var(--black);
        margin-top: 0;
    }
    
    .project-content-top {
        flex: 0 0 auto;
    }
    
    .project-content-bottom {
        flex: 0 0 auto;
        margin-top: 0px;
    }
    
    .project-detail-logo {
        display: none;
    }
    
    .project-title {
        font-size: clamp(32px, 8vw, 48px);
        margin-bottom: 30px;
        color: var(--black);
    }
    
    .project-info {
        gap: 40px;
        margin-bottom: 30px;
    }
    
    .project-info-labels {
        width: auto;
        min-width: 80px;
    }
    
    .project-info-values {
        width: auto;
        padding-left: 0;
    }
    
    .project-info-label {
        color: var(--black);
        font-size: 15px;
    }
    
    .project-info-value {
        color: var(--black);
        font-size: 15px;
    }
    
    .project-navigation {
        margin-bottom: 30px;
    }
    
    .project-description {
        color: var(--black);
        max-width: 100%;
        font-size: 15px;
        line-height: 1.5;
        margin-top: 0;
        margin-bottom: 0;
    }
    
    /* Image Gallery Mobile */
    .project-images-gallery {
        width: 100%;
        position: relative;
        height: auto;
        min-height: auto;
        margin-top: 0;
        padding: 10px;
        background-color: var(--white);
        top: 0px;
        right: 0px;
        left: 0px;
    }
    
    .project-main-image-container {
        width: 100%;
        height: auto;
        min-height: 300px;
        max-height: 70vh;
        position: relative;
    }
    
    .project-main-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .image-nav-arrow {
        width: 50px;
        height: 50px;
        background-color: rgb(0 0 0 / 0%);
    }
    
    .image-nav-left {
        left: 10px;
    }
    
    .image-nav-right {
        right: 10px;
    }
    
    .image-nav-icon {
        width: 24px;
        height: 26px;
    }
    
    .project-thumbnails {
        padding: 0px 0px;
        height: 70px;
        gap: 8px;
        background-color: var(--white);
    }
    
    .thumbnail-item {
        width: 100px;
        height: 66px;
    }
    
    .thumbnail-item.active {
        border-color: var(--white);
    }
    
    /* Hide project navigation arrows on mobile (they're in the image gallery) */
    .project-navigation {
        display: none;
    }
    
    /* About Page Mobile Responsive */
    .about-page {
        height: auto;
        min-height: 100vh;
        overflow-y: auto;
        overflow-x: hidden;
    }
    
    .about-logo-large {
        display: none;
    }
    
    .about-image-carousel {
        display: none;
    }
    
    .about-overlay {
        display: none;
    }
    
    .about-content {
        position: relative;
        width: 100%;
        height: auto;
        padding: 0;
    }
    
    .about-sections {
        width: 100%;
        min-height: 100vh;
        background-color: var(--dark-bg) !important;
        background-image: 
            radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
        background-size: 20px 20px;
        background-attachment: fixed;
        padding: calc(54px + 20px) 14px 40px 14px;
        box-sizing: border-box;
    }
    
    .about-section {
        width: 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }
    
    .about-section:last-child {
        margin-bottom: 0;
    }
    
    .about-section-title {
        font-size: clamp(28px, 8vw, 40px);
        margin-bottom: 20px;
        color: var(--white);
    }
    
    .about-section-description {
        font-size: 15px;
        line-height: 1.5;
        color: var(--white);
        margin-bottom: 0;
    }
    
    /* Our Team Page Mobile Responsive */
    .team-page {
        height: auto;
        min-height: 100vh;
        overflow-y: auto;
        overflow-x: hidden;
        background-color: var(--white);
    }
    
    /* Team Page - Navbar text color black */
    .team-page .navbar-custom-dark .nav-link-dark,
    .team-page .navbar-custom .nav-link-custom {
        color: var(--black) !important;
    }
    
    .team-page .mobile-menu-toggle .menu-text {
        color: var(--black);
    }
    
    .team-page .mobile-logo-img {
        filter: brightness(0); /* Make logo black */
    }
    
    .team-page .hamburger-line {
        background-color: var(--black);
    }
    .hamburger-btn.close-btn.active .hamburger-line {
        background-color: var(--white);
    }
    
    .team-logo-large {
        display: none; /* Hide desktop logo on mobile */
    }
    
    .team-content {
        width: 100%;
        padding-top: calc(54px + 40px);
        padding-left: 14px;
        padding-right: 14px;
        padding-bottom: 20px;
        position: relative;
        overflow: visible;
        display: flex;
        flex-direction: column;
    }
    
    .team-left {
        width: 100%;
        max-width: 100%;
        min-height: auto;
    }
    
    .team-left-content {
        width: 100%;
    }
    
    .team-title {
        font-size: clamp(28px, 8vw, 48px);
        margin-bottom: 20px;
        color: var(--black);
    }
    
    .team-description {
        font-size: 15px;
        line-height: 1.5;
        color: var(--black);
        max-width: 100%;
        margin-bottom: 10px;
    }
    
    .team-main-image {
        display: none; /* Hide main image on mobile */
    }
    
    .team-right {
        position: relative;
        width: 100%;
        height: auto;
        padding: 0;
        overflow: visible;
        display: flex;
        flex-direction: column;
        gap: 40px;
        padding-bottom: 150px;
    }
    
    .team-right::after {
        display: none;
    }
    
    .team-member-item {
        display: flex;
        align-items: flex-start;
        width: 100%;
        gap: 10px;
        margin-bottom: 0;
        align-items: center;
    }
    
    .team-member-image {
        object-fit: cover;
        border-radius: 0;
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .team-member-item:hover .team-member-image::after {
        display: none; /* Disable hover effect on mobile */
    }
    
    .team-member-info {
        flex: 1;
        margin-top: 0;
        padding-top: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .team-member-name {
        font-size: 18px;
        margin-bottom: 4px;
        color: var(--black);
    }
    
    .team-member-position {
        font-size: 15px;
        color: rgba(0, 0, 0, 0.6);
    }
    
    /* Back to Top Button for Team Page */
    .team-page .back-to-top {
        position: fixed;
        bottom: 40px;
        left: 14px;
        display: flex;
        align-items: center;
        gap: 10px;
        background-color: transparent;
        border: none;
        color: var(--black);
        text-decoration: none;
        cursor: pointer;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        font-family: 'Neue Haas Grotesk Display Pro', 'Arial', sans-serif;
        font-weight: 400;
        font-size: 15px;
        
    }
    
    .team-page .back-to-top-arrow {
        width: 27px;
        height: 26px;
        display: block;
        object-fit: contain;
        filter: brightness(0); /* Make arrow black */
    }
    
    .team-page .back-to-top-text {
        font-family: 'Neue Haas Grotesk Display Pro', 'Arial', sans-serif;
        font-weight: 400;
        font-size: 15px;
        color: var(--black);
        
    }
    
    /* Our Services Page Mobile Responsive */
    .services-page {
        height: auto;
        min-height: 100vh;
        overflow-y: auto;
        overflow-x: hidden;
        background-color: var(--white);
    }
    
    .services-logo-large {
        display: none; /* Hide desktop logo on mobile */
    }
    
    .services-content {
        position: relative;
        width: 100%;
        height: auto;
        padding: calc(54px + 20px) 14px 0 14px;
        overflow: visible;
        display: flex;
        flex-direction: column;
    }
    
    .services-left {
        width: 100%;
        max-width: 100%;
        flex-direction: column;
        gap: 30px;
    }
    
    .services-title-section {
        width: 100%;
    }
    
    .services-title {
        font-size: clamp(28px, 8vw, 28px);
        margin-bottom: 5px;
        color: var(--black);
    }
    
    .services-list {
        gap: 0;
        margin-bottom: 30px;
    }
    
    .service-item {
        font-size: 22px;
        padding: 6px 0;
        color: var(--black);
        cursor: pointer;
    }
    
    .service-item:last-child {
        border-bottom: none;
    }
    
    .service-item.active {
        color: var(--black);
        font-weight: 400;
    }
    
    .service-arrow {
        width: 20px;
        height: 20px;
        margin-right: 4px;
        display: inline-block;
        vertical-align: middle;
        filter: brightness(0); /* Make arrow black */
    }
    
    .services-descriptions {
        width: 100%;
        max-width: 100%;
        gap: 20px;
    }
    
    .service-description {
        font-size: 15px;
        line-height: 1.5;
        color: var(--black);
        margin-bottom: 0px;
    }
    
    .service-description:last-child {
        margin-bottom: 0;
    }
    
    /* Services Image Section Mobile */
    .services-image-section {
        display: none; /* Hide desktop image section on mobile */
    }
    
    .services-image-section-mobile {
        position: relative;
        width: 100%;
        height: auto;
        min-height: 300px;
        max-height: 50vh;
        margin-top: 40px;
        order: 2; /* Move to bottom on mobile */
        overflow: hidden;
    }
    
    .services-image-section-mobile .services-main-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
    
    .services-image-section-mobile .services-image-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(59, 27, 26, 0.8); /* Dark brown overlay */
        opacity: 1;
        z-index: 1;
    }
    
    .services-formed-logo {
        display: none; /* Hide large logo on mobile */
    }
    
    /* Services Page - Navbar text color black */
    .services-page .navbar-custom-dark .nav-link-dark,
    .services-page .navbar-custom .nav-link-custom {
        color: var(--black) !important;
    }
    
    .services-page .mobile-menu-toggle .menu-text {
        color: var(--black);
    }
    
    .services-page .mobile-logo-img {
        filter: brightness(0); /* Make logo black */
    }
    
    .services-page .hamburger-line {
        background-color: var(--black);
    }
    
    /* Services Page - Navbar background white on mobile */
    .services-page .navbar-custom,
    .services-page .navbar-custom-dark {
        background: var(--white);
    }
    
    /* Services content wrapper for mobile */
    .services-content {
        display: flex;
        flex-direction: column;
    }
    
    .services-left {
        order: 1;
    }
    
    .services-image-section {
        order: 2;
        margin-top: 40px;
    }
    
    /* Contact Page Mobile Responsive */
    .contact-page {
        height: auto;
        min-height: 100vh;
        overflow-y: auto;
        overflow-x: hidden;
        background-color: var(--white);
    }
    
    .contact-logo-large {
        display: none; /* Hide desktop logo on mobile */
    }
    
    /* Contact Left Section Mobile */
    .contact-left {
        position: relative;
        width: 100%;
        height: auto;
        min-height: auto;
        background-color: #3B1B1A;
        background-image: 
            radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
        background-size: 20px 20px;
        background-attachment: fixed;
        padding: calc(54px + 20px) 14px 40px 14px;
        overflow: visible;
    }
    
    .contact-left-content {
        padding: 0;
        min-height: auto;
        justify-content: flex-start;
        gap: 30px;
    }
    
    .contact-title {
        font-size: clamp(40px, 10vw, 48px);
        margin-bottom: 20px;
        color: var(--white);
    }
    
    .contact-intro {
        font-size: clamp(15px, 4vw, 20px);
        line-height: 1.5;
        color: var(--white);
        max-width: 100%;
        margin-bottom: 40px;
    }
    
    .contact-bottom-sections {
        gap: 40px;
        margin-top: 0;
    }
    
    .contact-section-title {
        font-size: 15px;
        margin-bottom: 20px;
        color: var(--white);
    }
    
    .contact-detail-item {
        font-size: 15px;
        color: var(--white);
        margin-bottom: 10px;
    }
    
    .follow-us-link {
        font-size: 15px;
        color: var(--white);
        text-decoration: underline;
    }
    
    /* Contact Form Section Mobile */
    .contact-content {
        position: relative;
        width: 100%;
        height: auto;
        min-height: auto;
        background-color: #F5F5F5;
        padding: 40px 14px;
        overflow: visible;
    }
    .success-text{
        margin-top: 0px;
    }
    
    .contact-form-container {
        height: auto;
        justify-content: flex-start;
    }
    
    .contact-form-title {
        font-size: 15px;
        margin-bottom: 30px;
        color: var(--black);
    }
    
    .contact-form .form-group {
        margin-bottom: 20px;
    }
    
    .contact-form label {
        font-size: 15px;
        color: var(--black);
        margin-bottom: 8px;
        display: block;
    }
    
    .contact-form .form-control {
        font-size: 15px;
        color: var(--black);
        background-color: transparent;
        border: none;
        border-bottom: 1px solid #00000099;
        border-radius: 0;
        padding: 8px 0;
        width: 100%;
    }
    
    .contact-form .form-control:focus {
        outline: none;
        border-bottom: 2px solid var(--black);
    }
    
    .contact-form .form-control::placeholder {
        color: rgba(0, 0, 0, 0.5);
    }
    
    .contact-form textarea.form-control {
        resize: vertical;
        min-height: 60px;
    }
    
    .btn-submit-contact {
        display: flex;
        align-items: center;
        gap: 10px;
        background-color: transparent;
        border: none;
        padding: 0;
        margin-top: 20px;
        cursor: pointer;
        font-family: 'Neue Haas Grotesk Display Pro', 'Arial', sans-serif;
        font-weight: 400;
        font-size: 25px;
        color: var(--black);
        text-transform: none;
        letter-spacing: normal;
        width: 100%;
    }
    
    .submit-arrow {
        width: 24px;
        height: 24px;
        display: block;
        filter: brightness(0); /* Make arrow black */
    }
    
    /* Contact Page - Navbar text color white on mobile (dark background) */
    .contact-page .navbar-custom-dark .nav-link-dark,
    .contact-page .navbar-custom .nav-link-custom {
        color: var(--white) !important;
    }
    
    .contact-page .mobile-menu-toggle .menu-text {
        color: var(--white);
    }
    
    .contact-page .mobile-logo-img {
        filter: none; /* Keep logo white */
    }
    
    .contact-page .hamburger-line {
        background-color: var(--white);
    }
    
    /* Contact Page - Navbar background transparent on mobile (dark background section) */
    .contact-page .navbar-custom,
    .contact-page .navbar-custom-dark {
        background: transparent;
    }
}
@media screen and (max-width: 412px) {
      .home-logo-large {
        position: absolute;
        bottom: 90px;
      }
}

/* =============================================
   WORDPRESS THEME ADDITIONS
   ============================================= */

/* Tab panels visibility control */
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.service-description { display: none; }
.service-description.active { display: block; }

/* Mobile sector dropdown */
.mobile-sector-dropdown { display: none; }
.mobile-sector-dropdown.open { display: block; }
.mobile-sector-option.active span { font-weight: bold; }

/* ═══════════════════════════════════════════════════════════════
   CF7 FORM — styled to match original HTML contact form exactly
   ═══════════════════════════════════════════════════════════════ */

/* CF7 wraps every field in <span class="wpcf7-form-group"> or <p> —
   make those behave like .form-group */
.contact-form-container .wpcf7 {
    width: 100%;
}

.contact-form-container .wpcf7-form {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0;
}

/* Each CF7 field row — CF7 outputs <p> tags by default */
.contact-form-container .wpcf7-form p {
    margin: 0 0 10px 0;
    padding: 0;
    width: 100%;
    display: block;
}

.contact-form-container .wpcf7-form p:last-child {
    margin-bottom: 0;
}

/* CF7 wraps inputs in <span> — must be block + full width */
.contact-form-container .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

/* ── Input fields: bottom border only, transparent bg ── */
.contact-form-container .wpcf7-text,
.contact-form-container .wpcf7-email,
.contact-form-container .wpcf7-tel,
.contact-form-container .wpcf7-number {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 8px 0;
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.6);
    border-radius: 0;
    background: transparent;
    font-family: 'Neue Haas Grotesk Display Pro', 'Arial', sans-serif;
    font-size: clamp(13px, 1.2vw, 15px);
    color: var(--black);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

/* ── Textarea ── */
.contact-form-container .wpcf7-textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 8px 0;
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.6);
    border-radius: 0;
    background: transparent;
    font-family: 'Neue Haas Grotesk Display Pro', 'Arial', sans-serif;
    font-size: clamp(13px, 1.2vw, 15px);
    color: var(--black);
    outline: none;
    resize: none;
    min-height: 120px;
    -webkit-appearance: none;
    appearance: none;
}

/* ── Placeholder text ── */
.contact-form-container .wpcf7-text::placeholder,
.contact-form-container .wpcf7-email::placeholder,
.contact-form-container .wpcf7-tel::placeholder,
.contact-form-container .wpcf7-textarea::placeholder {
    color: rgba(0,0,0,0.5);
    opacity: 1;
}

/* ── Focus state ── */
.contact-form-container .wpcf7-text:focus,
.contact-form-container .wpcf7-email:focus,
.contact-form-container .wpcf7-tel:focus,
.contact-form-container .wpcf7-textarea:focus {
    border-bottom-color: var(--black);
}

/* ── Submit button: large, right-aligned, with arrow ── */
.contact-form-container .wpcf7-submit {
    display: flex;
    align-items: center;
    gap: 10px;
    align-self: flex-end;
    margin-top: 20px;
    padding: 0;
    border: none;
    background: transparent;
    font-family: 'Neue Haas Grotesk Display Pro', 'Arial', sans-serif;
    font-size: 30px;
    font-weight: 400;
    color: var(--black);
    cursor: pointer;
    transition: opacity 0.3s ease;
    /* Arrow via CSS pseudo-element — no image file needed */
}

.contact-form-container .wpcf7-submit::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 28px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    flex-shrink: 0;
}

.contact-form-container .wpcf7-submit:hover {
    opacity: 0.7;
}

/* Submit button row — CF7 puts submit in a <p> too */
.contact-form-container .wpcf7-form p:has(.wpcf7-submit) {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
    margin-bottom: 0;
}

/* ── Validation & response messages ── */
.contact-form-container .wpcf7-not-valid-tip {
    font-size: 11px;
    color: #e74c3c;
    margin-top: 3px;
    display: block;
}

.contact-form-container .wpcf7-response-output {
    margin-top: 16px;
    padding: 8px 12px;
    font-size: 13px;
    font-family: 'Neue Haas Grotesk Display Pro', 'Arial', sans-serif;
    border-radius: 2px;
}

.contact-form-container .wpcf7-mail-sent-ok {
    border: 1px solid #46b450;
    color: #46b450;
    background: transparent;
}

.contact-form-container .wpcf7-mail-sent-ng,
.contact-form-container .wpcf7-aborted,
.contact-form-container .wpcf7-spam-blocked,
.contact-form-container .wpcf7-validation-errors {
    border: 1px solid #e74c3c;
    color: #e74c3c;
    background: transparent;
}

/* CF7 notice for missing form */
.cf7-notice { font-size: 13px; opacity: 0.8; }

/* Back to top – initially hidden */
.back-to-top { display: none; }

/* About carousel images */
.about-carousel-image {
    transition: opacity 1s ease-in-out;
}