/* ============================================================
   SevaSetuHub – Reusable UI Components
   components.css
   ============================================================ */

/* ══════════════════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    line-height: 1;
    padding: 0.6875rem 1.5rem;
    border-radius: var(--radius-md);
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
    text-decoration: none;
    user-select: none;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
}

/* Ripple effect */
.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255,255,255,0.28) 0%, transparent 70%);
    opacity: 0;
    transform: scale(0);
    transition: opacity 0.4s ease, transform 0.5s ease;
    pointer-events: none;
}

.btn:active::after {
    opacity: 1;
    transform: scale(2.5);
    transition: none;
}

.btn:focus-visible {
    outline: 2.5px solid var(--primary);
    outline-offset: 3px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #0284c7 100%);
    color: var(--text-inverse);
    border-color: var(--primary);
    box-shadow: var(--shadow-brand);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #0369a1 100%);
    border-color: var(--primary-dark);
    color: var(--text-inverse);
    transform: translateY(-2px);
    box-shadow: var(--shadow-brand-lg);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: var(--shadow-brand);
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--text-inverse);
    transform: translateY(-2px);
    box-shadow: var(--shadow-brand);
}

.btn-outline-primary:active {
    transform: translateY(0);
}

.btn-outline-white {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--text-inverse);
    border-color: var(--secondary);
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    color: var(--text-inverse);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(30, 64, 175, 0.3);
}

.btn-light {
    background: var(--surface);
    color: var(--text-primary);
    border-color: var(--border);
    box-shadow: var(--shadow-xs);
}

.btn-light:hover {
    background: var(--neutral-50);
    border-color: var(--border-strong);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn-sm {
    font-size: var(--text-xs);
    padding: 0.4375rem 1rem;
}

.btn-lg {
    font-size: var(--text-base);
    padding: 0.9375rem 2rem;
    border-radius: var(--radius-lg);
    letter-spacing: 0.015em;
}

/* ══════════════════════════════════════════════════════════
   BADGES
   ══════════════════════════════════════════════════════════ */
.badge-brand {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    line-height: 1.4;
}

.badge-primary {
    background: var(--primary-muted);
    color: var(--primary-dark);
    border: 1px solid rgba(8,145,178,0.18);
}

.badge-success {
    background: var(--success-light);
    color: var(--success);
    border: 1px solid rgba(5,150,105,0.18);
}

.badge-warning {
    background: var(--warning-light);
    color: var(--warning);
    border: 1px solid rgba(217,119,6,0.18);
}

.badge-danger {
    background: var(--danger-light);
    color: var(--danger);
    border: 1px solid rgba(220,38,38,0.18);
}

/* ══════════════════════════════════════════════════════════
   CARDS
   ══════════════════════════════════════════════════════════ */
.card-base {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s var(--easing-spring);
}

.card-base:hover {
    box-shadow: var(--shadow-card-hover);
    border-color: var(--border-brand);
    transform: translateY(-4px);
}

/* ══════════════════════════════════════════════════════════
   SERVICE CATEGORY CARD
   ══════════════════════════════════════════════════════════ */
.service-category-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 0;
    cursor: pointer;
    transition: all 0.3s var(--easing-spring);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: left;
    width: 100%;
    box-shadow: var(--shadow-sm);
}

.service-category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-brand-vivid);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s var(--easing-spring);
    z-index: 2;
}

.service-category-card:hover::before {
    transform: scaleX(1);
}

.service-category-card:hover {
    border-color: var(--border-brand);
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-6px);
}

.service-category-card .card-thumb-wrap {
    height: 130px;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border);
}

/* Gradient overlay on thumb */
.service-category-card .card-thumb-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,0.18) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.service-category-card:hover .card-thumb-wrap::after {
    opacity: 1;
}

.service-category-card .card-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--easing-smooth);
}

.service-category-card:hover .card-thumb-img {
    transform: scale(1.1);
}

.service-category-card .card-icon-floating {
    position: absolute;
    bottom: 10px;
    right: 12px;
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s var(--easing-spring);
    z-index: 2;
}

.service-category-card:hover .card-icon-floating {
    transform: scale(1.15) rotate(-5deg);
    background: #ffffff;
}

.service-category-card .card-thumb-icon-only {
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-category-card .card-content-wrap {
    padding: var(--space-4) var(--space-5) var(--space-5);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    flex: 1;
}

.service-category-card .card-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--primary-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary);
    transition: all 0.3s var(--easing-spring);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.service-category-card .card-icon-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-brand);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.service-category-card:hover .card-icon-wrap {
    color: #ffffff;
    transform: scale(1.1) rotate(-5deg);
    box-shadow: var(--shadow-brand);
}

.service-category-card:hover .card-icon-wrap::before {
    opacity: 1;
}

.service-category-card .card-icon-wrap i {
    position: relative;
    z-index: 1;
}

.service-category-card .card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.01em;
}

.service-category-card .card-desc {
    font-size: var(--text-xs);
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
    flex: 1;
}

.service-category-card .card-link {
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap var(--transition-fast), color var(--transition-fast);
    margin-top: var(--space-2);
}

.service-category-card:hover .card-link {
    gap: 8px;
    color: var(--primary-dark);
}

