*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 1rem;
}

body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.14), transparent 34rem),
        linear-gradient(180deg, #f7fbff 0%, #eef5ff 52%, #f8fbff 100%);
    color: #18324a;
    line-height: 1.5;
}

:root {
    --esevai-orange: #1d4ed8;
    --esevai-orange-dark: #0f2f73;
    --esevai-orange-light: #eaf3ff;
    --esevai-maroon: #08255c;
    --esevai-blue: #2563eb;
    --blue-glow: rgba(37, 99, 235, 0.18);
    --surface: #ffffff;
    --surface-soft: #f4f8ff;
}

a {
    color: var(--esevai-orange);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: min(1100px, 92%);
    margin: 0 auto;
}

.top-strip {
    background: linear-gradient(90deg, #071d49 0%, #123e8c 100%);
    color: #fff;
    font-size: 0.82rem;
    padding: 0.35rem 0;
}

.top-strip-inner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.top-strip-divider {
    opacity: 0.6;
}

.site-header {
    background: linear-gradient(135deg, #0a2e73 0%, #1557c0 52%, #38bdf8 100%);
    color: #fff;
    padding: 1rem 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.gov-banner {
    background: linear-gradient(90deg, #eaf3ff 0%, #fff 48%, #dbeafe 100%);
    border-bottom: 3px solid #2563eb;
    padding: 0.75rem 0;
}

.gov-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: nowrap;
    padding: 0 20px;
}
.gov-emblem {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}

.gov-text {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 200px;
}

.gov-label {
    font-weight: 700;
    color: var(--esevai-maroon);
    font-size: 1rem;
    line-height: 1.3;
}

.gov-label.tamil {
    font-size: 1.05rem;
}

.gov-sub {
    font-size: 0.82rem;
    color: #555;
}

.company-badge {
    text-align: right;
    padding: 0.5rem 0.85rem;
    background: var(--esevai-orange-light);
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    font-size: 0.85rem;
}

.company-badge strong {
    display: block;
    color: var(--esevai-orange-dark);
    font-size: 0.95rem;
}

.company-badge span {
    color: #666;
}

.page-title-bar {
    background: #fff;
    border-left: 5px solid var(--esevai-orange);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.page-title-bar.compact {
    margin-bottom: 1rem;
}

.page-title-bar h2 {
    margin: 0 0 0.35rem;
    color: var(--esevai-orange-dark);
    font-size: 1.5rem;
}

.page-title-bar p {
    margin: 0;
    color: #555;
}

.required-docs-panel {
    background: #fff;
    border: 1px solid #ffcc80;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.panel-heading {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: linear-gradient(90deg, var(--esevai-orange) 0%, var(--esevai-orange-dark) 100%);
    color: #fff;
    padding: 0.85rem 1.25rem;
}

.panel-heading h3 {
    margin: 0;
    font-size: 1.05rem;
}

.panel-icon {
    font-size: 1.25rem;
}

.required-docs-list {
    margin: 0;
    padding: 1.25rem 1.25rem 1.25rem 2.5rem;
    color: #333;
}

.required-docs-list li {
    margin-bottom: 0.65rem;
    padding-left: 0.25rem;
}

.required-docs-list li:last-child {
    margin-bottom: 0;
}

.doc-desc {
    color: #666;
    font-weight: 400;
}

.no-docs-msg {
    margin: 0;
    padding: 1.25rem;
    color: #888;
    font-style: italic;
}

.doc-checkbox-group {
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    padding: 0.85rem 1rem;
    margin-top: 0.75rem;
    background: var(--esevai-orange-light);
}

.doc-checkbox-group legend {
    font-weight: 700;
    color: var(--esevai-orange-dark);
    padding: 0 0.35rem;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.brand h1 {
    margin: 0;
    font-size: 1.75rem;
}

.brand h1 a {
    color: #fff;
    text-decoration: none;
}

.tagline {
    margin: 0.25rem 0 0;
    font-size: 0.95rem;
    opacity: 0.95;
}

.founder {
    margin: 0.15rem 0 0;
    font-size: 0.85rem;
    opacity: 0.85;
}

nav {
    display: flex;
    gap: 1rem;
}

.site-nav a {
    color: #fff;
    font-weight: 600;
    padding: 0.4rem 0.75rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.12);
}

.site-nav a:hover {
    background: rgba(255, 255, 255, 0.22);
    text-decoration: none;
}

.nav-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 1.25rem;
    padding: 0.35rem 0.65rem;
    border-radius: 4px;
    cursor: pointer;
}

main {
    padding: 2rem 0 3rem;
    min-height: calc(100vh - 180px);
}

.site-footer {
    background: var(--esevai-maroon);
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    padding: 1rem 0;
    font-size: 0.9rem;
}

.footer-note {
    margin: 0.35rem 0 0;
    font-size: 0.8rem;
    opacity: 0.85;
}

.hero {
    text-align: center;
    margin-bottom: 2rem;
}

.hero h2 {
    margin: 0 0 0.5rem;
    color: var(--esevai-orange-dark);
    font-size: 1.75rem;
}

.hero p {
    margin: 0;
    color: #4a6070;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.25rem;
}

.service-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.15s, box-shadow 0.15s;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    border-left: 5px solid var(--esevai-orange);
    cursor: pointer;
    display: flex;
    align-items: stretch;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    text-decoration: none;
}

.service-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--esevai-orange-light);
    padding: 1rem;
    font-size: 2rem;
    min-width: 70px;
}

