/* Base Resets & Form Inputs */
.form-input {
    width: 100%;
    background-color: rgba(15, 23, 42, 0.6); /* asg-dark */
    border: 1px solid rgba(51, 65, 85, 0.6); /* slate-700 */
    border-radius: 4px;
    padding: 0.875rem 1rem;
    color: white;
    font-size: 16px; /* CRITICAL: Prevents iOS auto-zoom on input focus */
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #f59e0b; /* asg-accent */
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.1);
}

.form-input::placeholder {
    color: #475569;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
    opacity: 0.6;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* Animations */
.load-fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: clearEntrance 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes clearEntrance {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Intersection Observer Reveal Classes */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Delay modifiers for staggered grids */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* Service Card Hover FX (Only applies to devices with a mouse cursor) */
@media (hover: hover) {
    .service-card {
        position: relative;
        overflow: hidden;
    }

    .service-card::before {
        content: '';
        position: absolute;
        top: 0; left: -100%;
        width: 100%; height: 100%;
        background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.05), transparent);
        transition: left 0.5s ease;
    }

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