/* ══════════════════════════════════════════════════════════
   POPULAR SERVICE CARD
   ══════════════════════════════════════════════════════════ */
.popular-service-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.3s var(--easing-spring);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.popular-service-card:hover {
    box-shadow: var(--shadow-card-hover);
    border-color: var(--border-brand);
    transform: translateY(-6px);
}

.popular-service-card .service-img-area {
    height: 150px;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border);
}

.popular-service-card .service-img-area::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,0.25) 0%, transparent 55%);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.popular-service-card:hover .service-img-area::after {
    opacity: 1;
}

.popular-service-card .popular-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--easing-smooth);
}

.popular-service-card:hover .popular-card-img {
    transform: scale(1.1);
}

.popular-service-card .service-badge-pill {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.popular-service-card .service-icon-area {
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

.popular-service-card .service-icon-area::after {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    opacity: 0.06;
}

.popular-service-card .service-body {
    padding: var(--space-5);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    flex: 1;
}

.popular-service-card .service-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.01em;
}

.popular-service-card .service-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2);
}

.popular-service-card .service-price {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.popular-service-card .service-price strong {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-dark);
    font-family: var(--font-heading);
}

.popular-service-card .service-rating {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: var(--text-xs);
    color: var(--warning);
    font-weight: var(--weight-semibold);
    background: var(--warning-light);
    padding: 2px 8px;
    border-radius: var(--radius-full);
}

.popular-service-card .btn-book {
    margin-top: auto;
}

/* ══════════════════════════════════════════════════════════
   OFFER CARD
   ══════════════════════════════════════════════════════════ */
.offer-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    transition: all 0.3s var(--easing-spring);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.offer-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: var(--primary-muted);
    border-radius: 50%;
    transform: translate(35%, -35%);
    transition: all 0.5s var(--easing-smooth);
}

.offer-card:hover::before {
    background: rgba(8, 145, 178, 0.15);
    transform: translate(20%, -20%) scale(1.4);
}

.offer-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--border-brand);
    transform: translateY(-4px);
}

.offer-card .offer-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    background: var(--warning-light);
    color: var(--warning);
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    width: fit-content;
    border: 1px solid rgba(217,119,6,0.2);
}

.offer-card .offer-discount {
    font-size: var(--text-3xl);
    font-weight: var(--weight-extrabold);
    color: var(--primary-dark);
    line-height: 1.1;
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

.offer-card .offer-title {
    font-size: var(--text-lg);
    font-weight: var(--weight-bold);
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.01em;
}

.offer-card .offer-description {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin: 0;
    line-height: var(--leading-relaxed);
}

.offer-card .offer-code-row {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.offer-card .coupon-code {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    font-weight: var(--weight-bold);
    color: var(--primary-dark);
    background: var(--primary-muted);
    border: 1.5px dashed var(--border-brand);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-sm);
    letter-spacing: 0.08em;
    flex: 1;
}

.offer-card .offer-meta {
    font-size: var(--text-xs);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.offer-card .offer-actions {
    display: flex;
    gap: var(--space-2);
    margin-top: auto;
}

/* ══════════════════════════════════════════════════════════
   TRUST INDICATOR BAR
   ══════════════════════════════════════════════════════════ */
.trust-bar {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: var(--space-4) 0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: var(--text-secondary);
    white-space: nowrap;
    flex-shrink: 0;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.trust-item:hover {
    background: var(--primary-muted);
    color: var(--primary-dark);
}

.trust-item:hover .trust-icon {
    color: var(--primary);
}

.trust-item .trust-icon {
    color: var(--success);
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: color var(--transition-fast);
}

/* ══════════════════════════════════════════════════════════
   TESTIMONIAL CARD
   ══════════════════════════════════════════════════════════ */
.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s var(--easing-spring);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: -8px;
    right: 20px;
    font-size: 7rem;
    font-family: Georgia, serif;
    color: var(--primary-muted);
    line-height: 1;
    pointer-events: none;
    opacity: 0.8;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-card-hover);
    border-color: var(--border-brand);
    transform: translateY(-4px);
}

.testimonial-card .quote-icon {
    font-size: 2.2rem;
    color: var(--primary-light);
    line-height: 1;
    opacity: 0.85;
}

.testimonial-card .review-text {
    font-size: var(--text-base);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    font-style: italic;
    margin: 0;
    position: relative;
    z-index: 1;
}

.testimonial-card .reviewer {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-top: auto;
}

.testimonial-card .avatar {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-lg);
    font-weight: var(--weight-bold);
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(8,145,178,0.2), var(--shadow-sm);
}

.testimonial-card .reviewer-name {
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    color: var(--text-primary);
    margin: 0;
}

.testimonial-card .reviewer-location {
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin: 0;
}

.star-rating {
    display: flex;
    gap: 2px;
    color: #f59e0b;
    font-size: 0.875rem;
}

/* ══════════════════════════════════════════════════════════
   STAT CARD
   ══════════════════════════════════════════════════════════ */
.stat-card {
    text-align: center;
    padding: var(--space-6) var(--space-4);
}

