/* Custom styles and animations */

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

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(10, 19, 12, 0.95) !important;
    backdrop-filter: blur(10px);
}

/* Service card hover effect */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, #FFD166, #FFA500);
    transition: height 0.3s ease;
}

.service-card:hover::before {
    height: 100%;
}

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

@keyframes float-delayed {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(-5deg); }
}

.geometric-shape {
    animation: float 6s ease-in-out infinite;
}

.geometric-shape-delayed {
    animation: float-delayed 8s ease-in-out infinite;
}

/* Gradient text effect */
.gradient-text {
    background: linear-gradient(135deg, #FFD166 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #172a1c;
}

/* Fade-in animation for scroll reveal */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Pulse animation for CTA buttons */
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 209, 102, 0.4); }
    50% { box-shadow: 0 0 40px rgba(255, 209, 102, 0.8); }
}

.cta-pulse {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Image hover zoom */
.img-zoom {
    overflow: hidden;
}

.img-zoom img {
    transition: transform 0.5s ease;
}

.img-zoom:hover img {
    transform: scale(1.05);
}
