/* Additional custom styles */
html {
    scroll-behavior: smooth;
}

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

/* Geometric shape animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

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

.geometric-shape:nth-child(1) {
    animation: float 6s ease-in-out infinite;
}

.geometric-shape:nth-child(2) {
    animation: float 8s ease-in-out infinite 1s;
}

.geometric-shape:nth-child(3) {
    animation: float 7s ease-in-out infinite 2s;
}

.geometric-shape:nth-child(4) {
    animation: pulse 4s ease-in-out infinite;
}

.geometric-shape:nth-child(5) {
    animation: pulse 5s ease-in-out infinite 1.5s;
}

/* Service card hover effects */
.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(34, 197, 94, 0.1);
}

/* Button hover effects */
.cta-button {
    position: relative;
    overflow: hidden;
}

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

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

/* Form focus states */
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

/* Mobile menu transitions */
.mobile-menu {
    backdrop-filter: blur(10px);
}

/* Scroll reveal animations */
@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    .scroll-reveal:nth-child(1) { transition-delay: 0.1s; }
    .scroll-reveal:nth-child(2) { transition-delay: 0.2s; }
    .scroll-reveal:nth-child(3) { transition-delay: 0.3s; }
    .scroll-reveal:nth-child(4) { transition-delay: 0.4s; }
    .scroll-reveal:nth-child(5) { transition-delay: 0.5s; }
    .scroll-reveal:nth-child(6) { transition-delay: 0.6s; }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #102a43;
}

::-webkit-scrollbar-thumb {
    background: #22c55e;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #16a34a;
}

/* Selection color */
::selection {
    background: #22c55e;
    color: #102a43;
}

/* Image optimization */
img {
    max-width: 100%;
    height: auto;
}

/* Responsive typography */
@media (max-width: 640px) {
    .font-display {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
    }
}

/* Print styles */
@media print {
    .geometric-shape,
    .cta-button::before {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