.service-card-body {
    padding: 1.25rem;
    flex: 1;
}

.service-card h3 {
    margin: 0 0 0.75rem;
    font-size: 1.05rem;
    color: var(--esevai-orange-dark);
}

.service-amount {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--esevai-orange);
    margin: 0 0 0.75rem;
}

.service-amount.large {
    font-size: 1.5rem;
}

.service-link {
    font-size: 0.9rem;
    color: var(--esevai-orange);
    font-weight: 600;
}

.breadcrumb {
    margin-bottom: 1.25rem;
}

.breadcrumb a {
    font-weight: 600;
}

.service-detail h2 {
    margin: 0 0 0.5rem;
    color: var(--esevai-orange-dark);
}

.amount-note {
    margin: 0;
    font-size: 0.9rem;
    color: #6a8090;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.certificate-panel,
.form-panel {
    background: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.certificate-panel h3,
.form-panel h3 {
    margin: 0 0 1rem;
    color: var(--esevai-orange-dark);
}

.certificate-clickable {
    display: block;
    width: 100%;
    padding: 0;
    border: 2px solid #dde5ec;
    border-radius: 6px;
    background: #fafbfc;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.certificate-clickable:hover,
.certificate-clickable.confirmed {
    border-color: var(--esevai-orange);
    box-shadow: 0 0 0 3px rgba(230, 81, 0, 0.15);
}

.certificate-clickable .certificate-image {
    border: none;
    border-radius: 4px 4px 0 0;
}

.certificate-hint {
    display: block;
    padding: 0.65rem;
    font-size: 0.85rem;
    color: var(--esevai-orange);
    font-weight: 600;
    background: #fff3e0;
}

.amount-saved-msg {
    margin-top: 0.75rem;
    padding: 0.65rem 0.85rem;
    background: #d4edda;
    color: #155724;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
}

.amount-saved-msg.hidden {
    display: none;
}

.certificate-image {
    width: 100%;
    max-height: 420px;
    object-fit: contain;
    border: 1px solid #dde5ec;
    border-radius: 6px;
    background: #fafbfc;
}

.certificate-placeholder {
    padding: 3rem 1.5rem;
    text-align: center;
    background: #f5f8fa;
    border: 2px dashed #c5d3de;
    border-radius: 6px;
    color: #6a8090;
}

.certificate-placeholder.small {
    padding: 2rem 1rem;
    font-size: 0.85rem;
}

.hint {
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.form-note {
    font-size: 0.9rem;
    color: #4a6070;
    margin: 0 0 1rem;
}

.customer-form,
.auth-form,
.admin-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #2a4050;
    margin-top: 0.5rem;
}

input[type="text"],
input[type="tel"],
input[type="password"],
input[type="number"],
input[type="file"],
textarea {
    padding: 0.65rem 0.75rem;
    border: 1px solid #c5d3de;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
}

textarea {
    resize: vertical;
    min-height: 60px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.checkbox-label input[type="checkbox"] {
    width: 1.1rem;
    height: 1.1rem;
}

input:focus {
    outline: none;
    border-color: var(--esevai-orange);
    box-shadow: 0 0 0 3px rgba(230, 81, 0, 0.15);
}

.btn {
    display: inline-block;
    padding: 0.7rem 1.25rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    text-align: center;
    margin-top: 0.75rem;
}

.btn-primary {
    background: var(--esevai-orange);
    color: #fff;
}

.btn-primary:hover {
    background: var(--esevai-orange-dark);
}

.btn-secondary {
    background: #e8eef2;
    color: var(--esevai-orange-dark);
}

.btn-secondary:hover {
    background: #d5dfe6;
    text-decoration: none;
}

.btn-danger {
    background: #c0392b;
    color: #fff;
}

.btn-danger:hover {
    background: #a93226;
}

.flash-messages {
    margin-bottom: 1.25rem;
}

.flash {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    font-weight: 500;
    transition: opacity 0.3s, transform 0.3s;
}

.flash-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.flash-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.empty-state {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    color: #6a8090;
}

.auth-card {
    max-width: 420px;
    margin: 2rem auto;
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.auth-card h2 {
    margin: 0 0 0.5rem;
    color: var(--esevai-orange-dark);
}

.auth-subtitle {
    margin: 0 0 1rem;
    color: #4a6070;
    font-size: 0.95rem;
}

.auth-hint {
    margin: 0 0 1.25rem;
    padding: 0.75rem;
    background: #eef6fa;
    border-radius: 6px;
    font-size: 0.85rem;
    color: #2a5060;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.admin-header h2 {
    margin: 0 0 0.25rem;
    color: var(--esevai-orange-dark);
}

.admin-header p {
    margin: 0;
    color: #4a6070;
}

.admin-panel {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
}

.admin-panel h3 {
    margin: 0 0 1rem;
    color: var(--esevai-orange-dark);
}

.admin-service-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.admin-service-item {
    display: grid;
    grid-template-columns: 160px 1fr auto;
    gap: 1.25rem;
    align-items: start;
    padding: 1.25rem;
    border: 1px solid #e0e8ef;
    border-radius: 8px;
    background: #fafbfc;
}

.admin-service-preview img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #dde5ec;
}

.admin-actions {
    display: flex;
    gap: 0.5rem;
}

.delete-form {
    align-self: end;
}

.input-error {
    border-color: #c0392b !important;
    box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.12) !important;
}

.field-error {
    display: block;
    color: #c0392b;
    font-size: 0.85rem;
    margin-top: 0.15rem;
    margin-bottom: 0.25rem;
}

.image-preview {
    margin-top: 0.5rem;
}

.image-preview img {
    max-width: 200px;
    max-height: 140px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #dde5ec;
}

.admin-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding: 0.75rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.admin-nav-link {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    color: var(--esevai-orange-dark);
    background: #fff3e0;
    text-decoration: none;
}

.admin-nav-link:hover {
    background: #d8eedc;
    text-decoration: none;
}

.admin-nav-link.active {
    background: var(--esevai-orange);
    color: #fff;
}

.admin-only-note {
    color: #a15a00;
    background: #fff3e0;
    padding: 0.5rem 0.65rem;
    border-radius: 6px;
    margin: 0.25rem 0 0.5rem;
}

.admin-money-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.75rem;
}

.money-badge {
    display: inline-block;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.money-badge.customer {
    background: #e3f2fd;
    color: #0f2f73;
}

.money-badge.government {
    background: #fff3e0;
    color: #a15a00;
}

.money-badge.profit {
    background: #d4edda;
    color: #155724;
}

.money-badge.count {
    background: #eef1f4;
    color: #2a4050;
}

.admin-service-item--extra {
    display: none;
}

.admin-service-list.show-all .admin-service-item--extra {
    display: grid;
}

.records-toolbar {
    margin-bottom: 1.25rem;
}

.records-table-wrap {
    overflow-x: auto;
}

.records-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.records-table th,
.records-table td {
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid #e0e8ef;
    text-align: left;
    white-space: nowrap;
}

.records-table thead th {
    background: #f5f8fa;
    color: #2a4050;
    font-weight: 700;
}

.records-table .admin-only-col {
    background: #fff8ee;
}

.records-table tbody tr:hover {
    background: #fafbfc;
}

.report-month {
    padding: 1.25rem;
    border: 1px solid #e0e8ef;
    border-radius: 8px;
    background: #fafbfc;
    margin-bottom: 1.5rem;
}

.report-month-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.report-month-header h3 {
    margin: 0;
}

.records-actions {
    display: flex;
    gap: 0.4rem;
    white-space: nowrap;
}

.records-actions form {
    display: inline;
}

.btn-small {
    padding: 0.4rem 0.75rem;
    font-size: 0.85rem;
    margin-top: 0;
}

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(20, 30, 40, 0.55);
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    z-index: 1000;
}

.modal-overlay.open {
    display: flex;
}

.modal-box {
    background: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.modal-box h3 {
    margin-top: 0;
}

.modal-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.doc-checkbox-item--extra {
    display: none;
}

.doc-checkbox-group.show-all .doc-checkbox-item--extra {
    display: flex;
}

.show-more-docs-btn {
    margin-top: 0.5rem;
}

.admin-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.admin-dashboard-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--esevai-orange);
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s, box-shadow 0.15s;
}

.admin-dashboard-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    text-decoration: none;
}

