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

:root {
    --teal-primary: #00DDDD;
    --teal-light: #33E6E6;
    --teal-dark: #00B3B3;
    --marble-white: #F8FAFC;
    --marble-black: #1A202C;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-light: 0 8px 32px rgba(0, 221, 221, 0.2);
    --shadow-heavy: 0 20px 60px rgba(0, 221, 221, 0.4);
    --gradient-teal: linear-gradient(135deg, #00DDDD 0%, #33E6E6 50%, #00B3B3 100%);
}

html { 
    scroll-behavior: smooth; 
}

/* Performance optimizations */
* {
    will-change: auto;
}

img {
    content-visibility: auto;
}

.hero, .services, .portfolio, .about, .contact {
    content-visibility: auto;
    contain-intrinsic-size: 0 500px;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--marble-black);
    color: var(--marble-white);
    overflow-x: hidden;
    cursor: auto;
}


/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--marble-black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.marble-loader {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
    align-items: center;
}

.marble-orb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gradient-teal);
    animation: marbleFloat 2s ease-in-out infinite;
}

.marble-orb:nth-child(2) { animation-delay: 0.2s; }
.marble-orb:nth-child(3) { animation-delay: 0.4s; }

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

.loading-logo {
    height: 180px;
    width: auto;
    margin-bottom: 30px;
    animation: logoFloat 2s ease-in-out infinite;
    object-fit: contain;
    max-width: 400px;
    position: relative;
    z-index: 10;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

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

.loading-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.loading-progress {
    height: 100%;
    background: var(--gradient-teal);
    border-radius: 2px;
    animation: loadingProgress 3s ease-in-out infinite;
}

@keyframes loadingProgress {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    background: rgba(26, 32, 44, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 15px 0;
    background: rgba(26, 32, 44, 0.95);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-img {
    height: 100px;
    width: auto;
    transition: all 0.3s ease;
    object-fit: contain;
    max-width: 350px;
}

.logo-img:hover {
    transform: scale(1.05);
}

.footer-logo {
    height: 80px;
    width: auto;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    object-fit: contain;
    max-width: 180px;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 30px;
    transition: all 0.3s ease;
}

.nav-link {
    color: var(--marble-white);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 10px 0;
    transition: all 0.3s ease;
    overflow: hidden;
}

.nav-link::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-teal);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.nav-link:hover::before,
.nav-link.active::before {
    transform: translateY(0);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-teal);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--marble-white);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at center, rgba(0, 221, 221, 0.1) 0%, rgba(26, 32, 44, 1) 70%);
}

.marble-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.marble-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(0, 221, 221, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(74, 144, 226, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(123, 179, 240, 0.2) 0%, transparent 70%);
    animation: pulseGlow 4s ease-in-out infinite;
    z-index: -1;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

.marble-layer-1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle at 20% 80%, rgba(74, 144, 226, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(123, 179, 240, 0.3) 0%, transparent 50%);
    animation: marbleFlow1 20s ease-in-out infinite;
    opacity: 0.6;
}

.marble-layer-2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 120%;
    height: 120%;
    background: conic-gradient(from 0deg at 50% 50%, 
        rgba(74, 144, 226, 0.2) 0deg,
        rgba(123, 179, 240, 0.3) 90deg,
        rgba(44, 82, 130, 0.2) 180deg,
        rgba(74, 144, 226, 0.3) 270deg);
    animation: marbleFlow2 25s ease-in-out infinite reverse;
    opacity: 0.4;
    mix-blend-mode: screen;
}

.marble-layer-3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        transparent 0%, 
        rgba(74, 144, 226, 0.1) 25%, 
        transparent 50%, 
        rgba(123, 179, 240, 0.1) 75%, 
        transparent 100%);
    animation: marbleShimmer 15s ease-in-out infinite;
}

@keyframes marbleFlow1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    25% { transform: translate(-5%, 5%) rotate(90deg) scale(1.1); }
    50% { transform: translate(5%, -5%) rotate(180deg) scale(0.9); }
    75% { transform: translate(-5%, -5%) rotate(270deg) scale(1.1); }
}

@keyframes marbleFlow2 {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
    33% { transform: translate(10%, -10%) scale(1.2) rotate(120deg); }
    66% { transform: translate(-10%, 10%) scale(0.8) rotate(240deg); }
}

