/*
Theme Name: Diverzity Studios Theme
Description: Modern dark theme inspired by RedLab with coral accents - Professional digital solutions.
Version: 3.11.9
Author: Diverzity Studios
*/

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-accent: #2a2a2a;
    --coral: #FF6F61;
    --coral-bright: #ff8a7a;
    --coral-dark: #e55a4d;
    --white: #ffffff;
    --grey-light: #a0a0a0;
    --grey-medium: #666666;
    --grey-dark: #333333;
    --border-subtle: rgba(255, 255, 255, 0.1);
    --border-accent: rgba(255, 111, 97, 0.3);
    --shadow-subtle: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-strong: 0 8px 40px rgba(0, 0, 0, 0.6);
    --blur-subtle: blur(12px);
    --radius-small: 6px;
    --radius-medium: 12px;
    --radius-large: 20px;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

html,
body {
    overflow-x: hidden;
    max-width: 100vw;
}

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

::selection {
    background: var(--coral);
    color: var(--white);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'SF Pro Display', system-ui, sans-serif;
    background: var(--bg-primary);
    color: var(--white);
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    position: relative;
}

/* Liquid Glass Background Effects */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 15% 20%, rgba(255, 111, 97, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 85% 80%, rgba(255, 111, 97, 0.1) 0%, transparent 60%),
        radial-gradient(circle at 40% 40%, rgba(255, 111, 97, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -3;
    animation: floatingGlass 20s ease-in-out infinite;
}

/* Add triangle class to body */
body.has-triangles::before {
    z-index: -3;
}

body.has-triangles::after {
    z-index: -2;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 70% 10%, rgba(255, 255, 255, 0.02) 0%, transparent 40%),
        radial-gradient(circle at 20% 90%, rgba(255, 255, 255, 0.03) 0%, transparent 40%);
    pointer-events: none;
    z-index: -1;
    animation: floatingGlass 25s ease-in-out infinite reverse;
}

@keyframes floatingGlass {
    0%, 100% {
        transform: translateX(-20px) translateY(-10px) scale(1);
        opacity: 1;
    }
    33% {
        transform: translateX(10px) translateY(15px) scale(1.1);
        opacity: 0.8;
    }
    66% {
        transform: translateX(-5px) translateY(-20px) scale(0.9);
        opacity: 1;
    }
}

/* RedLab-style Moving Light Triangles */
.glass-triangles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

/* Create glowing triangle shapes */
.triangle-bg-1,
.triangle-bg-2,
.triangle-bg-3 {
    position: absolute;
    pointer-events: none;
    filter: blur(4rem);
    opacity: 0.5;
    transition: all 5s ease-out;
}

/* Triangle 1 - Large coral triangle */
.triangle-bg-1 {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 150px solid rgba(255, 111, 97, 0.8);
    top: 10%;
    left: 20%;
    animation: triangleFloat1 20s ease-in-out infinite;
}

/* Triangle 2 - Medium white triangle */
.triangle-bg-2 {
    width: 0;
    height: 0;
    border-left: 75px solid transparent;
    border-right: 75px solid transparent;
    border-bottom: 120px solid rgba(255, 255, 255, 0.6);
    top: 60%;
    right: 15%;
    animation: triangleFloat2 25s ease-in-out infinite reverse;
}

/* Triangle 3 - Small coral bright triangle */
.triangle-bg-3 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 90px solid rgba(255, 138, 122, 0.7);
    bottom: 20%;
    left: 60%;
    animation: triangleFloat3 18s ease-in-out infinite;
}

/* Additional floating triangles */
.glass-triangles::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 90px solid transparent;
    border-right: 90px solid transparent;
    border-bottom: 135px solid rgba(255, 111, 97, 0.5);
    top: 40%;
    left: 70%;
    filter: blur(5rem);
    opacity: 0.4;
    animation: triangleFloat1 30s ease-in-out infinite reverse;
}

.glass-triangles::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 75px solid rgba(255, 255, 255, 0.4);
    bottom: 40%;
    right: 50%;
    filter: blur(3rem);
    opacity: 0.5;
    animation: triangleFloat2 15s ease-in-out infinite;
}

/* Smooth floating triangle animations */
@keyframes triangleFloat1 {
    0%, 100% {
        transform: translate(0px, 0px) rotate(0deg) scale(1);
        opacity: 0.5;
    }
    25% {
        transform: translate(30px, -20px) rotate(90deg) scale(1.1);
        opacity: 0.7;
    }
    50% {
        transform: translate(-20px, -40px) rotate(180deg) scale(0.9);
        opacity: 0.4;
    }
    75% {
        transform: translate(-40px, 10px) rotate(270deg) scale(1.05);
        opacity: 0.6;
    }
}

@keyframes triangleFloat2 {
    0%, 100% {
        transform: translate(0px, 0px) rotate(0deg) scale(1);
        opacity: 0.4;
    }
    33% {
        transform: translate(-25px, 30px) rotate(120deg) scale(1.2);
        opacity: 0.6;
    }
    66% {
        transform: translate(40px, -15px) rotate(240deg) scale(0.8);
        opacity: 0.5;
    }
}

@keyframes triangleFloat3 {
    0%, 100% {
        transform: translate(0px, 0px) rotate(0deg) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(25px, -30px) rotate(180deg) scale(1.15);
        opacity: 0.4;
    }
}

/* FORCED TRIANGLE ANIMATIONS */
@keyframes triangleMove1 {
    0%, 100% {
        transform: translate(0px, 0px) rotate(0deg) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translate(30px, -20px) rotate(90deg) scale(1.1);
        opacity: 0.8;
    }
    50% {
        transform: translate(-20px, -40px) rotate(180deg) scale(0.9);
        opacity: 0.5;
    }
    75% {
        transform: translate(-40px, 10px) rotate(270deg) scale(1.05);
        opacity: 0.7;
    }
}

@keyframes triangleMove2 {
    0%, 100% {
        transform: translate(0px, 0px) rotate(0deg) scale(1);
        opacity: 0.5;
    }
    33% {
        transform: translate(-25px, 30px) rotate(120deg) scale(1.2);
        opacity: 0.7;
    }
    66% {
        transform: translate(40px, -15px) rotate(240deg) scale(0.8);
        opacity: 0.6;
    }
}

@keyframes triangleMove3 {
    0%, 100% {
        transform: translate(0px, 0px) rotate(0deg) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translate(25px, -30px) rotate(180deg) scale(1.15);
        opacity: 0.5;
    }
}