.dashboard-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.admin-dashboard-card h3 {
    margin: 0 0 0.5rem;
    color: var(--esevai-orange-dark);
}

.admin-dashboard-card p {
    margin: 0 0 0.75rem;
    color: #4a6070;
    font-size: 0.95rem;
}

.dashboard-count {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--esevai-orange);
}

.admin-document-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.admin-document-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: start;
    padding: 1.25rem;
    border: 1px solid #e0e8ef;
    border-radius: 8px;
    background: #fafbfc;
}

.document-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.document-card {
    background: #fff;
    padding: 1.25rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #c9a227;
}

.document-card.mandatory {
    border-left-color: var(--esevai-orange);
}

.document-card h3 {
    margin: 0.5rem 0 0.5rem;
    color: var(--esevai-orange-dark);
}

.document-card p {
    margin: 0;
    color: #4a6070;
    font-size: 0.95rem;
}

.badge {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-required {
    background: #d4edda;
    color: #155724;
}

.badge-optional {
    background: #fff3cd;
    color: #856404;
}

.home-documents {
    margin-top: 2.5rem;
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.home-documents h3 {
    margin: 0 0 0.5rem;
    color: var(--esevai-orange-dark);
}

.doc-preview-list {
    margin: 0.75rem 0;
    padding-left: 1.25rem;
    color: #2a4050;
}

.link-more {
    font-weight: 600;
}

.cta-section {
    text-align: center;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .site-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        margin-top: 0.75rem;
    }

    .site-nav.open {
        display: flex;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .admin-service-item {
        grid-template-columns: 1fr;
    }

    .admin-document-item {
        grid-template-columns: 1fr;
    }

    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Professional blue theme refresh */
.top-strip,
.site-header,
.site-footer {
    letter-spacing: 0;
}

.site-header {
    position: relative;
    overflow: hidden;
}

.site-header::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.16) 48%, transparent 72%);
    pointer-events: none;
}

