/* Critical mobile optimizations - load first */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Critical mobile layout fixes */
@media (max-width: 768px) {
    /* Force mobile layout immediately */
    .hero-carousel {
        height: 70vh !important;
        min-height: 420px !important;
    }
    
    .main-content {
        position: absolute !important;
        top: 112px !important;
        left: 0 !important;
        right: 0 !important;
        padding: 0 20px 24px !important;
        margin-top: 0 !important;
        background: transparent !important;
        z-index: 150 !important;
    }
    
    .info-section {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
    }
}

/* Ensure proper mobile rendering */
*, *::before, *::after {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Allow text selection for input fields */
input, textarea, [contenteditable] {
    -webkit-user-select: text;
    -khtml-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

:root {
    --primary-blue: #0066ff;
    --primary-blue-dark: #0052cc;
    --primary-blue-light: #1a75ff;
    --gradient-primary: linear-gradient(135deg, #0066ff 0%, #00d4ff 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-medium: 0 16px 64px rgba(0, 0, 0, 0.16);
    --shadow-hard: 0 24px 96px rgba(0, 0, 0, 0.24);
    --blur-glass: 20px;
    --border-radius: 16px;
    --border-radius-large: 24px;
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Consistent Spacing System */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 40px;
    --spacing-2xl: 48px;
    --spacing-3xl: 56px;
    --spacing-4xl: 64px;
    --spacing-5xl: 80px;
}

/* Prevent zoom on mobile devices and optimize rendering */
html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    touch-action: manipulation;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Force hardware acceleration for better mobile performance */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

body {
    font-family: 'Inter', 'Roboto', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    touch-action: manipulation;
    background: #000;
    /* Mobile performance optimizations */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    perspective: 1000;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

/* Mobile-first critical styles */
@media (max-width: 768px) {
    /* Ensure mobile styles load immediately */
    body {
        font-size: 16px;
        line-height: 1.5;
    }
    
    .navbar {
        padding: 16px 20px;
        height: 72px;
    }
    
    .main-content {
        padding: 0 20px 24px;
    }
    
    /* Ensure mobile contact info is visible */
    .contact-info-mobile {
        display: grid !important;
    }
    
    /* Hide desktop contact box on mobile */
    .contact-box {
        display: none !important;
    }
    
    /* Ensure mobile CTA is visible */
    .mobile-cta {
        display: flex !important;
    }
}

/* Hide mobile CTA by default (only show on mobile breakpoints) */
.mobile-cta { display: none; }

/* Ensure all interactive elements start with blur effect immediately */
.btn, .lang-btn, .dot, .arrow-circle, .filter-btn, .back-btn {
    opacity: 1 !important;
    visibility: visible !important;
    backdrop-filter: blur(16px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
    transform: translateZ(0) !important;
    will-change: backdrop-filter, transform !important;
}

/* Force hardware acceleration for immediate blur rendering */
.btn, .lang-btn, .dot, .arrow-circle, .filter-btn, .back-btn {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Enhanced Navbar with Premium Glassmorphism */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) var(--spacing-2xl);
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.08) 0%, 
        rgba(255, 255, 255, 0.04) 50%, 
        rgba(0, 102, 255, 0.05) 100%);
    border-radius: 0 0 20px 20px;
    z-index: -1;
    opacity: 0.3;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: var(--spacing-3xl);
    position: relative;
}

.nav-left a {
    display: block;
    text-decoration: none;
}

.logo {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 6px 20px rgba(0, 102, 255, 0.4));
    display: block;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    -webkit-user-drag: none !important;
    -khtml-user-drag: none !important;
    -moz-user-drag: none !important;
    -o-user-drag: none !important;
    -webkit-touch-callout: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

.language-toggle {
    display: flex;
    gap: 4px;
    background: rgba(255, 255, 255, 0.08);
    padding: 6px;
    border-radius: 16px;
    backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.language-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 102, 255, 0.1) 0%, 
        rgba(0, 212, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.language-toggle:hover::before {
    opacity: 1;
}

.lang-btn {
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 10px 18px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    min-width: 44px;
    text-align: center;
    border: 1px solid transparent;
    opacity: 1;
    visibility: visible;
    transform: translateZ(0);
    will-change: backdrop-filter, transform;
}

.lang-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
    border-radius: 12px;
}

.lang-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: -1;
}

.lang-btn:hover {
    color: white;
    transform: translateY(-3px) scale(1.05);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.3);
}

.lang-btn:hover::before {
    left: 0;
}

.lang-btn:hover::after {
    width: 120%;
    height: 120%;
    opacity: 0;
}

.lang-btn.active {
    color: white;
    background: var(--gradient-primary);
    box-shadow: 0 6px 24px rgba(0, 102, 255, 0.5), 
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    cursor: default;
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.lang-btn.active::before {
    left: 0;
}

.nav-right {
    display: flex;
    align-items: center;
}

.back-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	background: rgba(255,255,255,0.08);
	border: 1px solid rgba(255,255,255,0.18);
	border-radius: 14px;
	color: rgba(255,255,255,0.9);
	text-decoration: none;
	transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
	backdrop-filter: blur(16px) saturate(180%);
	position: relative;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.back-btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: var(--gradient-primary);
	transition: left 0.8s cubic-bezier(0.16, 1, 0.3, 1);
	z-index: -1;
	border-radius: 14px;
}

.back-btn::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 0;
	height: 0;
	background: rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
	z-index: -1;
}

.back-btn:hover {
	background: rgba(255,255,255,0.12);
	border-color: rgba(255,255,255,0.25);
	color: white;
	transform: translateY(-4px) scale(1.05);
	box-shadow: 0 12px 32px rgba(0, 102, 255, 0.3);
}

.back-btn:hover::before {
	left: 0;
}

.back-btn:hover::after {
	width: 150%;
	height: 150%;
	opacity: 0;
}

.back-btn i {
	font-size: 18px;
	transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.back-btn:hover i {
	transform: translateX(-2px);
}

/* Empty State Styles */
.empty-state {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    padding: 40px 20px;
}

.empty-state-content {
    text-align: center;
    max-width: 500px;
}

.empty-state-icon {
    font-size: 48px;
    color: #0066ff;
    margin-bottom: 20px;
    opacity: 0.8;
}

.empty-state-title {
    font-size: 24px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 16px;
    font-family: 'Roboto', sans-serif;
}

.empty-state-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    font-weight: 100;
}

@media (max-width: 768px) {
    .empty-state {
        min-height: 250px;
        padding: 30px 15px;
    }
    
    .empty-state-icon {
        font-size: 40px;
        margin-bottom: 16px;
    }
    
    .empty-state-title {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .empty-state-description {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .empty-state {
        min-height: 200px;
        padding: 20px 10px;
    }
    
    .empty-state-icon {
        font-size: 36px;
        margin-bottom: 12px;
    }
    
    .empty-state-title {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .empty-state-description {
        font-size: 13px;
    }
}

.pagination-dots {
    display: flex;
    gap: var(--spacing-md);
    background: rgba(255, 255, 255, 0.08);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: 50px;
    backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.pagination-dots::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 102, 255, 0.08) 0%, 
        rgba(0, 212, 255, 0.04) 100%);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.pagination-dots:hover::before {
    opacity: 1;
}

.dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    opacity: 1;
    visibility: visible;
}

.dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--gradient-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.dot:hover {
    border-color: var(--primary-blue);
    transform: scale(1.3);
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.3);
}

.dot:hover::before {
    width: 100%;
    height: 100%;
}

.dot:hover::after {
    width: 150%;
    height: 150%;
    opacity: 0;
}

.dot.active {
    border-color: var(--primary-blue);
    background: var(--gradient-primary);
    cursor: default;
    box-shadow: 0 6px 24px rgba(0, 102, 255, 0.6), 
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: pulse 2s infinite;
    transform: scale(1.1);
}

.dot.active::before {
    width: 100%;
    height: 100%;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Enhanced Hero Carousel with Parallax Effect */
.hero-carousel {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

/* Mobile scroll effect support - allow overflow for zoom effect */
@media (max-width: 768px) {
    .home .hero-carousel {
        overflow: hidden;
        position: relative;
    }
    
    .home .carousel-slide {
        will-change: transform, filter;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }
    
    /* Ensure smooth transitions for scroll effect */
    .home .carousel-slide.active {
        transition: opacity 1.5s cubic-bezier(0.16, 1, 0.3, 1), 
                    filter 0.3s ease-out, 
                    transform 0.3s ease-out;
    }
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 110%;
    height: 110%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.1) rotate(0.5deg);
    transform-origin: center center;
    transition: all 1.5s cubic-bezier(0.16, 1, 0.3, 1);
    filter: brightness(0.8) contrast(1.1) saturate(1.2);
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    filter: brightness(0.9) contrast(1.05) saturate(1.1);
}

.fade-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at bottom, rgba(0, 0, 0, 0.9) 0%, transparent 70%),
        linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 30%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
    pointer-events: none;
}

/* Enhanced Floating Particles Animation */
.hero-carousel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(3px 3px at 20px 30px, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(0, 102, 255, 0.5), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 120px 150px, rgba(0, 212, 255, 0.3), transparent),
        radial-gradient(1px 1px at 180px 80px, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(3px 3px at 220px 120px, rgba(0, 102, 255, 0.4), transparent);
    background-size: 300px 300px;
    animation: float 25s ease-in-out infinite;
    pointer-events: none;
    z-index: 10;
}

.hero-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 150px 200px, rgba(0, 212, 255, 0.3), transparent),
        radial-gradient(1px 1px at 300px 100px, rgba(255, 255, 255, 0.25), transparent),
        radial-gradient(2px 2px at 80px 250px, rgba(0, 102, 255, 0.35), transparent);
    background-size: 400px 400px;
    animation: floatReverse 30s ease-in-out infinite;
    pointer-events: none;
    z-index: 10;
    opacity: 0.7;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) rotate(0deg); 
        opacity: 0.8;
    }
    25% { 
        transform: translateY(-30px) translateX(15px) rotate(90deg); 
        opacity: 1;
    }
    50% { 
        transform: translateY(-15px) translateX(-20px) rotate(180deg); 
        opacity: 0.6;
    }
    75% { 
        transform: translateY(-25px) translateX(10px) rotate(270deg); 
        opacity: 0.9;
    }
}

