/* Medicaist Custom Styles - Premium UI/UX */

:root {
    --navy: #0B2545;
    --gold: #C5A059;
    --light-grey: #F8F9FA;
    --navy-light: #133163;
    --navy-faint: #E8EDF4;
}

/* Base */
html { scroll-behavior: smooth; }
body {
    font-family: 'Montserrat', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* === CRITICAL: Custom Color Utility Classes === */
.text-navy { color: var(--navy) !important; }
.bg-navy { background-color: var(--navy) !important; }
.text-gold { color: var(--gold) !important; }
.bg-gold { background-color: var(--gold) !important; }
.border-gold { border-color: var(--gold) !important; }

/* Logo Font */
.font-logo {
    font-family: 'Cinzel', serif;
    letter-spacing: 0.15em;
}

/* Premium Button */
.btn-premium {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.btn-premium:hover {
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.3);
    transform: translateY(-2px);
}

/* ============ DESKTOP DROPDOWN ============ */
.nav-item { position: relative; }
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 220px;
    box-shadow: 0 10px 25px rgba(11, 37, 69, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 2px solid var(--gold);
    z-index: 50;
    padding: 0.5rem 0;
}
.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-item {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--navy);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.2s ease;
    text-decoration: none;
}
.dropdown-item:hover {
    background-color: var(--navy-faint);
    color: var(--gold);
    padding-left: 2rem;
}

/* ============ MOBILE MENU ============ */
#mobileMenuBtn { display: none; }
#mobileMenu {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--navy);
    z-index: 100;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}
#mobileMenu.open {
    display: flex;
    opacity: 1;
}
#mobileMenu a {
    color: white;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.2s;
}
#mobileMenu a:hover { color: var(--gold); }
#mobileMenuClose {
    position: absolute;
    top: 1.25rem; right: 1.5rem;
    background: none; border: none;
    color: white; font-size: 2rem;
    cursor: pointer;
}
.mobile-sub-link {
    font-size: 0.75rem !important;
    opacity: 0.6;
    padding-left: 1rem;
}

@media (max-width: 1023px) {
    #mobileMenuBtn { display: flex; }
}

/* ============ SCROLL REVEAL ============ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.stagger-1 { transition-delay: 150ms; }
.stagger-2 { transition-delay: 300ms; }
.stagger-3 { transition-delay: 450ms; }

/* Gold Gradient */
.bg-gold-gradient {
    background: linear-gradient(135deg, #C5A059 0%, #E2C68E 100%);
}

/* Card Hover */
.card-premium {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-premium:hover {
    border-color: var(--gold);
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(11, 37, 69, 0.1);
}

/* Selection Color */
::selection {
    background: var(--gold);
    color: var(--navy);
}

/* FAQ Accordion */
.faq-content {
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    max-height: 0;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
}
.faq-btn.active span:last-child {
    transform: rotate(45deg);
    color: var(--navy);
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #C5A059; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #A68546; }

/* ============ RESPONSIVE FIXES ============ */
@media (max-width: 768px) {
    .font-logo { letter-spacing: 0.08em; }
    h1 { font-size: 2rem !important; line-height: 1.2 !important; }
    h2 { font-size: 1.5rem !important; }
    section { overflow-x: hidden; }
}