/* Enhanced Floating Triangles */
.floating-triangle {
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.triangle-1 {
    animation: floatTriangle1 12s ease-in-out infinite;
}

.triangle-2 {
    animation: floatTriangle2 15s ease-in-out infinite reverse;
}

.triangle-3 {
    animation: floatTriangle3 18s ease-in-out infinite;
}

.triangle-4 {
    animation: floatTriangle1 22s ease-in-out infinite reverse;
}

.triangle-5 {
    animation: floatTriangle2 14s ease-in-out infinite;
}

.triangle-6 {
    animation: floatTriangle3 20s ease-in-out infinite reverse;
}

/* Visible Triangle Animations */
@keyframes floatTriangle1 {
    0%, 100% {
        transform: translate(0px, 0px) rotate(0deg) scale(1);
        opacity: 0.8;
    }
    25% {
        transform: translate(40px, -30px) rotate(90deg) scale(1.2);
        opacity: 0.6;
    }
    50% {
        transform: translate(-20px, -60px) rotate(180deg) scale(0.9);
        opacity: 0.4;
    }
    75% {
        transform: translate(-60px, 20px) rotate(270deg) scale(1.1);
        opacity: 0.7;
    }
}

@keyframes floatTriangle2 {
    0%, 100% {
        transform: translate(0px, 0px) rotate(0deg) scale(1);
        opacity: 0.9;
    }
    33% {
        transform: translate(-50px, 40px) rotate(120deg) scale(1.3);
        opacity: 0.5;
    }
    66% {
        transform: translate(60px, -25px) rotate(240deg) scale(0.8);
        opacity: 0.8;
    }
}

@keyframes floatTriangle3 {
    0%, 100% {
        transform: translate(0px, 0px) rotate(0deg) scale(1);
        opacity: 0.7;
    }
    40% {
        transform: translate(35px, -45px) rotate(144deg) scale(1.15);
        opacity: 0.9;
    }
    80% {
        transform: translate(-25px, 35px) rotate(288deg) scale(0.85);
        opacity: 0.6;
    }
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        /* Additional triangular patterns */
        linear-gradient(45deg, transparent 45%, rgba(255, 111, 97, 0.03) 49%, rgba(255, 111, 97, 0.03) 51%, transparent 55%),
        linear-gradient(-45deg, transparent 70%, rgba(255, 255, 255, 0.02) 74%, rgba(255, 255, 255, 0.02) 76%, transparent 80%);
    pointer-events: none;
    z-index: -2;
    transform-origin: center;
    animation: glassTriangles 35s ease-in-out infinite reverse;
}

@keyframes glassTriangles {
    0%, 100% {
        transform: rotate(0deg) scale(1);
        opacity: 1;
    }
    25% {
        transform: rotate(0.5deg) scale(1.02);
        opacity: 0.8;
    }
    50% {
        transform: rotate(-0.3deg) scale(0.98);
        opacity: 1;
    }
    75% {
        transform: rotate(0.2deg) scale(1.01);
        opacity: 0.9;
    }
}

/* Global Layout */
.site-main {
    padding-top: 120px; /* Space for fixed header */
}

.site-main .hero-section {
    margin-top: -120px; /* Homepage hero handles its own spacing */
    padding-top: 120px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

p {
    color: var(--grey-light);
    font-size: 1.1rem;
    line-height: 1.7;
}

.text-coral { color: var(--coral); }
.text-white { color: var(--white); }
.text-grey { color: var(--grey-light); }

/* Container */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 60px;
}

@media (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .container > * {
        max-width: 100%;
    }

    .container.section {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.15);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 111, 97, 0.1);
    transition: all var(--transition-medium);
    padding: 28px 0;
}

.site-header.scrolled {
    background: rgba(10, 10, 10, 0.4);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    padding: 20px 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 111, 97, 0.1);
    border-bottom: 1px solid rgba(255, 111, 97, 0.2);
}

.site-header .container {
    max-width: 1400px;
    padding: 0 40px;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: auto;
    min-height: 0;
}