.header-inner,
.gov-banner-inner {
    position: relative;
    z-index: 1;
}

.brand h1 {
    letter-spacing: 0;
}

.site-nav a {
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
}

.gov-label {
    color: #0f2f73;
}

.gov-sub,
.company-badge span,
.page-title-bar p,
.auth-subtitle,
.admin-header p,
.form-note,
.document-card p,
.admin-dashboard-card p {
    color: #4b6680;
}

.company-badge,
.page-title-bar,
.required-docs-panel,
.service-card,
.certificate-panel,
.form-panel,
.auth-card,
.admin-panel,
.admin-nav,
.admin-dashboard-card,
.document-card,
.home-documents,
.empty-state {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(147, 197, 253, 0.46);
    box-shadow: 0 14px 34px rgba(15, 47, 115, 0.1);
}

.page-title-bar,
.service-card,
.document-card.mandatory {
    border-left-color: #2563eb;
}

.page-title-bar h2,
.service-card h3,
.service-detail h2,
.certificate-panel h3,
.form-panel h3,
.auth-card h2,
.admin-header h2,
.admin-panel h3,
.admin-dashboard-card h3,
.document-card h3,
.home-documents h3 {
    color: #0f2f73;
}

.service-card:hover,
.admin-dashboard-card:hover {
    box-shadow: 0 18px 42px rgba(37, 99, 235, 0.18);
}

.service-card-icon {
    background: linear-gradient(180deg, #dbeafe 0%, #eef6ff 100%);
    color: #1d4ed8;
}

.service-amount,
.service-link,
.dashboard-count,
.link-more {
    color: #1d4ed8;
}

.panel-heading {
    background: linear-gradient(90deg, #0f2f73 0%, #1d4ed8 100%);
}

.certificate-clickable:hover,
.certificate-clickable.confirmed {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px var(--blue-glow);
}

.certificate-hint,
.auth-hint,
.admin-nav-link {
    background: #eaf3ff;
    color: #0f2f73;
}

input:focus,
textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px var(--blue-glow);
}

.btn-primary {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.22);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0f2f73 0%, #1d4ed8 100%);
}

