/* Custom animations, scroll behavior and interactive visual polish */

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    font-size: 1.05rem;
    line-height: 1.65;
}

h1, h2, h3, h4, .font-display {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.015em;
}

p, li, span, input, select, textarea, button {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Scroll Progress Bar */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #C5A059 0%, #B38F48 50%, #0F172A 100%);
    z-index: 100;
    width: 0%;
    transition: width 0.1s ease-out;
}

/* Scroll Reveal Animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

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

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FBF9F4;
}
::-webkit-scrollbar-thumb {
    background: #C5A059;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #B38F48;
}

/* Active Navigation Indicators */
.nav-link {
    position: relative;
    transition: color 0.25s ease;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: #C5A059;
    transition: width 0.25s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}
.nav-link.active {
    color: #C5A059 !important;
}

.mobile-nav-item.active {
    color: #C5A059 !important;
    font-weight: 700;
}

/* Card Hover Elevation & Glassmorphism */
.team-card {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
}
.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.12);
    border-color: rgba(197, 160, 89, 0.4);
}

/* Accordion Animation */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0, 1, 0, 1), opacity 0.35s ease, padding 0.35s ease;
    opacity: 0;
}
.faq-item.active .faq-answer {
    max-height: 400px;
    opacity: 1;
    transition: max-height 0.4s ease-in-out, opacity 0.3s ease-in-out;
}
.faq-icon {
    transition: transform 0.3s ease;
}
.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: #C5A059;
}

/* Form input focus state enhancement */
input:focus, textarea:focus, select:focus {
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.25);
}

/* Modal styling */
.modal-backdrop {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.modal-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}
.modal-content {
    transform: scale(0.95) translateY(10px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-backdrop.is-open .modal-content {
    transform: scale(1) translateY(0);
}
