/* Custom styles that complement Tailwind */

/* Smooth focus states */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #F8FCFA;
}
::-webkit-scrollbar-thumb {
    background: #AEE5D2;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #54C5B8;
}

/* Selection color */
::selection {
    background: rgba(84, 197, 184, 0.3);
    color: #0A2342;
}

/* Prevent layout shift on images */
img {
    max-width: 100%;
    height: auto;
}

/* Reduced motion - ensure content is always visible */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
    html {
        scroll-behavior: auto;
    }
    .btn-pulse {
        animation: none !important;
    }
}

/* Mobile menu transitions */
#mobile-menu {
    transition: max-height 0.35s ease, opacity 0.35s ease;
    opacity: 0;
}
#mobile-menu.open {
    max-height: 400px;
    opacity: 1;
}

/* Service card icon hover */
.card-hover:hover .icon-circle {
    background: linear-gradient(135deg, rgba(84, 197, 184, 0.25), rgba(84, 197, 184, 0.1));
}

/* Select dropdown arrow */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230A2342' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* Print styles */
@media print {
    nav, .btn-pulse, #mobile-menu {
        display: none !important;
    }
    body {
        color: #000;
        background: #fff;
    }
    .gradient-hero, .gradient-section {
        background: #fff !important;
        color: #000 !important;
    }
}
