/* =============================================
   DIGITAL SEVA CENTER - MAIN CSS
   Mobile First | Banking App Style
   ============================================= */

:root {
    --primary: #1565C0;
    --primary-dark: #0D47A1;
    --primary-light: #E3F2FD;
    --secondary: #FF6F00;
    --secondary-light: #FFF8E1;
    --success: #2E7D32;
    --success-light: #E8F5E9;
    --danger: #C62828;
    --danger-light: #FFEBEE;
    --warning: #F57F17;
    --warning-light: #FFFDE7;
    --info: #01579B;
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #EEEEEE;
    --gray-300: #E0E0E0;
    --gray-400: #BDBDBD;
    --gray-500: #9E9E9E;
    --gray-700: #616161;
    --gray-900: #212121;
    --white: #FFFFFF;
    --text: #1A1A2E;
    --text-muted: #6B7280;
    --border: #E5E7EB;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow: 0 4px 12px rgba(0,0,0,0.10);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --font: 'Noto Sans', 'Poppins', system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--gray-100);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ---- TYPOGRAPHY ---- */
h1 { font-size: 1.75rem; font-weight: 700; line-height: 1.2; }
h2 { font-size: 1.4rem; font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p  { font-size: 0.95rem; color: var(--text-muted); }

/* ---- NAVBAR ---- */
.navbar {
    background: var(--primary);
    padding: 0.75rem 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(21,101,192,0.3);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.nav-brand img {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    object-fit: contain;
    background: white;
    padding: 3px;
}

.nav-brand-text {
    color: white;
}

.nav-brand-text .brand-name {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.1;
    display: block;
}

.nav-brand-text .brand-tag {
    font-size: 0.65rem;
    opacity: 0.85;
    display: block;
    letter-spacing: 0.03em;
}

.nav-menu {
    display: none;
    list-style: none;
    gap: 0.25rem;
}

.nav-menu a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    transition: background 0.2s;
    display: block;
}

.nav-menu a:hover, .nav-menu a.active {
    background: rgba(255,255,255,0.15);
    color: white;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-track-btn {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 0.45rem 0.9rem;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.hamburger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    background: var(--primary-dark);
    padding: 1rem;
}

.mobile-menu.open { display: block; }

.mobile-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 0.95rem;
    font-weight: 500;
}

.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: white; }

/* ---- HERO / BANNER ---- */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 60%, #1A237E 100%);
    padding: 2rem 1rem 3rem;
    text-align: center;
    color: white;
}

.hero h1 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.hero p {
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

/* Search Box */
.search-box {
    background: white;
    border-radius: var(--radius-xl);
    padding: 0.6rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.search-box input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.95rem;
    color: var(--text);
    background: transparent;
    padding: 0.25rem 0;
}

.search-box input::placeholder { color: var(--gray-400); }

.search-btn {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 0.5rem 1.1rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

/* Search Results Dropdown */
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 0 0 12px 12px;
    box-shadow: var(--shadow-lg);
    z-index: 100;
    max-height: 300px;
    overflow-y: auto;
    display: none;
}

.search-results.show { display: block; }

.search-result-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    text-decoration: none;
    color: var(--text);
}

.search-result-item:hover { background: var(--primary-light); }
.search-result-item .icon { font-size: 1.3rem; }
.search-result-item .name { font-size: 0.9rem; font-weight: 500; }
.search-result-item .cat { font-size: 0.75rem; color: var(--text-muted); }

/* ---- SECTIONS ---- */
.section { padding: 2rem 1rem; }
.section-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.25rem;
}
.section-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ---- CATEGORY CARDS ---- */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.category-card {
    background: white;
    border-radius: var(--radius);
    padding: 1rem 0.5rem;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
    transition: all 0.2s;
    display: block;
}

.category-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.category-card .cat-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.category-card .cat-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
}