@keyframes floatReverse {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) rotate(0deg); 
        opacity: 0.6;
    }
    33% { 
        transform: translateY(-20px) translateX(-15px) rotate(-120deg); 
        opacity: 0.8;
    }
    66% { 
        transform: translateY(-35px) translateX(25px) rotate(-240deg); 
        opacity: 0.4;
    }
}

/* Floating construction elements */
.hero-carousel {
    position: relative;
}

.hero-carousel .floating-element {
    position: absolute;
    pointer-events: none;
    z-index: 15;
    animation: floatElement 15s ease-in-out infinite;
}

.hero-carousel .floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.hero-carousel .floating-element:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 5s;
}

.hero-carousel .floating-element:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 10s;
}

@keyframes floatElement {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
        opacity: 0.3;
    }
    50% { 
        transform: translateY(-40px) rotate(180deg); 
        opacity: 0.7;
    }
}

/* Revolutionary Content Layout */
.main-content {
    position: absolute;
    bottom: 8%;
    left: 0;
    right: 0;
    z-index: 100;
    padding: var(--spacing-2xl) var(--spacing-lg);
    padding-top: 110px; /* tightened a bit overall */
}

.info-section {
    display: flex;
    gap: var(--spacing-5xl);
    max-width: 1200px;
    position: absolute;
    bottom: 32%;
    left: var(--spacing-2xl);
}

.info-left {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    max-width: 750px;
}

/* Enhanced Stunning Typography */
.main-title {
    color: transparent;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 30%, #0066ff 70%, #00d4ff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    background-size: 200% 200%;
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    max-width: 650px;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    position: relative;
    animation: titleShimmer 3s ease-in-out infinite, titleFloat 6s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(0, 102, 255, 0.3);
}

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

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

.main-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 120px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    animation: slideIn 1.5s ease-out 0.5s both, pulseGlow 2s ease-in-out infinite 2s;
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.6);
}


@keyframes slideIn {
    0% { width: 0; opacity: 0; }
    100% { width: 120px; opacity: 1; }
}

@keyframes pulseGlow {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(0, 102, 255, 0.6);
        transform: scaleX(1);
    }
    50% { 
        box-shadow: 0 0 40px rgba(0, 102, 255, 0.8);
        transform: scaleX(1.05);
    }
}


.info-row {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-xl);
}

/* Next-Gen Interactive Button */
.arrow-circle {
    width: 80px;
    height: 80px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    color: white;
    font-size: 24px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    opacity: 1;
    visibility: visible;
    transform: translateZ(0);
    will-change: backdrop-filter, transform;
}

.arrow-circle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
    border-radius: 50%;
}

.arrow-circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: -1;
}

.arrow-circle:hover {
    color: white;
    transform: scale(1.08) rotate(360deg);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 16px 48px rgba(0, 102, 255, 0.4);
}

.arrow-circle:hover::before {
    opacity: 1;
}

.arrow-circle:hover::after {
    width: 200%;
    height: 200%;
    opacity: 0;
}

.description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.7;
    margin: 0;
    flex: 1;
    font-weight: 300;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    max-width: 520px;
    text-align: justify;
    hyphens: auto;
    word-break: break-word;
    min-height: 153px; /* 3 lines × 1.7 line-height × 18px font-size = ~91.8px, rounded up with padding */
    display: flex;
    align-items: flex-start;
}

/* Advanced Progress Bar */
.progress-container {
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
    margin: var(--spacing-sm) 0;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    padding: 0;
}

.progress-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    width: 0%;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0; /* square edges to meet container exactly */
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: progressShine 1.5s infinite;
}

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* When the bar completes, add right-side rounding for a polished end state */
.progress-bar.is-complete {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

.buttons {
    display: flex;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-sm);
}

.btn {
    padding: 20px 32px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.95);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: var(--border-radius);
    backdrop-filter: blur(16px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    opacity: 1;
    visibility: visible;
    transform: translateZ(0);
    will-change: backdrop-filter, transform;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
    border-radius: var(--border-radius);
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: -1;
}

.btn:hover {
    color: white;
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 16px 48px rgba(0, 102, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.25);
}

.btn:hover::before {
    left: 0;
}

.btn:hover::after {
    width: 150%;
    height: 150%;
    opacity: 0;
}

/* Futuristic Contact Box */
.contact-box {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius-large);
    padding: var(--spacing-2xl) var(--spacing-xl);
    display: flex;
    flex-direction: column;
    min-width: 320px;
    min-height: 320px;
    box-shadow: var(--shadow-hard);
    position: absolute;
    bottom: 32%;
    right: var(--spacing-2xl);
    backdrop-filter: blur(var(--blur-glass));
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition-bounce);
    overflow: hidden;
}

.contact-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 102, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: var(--transition-smooth);
    opacity: 0;
}

.contact-box:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        var(--shadow-hard),
        0 0 60px rgba(0, 102, 255, 0.2);
}

.contact-box:hover::before {
    opacity: 1;
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(45deg); }
    100% { transform: rotate(405deg); }
}

.contact-info-mobile {
    display: none;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: var(--spacing-md);
    min-height: var(--spacing-4xl);
    padding: var(--spacing-sm) var(--spacing-md);
    transition: var(--transition-smooth);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 102, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.contact-item:hover {
    background: rgba(0, 102, 255, 0.05);
    transform: translateX(8px);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.1);
}

.contact-item:hover::before {
    left: 100%;
}

.contact-item i {
    font-size: 22px;
    color: var(--primary-blue);
    width: 32px;
    text-align: center;
    transition: var(--transition-bounce);
}

.contact-item:hover i {
    transform: scale(1.2) rotate(10deg);
}

.contact-item p {
    color: #2d3748;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
    margin: 0;
}

/* Facebook icon styling */
.contact-item .fab.fa-facebook-f {
    color: var(--primary-blue);
}

/* Enhanced Responsive Design */
@media (max-width: 1200px) {
    .main-content {
        flex-direction: column;
        gap: var(--spacing-2xl);
        align-items: flex-start;
    }
    
    .info-section {
        flex-direction: column;
        gap: var(--spacing-2xl);
        max-width: 100%;
    }
    
    .contact-box {
        align-self: flex-end;
        min-width: 280px;
    }

    .main-title {
        font-size: 56px;
    }
}

@media (max-width: 1024px) {
    .hero-carousel {
        height: 90vh;
    }
    
    .main-content {
        bottom: 5%;
    }
    
    .info-section {
        bottom: 25%;
    }
    
    .contact-box {
        bottom: 25%;
    }
}

@media (max-width: 900px) {
    .navbar {
        padding: var(--spacing-md) var(--spacing-lg);
    }
    
    .nav-left {
        gap: var(--spacing-lg);
    }
    
    .logo {
        height: 52px;
    }
    
    .language-toggle {
        padding: 5px;
        gap: 3px;
    }
    
    .lang-btn {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: 12px;
    }
    
    .back-btn {
        width: 44px;
        height: 44px;
    }
    
    .main-title {
        font-size: 48px;
        max-width: 90%;
    }
    
    .description {
        max-width: 90%;
    }
    
    .info-section {
        flex-direction: column;
        gap: var(--spacing-xl);
        bottom: 20%;
    }
    
    .contact-box {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: var(--spacing-xl);
        min-width: 100%;
    }
}

/* Disable hover effects on mobile devices */
@media (max-width: 768px) {
    .btn:hover {
        transform: none !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
        border-color: rgba(255, 255, 255, 0.18) !important;
        background: rgba(255, 255, 255, 0.08) !important;
    }
    
    .btn:hover::before {
        left: -100% !important;
    }
    
    .btn:hover::after {
        width: 0 !important;
        height: 0 !important;
        opacity: 0 !important;
    }
    
    .lang-btn:hover {
        transform: none !important;
        box-shadow: none !important;
        border-color: transparent !important;
    }
    
    .lang-btn:hover::before {
        left: -100% !important;
    }
    
    .lang-btn:hover::after {
        width: 0 !important;
        height: 0 !important;
        opacity: 0 !important;
    }
    
    .lang-btn.active:hover {
        transform: none !important;
        box-shadow: 0 6px 24px rgba(0, 102, 255, 0.5), 
                    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
        border-color: rgba(255, 255, 255, 0.3) !important;
        background: var(--gradient-primary) !important;
    }
    
    .lang-btn.active:hover::before {
        left: 0 !important;
    }
    
    .lang-btn.active:hover::after {
        width: 0 !important;
        height: 0 !important;
        opacity: 0 !important;
    }
    
    .back-btn:hover {
        transform: none !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
        border-color: rgba(255, 255, 255, 0.18) !important;
        background: rgba(255, 255, 255, 0.08) !important;
    }
    
    .back-btn:hover::before {
        left: -100% !important;
    }
    
    .back-btn:hover::after {
        width: 0 !important;
        height: 0 !important;
        opacity: 0 !important;
    }
    
    .back-btn:hover i {
        transform: none !important;
    }
    
    .dot:hover {
        transform: none !important;
        border-color: rgba(255, 255, 255, 0.4) !important;
        box-shadow: none !important;
    }
    
    .dot:hover::before {
        width: 0 !important;
        height: 0 !important;
    }
    
    .dot:hover::after {
        width: 0 !important;
        height: 0 !important;
        opacity: 0 !important;
    }
    
    .pagination-dots:hover::before {
        opacity: 0 !important;
    }
    
    .dot.active:hover {
        transform: scale(1.1) !important;
        box-shadow: 0 6px 24px rgba(0, 102, 255, 0.6), 
                    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
        border-color: var(--primary-blue) !important;
        background: var(--gradient-primary) !important;
    }
    
    .dot.active:hover::before {
        width: 100% !important;
        height: 100% !important;
    }
    
    .dot.active:hover::after {
        width: 0 !important;
        height: 0 !important;
        opacity: 0 !important;
    }
    
    .filter-btn:hover {
        transform: none !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
        border-color: rgba(255, 255, 255, 0.18) !important;
        background: rgba(255, 255, 255, 0.08) !important;
    }
    
    .filter-btn:hover::before {
        left: -100% !important;
    }
    
    .filter-btn:hover::after {
        width: 0 !important;
        height: 0 !important;
        opacity: 0 !important;
    }
    
    .filter-btn.active:hover {
        transform: translateY(-1px) !important;
        box-shadow: 0 6px 24px rgba(0, 102, 255, 0.5), 
                    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
        border-color: var(--primary-blue) !important;
        background: var(--gradient-primary) !important;
    }
    
    .filter-btn.active:hover::before {
        left: 0 !important;
    }
    
    .filter-btn.active:hover::after {
        width: 0 !important;
        height: 0 !important;
        opacity: 0 !important;
    }
    
    .project-card:hover {
        transform: none !important;
        box-shadow: 0 24px 80px rgba(0,0,0,0.35) !important;
    }
    
    .project-modal__close:hover {
        transform: none !important;
        box-shadow: none !important;
    }
    
    .project-modal__nav:hover {
        transform: translateY(-50%) !important;
        box-shadow: none !important;
    }
    
    .project-modal__thumb:hover {
        transform: none !important;
        border-color: rgba(255,255,255,0.14) !important;
        box-shadow: none !important;
    }
    
    .project-modal__thumb:hover::after {
        box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06) !important;
    }
    
    .project-modal__gallery::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(135deg, #0066ff 0%, #00d4ff 100%) !important;
    }
    
    .content-card:hover {
        transform: none !important;
        box-shadow: 0 24px 80px rgba(0,0,0,0.35) !important;
        border-color: rgba(255,255,255,0.14) !important;
    }
    
    .content-card:hover::before {
        opacity: 0 !important;
    }
    
    .service-item:hover,
    .why-item:hover {
        background: rgba(255,255,255,0.04) !important;
        transform: none !important;
    }
}