@keyframes marbleShimmer {
    0%, 100% { opacity: 0.3; transform: translateX(0); }
    50% { opacity: 0.6; transform: translateX(20px); }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    z-index: 3;
}

.scroll-mouse {
    width: 24px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 14px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--teal-primary);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheelScroll 1.6s ease-in-out infinite;
}

@keyframes wheelScroll {
    0% { opacity: 1; transform: translate(-50%, 0); }
    70% { opacity: 0; transform: translate(-50%, 12px); }
    100% { opacity: 0; transform: translate(-50%, 12px); }
}

.hero-text {
    animation: slideInLeft 1s ease-out;
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.hero-title::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(45deg, transparent, rgba(0, 221, 221, 0.1), transparent);
    border-radius: 20px;
    animation: titleGlow 3s ease-in-out infinite;
    z-index: -1;
}

@keyframes titleGlow {
    0%, 100% { opacity: 0; transform: rotate(0deg); }
    50% { opacity: 1; transform: rotate(180deg); }
}

.title-line {
    display: block;
    overflow: hidden;
}

.title-line:nth-child(1) { animation: titleReveal 1s ease-out 0.2s both; }
.title-line:nth-child(2) { animation: titleReveal 1s ease-out 0.4s both; }
.title-line:nth-child(3) { animation: titleReveal 1s ease-out 0.6s both; }

.marble-text {
    background: var(--gradient-teal);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.marble-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    animation: textShine 2s ease-in-out infinite;
}

.marble-text::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, rgba(0, 221, 221, 0.3), rgba(74, 144, 226, 0.3), rgba(123, 179, 240, 0.3));
    border-radius: 10px;
    filter: blur(10px);
    animation: marbleGlow 2s ease-in-out infinite alternate;
    z-index: -1;
}

@keyframes marbleGlow {
    0% { opacity: 0.5; transform: scale(0.95); }
    100% { opacity: 0.8; transform: scale(1.05); }
}

@keyframes titleReveal {
    0% { transform: translateY(100%); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes textShine {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

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

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.8s both;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    position: relative;
}

.hero-subtitle::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, rgba(0, 221, 221, 0.05), rgba(74, 144, 226, 0.05));
    border-radius: 10px;
    animation: subtitleGlow 4s ease-in-out infinite;
    z-index: -1;
}

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

@keyframes fadeInUp {
    0% { transform: translateY(30px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1s ease-out 1s both;
}

/* Button Styles */
.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.marble-btn {
    background: var(--gradient-teal);
    color: white;
    box-shadow: var(--shadow-light);
    position: relative;
    overflow: hidden;
}

.marble-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.2) 50%, transparent 70%);
    transform: translateX(-100%);
    animation: buttonShimmer 3s ease-in-out infinite;
}

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

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

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

.marble-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-heavy), 0 0 30px rgba(0, 221, 221, 0.6);
    animation: buttonPulse 0.6s ease-in-out;
}

@keyframes buttonPulse {
    0% { transform: translateY(-3px) scale(1.05); }
    50% { transform: translateY(-5px) scale(1.08); }
    100% { transform: translateY(-3px) scale(1.05); }
}

.glass-btn {
    background: var(--glass-bg);
    color: var(--marble-white);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
}

.glass-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-light), 0 0 25px rgba(74, 144, 226, 0.4);
    border-color: var(--teal-primary);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
    animation: slideInRight 1s ease-out 0.5s both;
}

.hero-subtitle-container {
    position: relative;
}

.hero-subtitle-container .design-tool-animation {
    position: absolute;
    top: -300px;
    left: -150px;
    width: 450px;
    height: 280px;
    z-index: 10;
    filter: drop-shadow(0 20px 40px rgba(0, 221, 221, 0.3));
}

.design-tool-animation svg {
    width: 100%;
    height: 100%;
}

#cursor,
#box,
#text {
    cursor: pointer;
}

#cursor {
    overflow: visible;
    transform: translate3d(300px, 0, 0) scale(1);
    transform-origin: center center;
    transform-box: fill-box;
    animation: cursor 5s ease infinite alternate;
}

