/* Custom styles for Solution Multi Services */

:root {
    --color-offwhite: #F7F8F5;
    --color-forest-50: #f0f7f4;
    --color-forest-100: #d9ede4;
    --color-forest-200: #b6dfc9;
    --color-forest-300: #85c8a3;
    --color-forest-400: #52a976;
    --color-forest-500: #318a56;
    --color-forest-600: #1f6d40;
    --color-forest-700: #175532;
    --color-forest-800: #144328;
    --color-forest-900: #113621;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-offwhite);
    color: var(--color-forest-900);
}

/* Navbar */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(247, 248, 245, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(17, 54, 33, 0.08);
}

.nav-brand-text {
    color: var(--color-forest-900);
}

#navbar.scrolled .nav-brand-text {
    color: var(--color-forest-900);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-forest-500);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile menu */
.mobile-nav-link {
    display: block;
}

/* Hero */
#hero {
    scroll-margin-top: 0;
}

/* Scroll reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal[data-reveal-state="hidden"] {
    opacity: 0;
    transform: translateY(30px);
}

/* Service cards */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
}

/* Process cards */
.process-card {
    position: relative;
}

.process-card:not(:last-child)::after {
    content: '';
    display: none;
}

@media (min-width: 1024px) {
    .process-card:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 32px;
        right: -1.5rem;
        width: 3rem;
        height: 2px;
        background: linear-gradient(90deg, var(--color-forest-200), transparent);
    }
}

/* Testimonial cards */
.testimonial-card {
    transition: transform 0.3s ease, background 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
}

/* Contact form */
input:focus, select:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

/* Button hover effects */
button, a {
    transition: all 0.2s ease;
}

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

::-webkit-scrollbar-track {
    background: var(--color-offwhite);
}

::-webkit-scrollbar-thumb {
    background: var(--color-forest-300);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-forest-400);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    html {
        scroll-behavior: auto;
    }
    .service-card:hover {
        transform: none;
    }
    .testimonial-card:hover {
        transform: none;
    }
    .animate-bounce {
        animation: none;
    }
}

/* Selection color */
::selection {
    background: var(--color-forest-200);
    color: var(--color-forest-900);
}