.stat-card .stat-value {
    font-size: var(--text-4xl);
    font-weight: var(--weight-extrabold);
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1;
    margin-bottom: var(--space-1);
    letter-spacing: -0.02em;
}

.stat-card .stat-label {
    font-size: var(--text-sm);
    color: var(--text-muted);
    font-weight: var(--weight-medium);
    letter-spacing: 0.01em;
}

/* ══════════════════════════════════════════════════════════
   TOAST NOTIFICATION
   ══════════════════════════════════════════════════════════ */
#toast-container {
    position: fixed;
    bottom: var(--space-6);
    right: var(--space-6);
    z-index: var(--z-toast);
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(15, 23, 42, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28), 0 1px 3px rgba(0, 0, 0, 0.12);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    min-width: 280px;
    max-width: 420px;
    pointer-events: all;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    animation: toastIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.toast-item.toast-success { border-left: 4px solid var(--success); }
.toast-item.toast-error   { border-left: 4px solid var(--danger); }
.toast-item.toast-info    { border-left: 4px solid var(--primary); }
.toast-item.toast-warning { border-left: 4px solid var(--warning); }

.toast-item .toast-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.toast-item.toast-success .toast-icon { color: #34d399; }
.toast-item.toast-error .toast-icon   { color: #f87171; }
.toast-item.toast-info .toast-icon    { color: #38bdf8; }
.toast-item.toast-warning .toast-icon { color: #fbbf24; }

.toast-item .toast-content {
    flex: 1;
    line-height: 1.45;
    padding-right: 4px;
}

.toast-close-btn {
    all: unset;
    cursor: pointer;
    font-size: 1.35rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.6);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    flex-shrink: 0;
    margin-left: auto;
}

.toast-close-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
}

.toast-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: rgba(255, 255, 255, 0.3);
    transform-origin: left;
    animation: toastProgress linear forwards;
}

.toast-item.toast-success .toast-progress-bar { background: var(--success); }
.toast-item.toast-error .toast-progress-bar   { background: var(--danger); }
.toast-item.toast-info .toast-progress-bar    { background: var(--primary); }
.toast-item.toast-warning .toast-progress-bar { background: var(--warning); }

.toast-item.toast-exit {
    animation: toastOut 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes toastIn {
    from { opacity: 0; transform: translateX(20px) scale(0.94); }
    to   { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes toastOut {
    from { opacity: 1; transform: translateX(0) scale(1); }
    to   { opacity: 0; transform: translateX(20px) scale(0.92); }
}

@keyframes toastProgress {
    from { transform: scaleX(1); }
    to   { transform: scaleX(0); }
}

/* ══════════════════════════════════════════════════════════
   FLOATING ACTION BUTTON (FAB)
   ══════════════════════════════════════════════════════════ */
#fab-book {
    position: fixed;
    bottom: var(--space-6);
    right: var(--space-5);
    z-index: var(--z-fab);
    display: none;
    align-items: center;
    gap: var(--space-2);
    background: var(--gradient-brand);
    color: #ffffff;
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    padding: var(--space-4) var(--space-5);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-brand-lg);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-base);
    animation: fabPop 0.4s var(--easing-spring);
    letter-spacing: 0.01em;
}

#fab-book:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1d4ed8 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 28px rgba(8, 145, 178, 0.5);
}

@keyframes fabPop {
    from { opacity: 0; transform: scale(0.7) translateY(12px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* ══════════════════════════════════════════════════════════
   FEATURE LIST (Why SevaSetuHub)
   ══════════════════════════════════════════════════════════ */
.feature-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-5);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    border: 1px solid transparent;
}

.feature-item:hover {
    background: var(--surface);
    border-color: var(--border);
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.feature-item .feature-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--primary-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
    flex-shrink: 0;
    transition: all 0.3s var(--easing-spring);
    position: relative;
    overflow: hidden;
}

.feature-item .feature-icon-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-brand);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.feature-item:hover .feature-icon-wrap {
    color: #ffffff;
    transform: scale(1.1) rotate(-5deg);
    box-shadow: var(--shadow-brand);
}

.feature-item:hover .feature-icon-wrap::before {
    opacity: 1;
}

.feature-item .feature-icon-wrap i {
    position: relative;
    z-index: 1;
}

.feature-item .feature-title {
    font-size: var(--text-base);
    font-weight: var(--weight-semibold);
    color: var(--text-primary);
    margin-bottom: var(--space-1);
    letter-spacing: -0.01em;
}

.feature-item .feature-desc {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin: 0;
    line-height: var(--leading-relaxed);
}

/* ══════════════════════════════════════════════════════════
   STEP (How It Works)
   ══════════════════════════════════════════════════════════ */
.how-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    padding: var(--space-4) var(--space-3);
    border-radius: var(--radius-lg);
    transition: all 0.3s var(--easing-spring);
}

.how-step:hover {
    background: var(--surface);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.how-step .step-number {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-full);
    background: var(--gradient-brand);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-lg);
    font-weight: var(--weight-bold);
    font-family: var(--font-heading);
    margin-bottom: var(--space-4);
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    box-shadow: var(--shadow-brand);
    transition: all 0.3s var(--easing-spring);
}