@keyframes cursor {
    0% {
        opacity: 0;
        transform: translate3d(300px, 0, 0) scale(1);
    }
    30% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
    60% {
        opacity: 1;
        transform: translate3d(-200px, -200px, 0) scale(1);
    }
    65% {
        opacity: 1;
        transform: translate3d(-200px, -200px, 0) scale(0.95);
    }
    70% {
        opacity: 1;
        transform: translate3d(-200px, -200px, 0) scale(1);
    }
    100% {
        opacity: 1;
        transform: translate3d(-300px, -50px, 0) scale(1);
    }
}

#box {
    opacity: 0;
    animation: box 5s ease infinite alternate;
}

@keyframes box {
    0%,
    60% {
        opacity: 0;
    }
    65%,
    100% {
        opacity: 1;
    }
}

#text {
    animation: textGlow 3s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% {
        filter: drop-shadow(0 0 5px rgba(0, 221, 221, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 15px rgba(0, 221, 221, 0.8));
    }
}

@keyframes slideInRight {
    0% { transform: translateX(100px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

.floating-card {
    position: absolute;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 20px;
    box-shadow: var(--shadow-light), 0 0 30px rgba(0, 221, 221, 0.3);
    animation: float 6s ease-in-out infinite, cardPulse 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

@keyframes cardPulse {
    0%, 100% { box-shadow: var(--shadow-light), 0 0 30px rgba(0, 221, 221, 0.3); }
    50% { box-shadow: var(--shadow-heavy), 0 0 50px rgba(0, 221, 221, 0.6); }
}

.floating-card:hover {
    transform: translateY(-10px) scale(1.1) rotateY(10deg);
    box-shadow: var(--shadow-heavy), 0 0 60px rgba(0, 221, 221, 0.8);
    border-color: var(--teal-primary);
}

.floating-card.card-1 {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
    z-index: 5;
}

.floating-card.card-2 {
    top: 70%;
    right: 10%;
    animation-delay: 2s;
    z-index: 5;
}

.floating-card.card-3 {
    bottom: 15%;
    left: 15%;
    animation-delay: 4s;
    z-index: 5;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(1deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
}

.card-content {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--marble-white);
}

.card-content i {
    font-size: 1.5rem;
    color: var(--teal-primary);
    transition: all 0.3s ease;
}

.floating-card:hover .card-content i {
    transform: rotateY(180deg) scale(1.2);
    color: var(--teal-light);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.6);
    animation: fadeInUp 1s ease-out 1.5s both, indicatorBounce 2s ease-in-out infinite 2s;
}

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

.scroll-mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--teal-primary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

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

/* Particle System */
.particle-system {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--teal-primary);
    border-radius: 50%;
    opacity: 0.6;
    animation: particleFloat 8s ease-in-out infinite;
}

.particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 6s;
}

.particle:nth-child(2) {
    top: 60%;
    left: 20%;
    animation-delay: 1s;
    animation-duration: 8s;
}

.particle:nth-child(3) {
    top: 30%;
    left: 70%;
    animation-delay: 2s;
    animation-duration: 7s;
}

.particle:nth-child(4) {
    top: 80%;
    left: 60%;
    animation-delay: 3s;
    animation-duration: 9s;
}

.particle:nth-child(5) {
    top: 10%;
    left: 80%;
    animation-delay: 4s;
    animation-duration: 6s;
}

.particle:nth-child(6) {
    top: 70%;
    left: 30%;
    animation-delay: 5s;
    animation-duration: 8s;
}

.particle:nth-child(7) {
    top: 40%;
    left: 90%;
    animation-delay: 6s;
    animation-duration: 7s;
}

.particle:nth-child(8) {
    top: 90%;
    left: 15%;
    animation-delay: 7s;
    animation-duration: 9s;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-30px) translateX(20px) scale(1.2);
        opacity: 1;
    }
    50% {
        transform: translateY(-60px) translateX(-10px) scale(0.8);
        opacity: 0.4;
    }
    75% {
        transform: translateY(-30px) translateX(-20px) scale(1.1);
        opacity: 0.8;
    }
}

/* Title Decoration */
.title-decoration {
    position: absolute;
    top: -30px;
    right: -50px;
    display: flex;
    gap: 15px;
    animation: decorationFloat 4s ease-in-out infinite;
}

.decoration-orb {
    width: 12px;
    height: 12px;
    background: var(--gradient-teal);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 221, 221, 0.6);
    animation: orbPulse 2s ease-in-out infinite;
}

.decoration-orb:nth-child(1) {
    animation-delay: 0s;
}