/* MOBILE ENHANCEMENTS START HERE */
@media (max-width: 768px) {
    .navbar {
        padding: var(--spacing-sm) var(--spacing-md);
        height: 72px;
    }

    .nav-left {
        gap: var(--spacing-md);
    }

    .logo {
        height: 48px;
    }

    .language-toggle {
        padding: 5px;
        gap: 3px;
    }

    .lang-btn {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: 12px;
        min-width: 40px;
    }
    
    .back-btn {
        width: 44px;
        height: 44px;
    }
    
    .back-btn:hover {
        transform: translateY(-2px) scale(1.02);
    }
    
    .pagination-dots {
        padding: var(--spacing-sm) var(--spacing-md);
        gap: var(--spacing-sm);
    }

    .dot {
        width: 14px;
        height: 14px;
    }
    
    .hero-carousel {
        height: 55vh; /* even tighter hero */
        min-height: 360px;
    }
    
    .main-content {
        position: relative; /* aggressive overlap */
        padding: 0 var(--spacing-sm) var(--spacing-sm); /* no top padding */
        bottom: auto;
        min-height: auto;
        z-index: 150; /* above hero */
        background: transparent;
        margin-top: -80px; /* push content up under navbar */
    }
    
    .main-title {
        font-size: 38px;
        max-width: 100%;
        line-height: 1.1;
        margin-bottom: var(--spacing-sm);
    }
    
    .info-section {
        position: relative; /* Changed from absolute */
        bottom: auto;
        left: auto;
        gap: var(--spacing-xl);
    }

    /* REMOVE ARROW CIRCLE */
    .arrow-circle {
        display: none;
    }

    .info-row {
        gap: 0;
        flex-direction: column;
    }

    .description {
        font-size: 17px;
        line-height: 1.7;
        max-width: 100%;
        margin-top: var(--spacing-md);
        min-height: 145px; /* Adjusted for mobile font size */
    }
    
    .progress-container {
        display: none;
    }
    
    .contact-box {
        display: none;
    }
    
    /* ENHANCED MOBILE CONTACT STYLING */
    .contact-info-mobile {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
        width: 100%;
        padding: var(--spacing-md);
        background: rgba(255, 255, 255, 0.12);
        border-radius: var(--border-radius-large);
        backdrop-filter: blur(var(--blur-glass));
        margin-top: var(--spacing-xl);
        border: 1px solid rgba(255, 255, 255, 0.15);
        position: relative;
        overflow: hidden;
    }

    .contact-info-mobile::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--gradient-glass);
        z-index: -1;
    }
    
    .contact-item-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: var(--spacing-md) var(--spacing-sm);
        border-radius: var(--border-radius);
        transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
        position: relative;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.08);
        min-height: 120px;
        -webkit-tap-highlight-color: transparent;
        border: 1px solid rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(16px) saturate(180%);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    }

    .contact-item-mobile::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: var(--gradient-primary);
        opacity: 0;
        transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
        border-radius: var(--border-radius);
        z-index: -1;
    }

    .contact-item-mobile::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 0;
        height: 0;
        background: rgba(255, 255, 255, 0.3);
        border-radius: 50%;
        transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        z-index: -1;
    }

    .contact-item-mobile:active {
        transform: scale(0.98);
    }

    /* Removed hover effects for mobile contact items */
    
    .contact-item-mobile i {
        font-size: 28px;
        color: var(--primary-blue-light);
        margin-bottom: 12px;
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
        transition: var(--transition-bounce);
    }

    /* Removed hover effects for mobile contact item icons */
    
    .contact-item-mobile p {
        color: rgba(255, 255, 255, 0.95);
        font-size: 15px;
        font-weight: 300;
        margin: 0;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        line-height: 1.4;
    }

    .buttons {
        gap: var(--spacing-md);
        margin-top: var(--spacing-sm);
        flex-wrap: wrap;
    }

    .btn {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 15px;
        flex: 1;
        min-width: 160px;
        text-align: center;
    }
    
    .progress-container {
        margin: var(--spacing-sm) 0;
    }

    /* Mobile bottom CTA bar */
    .mobile-cta {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: calc(12px + env(safe-area-inset-bottom));
        z-index: 1100;
        display: none;
        gap: 12px;
        padding: 12px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 16px;
        backdrop-filter: blur(12px);
        box-shadow: 0 24px 60px rgba(0,0,0,0.35);
    }

    .mobile-cta-item {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 14px 12px;
        color: white;
        text-decoration: none;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255,255,255,0.15);
        transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
        -webkit-tap-highlight-color: transparent;
        position: relative;
        overflow: hidden;
        backdrop-filter: blur(16px) saturate(180%);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    }

    .mobile-cta-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: var(--gradient-primary);
        transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: -1;
        border-radius: 12px;
    }

    .mobile-cta-item::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 0;
        height: 0;
        background: rgba(255, 255, 255, 0.3);
        border-radius: 50%;
        transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        z-index: -1;
    }

    .mobile-cta-item i {
        color: var(--primary-blue-light);
    }

    /* Removed hover effects for mobile CTA items */

    .mobile-cta-item:active {
        transform: scale(0.98);
    }

    .mobile-cta { display: flex; }
}

@media (max-width: 480px) {
    :root {
        --border-radius: 12px;
        --border-radius-large: 20px;
    }

    .navbar {
        padding: var(--spacing-sm) var(--spacing-sm);
        height: 68px;
    }

    .nav-left {
        gap: var(--spacing-sm);
    }

    .logo {
        height: 40px;
    }
    
    .language-toggle {
        gap: 2px;
        padding: 4px;
    }

    .lang-btn {
        padding: 6px 10px;
        font-size: 11px;
        min-width: 36px;
    }
    
    .back-btn {
        width: 40px;
        height: 40px;
    }
    
    .back-btn i {
        font-size: 16px;
    }
    
    .pagination-dots {
        gap: 10px;
        padding: 10px 14px;
    }

    .dot {
        width: 12px;
        height: 12px;
    }

    .pagination-dots { display: none; }

    .hero-carousel {
        height: 65vh;
    }
    
    .main-content {
        padding: var(--spacing-xl) var(--spacing-sm) 100px; /* space for CTA */
    }
    
    .main-title {
        font-size: 36px;
        line-height: 1.2;
        margin-bottom: var(--spacing-md);
    }

    .main-title::after {
        width: 80px;
        height: 3px;
    }
    
    .description {
        font-size: 16px;
        line-height: 1.6;
        min-height: 128px; /* Adjusted for smaller mobile font size */
    }
    
    .buttons {
        flex-direction: column;
        gap: var(--spacing-sm);
        margin-top: var(--spacing-sm);
    }

    .btn {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 14px;
        width: 100%;
    }

    /* MOBILE CONTACT GRID */
    .contact-info-mobile {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
        padding: var(--spacing-md);
        margin-top: 30px;
    }

    .contact-item-mobile {
        min-height: 100px;
        padding: var(--spacing-md) var(--spacing-sm);
        flex-direction: row;
        text-align: left;
        justify-content: flex-start;
        gap: var(--spacing-sm);
    }

    .contact-item-mobile i {
        font-size: 24px;
        margin-bottom: 0;
    }

    /* Removed hover effects for mobile contact items */

    .contact-item-mobile p {
        font-size: 14px;
        text-align: left;
    }
    
    .progress-container {
        height: 8px;
        margin: var(--spacing-sm) 0;
    }
}

@media (max-width: 360px) {
    .navbar {
        padding: 12px 14px;
        height: 64px;
    }
    
    .nav-left {
        gap: 12px;
    }
    
    .logo {
        height: 36px;
    }
    
    .language-toggle {
        padding: 3px;
        gap: 1px;
    }
    
    .lang-btn {
        padding: 5px 8px;
        font-size: 10px;
        min-width: 32px;
    }
    
    .back-btn {
        width: 36px;
        height: 36px;
    }
    
    .back-btn i {
        font-size: 14px;
    }
    
    .main-title {
        font-size: 32px;
    }
    
    .description {
        font-size: 15px;
        min-height: 120px; /* Adjusted for extra small mobile font size */
    }
    
    .btn {
        padding: 12px 16px;
    }
    
    .contact-info-mobile {
        padding: 16px;
    }
}

/* Premium enhancements for mobile contact info */
@media (max-width: 768px) {
    .contact-info-mobile {
        background: radial-gradient(120% 120% at 0% 0%, rgba(0, 102, 255, 0.15) 0%, rgba(255, 255, 255, 0.06) 40%, rgba(255, 255, 255, 0.03) 100%);
        border: 1px solid rgba(255, 255, 255, 0.18);
        box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
    }

    .contact-item-mobile {
        background: linear-gradient(180deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.06) 100%);
        border: 1px solid rgba(255,255,255,0.16);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.06);
        position: relative;
    }


    /* Removed hover effects for mobile contact item chevrons */

    .contact-item-mobile i {
        display: grid;
        place-items: center;
        width: 48px;
        height: 48px;
        border-radius: 14px;
        background: linear-gradient(135deg, rgba(0, 102, 255, 0.35) 0%, rgba(0, 212, 255, 0.18) 100%);
        border: 1px solid rgba(255,255,255,0.18);
        box-shadow: 0 8px 22px rgba(0, 102, 255, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    }

    .contact-item-mobile p {
        font-size: 15.5px;
        letter-spacing: 0.2px;
    }
}