.how-step:hover .step-number {
    transform: scale(1.12);
    box-shadow: var(--shadow-brand-lg);
}

.how-step .step-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    background: var(--primary-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: var(--space-4);
    transition: all 0.3s var(--easing-spring);
}

.how-step:hover .step-icon {
    background: var(--primary-muted-strong);
    color: var(--primary-dark);
    transform: scale(1.1);
}

.how-step .step-title {
    font-size: var(--text-base);
    font-weight: var(--weight-semibold);
    color: var(--text-primary);
    margin-bottom: var(--space-2);
    letter-spacing: -0.01em;
}

.how-step .step-desc {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: var(--leading-relaxed);
    margin: 0;
}

/* ══════════════════════════════════════════════════════════
   ACCORDION (FAQ)
   ══════════════════════════════════════════════════════════ */
.faq-accordion .accordion-item {
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-md) !important;
    margin-bottom: var(--space-3);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    transition: box-shadow var(--transition-base), border-color var(--transition-base);
}

.faq-accordion .accordion-item:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--border-brand) !important;
}

.faq-accordion .accordion-button {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    font-weight: var(--weight-semibold);
    color: var(--text-primary);
    background: var(--surface);
    padding: var(--space-5) var(--space-6);
    border: none;
    box-shadow: none;
    transition: color var(--transition-fast), background var(--transition-fast);
    letter-spacing: -0.005em;
}

.faq-accordion .accordion-button:not(.collapsed) {
    color: var(--primary);
    background: var(--primary-muted);
    box-shadow: none;
}

.faq-accordion .accordion-button::after {
    filter: none;
    background-image: none;
    content: '\F282';
    font-family: 'bootstrap-icons';
    font-size: 1rem;
    color: var(--text-muted);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-base);
}

.faq-accordion .accordion-button:not(.collapsed)::after {
    content: '\F286';
    color: var(--primary);
    transform: none;
}

.faq-accordion .accordion-body {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: var(--leading-relaxed);
    padding: 0 var(--space-6) var(--space-5);
    background: var(--surface);
}

/* ══════════════════════════════════════════════════════════
   SEARCH WIDGET
   ══════════════════════════════════════════════════════════ */
.search-widget {
    background: var(--surface);
    border-radius: var(--radius-2xl);
    padding: var(--space-8) var(--space-8);
    box-shadow: 0 8px 40px -8px rgba(15, 23, 42, 0.14), 0 0 0 1px rgba(226,232,240,0.8);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.search-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-brand-vivid);
}

.search-widget .form-label {
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-muted);
    margin-bottom: var(--space-2);
}

.search-widget .form-select,
.search-widget .form-control {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    color: var(--text-primary);
    padding: 0.8rem 1rem;
    background-color: var(--neutral-50);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
    height: auto;
}

.search-widget .form-select:focus,
.search-widget .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(8, 145, 178, 0.12);
    outline: none;
    background-color: var(--surface);
}

/* ══════════════════════════════════════════════════════════
   TIMELINE (Service History)
   ══════════════════════════════════════════════════════════ */
.timeline {
    position: relative;
    padding-left: var(--space-8);
}

.timeline::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--accent), var(--border));
}

.timeline-item {
    position: relative;
    padding-bottom: var(--space-6);
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: calc(-1 * var(--space-8) + 9px);
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: var(--radius-full);
    border: 2px solid var(--surface);
    box-shadow: 0 0 0 2px var(--primary);
    background: var(--primary);
    flex-shrink: 0;
    transition: all var(--transition-base);
}

.timeline-dot.pending {
    background: var(--border);
    box-shadow: 0 0 0 2px var(--neutral-400);
}

.timeline-date {
    font-size: var(--text-xs);
    color: var(--text-muted);
    font-weight: var(--weight-medium);
    margin-bottom: var(--space-1);
}

.timeline-title {
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    color: var(--text-primary);
    margin-bottom: 2px;
    letter-spacing: -0.005em;
}

.timeline-status {
    font-size: var(--text-xs);
    font-weight: var(--weight-medium);
}

.timeline-status.completed { color: var(--success); }
.timeline-status.pending   { color: var(--text-muted); }

/* ══════════════════════════════════════════════════════════
   BEFORE / AFTER COMPONENT
   ══════════════════════════════════════════════════════════ */
.before-after-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.before-panel,
.after-panel {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 220px;
    display: flex;
    align-items: flex-end;
    padding: var(--space-4);
}

.before-panel {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
}

.after-panel {
    background: linear-gradient(135deg, #cffafe 0%, #a5f3fc 100%);
}

.panel-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    position: relative;
    z-index: 1;
}

.panel-label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: var(--radius-full);
}

.before-panel .panel-label {
    background: rgba(100, 116, 139, 0.2);
    color: var(--neutral-700);
}

.after-panel .panel-label {
    background: rgba(8, 145, 178, 0.15);
    color: var(--primary-dark);
}

/* ══════════════════════════════════════════════════════════
   AMC CARD
   ══════════════════════════════════════════════════════════ */