/* Language Switcher - Premium Pill Toggle */
.lang-toggle {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lang-toggle__slider {
    position: absolute;
    left: 3px;
    width: calc(50% - 3px);
    height: calc(100% - 6px);
    background: linear-gradient(135deg, var(--coral) 0%, var(--coral-dark) 100%);
    border-radius: 18px;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(255, 111, 97, 0.4);
    z-index: 0;
}

.lang-toggle__slider.is-right {
    transform: translateX(100%);
}

.lang-toggle__btn {
    position: relative;
    z-index: 1;
    color: var(--grey-light);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    transition: color 0.3s ease;
    letter-spacing: 0.05em;
}

.lang-toggle__btn:hover {
    color: var(--white);
}

.lang-toggle__btn.is-active {
    color: var(--white);
}

.lang-toggle:hover {
    border-color: rgba(255, 111, 97, 0.3);
    box-shadow: 0 0 20px rgba(255, 111, 97, 0.15);
}

@media (min-width: 769px) {
    .header-content {
        display: grid !important;
        grid-template-columns: 1fr auto 1fr !important;
        align-items: center !important;
        width: 100% !important;
        justify-content: initial !important;
    }

    .site-branding {
        justify-self: start !important;
    }

    /* Center navigation in middle column */
    .main-navigation {
        justify-self: center !important;
        position: static !important;
        transform: none !important;
    }

    .main-navigation ul {
        margin: 0 !important;
        justify-content: center !important;
    }

    .header-right-group {
        justify-self: end !important;
        display: flex !important;
        align-items: center !important;
        gap: 15px !important;
    }

    .lang-toggle,
    .desktop-only-toggle,
    .header-client-zone {
        flex-shrink: 0;
    }
}

/* Language toggle and client zone in menu - hidden by default, shown on mobile */
.menu-lang-toggle,
.menu-client-zone,
li.menu-client-zone {
    display: none !important;
    visibility: hidden !important;
}

/* Desktop-only toggle - hidden on mobile */
.desktop-only-toggle {
    display: flex;
}

/* Header right group - hidden by default, shown on desktop via grid media query */
.header-right-group {
    display: none;
}

/* Mobile: header toggle hidden, menu toggle visible */
@media only screen and (max-width: 768px) {
    /* Hide header right group on mobile */
    .header-right-group,
    #lang-toggle,
    .lang-toggle,
    .desktop-only-toggle,
    .header-client-zone,
    .header-content .lang-toggle,
    .header-content #lang-toggle,
    .header-content .desktop-only-toggle,
    .header-content .header-client-zone {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        position: absolute !important;
        left: -9999px !important;
    }

    /* Show client zone in mobile menu */
    .menu-client-zone,
    li.menu-client-zone {
        display: block !important;
        visibility: visible !important;
        width: 100% !important;
        text-align: center !important;
        padding: 15px 0 !important;
    }

    .menu-client-zone a {
        color: #a0a0a0 !important;
        text-decoration: none !important;
        font-size: 1rem !important;
    }

    /* Show menu toggle on mobile */
    .menu-lang-toggle {
        display: block !important;
        visibility: visible !important;
        width: 100% !important;
        text-align: center !important;
        padding: 15px 0 !important;
        border: none !important;
        background: none !important;
        list-style: none !important;
    }

    .menu-lang-toggle {
        margin-top: auto !important;
        padding-bottom: 80px !important;
    }

    .menu-lang-toggle .lang-toggle-inline {
        display: inline-flex !important;
        align-items: center !important;
        position: relative !important;
        background: rgba(40, 40, 40, 0.95) !important;
        border: 1px solid rgba(255,255,255,0.2) !important;
        border-radius: 30px !important;
        padding: 4px !important;
    }

    .menu-lang-toggle .lang-toggle__slider {
        position: absolute !important;
        left: 4px !important;
        top: 4px !important;
        width: calc(50% - 4px) !important;
        height: calc(100% - 8px) !important;
        background: linear-gradient(135deg, #FF6F61 0%, #e55a4d 100%) !important;
        border-radius: 24px !important;
        box-shadow: 0 2px 8px rgba(255,111,97,0.4) !important;
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    .menu-lang-toggle .lang-toggle__slider.is-right {
        transform: translateX(100%) !important;
    }

    .menu-lang-toggle .lang-toggle__btn {
        position: relative !important;
        z-index: 1 !important;
        color: #a0a0a0 !important;
        text-decoration: none !important;
        font-size: 0.85rem !important;
        font-weight: 700 !important;
        padding: 8px 18px !important;
        border-radius: 24px !important;
        letter-spacing: 0.05em !important;
    }

    .menu-lang-toggle .lang-toggle__btn.is-active {
        color: #fff !important;
        position: relative !important;
        margin: 0 auto !important;
    }
}

.site-logo {
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    transition: all var(--transition-fast);
    letter-spacing: -0.02em;
}

.site-logo:hover {
    color: var(--coral);
    transform: scale(1.05);
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
}

.main-navigation ul {
    display: flex;
    flex-wrap: nowrap;
    list-style: none;
    gap: 30px;
    margin: 0;
    align-items: center;
}

.main-navigation li {
    white-space: nowrap;
}

.main-navigation a {
    color: var(--grey-light);
    text-decoration: none;
    white-space: nowrap;
    font-weight: 500;
    position: relative;
    transition: color var(--transition-fast);
}

.main-navigation a:hover {
    color: var(--white);
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 3px;
    border-radius: 2px;
    background: var(--coral);
    transition: width var(--transition-medium);
}

.main-navigation a:hover::after {
    width: 100%;
}


/* Desktop client zone link - same style as nav links */
.header-client-zone {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #a0a0a0 !important;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8rem;
    white-space: nowrap;
    position: relative;
    transition: color 0.2s ease;
}

.header-client-zone:hover {
    color: #ffffff !important;
}

.header-client-zone::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 3px;
    border-radius: 2px;
    background: #FF6F61;
    transition: width 0.3s ease;
}

.header-client-zone:hover::after {
    width: 100%;
}

/* Modern Professional Hamburger Menu */
.modern-hamburger {
    display: none !important;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    width: 48px;
    height: 48px;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
}

/* FORCE HIDE ON DESKTOP */

/* FORCE SHOW ONLY ON MOBILE */
@media (max-width: 768px) {
    .modern-hamburger {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        left: auto !important;
        width: 48px !important;
        height: 48px !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

.modern-hamburger:hover {
    background: rgba(255, 111, 97, 0.1);
    border-color: rgba(255, 111, 97, 0.3);
    transform: translateY(-1px);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.15),
        0 1px 3px rgba(0, 0, 0, 0.1);
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    gap: 4px;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.modern-hamburger:hover .hamburger-line {
    background: var(--coral);
    box-shadow: 0 0 8px rgba(255, 111, 97, 0.3);
}

/* Mobile Only Display */
@media (max-width: 768px) {
    /* Mobile header layout - logo left, hamburger right */
    .header-content {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
    }

    .main-navigation {
        position: static !important;
        transform: none !important;
        left: auto !important;
        margin-left: auto !important;
    }

    .modern-hamburger {
        display: flex !important;
        align-items: center;
        justify-content: center;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        left: auto !important;
        width: 48px !important;
        height: 48px !important;
    }

    .main-navigation ul {
        display: none !important;
    }

    .main-navigation ul.show {
        display: flex !important;
    }
}

/* Desktop Navigation - Standard approach */
@media (min-width: 769px) {
    .modern-hamburger,
    .menu-toggle,
    button.menu-toggle,
    button.modern-hamburger,
    .site-header .modern-hamburger,
    .site-header .menu-toggle,
    .main-navigation .modern-hamburger,
    .main-navigation .menu-toggle {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        position: absolute !important;
        left: -9999px !important;
    }
    
    .main-navigation ul {
        display: flex;
        flex-direction: row;
        position: static;
        background: none;
        padding: 0;
        gap: 2rem;
        transform: none;
        opacity: 1;
        visibility: visible;
    }
    
    .main-navigation ul a {
        display: inline-block;
        padding: 0.5rem 0;
        color: var(--white);
        text-decoration: none;
        transition: color 0.3s ease;
        transform: none;
        opacity: 1;
        animation: none;
    }
    
    .main-navigation ul a:hover {
        color: var(--coral);
    }
}

/* Professional Smooth Hamburger Animation */
.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 1px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform-origin: center;
    position: relative;
}

.modern-hamburger .hamburger-line:nth-child(1) {
    transform: translateY(0) rotate(0deg);
}

.modern-hamburger .hamburger-line:nth-child(2) {
    transform: scaleX(1);
    opacity: 1;
}

.modern-hamburger .hamburger-line:nth-child(3) {
    transform: translateY(0) rotate(0deg);
}

/* Smooth X formation on active */
.modern-hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

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

.modern-hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Enhanced hover animation */
.modern-hamburger:hover .hamburger-line {
    background: var(--coral);
    box-shadow: 0 0 8px rgba(255, 111, 97, 0.3);
    transform: scaleX(1.1);
}

.modern-hamburger:hover .hamburger-line:nth-child(2) {
    transform: scaleX(0.8);
}

.modern-hamburger.active:hover .hamburger-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg) scaleX(1.1);
}

.modern-hamburger.active:hover .hamburger-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg) scaleX(1.1);
}

/* Micro-interactions */
.modern-hamburger {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-hamburger:active {
    transform: scale(0.95);
}

.modern-hamburger.active {
    background: rgba(255, 111, 97, 0.15);
    border-color: rgba(255, 111, 97, 0.4);
}

/* Opening/Closing animation states */
.modern-hamburger.opening {
    animation: menuOpening 0.4s ease-out;
}

.modern-hamburger.closing {
    animation: menuClosing 0.4s ease-out;
}

@keyframes menuOpening {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 25px rgba(255, 111, 97, 0.2);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(255, 111, 97, 0.1);
    }
}

@keyframes menuClosing {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(255, 111, 97, 0.1);
    }
    50% {
        transform: scale(0.95);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    }
}

/* Staggered line animation for extra smoothness */
.modern-hamburger .hamburger-line:nth-child(1) {
    transition-delay: 0ms;
}

.modern-hamburger .hamburger-line:nth-child(2) {
    transition-delay: 50ms;
}

.modern-hamburger .hamburger-line:nth-child(3) {
    transition-delay: 100ms;
}

.modern-hamburger.active .hamburger-line:nth-child(1) {
    transition-delay: 0ms;
}

.modern-hamburger.active .hamburger-line:nth-child(2) {
    transition-delay: 75ms;
}

.modern-hamburger.active .hamburger-line:nth-child(3) {
    transition-delay: 150ms;
}

