/* ========================================================================== 
   COMPONENTS.CSS — Supplemental Component Overrides
   Most styling now lives in style.css. This file handles
   remaining Bootstrap overrides and page-specific fixes.
   ========================================================================== */

/* ===== BLOG CARDS ===== */
.blog-card {
    background: var(--white);
    border: 1px solid var(--slate-100);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.blog-card-image {
    height: 220px;
    overflow: hidden;
    position: relative;
    background: var(--ivory);
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--gold);
    color: var(--white);
    padding: 4px 12px;
    font-size: var(--fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 10px;
}

.blog-card-body {
    padding: var(--sp-sm) var(--sp-md);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-date {
    font-size: var(--fs-xs);
    color: var(--slate-500);
    font-weight: 500;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.blog-card h5 {
    font-family: var(--font-heading);
    font-size: var(--fs-lg);
    margin-bottom: 8px;
    line-height: 1.3;
    font-weight: 600;
}

.blog-card h5 a {
    color: var(--slate-900);
}

.blog-card h5 a:hover {
    color: var(--gold);
}

.blog-card p {
    font-size: var(--fs-sm);
    color: var(--slate-500);
    line-height: 1.7;
    flex-grow: 1;
}

.read-more {
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: auto;
}

.read-more:hover {
    color: var(--gold-dark);
}

/* ===== VIDEO CARDS ===== */
.video-card {
    background: var(--white);
    border: 1px solid var(--slate-100);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.video-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-card-body {
    padding: var(--sp-sm) var(--sp-md);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.video-card-body h5 {
    font-family: var(--font-heading);
    font-size: var(--fs-lg);
    margin-bottom: 8px;
    line-height: 1.3;
    font-weight: 600;
    color: var(--slate-900);
}

.video-card-body p {
    font-size: var(--fs-sm);
    color: var(--slate-500);
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 0;
}

/* ===== FORMS ===== */
.form-control,
.form-select {
    border: 1px solid var(--slate-300);
    border-radius: var(--radius);
    padding: 12px 16px;
    font-size: var(--fs-sm);
    color: var(--slate-900);
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-light);
}

.form-floating > label {
    color: var(--slate-500);
}

/* ===== PAGE BANNER ===== */
.page-banner {
    padding: 50px 0 0px;
    background: var(--ivory);
    border-bottom: 1px solid var(--slate-100);
}

.page-banner h1 {
    font-size: var(--fs-3xl);
    /* color: var(--cream); */
    color: var(--gold);
    margin-bottom: 8px;
}

.page-banner .breadcrumb {
    font-size: var(--fs-sm);
    font-weight: 500;
    text-transform: uppercase;
    text-align: center;
}

.page-banner .breadcrumb-item a {
    color: var(--slate-500);
}

.page-banner .breadcrumb-item.active {
    color: var(--gold);
}

/* ===== BOOTSTRAP OVERRIDES ===== */
.text-primary {
    color: var(--gold) !important;
}

.btn-primary {
    background: var(--gold) !important;
    border-color: var(--gold) !important;
    color: var(--white) !important;
}

.btn-primary:hover {
    background: var(--gold-dark) !important;
    border-color: var(--gold-dark) !important;
}

.btn-outline-primary {
    border-color: var(--gold) !important;
    color: var(--gold) !important;
}

.btn-outline-primary:hover {
    background: var(--gold) !important;
    color: var(--white) !important;
}

.list-group-item.active {
    background: var(--gold) !important;
    border-color: var(--gold) !important;
}

a.text-primary {
    color: var(--gold) !important;
}

/* Badge Override */
.badge.bg-primary {
    background: var(--gold) !important;
}

/* Category Sidebar */
.sidebar .card {
    border: 1px solid var(--slate-100);
    border-radius: var(--radius);
}

.sidebar .card-header {
    background: var(--ivory);
    border-bottom: 1px solid var(--slate-100);
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--slate-900);
}

.sidebar .list-group-item {
    border-color: var(--slate-100);
    color: var(--slate-700);
    font-size: var(--fs-sm);
}

.sidebar .list-group-item:hover,
.sidebar .list-group-item.active {
    background: var(--gold-light);
    color: var(--gold-dark);
    border-color: var(--gold);
}

/* ===== ALERTS ===== */
.alert {
    border-radius: var(--radius);
    font-size: var(--fs-sm);
}

/* ===== CONTACT PAGE OVERRIDES ===== */
.contact-card {
    border: 1px solid var(--slate-100);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.contact-card .btn-outline-light {
    border-color: var(--slate-300) !important;
    color: var(--slate-700) !important;
}

.contact-card .btn-outline-light:hover {
    background: var(--gold) !important;
    border-color: var(--gold) !important;
    color: var(--white) !important;
}

/* Contact Info Card (Light Luxury Side) */
.contact-info-card {
    background: white;
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    color: var(--slate-900);
    padding: 2rem;
    border: 1px solid rgba(197, 160, 89, 0.2);
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 100% 0%, rgba(197, 160, 89, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 0% 100%, rgba(197, 160, 89, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.contact-info-card h3 {
    color: var(--slate-700);
    font-family: var(--font-heading);
    font-size: 1.75rem;
    position: relative;
    font-weight: 600;
}

.contact-icon-box {
    width: 48px;
    height: 48px;
    background: var(--white);
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.25rem;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(197, 160, 89, 0.1);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.contact-info-item:hover .contact-icon-box {
    background: var(--gold);
    color: var(--white);
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(197, 160, 89, 0.2);
}

.contact-info-content h6 {
    color: var(--slate-500);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.35rem;
    font-weight: 600;
}

.contact-info-content p,
.contact-info-content a {
    color: var(--slate-800);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    line-height: 1.5;
    margin: 0;
    display: block;
}

.contact-info-content a:hover {
    color: var(--gold);
}

.contact-social-links {
    position: relative;
    z-index: 1;
}

.contact-social-links h6 {
    color: var(--slate-500) !important;
}

.contact-social-links a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid rgba(197, 160, 89, 0.25);
    color: var(--slate-700);
    transition: var(--transition);
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.contact-social-links a:hover {
    background: var(--gold);
    border-color: var(--gold);
    transform: translateY(-3px);
    color: var(--white);
    box-shadow: 0 5px 12px rgba(197, 160, 89, 0.2);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    background: var(--gold);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
}

.back-to-top:hover {
    background: var(--gold-dark);
    transform: translateY(-3px);
}

/* ===== ADMIN PANEL ===== */
.admin-layout {
    display: flex;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(197, 160, 89, 0.10), transparent 30%),
        radial-gradient(circle at bottom right, rgba(197, 160, 89, 0.06), transparent 26%),
        linear-gradient(180deg, #fcfbf8 0%, #f6f1e8 100%);
    padding: 0;
    gap: clamp(12px, 0.9vw, 16px);
    overflow-x: hidden;
    position: relative;
    --admin-sidebar-width: clamp(230px, 16.2vw, 265px);
}

.admin-layout::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(197, 160, 89, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(197, 160, 89, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    opacity: 0.28;
}

.admin-sidebar {
    width: clamp(210px, 15vw, 248px);
    flex: 0 0 clamp(210px, 15vw, 248px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 249, 246, 0.96) 100%);
    border: 1px solid rgba(229, 229, 229, 0.82);
    border-radius: 0;
    padding: 0 clamp(0.6rem, 0.5vw, 1rem);
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    box-shadow: 0 22px 50px rgba(21, 22, 19, 0.06) !important;
    backdrop-filter: blur(18px);
    z-index: 30;
    padding-top: 10px;
}

.admin-sidebar::-webkit-scrollbar {
    display: none;
}

.admin-sidebar {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.sidebar-brand {
    padding: 0.9rem 0.85rem;
    margin-bottom: 0.6rem;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.12) 0%, rgba(250, 249, 246, 0.99) 100%);
    border: 1px solid rgba(197, 160, 89, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
    font-family: var(--font-english);
}

.sidebar-brand h4 {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 400;
    color: var(--slate-900);
    letter-spacing: 0.01em;
}

.sidebar-brand small {
    color: var(--gold-dark);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 0.62rem;
    font-family: var(--font-english);
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav .nav-label {
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--slate-500);
    padding: 0.65rem 0.75rem 0.3rem;
    font-family: var(--font-english);
}

.sidebar-nav .nav-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(197, 160, 89, 0.25), transparent);
    margin: 0.75rem 0;
}

.sidebar-nav li {
    list-style: none;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.6rem;
    margin: 0.06rem 0;
    color: var(--slate-700);
    border-radius: 10px;
    font-weight: 400;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    font-family: var(--font-english) !important;
    font-size: 0.92rem;
}

.sidebar-nav a i {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--gold);
    background: rgba(211, 176, 110, 0.11);
    border-radius: 10px;
    flex: 0 0 30px;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: linear-gradient(135deg, rgb(241 229 209 / 92%) 0%, rgba(247, 241, 229, 1) 100%);
    color: var(--slate-900);
    box-shadow: 0 10px 10px rgba(197, 160, 89, 0.10);
    transform: translateX(1px);
    font-family: var(--font-english) !important;
}

.sidebar-nav .badge {
    font-size: 0.68rem;
    font-weight: 400;
    padding: 0.25rem 0.5rem;
}

.sidebar-nav .badge {
    font-family: var(--font-english) !important;
    font-weight: 400;
}

.sidebar-nav a span,
.sidebar-nav a .badge {
    line-height: 1.2;
}

.admin-main {
    flex: 1;
    min-width: 0;
    margin-left: var(--admin-sidebar-width);
    width: calc(100% - var(--admin-sidebar-width));
    padding: clamp(1rem, 1.2vw, 1.35rem) clamp(1rem, 1.15vw, 1.3rem) 1.1rem 0;
    overflow-x: hidden;
}

.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(229, 229, 229, 0.88);
    border-radius: 20px;
    padding: 1rem 1.15rem;
    margin-bottom: 1.1rem;
}

.admin-content {
    min-height: calc(100vh - 110px);
    padding: 0;
}

.stat-card,
.form-card,
.admin-table {
    background: var(--white);
    border: 1px solid rgb(229 229 229 / 52%);
    border-radius: 20px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 18px 16px 10px 16px;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: '';
    position: absolute;
    right: -24px;
    top: -24px;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.10) 0%, rgba(197, 160, 89, 0) 70%);
}

.stat-icon {
    width: clamp(52px, 4.5vw, 64px);
    height: clamp(52px, 4.5vw, 64px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.16), rgba(230, 213, 184, 0.36));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 10px 22px rgba(21, 22, 19, 0.06);
    font-size: 1.25rem;
    flex: 0 0 clamp(52px, 4.5vw, 64px);
}

.bg-danger-soft { background: linear-gradient(135deg, #fde8e8 0%, #fff3f3 100%) !important; }
.bg-warning-soft { background: linear-gradient(135deg, #fff4db 0%, #fff9ec 100%) !important; }
.bg-primary-soft { background: linear-gradient(135deg, #e8f0fe 0%, #f6f8ff 100%) !important; }
.bg-success-soft { background: linear-gradient(135deg, #e3f7ed 0%, #f4fbf7 100%) !important; }

.stat-info h3 {
    margin: 0 0 0.15rem;
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--slate-700);
    line-height: 1;
}

.stat-info p {
    margin-top: 8px;
    color: var(--slate-700);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.table-header {
    border-radius: var(--radius);
    padding: clamp(0.95rem, 1vw, 1.1rem) clamp(1rem, 1.15vw, 1.2rem);
    border-bottom: 1px solid var(--slate-100);
    background: linear-gradient(180deg, rgba(250, 249, 246, 0.96), rgba(255, 255, 255, 1));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.table-header h5 {
    margin: 4px 0px 4px 0px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--slate-700);
}

.admin-table .table {
    margin-bottom: 0;
}

.admin-table .table-responsive {
    border-radius: 0px 0px 16px 16px;
    overflow: hidden;
}

.admin-table .table thead th {
    border-bottom: 1px solid rgba(229, 229, 229, 0.8);
    color: var(--slate-500);
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
    padding: 1rem 1.4rem;
    background: linear-gradient(180deg, rgba(250, 249, 246, 0.9), rgba(255, 255, 255, 1));
    text-align: center;
}

.admin-table .table tbody tr {
    transition: var(--transition);
}

.admin-table .table tbody tr:hover {
    background: rgba(246, 239, 224, 0.55);
}

.admin-table .table td {
    padding: 0.95rem 1.2rem;
    vertical-align: middle;
    text-align: center;
}

.badge-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.42rem 0.8rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.badge-status.active,
.badge-status.published,
.badge-status.verified,
.badge-status.completed,
.badge-status.confirmed {
    background: #e4f6ea;
    color: #167a42;
}

.badge-status.pending,
.badge-status.draft,
.badge-status.rescheduled {
    background: #fff4db;
    color: #9a7b3c;
}

.badge-status.cancelled,
.badge-status.failed,
.badge-status.blocked {
    background: #fde8e8;
    color: #b42318;
}

.hover-gold:hover {
    color: var(--gold-dark) !important;
}

/* ===== PAYMENT BUTTONS ===== */
.btn-pay-esewa {
    background: linear-gradient(135deg, #60B246 0%, #539A3C 100%) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(96, 178, 70, 0.25) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    letter-spacing: 0.03em;
    position: relative;
    overflow: hidden;
    font-family: var(--font-english) !important;
    font-weight: 600 !important;
}

.btn-pay-esewa::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: skewX(-20deg);
    transition: 0.6s;
}

.btn-pay-esewa:hover {
    background: linear-gradient(135deg, #69C54E 0%, #5BAA42 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(96, 178, 70, 0.35) !important;
}

.btn-pay-esewa:hover::after {
    left: 150%;
}

.btn-pay-bank {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.25) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    letter-spacing: 0.03em;
    font-family: var(--font-english) !important;
    font-weight: 600 !important;
}

.btn-pay-bank:hover {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.35) !important;
}

.text-slate-700 { color: var(--slate-700) !important; }
.text-slate-900 { color: var(--slate-900) !important; }

.admin-topbar h5 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gold) !important;
    margin: 0;
    letter-spacing: 0.01em;
}

.admin-topbar .dropdown-toggle::after {
    margin-left: 0.5rem;
}

.admin-topbar .user-avatar {
    box-shadow: 0 8px 18px rgba(197, 160, 89, 0.22);
}

.admin-topbar .dropdown-menu {
    border-radius: 16px;
    padding: 0.45rem;
    border: 1px solid rgba(229, 229, 229, 0.9);
    box-shadow: 0 20px 40px rgba(21, 22, 19, 0.12);
}

.admin-topbar .dropdown-item {
    border-radius: 11px;
    padding: 0.7rem 0.85rem;
    font-weight: 500;
}

.admin-topbar .dropdown-item:hover {
    background: var(--gold-light);
}

/* Typography sync with site language system */
.admin-layout,
.admin-layout body,
.admin-layout .admin-main,
.admin-layout .admin-sidebar,
.admin-layout .admin-topbar,
.admin-layout .sidebar-nav,
.admin-layout .table,
.admin-layout .form-control,
.admin-layout .form-select,
.admin-layout .btn,
.admin-layout .badge,
.admin-layout .dropdown-menu {
    font-family: var(--font-body);
}

html[lang="en"] .admin-layout,
html[lang="en"] .admin-layout * {
    font-family: var(--font-english);
}

html[lang="np"] .admin-layout,
html[lang="np"] .admin-layout * {
    font-family: var(--font-nepali);
}

.admin-layout .text-en,
.admin-layout .font-english,
.admin-layout .english-text {
    font-family: var(--font-english) !important;
    font-weight: 400;
}

.admin-layout .text-nepali,
.admin-layout .font-nepali,
.admin-layout .nepali-text {
    font-family: var(--font-nepali) !important;
    font-weight: 400;
}

/* Keep Font Awesome icons visible inside the admin layout */
.admin-layout i,
.admin-layout .fas,
.admin-layout .far,
.admin-layout .fab,
.admin-layout .fa,
.admin-layout .fa-solid,
.admin-layout .fa-regular,
.admin-layout .fa-brands {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
}

.admin-layout .font-light { font-weight: 300 !important; }
.admin-layout .font-normal { font-weight: 400 !important; }
.admin-layout .font-medium { font-weight: 500 !important; }
.admin-layout .font-semibold { font-weight: 600 !important; }
.admin-layout .font-bold { font-weight: 700 !important; }
.admin-layout .font-extrabold { font-weight: 800 !important; }
.admin-layout .font-black { font-weight: 900 !important; }

/* Make the language toggle visible and light */
.top-bar-lang {
    display: flex;
    gap: 4px;
}

.top-bar-lang a {
    color: var(--slate-700);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 30px;
    padding: 3px 10px;
    font-size: 0.72rem;
    font-weight: 500;
    font-family: var(--font-english), var(--font-nepali), sans-serif;
    line-height: 1;
    border-radius: 999px;
    border: 1px solid rgba(197, 160, 89, 0.18);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 4px 12px rgba(21, 22, 19, 0.04);
    letter-spacing: 0.08em;
}

.top-bar-lang a.active {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 8px 18px rgba(197, 160, 89, 0.18);
}

.top-bar-lang a:hover {
    background: rgba(230, 213, 184, 0.5);
    color: var(--slate-900);
}

.admin-lang-switch {
    display: flex;
    gap: 4px;
}

.admin-lang-switch a {
    color: var(--slate-700);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 30px;
    padding: 3px 10px;
    font-size: 0.72rem;
    font-weight: 500;
    font-family: var(--font-english), var(--font-nepali), sans-serif;
    line-height: 1;
    border-radius: 999px;
    border: 1px solid rgba(197, 160, 89, 0.18);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 4px 12px rgba(21, 22, 19, 0.04);
    letter-spacing: 0.08em;
    text-decoration: none;
}

.admin-lang-switch a.active {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 8px 18px rgba(197, 160, 89, 0.18);
}

.admin-lang-switch a:hover {
    background: rgba(230, 213, 184, 0.5);
    color: var(--slate-900);
}

.nav-action-link,
.main-navbar .navbar-nav .nav-link {
    letter-spacing: 0.01em;
    font-weight: 500;
}

@media (max-width: 991.98px) {
    .admin-layout {
        display: block;
        padding: 0;
        background: linear-gradient(180deg, #fbfbf8 0%, #f7f4ee 100%);
        overflow-x: hidden;
    }

    .admin-sidebar {
        position: fixed;
        left: -300px;
        top: 0;
        z-index: 1050;
        transition: left 0.25s ease;
        box-shadow: var(--shadow-lg);
        border-radius: 0 18px 18px 0;
        height: 100vh;
        width: 280px;
    }

    .admin-sidebar.show {
        left: 0;
    }

    .admin-main {
        margin-left: 0;
        width: 100%;
        padding: 0.9rem;
    }

    .admin-topbar {
        top: 0.75rem;
        border-radius: 22px;
    }
}

@media (max-width: 575.98px) {
    .admin-main {
        margin-left: 0;
        width: 100%;
        padding: 0.7rem;
    }

    .admin-topbar {
        padding: 0.8rem 0.85rem;
        border-radius: 16px;
    }

    .stat-card {
        padding: 1rem;
        gap: 0.85rem;
        border-radius: 20px;
    }

    .stat-icon {
        width: 54px;
        height: 54px;
        font-size: 1.1rem;
    }

    .stat-info h3 {
        font-size: 1.45rem;
    }
}

/* ===== MODERN ADMIN SURFACE ===== */
.admin-layout .card,
.admin-layout .modal-content,
.admin-layout .dropdown-menu,
.admin-layout .offcanvas {
    border: 1px solid rgba(229, 229, 229, 0.88);
    border-radius: 20px;
    /* box-shadow: 0 16px 36px rgba(21, 22, 19, 0.06); */
}

.admin-layout .card {
    overflow: hidden;
}

.admin-layout .card-header {
    background: linear-gradient(180deg, rgba(250, 249, 246, 0.92), rgba(255, 255, 255, 1));
    border-bottom: 1px solid var(--slate-100);
    color: var(--slate-900);
    font-weight: 600;
}

.admin-layout .btn,
.admin-layout .form-control,
.admin-layout .form-select,
.admin-layout .input-group-text {
    border-radius: 14px;
}

.admin-layout .btn-primary {
    box-shadow: 0 12px 24px rgba(197, 160, 89, 0.24);
}

.admin-layout .btn-outline-secondary,
.admin-layout .btn-light {
    border-color: rgba(229, 229, 229, 0.9);
    background: #fff;
}

.admin-layout .form-control,
.admin-layout .form-select {
    min-height: 46px;
    border-color: rgba(229, 229, 229, 0.95);
    background-color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.admin-layout .form-control:focus,
.admin-layout .form-select:focus {
    border-color: rgba(197, 160, 89, 0.7);
    box-shadow: 0 0 0 3px rgba(230, 213, 184, 0.35);
}

.admin-layout .table {
    color: var(--slate-700);
}

.admin-layout .table > :not(caption) > * > * {
    border-bottom-color: rgba(229, 229, 229, 0.7);
}

.admin-layout .badge {
    border-radius: 999px;
    font-weight: 600;
}

.admin-layout .breadcrumb {
    margin-bottom: 0;
}

.admin-layout .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(102, 102, 102, 0.72);
}

/* ===== TOTAL PRICE BOX (BOOKING) ===== */
.total-price-box {
    background-color: #fafafa;
    border-color: #e5e7eb !important;
}

.total-price-heading {
    font-size: 1.15rem;
}

.total-price-note {
    font-size: 0.85rem;
}

/* ===== ADMIN FORM CARDS & INPUTS ===== */
.admin-card-section {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 1rem;
    padding: 1.5rem;
}

.admin-card-section-white {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 1rem;
    padding: 1.5rem;
}

.admin-card-label {
    color: var(--slate-900);
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.admin-input-pill {
    border-radius: 50rem !important;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
    border-color: #dee2e6 !important;
    box-shadow: none !important;
}

.admin-textarea-card {
    border-radius: 1rem !important;
    padding: 1rem !important;
    border-color: #dee2e6 !important;
    box-shadow: none !important;
}

.admin-input-pill:focus,
.admin-textarea-card:focus {
    border-color: var(--gold) !important;
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.2) !important;
}

.badge-sm {
    font-size: 0.7rem;
}

/* ===== BLOG CARDS ===== */
.blog-card {
    background: var(--white);
    border: 1px solid var(--slate-100);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(197, 160, 89, 0.3);
}

.blog-card-image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: var(--slate-100);
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.08);
}

.blog-card-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gold);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.blog-card-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-date {
    font-size: 0.85rem;
    color: var(--slate-500);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-card-date i {
    color: var(--gold);
}

.blog-card h5 {
    font-size: 1.25rem;
    line-height: 1.4;
    margin-bottom: 15px;
}

.blog-card h5 a {
    color: var(--slate-900);
}

.blog-card h5 a:hover {
    color: var(--gold);
}

.blog-card p {
    color: var(--slate-600);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-card .read-more {
    font-weight: 600;
    color: var(--gold-dark);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.blog-card .read-more:hover {
    color: var(--gold);
    gap: 12px;
}

/* ===== MEGA DROPDOWN MENU ===== */
.mega-dropdown-menu {
    min-width: 320px;
}
.mega-dropdown-desc {
    white-space: normal;
    line-height: 1.4;
    display: block;
    margin-top: 4px;
}

/* ===== ADMIN UTILITIES ===== */
.admin-img-thumb { width: 50px; height: 50px; object-fit: cover; }
.admin-img-placeholder { width: 50px; height: 50px; line-height: 50px; }
.admin-img-preview-md { width: 80px; height: 80px; object-fit: cover; }
.admin-img-preview-lg { height: 100px; }
.admin-img-preview-xl { max-height: 200px; }
.admin-col-price { width: 250px; }
.admin-input-group-rounded { border-radius: 8px; overflow: hidden; }
.admin-lang-badge { width: 45px; }
.admin-avatar-sm { width: 35px; height: 35px; }
.admin-max-w-300 { max-width: 300px; }

/* typography utilities */
.fs-80 { font-size: 0.8rem !important; }
.fs-90 { font-size: 0.9rem !important; }
.fs-95 { font-size: 0.95rem !important; }
.text-gold { color: var(--gold) !important; }
.ws-pre-wrap { white-space: pre-wrap !important; }

/* ===== GLOBAL UTILITIES ===== */
.hide-initial { display: none; }
.show-initial { display: block; }
.cursor-pointer { cursor: pointer; }
.bg-rgba-dark { background: rgba(15, 23, 42, 0.6); }
.z-modal-backdrop { z-index: 1060; pointer-events: none; }
.toast-visible { pointer-events: auto; min-width: 320px; animation: slideInRight 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.branch-divider { width: 2px; height: 40px; background-color: var(--primary); }
.contact-follow-us { font-size: 0.8rem; letter-spacing: 0.05em; }
.contact-form-card { border-radius: var(--radius); }
.contact-map-container { border-radius: var(--radius); height: 450px; border: 2px solid var(--slate-100); }
.stone-booking-success { font-size: 3rem; margin-bottom: 20px; }
.stone-thumb-circle { width: 80px; height: 80px; object-fit: cover; border-radius: 50%; margin-right: 15px; }
.stone-thumb-placeholder { width: 80px; height: 80px; border-radius: 50%; background: var(--ivory); display: flex; align-items: center; justify-content: center; margin-right: 15px; }
.blog-search-icon { font-size: 4rem; opacity: 0.5; }
.transition-all-300 { transition: all 0.3s ease; }
.dot-gold { color: var(--gold); margin-right: 5px; }
.branch-horizontal-line { width: 75%; height: 2px; }

/* ===== PAGES UTILITIES ===== */
.sticky-top-100 { top: 100px; }
.rounded-radius { border-radius: var(--radius); }
.account-avatar { width: 70px; height: 70px; line-height: 70px; font-size: 2rem; background: var(--cream); border-radius: 50%; border: 1px solid var(--gold); }
.transition-custom { transition: var(--transition); }
.account-icon-box { width: 60px; height: 60px; border-radius: 50%; font-size: 1.5rem; }
.video-empty-icon { font-size: 4rem; opacity: 0.5; }
.border-gold-light { border-color: rgba(197, 160, 89, 0.2) !important; }
.max-w-600 { max-width: 600px; }
.rounded-50px { border-radius: 50px; }
.rounded-1rem { border-radius: 1rem; }
.stone-modal-btn { border-radius: 0.75rem; transition: all 0.2s; }
.service-detail-icon { margin: 0; width: 80px; height: 80px; font-size: 2.2rem; background: var(--ivory); color: var(--gold); border: 1px solid var(--slate-100); display: flex; align-items: center; justify-content: center; border-radius: var(--radius); }
.bg-ivory-gradient { background: linear-gradient(135deg, var(--ivory) 0%, var(--white) 100%); }
.service-sidebar-link { background: var(--ivory); padding: 12px 16px; }
.service-sidebar-icon { width: 25px; text-align: center; }
.readonly-white { background-color: #fff !important; cursor: default; }
.branch-vertical-line-ui { width: 2px; height: 30px; }
.branch-icon-wrapper { width: 80px; height: 80px; font-size: 2rem; }

/* ===== HOMEPAGE POPUP MODAL & SLIDER (LUXURY WHITE EDITION) ===== */
.modal-backdrop.show {
    opacity: 1 !important;
    background-color: rgba(15, 23, 42, 0.4) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
}

.astro-popup-dialog {
    max-width: fit-content;
    width: auto;
    margin: 1.5rem auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.astro-popup-content {
    background: transparent;
    border: none;
    box-shadow: none;
    position: relative;
    width: auto;
    max-width: 92vw;
}

.astro-popup-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: visible;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18), 0 0 30px rgba(197, 160, 89, 0.22);
    border: 2px solid rgba(197, 160, 89, 0.45);
    position: relative;
    padding: 8px;
    display: inline-flex;
    flex-direction: column;
    max-width: 100%;
    animation: astroPopupZoomIn 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes astroPopupZoomIn {
    0% {
        opacity: 0;
        transform: scale(0.92) translateY(15px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.astro-popup-close {
    position: absolute;
    top: -14px;
    right: -14px;
    z-index: 150;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffffff;
    color: #1a1a1a;
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16), 0 0 12px rgba(197, 160, 89, 0.35);
    padding: 0;
    font-size: 1.1rem;
}

.astro-popup-close:hover {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: #ffffff;
    transform: rotate(90deg) scale(1.1);
    border-color: var(--gold);
    box-shadow: 0 8px 25px rgba(197, 160, 89, 0.55);
}

.astro-popup-carousel {
    width: auto;
    max-width: 100%;
    border-radius: 14px;
    overflow: hidden;
    background: transparent;
    position: relative;
}

.astro-popup-carousel .carousel-inner {
    border-radius: 14px;
}

.astro-popup-slide {
    text-align: center;
    background: transparent;
    position: relative;
    display: flex;
    justify-content: center;
}

.astro-popup-img-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-height: 82vh;
    min-height: 200px;
    background: transparent;
    padding: 4px;
    position: relative;
}

.astro-popup-img {
    max-width: min(85vw, 780px);
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    transition: transform 0.35s ease;
}

.astro-popup-slide:hover .astro-popup-img {
    transform: scale(1.01);
}

.astro-popup-caption-bar {
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.88) 70%, transparent 100%);
    padding: 24px 20px 14px;
    position: absolute;
    bottom: 4px;
    left: 4px;
    right: 4px;
    color: var(--navy);
    text-align: center;
    z-index: 10;
    border-radius: 0 0 14px 14px;
}

.astro-popup-caption-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
    letter-spacing: 0.01em;
}

.astro-popup-caption-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 24px;
    font-size: 0.88rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: #ffffff;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(197, 160, 89, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.astro-popup-caption-btn:hover {
    color: #ffffff;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 25px rgba(197, 160, 89, 0.65);
}

/* Luxury White Prev / Next Arrows */
.astro-popup-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid var(--gold);
    color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 110;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.14), 0 0 8px rgba(197, 160, 89, 0.25);
    opacity: 0.95;
    padding: 0;
}

.astro-popup-nav-btn.prev {
    left: 14px;
}

.astro-popup-nav-btn.next {
    right: 14px;
}

.astro-popup-nav-btn:hover {
    background: var(--gold);
    color: #ffffff;
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.5);
    border-color: var(--gold);
}

/* Indicators */
.astro-popup-indicators {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 110;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 999px;
    margin-bottom: 0;
    border: 1px solid rgba(197, 160, 89, 0.35);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.astro-popup-indicator-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(197, 160, 89, 0.35);
    border: none;
    padding: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.astro-popup-indicator-dot.active {
    width: 26px;
    border-radius: 999px;
    background: var(--gold);
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.65);
}

/* Responsive adjustments for mobile */
@media (max-width: 575.98px) {
    .astro-popup-dialog {
        width: auto;
        max-width: 94vw;
        margin: 1.25rem auto;
    }

    .astro-popup-card {
        padding: 6px;
        border-radius: 16px;
    }

    .astro-popup-img-wrapper {
        max-height: 72vh;
        min-height: 160px;
        padding: 2px;
    }

    .astro-popup-img {
        max-width: 90vw;
        max-height: 70vh;
        border-radius: 12px;
    }

    .astro-popup-close {
        top: -10px;
        right: -8px;
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }

    .astro-popup-nav-btn {
        width: 38px;
        height: 38px;
    }

    .astro-popup-nav-btn.prev {
        left: 8px;
    }

    .astro-popup-nav-btn.next {
        right: 8px;
    }

    .astro-popup-caption-bar {
        padding: 16px 14px 10px;
        bottom: 2px;
        left: 2px;
        right: 2px;
    }

    .astro-popup-caption-title {
        font-size: 0.95rem;
    }
}

/* ===== POPUP ADMIN UTILITIES ===== */
.popup-admin-thumb {
    width: 110px;
    height: 70px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--slate-300);
    box-shadow: var(--shadow-sm);
}

.popup-admin-preview-box {
    min-height: 140px;
    border-radius: 14px;
    background: #fbfbf9;
    border: 2px dashed rgba(197, 160, 89, 0.4);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px;
}

.popup-preview-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--slate-300);
    width: 120px;
    height: 80px;
}

.popup-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popup-status-badge-active {
    background: #e8f5e9;
    color: #1b5e20;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
}

.popup-status-badge-inactive {
    background: #ffebee;
    color: #b71c1c;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
}

.popup-card-hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.popup-card-hover:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md) !important;
}
