* {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', 'system-ui', 'sans-serif';
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #FAFAFA;
}

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

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

::-webkit-scrollbar-thumb {
    background: #FEC400;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #E6B000;
}

/* Glass morphism utility */
.glass {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #FEC400 0%, #E6B000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease-out;
}

/* Hero Slider Styles */
.hero-slide {
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.hero-slide.prev {
    transform: translateX(-100%);
}

.hero-slide.next {
    transform: translateX(100%);
}

/* Slider dots */
.slider-dot {
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background-color: #FEC400;
    transform: scale(1.2);
}

.slider-dot:hover {
    transform: scale(1.1);
}

/* Slider navigation arrows */
#prev-slide, #next-slide {
    transition: all 0.3s ease;
}

#prev-slide:hover, #next-slide:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
}

/* Hero slide content animations */
.hero-slide.active h1 {
    animation: slideInFromBottom 1s ease-out 0.2s both;
}

.hero-slide.active p {
    animation: slideInFromBottom 1s ease-out 0.4s both;
}

.hero-slide.active .hero-btn {
    animation: slideInFromBottom 1s ease-out 0.6s both;
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(254, 196, 0, 0.2);
}

/* Hero button animations */
.hero-btn {
    transition: all 0.3s ease;
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Social link animations */
.social-link {
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-2px);
}

/* Scroll indicator animation */
.scroll-indicator {
    animation: float 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Fade in on scroll animation */
.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Navigation link hover effect */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #FEC400;
    transition: width 0.3s ease;
}

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

/* Form focus effects */
input:focus, textarea:focus, select:focus {
    box-shadow: 0 0 0 3px rgba(254, 196, 0, 0.1);
}

/* Slider autoplay indicator */
.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background: #FEC400;
    transition: width 6s linear;
}

/* Enhanced slider transitions */
.hero-slide {
    will-change: transform, opacity;
}

.hero-slide img {
    transition: transform 0.8s ease;
}

.hero-slide.active img {
    transform: scale(1.05);
}

.hero-slide:not(.active) img {
    transform: scale(1);
}

/* Improved mobile responsiveness for slider */
@media (max-width: 768px) {
    .hero-btn {
        width: 100%;
        justify-content: center;
    }
    
    .glass {
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
    
    #prev-slide, #next-slide {
        width: 40px;
        height: 40px;
    }
    
    #prev-slide {
        left: 10px;
    }
    
    #next-slide {
        right: 10px;
    }
    
    .slider-dot {
        width: 10px;
        height: 10px;
    }
}

/* Loading animation for images */
img {
    transition: opacity 0.3s ease;
}

img[data-loaded="false"] {
    opacity: 0;
}

img[data-loaded="true"] {
    opacity: 1;
}

/* Smooth transitions for all interactive elements */
button, a, input, textarea, select {
    transition: all 0.2s ease;
}

/* Custom focus styles for accessibility */
button:focus, a:focus, input:focus, textarea:focus, select:focus {
    outline: 2px solid #FEC400;
    outline-offset: 2px;
}

/* Enhanced mobile navigation */
#mobile-menu {
    transition: all 0.3s ease;
}

#mobile-menu.show {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stats counter animation */
.stat-number {
    transition: all 0.3s ease;
}

/* Contact form validation styles */
.form-error {
    border-color: #EF4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.form-success {
    border-color: #10B981 !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1) !important;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Enhanced card animations */
.business-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.business-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Slider touch support indicators */
.slider-touch-indicator {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    text-align: center;
    pointer-events: none;
}

@media (hover: none) and (pointer: coarse) {
    .slider-touch-indicator {
        display: block;
    }
}

/* Enhanced accessibility for slider */
.hero-slide[aria-hidden="true"] {
    display: none;
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}

/* Improved performance with GPU acceleration */
.hero-slide, .slider-dot, #prev-slide, #next-slide {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .scroll-indicator {
        animation: none;
    }
    
    .hero-slide {
        transition: opacity 0.3s ease;
        transform: none;
    }
}

.svg-inline--fa { vertical-align: middle; }

.region-icon { width: 24px; }