*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    overflow-x: hidden;
}

/* Hero Gradient */
.hero-gradient {
    background: linear-gradient(135deg, #0a1530 0%, #0f1c3f 30%, #1a2d5a 60%, #0f1c3f 85%, #0a1530 100%);
}

/* Floating Orbs */
.hero-orb {
    animation: float 8s ease-in-out infinite;
}

.hero-orb--1 {
    background: radial-gradient(circle, rgba(230, 181, 84, 0.5) 0%, transparent 70%);
    animation-delay: 0s;
}

.hero-orb--2 {
    background: radial-gradient(circle, rgba(26, 45, 90, 0.8) 0%, transparent 70%);
    animation-delay: -3s;
}

.hero-orb--3 {
    background: radial-gradient(circle, rgba(245, 198, 101, 0.4) 0%, transparent 70%);
    animation-delay: -5s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(20px, -30px) scale(1.05); }
    50% { transform: translate(-10px, -50px) scale(0.95); }
    75% { transform: translate(30px, -20px) scale(1.02); }
}

/* Scroll Indicator */
.scroll-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    animation: bounce 2s ease-in-out infinite;
    transition: border-color 0.3s;
}

.scroll-indicator:hover {
    border-color: rgba(255, 255, 255, 0.6);
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* Navbar */
.nav-scrolled {
    background: rgba(10, 21, 48, 0.92) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nav-scrolled .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Mobile Menu */
.mobile-menu {
    animation: slideDown 0.3s ease-out;
}

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

/* Scroll Reveal */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Service Cards */
.service-card {
    opacity: 1;
    transform: translateY(0);
}

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

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

::-webkit-scrollbar-thumb {
    background: rgba(15, 28, 63, 0.2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(15, 28, 63, 0.4);
}

/* Input Focus Styles */
input:focus, select:focus, textarea:focus {
    border-color: #e6b554 !important;
    box-shadow: 0 0 0 3px rgba(230, 181, 84, 0.15) !important;
}

/* Button Ripple */
button, a {
    -webkit-tap-highlight-color: transparent;
}

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

/* Mobile Responsiveness */
@media (max-width: 640px) {
    .hero-gradient {
        background: linear-gradient(160deg, #0a1530 0%, #0f1c3f 40%, #1a2d5a 70%, #0a1530 100%);
    }
}
