/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Glass Input Styling */
.glass-input {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.glass-input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #7ED957;
    outline: none;
    box-shadow: 0 0 0 2px rgba(126, 217, 87, 0.2);
}

.glass-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Menu Overlay Active States */
#menuOverlay.active {
    opacity: 1;
    visibility: visible;
}

#menuOverlay.active #menuPanel {
    transform: translateX(0);
}

/* Hide Scrollbar */
::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

/* Smooth transitions for all interactive elements */
button,
a {
    transition: all 0.3s ease;
}

/* Team cards */
.team-card {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.team-card img {
    min-height: 160px;
    max-height: 200px;
}

.team-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(126, 217, 87, 0.15);
}

/* Case study bar animation */
@keyframes barGrow {
    from {
        width: 0;
    }
}

#case-study .h-4>div {
    animation: barGrow 1.2s ease-out forwards;
}

/* Hero CTA glow pulse */
@keyframes glowPulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(126, 217, 87, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(126, 217, 87, 0.6);
    }
}

#heroCTA {
    animation: glowPulse 2.5s ease-in-out infinite;
}

#heroCTA:hover {
    animation: none;
}

/* Section fade-in on scroll */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Savings number highlight */
.savings-number {
    font-variant-numeric: tabular-nums;
}