.amc-schedule {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.amc-visit {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    background: var(--neutral-50);
    border: 1px solid var(--border);
    transition: all var(--transition-fast);
}

.amc-visit:hover {
    border-color: var(--border-brand);
    background: var(--surface);
}

.amc-visit.completed {
    border-color: var(--success-light);
    background: var(--success-light);
}

.amc-visit.upcoming {
    border-color: var(--border);
    background: var(--surface);
    opacity: 0.7;
}

.amc-visit-icon {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.amc-visit.completed .amc-visit-icon { background: var(--success); color: #fff; }
.amc-visit.upcoming .amc-visit-icon  { background: var(--border); color: var(--text-muted); }

.amc-visit-label {
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
}

.amc-visit.completed .amc-visit-label { color: var(--success); }
.amc-visit.upcoming .amc-visit-label  { color: var(--text-muted); }

/* ══════════════════════════════════════════════════════════
   BUSINESS FEATURE TAG
   ══════════════════════════════════════════════════════════ */
.biz-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: var(--neutral-300);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-sm);
    white-space: nowrap;
    transition: all var(--transition-fast);
    backdrop-filter: blur(4px);
}

.biz-tag:hover {
    background: rgba(8, 145, 178, 0.25);
    border-color: rgba(8, 145, 178, 0.4);
    color: #ffffff;
}

.biz-tag i {
    color: var(--accent);
    font-size: 0.9rem;
}

/* ══════════════════════════════════════════════════════════
   TECHNICIAN FEATURE LIST
   ══════════════════════════════════════════════════════════ */
.tech-feature {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--border);
    transition: padding var(--transition-fast);
}

.tech-feature:hover {
    padding-left: var(--space-2);
}

.tech-feature:last-child {
    border-bottom: none;
}

.tech-feature .tech-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: var(--primary-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
    flex-shrink: 0;
    transition: all var(--transition-fast);
}

.tech-feature:hover .tech-icon {
    background: var(--primary);
    color: #ffffff;
}

.tech-feature .tech-label {
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: var(--text-primary);
}

/* ══════════════════════════════════════════════════════════
   NAVBAR CUSTOM (Modern Glassmorphic Header & Notice Bar)
   ══════════════════════════════════════════════════════════ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1040;
    transition: all 0.3s var(--easing-smooth);
}

.site-notice-banner {
    background: linear-gradient(90deg, #091e3a 0%, #0f172a 40%, #0e4860 100%);
    color: #ffffff;
    padding: 0.425rem 0.75rem;
    font-size: 0.8125rem;
    line-height: 1.4;
    border-bottom: 1px solid rgba(245, 158, 11, 0.4);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1045;
}

.notice-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    flex-wrap: wrap;
    text-align: center;
}

.notice-badge-group {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
}

.notice-badge-construction {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #0f172a;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.15rem 0.55rem;
    border-radius: var(--radius-full);
    box-shadow: 0 1px 4px rgba(245, 158, 11, 0.4);
    animation: noticePulse 2.8s infinite ease-in-out;
}

@keyframes noticePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}

.notice-badge-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(6, 182, 212, 0.2);
    color: #67e8f9;
    border: 1px solid rgba(6, 182, 212, 0.45);
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.12rem 0.5rem;
    border-radius: var(--radius-full);
}

.notice-mock-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.6875rem;
    font-weight: 500;
    padding: 0.12rem 0.5rem;
    border-radius: var(--radius-full);
}

.notice-banner-text {
    color: #f8fafc;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.setu-navbar {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.7);
    min-height: 68px;
    transition: all 0.3s var(--easing-smooth);
    display: flex;
    align-items: center;
    width: 100%;
}

.setu-navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    min-height: 62px;
    box-shadow: 0 4px 24px -4px rgba(15, 23, 42, 0.10), 0 1px 4px rgba(15, 23, 42, 0.04);
    border-bottom-color: rgba(203, 213, 225, 0.85);
}

.navbar-inner-container {
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
}

.setu-navbar .navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--text-primary);
    text-decoration: none;
    line-height: 1;
    letter-spacing: -0.03em;
    padding: 0;
    margin-right: 1.25rem !important;
    flex-shrink: 0;
}

.setu-navbar .brand-logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 9px;
    filter: drop-shadow(0 2px 8px rgba(8, 145, 178, 0.28));
    transition: transform 0.3s var(--easing-spring);
}

.setu-navbar .navbar-brand:hover .brand-logo-img {
    transform: scale(1.08) rotate(-5deg);
}

.footer-logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 8px;
    filter: drop-shadow(0 2px 8px rgba(6, 182, 212, 0.4));
    transition: transform 0.3s var(--easing-spring);
}

.footer-brand .navbar-brand:hover .footer-logo-img {
    transform: scale(1.08);
}

.setu-navbar .brand-name-seva { color: var(--primary); font-weight: 800; }
.setu-navbar .brand-name-setu { color: var(--secondary); font-weight: 800; }
.setu-navbar .brand-name-hub  { color: var(--neutral-900); font-weight: 800; margin-right: 2px; }

.setu-navbar .navbar-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 0 0.25rem;
}

.setu-navbar .nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--neutral-600);
    padding: 0.42rem 0.7rem !important;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    position: relative;
    white-space: nowrap;
    letter-spacing: 0.005em;
}

.setu-navbar .nav-link:hover {
    color: var(--primary);
    background: rgba(8, 145, 178, 0.08);
}

.setu-navbar .nav-link.active {
    color: var(--primary);
    background: rgba(8, 145, 178, 0.12);
    font-weight: 600;
}

/* ── Right Controls ── */
.nav-right-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
    flex-shrink: 0;
}

