*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; }

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #2dd4bf;
    color: #0a1e35;
    padding: 8px 16px;
    z-index: 100;
    font-weight: 600;
    transition: top 0.2s;
}
.skip-link:focus { top: 0; }

.nav-link { position: relative; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #2dd4bf;
    transition: all 0.2s;
    transform: translateX(-50%);
}
.nav-link:hover::after { width: 60%; }

.mobile-link { display: block; }

.header-scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Geometric shapes */
.geo-shape {
    position: absolute;
    pointer-events: none;
    opacity: 0.6;
}

.geo-circle-1 {
    width: 300px;
    height: 300px;
    border: 2px solid rgba(45, 212, 191, 0.1);
    border-radius: 50%;
    top: 15%;
    right: -5%;
    animation: float-slow 8s ease-in-out infinite;
}

.geo-circle-2 {
    width: 150px;
    height: 150px;
    background: rgba(45, 212, 191, 0.05);
    border-radius: 50%;
    bottom: 20%;
    right: 10%;
    animation: float-slow 6s ease-in-out infinite reverse;
}

.geo-diamond {
    width: 80px;
    height: 80px;
    background: rgba(45, 212, 191, 0.08);
    top: 30%;
    right: 5%;
    transform: rotate(45deg);
    animation: float-slow 7s ease-in-out infinite;
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid rgba(45, 212, 191, 0.06);
    top: 50%;
    left: 5%;
    animation: float-slow 9s ease-in-out infinite reverse;
}

.geo-about-circle {
    width: 200px;
    height: 200px;
    border: 2px solid rgba(45, 212, 191, 0.15);
    border-radius: 50%;
    top: 10%;
    right: -3%;
    animation: float-slow 10s ease-in-out infinite;
}

.geo-about-square {
    width: 100px;
    height: 100px;
    background: rgba(45, 212, 191, 0.08);
    bottom: 15%;
    left: -2%;
    transform: rotate(30deg);
    animation: float-slow 8s ease-in-out infinite reverse;
}

.geo-contact-circle {
    width: 250px;
    height: 250px;
    border: 2px solid rgba(45, 212, 191, 0.08);
    border-radius: 50%;
    bottom: -5%;
    left: -5%;
    animation: float-slow 12s ease-in-out infinite;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}

.geo-diamond {
    animation-name: float-diamond;
}
@keyframes float-diamond {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(-15px); }
}

.geo-about-square {
    animation-name: float-square;
}
@keyframes float-square {
    0%, 100% { transform: rotate(30deg) translateY(0); }
    50% { transform: rotate(30deg) translateY(-12px); }
}

/* Scroll reveal */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    .reveal:nth-child(2) { transition-delay: 0.1s; }
    .reveal:nth-child(3) { transition-delay: 0.2s; }
    .reveal:nth-child(4) { transition-delay: 0.3s; }
}

/* Service card hover glow */
.service-card:hover {
    box-shadow: 0 20px 60px rgba(10, 31, 53, 0.15);
}

.service-card:hover .w-14 {
    transform: scale(1.1) rotate(-5deg);
    transition: transform 0.3s ease;
}