.hamburger {
    width: 24px;
    height: 3px;
    border-radius: 2px;
    background: var(--coral);
    box-shadow: 0 0 8px rgba(255, 111, 97, 0.5);
    transition: all var(--transition-medium);
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 3px;
    border-radius: 2px;
    background: var(--coral);
    box-shadow: 0 0 8px rgba(255, 111, 97, 0.5);
    transition: all var(--transition-medium);
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

.menu-toggle.active .hamburger {
    background: transparent;
}

.menu-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.menu-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}

/* New Hamburger Menu */
.hamburger-lines {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    width: 30px !important;
    height: 22px !important;
}

.line {
    display: block !important;
    width: 30px !important;
    height: 4px !important;
    background: #ffffff !important; /* White lines for visibility */
    border-radius: 2px !important;
    margin: 3px 0 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 0 10px rgba(255, 255, 255, 1) !important; /* White glow */
    opacity: 1 !important;
    visibility: visible !important;
}

.menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .main-navigation {
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }
    
    .menu-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        background: rgba(255, 111, 97, 0.5) !important;
        border: 3px solid #FF6F61 !important;
        box-shadow: 0 0 20px rgba(255, 111, 97, 0.8) !important;
        z-index: 9999 !important;
        position: relative !important;
    }
    
    .line {
        background: #FF6F61 !important;
        box-shadow: 0 0 15px rgba(255, 111, 97, 1) !important;
        width: 28px !important;
        height: 4px !important;
    }
    
    .hamburger-lines {
        width: 28px !important;
        height: 20px !important;
    }
}

.menu-toggle.active .line1 {
    transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active .line2 {
    opacity: 0;
}
.menu-toggle.active .line3 {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.hero-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 140px 0 100px;
}

.hero-content h1 {
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--white) 0%, var(--grey-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: var(--grey-light);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: var(--radius-small);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-medium);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity var(--transition-medium);
    border-radius: var(--radius-small);
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--coral) 0%, var(--coral-bright) 100%);
    color: var(--white);
    box-shadow: 
        0 4px 16px rgba(255, 111, 97, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 111, 97, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--coral-bright) 0%, var(--coral) 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 8px 24px rgba(255, 111, 97, 0.4),
        0 4px 12px rgba(255, 111, 97, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: rgba(26, 26, 26, 0.5);
    backdrop-filter: blur(8px) saturate(120%);
    -webkit-backdrop-filter: blur(8px) saturate(120%);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    border-color: rgba(255, 111, 97, 0.5);
    color: var(--coral);
    transform: translateY(-2px);
    background: rgba(26, 26, 26, 0.7);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Liquid Glass Button Enhancement */
.liquid-glass {
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.liquid-glass::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
}

.liquid-glass:hover::before {
    transform: translateX(0) translateY(0) rotate(45deg);
}

.liquid-glass:hover {
    background: rgba(255, 111, 97, 0.15) !important;
    border-color: rgba(255, 111, 97, 0.4);
    box-shadow: 
        0 12px 48px rgba(255, 111, 97, 0.3),
        0 4px 16px rgba(0, 0, 0, 0.2),
        inset 0 2px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(255, 111, 97, 0.1);
    transform: translateY(-3px) scale(1.02);
}

.btn-primary.liquid-glass {
    background: linear-gradient(135deg, 
        rgba(255, 111, 97, 0.9) 0%, 
        rgba(255, 138, 122, 0.9) 100%) !important;
    backdrop-filter: blur(16px) saturate(200%);
    -webkit-backdrop-filter: blur(16px) saturate(200%);
}

.btn-primary.liquid-glass:hover {
    background: linear-gradient(135deg, 
        rgba(255, 138, 122, 1) 0%, 
        rgba(255, 111, 97, 1) 100%) !important;
}

/* Cards */
.card {
    background: rgba(26, 26, 26, 0.7);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-medium);
    padding: 32px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--coral), transparent);
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 111, 97, 0.02);
    opacity: 0;
    transition: opacity var(--transition-medium);
    border-radius: var(--radius-medium);
    pointer-events: none;
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 111, 97, 0.3);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 111, 97, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    background: rgba(26, 26, 26, 0.8);
}

.card:hover::before,
.card:hover::after {
    opacity: 1;
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 32px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Sections */
.section {
    padding-top: 120px;
    padding-bottom: 120px;
}

.section-title {
    text-align: center;
    margin-bottom: 24px;
    color: var(--white);
}

.section-subtitle {
    text-align: center;
    margin-bottom: 80px;
    color: var(--grey-light);
    font-size: 1.3rem;
}

/* Services */
.service-card {
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-medium);
    padding: 40px 32px;
    text-align: center;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, rgba(255, 111, 97, 0.1), transparent, rgba(255, 111, 97, 0.1));
    border-radius: var(--radius-medium);
    opacity: 0;
    transition: opacity var(--transition-medium);
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 111, 97, 0.4);
    background: rgba(26, 26, 26, 0.8);
    box-shadow: 
        0 20px 60px rgba(255, 111, 97, 0.15),
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 24px;
    display: block;
    filter: grayscale(1) brightness(0.8);
    transition: all var(--transition-medium);
    transform: scale(1);
}

.service-card:hover .service-icon {
    filter: grayscale(0) brightness(1.1);
    transform: scale(1.05);
}

.service-card h3 {
    margin-bottom: 16px;
    color: var(--white);
}

.service-card p {
    color: var(--grey-light);
}

/* Page Headers */
.page-header {
    padding: 160px 0 80px;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.page-title {
    margin-bottom: 16px;
}

.page-subtitle {
    color: var(--grey-light);
    font-size: 1.3rem;
}

/* Forms */
.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--white);
    font-weight: 500;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(42, 42, 42, 0.6);
    backdrop-filter: blur(8px) saturate(120%);
    -webkit-backdrop-filter: blur(8px) saturate(120%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-small);
    color: var(--white);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: rgba(255, 111, 97, 0.5);
    background: rgba(42, 42, 42, 0.8);
    box-shadow: 
        0 0 0 3px rgba(255, 111, 97, 0.1),
        0 8px 24px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--grey-medium);
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animation Classes */
.animate-in {
    animation-fill-mode: both;
    animation-duration: 0.8s;
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate { animation-name: fadeInUp; }
.scroll-animate-left { animation-name: fadeInLeft; }
.scroll-animate-right { animation-name: fadeInRight; }
.scroll-animate-scale { animation-name: scaleIn; }

/* ==========================================================================
   SCROLL ANIMATIONS - Using existing scroll-animate classes
   ========================================================================== */

/* These work with IntersectionObserver in main.js */

/* Hero Text Animation */
.hero-text-animate {
    overflow: hidden;
}

/* Only hide words after JS has processed them (added .js-ready class) */
.hero-text-animate.js-ready .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-text-animate.is-visible .word {
    opacity: 1;
    transform: translateY(0);
}

/* Word stagger delays */
.hero-text-animate.js-ready .word:nth-child(1) { transition-delay: 0.0s; }
.hero-text-animate.js-ready .word:nth-child(2) { transition-delay: 0.08s; }
.hero-text-animate.js-ready .word:nth-child(3) { transition-delay: 0.16s; }
.hero-text-animate.js-ready .word:nth-child(4) { transition-delay: 0.24s; }
.hero-text-animate.js-ready .word:nth-child(5) { transition-delay: 0.32s; }
.hero-text-animate.js-ready .word:nth-child(6) { transition-delay: 0.40s; }
.hero-text-animate.js-ready .word:nth-child(7) { transition-delay: 0.48s; }
.hero-text-animate.js-ready .word:nth-child(8) { transition-delay: 0.56s; }

/* Counter Animation */
.counter-animate {
    display: inline-block;
}

/* Card hover is defined in base .card styles */

/* Pulse animation for CTAs */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 111, 97, 0.4);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(255, 111, 97, 0);
    }
}

