/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

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

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

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar Scroll Effect */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(16, 42, 67, 0.08);
}

.navbar-scrolled .nav-link {
    color: #102a43 !important;
}

.navbar-scrolled .nav-link:hover {
    color: #dfaa2a !important;
}

/* Mobile Menu */
#mobileMenu {
    animation: slideDown 0.3s ease;
}

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

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

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

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

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

/* Selection Color */
::selection {
    background: #f4e0a8;
    color: #102a43;
}

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

/* Smooth Image Loading */
img {
    transition: opacity 0.3s ease;
}

img[loading="lazy"] {
    opacity: 0;
}

img.loaded {
    opacity: 1;
}

/* Hover Card Effect */
@media (prefers-reduced-motion: no-preference) {
    .hover-lift {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .hover-lift:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 40px rgba(16, 42, 67, 0.12);
    }
}

/* Gold Gradient Button */
.btn-gold {
    background: linear-gradient(135deg, #dfaa2a 0%, #e6bc4d 100%);
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background: linear-gradient(135deg, #d4921a 0%, #dfaa2a 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(223, 170, 42, 0.3);
}

/* Navy Gradient Button */
.btn-navy {
    background: linear-gradient(135deg, #102a43 0%, #243b53 100%);
    transition: all 0.3s ease;
}

.btn-navy:hover {
    background: linear-gradient(135deg, #0a1e30 0%, #102a43 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 42, 67, 0.3);
}
