/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1;
    overflow-x: hidden;
}

/* Mobile Marquee Container - Hidden on desktop, visible on mobile */
.mobile-marquee-container {
    display: none;
}

@media (max-width: 767px) {
    .mobile-marquee-container {
        display: block !important;
        width: 100%;
        background-color: rgb(23, 23, 23);
        overflow: hidden;
        min-height: 80px;
        position: relative;
        z-index: 20;
    }
    
    /* Centrer verticalement le contenu du marquee mobile */
    .mobile-marquee-container [data-marquee-mobile] {
        display: flex;
        align-items: center;
        height: 100%;
        min-height: 80px;
    }
    
    /* Flèches oranges dans le marquee mobile */
    .mobile-marquee-container svg path {
        fill: rgb(237, 76, 34) !important;
    }
    
    /* Container du footer sur mobile */
    [data-orange-bg] {
        background-color: rgb(237, 76, 34);
        padding-bottom: 2rem;
    }
}

/* Footer mobile uniquement */
@media (max-width: 767px) {
    footer {
        padding-top: 3rem !important;
        padding-bottom: 5rem !important;
        transform: none !important;
        background-color: rgb(237, 76, 34) !important;
        margin-bottom: 0 !important;
    }
    
    footer .px-\[6vw\] {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
    
    /* Réduire les marges verticales internes */
    footer .pb-\[3vmax\] {
        padding-bottom: 2rem !important;
    }
    
    footer .mt-\[6vmax\] {
        margin-top: 2rem !important;
    }
    
    /* Ajuster les gaps dans la grille */
    footer .gap-y-\[max\(1rem\,2vmax\)\] {
        row-gap: 1.5rem !important;
    }
}


/* CSS Variables */
:root {
    --color-dark-1: 0, 0, 0; /* Pure black */
    --color-light-1: 248, 248, 248; /* #F8F8F8 - Very light gray */
    --color-light-2: 250, 250, 250; /* #FAFAFA - Even lighter */
    --color-gray-1: 102, 102, 102; /* #666666 - Medium gray */
    --color-orange-1: 237, 76, 34; /* Keep brand color for accents only */
    --header-height: max(1.3rem, 2vmax);
}

/* Utility Classes */
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.fixed { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }
.sticky { position: sticky; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.min-h-\[80dvh\] { min-height: 80dvh; }
.h-\[100dvh\] { height: 100dvh; }
.h-\[150dvh\] { height: 150dvh; }
.h-\[500dvh\] { height: 500dvh; }
.h-\[550dvh\] { height: 550dvh; }
.h-\[10px\] { height: 10px; }
.h-\[3vmax\] { height: 3vmax; }
.aspect-square { aspect-ratio: 1 / 1; }
.overflow-hidden { overflow: hidden; }
.overflow-y-scroll { overflow-y: scroll; }
.overflow-x-hidden { overflow-x: hidden; }
.pointer-events-none { pointer-events: none; }
.pointer-events-auto { pointer-events: auto; }
.whitespace-nowrap { white-space: nowrap; }
.origin-bottom { transform-origin: bottom; }
.outline-none { outline: none; }
.will-change-\[border-radius\] { will-change: border-radius; }

/* Flexbox and Grid */
.flex-col { flex-direction: column; }
.flex-1 { flex: 1; }
.items-center { align-items: center; }
.items-start { align-items: start; }
.items-end { align-items: end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: end; }
.gap-\[1vmax\] { gap: 1vmax; }
.gap-\[1\.5vmax\] { gap: 1.5vmax; }
.gap-\[2vmax\] { gap: 2vmax; }
.gap-\[3vmax\] { gap: 3vmax; }
.gap-\[6vmax\] { gap: 6vmax; }
.gap-\[8vmax\] { gap: 8vmax; }
.gap-y-\[3vmax\] { row-gap: 3vmax; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-8 { grid-template-columns: repeat(8, minmax(0, 1fr)); }
.grid-cols-10 { grid-template-columns: repeat(10, minmax(0, 1fr)); }
.col-start-1 { grid-column-start: 1; }
.col-start-3 { grid-column-start: 3; }
.col-end-3 { grid-column-end: 3; }
.col-end-7 { grid-column-end: 7; }
.col-end-8 { grid-column-end: 8; }
.col-end-9 { grid-column-end: 9; }
.col-end-10 { grid-column-end: 10; }
.col-end-11 { grid-column-end: 11; }
.row-start-2 { grid-row-start: 2; }

/* Spacing */
.p-\[max\(\.15rem\,\.2vmax\)\] { padding: max(.15rem, .2vmax); }
.p-\[3vmax\] { padding: 3vmax; }
.px-\[6vw\] { padding-left: 6vw; padding-right: 6vw; }
.py-\[2\.5vmax\] { padding-top: 2.5vmax; padding-bottom: 2.5vmax; }
.py-\[max\(\.5rem\,\.7vmax\)\] { padding-top: max(.5rem, .7vmax); padding-bottom: max(.5rem, .7vmax); }
.px-\[max\(1rem\,1\.2vmax\)\] { padding-left: max(1rem, 1.2vmax); padding-right: max(1rem, 1.2vmax); }
.px-\[max\(\.15rem\,\.2vmax\)\] { padding-left: max(.15rem, .2vmax); padding-right: max(.15rem, .2vmax); }
.pt-\[6vw\] { padding-top: 6vw; }
.pt-\[12vmax\] { padding-top: 12vmax; }
.pt-\[8vmax\] { padding-top: 8vmax; }
.pt-\[15dvh\] { padding-top: 15dvh; }
.pt-\[3vmax\] { padding-top: 3vmax; }
.pt-\[max\(2rem\,2\.5vmax\)\] { padding-top: max(2rem, 2.5vmax); }
.pt-\[1\.5vmax\] { padding-top: 1.5vmax; }
.pb-\[6vmax\] { padding-bottom: 6vmax; }
.pb-\[12vmax\] { padding-bottom: 12vmax; }
.pb-\[max\(1\.1rem\,1\.5vmax\)\] { padding-bottom: max(1.1rem, 1.5vmax); }
.pr-\[1\.5vmax\] { padding-right: 1.5vmax; }
.mt-\[2vmax\] { margin-top: 2vmax; }
.mt-\[1vmax\] { margin-top: 1vmax; }
.mt-\[1\.5vmax\] { margin-top: 1.5vmax; }
.mt-\[max\(\.6rem\,1\.2vmax\)\] { margin-top: max(.6rem, 1.2vmax); }
.mt-\[6vmax\] { margin-top: 6vmax; }

/* Colors */
.bg-light1 { background-color: rgb(var(--color-light-1)); }
.bg-dark1 { background-color: rgb(var(--color-dark-1)); }
.bg-orange1 { background-color: rgb(var(--color-orange-1)); }
.bg-white { background-color: white; }
.text-dark1 { color: rgb(var(--color-dark-1)); }
.text-light1 { color: rgb(var(--color-light-1)); }
.text-orange1 { color: rgb(var(--color-orange-1)); }
.text-white { color: white; }
.text-dark1\/80 { color: rgba(var(--color-dark-1), 0.8); }
.text-dark1\/50 { color: rgba(var(--color-dark-1), 0.5); }
.text-dark1\/40 { color: rgba(var(--color-dark-1), 0.4); }
.text-light1\/80 { color: rgba(var(--color-light-1), 0.8); }
.text-light1\/70 { color: rgba(var(--color-light-1), 0.7); }
.text-light1\/60 { color: rgba(var(--color-light-1), 0.6); }
.text-light1\/40 { color: rgba(var(--color-light-1), 0.4); }
.border-light1\/40 { border-color: rgba(233, 233, 233, 0.4); }
.border-dark1\/40 { border-color: rgba(var(--color-dark-1), 0.4); }

/* Typography */
.text-\[max\(\.5rem\,\.7vmax\)\] { font-size: max(.5rem, .7vmax); }
.text-\[max\(\.8rem\,1vmax\)\] { font-size: max(.8rem, 1vmax); }
.text-\[max\(1rem\,1\.2vmax\)\] { font-size: max(1rem, 1.2vmax); }
.text-\[max\(1\.2rem\,1\.4vmax\)\] { font-size: max(1.2rem, 1.4vmax); }
.text-\[max\(1\.2rem\,1\.5vmax\)\] { font-size: max(1.2rem, 1.5vmax); }
.text-\[max\(1\.2rem\,1\.8vmax\)\] { font-size: max(1.2rem, 1.8vmax); }
.text-\[max\(1\.2rem\,2vmax\)\] { font-size: max(1.2rem, 2vmax); }
.text-\[max\(1\.5rem\,2vmax\)\] { font-size: max(1.5rem, 2vmax); }
.text-\[max\(1\.7rem\,2\.7vmax\)\] { font-size: max(1.7rem, 2.7vmax); }
.text-\[max\(1\.8rem\,2\.7vmax\)\] { font-size: max(1.8rem, 2.7vmax); }
.text-\[max\(2rem\,3vmax\)\] { font-size: max(2rem, 3vmax); }
.text-\[max\(2rem\,4vmax\)\] { font-size: max(2rem, 4vmax); }
.text-\[max\(2\.2rem\,3\.5vmax\)\] { font-size: max(2.2rem, 3.5vmax); }
.text-\[max\(2\.5rem\,3vmax\)\] { font-size: max(2.5rem, 3vmax); }
.text-\[max\(2\.7rem\,3\.5vmax\)\] { font-size: max(2.7rem, 3.5vmax); }
.text-\[max\(2rem\,7vmin\)\] { font-size: max(2rem, 7vmin); }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.uppercase { text-transform: uppercase; }
.leading-\[100\%\] { line-height: 100%; }
.leading-\[115\%\] { line-height: 115%; }
.leading-\[120\%\] { line-height: 120%; }
.leading-\[200\%\] { line-height: 200%; }

/* Borders */
.border { border-width: 1px; }
.border-t { border-top-width: 1px; }
.border-b { border-bottom-width: 1px; }
.rounded-full { border-radius: 9999px; }
.rounded-\[3vmax\] { border-radius: 3vmax; }
.rounded-\[max\(1\.6rem\,2vmax\)\] { border-radius: max(1.6rem, 2vmax); }
.rounded-t-\[3vmax\] { border-top-left-radius: 3vmax; border-top-right-radius: 3vmax; }
.rounded-b-\[3vmax\] { border-bottom-left-radius: 3vmax; border-bottom-right-radius: 3vmax; }

/* Transforms */
.translate-y-\[-50\%\] { transform: translateY(-50%); }
.translate-y-\[calc\(100\%-1px\)\] { transform: translateY(calc(100% - 1px)); }
.translate-y-\[calc\(-100\%\+1px\)\] { transform: translateY(calc(-100% + 1px)); }
.scale-\[1\.25\] { transform: scale(1.25); }

/* Transitions */
.transition-transform { transition-property: transform; }
.transition-\[border-radius\] { transition-property: border-radius; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }
.ease-in-out { transition-timing-function: ease-in-out; }

/* Animations */
@keyframes infinit-rotation {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Layout Containers */
[layout-container] {
    position: relative;
    width: 100%;
    height: 100vh;
}

/* Custom Cursor */
#works-cursor {
    --width: max(5rem, 7vmax);
    opacity: 0;
    transition: opacity 0.3s ease;
}

#work-cursor-content {
    width: var(--width);
    height: var(--width);
    position: relative;
}

[data-rotated-text] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Navigation */
.navbar-fixed {
    position: fixed;
    top: max(1.5rem, 2vmax);
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    opacity: 0;
    animation: navbarSlideIn 0.6s ease-out 0.3s forwards;
    /* Always white background */
    background: white;
    border-radius: 9999px;
    display: block; /* Toujours afficher le container */
}

@media (min-width: 768px) {
    .navbar-fixed {
        display: block; /* Afficher sur desktop */
    }
}

@keyframes navbarSlideIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.navbar-inner {
    background: white;
    border-radius: 9999px;
    padding: max(.1rem, .15vmax); /* Plus compact */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}


/* Mobile Navigation Container */
.navbar-mobile-container {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 30px 0;
    gap: 24px;
}

.navbar-mobile-logo {
    display: flex;
    justify-content: center;
}

.navbar-mobile-logo-img {
    height: 120px;
    width: auto;
    object-fit: contain;
    transition: height 0.3s ease;
}

.navbar-mobile-cta {
    background: linear-gradient(135deg, rgb(237, 76, 34), rgb(255, 90, 40));
    color: white;
    padding: 14px 36px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(237, 76, 34, 0.3);
}

.navbar-mobile-cta:hover {
    background: linear-gradient(135deg, rgb(255, 90, 40), rgb(237, 76, 34));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(237, 76, 34, 0.4);
}

@media (max-width: 767px) {
    .navbar-mobile-container {
        display: flex;
        transition: all 0.3s ease;
    }
    
    .navbar-logo {
        display: none;
    }
    
    .navbar-inner {
        display: none;
    }
    
    .navbar-fixed {
        height: auto;
        padding: 0;
        background: transparent; /* Pas de background sur mobile */
        border-radius: 0; /* Pas de border-radius sur mobile */
        transition: all 0.3s ease;
    }
    
    /* Styles when scrolled on mobile */
    .navbar-fixed.scrolled {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-fixed.scrolled .navbar-mobile-container {
        flex-direction: row;
        justify-content: space-between;
        padding: 10px 20px;
        gap: 0;
    }
    
    .navbar-fixed.scrolled .navbar-mobile-logo {
        justify-content: flex-start;
    }
    
    .navbar-fixed.scrolled .navbar-mobile-logo-img {
        height: 50px;
        transition: height 0.3s ease;
    }
    
    .navbar-fixed.scrolled .navbar-mobile-cta {
        padding: 10px 24px;
        font-size: 14px;
    }
}

/* Desktop Navigation */
.navbar-desktop-wrapper {
    display: none;
    align-items: center;
    gap: 0; /* Pas d'espace entre les groupes */
}

@media (min-width: 768px) {
    .navbar-desktop-wrapper {
        display: flex;
    }
}

.navbar-group {
    display: flex;
    align-items: center;
}

.navbar-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: max(.7rem, .9vmax) max(1.4rem, 1.7vmax); /* Padding augmenté pour voir les parenthèses */
    text-decoration: none;
    border-radius: 9999px;
    transition: background 0.3s ease;
    overflow: visible;
    margin: 0; /* Aucune marge - liens complètement collés */
}

.navbar-item:hover {
    background: rgba(0, 0, 0, 0.04);
}

.navbar-item-text {
    position: relative;
    font-size: max(.85rem, 1vmax);
    font-weight: 600; /* Plus gras comme Blinkpath */
    color: rgb(var(--color-dark-1));
    letter-spacing: 0.01em;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

/* Simple hover animation with parentheses */
.navbar-text-container {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: auto;
}

/* Force le conteneur à prendre la largeur du texte avec parenthèses */
.navbar-text-container::after {
    content: attr(data-width);
    visibility: hidden;
    position: absolute;
    pointer-events: none;
}

.navbar-text-normal {
    display: block;
    text-align: center;
    width: 100%;
    transition: transform 0.3s ease-in-out;
    font-weight: 600; /* Gras comme Blinkpath */
    font-size: max(.85rem, 1vmax);
}

.navbar-text-hover {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 50%);
    color: rgb(var(--color-orange-1));
    transition: transform 0.3s ease-in-out;
    white-space: nowrap;
    font-weight: 600; /* Gras comme Blinkpath */
    font-size: max(.85rem, 1vmax);
}

.navbar-item:hover .navbar-text-normal {
    transform: translateY(-100%);
}

.navbar-item:hover .navbar-text-hover {
    transform: translate(-50%, -50%);
}

.navbar-separator {
    width: 1px;
    height: max(1.2rem, 1.5vmax);
    background: rgba(0, 0, 0, 0.1);
    margin: 0 max(.1rem, .15vmax); /* Moins d'espace autour du séparateur */
}

.navbar-item-contact {
    background: rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    padding: max(.7rem, .9vmax) max(.8rem, 1vmax); /* Plus de padding pour Contact */
}

.navbar-item-contact::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(var(--color-dark-1));
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 9999px;
}

.navbar-item-contact:hover::after {
    transform: translateY(0);
}

.navbar-item-contact .navbar-item-text {
    position: relative;
    z-index: 1;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-item-contact:hover .navbar-item-text {
    color: white;
}

/* Contact button doesn't have text hover animation */
.navbar-item-contact text-hover-animation-char-container {
    display: none;
}

/* Dark theme for navbar */
.navbar-fixed.dark-theme .navbar-inner {
    background: rgba(var(--color-dark-1), 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar-fixed.dark-theme .navbar-item-text,
.navbar-fixed.dark-theme .navbar-menu-text,
.navbar-fixed.dark-theme .navbar-text-normal {
    color: rgb(var(--color-light-1));
}

.navbar-fixed.dark-theme .navbar-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.navbar-fixed.dark-theme .navbar-text-hover {
    color: rgb(var(--color-orange-1));
}

.navbar-fixed.dark-theme .navbar-item-text {
    --data-color: rgb(var(--color-light-1));
}

.navbar-fixed.dark-theme .navbar-separator {
    background: rgba(255, 255, 255, 0.2);
}

.navbar-fixed.dark-theme .navbar-item-contact {
    background: rgba(255, 255, 255, 0.1);
}

.navbar-fixed.dark-theme .navbar-item-contact::after {
    background: rgb(var(--color-light-1));
}

.navbar-fixed.dark-theme .navbar-item-contact .navbar-item-text {
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-fixed.dark-theme .navbar-item-contact:hover .navbar-item-text {
    color: rgb(var(--color-dark-1));
}


/* Work Cards */
[data-work-card] img {
    transition: transform 0.3s ease;
}

[data-work-card]:hover img {
    transform: scale(1.05);
}

/* Services section */
[data-service-card] {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 350px;
}

[data-service-card]:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(237, 76, 34, 0.3);
}

/* Hide shadow for empty cards - cards without border or background */
[data-service-card]:not([style*="border"]):hover,
[data-service-card]:not([style*="background"]):hover {
    box-shadow: none !important;
    transform: none !important;
    cursor: default;
}

/* Alternative: use a class for empty cards */
[data-service-card].empty-card:hover,
.empty-card[data-service-card]:hover {
    box-shadow: none !important;
    transform: none !important;
}

#services-cards-container {
    width: fit-content;
}

/* Fallback for mobile - horizontal scroll */
@media (max-width: 768px) {
    [data-sticky-element] {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }
    
    #services-cards-container {
        padding-right: 6vw;
    }
}

/* About Section */
[data-about-element] {
    --top-value: calc(var(--header-height) + 2.5vmax);
}

/* Marquee */
[data-marquee], [data-marquee-mobile] {
    width: fit-content;
}

[data-marquee-half] {
    animation: marquee 30s linear infinite;
}

/* Mobile marquee specific styles */
[data-marquee-mobile] {
    width: fit-content !important;
}

[data-marquee-mobile] [data-marquee-half] {
    animation: marquee 30s linear infinite;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Video Section */
#video-orange-wrapper {
    border-radius: 6vmax 6vmax 0 0;
}

#video-dark-wrapper {
    border-radius: 3vmax 3vmax 0 0;
}

#video-container {
    will-change: transform;
}