.decoration-orb:nth-child(2) {
    animation-delay: 0.3s;
}

.decoration-orb:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes decorationFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(180deg); }
}

@keyframes orbPulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 1; }
}

/* Button Ripple Effect */
.button-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: rippleEffect 2s ease-out infinite;
}

@keyframes rippleEffect {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 300px;
        height: 300px;
        opacity: 0;
    }
}

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

/* Section Styles */
section {
    padding: 100px 0;
    position: relative;
}

.loading-content {
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--teal-primary) !important;
    background: var(--gradient-teal);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    text-shadow: 0 0 10px rgba(0, 221, 221, 0.5);
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Fallback for browsers that don't support background-clip */
@supports not (-webkit-background-clip: text) {
    .section-title {
        color: var(--teal-primary) !important;
        -webkit-text-fill-color: var(--teal-primary) !important;
    }
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-teal);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9) !important;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Services Section */
.services {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.05) 0%, rgba(26, 32, 44, 1) 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-teal);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.service-card:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
    box-shadow: var(--shadow-heavy);
    border-color: var(--teal-primary);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.service-card:hover .service-icon {
    transform: rotateY(360deg) scale(1.1);
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.5);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--marble-white);
    position: relative;
    z-index: 2;
}

.service-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.service-features {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.service-features span {
    background: rgba(0, 221, 221, 0.2);
    color: var(--teal-primary);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.service-card:hover .service-features span {
    background: rgba(0, 221, 221, 0.3);
    transform: translateY(-2px);
}

/* Portfolio Section */
.portfolio {
    background: linear-gradient(135deg, rgba(26, 32, 44, 1) 0%, rgba(74, 144, 226, 0.05) 100%);
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    color: var(--marble-white);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--gradient-teal);
    border-color: var(--teal-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    border-radius: 20px;
    overflow: hidden;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    position: relative;
    height: 300px;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.portfolio-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.3), rgba(123, 179, 240, 0.3));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 32, 44, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    text-align: center;
    padding: 30px;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--marble-white);
}

.portfolio-overlay p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.portfolio-links {
    display: flex;
    gap: 15px;
}

.portfolio-link {
    width: 50px;
    height: 50px;
    background: var(--gradient-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.portfolio-link:hover {
    transform: scale(1.1) rotateY(180deg);
    box-shadow: var(--shadow-light);
}

/* New Portfolio Showcase Styles */
.portfolio-showcase {
    margin-top: 40px;
}

.portfolio-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.portfolio-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 221, 221, 0.05), rgba(74, 144, 226, 0.05));
    animation: previewGlow 4s ease-in-out infinite;
}

@keyframes previewGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.preview-content {
    position: relative;
    z-index: 2;
}

.preview-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--marble-white);
    background: var(--gradient-teal);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.preview-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.portfolio-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: var(--gradient-teal);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.portfolio-cta-btn:hover::before {
    left: 100%;
}

.portfolio-cta-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-heavy);
}

.preview-visual {
    position: relative;
    height: 300px;
    z-index: 2;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-elements > div {
    position: absolute;
    width: 80px;
    height: 80px;
    background: var(--gradient-teal);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: var(--shadow-light);
    animation: elementFloat 6s ease-in-out infinite;
}

.element-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.element-2 {
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.element-3 {
    bottom: 10%;
    left: 40%;
    animation-delay: 4s;
}

@keyframes elementFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(5deg); }
    66% { transform: translateY(10px) rotate(-5deg); }
}

.floating-elements > div:hover {
    transform: scale(1.1) rotateY(180deg);
    box-shadow: var(--shadow-heavy);
}

/* Phone Link Styles */
.phone-link {
    color: var(--teal-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.phone-link:hover {
    color: var(--teal-light);
    text-shadow: 0 0 10px rgba(0, 221, 221, 0.5);
}

.phone-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-teal);
    transition: width 0.3s ease;
}

.phone-link:hover::after {
    width: 100%;
}

/* About Section */
.about {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.05) 0%, rgba(26, 32, 44, 1) 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

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

.stat-item {
    text-align: center;
    padding: 20px;
    background: var(--glass-bg);
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-light);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-teal);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.team-showcase {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.showcase-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: var(--glass-bg);
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.showcase-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-light);
}

.showcase-item i {
    font-size: 2rem;
    color: var(--teal-primary);
    width: 60px;
    text-align: center;
}