.nav-auth-group {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

/* Nav specific buttons */
.btn-nav-login {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0.42rem 0.8rem;
    font-size: 0.845rem;
    font-weight: 600;
    color: var(--neutral-700);
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all var(--transition-fast);
    white-space: nowrap;
    letter-spacing: 0.005em;
}

.btn-nav-login:hover {
    color: var(--primary);
    background: var(--neutral-100);
    border-color: var(--border);
}

.btn-nav-register {
    display: inline-flex;
    align-items: center;
    padding: 0.42rem 0.9rem;
    font-size: 0.845rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(8, 145, 178, 0.06);
    border: 1.5px solid rgba(8, 145, 178, 0.28);
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all var(--transition-fast);
    white-space: nowrap;
    letter-spacing: 0.005em;
}

.btn-nav-register:hover {
    color: #ffffff;
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: var(--shadow-brand);
    transform: translateY(-1px);
}

.nav-book-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.46rem 1rem;
    font-size: 0.845rem;
    font-weight: 600;
    color: #ffffff !important;
    background: var(--gradient-brand);
    border: none;
    border-radius: var(--radius-full);
    text-decoration: none;
    box-shadow: var(--shadow-brand);
    transition: all var(--transition-fast);
    white-space: nowrap;
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
}

.nav-book-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.nav-book-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-brand-lg);
    filter: brightness(1.05);
}

.nav-book-btn:hover::before {
    opacity: 1;
}

.setu-navbar .navbar-toggler {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 6px 10px;
    background: rgba(248, 250, 252, 0.9);
    transition: all var(--transition-fast);
}

.setu-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 4px rgba(8, 145, 178, 0.18);
    border-color: var(--primary);
}

.setu-navbar .navbar-toggler-icon {
    width: 22px;
    height: 22px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230891b2' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ══════════════════════════════════════════════════════════
   SCROLL ANIMATION STATES
   ══════════════════════════════════════════════════════════ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s var(--easing-out), transform 0.65s var(--easing-out);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.08s; }
.animate-on-scroll.delay-2 { transition-delay: 0.16s; }
.animate-on-scroll.delay-3 { transition-delay: 0.24s; }
.animate-on-scroll.delay-4 { transition-delay: 0.32s; }
.animate-on-scroll.delay-5 { transition-delay: 0.40s; }
.animate-on-scroll.delay-6 { transition-delay: 0.48s; }

/* ══════════════════════════════════════════════════════════
   LANGUAGE SWITCHER (Capsule Segmented Control)
   ══════════════════════════════════════════════════════════ */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: rgba(241, 245, 249, 0.95);
    border: 1px solid rgba(203, 213, 225, 0.8);
    border-radius: var(--radius-full);
    padding: 3px;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

.lang-btn {
    all: unset;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 11px;
    border-radius: var(--radius-full);
    font-size: 0.775rem;
    font-weight: 600;
    font-family: var(--font-sans);
    color: var(--neutral-600);
    background: transparent;
    border: none;
    transition: all var(--transition-fast);
    white-space: nowrap;
    line-height: 1.35;
    letter-spacing: 0.02em;
    user-select: none;
    -webkit-user-select: none;
}

.lang-btn:hover {
    color: var(--primary);
    background: rgba(8, 145, 178, 0.1);
}

.lang-btn-active {
    color: #ffffff !important;
    background: var(--gradient-brand) !important;
    box-shadow: 0 2px 8px rgba(8, 145, 178, 0.35);
    font-weight: 700;
}

.lang-btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ══════════════════════════════════════════════════════════
   DEVANAGARI FONT (Marathi / Hindi)
   Applied via body class "lang-devanagari" set by i18n.js
   ══════════════════════════════════════════════════════════ */
body.lang-devanagari,
body.lang-devanagari p,
body.lang-devanagari span,
body.lang-devanagari a,
body.lang-devanagari li,
body.lang-devanagari label,
body.lang-devanagari option,
body.lang-devanagari button,
body.lang-devanagari .form-label,
body.lang-devanagari .btn,
body.lang-devanagari .badge,
body.lang-devanagari .biz-tag {
    font-family: 'Noto Sans Devanagari', 'Inter', sans-serif;
}

body.lang-devanagari h1,
body.lang-devanagari h2,
body.lang-devanagari h3,
body.lang-devanagari h4,
body.lang-devanagari h5,
body.lang-devanagari h6,
body.lang-devanagari .section-title,
body.lang-devanagari .section-heading,
body.lang-devanagari .hero-headline,
body.lang-devanagari .card-title,
body.lang-devanagari .workflow-title {
    font-family: 'Noto Sans Devanagari', 'Poppins', sans-serif;
    letter-spacing: 0;
    line-height: 1.5;
}

/* Slightly larger line-height for Devanagari readability */
body.lang-devanagari p,
body.lang-devanagari li {
    line-height: 1.85;
}