.pulse-glow {
    animation: pulse-glow 2s infinite;
}

/* Floating animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.float-animate {
    animation: float 3s ease-in-out infinite;
}

/* Line reveal for headings */
.line-reveal {
    position: relative;
    display: inline-block;
}

.line-reveal::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--coral);
    transition: width 0.6s ease;
}

.line-reveal.is-visible::after,
.line-reveal:hover::after {
    width: 100%;
}

/* Parallax sections */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* ==========================================================================
   PAGE LOADING ANIMATION
   ========================================================================== */

/* Page loader overlay */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.page-loader__spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border-subtle);
    border-top-color: var(--coral);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   ENHANCED BUTTON EFFECTS
   ========================================================================== */

/* Animated gradient border button */
.btn-primary {
    position: relative;
    background: var(--coral);
    border: none;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 111, 97, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px);
}

/* Shimmer effect on buttons */
.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%
    );
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-primary:hover::after {
    transform: rotate(45deg) translateX(100%);
}

/* ==========================================================================
   ANIMATED LINK UNDERLINES
   ========================================================================== */

.animated-underline {
    position: relative;
    text-decoration: none;
}

.animated-underline::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--coral);
    transition: width 0.3s ease;
}

.animated-underline:hover::after {
    width: 100%;
}

/* Apply to nav links */
.main-navigation a {
    position: relative;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--coral);
    transition: width 0.3s ease;
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item a::after {
    width: 100%;
}

/* ==========================================================================
   IMAGE HOVER ZOOM EFFECT
   ========================================================================== */

.img-zoom-container {
    overflow: hidden;
    border-radius: var(--radius-medium);
}

.img-zoom-container img {
    transition: transform 0.5s ease;
}

.img-zoom-container:hover img {
    transform: scale(1.08);
}

/* Apply to project gallery */
.project-gallery__slide img {
    transition: transform 0.5s ease;
}

.project-card:hover .project-gallery__slide.active img {
    transform: scale(1.05);
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    [data-animate],
    .hero-text-animate .word,
    .card-hover-lift,
    .card-hover-glow::after,
    .btn-hover-slide::before,
    .float-animate,
    .line-reveal::after,
    .page-loader,
    .btn-primary::after {
        transition: none;
        animation: none;
        transform: none;
        opacity: 1;
    }
}

/* Footer */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    padding: 80px 0 40px;
    margin-top: 120px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: var(--white);
}