@media (max-width: 480px) {
    .contact-item-mobile i {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

}

/* Remove blue underline/colors for mobile contact and CTA */
@media (max-width: 768px) {
	/* Remove blue tap highlight */
	* { -webkit-tap-highlight-color: transparent; }
	.contact-item-mobile {
		color: rgba(255, 255, 255, 0.95);
		text-decoration: none;
	}

    .contact-item-mobile p,
    .contact-item-mobile span {
        color: rgba(255, 255, 255, 0.95);
        text-decoration: none;
    }

    .contact-item-mobile i {
        color: #ffffff; /* neutral icon color */
    }

    .mobile-cta-item {
        color: rgba(255, 255, 255, 0.95);
        text-decoration: none;
        outline: none;
    }

    .mobile-cta-item span {
        color: rgba(255, 255, 255, 0.95);
        text-decoration: none;
    }

    .mobile-cta-item i {
        color: #ffffff; /* neutral icon color */
    }

    .btn, .lang-btn, .projects-arrow, .project-card, .contact-item-mobile {
        -webkit-tap-highlight-color: transparent;
        outline: none;
    }
}

/* Compact spacing adjustments for mobile */
@media (max-width: 768px) {
    .info-left { gap: var(--spacing-sm); }
    .info-row { gap: var(--spacing-xs); }
    .description { margin-top: var(--spacing-sm); line-height: 1.55; min-height: 124px; }
    .progress-container { margin: var(--spacing-xs) 0; height: 10px; }
    .buttons { gap: var(--spacing-sm); margin-top: var(--spacing-xs); }
    .btn { padding: var(--spacing-sm) var(--spacing-md); font-size: 14px; }

    .contact-info-mobile { gap: var(--spacing-sm); padding: var(--spacing-sm); margin-top: var(--spacing-md); }
    .contact-item-mobile { min-height: 96px; padding: var(--spacing-sm) var(--spacing-sm); }
}

@media (max-width: 480px) {
    .description { margin-top: 8px; line-height: 1.5; min-height: 120px; }
    .progress-container { margin: 8px 0; height: 8px; }
    .buttons { gap: 8px; margin-top: 8px; }
    .btn { padding: var(--spacing-sm) var(--spacing-sm); font-size: 13px; }

    .contact-info-mobile { gap: 10px; padding: var(--spacing-sm); margin-top: var(--spacing-sm); }
    .contact-item-mobile { min-height: 84px; padding: var(--spacing-sm) var(--spacing-sm); }
}

/* Projects page */
.projects-main {
	padding: 140px 48px 48px;
}

.projects-header {
	max-width: 1200px;
	margin: 0 auto 8px;
}

.projects-title {
	color: transparent;
	background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 50%, #0066ff 100%);
	background-clip: text;
	-webkit-background-clip: text;
	font-size: 48px;
	font-weight: 700;
	letter-spacing: -0.02em;
	margin-bottom: 8px;
}

.projects-sub {
	color: rgba(255,255,255,0.8);
	font-size: 18px;
}

.projects-scroller {
	margin-top: 24px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 24px;
	padding-bottom: 24px;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}


.project-card {
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.14);
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 24px 80px rgba(0,0,0,0.35);
	min-height: 300px;
	display: flex;
	flex-direction: column;
	transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
	position: relative;
	transform-style: preserve-3d;
	perspective: 1000px;
	opacity: 0;
	animation: cardReveal 0.8s ease 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; }
.project-card:nth-child(9) { animation-delay: 0.9s; }
.project-card:nth-child(10) { animation-delay: 1.0s; }

@keyframes cardReveal {
	0% {
		opacity: 0;
		transform: translateY(60px) scale(0.9) rotateX(15deg);
	}
	100% {
		opacity: 1;
		transform: translateY(0px) scale(1) rotateX(0deg);
	}
}


.project-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 36px 100px rgba(0, 102, 255, 0.25);
}

.project-media {
	height: 240px;
	background-size: cover;
	background-position: center;
	flex: 1;
	transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
	position: relative;
	overflow: hidden;
}

/* Enhanced Project Card Loading Animation */
.project-media::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: 
		linear-gradient(90deg, 
			rgba(255, 255, 255, 0.03) 0%, 
			rgba(255, 255, 255, 0.08) 50%, 
			rgba(255, 255, 255, 0.03) 100%),
		radial-gradient(circle at 30% 30%, rgba(0, 102, 255, 0.1) 0%, transparent 50%),
		radial-gradient(circle at 70% 70%, rgba(0, 212, 255, 0.08) 0%, transparent 50%);
	background-size: 200% 100%, 300px 300px, 250px 250px;
	animation: advancedShimmer 2s ease-in-out infinite;
	z-index: 1;
	opacity: 1;
	transition: opacity 0.8s ease;
}

.project-media.loaded::before {
	opacity: 0;
}

.project-media::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 80px;
	height: 80px;
	background: 
		conic-gradient(from 0deg, 
			rgba(0, 102, 255, 0.1) 0deg,
			rgba(0, 212, 255, 0.2) 90deg,
			rgba(0, 102, 255, 0.1) 180deg,
			rgba(0, 212, 255, 0.2) 270deg,
			rgba(0, 102, 255, 0.1) 360deg);
	border-radius: 50%;
	z-index: 2;
	opacity: 1;
	transition: opacity 0.8s ease;
	animation: rotatingGradient 3s linear infinite;
}

.project-media.loaded::after {
	opacity: 0;
}

/* Enhanced construction loading icon */
.project-media .loading-icon {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 28px;
	color: var(--primary-blue);
	z-index: 3;
	opacity: 1;
	animation: constructionPulse 2s ease-in-out infinite;
	transition: opacity 0.8s ease;
	text-shadow: 0 0 20px rgba(0, 102, 255, 0.6);
}

.project-media.loaded .loading-icon {
	opacity: 0;
}

/* Loading progress indicator */
.project-media .loading-progress {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	width: 60px;
	height: 4px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 2px;
	overflow: hidden;
	z-index: 4;
	opacity: 1;
	transition: opacity 0.8s ease;
}

.project-media .loading-progress::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, 
		var(--primary-blue) 0%, 
		var(--primary-blue-light) 50%, 
		var(--primary-blue) 100%);
	animation: progressFill 2s ease-in-out infinite;
}

.project-media.loaded .loading-progress {
	opacity: 0;
}

/* Floating particles during loading */
.project-media .loading-particles {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	pointer-events: none;
	z-index: 1;
	opacity: 1;
	transition: opacity 0.8s ease;
}

.project-media.loaded .loading-particles {
	opacity: 0;
}

.project-media .loading-particles::before,
.project-media .loading-particles::after {
	content: '';
	position: absolute;
	width: 4px;
	height: 4px;
	background: rgba(0, 102, 255, 0.6);
	border-radius: 50%;
	animation: floatParticle 3s ease-in-out infinite;
}

.project-media .loading-particles::before {
	top: 20%;
	left: 20%;
	animation-delay: 0s;
}

.project-media .loading-particles::after {
	top: 60%;
	right: 20%;
	animation-delay: 1.5s;
}

@keyframes advancedShimmer {
	0%, 100% { 
		background-position: -200% 0, 0 0, 0 0;
	}
	50% { 
		background-position: 200% 0, 150px 150px, -125px -125px;
	}
}

@keyframes rotatingGradient {
	0% { transform: translate(-50%, -50%) rotate(0deg); }
	100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes constructionPulse {
	0%, 100% { 
		opacity: 0.6;
		transform: translate(-50%, -50%) scale(0.9) rotate(0deg);
		text-shadow: 0 0 20px rgba(0, 102, 255, 0.6);
	}
	25% {
		opacity: 0.8;
		transform: translate(-50%, -50%) scale(1.1) rotate(5deg);
		text-shadow: 0 0 30px rgba(0, 102, 255, 0.8);
	}
	50% { 
		opacity: 1;
		transform: translate(-50%, -50%) scale(1.3) rotate(0deg);
		text-shadow: 0 0 40px rgba(0, 102, 255, 1);
	}
	75% {
		opacity: 0.8;
		transform: translate(-50%, -50%) scale(1.1) rotate(-5deg);
		text-shadow: 0 0 30px rgba(0, 102, 255, 0.8);
	}
}

@keyframes progressFill {
	0% { left: -100%; }
	100% { left: 100%; }
}

@keyframes floatParticle {
	0%, 100% { 
		transform: translateY(0px) translateX(0px);
		opacity: 0.4;
	}
	25% {
		transform: translateY(-15px) translateX(5px);
		opacity: 0.8;
	}
	50% {
		transform: translateY(-25px) translateX(-5px);
		opacity: 1;
	}
	75% {
		transform: translateY(-10px) translateX(8px);
		opacity: 0.6;
	}
}

/* Optimized Gallery Loading Animation Styles */
.project-modal__thumb {
	position: relative;
	overflow: hidden;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.gallery-loading-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: 
		linear-gradient(135deg, 
			rgba(0, 102, 255, 0.05) 0%, 
			rgba(0, 212, 255, 0.08) 50%, 
			rgba(0, 102, 255, 0.05) 100%);
	background-size: 200% 200%;
	animation: galleryShimmer 1.5s ease-in-out infinite;
	z-index: 2;
	opacity: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.gallery-loading-overlay.fade-out {
	animation: galleryFadeOut 0.6s ease-out forwards;
}

.project-modal__thumb.loaded .gallery-loading-overlay {
	opacity: 0;
	pointer-events: none;
}

.gallery-loading-icon {
	font-size: 20px;
	color: var(--primary-blue);
	animation: galleryPulse 1.5s ease-in-out infinite;
	text-shadow: 0 0 15px rgba(0, 102, 255, 0.5);
}

.gallery-loading-progress {
	position: absolute;
	bottom: 8px;
	left: 50%;
	transform: translateX(-50%);
	width: 40px;
	height: 2px;
	background: rgba(255, 255, 255, 0.3);
	border-radius: 1px;
	overflow: hidden;
}

.gallery-loading-progress::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, 
		transparent 0%,
		var(--primary-blue) 50%, 
		transparent 100%);
	animation: galleryProgressFill 1.5s ease-in-out infinite;
}