.category-card .cat-count {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ---- SERVICE CARDS ---- */
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.service-card {
    background: white;
    border-radius: var(--radius);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: var(--text);
    border: 2px solid transparent;
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    border-radius: 4px 0 0 4px;
}

.service-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.service-card .svc-icon {
    font-size: 1.75rem;
}

.service-card .svc-name {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
}

.service-card .svc-price {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 700;
}

.service-card .svc-time {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.service-card .svc-arrow {
    position: absolute;
    top: 50%;
    right: 0.75rem;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 1rem;
}

/* ---- POPULAR BADGE ---- */
.popular-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: var(--secondary);
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ---- HOW IT WORKS ---- */
.steps-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: white;
    border-radius: var(--radius);
    padding: 1rem;
    box-shadow: var(--shadow-sm);
}

.step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-text h4 { font-size: 0.95rem; margin-bottom: 2px; }
.step-text p  { font-size: 0.82rem; margin: 0; }

/* ---- FAQ ---- */
.faq-item {
    background: white;
    border-radius: var(--radius-sm);
    margin-bottom: 0.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    gap: 0.5rem;
}

.faq-icon {
    font-size: 1.2rem;
    color: var(--primary);
    flex-shrink: 0;
    transition: transform 0.3s;
}

.faq-q.open .faq-icon { transform: rotate(180deg); }

.faq-a {
    padding: 0 1rem 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    display: none;
    border-top: 1px solid var(--border);
    padding-top: 0.75rem;
}

.faq-a.open { display: block; }

/* ---- CONTACT BAR ---- */
.contact-bar {
    background: var(--primary-light);
    border-radius: var(--radius);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text);
}

.contact-item .icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-item .info .label { font-size: 0.72rem; color: var(--text-muted); }
.contact-item .info .val   { font-size: 0.9rem; font-weight: 600; }

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(21,101,192,0.3);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }

.btn-secondary {
    background: var(--secondary);
    color: white;
    box-shadow: 0 4px 12px rgba(255,111,0,0.3);
}
.btn-secondary:hover { background: #E65100; }

.btn-success {
    background: var(--success);
    color: white;
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-white {
    background: white;
    color: var(--primary);
    border: 2px solid white;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.05rem;
    border-radius: 12px;
}

.btn-full {
    width: 100%;
}

.btn-sm {
    padding: 0.4rem 0.85rem;
    font-size: 0.8rem;
    border-radius: 6px;
}

/* ---- STICKY BOTTOM BAR ---- */
.sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 0.75rem 1rem;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
    z-index: 999;
    display: none;
}

.sticky-bar.show { display: block; }

/* ---- FORMS ---- */
.form-group {
    margin-bottom: 1.1rem;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.4rem;
}

.form-label .required { color: var(--danger); margin-left: 2px; }

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: var(--text);
    background: white;
    transition: border-color 0.2s;
    outline: none;
    font-family: var(--font);
    -webkit-appearance: none;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(21,101,192,0.1);
}

.form-control.is-invalid { border-color: var(--danger); }
.form-control.is-valid   { border-color: var(--success); }

textarea.form-control { resize: vertical; min-height: 90px; }

select.form-control {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23999' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    padding-right: 2.5rem;
}

.form-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.invalid-feedback {
    font-size: 0.78rem;
    color: var(--danger);
    margin-top: 0.25rem;
    display: none;
}

.form-control.is-invalid + .invalid-feedback { display: block; }

/* Upload Area */
.upload-area {
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-sm);
    padding: 1.5rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: var(--gray-50);
    position: relative;
}

.upload-area:hover { border-color: var(--primary); background: var(--primary-light); }
.upload-area input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

.upload-icon { font-size: 2rem; color: var(--gray-400); margin-bottom: 0.5rem; }
.upload-text { font-size: 0.85rem; color: var(--text-muted); }
.upload-limit { font-size: 0.72rem; color: var(--gray-400); margin-top: 4px; }

.upload-preview {
    margin-top: 0.75rem;
    display: none;
}

.upload-preview img {
    max-width: 100%;
    max-height: 150px;
    border-radius: 8px;
    object-fit: contain;
}

.upload-preview .file-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--success-light);
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.82rem;
    color: var(--success);
    font-weight: 500;
}