.footer-section a {
    color: var(--grey-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-section a:hover {
    color: var(--coral);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--border-subtle);
    color: var(--grey-medium);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .site-header {
        padding: 16px 0;
    }
    
    .site-header.scrolled {
        padding: 12px 0;
    }
    
    .site-header img {
        height: 48px !important;
    }
    
    .site-main {
        padding-top: 100px;
    }
    
    .site-main .hero-section {
        margin-top: -100px;
        padding-top: 100px;
    }
    
    .card,
    .service-card {
        padding: 20px;
        max-width: 100%;
        box-sizing: border-box;
    }

    .card p,
    .card h2,
    .card h3 {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .grid {
        gap: 20px;
        max-width: 100%;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr !important;
    }

    .grid > *,
    .card,
    .service-card,
    .faq-item {
        max-width: 100%;
        width: auto;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }

    /* Hero section mobile fix */
    .hero-section,
    .hero-content,
    .page-header {
        max-width: 100vw;
        overflow-x: hidden;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    /* Stats on hero */
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .site-logo {
        font-size: 2.2rem;
    }

    .main-navigation ul {
        display: none;
    }

    .menu-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 9999 !important;
        position: relative !important;
    }

    .hero-content {
        padding: 100px 0 60px;
    }

    .section {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .btn {
        padding: 14px 24px;
    }

    /* Prevent overflow on mobile */
    .testimonials-carousel,
    .testimonials-carousel-about,
    .timeline-content,
    .faq-item,
    .expertise-card,
    .card {
        max-width: 100%;
    }

    .testimonial-prev,
    .testimonial-next,
    .testimonial-prev-about,
    .testimonial-next-about {
        display: none;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    /* About page mobile */
    .about-image {
        order: -1;
    }

    .about-image > div {
        width: 200px;
        height: 200px;
        font-size: 3rem;
    }

    .services-overview {
        padding: 2rem;
    }

    .stat-item span:first-child {
        font-size: 2.5rem;
    }

    /* Testimonials mobile */
    .testimonial-slide p,
    .testimonial-slide-about p,
    .testimonial-slide.card p,
    .testimonial-slide-about.card p {
        font-size: 0.9rem !important;
        line-height: 1.6 !important;
        margin: 15px 0 15px !important;
    }

    .testimonial-slide,
    .testimonial-slide-about,
    .testimonial-slide.card,
    .testimonial-slide-about.card {
        padding: 30px 15px !important;
    }

    .testimonial-bubble,
    .testimonial-bubble-about {
        width: 45px !important;
        height: 45px !important;
        font-size: 1.1rem !important;
        top: -10px !important;
    }

    .testimonials-carousel,
    .testimonials-carousel-about {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-bottom: 40px;
    }

    /* Author info smaller */
    .testimonial-slide > div:last-child,
    .testimonial-slide-about > div:last-child {
        gap: 12px !important;
    }

    .testimonial-slide > div:last-child > div:first-child,
    .testimonial-slide-about > div:last-child > div:first-child {
        width: 45px !important;
        height: 45px !important;
        font-size: 1.1rem !important;
    }

    .testimonial-slide > div:last-child > div:last-child > div:first-child,
    .testimonial-slide-about > div:last-child > div:last-child > div:first-child {
        font-size: 0.95rem !important;
    }

    .testimonial-slide > div:last-child > div:last-child > div:last-child,
    .testimonial-slide-about > div:last-child > div:last-child > div:last-child {
        font-size: 0.8rem !important;
    }
}

/* WordPress Specific */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Utility Classes */
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 40px; }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 40px; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Glass Components */
.glass-input {
    background: rgba(42, 42, 42, 0.6);
    backdrop-filter: blur(8px) saturate(120%);
    -webkit-backdrop-filter: blur(8px) saturate(120%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-small);
    color: var(--white);
    padding: 16px 20px;
    transition: all var(--transition-fast);
    width: 100%;
}

.glass-input:focus {
    outline: none;
    border-color: rgba(255, 111, 97, 0.5);
    background: rgba(42, 42, 42, 0.8);
    box-shadow: 
        0 0 0 3px rgba(255, 111, 97, 0.1),
        0 8px 24px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.glass-button {
    background: rgba(26, 26, 26, 0.5);
    backdrop-filter: blur(8px) saturate(120%);
    -webkit-backdrop-filter: blur(8px) saturate(120%);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    padding: 16px 32px;
    border-radius: var(--radius-small);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition-medium);
}

.glass-button:hover {
    border-color: rgba(255, 111, 97, 0.5);
    color: var(--coral);
    transform: translateY(-2px);
    background: rgba(26, 26, 26, 0.7);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Mobile Menu Overlay */
/* Modern Mobile Menu Overlay */
@media (max-width: 768px) {
    .main-navigation {
        position: relative;
    }
    
    .main-navigation ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(400px, 85vw);
        height: 100vh;
        background: rgba(10, 10, 10, 0.85);
        backdrop-filter: blur(40px) saturate(180%);
        -webkit-backdrop-filter: blur(40px) saturate(180%);
        border-left: 1px solid rgba(255, 111, 97, 0.1);
        /* Cross-browser transitions */
        transition: right 0.5s ease-in-out, 
                   transform 0.5s ease-in-out, 
                   opacity 0.5s ease-in-out;
        -webkit-transition: right 0.5s ease-in-out, 
                           transform 0.5s ease-in-out, 
                           opacity 0.5s ease-in-out;
        -moz-transition: right 0.5s ease-in-out, 
                        transform 0.5s ease-in-out, 
                        opacity 0.5s ease-in-out;
        -o-transition: right 0.5s ease-in-out, 
                      transform 0.5s ease-in-out, 
                      opacity 0.5s ease-in-out;
        z-index: 1000;
        padding: 100px 40px 40px;
        box-shadow: -20px 0 60px rgba(0, 0, 0, 0.3);
        display: flex;
        flex-direction: column;
        gap: 0;
        transform: translateX(100%);
        -webkit-transform: translateX(100%);
        -moz-transform: translateX(100%);
        -o-transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
    }
    
    .main-navigation ul.show {
        right: 0;
        transform: translateX(0);
        -webkit-transform: translateX(0);
        -moz-transform: translateX(0);
        -o-transform: translateX(0);
        opacity: 1;
        visibility: visible;
        /* Enhanced cross-browser transitions for opening */
        transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), 
                   transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), 
                   opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
                   visibility 0s linear 0s;
        -webkit-transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), 
                           -webkit-transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), 
                           opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
                           visibility 0s linear 0s;
        -moz-transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), 
                        -moz-transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), 
                        opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
                        visibility 0s linear 0s;
        -o-transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), 
                      -o-transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), 
                      opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
                      visibility 0s linear 0s;
    }
    
    .main-navigation ul li {
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .main-navigation ul li:last-child {
        border-bottom: none;
    }
    
    .main-navigation ul a {
        display: block;
        padding: 20px 0;
        font-size: 1.1rem;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.9);
        text-decoration: none;
        transition: all 0.3s ease;
        -webkit-transition: all 0.3s ease;
        -moz-transition: all 0.3s ease;
        -o-transition: all 0.3s ease;
        position: relative;
        transform: translateX(50px);
        -webkit-transform: translateX(50px);
        -moz-transform: translateX(50px);
        -o-transform: translateX(50px);
        opacity: 0;
        animation-fill-mode: forwards;
        -webkit-animation-fill-mode: forwards;
        -moz-animation-fill-mode: forwards;
        -o-animation-fill-mode: forwards;
    }
    
    .main-navigation ul.show a {
        animation: menuItemSlide 0.5s ease-out forwards;
        -webkit-animation: menuItemSlide 0.5s ease-out forwards;
        -moz-animation: menuItemSlide 0.5s ease-out forwards;
        -o-animation: menuItemSlide 0.5s ease-out forwards;
    }
    
    .main-navigation ul.show a:nth-child(1) { 
        animation-delay: 0.1s; 
        -webkit-animation-delay: 0.1s;
        -moz-animation-delay: 0.1s;
        -o-animation-delay: 0.1s;
    }
    .main-navigation ul.show a:nth-child(2) { 
        animation-delay: 0.2s;
        -webkit-animation-delay: 0.2s;
        -moz-animation-delay: 0.2s;
        -o-animation-delay: 0.2s;
    }
    .main-navigation ul.show a:nth-child(3) { 
        animation-delay: 0.3s;
        -webkit-animation-delay: 0.3s;
        -moz-animation-delay: 0.3s;
        -o-animation-delay: 0.3s;
    }
    .main-navigation ul.show a:nth-child(4) { 
        animation-delay: 0.4s;
        -webkit-animation-delay: 0.4s;
        -moz-animation-delay: 0.4s;
        -o-animation-delay: 0.4s;
    }
    .main-navigation ul.show a:nth-child(5) { 
        animation-delay: 0.5s;
        -webkit-animation-delay: 0.5s;
        -moz-animation-delay: 0.5s;
        -o-animation-delay: 0.5s;
    }
    
    .main-navigation ul a:hover {
        color: var(--coral);
        padding-left: 12px;
        background: rgba(255, 111, 97, 0.05);
        border-radius: 8px;
    }
    
    .main-navigation ul a::before {
        content: '';
        position: absolute;
        left: -40px;
        top: 50%;
        transform: translateY(-50%);
        width: 3px;
        height: 0;
        background: var(--coral);
        transition: height 0.3s ease;
    }
    
    .main-navigation ul a:hover::before {
        height: 100%;
    }
}

/* FINAL DESKTOP OVERRIDE - Must come last to override all mobile styles */
@media screen and (min-width: 769px) {
    .modern-hamburger,
    .menu-toggle,
    button.menu-toggle,
    button.modern-hamburger,
    .site-header .modern-hamburger,
    .site-header .menu-toggle,
    .main-navigation .modern-hamburger,
    .main-navigation .menu-toggle,
    .header-content .modern-hamburger,
    .header-content .menu-toggle {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        position: absolute !important;
        left: -9999px !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        z-index: -1 !important;
        transform: scale(0) !important;
    }
    
    .main-navigation {
        display: flex !important;
    }
    
    .main-navigation ul {
        display: flex !important;
        flex-direction: row !important;
        position: static !important;
        background: transparent !important;
        backdrop-filter: none !important;
        padding: 0 !important;
        gap: 2rem !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        right: auto !important;
        top: auto !important;
        left: auto !important;
        width: auto !important;
        height: auto !important;
        border: none !important;
        box-shadow: none !important;
        margin: 0 !important;
    }
    
    .main-navigation ul li {
        display: inline-block !important;
        margin: 0 !important;
        border-bottom: none !important;
    }
    
    .main-navigation ul a {
        display: inline-block !important;
        padding: 0.5rem 0 !important;
        color: var(--white) !important;
        text-decoration: none !important;
        transition: color 0.3s ease !important;
        background: transparent !important;
        transform: none !important;
        opacity: 1 !important;
        animation: none !important;
        position: relative !important;
        font-size: 1rem !important;
        font-weight: 500 !important;
    }
    
    .main-navigation ul a:hover {
        color: var(--coral) !important;
        background: transparent !important;
        padding-left: 0 !important;
    }
}

