}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-accent);
    border-radius: 5px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-rich);
}

/* Glass Morphism Effect - Enhanced */
.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(21, 32, 43, 0.08);
    box-shadow: 0 4px 24px rgba(21, 32, 43, 0.06),
        0 2px 8px rgba(21, 32, 43, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    border-color: rgba(201, 169, 97, 0.3);
    box-shadow: 0 8px 32px rgba(201, 169, 97, 0.12),
        0 4px 16px rgba(21, 32, 43, 0.08);
}

/* Gradient Text - Enhanced */
.gradient-text {
    background: linear-gradient(135deg, var(--gold-rich) 0%, var(--gold-accent) 50%, var(--navy-deep) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glow Effect - Refined */
.glow {
    box-shadow: 0 0 24px rgba(201, 169, 97, 0.3),
        0 0 48px rgba(201, 169, 97, 0.15),
        0 0 72px rgba(201, 169, 97, 0.08);
}

/* Animated Gradient Background - Optimized */
.animated-gradient {
    background: linear-gradient(-45deg, #FAFAFA, #FFFFFF, rgba(201, 169, 97, 0.1), rgba(21, 32, 43, 0.05));
    background-size: 400% 400%;
    animation: gradient 20s ease infinite;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Card Hover Effects - Enhanced */
.card-hover {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1);
}

.card-hover:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 16px 48px rgba(201, 169, 97, 0.15),
        0 8px 24px rgba(21, 32, 43, 0.08);
}

/* Floating Animation - Refined */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-16px);
    }
}

.float-animation {
    animation: float 8s ease-in-out infinite;
}

/* Pulse Animation - Refined */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

.pulse-animation {
    animation: pulse 2.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Timeline Connector - Enhanced */
.timeline-line {
    position: relative;
}

.timeline-line::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--gold-accent) 0%, var(--gold-rich) 50%, var(--navy-deep) 100%);
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Button Styles - Enhanced */
.btn-primary {
    background: linear-gradient(135deg, var(--gold-accent) 0%, var(--gold-rich) 100%);
    color: white;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 16px rgba(201, 169, 97, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--gold-rich) 0%, var(--navy-deep) 100%);
    box-shadow: 0 8px 24px rgba(201, 169, 97, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--gold-rich);
    color: var(--navy-deep);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--gold-rich);
    color: white;
    box-shadow: 0 4px 16px rgba(201, 169, 97, 0.3);
}

/* Nav Link Hover Effect */
.nav-link {
    position: relative;
    padding-bottom: 4px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-rich), var(--gold-accent));
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1 {
        font-size: 2.25rem;
        line-height: 1.2;
    }

    h2 {
        font-size: 1.875rem;
        line-height: 1.3;
    }

    h3 {
        font-size: 1.5rem;
        line-height: 1.4;
    }
}

/* Custom Selection */
::selection {
    background: var(--gold-accent);
    color: white;
}

::-moz-selection {
    background: var(--gold-accent);
    color: white;
}

/* Focus Styles - Enhanced for Accessibility */
a:focus,
button:focus,
input:focus {
    outline: 2px solid var(--gold-accent);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Focus Visible (keyboard only) */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
input:focus:not(:focus-visible) {
    outline: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid var(--gold-accent);
    outline-offset: 3px;
}

/* Smooth Transitions */
* {
    transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 250ms;
}

/* Hero Pattern Overlay */
.pattern-overlay {
    background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23C9A961" fill-opacity="0.04"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}

/* Icon Container Gradient */
.icon-container {
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.1) 0%, rgba(212, 175, 55, 0.15) 100%);
    transition: all 0.3s ease;
}

.icon-container:hover {
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.2) 0%, rgba(212, 175, 55, 0.25) 100%);
}

/* Utility Classes */
.text-balance {
    text-wrap: balance;
}

.shadow-soft {
    box-shadow: 0 4px 16px rgba(21, 32, 43, 0.06);
}

.shadow-medium {
    box-shadow: 0 8px 24px rgba(21, 32, 43, 0.08);
}

.shadow-strong {
    box-shadow: 0 12px 32px rgba(21, 32, 43, 0.12);
}

/* Loading State (for future use) */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}
