/* Custom Styles & Overrides */

html {
    scroll-behavior: smooth;
}

body {
    background-color: #020617; /* Midnight 900 */
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0F172A;
}
::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #10B981; /* Mint 500 */
}

/* Typography adjustments */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
}

p, a, button, input, textarea, select {
    font-family: 'Montserrat', sans-serif;
}

/* Form Focus States */
input:focus, textarea:focus, select:focus {
    outline: none;
}

/* Mobile Menu Animation */
#mobile-menu.active {
    opacity: 1;
    pointer-events: auto;
}

/* Service Card Hover Effect */
.service-card {
    position: relative;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #34D399;
    transition: width 0.3s ease;
}

.service-card:hover::after {
    width: 100%;
}

/* Subtle grain texture overlay (optional, can be removed if performance is a concern) */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
    z-index: 9999;
    opacity: 0.5;
}
