/* Custom geometric background shapes */
.geometric-shape {
    position: absolute;
    pointer-events: none;
}

.shape-circle-1 {
    top: 15%;
    left: 5%;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulseSoft 4s ease-in-out infinite;
}

.shape-circle-2 {
    top: 60%;
    right: 8%;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulseSoft 5s ease-in-out 1s infinite;
}

.shape-square-1 {
    top: 40%;
    left: 2%;
    width: 60px;
    height: 60px;
    background: rgba(251, 191, 36, 0.06);
    border-radius: 16px;
    transform: rotate(45deg);
    animation: float 8s ease-in-out infinite;
}

.shape-triangle-1 {
    top: 75%;
    right: 15%;
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 52px solid rgba(16, 185, 129, 0.05);
    animation: float 7s ease-in-out 2s infinite;
}

.shape-dots {
    top: 30%;
    right: 5%;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(circle, rgba(16, 185, 129, 0.1) 1px, transparent 1px);
    background-size: 12px 12px;
    animation: pulseSoft 6s ease-in-out infinite;
}

.shape-arc-1 {
    bottom: 10%;
    left: 10%;
    width: 150px;
    height: 150px;
    border: 3px solid rgba(16, 185, 129, 0.06);
    border-radius: 50%;
    border-top-color: transparent;
    border-right-color: transparent;
    transform: rotate(-45deg);
    animation: spin 20s linear infinite;
}

/* Scroll reveal animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(254, 253, 248, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    box-shadow: 0 4px 30px rgba(5, 78, 59, 0.08) !important;
}

.navbar-scrolled .nav-link {
    color: #064e3b !important;
}

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #34d399;
}

/* Selection color */
::selection {
    background: #a7f3d0;
    color: #064e3b;
}

/* Focus styles */
*:focus-visible {
    outline: 3px solid #10b981;
    outline-offset: 2px;
    border-radius: 8px;
}

/* Button press effect */
button, a {
    -webkit-tap-highlight-color: transparent;
}

/* Form focus transitions */
input:focus, textarea:focus {
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

#mobile-menu.open {
    max-height: 500px;
}

/* Service card hover glow */
.group:hover .group-hover\:-translate-y-2 {
    transform: translateY(-8px);
}

/* Geometric accent shapes for sections */
.section-accent {
    position: absolute;
    pointer-events: none;
}

/* Print styles */
@media print {
    .geometric-shape,
    #back-to-top,
    .animate-float,
    .animate-float-delayed,
    .animate-float-slow {
        display: none !important;
    }
}
