/* Custom CSS for BJALL Facility Services */

:root {
    --navy: #0f2d4a;
    --teal: #0d9488;
    --teal-dark: #0f766e;
    --green-cta: #16a34a;
    --green-cta-hover: #15803d;
}

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

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

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

::-webkit-scrollbar-thumb {
    background: #0d9488;
    border-radius: 5px;
    opacity: 0.5;
}

::-webkit-scrollbar-thumb:hover {
    background: #0f766e;
}

/* Form Focus Effects */
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

/* Navigation Links Hover */
nav a {
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--teal);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* Hero Image Floating Animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

#hero img {
    animation: float 6s ease-in-out infinite;
}

/* Service Card Hover Shine Effect */
.group {
    position: relative;
    overflow: hidden;
}

.group::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 100%
    );
    transform: skewX(-25deg);
    transition: left 0.7s;
    z-index: 10;
}

.group:hover::before {
    left: 125%;
}

/* Service card teal accent on hover */
.group:hover {
    border-bottom: 3px solid var(--teal);
}

/* CTA Button Pulse Effect — green */
@keyframes pulse-soft {
    0%   { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.45); }
    70%  { box-shadow: 0 0 0 10px rgba(22, 163, 74, 0); }
    100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

#hero a {
    animation: pulse-soft 2s infinite;
}

/* Teal highlight for section headings accent */
.teal-accent {
    color: var(--teal);
}

/* Mobile Nav Styles */
@media (max-width: 768px) {
    .mobile-menu-active {
        display: block !important;
    }
}
