/* Custom styles and overrides */

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

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

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

::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* Selection color */
::selection {
    background-color: #2d5233;
    color: #FAFAF7;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Focus styles for accessibility */
:focus-visible {
    outline: 3px solid #6fa372;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Animation classes */
.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Stagger animation delays */
.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

.delay-500 {
    animation-delay: 0.5s;
}

/* Image loading placeholder */
img {
    background-color: #e5e7eb;
}

/* Smooth image transitions */
img {
    transition: transform 0.3s ease;
}

img:hover {
    transform: scale(1.02);
}

/* Mobile menu animation */
#mobile-menu {
    transition: transform 0.3s ease-in-out;
}

/* Navbar scroll effect */
.nav-scrolled #nav-bg {
    opacity: 1;
}

.nav-scrolled .fixed {
    backdrop-filter: blur(10px);
}

/* Form input transitions */
input,
select,
textarea {
    transition: all 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
    transform: translateY(-1px);
}

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

/* Card hover effects */
.group:hover .group-hover\\:translate-x-1 {
    transform: translateX(4px);
}

/* Shadow utilities */
.shadow-soft {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Gradient backgrounds */
.gradient-forest {
    background: linear-gradient(135deg, #2d5233 0%, #1e3622 100%);
}

/* Glass morphism effect */
.glass {
    background: rgba(250, 250, 247, 0.8);
    backdrop-filter: blur(10px);
}

/* Custom bullet points */
.custom-list {
    list-style: none;
    padding-left: 0;
}

.custom-list li {
    position: relative;
    padding-left: 24px;
}

.custom-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background-color: #6fa372;
    border-radius: 50%;
}