/* Simplified animations for better performance */
@keyframes galleryShimmer {
	0%, 100% { 
		background-position: 0% 50%;
	}
	50% { 
		background-position: 100% 50%;
	}
}

@keyframes galleryPulse {
	0%, 100% { 
		opacity: 0.6;
		transform: scale(0.9);
	}
	50% { 
		opacity: 1;
		transform: scale(1.1);
	}
}

@keyframes galleryProgressFill {
	0% { left: -100%; }
	100% { left: 100%; }
}

@keyframes galleryFadeOut {
	0% { 
		opacity: 1;
		transform: scale(1);
	}
	50% {
		opacity: 0.5;
		transform: scale(0.98);
	}
	100% { 
		opacity: 0;
		transform: scale(0.95);
	}
}


.project-content {
	padding: 16px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	min-height: 100px;
	gap: 8px;
}

.project-title {
	color: rgba(255,255,255,0.95);
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 8px;
}

.project-meta {
	display: flex;
	gap: 14px;
	justify-content: center;
	flex-wrap: wrap;
	opacity: 0.9;
}

.project-meta span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: rgba(255,255,255,0.8);
	font-size: 13px;
	font-weight: 300;
}

.project-meta span b {
	font-weight: 300;
}

.project-meta i { 
	color: var(--primary-blue-light); 
	font-size: 12px;
}

.project-desc {
	color: rgba(255,255,255,0.8);
	font-size: 14px;
	line-height: 1.5;
}

@media (max-width: 768px) {
	.projects-main { padding: 112px 20px 24px; }
	.projects-title { font-size: 36px; }
	.projects-sub { font-size: 16px; }
	#projectSearch {
		padding: 14px 18px 14px 45px;
		font-size: 15px;
	}
	.search-icon {
		left: 16px;
		font-size: 15px;
	}
	.filter-container {
		gap: 6px;
		flex-wrap: nowrap !important;
		justify-content: space-between;
		width: 100%;
		overflow: hidden;
	}
	.filter-btn {
		padding: 8px 10px;
		font-size: 12px;
		flex: 1;
		min-width: 0;
		text-align: center;
		white-space: nowrap;
		border-radius: 8px;
		max-width: calc(33.333% - 4px);
		display: flex;
		align-items: center;
		justify-content: center;
		line-height: 1;
	}
	.projects-scroller { 
		grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
		gap: 20px; 
		padding: 0;
		max-width: calc(100vw - 40px);
		margin-left: auto;
		margin-right: auto;
	}
	.project-media { height: 200px; }
	.project-card { min-height: 280px; }
}

@media (max-width: 480px) {
	.projects-scroller { 
		grid-template-columns: 1fr; 
		gap: 16px; 
		padding: 0;
		max-width: calc(100vw - 32px);
		margin-left: auto;
		margin-right: auto;
	}
	.project-media { height: 180px; }
	.project-card { min-height: 260px; }
	
	.projects-controls {
		padding: 0 !important;
		gap: 16px !important;
		margin-bottom: 24px !important;
		max-width: calc(100vw - 32px);
		margin-left: auto;
		margin-right: auto;
	}
	
	.filter-container {
		gap: 4px;
		flex-wrap: nowrap !important;
		justify-content: space-between;
		width: 100%;
		overflow: hidden;
	}
	.filter-btn {
		padding: 6px 8px;
		font-size: 11px;
		flex: 1;
		min-width: 0;
		text-align: center;
		white-space: nowrap;
		border-radius: 6px;
		max-width: calc(33.333% - 3px);
		display: flex;
		align-items: center;
		justify-content: center;
		line-height: 1;
	}
}

@media (max-width: 360px) {
	.projects-scroller { 
		grid-template-columns: 1fr; 
		gap: 12px; 
		padding: 0;
		max-width: calc(100vw - 24px);
		margin-left: auto;
		margin-right: auto;
	}
	.project-media { height: 160px; }
	.project-card { min-height: 240px; }
	
	.projects-controls {
		padding: 0 !important;
		gap: 12px !important;
		margin-bottom: 20px !important;
		max-width: calc(100vw - 24px);
		margin-left: auto;
		margin-right: auto;
	}
	
	.filter-container {
		gap: 3px;
		flex-wrap: nowrap !important;
		justify-content: space-between;
		width: 100%;
		overflow: hidden;
	}
	.filter-btn {
		padding: 5px 6px;
		font-size: 10px;
		flex: 1;
		min-width: 0;
		text-align: center;
		white-space: nowrap;
		border-radius: 5px;
		max-width: calc(33.333% - 2px);
		display: flex;
		align-items: center;
		justify-content: center;
		line-height: 1;
	}
}

/* Premium enhancements for projects */
.projects-main::before {
	content: '';
	position: fixed;
	top: 0; left: 0; right: 0; bottom: 0;
	pointer-events: none;
	background:
		radial-gradient(60% 40% at 20% 0%, rgba(0,102,255,0.18), transparent 60%),
		radial-gradient(50% 40% at 100% 20%, rgba(0,212,255,0.14), transparent 60%);
	z-index: 0;
}

.projects-header { position: relative; z-index: 1; }

.projects-title {
	position: relative;
}

.projects-title::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -6px;
	width: 140px;
	height: 4px;
	background: var(--gradient-primary);
	border-radius: 2px;
}

.projects-hint {
	margin-top: 10px;
	color: rgba(255,255,255,0.6);
	font-size: 14px;
}

.projects-controls {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin: 40px auto 32px;
	max-width: 1200px;
	padding: 0 48px;
}

/* Search and Filter Components */
.search-container {
	position: relative;
	width: 100%;
	max-width: 600px;
	margin: 0 auto;
}

#projectSearch {
	width: 100%;
	padding: 16px 20px 16px 50px;
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.14);
	border-radius: 16px;
	color: white;
	font-size: 16px;
	font-weight: 300;
	font-family: inherit;
	backdrop-filter: blur(10px);
	transition: var(--transition-smooth);
}

#projectSearch::placeholder {
	color: rgba(255,255,255,0.6);
}

#projectSearch:focus {
	outline: none;
	border-color: var(--primary-blue);
	box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.2);
	background: rgba(255,255,255,0.08);
}

.search-icon {
	position: absolute;
	left: 18px;
	top: 50%;
	transform: translateY(-50%);
	color: rgba(255,255,255,0.6);
	font-size: 16px;
	pointer-events: none;
}

.filter-container {
	display: flex;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
}

.filter-btn {
	padding: 12px 24px;
	background: rgba(255,255,255,0.08);
	border: 1px solid rgba(255,255,255,0.18);
	border-radius: 12px;
	color: rgba(255,255,255,0.9);
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
	backdrop-filter: blur(16px) saturate(180%);
	position: relative;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.filter-btn:not(.active) {
	font-weight: 300;
}

.filter-btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: var(--gradient-primary);
	transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
	z-index: -1;
	border-radius: 12px;
}

.filter-btn::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 0;
	height: 0;
	background: rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
	z-index: -1;
}

.filter-btn:hover {
	background: rgba(255,255,255,0.12);
	border-color: rgba(255,255,255,0.25);
	transform: translateY(-4px) scale(1.02);
	box-shadow: 0 12px 32px rgba(0, 102, 255, 0.3);
}

.filter-btn:hover::before {
	left: 0;
}

.filter-btn:hover::after {
	width: 150%;
	height: 150%;
	opacity: 0;
}

.filter-btn.active {
	background: var(--gradient-primary);
	border-color: var(--primary-blue);
	color: white;
	box-shadow: 0 6px 24px rgba(0, 102, 255, 0.5), 
	            inset 0 1px 0 rgba(255, 255, 255, 0.2);
	transform: translateY(-1px);
}

.filter-btn.active::before {
	left: 0;
}

/* Enhanced scroll animations */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(40px) scale(0.95);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

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

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

@keyframes scaleIn {
	from {
		opacity: 0;
		transform: scale(0.8) rotate(5deg);
	}
	to {
		opacity: 1;
		transform: scale(1) rotate(0deg);
	}
}

@keyframes bounceIn {
	0% {
		opacity: 0;
		transform: scale(0.3) translateY(-100px);
	}
	50% {
		opacity: 1;
		transform: scale(1.05) translateY(0);
	}
	70% {
		transform: scale(0.95);
	}
	100% {
		opacity: 1;
		transform: scale(1);
	}
}

/* Scroll reveal classes */
.scroll-reveal {
	opacity: 0;
	transform: translateY(60px);
	transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.scroll-reveal-left {
	opacity: 0;
	transform: translateX(-80px);
	transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal-left.revealed {
	opacity: 1;
	transform: translateX(0);
}

.scroll-reveal-right {
	opacity: 0;
	transform: translateX(80px);
	transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal-right.revealed {
	opacity: 1;
	transform: translateX(0);
}

.scroll-reveal-scale {
	opacity: 0;
	transform: scale(0.8);
	transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal-scale.revealed {
	opacity: 1;
	transform: scale(1);
}

/* Staggered animations */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }

/* Loading animation styles */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader-content {
    text-align: center;
    color: white;
}

.loader-logo img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    animation: logoFloat 2s ease-in-out infinite;
}

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

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    animation: textPulse 2s ease-in-out infinite;
}

@keyframes textPulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

/* Enhanced button ripple effect */
.btn, .filter-btn, .lang-btn {
    position: relative;
    overflow: hidden;
}

.btn::before, .filter-btn::before, .lang-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 0;
}

.btn:active::before, .filter-btn:active::before, .lang-btn:active::before {
    width: 300px;
    height: 300px;
    opacity: 0;
}

/* Enhanced navbar animations */
.navbar {
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(32px) saturate(200%);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}


/* Enhanced project card click animation */
.project-card {
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:active {
    transform: translateY(-8px) scale(0.98);
    transition: transform 0.1s ease;
}

/* Enhanced search input animations */
#projectSearch {
    transition: all 0.3s ease;
}

#projectSearch:focus {
    transform: scale(1.02);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.3), 0 12px 32px rgba(0, 102, 255, 0.2);
}

/* Enhanced modal animations */
.project-modal {
    transition: opacity 0.3s ease;
}

.project-modal[aria-hidden="false"] {
    animation: modalFadeIn 0.3s ease;
}

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

