:root {
    --bs-primary: #0a3a7c;
    --bs-info: #1461c2;
    --bs-light-blue: #f4f8fc;
    
    /* Luxury Gold & Silver Tokens */
    --gold-primary: #D4AF37;
    --gold-light: #F3E5AB;
    --gold-dark: #9A7B1C;
    --gold-gradient: linear-gradient(135deg, #BF953F 0%, #FCF6BA 25%, #B38728 50%, #FBF5B7 75%, #AA771C 100%);
    --gold-subtle: rgba(212, 175, 55, 0.12);
    --gold-glow: 0 8px 25px rgba(212, 175, 55, 0.3);
    
    --silver-primary: #C0C0C0;
    --silver-light: #F5F7FA;
    --silver-dark: #7E8C9B;
    --silver-gradient: linear-gradient(135deg, #E0E8F0 0%, #FFFFFF 35%, #B8C6D4 70%, #E8EEF5 100%);
    --silver-subtle: rgba(192, 192, 192, 0.18);
    --silver-glow: 0 8px 20px rgba(184, 198, 212, 0.25);
}

html, body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
}

.fs-7 { font-size: 0.9rem; }
.fs-8 { font-size: 0.75rem; }
.letter-spacing-1 { letter-spacing: 1.5px; }
.letter-spacing-2 { letter-spacing: 2.5px; }
.transition-all { transition: all 0.3s ease; }
.min-w-120 { min-width: 140px; }

.text-primary { color: var(--bs-primary) !important; }
.text-info { color: var(--bs-info) !important; }
.bg-primary { background-color: var(--bs-primary) !important; }
.bg-info { background-color: var(--bs-info) !important; }
.bg-light-blue { background-color: var(--bs-light-blue) !important; }

/* Luxury Color Utilities */
.text-gold { color: #d4af37 !important; }
.text-gold-gradient {
    background: linear-gradient(135deg, #D4AF37, #AA771C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-silver { color: #8e9bb0 !important; }

.bg-gold-subtle { background-color: rgba(212, 175, 55, 0.1) !important; }
.bg-silver-subtle { background-color: rgba(192, 192, 192, 0.15) !important; }

.bg-gold-gradient {
    background: var(--gold-gradient) !important;
    color: #0d284f !important;
}

.bg-silver-gradient {
    background: var(--silver-gradient) !important;
    color: #0a3a7c !important;
}

.border-gold { border: 1px solid rgba(212, 175, 55, 0.5) !important; }
.border-gold-thick { border: 2px solid #D4AF37 !important; }
.border-silver { border: 1px solid rgba(192, 192, 192, 0.5) !important; }

.border-top-gold { border-top: 3px solid #D4AF37 !important; }
.border-top-silver { border-top: 3px solid #C0C0C0 !important; }

.badge-gold {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(170, 119, 28, 0.25));
    color: #D4AF37;
    border: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.15);
}

.badge-silver {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(192, 192, 192, 0.25));
    color: #e2e8f0;
    border: 1px solid rgba(192, 192, 192, 0.4);
}

.btn-gold {
    background: linear-gradient(135deg, #BF953F 0%, #FCF6BA 35%, #B38728 70%, #AA771C 100%);
    color: #061a38 !important;
    font-weight: 700;
    border: none;
    box-shadow: var(--gold-glow);
    transition: all 0.3s ease;
}
.btn-gold:hover {
    background: linear-gradient(135deg, #AA771C 0%, #FBF5B7 35%, #BF953F 70%, #FCF6BA 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(212, 175, 55, 0.45);
}

.btn-outline-gold {
    color: #D4AF37 !important;
    border: 1.5px solid #D4AF37 !important;
    background: transparent;
    transition: all 0.3s ease;
}
.btn-outline-gold:hover {
    background: var(--gold-gradient) !important;
    color: #061a38 !important;
    border-color: transparent !important;
    box-shadow: var(--gold-glow);
}

.gold-icon-circle {
    background: linear-gradient(135deg, #BF953F, #FCF6BA, #AA771C);
    color: #082759;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.silver-icon-circle {
    background: linear-gradient(135deg, #E0E8F0, #FFFFFF, #B8C6D4);
    color: #0a3a7c;
    box-shadow: 0 4px 15px rgba(184, 198, 212, 0.3);
}

.btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}
.btn-primary:hover {
    background-color: #072a5a;
    border-color: #072a5a;
}
.btn-outline-primary {
    color: var(--bs-primary);
    border-color: var(--bs-primary);
}
.btn-outline-primary:hover {
    background-color: var(--bs-primary);
    color: #fff;
}

.topbar {
    background-color: var(--bs-primary);
}
.nav-link {
    color: #333;
    padding: 0.5rem 1rem !important;
}
.nav-link:hover, .nav-link.active {
    color: var(--bs-primary);
}

.hero-section {
    min-height: 85vh;
}
.hero-content {
    padding-top: 2rem;
}
.stat-item {
    width: 90px;
}

.signature-img {
    height: 40px;
    object-fit: contain;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 2px;
    background-color: var(--bs-info);
    opacity: 0.3;
}
.title-icon {
    font-size: 1.25rem;
}

.service-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.service-card:hover {
    transform: translateY(-8px);
}

/* Screenshot Exact Luxury Card Theme */
.card-luxury-wrapper {
    background: #ffffff;
    border-radius: 1.5rem;
    box-shadow: 0 12px 35px rgba(10, 58, 124, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-top: 4px solid #D4AF37;
    position: relative;
    overflow: visible;
    transition: all 0.35s ease;
}
.card-luxury-wrapper:hover {
    box-shadow: 0 20px 45px rgba(212, 175, 55, 0.22);
    border-color: #D4AF37;
}

.luxury-img-box {
    position: relative;
    overflow: visible !important;
    margin-bottom: 2rem !important;
}

.luxury-img-box img {
    border-radius: 1.25rem;
    border: 1.5px solid rgba(212, 175, 55, 0.5);
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    width: 100%;
    display: block;
}

.luxury-icon-badge {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #BF953F 0%, #FCF6BA 45%, #AA771C 100%);
    color: #061a38 !important;
    border: 4px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45);
    position: absolute;
    bottom: -28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
}

.badge-gold-pill {
    background: #FDF8E8;
    color: #B88E28;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 1px;
    padding: 5px 16px;
    display: inline-block;
}

.badge-silver-pill {
    background: #F4F6F9;
    color: #5A6A80;
    border: 1px solid rgba(192, 192, 192, 0.6);
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 1px;
    padding: 5px 16px;
    display: inline-block;
}

.badge-danger-pill {
    background: #FDF2F2;
    color: #DC2626;
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 1px;
    padding: 5px 16px;
    display: inline-block;
}

.bg-white-10 {
    background-color: rgba(255, 255, 255, 0.05);
}
.border-white-10 {
    border-color: rgba(255, 255, 255, 0.1) !important;
}
.border-white-25 {
    border-color: rgba(255, 255, 255, 0.25) !important;
}
.dentist-img {
    max-height: 120%;
    object-fit: cover;
}

.journey-step {
    width: 140px;
}
.border-dashed {
    border-style: dashed !important;
}

.dot {
    height: 6px;
    width: 6px;
    background-color: #ccc;
    border-radius: 50%;
    display: inline-block;
    transition: all 0.3s ease;
}
.dot.active {
    background-color: var(--bs-primary);
    width: 24px;
    border-radius: 4px;
}

.custom-accordion .accordion-button:not(.collapsed) {
    background-color: #fff;
    color: var(--bs-primary);
    box-shadow: none;
}
.custom-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,0.1);
}
.custom-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230a3a7c'%3e%3cpath d='M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z'/%3e%3c/svg%3e");
}
.custom-accordion .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230a3a7c'%3e%3cpath d='M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8z'/%3e%3c/svg%3e");
    transform: none;
}

.hover-white:hover {
    color: #fff !important;
}

.hover-white-bg:hover {
    background-color: #fff !important;
    color: var(--bs-primary) !important;
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    border-top-left-radius: 1.25rem;
    border-top-right-radius: 1.25rem;
    padding-bottom: env(safe-area-inset-bottom);
}
.fs-9 {
    font-size: 0.7rem;
}
.nav-item-mobile i, .nav-item-mobile span {
    transition: color 0.2s ease;
}
.nav-item-mobile:hover i.text-secondary, .nav-item-mobile:hover span.text-secondary {
    color: var(--bs-primary) !important;
}

@media (max-width: 991px) {
    body {
        padding-bottom: 75px; /* Prevent content from hiding behind mobile nav */
    }
}

/* Preloader */
.preloader {
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.preloader-hidden {
    opacity: 0;
    visibility: hidden;
}