/* Marathi-specific lang-btn label sizing (native script is wider) */
body.lang-devanagari .lang-btn {
    font-family: 'Noto Sans Devanagari', sans-serif;
}

/* ══════════════════════════════════════════════════════════
   DRIBBBLE-INSPIRED LIQUID / GOOEY MORPHING LOADER SYSTEM
   ══════════════════════════════════════════════════════════ */
.seva-loader-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 45%, rgba(14, 42, 71, 0.82) 0%, rgba(8, 18, 33, 0.92) 100%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
    padding: 1.5rem;
}

.seva-loader-overlay.active {
    opacity: 1;
    visibility: visible;
}

.seva-loader-card {
    position: relative;
    max-width: 400px;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 25px 60px -12px rgba(8, 145, 178, 0.25), 0 18px 36px -18px rgba(0, 0, 0, 0.25);
    padding: 2.5rem 2rem 2rem;
    text-align: center;
    transform: scale(0.92) translateY(12px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.seva-loader-overlay.active .seva-loader-card {
    transform: scale(1) translateY(0);
}

/* Card top glowing line */
.seva-loader-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0891b2 0%, #0284c7 50%, #10b981 100%);
}

/* Liquid Canvas Stage */
.seva-liquid-stage {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Glowing Ambient Aura */
.seva-liquid-aura {
    position: absolute;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(8, 145, 178, 0.35) 0%, rgba(2, 132, 199, 0.15) 50%, transparent 70%);
    filter: blur(12px);
    animation: sevaAuraBreath 2.8s ease-in-out infinite alternate;
}

.seva-liquid-ring {
    position: absolute;
    width: 104px;
    height: 104px;
    border-radius: 50%;
    border: 2px dashed rgba(8, 145, 178, 0.22);
    animation: sevaRingRotate 14s linear infinite;
}

.seva-liquid-ring::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #0891b2;
    box-shadow: 0 0 10px #0891b2;
}

/* Gooey Liquid Filter Scene */
.seva-gooey-scene {
    position: relative;
    width: 90px;
    height: 90px;
    filter: url('#seva-gooey-effect');
    -webkit-filter: url('#seva-gooey-effect');
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Center Morphing Liquid Drop */
.seva-liquid-core {
    position: absolute;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #0891b2 0%, #0284c7 60%, #0369a1 100%);
    border-radius: 50%;
    animation: sevaLiquidCoreMorph 3.2s ease-in-out infinite alternate;
    box-shadow: 0 4px 14px rgba(8, 145, 178, 0.4);
}

/* Satellite Liquid Droplets that Orbit & Merge */
.seva-liquid-drop {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, #38bdf8 0%, #0891b2 100%);
}

.seva-liquid-drop.drop-1 {
    width: 26px;
    height: 26px;
    animation: sevaLiquidOrbit1 2.2s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.seva-liquid-drop.drop-2 {
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, #0284c7 0%, #10b981 100%);
    animation: sevaLiquidOrbit2 2.6s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite reverse;
}

.seva-liquid-drop.drop-3 {
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #06b6d4 0%, #0284c7 100%);
    animation: sevaLiquidOrbit3 1.8s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

/* Floating Brand Icon atop liquid */
.seva-liquid-brand-symbol {
    position: absolute;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.1rem;
    pointer-events: none;
    z-index: 5;
    animation: sevaSymbolFloat 2.8s ease-in-out infinite alternate;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.25));
}

/* Loader Text & Information */
.seva-loader-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.35rem;
    letter-spacing: -0.01em;
}

.seva-loader-subtitle {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 1.25rem;
    line-height: 1.45;
}

.seva-loader-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(8, 145, 178, 0.08);
    border: 1px solid rgba(8, 145, 178, 0.2);
    border-radius: 999px;
    padding: 0.35rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #0891b2;
}

.seva-loader-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #0891b2;
    box-shadow: 0 0 0 0 rgba(8, 145, 178, 0.6);
    animation: sevaDotPulse 1.4s infinite;
}

/* Progress bar inside card */
.seva-loader-progress-wrap {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
    margin-top: 1rem;
    display: none;
}

.seva-loader-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #0891b2 0%, #0284c7 50%, #10b981 100%);
    border-radius: 999px;
    transition: width 0.3s ease;
}

/* ══════════════════════════════════════════════════════════
   INLINE LIQUID LOADER (Tables, Section Placeholders, Cards)
   ══════════════════════════════════════════════════════════ */
.seva-liquid-inline {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    text-align: center;
    width: 100%;
}