.project-modal__dialog {
    animation: modalSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.project-card { position: relative; }

.project-media::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.5), transparent 60%);
	pointer-events: none;
}

.project-meta {
	display: flex;
	gap: 14px;
	margin-top: 6px;
	opacity: 0.9;
}

.project-meta span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: rgba(255,255,255,0.8);
	font-size: 13px;
	font-weight: 300;
}

.project-meta span b {
	font-weight: 300;
}

.project-meta i { color: var(--primary-blue-light); }

@media (max-width: 768px) {
	.projects-controls { 
		top: 84px; 
		padding: 0 !important;
		gap: 16px !important;
		margin-bottom: 24px !important;
		max-width: calc(100vw - 40px);
		margin-left: auto;
		margin-right: auto;
	}
	.projects-arrow { width: 40px; height: 40px; border-radius: 10px; }
}

/* Home-specific mobile alignment to match projects spacing without shrinking hero */
@media (max-width: 768px) {
	.home .hero-carousel { height: 70vh; min-height: 420px; }
	.home .main-content {
		position: absolute;
		top: 112px; /* match projects page top spacing */
		left: 0; right: 0;
		padding: 0 20px 24px; /* match projects page side/bottom spacing */
		margin-top: 0;
		background: transparent;
		z-index: 150;
	}
	.home .info-section { position: relative; bottom: auto; left: auto; }
}

/* Project modal */
.project-modal { position: fixed; inset: 0; display: none; z-index: 2000; }
.project-modal[aria-hidden="false"] { display: block; }
.project-modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(6px); }
.project-modal__dialog {
	position: fixed;
	top: 50% !important;
	left: 50% !important;
	transform: translate(-50%, -50%) !important;
	margin: 0;
	max-width: 1200px;
	max-height: 90vh;
	width: 90vw;
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.18);
	border-radius: 20px;
	box-shadow: 0 40px 120px rgba(0,0,0,0.4);
	overflow: hidden;
	display: grid;
	grid-template-columns: 1.2fr 1fr;
}

.project-modal__close {
	position: absolute; top: 12px; right: 12px;
	width: 40px; height: 40px; border-radius: 10px;
	border: 1px solid rgba(255,255,255,0.18);
	background: rgba(0,0,0,0.4);
	color: #fff; cursor: pointer;
	display: grid; place-items: center;
	transition: var(--transition-smooth);
	z-index: 2;
}
.project-modal__close:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,102,255,0.25); }

.project-modal__media { 
	min-height: 500px; 
	background-size: cover; 
	background-position: center; 
	background-repeat: no-repeat;
	flex: 1;
}
.project-modal__body { 
	padding: 20px; 
	background: rgba(0,0,0,0.35); 
	display: flex;
	flex-direction: column;
	overflow-y: auto;
}

.project-modal__body .main-title {
	max-width: none;
	line-height: 1.3;
}
.project-modal__meta { display: flex; gap: 16px; margin: 12px 0 8px; }
.project-modal__meta i { color: var(--primary-blue-light); }
.project-modal__desc { color: rgba(255,255,255,0.9); line-height: 1.65; }

/* Premium modal visuals */
.project-modal__dialog {
	background: rgba(8,12,24,0.7);
	border: 1px solid rgba(255,255,255,0.14);
	box-shadow: 0 50px 140px rgba(0,0,0,0.55), inset 0 0 0 1px rgba(255,255,255,0.04);
}
.project-modal__media { position: relative; }
.project-modal__media::after {
	content: '';
	position: absolute; inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.45), transparent 60%);
}

/* Gallery Navigation Arrows */
.project-modal__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	border-radius: 10px;
	border: 1px solid rgba(255,255,255,0.18);
	background: rgba(0,0,0,0.4);
	color: #fff;
	cursor: pointer;
	display: none;
	place-items: center;
	transition: var(--transition-smooth);
	z-index: 10;
	font-size: 16px;
}

.project-modal__nav:hover {
	transform: translateY(-50%) translateY(-2px);
	box-shadow: 0 10px 30px rgba(0,102,255,0.25);
}

.project-modal__nav:active {
	transform: translateY(-50%) scale(0.9);
	transition: transform 0.1s ease;
}

.project-modal__nav--prev {
	left: 12px;
}

.project-modal__nav--next {
	right: 12px;
}

.project-modal__nav i {
	text-shadow: none;
}
.project-modal__body { position: relative; }
.project-modal__section { margin: 20px 0 8px; color: rgba(255,255,255,0.9); font-size: 16px; font-weight: 600; }
.project-modal__info { color: rgba(255,255,255,0.85); line-height: 1.7; }

.project-modal__gallery {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(140px, calc(33.333% - 8px));
	gap: 12px;
	overflow-x: auto;
	padding-bottom: 8px;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
	scrollbar-color: rgba(0,102,255,0.6) rgba(255,255,255,0.08);
}
.project-modal__gallery::-webkit-scrollbar { 
	height: 8px; 
}
.project-modal__gallery::-webkit-scrollbar-track { 
	background: rgba(255,255,255,0.08); 
	border-radius: 4px; 
}
.project-modal__gallery::-webkit-scrollbar-thumb { 
	background: linear-gradient(135deg, #0066ff 0%, #00d4ff 100%); 
	border-radius: 4px; 
	border: 1px solid rgba(0,0,0,0.2);
}
.project-modal__gallery::-webkit-scrollbar-thumb:hover { 
	background: linear-gradient(135deg, #0052cc 0%, #00b8e6 100%); 
}
.project-modal__gallery::-webkit-scrollbar-corner {
	background: transparent;
}

.project-modal__thumb {
	position: relative;
	height: 80px;
	border-radius: 12px;
	overflow: hidden;
	background-size: cover;
	background-position: center;
	border: 1px solid rgba(255,255,255,0.14);
	scroll-snap-align: start;
	cursor: pointer;
	transition: var(--transition-smooth);
}
.project-modal__thumb::after { 
	content: ''; 
	position: absolute; 
	inset: 0; 
	box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); 
	transition: var(--transition-smooth);
}

.project-modal__thumb:hover {
	transform: scale(1.05);
	border-color: var(--primary-blue);
	box-shadow: 0 8px 25px rgba(0, 102, 255, 0.3);
}

.project-modal__thumb:hover::after {
	box-shadow: inset 0 0 0 2px rgba(0, 102, 255, 0.3);
}


@media (max-width: 768px) {
	.project-modal__gallery {
		grid-auto-columns: minmax(100px, calc(33.333% - 6px));
		gap: 8px;
	}
	.project-modal__thumb { height: 70px; }
}

@media (max-width: 480px) {
	.project-modal__gallery {
		grid-auto-columns: minmax(80px, calc(33.333% - 4px));
		gap: 6px;
	}
	.project-modal__thumb { height: 60px; }
}

/* Mobile modal improvements */
@media (max-width: 768px) {
	.project-modal__dialog { 
		position: fixed !important;
		grid-template-columns: 1fr; 
		margin: 0;
		top: 50% !important;
		left: 50% !important;
		transform: translate(-50%, -50%) !important;
		max-height: 92vh;
		width: calc(100vw - 24px);
		max-width: none;
		display: flex;
		flex-direction: column;
		overflow: hidden;
		border-radius: 16px;
	}
	
	.project-modal__media { 
		flex: 0 0 280px; 
		min-height: 280px;
		max-height: 280px;
	}
	
	.project-modal__body {
		flex: 1 1 auto;
		overflow-y: auto;
		overflow-x: hidden;
		-webkit-overflow-scrolling: touch;
		padding: 16px;
		min-height: 0;
	}
	
	.project-modal__close {
		top: 8px;
		right: 8px;
		width: 36px;
		height: 36px;
		border-radius: 8px;
	}
	
	.main-title {
		font-size: 28px;
		margin-bottom: 8px;
		line-height: 1.2;
		max-width: none;
	}
	
	.project-modal__meta {
		gap: 12px;
		margin: 8px 0 6px;
		flex-wrap: wrap;
	}
	
	.project-modal__meta span {
		font-size: 14px;
	}
	
	.project-modal__desc {
		font-size: 15px;
		line-height: 1.5;
		margin-bottom: 16px;
	}
	
	.project-modal__section {
		font-size: 16px;
		margin: 16px 0 6px;
	}
	
	.project-modal__info {
		font-size: 15px;
		line-height: 1.5;
		margin-bottom: 16px;
	}
	
	/* Mobile navigation arrows */
	.project-modal__nav {
		width: 36px;
		height: 36px;
		border-radius: 8px;
		font-size: 15px;
	}
	
	.project-modal__nav--prev {
		left: 8px;
	}
	
	.project-modal__nav--next {
		right: 8px;
	}
}

@media (max-width: 480px) {
	.project-modal__dialog { 
		position: fixed !important;
		margin: 0;
		top: 50% !important;
		left: 50% !important;
		transform: translate(-50%, -50%) !important;
		max-height: 96vh;
		width: calc(100vw - 16px);
		max-width: none;
		border-radius: 12px;
	}
	
	.project-modal__media { 
		flex: 0 0 240px; 
		min-height: 240px;
		max-height: 240px;
	}
	
	.project-modal__body {
		flex: 1 1 auto;
		overflow-y: auto;
		overflow-x: hidden;
		-webkit-overflow-scrolling: touch;
		padding: 12px;
		min-height: 0;
	}
	
	.project-modal__close {
		top: 6px;
		right: 6px;
		width: 32px;
		height: 32px;
		border-radius: 6px;
	}
	
	.main-title {
		font-size: 24px;
		margin-bottom: 6px;
		max-width: none;
	}
	
	.project-modal__meta {
		gap: 8px;
		margin: 6px 0 4px;
	}
	
	.project-modal__meta span {
		font-size: 13px;
	}
	
	/* Smaller mobile navigation arrows */
	.project-modal__nav {
		width: 32px;
		height: 32px;
		border-radius: 6px;
		font-size: 14px;
	}
	
	.project-modal__nav--prev {
		left: 6px;
	}
	
	.project-modal__nav--next {
		right: 6px;
	}
	
	.project-modal__desc {
		font-size: 14px;
		line-height: 1.4;
		margin-bottom: 12px;
	}
	
	.project-modal__section {
		font-size: 15px;
		margin: 12px 0 4px;
	}
	
	.project-modal__info {
		font-size: 14px;
		line-height: 1.4;
		margin-bottom: 12px;
	}
}

/* Extra small screens */
@media (max-width: 360px) {
	.project-modal__dialog { 
		position: fixed !important;
		margin: 0;
		top: 50% !important;
		left: 50% !important;
		transform: translate(-50%, -50%) !important;
		max-height: 98vh;
		width: calc(100vw - 12px);
		max-width: none;
		border-radius: 10px;
	}
	
	.project-modal__media { 
		flex: 0 0 200px; 
		min-height: 200px;
		max-height: 200px;
	}
	
	.project-modal__body {
		flex: 1 1 auto;
		overflow-y: auto;
		overflow-x: hidden;
		-webkit-overflow-scrolling: touch;
		padding: 10px;
		min-height: 0;
	}
	
	.main-title {
		font-size: 22px;
		margin-bottom: 4px;
		max-width: none;
	}
	
	.project-modal__meta {
		gap: 6px;
		margin: 4px 0 3px;
	}
	
	.project-modal__meta span {
		font-size: 12px;
	}
	
	.project-modal__desc {
		font-size: 13px;
		line-height: 1.3;
		margin-bottom: 10px;
	}
	
	.project-modal__section {
		font-size: 14px;
		margin: 10px 0 3px;
	}
	
	.project-modal__info {
		font-size: 13px;
		line-height: 1.3;
		margin-bottom: 10px;
	}
}

/* Touch improvements */
@media (hover: none) and (pointer: coarse) {
	.project-modal__thumb {
		min-height: 60px;
	}
	
	.project-modal__thumb:hover {
		transform: none;
	}
	
	.project-modal__thumb:active {
		transform: scale(0.95);
		transition: transform 0.1s ease;
	}
	
	.project-modal__close:hover {
		transform: none;
	}
	
	.project-modal__close:active {
		transform: scale(0.9);
		transition: transform 0.1s ease;
	}
	
	.project-modal__nav:hover {
		transform: translateY(-50%);
		box-shadow: none;
	}
	
	.project-modal__nav:active {
		transform: translateY(-50%) scale(0.9);
		transition: transform 0.1s ease;
	}
}

.project-modal__meta span,
.project-modal__meta b {
	color: rgba(255,255,255,0.9);
}

/* Ensure spacing between modal icons and labels */
.project-modal__meta span { display: inline-flex; align-items: center; gap: 8px; }
.project-modal__meta i { margin-right: 2px; font-size: 14px; }

/* Custom vertical scrollbar for modal content */
.project-modal__body { scrollbar-width: thin; scrollbar-color: rgba(0,102,255,0.6) rgba(255,255,255,0.08); }
.project-modal__body::-webkit-scrollbar { width: 10px; }

/* Project Detail Page Styles */
.project-detail-main {
	min-height: 100vh;
	padding: 140px 48px 48px;
	position: relative;
}

.project-detail-main::before {
	content: '';
	position: fixed;
	top: 0; left: 0; right: 0; bottom: 0;
	pointer-events: none;
	background:
		radial-gradient(60% 40% at 20% 0%, rgba(0,102,255,0.18), transparent 60%),
		radial-gradient(50% 40% at 100% 20%, rgba(0,212,255,0.14), transparent 60%);
	z-index: 0;
}

.project-detail-container {
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}

.project-detail__close {
	position: fixed;
	top: 100px;
	right: 48px;
	width: 48px;
	height: 48px;
	border-radius: 12px;
	border: 1px solid rgba(255,255,255,0.18);
	background: rgba(255,255,255,0.06);
	backdrop-filter: blur(20px);
	color: #fff;
	cursor: pointer;
	display: grid;
	place-items: center;
	transition: var(--transition-smooth);
	z-index: 1000;
	text-decoration: none;
	font-size: 18px;
	box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
	.project-detail__close {
		top: 84px;
		right: 20px;
		width: 40px;
		height: 40px;
		font-size: 16px;
	}
}

@media (max-width: 480px) {
	.project-detail__close {
		top: 84px;
		right: 12px;
		width: 36px;
		height: 36px;
		font-size: 14px;
	}
}

.project-detail__close:hover {
	transform: translateY(-2px);
	border-color: var(--primary-blue-light);
	background: rgba(0,102,255,0.2);
	box-shadow: 0 12px 40px rgba(0,102,255,0.3);
}

/* Hero Image Section */
.project-detail__hero {
	width: 100%;
	height: 60vh;
	min-height: 500px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	margin-bottom: 32px;
	box-shadow: 0 24px 80px rgba(0,0,0,0.35);
}

.project-detail__hero::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.6), transparent 50%);
}