/* Process Cards */
[data-process-card] {
    /* removed sticky positioning */
}

/* Mobile Menu */
#mobile-menu-container button {
    transition: background-color 0.3s ease;
}

#mobile-menu-container button:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/* Contact Button */
[data-contact-button] {
    box-shadow: 0px 0px 0px 2px rgb(var(--color-light-1)) inset;
    font-size: max(1rem, 1.3vmax);
    padding: max(1rem, 1.2vmax) max(1rem, 1.5vmax);
    transition: all 0.3s ease;
}

[data-contact-button]:hover {
    background-color: rgb(var(--color-light-1));
    color: rgb(var(--color-orange-1));
}

/* Links */
a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

/* Mobile padding to avoid navbar overlap */
@media (max-width: 767px) {
    #hero {
        padding-top: 200px;
    }
}

/* Media Queries */
@media (min-width: 768px) {
    .md\:hidden { display: none; }
    .md\:block { display: block; }
    .md\:flex { display: flex; }
    .md\:flex-row { flex-direction: row; }
    .md\:items-end { align-items: flex-end; }
    .md\:justify-end { justify-content: flex-end; }
    .md\:justify-center { justify-content: center; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:col-start-3 { grid-column-start: 3; }
    .md\:col-start-6 { grid-column-start: 6; }
    .md\:col-start-9 { grid-column-start: 9; }
    .md\:col-start-10 { grid-column-start: 10; }
    .md\:col-end-5 { grid-column-end: 5; }
    .md\:col-end-6 { grid-column-end: 6; }
    .md\:col-end-8 { grid-column-end: 8; }
    .md\:col-end-10 { grid-column-end: 10; }
    .md\:w-\[50\%\] { width: 50%; }
    .md\:w-\[70\%\] { width: 70%; }
    .md\:w-\[max\(22rem\,27vmax\)\] { width: max(22rem, 27vmax); }
    .md\:h-\[400dvh\] { height: 400dvh; }
    .md\:h-\[450dvh\] { height: 450dvh; }
    .md\:h-\[clamp\(30rem\,74vmin\,40vmax\)\] { height: clamp(30rem, 74vmin, 40vmax); }
    .md\:gap-0 { gap: 0; }
    .md\:gap-\[2vmax\] { gap: 2vmax; }
    .md\:gap-\[max\(1rem\,2vmax\)\] { gap: max(1rem, 2vmax); }
    .md\:pt-\[8vmax\] { padding-top: 8vmax; }
    .md\:text-\[max\(3rem\,4vmax\)\] { font-size: max(3rem, 4vmax); }
    .md\:justify-self-end { justify-self: end; }
}

@media (min-width: 1024px) {
    .lg\:hidden { display: none; }
    .lg\:block { display: block; }
    .lg\:col-start-7 { grid-column-start: 7; }
    .lg\:col-end-7 { grid-column-end: 7; }
    .lg\:w-\[40\%\] { width: 40%; }
}

@media (min-width: 1280px) {
    .xl\:col-start-8 { grid-column-start: 8; }
}

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

/* Hide scrollbar but keep functionality */
#scroll-container::-webkit-scrollbar {
    display: none;
}