/* Menu Item Slide Animation - Cross Browser */
@keyframes menuItemSlide {
    0% {
        transform: translateX(50px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@-webkit-keyframes menuItemSlide {
    0% {
        -webkit-transform: translateX(50px);
        opacity: 0;
    }
    100% {
        -webkit-transform: translateX(0);
        opacity: 1;
    }
}

@-moz-keyframes menuItemSlide {
    0% {
        -moz-transform: translateX(50px);
        opacity: 0;
    }
    100% {
        -moz-transform: translateX(0);
        opacity: 1;
    }
}

@-o-keyframes menuItemSlide {
    0% {
        -o-transform: translateX(50px);
        opacity: 0;
    }
    100% {
        -o-transform: translateX(0);
        opacity: 1;
    }
}

/* Mobile navigation open state */
@media (max-width: 768px) {
    .main-navigation.mobile-open {
        right: 0;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 24px;
        align-items: flex-start;
    }

    .main-navigation a {
        font-size: 1.2rem;
        padding: 12px 0;
        display: block;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    body.menu-open {
        overflow: hidden;
    }
}

/* ==========================================================================
   PORTFOLIO PAGE STYLES
   ========================================================================== */

/* Portfolio Hero */
.portfolio-hero {
    padding: 160px 0 80px;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
}

.portfolio-hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.portfolio-hero__title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    text-align: center;
    background: linear-gradient(135deg, var(--white) 0%, var(--grey-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.portfolio-hero__subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--grey-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Portfolio Grid Section */
.portfolio-grid-section {
    padding: 80px 0 120px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* Project Card */
.project-card {
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-medium);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--coral), transparent);
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 111, 97, 0.3);
    background: rgba(26, 26, 26, 0.8);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 111, 97, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.project-card:hover::before {
    opacity: 1;
}

.project-card:focus-within {
    outline: 2px solid var(--coral);
    outline-offset: 4px;
}

/* Project Client */
.project-client {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--coral);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0;
}

/* Project Title */
.project-card h3,
.project-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.4;
    margin: 0;
}

/* Project Description */
.project-description {
    font-size: 1rem;
    color: var(--grey-light);
    line-height: 1.7;
    margin: 0;
    flex-grow: 1;
}

/* Project Tags */
.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.project-tag {
    display: inline-block;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--grey-light);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    transition: all var(--transition-fast);
}

.project-card:hover .project-tag {
    border-color: rgba(255, 111, 97, 0.2);
    background: rgba(255, 111, 97, 0.08);
}

/* Project Link */
.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--coral);
    text-decoration: none;
    margin-top: auto;
    padding-top: 8px;
    transition: all var(--transition-fast);
}

.project-link:hover {
    color: var(--coral-bright);
}

.project-link__arrow {
    display: inline-block;
    transition: transform var(--transition-fast);
}

.project-link:hover .project-link__arrow {
    transform: translateX(4px);
}

.project-link:focus {
    outline: 2px solid var(--coral);
    outline-offset: 4px;
    border-radius: 4px;
}

/* Special CTA Card */
.project-card--cta {
    background: linear-gradient(135deg, rgba(255, 111, 97, 0.1) 0%, rgba(26, 26, 26, 0.6) 100%);
    border-color: rgba(255, 111, 97, 0.2);
}

.project-card--cta:hover {
    background: linear-gradient(135deg, rgba(255, 111, 97, 0.15) 0%, rgba(26, 26, 26, 0.8) 100%);
    border-color: rgba(255, 111, 97, 0.4);
}

/* Portfolio CTA Section */
.portfolio-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border-top: 1px solid var(--border-subtle);
}

.portfolio-cta__content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.portfolio-cta__title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.portfolio-cta__text {
    font-size: 1.15rem;
    color: var(--grey-light);
    line-height: 1.7;
    margin-bottom: 40px;
}

.portfolio-cta__buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Portfolio Responsive - Tablet (2 columns) */
@media (max-width: 1100px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

/* Portfolio Responsive - Mobile (1 column) */
@media (max-width: 768px) {
    .portfolio-hero {
        padding: 120px 0 60px;
    }

    .portfolio-hero__title {
        font-size: 2rem;
    }

    .portfolio-hero__subtitle {
        font-size: 1rem;
        padding: 0 16px;
    }

    .portfolio-grid-section {
        padding: 60px 0 80px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .project-card {
        padding: 24px;
    }

    .project-card h3,
    .project-title {
        font-size: 1.15rem;
    }

    .project-description {
        font-size: 0.95rem;
    }

    .project-tag {
        padding: 5px 12px;
        font-size: 0.75rem;
    }

    .portfolio-cta {
        padding: 80px 0;
    }

    .portfolio-cta__title {
        font-size: 1.75rem;
    }

    .portfolio-cta__text {
        font-size: 1rem;
        padding: 0 16px;
    }

    .portfolio-cta__buttons {
        flex-direction: column;
        align-items: center;
    }

    .portfolio-cta__buttons .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* Portfolio Animations */
.project-card {
    opacity: 0;
    transform: translateY(30px);
    animation: portfolioFadeIn 0.6s ease-out forwards;
}

.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }
.project-card:nth-child(4) { animation-delay: 0.4s; }
.project-card:nth-child(5) { animation-delay: 0.5s; }
.project-card:nth-child(6) { animation-delay: 0.6s; }
.project-card:nth-child(7) { animation-delay: 0.7s; }
.project-card:nth-child(8) { animation-delay: 0.8s; }

@keyframes portfolioFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .project-card {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .project-card:hover {
        transform: none;
    }

    .project-link__arrow {
        transition: none;
    }

    .project-link:hover .project-link__arrow {
        transform: none;
    }
}

/* ==========================================================================
   PROJECT CARD WITH GALLERY - OVERLAY APPROACH
   ========================================================================== */

/* Card with gallery - needs positioning context and fixed height */
.project-card.has-gallery {
    position: relative;
    min-height: 320px;
}

/* Content wrapper - always visible */
.project-card__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Gallery indicator icon */
.project-gallery-indicator {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: rgba(255, 111, 97, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 3;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.project-card:hover .project-gallery-indicator {
    opacity: 0;
    transform: scale(0.8);
}

/* Gallery - absolutely positioned over the card content */
.project-gallery {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-medium);
    overflow: hidden;
    background: var(--bg-secondary);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 5;
}

/* Hint to click for fullscreen */
.project-gallery__hint {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    padding: 8px 16px;
    border-radius: 20px;
    z-index: 10;
}

.project-gallery__hint span {
    color: white;
    font-size: 0.85rem;
    white-space: nowrap;
}

/* Maximized gallery - fullscreen overlay */
.gallery-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay.active {
    opacity: 1;
}

.gallery-overlay__content {
    position: relative;
    width: 90vw;
    height: 80vh;
    max-width: 1200px;
}

.gallery-overlay__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-overlay__slide.active {
    opacity: 1;
}

.gallery-overlay__slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: var(--radius-medium);
}

.gallery-overlay__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.gallery-overlay__close:hover {
    background: var(--coral);
    border-color: var(--coral);
}

.gallery-overlay__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.gallery-overlay__nav:hover {
    background: var(--coral);
    border-color: var(--coral);
}

.gallery-overlay__nav--prev {
    left: 20px;
}

.gallery-overlay__nav--next {
    right: 20px;
}

.gallery-overlay__dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.gallery-overlay__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-overlay__dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

.gallery-overlay__dot.active {
    background: var(--coral);
}

.gallery-overlay__info {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
}

.gallery-overlay__info .project-client {
    color: var(--coral);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.gallery-overlay__info .project-title {
    font-size: 1.5rem;
    font-weight: 600;
}

/* Individual slides - stacked on top of each other */
.project-gallery__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* Only the active slide is visible */
.project-gallery__slide.active {
    opacity: 1;
}

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

/* Dots/indicators */
.project-gallery__dots {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 20px;
}

.project-gallery__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background 0.3s ease;
}

.project-gallery__dot.active {
    background: var(--coral);
}

/* Info overlay at bottom */
.project-gallery__info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.6) 70%, transparent 100%);
    z-index: 15;
    pointer-events: auto;
}

