/* ===== BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== GEOMETRIC SHAPES ===== */
.geo-shape {
    position: absolute;
    pointer-events: none;
    will-change: transform;
}

/* Hero shapes */
.shape-circle-1 {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.15) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation: float-slow 8s ease-in-out infinite;
}

.shape-circle-2 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.1) 0%, transparent 70%);
    bottom: 10%;
    left: 5%;
    animation: float-slow 10s ease-in-out infinite reverse;
}

.shape-square-1 {
    width: 120px;
    height: 120px;
    background: rgba(20, 184, 166, 0.08);
    border: 2px solid rgba(20, 184, 166, 0.15);
    top: 25%;
    left: 8%;
    transform: rotate(45deg);
    animation: spin-slow 20s linear infinite;
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 86px solid rgba(45, 212, 191, 0.08);
    top: 60%;
    right: 10%;
    animation: float-slow 6s ease-in-out infinite;
}

.shape-ring-1 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 3px solid rgba(20, 184, 166, 0.1);
    bottom: 20%;
    right: 5%;
    animation: spin-slow 15s linear infinite reverse;
}

/* Why Us shapes */
.shape-circle-3 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.08) 0%, transparent 70%);
    bottom: -100px;
    right: -100px;
    animation: float-slow 9s ease-in-out infinite;
}

.shape-square-2 {
    width: 80px;
    height: 80px;
    background: rgba(45, 212, 191, 0.06);
    border: 2px solid rgba(45, 212, 191, 0.12);
    top: 15%;
    left: 5%;
    transform: rotate(30deg);
    animation: spin-slow 25s linear infinite;
}

/* Reviews shapes */
.shape-circle-4 {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.08) 0%, transparent 70%);
    top: -80px;
    left: -80px;
    animation: float-slow 7s ease-in-out infinite reverse;
}

/* CTA shapes */
.shape-circle-5 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
    top: -50px;
    left: 10%;
    animation: float-slow 8s ease-in-out infinite;
}

.shape-square-3 {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.08);
    bottom: 10%;
    right: 15%;
    transform: rotate(60deg);
    animation: spin-slow 18s linear infinite;
}

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

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===== SCROLL REVEAL (below fold only, progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
    .service-card,
    .gallery-item,
    #why-us .flex > div,
    #reviews .bg-white {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .geo-shape {
        animation: none;
    }
    .gallery-item img {
        transition: none;
    }
}

/* ===== NAVBAR ===== */
#navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

#navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* ===== SERVICE CARDS ===== */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2dd4bf, #0d9488);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* ===== GALLERY ===== */
.gallery-item {
    cursor: pointer;
}

/* ===== MOBILE MENU ===== */
.mobile-link {
    display: block;
}

/* ===== FORM ===== */
#contact-form input,
#contact-form select,
#contact-form textarea {
    font-family: 'Inter', sans-serif;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
    html {
        scroll-padding-top: 70px;
    }
}