.seva-liquid-inline .seva-liquid-stage {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

.seva-liquid-inline .seva-liquid-aura {
    width: 76px;
    height: 76px;
}

.seva-liquid-inline .seva-liquid-ring {
    width: 72px;
    height: 72px;
}

.seva-liquid-inline .seva-gooey-scene {
    width: 64px;
    height: 64px;
}

.seva-liquid-inline .seva-liquid-core {
    width: 32px;
    height: 32px;
}

.seva-liquid-inline .seva-liquid-drop.drop-1 { width: 18px; height: 18px; }
.seva-liquid-inline .seva-liquid-drop.drop-2 { width: 15px; height: 15px; }
.seva-liquid-inline .seva-liquid-drop.drop-3 { width: 12px; height: 12px; }

.seva-liquid-inline .seva-liquid-brand-symbol {
    font-size: 0.85rem;
}

.seva-liquid-inline-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.seva-liquid-inline-subtitle {
    font-size: 0.8rem;
    color: #64748b;
}

/* ══════════════════════════════════════════════════════════
   KEYFRAME ANIMATIONS
   ══════════════════════════════════════════════════════════ */
@keyframes sevaAuraBreath {
    0%   { transform: scale(0.9); opacity: 0.45; }
    100% { transform: scale(1.25); opacity: 0.85; }
}

@keyframes sevaRingRotate {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes sevaLiquidCoreMorph {
    0% {
        border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
        transform: scale(0.95) rotate(0deg);
    }
    33% {
        border-radius: 40% 60% 55% 45% / 55% 45% 60% 40%;
        transform: scale(1.06) rotate(60deg);
    }
    66% {
        border-radius: 60% 40% 45% 55% / 45% 55% 40% 60%;
        transform: scale(0.98) rotate(140deg);
    }
    100% {
        border-radius: 50% 50% 40% 60% / 60% 40% 50% 50%;
        transform: scale(1.04) rotate(220deg);
    }
}

@keyframes sevaLiquidOrbit1 {
    0% {
        transform: rotate(0deg) translateX(30px) rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) translateX(35px) rotate(-180deg) scale(1.15);
    }
    100% {
        transform: rotate(360deg) translateX(30px) rotate(-360deg) scale(1);
    }
}

@keyframes sevaLiquidOrbit2 {
    0% {
        transform: rotate(60deg) translateX(26px) rotate(-60deg) scale(0.9);
    }
    50% {
        transform: rotate(240deg) translateX(32px) rotate(-240deg) scale(1.1);
    }
    100% {
        transform: rotate(420deg) translateX(26px) rotate(-420deg) scale(0.9);
    }
}

@keyframes sevaLiquidOrbit3 {
    0% {
        transform: rotate(180deg) translateX(22px) rotate(-180deg) scale(0.85);
    }
    50% {
        transform: rotate(360deg) translateX(28px) rotate(-360deg) scale(1.05);
    }
    100% {
        transform: rotate(540deg) translateX(22px) rotate(-540deg) scale(0.85);
    }
}

@keyframes sevaSymbolFloat {
    0%   { transform: translateY(-1px) scale(0.95); opacity: 0.9; }
    100% { transform: translateY(2px) scale(1.05); opacity: 1; }
}

@keyframes sevaDotPulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(8, 145, 178, 0.7);
    }
    70% {
        transform: scale(1.2);
        box-shadow: 0 0 0 8px rgba(8, 145, 178, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(8, 145, 178, 0);
    }
}

/* ══════════════════════════════════════════════════════════
   UNIVERSAL BUTTON LOADER STYLING (Screenshot 2 Spec)
   ══════════════════════════════════════════════════════════ */
.btn-loading,
.btn.is-loading {
    position: relative !important;
    pointer-events: none !important;
    cursor: not-allowed !important;
    opacity: 0.88 !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.25) !important;
}

.btn-loading .spinner-border,
.btn.is-loading .spinner-border,
.btn .spinner-border-sm {
    width: 1.05rem !important;
    height: 1.05rem !important;
    border-width: 0.16em !important;
    border-color: currentColor transparent currentColor transparent !important;
    animation: btnSpinnerRotate 0.75s linear infinite !important;
    vertical-align: -0.125em !important;
    display: inline-block !important;
    flex-shrink: 0 !important;
}

@keyframes btnSpinnerRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Specific state for gradient buttons when loading */
.btn-primary.btn-loading,
.btn-primary.is-loading,
button[style*="gradient"].btn-loading,
button[style*="gradient"].is-loading {
    background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.35) !important;
}

/* Secondary & outline buttons when loading */
.btn-secondary.btn-loading,
.btn-secondary.is-loading {
    background-color: #64748b !important;
    color: #ffffff !important;
    border-color: transparent !important;
}

.btn-outline-primary.btn-loading,
.btn-outline-primary.is-loading {
    background-color: rgba(14, 165, 233, 0.12) !important;
    color: #0284c7 !important;
}

.btn-danger.btn-loading,
.btn-danger.is-loading {
    background-color: #ef4444 !important;
    color: #ffffff !important;
    opacity: 0.85 !important;
}

/* ══════════════════════════════════════════════════════════
   GLOBAL TOP-BAR DATA FETCH & MANIPULATION PROGRESS BAR
   ══════════════════════════════════════════════════════════ */
#seva-top-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #0284c7 0%, #38bdf8 50%, #f59e0b 100%);
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.8), 0 0 4px rgba(2, 132, 199, 0.5);
    z-index: 999999;
    pointer-events: none;
    transition: width 0.3s ease, opacity 0.4s ease;
    opacity: 0;
}

#seva-top-progress-bar.active {
    opacity: 1;
}

#seva-top-progress-bar.pulsing {
    animation: sevaTopBarGlow 1.5s infinite ease-in-out;
}

@keyframes sevaTopBarGlow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}


