/* Emergency Training Providers — Custom Styles */
/* Premium Dark Luxury Theme: Deep Navy + Warm Gold */

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a1929;
}
::-webkit-scrollbar-thumb {
    background: #d4a017;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #f0c858;
}

/* ===== Selection ===== */
::selection {
    background: rgba(212, 160, 23, 0.3);
    color: #f0c858;
}

/* ===== Base Typography ===== */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: #0a1929;
    color: #e2e8f0;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== Gold Shimmer Animation ===== */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.gold-shimmer {
    background: linear-gradient(90deg, #d4a017 0%, #f0c858 50%, #d4a017 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

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

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* ===== Navbar ===== */
.navbar {
    transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
    backdrop-filter: blur(0px);
}
.navbar.scrolled {
    background-color: rgba(10, 25, 41, 0.97) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
}

/* ===== Gold Line Accent ===== */
.gold-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #d4a017, #f0c858);
    border-radius: 2px;
}

.gold-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #d4a017, transparent);
}

/* ===== Service Cards ===== */
.service-card {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.4s ease;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(212, 160, 23, 0.12);
}

/* ===== Gold Buttons ===== */
.btn-gold {
    background: linear-gradient(135deg, #d4a017 0%, #f0c858 100%);
    color: #0a1929;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}
.btn-gold:hover::before {
    left: 100%;
}
.btn-gold:hover {
    box-shadow: 0 8px 30px rgba(212, 160, 23, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid #d4a017;
    color: #d4a017;
    font-weight: 600;
    transition: all 0.3s ease;
    background: transparent;
}
.btn-outline:hover {
    background: #d4a017;
    color: #0a1929;
    box-shadow: 0 8px 30px rgba(212, 160, 23, 0.3);
    transform: translateY(-2px);
}

/* ===== Mobile Menu ===== */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.mobile-menu.open {
    max-height: 400px;
}

/* ===== Hero Overlay ===== */
.hero-overlay {
    background: linear-gradient(
        to bottom,
        rgba(10, 25, 41, 0.75) 0%,
        rgba(10, 25, 41, 0.6) 50%,
        rgba(10, 25, 41, 0.85) 100%
    );
}

/* ===== Stat Counter ===== */
.stat-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #d4a017, #f0c858);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Form Elements ===== */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #d4a017 !important;
    box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.2);
}

/* ===== Pulse Animation ===== */
@keyframes pulse-gold {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212, 160, 23, 0.4); }
    50% { box-shadow: 0 0 0 15px rgba(212, 160, 23, 0); }
}
.pulse-gold {
    animation: pulse-gold 2s infinite;
}

/* ===== Counter Animation ===== */
@keyframes countUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== Responsive Typography ===== */
@media (max-width: 640px) {
    .stat-number {
        font-size: 2.25rem;
    }
}

/* ===== Focus Visible ===== */
*:focus-visible {
    outline: 2px solid #d4a017;
    outline-offset: 2px;
}

/* ===== Print Styles ===== */
@media print {
    .navbar, .mobile-menu, .btn-gold, .btn-outline { display: none; }
    body { background: white; color: black; }
    .service-card { break-inside: avoid; }
}