.project-gallery__info .project-client {
    margin-bottom: 4px;
}

.project-gallery__info .project-title {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.project-gallery__info .project-link {
    margin-top: 0;
    padding-top: 0;
    pointer-events: auto;
    position: relative;
    z-index: 10;
}

/* ==========================================================================
   HOVER STATE - Show gallery, hide content
   ========================================================================== */

.project-card.has-gallery:hover .project-card__content,
.project-card.has-gallery.is-expanded .project-card__content {
    opacity: 0;
    pointer-events: none;
}

.project-card.has-gallery:hover .project-gallery,
.project-card.has-gallery.is-expanded .project-gallery {
    display: block;
    opacity: 1;
}

.project-card.has-gallery:hover,
.project-card.has-gallery.is-expanded {
    z-index: 10;
    transform: translateY(-8px);
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 111, 97, 0.2);
}

/* ==========================================================================
   MOBILE - Only expand on tap (is-expanded class)
   ========================================================================== */

@media (max-width: 768px) {
    .project-card.has-gallery {
        min-height: 280px;
    }

    /* On mobile, hover should NOT show gallery */
    .project-card.has-gallery:hover .project-card__content {
        opacity: 1;
    }

    .project-card.has-gallery:hover .project-gallery {
        display: none;
    }

    .project-card.has-gallery:hover {
        transform: translateY(-4px);
    }

    /* Only .is-expanded class shows gallery on mobile (via tap) */
    .project-card.has-gallery.is-expanded .project-card__content {
        opacity: 0;
        pointer-events: none;
    }

    .project-card.has-gallery.is-expanded .project-gallery {
        display: block;
        opacity: 1;
    }

    .project-gallery__dots {
        bottom: 70px;
    }

    .project-gallery__info {
        padding: 16px;
    }
}

/* Old indicator styles - keeping for compatibility */
.project-gallery__indicators {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    border-radius: 20px;
}

.project-gallery__indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.project-gallery__indicator:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

.project-gallery__indicator.active {
    background: var(--coral);
    box-shadow: 0 0 8px rgba(255, 111, 97, 0.6);
}

/* Progress bar for auto-slide */
.project-gallery__progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--coral), var(--coral-bright));
    border-radius: 0 0 var(--radius-medium) var(--radius-medium);
    width: 0%;
    z-index: 10;
    transition: width linear;
}

.project-card.has-gallery:hover .project-gallery__progress,
.project-card.has-gallery.is-expanded .project-gallery__progress {
    animation: galleryProgress 3s linear infinite;
}

@keyframes galleryProgress {
    from { width: 0%; }
    to { width: 100%; }
}

/* Gallery overlay gradient for better text readability */
.project-gallery::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.9), transparent);
    pointer-events: none;
    z-index: 2;
    border-radius: 0 0 var(--radius-medium) var(--radius-medium);
}

/* Additional mobile adjustments for gallery indicators */
@media (max-width: 768px) {
    .project-gallery__indicators {
        bottom: 60px;
        padding: 4px 8px;
    }

    .project-gallery__indicator {
        width: 6px;
        height: 6px;
    }

    .project-gallery__info .project-title {
        font-size: 1rem;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .project-gallery__slide {
        transition: opacity 0.2s ease;
        transform: none;
    }

    .project-gallery__slide.active {
        transform: none;
    }

    .project-card.has-gallery:hover .project-gallery__progress,
    .project-card.has-gallery.is-expanded .project-gallery__progress {
        animation: none;
    }

    .project-card.has-gallery .project-gallery {
        transition: height 0.2s ease, opacity 0.2s ease;
    }
}
/* ============================================
   NEW ANIMATIONS - Make site feel alive
   ============================================ */

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--coral), var(--coral-bright, #ff8a7a));
    z-index: 9999;
    transition: width 0.1s ease-out;
}

/* Icon Pulse/Glow on Hover */
.card:hover .service-icon,
.service-card:hover .service-icon,
.card:hover > div:first-child {
    animation: iconPulse 1.5s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        filter: drop-shadow(0 0 0 rgba(255, 111, 97, 0));
        transform: scale(1);
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(255, 111, 97, 0.6));
        transform: scale(1.05);
    }
}

/* Animated Gradient Background for CTA sections */
.cta-gradient-animated {
    background: linear-gradient(135deg, 
        rgba(255, 111, 97, 0.1) 0%, 
        rgba(255, 138, 122, 0.05) 50%, 
        rgba(255, 111, 97, 0.1) 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Floating/Breathing Animation for Cards */
.card-float {
    animation: cardFloat 6s ease-in-out infinite;
}

.card-float:nth-child(2n) {
    animation-delay: -2s;
}

.card-float:nth-child(3n) {
    animation-delay: -4s;
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Glowing Border Animation on Hover */
.glow-border {
    position: relative;
}

.glow-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--coral), transparent, var(--coral));
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.glow-border:hover::before {
    opacity: 1;
    animation: glowRotate 3s linear infinite;
}

@keyframes glowRotate {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

/* Button Shine Effect */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 50%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}

.btn-primary:hover::after {
    left: 150%;
}

/* Link Underline Animation */
.animated-underline {
    position: relative;
    text-decoration: none;
}

.animated-underline::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--coral);
    transition: width 0.3s ease;
}

.animated-underline:hover::after {
    width: 100%;
}

/* Stats Counter Glow */
.counter-animate {
    text-shadow: 0 0 0 transparent;
    transition: text-shadow 0.3s ease;
}

.counter-animate.counting {
    text-shadow: 0 0 30px rgba(255, 111, 97, 0.5);
}

/* Subtle Background Particles */
.particles-bg {
    position: relative;
    overflow: hidden;
}

.particles-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 111, 97, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 111, 97, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
    pointer-events: none;
    animation: particlesFloat 20s ease-in-out infinite;
}

@keyframes particlesFloat {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(10px, -10px); }
    50% { transform: translate(-5px, 5px); }
    75% { transform: translate(-10px, -5px); }
}

/* Section Divider Wave */
.wave-divider {
    position: relative;
}

.wave-divider::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='rgba(255,111,97,0.05)'/%3E%3C/svg%3E");
    background-size: cover;
}

/* Smooth appear for text */
.text-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.text-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