/* Navigation Arrows */
.project-detail__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 48px;
	height: 48px;
	border-radius: 12px;
	border: 1px solid rgba(255,255,255,0.18);
	background: rgba(255,255,255,0.06);
	backdrop-filter: blur(20px);
	color: #fff;
	cursor: pointer;
	display: none;
	place-items: center;
	transition: var(--transition-smooth);
	z-index: 10;
	font-size: 18px;
	box-shadow: 0 8px 32px rgba(0,0,0,0.2);
	pointer-events: auto;
}

.project-detail__nav:hover {
	transform: translateY(-50%) translateY(-2px);
	border-color: var(--primary-blue-light);
	background: rgba(0,102,255,0.2);
	box-shadow: 0 12px 40px rgba(0,102,255,0.3);
}

.project-detail__nav:active {
	transform: translateY(-50%) scale(0.95);
}

.project-detail__nav--prev {
	left: 20px;
}

.project-detail__nav--next {
	right: 20px;
}

/* Content Section */
.project-detail__content {
	max-width: 1200px;
	margin: 0 auto;
}

.project-detail__header {
	margin-bottom: 32px;
}

.project-detail__header .main-title {
	max-width: none;
	line-height: 1.3;
	margin-bottom: 16px;
}

.project-detail__meta {
	display: flex;
	gap: 24px;
	margin-top: 16px;
	flex-wrap: wrap;
}

.project-detail__meta span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: rgba(255,255,255,0.9);
	font-size: 15px;
	font-weight: 300;
}

.project-detail__meta i {
	color: var(--primary-blue-light);
	font-size: 16px;
}

.project-detail__meta b {
	color: rgba(255,255,255,0.95);
	font-weight: 300;
}

/* Info Cards */
.project-detail__info-card {
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.14);
	border-radius: 20px;
	padding: 32px;
	backdrop-filter: blur(16px) saturate(180%);
	box-shadow: 0 24px 80px rgba(0,0,0,0.35);
	margin-bottom: 24px;
	transition: var(--transition-smooth);
	position: relative;
	overflow: hidden;
}

.project-detail__info-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(0,102,255,0.05) 0%, rgba(0,212,255,0.03) 100%);
	opacity: 0;
	transition: opacity 0.6s ease;
	z-index: -1;
}

.project-detail__info-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 32px 100px rgba(0, 102, 255, 0.2);
	border-color: rgba(255,255,255,0.2);
}

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

.project-detail__desc {
	color: rgba(255,255,255,0.9);
	line-height: 1.75;
	font-size: 16px;
	font-weight: 300;
	margin: 0 0 24px 0;
}

.project-detail__section {
	color: rgba(255,255,255,0.9);
	font-size: 22px;
	font-weight: 600;
	margin: 20px 0 8px 0;
	display: flex;
	align-items: center;
	gap: 12px;
}

.project-detail__section::before {
	content: '';
	width: 4px;
	height: 20px;
	background: var(--gradient-primary);
	border-radius: 2px;
	box-shadow: 0 0 12px rgba(0,102,255,0.6);
}

.project-detail__info {
	color: rgba(255,255,255,0.85);
	line-height: 1.7;
	font-size: 16px;
	font-weight: 300;
	margin: 0 0 24px 0;
}

/* Gallery Section */
.project-detail__gallery-section {
	margin-top: 32px;
}

.project-detail__gallery-wrapper {
	margin-top: 24px;
	overflow: hidden;
}

.project-detail__gallery {
	display: flex;
	flex-wrap: nowrap;
	overflow-x: auto;
	overflow-y: hidden;
	gap: 20px;
	padding-bottom: 8px;
	scrollbar-width: thin;
	scrollbar-color: rgba(0,102,255,0.6) rgba(255,255,255,0.08);
}

.project-detail__gallery::-webkit-scrollbar {
	height: 8px;
}

.project-detail__gallery::-webkit-scrollbar-track {
	background: rgba(255,255,255,0.08);
	border-radius: 999px;
}

.project-detail__gallery::-webkit-scrollbar-thumb {
	background: linear-gradient(90deg, #0066ff 0%, #00d4ff 100%);
	border-radius: 999px;
	border: 2px solid rgba(0,0,0,0.25);
}

.project-detail__thumb {
	flex: 0 0 200px;
	min-width: 200px;
	max-width: 200px;
	width: 200px;
	height: 150px;
	aspect-ratio: 4/3;
	border-radius: 16px;
	background-size: cover;
	background-position: center;
	cursor: pointer;
	border: 2px solid rgba(255,255,255,0.1);
	transition: var(--transition-smooth);
	position: relative;
	overflow: hidden;
	box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.project-detail__thumb::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(0,102,255,0.2) 0%, transparent 100%);
	opacity: 0;
	transition: opacity 0.6s ease;
}

.project-detail__thumb::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0.3);
	opacity: 0;
	transition: opacity 0.6s ease;
}

.project-detail__thumb:hover {
	border-color: var(--primary-blue-light);
	box-shadow: 0 0 30px rgba(0,102,255,0.5), 0 0 60px rgba(0,102,255,0.3);
}

.project-detail__thumb:hover::before,
.project-detail__thumb:hover::after {
	opacity: 1;
}

/* Responsive styles for project detail page */
@media (max-width: 968px) {
	.project-detail__hero {
		height: 50vh;
		min-height: 400px;
	}
	
	.project-detail__gallery {
		gap: 16px;
	}
	
	.project-detail__thumb {
		flex: 0 0 160px;
		min-width: 160px;
		max-width: 160px;
		width: 160px;
		height: 120px;
	}
}