#scroll-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Object Fit */
.object-cover { object-fit: cover; }

/* Text Ellipsis */
.text-ellipsis {
    text-overflow: ellipsis;
}

/* Additional utility for gap with specific value */
.gap-\[max\(\.5rem\,\.7vmax\)\] { gap: max(.5rem, .7vmax); }
.gap-\[max\(0\.5rem\,\.7vmax\)\] { gap: max(0.5rem, .7vmax); }
.gap-y-\[max\(1rem\,2vmax\)\] { row-gap: max(1rem, 2vmax); }

/* Additional padding utilities */
.padding-\[max\(1rem\,1\.2vmax\)\] { 
    padding: max(1rem, 1.2vmax);
}

.py-\[max\(2rem\,2\.5vmax\)\] { 
    padding-top: max(2rem, 2.5vmax); 
    padding-bottom: max(2rem, 2.5vmax);
}

/* Additional text sizes */
.text-\[max\(1rem\,1\.3vmax\)\] { font-size: max(1rem, 1.3vmax); }

/* Style for the hero title */
h1[data-home-hero-title] {
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* Additional classes for specific elements */
.pt-\[calc\(var\(--header-height\)\+5vmax\)\] {
    padding-top: calc(var(--header-height) + 5vmax);
}

/* For the overflow text ellipsis */
.overflow-hidden.text-ellipsis {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Specific height values */
.h-\[clamp\(30rem\,60vmax\,40vmax\)\] {
    height: clamp(30rem, 60vmax, 40vmax);
}

.w-\[max\(20rem\,38vmax\)\] {
    width: max(20rem, 38vmax);
}

/* Block span utility */
span.block {
    display: block;
}

/* Logo for navbar */
.navbar-fixed .navbar-logo {
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
}

.navbar-fixed .navbar-logo-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Footer email hover effect */
footer a.group span {
    display: block;
}

/* SVG path fill fix for hover */
footer button svg path {
    fill: rgb(var(--color-orange-1));
    transition: fill 0.3s ease;
}

footer button:hover svg path {
    fill: white;
}

/* Active navigation indicator */
.navbar-item.active {
    background-color: rgb(var(--color-orange-1));
}

.navbar-item.active .navbar-text-normal,
.navbar-item.active .navbar-text-hover {
    color: white;
}

/* Keep hover effect for active items */
.navbar-item.active:hover {
    background-color: rgb(var(--color-orange-1));
}

/* Contact button active state */
.navbar-item-contact.active {
    background-color: rgb(var(--color-orange-1));
}

.navbar-item-contact.active .navbar-item-text {
    color: white;
}

.navbar-item-contact.active::after {
    background: white;
}