/* Custom styles and animations */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

.shape-circle-1 {
    top: 15%;
    left: 5%;
    width: 120px;
    height: 120px;
    background: rgba(20, 184, 166, 0.08);
    border-radius: 50%;
}

.shape-circle-2 {
    top: 60%;
    right: 8%;
    width: 80px;
    height: 80px;
    background: rgba(20, 184, 166, 0.06);
    border-radius: 50%;
}

.shape-square-1 {
    top: 40%;
    left: 10%;
    width: 60px;
    height: 60px;
    background: rgba(15, 23, 42, 0.04);
    border-radius: 12px;
    transform: rotate(45deg);
}

.shape-triangle-1 {
    bottom: 20%;
    right: 15%;
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 52px solid rgba(20, 184, 166, 0.06);
}

.shape-ring-1 {
    top: 25%;
    right: 20%;
    width: 100px;
    height: 100px;
    border: 3px solid rgba(20, 184, 166, 0.1);
    border-radius: 50%;
}

/* Service card hover effects */
.service-card {
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-4px);
}

/* Testimonial card hover */
.testimonial-card {
    transform: translateY(0);
}

.testimonial-card:hover {
    transform: translateY(-4px);
}

/* Gallery items */
.gallery-item {
    cursor: pointer;
}

/* Navbar scroll effect */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Mobile menu animation */
#mobileMenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobileMenu.open {
    max-height: 400px;
}

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

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .service-card:hover,
    .testimonial-card:hover {
        transform: none;
    }
}

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

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* Selection color */
::selection {
    background: rgba(20, 184, 166, 0.2);
    color: #1e293b;
}