/* ---- PROGRESS BAR ---- */
.progress-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 1rem 0.75rem;
    background: white;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    overflow-x: auto;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    flex: 1;
    min-width: 60px;
    position: relative;
}

.progress-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 14px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: var(--gray-300);
}

.progress-step.done::after, .progress-step.active::after {
    background: var(--primary);
}

.step-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gray-200);
    color: var(--gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 700;
    z-index: 1;
    position: relative;
}

.progress-step.done .step-circle {
    background: var(--primary);
    color: white;
}

.progress-step.active .step-circle {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 0 4px var(--primary-light);
}

.step-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.2;
    font-weight: 500;
}

.progress-step.active .step-label { color: var(--primary); font-weight: 700; }
.progress-step.done  .step-label  { color: var(--success); }

/* ---- CARDS ---- */
.card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.card-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-body { padding: 1.25rem; }

/* ---- ALERTS ---- */
.alert {
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.alert-success { background: var(--success-light); color: var(--success); border-left: 4px solid var(--success); }
.alert-danger  { background: var(--danger-light);  color: var(--danger);  border-left: 4px solid var(--danger); }
.alert-info    { background: var(--primary-light); color: var(--primary); border-left: 4px solid var(--primary); }
.alert-warning { background: var(--warning-light); color: var(--warning); border-left: 4px solid var(--warning); }
.alert-dismissible { position: relative; padding-right: 2.5rem; }
.btn-close {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: inherit;
    opacity: 0.6;
}

/* ---- BADGES ---- */
.badge {
    display: inline-block;
    padding: 0.25em 0.65em;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 20px;
    line-height: 1;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.badge-pending    { background: #FFF3E0; color: #E65100; }
.badge-process    { background: #E3F2FD; color: #1565C0; }
.badge-warning    { background: #FFFDE7; color: #F57F17; }
.badge-success    { background: #E8F5E9; color: #2E7D32; }
.badge-danger     { background: #FFEBEE; color: #C62828; }
.badge-secondary  { background: #F5F5F5; color: #757575; }
.badge-primary    { background: var(--primary); color: white; }

/* ---- TABLES ---- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

table.tbl {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    background: white;
}

table.tbl th {
    background: var(--gray-50);
    color: var(--text);
    font-weight: 700;
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 2px solid var(--border);
    white-space: nowrap;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

table.tbl td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

table.tbl tr:last-child td { border-bottom: none; }
table.tbl tr:hover td { background: var(--gray-50); }

/* ---- PAGINATION ---- */
.pagination { display: flex; list-style: none; gap: 0.25rem; flex-wrap: wrap; }
.page-item .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 0.5rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    background: white;
    transition: all 0.2s;
}
.page-item.active .page-link { background: var(--primary); color: white; border-color: var(--primary); }
.page-item .page-link:hover  { background: var(--primary-light); border-color: var(--primary); }

/* ---- STATS CARD ---- */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.stat-card {
    background: white;
    border-radius: var(--radius);
    padding: 1rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.stat-icon.blue   { background: var(--primary-light); }
.stat-icon.green  { background: var(--success-light); }
.stat-icon.orange { background: var(--secondary-light); }
.stat-icon.red    { background: var(--danger-light); }

.stat-info .val { font-size: 1.4rem; font-weight: 800; line-height: 1; }
.stat-info .lbl { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }

/* ---- TRACK BOX ---- */
.track-box {
    background: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    max-width: 500px;
    margin: 0 auto;
}

/* ---- FOOTER ---- */
footer {
    background: var(--gray-900);
    color: rgba(255,255,255,0.8);
    padding: 2rem 1rem 1rem;
    margin-top: 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand .brand-name { color: white; font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.footer-brand p { font-size: 0.82rem; color: rgba(255,255,255,0.6); }

.footer-links h5 { color: white; font-size: 0.9rem; margin-bottom: 0.75rem; }
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 0.4rem; }
.footer-links ul li a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 0.83rem; }
.footer-links ul li a:hover { color: white; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 1.5rem;
    padding-top: 1rem;
    text-align: center;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Social Links */
.social-links { display: flex; gap: 0.5rem; margin-top: 0.75rem; }
.social-link {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
}
.social-link:hover { background: var(--primary); color: white; }

/* ---- MODAL ---- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    display: none;
    align-items: flex-end;
    justify-content: center;
}

.modal-overlay.open { display: flex; }

.modal-box {
    background: white;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 1.5rem;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
}

.modal-handle {
    width: 36px;
    height: 4px;
    background: var(--gray-300);
    border-radius: 4px;
    margin: 0 auto 1.25rem;
}

.modal-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* ---- SUCCESS PAGE ---- */
.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--success-light);
    color: var(--success);
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.app-id-box {
    background: var(--primary-light);
    border: 2px dashed var(--primary);
    border-radius: var(--radius);
    padding: 1rem;
    text-align: center;
    margin: 1rem 0;
}

.app-id-box .label { font-size: 0.78rem; color: var(--text-muted); }
.app-id-box .app-id { font-size: 1.5rem; font-weight: 800; color: var(--primary); letter-spacing: 0.08em; }

/* ---- UTILITY ---- */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-primary { color: var(--primary) !important; }
.text-success { color: var(--success) !important; }
.text-danger  { color: var(--danger) !important; }
.text-muted   { color: var(--text-muted) !important; }
.text-white   { color: white !important; }
.fw-bold { font-weight: 700 !important; }
.mt-1 { margin-top: 0.5rem !important; }
.mt-2 { margin-top: 1rem !important; }
.mt-3 { margin-top: 1.5rem !important; }
.mb-1 { margin-bottom: 0.5rem !important; }
.mb-2 { margin-bottom: 1rem !important; }
.mb-3 { margin-bottom: 1.5rem !important; }
.d-flex { display: flex !important; }
.align-center { align-items: center !important; }
.justify-between { justify-content: space-between !important; }
.gap-1 { gap: 0.5rem !important; }
.gap-2 { gap: 1rem !important; }
.w-100 { width: 100% !important; }
.hidden { display: none !important; }
.divider { height: 1px; background: var(--border); margin: 1rem 0; }
.rounded { border-radius: var(--radius-sm); }
.bg-light { background: var(--gray-50); }

/* ---- SKELETON LOADER ---- */
.skeleton {
    background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}

@keyframes shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ---- WHATSAPP FLOAT ---- */
.whatsapp-float {
    position: fixed;
    bottom: 80px;
    right: 16px;
    width: 50px;
    height: 50px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37,211,102,0.4);
    z-index: 998;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 12px rgba(37,211,102,0.4); }
    50%       { box-shadow: 0 4px 20px rgba(37,211,102,0.7); }
}

/* ---- RESPONSIVE ---- */
@media (min-width: 480px) {
    .categories-grid { grid-template-columns: repeat(4, 1fr); }
    .services-grid   { grid-template-columns: repeat(2, 1fr); }
    .stats-grid      { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.6rem; }

    .nav-menu  { display: flex; }
    .hamburger { display: none; }

    .hero { padding: 3rem 2rem 4rem; }
    .hero h1 { font-size: 2.2rem; }

    .categories-grid { grid-template-columns: repeat(6, 1fr); }
    .services-grid   { grid-template-columns: repeat(3, 1fr); }
    .stats-grid      { grid-template-columns: repeat(4, 1fr); }

    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }

    .steps-list {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .step-item { flex: 1; min-width: 200px; }

    .modal-box {
        border-radius: var(--radius-xl);
        margin: 2rem;
        max-height: 80vh;
    }

    .modal-overlay { align-items: center; }

    .contact-bar {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .contact-item { flex: 1; min-width: 200px; }
}

@media (min-width: 1024px) {
    .services-grid { grid-template-columns: repeat(4, 1fr); }
    .section { padding: 3rem 1rem; }
}

/* Print */
@media print {
    .navbar, footer, .whatsapp-float, .sticky-bar { display: none !important; }
}