.btn-secondary {
    background: #eaf3ff;
    color: #0f2f73;
}

.admin-nav-link:hover {
    background: #dbeafe;
}

.admin-nav-link.active {
    background: #1d4ed8;
}

.admin-warning-marquee {
    overflow: hidden;
    margin: 0 auto 1.25rem;
    border-radius: 8px;
    border: 1px solid #93c5fd;
    background: linear-gradient(90deg, #071d49 0%, #1d4ed8 100%);
    box-shadow: 0 14px 30px rgba(15, 47, 115, 0.18);
}

.admin-warning-track {
    display: flex;
    width: max-content;
    animation: admin-warning-scroll 18s linear infinite;
}

.admin-warning-track span {
    display: inline-block;
    padding: 0.75rem 2.5rem;
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
    white-space: nowrap;
}

.auth-card {
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, #38bdf8, #2563eb, #0f2f73);
}

@keyframes admin-warning-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.company-badge {
    min-width: 280px;
    text-align: left;
}

.company-badge strong {
    font-size: 1.08rem;
    letter-spacing: 0;
}

.company-badge span {
    display: block;
    font-size: 0.82rem;
    line-height: 1.45;
}

.footer-leadership {
    margin: 0.25rem 0 0;
    font-weight: 700;
    color: #fff;
}

.home-cover {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 2rem;
    align-items: center;
    min-height: 360px;
    margin-bottom: 1.5rem;
    padding: 2.4rem;
    border-radius: 8px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(7, 29, 73, 0.95), rgba(29, 78, 216, 0.9)),
        linear-gradient(45deg, #0f2f73, #38bdf8);
    box-shadow: 0 18px 45px rgba(15, 47, 115, 0.24);
    overflow: hidden;
    position: relative;
}

.home-cover::after {
    content: "";
    position: absolute;
    inset: auto -80px -120px auto;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.home-cover-copy,
.home-cover-visual {
    position: relative;
    z-index: 1;
}

.home-kicker {
    display: inline-block;
    font-weight: 800;
    font-size: 0.78rem;
    text-transform: uppercase;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.home-cover h2 {
    margin: 0.75rem 0 0.75rem;
    font-size: clamp(2rem, 6vw, 4.4rem);
    line-height: 0.95;
    letter-spacing: 0;
}

.home-cover p {
    max-width: 650px;
    margin: 0;
    font-size: 1.12rem;
    color: rgba(255, 255, 255, 0.9);
}

.home-leadership {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.home-leadership span {
    padding: 0.85rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 0.88rem;
    font-weight: 800;
}

.home-leadership strong {
    display: block;
    margin-bottom: 0.2rem;
    color: #bfdbfe;
    font-size: 0.72rem;
    text-transform: uppercase;
}

.home-cover-visual {
    display: grid;
    place-items: center;
    gap: 0.85rem;
}

.home-cover-visual img {
    width: 200px;
    height: 200px;
    padding: 1rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.home-cover-visual span {
    font-size: 1.55rem;
    font-weight: 900;
    color: #fff;
}

.service-section-title {
    margin-top: 0;
}

.service-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.service-card {
    display: block;
    min-height: 150px;
    border-left: 0;
    border-top: 5px solid #2563eb;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(234, 243, 255, 0.92));
}

.service-card-body {
    padding: 1.35rem;
}

.service-card h3 {
    font-size: 1.18rem;
    line-height: 1.25;
    font-weight: 900;
}

.service-link {
    display: inline-block;
    margin-top: 0.2rem;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: #eaf3ff;
}

.settings-section-title {
    margin-top: 1.6rem !important;
    padding-top: 1.2rem;
    border-top: 1px solid #dbeafe;
}

@media (max-width: 768px) {
    .home-cover {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .home-leadership {
        grid-template-columns: 1fr;
    }

    .home-cover-visual {
        justify-items: start;
    }

    .company-badge {
        width: 100%;
        min-width: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .admin-warning-track {
        animation: none;
    }
}
.gov-banner-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.bismillah{
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 46px;
    color: #0b5d1e;
    font-family: "Amiri", "Scheherazade New", serif;
    font-weight: bold;
}
.bismillah{
    transform: translateX(-30px);
}