.showcase-item span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--marble-white);
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, rgba(26, 32, 44, 1) 0%, rgba(74, 144, 226, 0.05) 100%);
}

.contact .section-title {
    color: var(--teal-primary) !important;
    -webkit-text-fill-color: var(--teal-primary) !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: var(--glass-bg);
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-light);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--marble-white);
}

.contact-details p {
    color: rgba(255, 255, 255, 0.8);
}

.contact-form {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
}

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--marble-white);
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-group select {
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.6)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0px center;
    background-size: 20px;
    padding-right: 30px;
}

.form-group select option {
    background: var(--marble-black);
    color: var(--marble-white);
    padding: 10px;
}

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

.form-group label {
    position: absolute;
    top: 15px;
    left: 0;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    pointer-events: none;
    background: transparent;
    z-index: 1;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -10px;
    font-size: 0.8rem;
    color: var(--teal-primary);
    background: transparent;
    padding: 0;
    border: none;
    outline: none;
}

.form-group:has(select) label,
.form-group select:focus + label,
.form-group select:not([value=""]) + label {
    top: -10px;
    font-size: 0.8rem;
    color: var(--teal-primary);
    background: transparent;
    padding: 0;
    border: none;
    outline: none;
}

/* Footer */
.footer {
    background: var(--marble-black);
    border-top: 1px solid var(--glass-border);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 15px;
    line-height: 1.6;
    max-width: 250px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-column h4 {
    color: var(--marble-white);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.footer-column a:hover {
    color: var(--teal-primary);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--marble-white);
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 0;
    font-size: 18px;
}

.social-link i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.social-link:hover {
    background: var(--gradient-teal);
    transform: translateY(-3px) rotate(360deg);
    box-shadow: var(--shadow-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
    color: rgba(255, 255, 255, 0.6);
}

/* Mobile Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
    
    .service-card {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    /* Navigation - Fresh Start */
    .navbar {
        padding: 15px 0;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: rgba(26, 32, 44, 0.95);
        backdrop-filter: blur(10px);
    }
    
    .nav-container {
        padding: 0 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo-img {
        height: 50px;
        max-width: 180px;
    }
    
    /* Hide desktop menu */
    .nav-menu {
        display: none;
    }
    
    /* Burger Menu Icon - Themed */
    .nav-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        position: relative;
        cursor: pointer;
        z-index: 9999;
        padding: 8px;
        background: rgba(255, 255, 255, 0.1);
        border: 2px solid rgba(0, 221, 221, 0.5);
        border-radius: 10px;
        backdrop-filter: blur(10px);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-toggle:hover {
        background: rgba(0, 221, 221, 0.1);
        border-color: var(--teal-primary);
        transform: scale(1.05);
        box-shadow: 0 4px 15px rgba(0, 221, 221, 0.2);
    }
    
    .nav-toggle span {
        display: block;
        position: absolute;
        height: 3px;
        width: 24px;
        background: linear-gradient(90deg, var(--marble-white), var(--teal-primary));
        border-radius: 2px;
        opacity: 1;
        left: 50%;
        top: 45%;
        transform: translateX(-50%) translateY(-50%);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 0 8px rgba(0, 221, 221, 0.3);
    }
    
    .nav-toggle span:nth-child(1) {
        transform: translateX(-50%) translateY(-50%) translateY(-7px);
    }
    
    .nav-toggle span:nth-child(2) {
        transform: translateX(-50%) translateY(-50%);
    }
    
    .nav-toggle span:nth-child(3) {
        transform: translateX(-50%) translateY(-50%) translateY(7px);
    }
    
    /* Burger Animation - Smooth */
    .nav-toggle.active {
        background: rgba(0, 221, 221, 0.15);
        border-color: var(--teal-primary);
        transform: scale(1.1);
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: translateX(-50%) translateY(-50%) rotate(135deg);
        background: var(--teal-primary);
        box-shadow: 0 0 12px rgba(0, 221, 221, 0.6);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-50%) translateY(-50%) translateX(-30px);
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: translateX(-50%) translateY(-50%) rotate(-135deg);
        background: var(--teal-primary);
        box-shadow: 0 0 12px rgba(0, 221, 221, 0.6);
    }
    
    /* Mobile Menu Overlay - Optimized */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.6);
        z-index: 9999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s ease, visibility 0.25s ease;
    }
    
    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* Mobile Menu - Side Container - Fixed */
    .mobile-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: rgba(26, 32, 44, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 10000;
        transition: right 0.4s ease;
        border-left: 2px solid var(--teal-primary);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }
    
    .mobile-menu.active {
        right: 0;
    }
    
    
    .mobile-menu a {
        color: white;
        text-decoration: none;
        font-size: 22px;
        font-weight: 500;
        font-family: 'Space Grotesk', sans-serif;
        margin: 15px 0;
        padding: 20px 30px;
        width: 80%;
        text-align: center;
        transition: all 0.3s ease;
        position: relative;
        border-bottom: 1px solid rgba(0, 221, 221, 0.3);
        display: block;
        z-index: 10001;
    }
    
    
    .mobile-menu a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 2px;
        background: var(--teal-primary);
        transition: all 0.3s ease;
        transform: translateX(-50%);
    }
    
    .mobile-menu a:hover {
        color: var(--teal-primary);
        transform: translateX(10px);
    }
    
    .mobile-menu a:hover::after {
        width: 60%;
    }
    
    .mobile-menu a:active {
        transform: translateX(5px) scale(0.98);
    }
    
    .mobile-menu a:last-child {
        border-bottom: none;
    }
    
    /* Hide scroll indicator on mobile */
    .scroll-indicator { display: none; }

    /* Hero Section */
    .hero {
        min-height: 100vh;
        padding: 100px 0 40px;
        margin-top: 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
        padding: 0 20px;
        max-width: 100%;
        overflow: hidden;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 20px;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
        line-height: 1.6;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 18px 30px;
    }
    
    .hero-visual {
        height: 300px;
        margin-top: 20px;
    }
    
    .floating-card {
        padding: 15px;
        border-radius: 15px;
    }
    
    .floating-card.card-1 {
        top: 10%;
        left: 5%;
        transform: scale(0.8);
    }
    
    .floating-card.card-2 {
        top: 40%;
        right: 5%;
        transform: scale(0.8);
    }
    
    .floating-card.card-3 {
        bottom: 10%;
        left: 20%;
        transform: scale(0.8);
    }
    
    /* Sections */
    section {
        padding: 60px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .section-header {
        margin-bottom: 50px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 25px;
        margin: 0 10px;
    }
    
    .service-card:hover {
        transform: translateY(-5px);
    }
    
    /* Portfolio */
    .portfolio-filter {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
        margin-bottom: 40px;
    }
    
    .filter-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
        text-align: center;
    }
    
    .portfolio-preview {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 20px;
        text-align: center;
    }
    
    .preview-content h3 {
        font-size: 1.5rem;
    }
    
    .preview-visual {
        height: 200px;
    }
    
    .floating-elements > div {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* About */
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    /* Contact */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-form {
        order: 1;
        text-align: center;
    }
    
    .contact-form .marble-btn {
        margin: 0 auto;
        display: block;
        width: fit-content;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        max-width: 100%;
    }
    
    .footer-brand {
        order: 3;
    }
    
    .footer-column:nth-of-type(1) {
        order: 1;
    }
    
    .footer-column:nth-of-type(2) {
        order: 2;
    }
    
    .footer-logo {
        height: 65px;
    }
    
    .footer-brand p {
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Loading Screen */
    .loading-logo {
        height: 120px;
        max-width: 250px;
    }
    
    /* Disable complex animations on mobile */
    .marble-btn:hover,
    .glass-btn:hover,
    .service-card:hover,
    .floating-card:hover {
        transform: none;
    }
    
    .marble-btn:active,
    .glass-btn:active {
        transform: scale(0.98);
    }
    
    /* Touch-friendly interactions */
    .nav-link,
    .btn-primary,
    .btn-secondary,
    .filter-btn,
    .portfolio-link,
    .social-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    body {
        cursor: auto;
    }
    
    .mouse-follower,
    .mouse-dot {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-visual {
        height: 250px;
    }
    
    .floating-card {
        padding: 12px;
        transform: scale(0.7) !important;
    }
    
    .card-content {
        gap: 10px;
        font-size: 0.8rem;
    }
    
    .card-content i {
        font-size: 1.2rem;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .btn-primary, .btn-secondary {
        padding: 15px 25px;
        font-size: 0.9rem;
    }
}