@media (max-width: 768px) {
	.project-detail-main {
		padding: 112px 20px 24px;
	}
	
	.project-detail__hero {
		height: 45vh;
		min-height: 350px;
		border-radius: 16px;
		margin-bottom: 24px;
	}
	
	.project-detail__nav {
		width: 40px;
		height: 40px;
		font-size: 16px;
	}
	
	.project-detail__nav--prev {
		left: 12px;
	}
	
	.project-detail__nav--next {
		right: 12px;
	}
	
	.project-detail__info-card {
		padding: 24px;
		margin-bottom: 20px;
	}
	
	.project-detail__meta {
		gap: 16px;
	}
	
	.project-detail__gallery {
		gap: 12px;
	}
	
	.project-detail__thumb {
		flex: 0 0 140px;
		min-width: 140px;
		max-width: 140px;
		width: 140px;
		height: 105px;
	}
	
	.project-detail__section {
		font-size: 20px;
		margin: 16px 0 6px;
	}
}

@media (max-width: 480px) {
	.project-detail-main {
		padding: 112px 12px 20px;
	}
	
	.project-detail__hero {
		height: 40vh;
		min-height: 300px;
		border-radius: 12px;
		margin-bottom: 20px;
	}
	
	.project-detail__nav {
		width: 36px;
		height: 36px;
		font-size: 14px;
	}
	
	.project-detail__nav--prev {
		left: 8px;
	}
	
	.project-detail__nav--next {
		right: 8px;
	}
	
	.project-detail__header .main-title {
		font-size: 32px;
	}
	
	.project-detail__info-card {
		padding: 20px;
		margin-bottom: 16px;
		border-radius: 16px;
	}
	
	.project-detail__desc,
	.project-detail__info {
		font-size: 15px;
		line-height: 1.65;
	}
	
	.project-detail__section {
		font-size: 18px;
		margin: 12px 0 4px;
	}
	
	.project-detail__gallery {
		gap: 12px;
	}
	
	.project-detail__thumb {
		flex: 0 0 calc(50% - 6px);
		min-width: calc(50% - 6px);
		max-width: calc(50% - 6px);
		width: calc(50% - 6px);
		height: auto;
		aspect-ratio: 4/3;
	}
}

/* Disable hover effects on mobile */
@media (max-width: 768px) {
	.project-detail__nav:hover,
	.project-detail__nav:focus,
	.project-detail__nav:active {
		transform: translateY(-50%) !important;
		border-color: rgba(255,255,255,0.18) !important;
		background: rgba(255,255,255,0.06) !important;
		box-shadow: 0 8px 32px rgba(0,0,0,0.2) !important;
	}
	
	.project-detail__thumb:hover,
	.project-detail__thumb:focus,
	.project-detail__thumb:active {
		border-color: rgba(255,255,255,0.1) !important;
		box-shadow: 0 8px 32px rgba(0,0,0,0.3) !important;
	}
	
	.project-detail__thumb:hover::before,
	.project-detail__thumb:hover::after,
	.project-detail__thumb:focus::before,
	.project-detail__thumb:focus::after,
	.project-detail__thumb:active::before,
	.project-detail__thumb:active::after {
		opacity: 0 !important;
	}
}

@media (hover: none) and (pointer: coarse) {
	.project-detail__nav:hover,
	.project-detail__nav:focus,
	.project-detail__nav:active {
		transform: translateY(-50%) !important;
		border-color: rgba(255,255,255,0.18) !important;
		background: rgba(255,255,255,0.06) !important;
		box-shadow: 0 8px 32px rgba(0,0,0,0.2) !important;
	}
	
	.project-detail__thumb:hover,
	.project-detail__thumb:focus,
	.project-detail__thumb:active {
		border-color: rgba(255,255,255,0.1) !important;
		box-shadow: 0 8px 32px rgba(0,0,0,0.3) !important;
	}
	
	.project-detail__thumb:hover::before,
	.project-detail__thumb:hover::after,
	.project-detail__thumb:focus::before,
	.project-detail__thumb:focus::after,
	.project-detail__thumb:active::before,
	.project-detail__thumb:active::after {
		opacity: 0 !important;
	}
}
.project-modal__body::-webkit-scrollbar-track { background: rgba(255,255,255,0.08); border-radius: 999px; }
.project-modal__body::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #0066ff 0%, #00d4ff 100%); border-radius: 999px; border: 2px solid rgba(0,0,0,0.25); }

/* About Us Page Styles */
.about-main {
	padding: 140px 48px 48px;
	min-height: 100vh;
	position: relative;
	max-width: 100vw;
	overflow-x: hidden;
	box-sizing: border-box;
}

.about-main::before {
	content: '';
	position: fixed;
	top: 0; left: 0; right: 0; bottom: 0;
	pointer-events: none;
	background:
		radial-gradient(60% 40% at 20% 0%, rgba(0,102,255,0.18), transparent 60%),
		radial-gradient(50% 40% at 100% 20%, rgba(0,212,255,0.14), transparent 60%);
	z-index: 0;
}

.about-header {
	max-width: 1200px;
	margin: 0 auto 64px;
	text-align: left;
	position: relative;
	z-index: 1;
	overflow-x: hidden;
	box-sizing: border-box;
}

.about-subtitle {
	color: rgba(255,255,255,0.9);
	font-size: 18px;
	line-height: 1.7;
	max-width: 800px;
	margin: 40px 0 0 0;
	font-weight: 300;
}

.about-content {
	max-width: 1200px;
	margin: 32px auto 0;
	position: relative;
	z-index: 1;
	overflow-x: hidden;
	box-sizing: border-box;
}

.content-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 24px;
	overflow-x: hidden;
	box-sizing: border-box;
}

.content-card {
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.14);
	border-radius: 20px;
	padding: 32px;
	backdrop-filter: blur(16px) saturate(180%);
	box-shadow: 0 24px 80px rgba(0,0,0,0.35);
	transition: var(--transition-smooth);
	position: relative;
	overflow: hidden;
	word-wrap: break-word;
	overflow-wrap: break-word;
	box-sizing: border-box;
}

.content-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(0,102,255,0.05) 0%, rgba(0,212,255,0.03) 100%);
	opacity: 0;
	transition: opacity 0.6s ease;
	z-index: -1;
}

.content-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 32px 100px rgba(0, 102, 255, 0.2);
	border-color: rgba(255,255,255,0.2);
}

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

.card-icon {
	width: 64px;
	height: 64px;
	background: var(--gradient-primary);
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 24px;
	box-shadow: 0 8px 24px rgba(0,102,255,0.3);
}

.card-icon i {
	font-size: 28px;
	color: white;
}

.card-title {
	color: rgba(255,255,255,0.95);
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 20px;
	letter-spacing: -0.02em;
}

.card-description {
	color: rgba(255,255,255,0.8);
	font-size: 16px;
	line-height: 1.6;
	margin: 0;
	font-weight: 300;
}

/* Services List */
.services-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.service-item {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px;
	background: rgba(255,255,255,0.04);
	border-radius: 12px;
	border: 1px solid rgba(255,255,255,0.08);
	transition: var(--transition-smooth);
}

.service-item:hover {
	background: rgba(255,255,255,0.08);
	transform: translateX(8px);
}

.service-item i {
	font-size: 20px;
	color: var(--primary-blue-light);
	width: 24px;
	text-align: center;
}

.service-item span {
	color: rgba(255,255,255,0.9);
	font-size: 15px;
	font-weight: 300;
}

/* Values List */
.values-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.value-item {
	display: flex;
	gap: 16px;
	align-items: flex-start;
}

.value-item i {
	font-size: 20px;
	color: var(--primary-blue-light);
	margin-top: 4px;
	flex-shrink: 0;
}

.value-content h3 {
	color: rgba(255,255,255,0.95);
	font-size: 18px;
	font-weight: 600;
	margin: 0 0 8px 0;
}

.value-content p {
	color: rgba(255,255,255,0.8);
	font-size: 14px;
	line-height: 1.5;
	margin: 0;
	font-weight: 300;
}

/* Why Choose Us List */
.why-choose-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.why-item {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 20px;
	background: rgba(255,255,255,0.04);
	border-radius: 12px;
	border: 1px solid rgba(255,255,255,0.08);
	transition: var(--transition-smooth);
}

.why-item:hover {
	background: rgba(255,255,255,0.08);
	transform: translateX(8px);
}

.why-item i {
	font-size: 20px;
	color: var(--primary-blue-light);
	width: 24px;
	text-align: center;
}

.why-item span {
	color: rgba(255,255,255,0.9);
	font-size: 15px;
	font-weight: 300;
	line-height: 1.4;
}

/* Mobile Responsive */
@media (max-width: 768px) {
	.about-main {
		padding: 112px 20px 24px;
	}
	
	.about-header {
		margin-bottom: 40px;
	}
	
	.about-subtitle {
		font-size: 16px;
		line-height: 1.6;
	}
	
	.content-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	
	.content-card {
		padding: 24px;
		word-wrap: break-word;
		overflow-wrap: break-word;
	}
	
	.card-icon {
		width: 56px;
		height: 56px;
		margin-bottom: 20px;
	}
	
	.card-icon i {
		font-size: 24px;
	}
	
	.card-title {
		font-size: 20px;
		margin-bottom: 16px;
	}
	
	.card-description {
		font-size: 15px;
	}
	
	.service-item,
	.why-item {
		padding: 12px;
		gap: 12px;
	}
	
	.service-item i,
	.why-item i {
		font-size: 18px;
		width: 20px;
	}
	
	.service-item span,
	.why-item span {
		font-size: 14px;
	}
	
	.value-item {
		gap: 12px;
	}
	
	.value-item i {
		font-size: 18px;
	}
	
	.value-content h3 {
		font-size: 16px;
		margin-bottom: 6px;
	}
	
	.value-content p {
		font-size: 13px;
	}
}

@media (max-width: 480px) {
	.about-main {
		padding: 100px 16px 20px;
	}
	
	.about-subtitle {
		font-size: 15px;
	}
	
	.content-grid {
		gap: 16px;
	}
	
	.content-card {
		padding: 20px;
		word-wrap: break-word;
		overflow-wrap: break-word;
	}
	
	.card-icon {
		width: 48px;
		height: 48px;
		margin-bottom: 16px;
	}
	
	.card-icon i {
		font-size: 20px;
	}
	
	.card-title {
		font-size: 18px;
		margin-bottom: 12px;
	}
}

/* Prevent horizontal scroll on about page */
.about-main * {
	max-width: 100%;
	box-sizing: border-box;
}

.about-main .content-card,
.about-main .service-item,
.about-main .why-item,
.about-main .value-item {
	overflow-x: hidden;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

/* Prevent double-tap zoom on buttons and links */
button, a, .btn, .filter-btn, .lang-btn, .project-card, .contact-item-mobile {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}