:root {
    --bs-primary: #1e6f7c;
    --site-bg: #98dee6;
    --site-surface: #bdeaf0;
    --site-surface-soft: #d9f5f8;
    --site-surface-strong: #7fcfd9;
    --site-ink: #123741;
    --site-border: rgba(18, 55, 65, .14);
}

body {
    transition: background-color .4s ease, color .4s ease;
}

.admin-body {
    background: #eef3fb;
    color: #21334f;
    font-family: 'Work Sans', sans-serif;
}

.admin-body .btn-primary {
    background-color: #1554c7 !important;
    border-color: #1554c7 !important;
    color: #ffffff !important;
}

.admin-body .btn-primary:hover,
.admin-body .btn-primary:focus {
    background-color: #0f3f9a !important;
    border-color: #0f3f9a !important;
    color: #ffffff !important;
}

.admin-body .btn-outline-primary {
    color: #1554c7 !important;
    border-color: #1554c7 !important;
}

.admin-body .btn-outline-primary:hover,
.admin-body .btn-outline-primary:focus {
    background-color: #1554c7 !important;
    border-color: #1554c7 !important;
    color: #ffffff !important;
}

.admin-shell {
    min-height: 100vh;
    display: flex;
}

.admin-sidebar {
    width: 280px;
    background: #ffffff;
    border-right: 1px solid #dce5f2;
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: sticky;
    top: 0;
    transition: width .25s ease, transform .25s ease;
    z-index: 30;
    overflow: hidden;
}

.admin-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border-bottom: 1px solid #edf2f9;
}

.admin-brand-eyebrow,
.admin-nav-label,
.admin-topbar-label {
    display: block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #7f8ea8;
}

.admin-sidebar-brand h1 {
    font-size: 1.35rem;
    margin: .3rem 0 0;
}

.admin-nav {
    padding: 1.25rem 1rem;
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .9rem 1rem;
    border-radius: 16px;
    color: #4a5f7d;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: .45rem;
}

.admin-nav-badge {
    margin-left: auto;
    min-width: 24px;
    height: 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1554c7;
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
}

.admin-nav-link.active,
.admin-nav-link:hover {
    background: #eaf2ff;
    color: #1554c7;
}

.admin-sidebar-footer {
    padding: 1.25rem;
    border-top: 1px solid #edf2f9;
    background: #ffffff;
    position: sticky;
    bottom: 0;
    z-index: 2;
}

.admin-user-card {
    display: flex;
    align-items: center;
    gap: .85rem;
    margin-bottom: 1rem;
}

.admin-user-card strong {
    display: block;
}

.admin-user-card p {
    margin: 0;
    color: #7f8ea8;
    font-size: .9rem;
}

.admin-user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a4a7d, #4f8dd9);
    color: #fff;
    font-weight: 700;
}

.admin-main {
    flex: 1;
    min-width: 0;
}

.admin-topbar {
    height: 82px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: rgba(255, 255, 255, .9);
    border-bottom: 1px solid #dce5f2;
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 20;
}

.admin-topbar-tools {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-topbar-title {
    font-size: 1.45rem;
    font-weight: 700;
}

.admin-topbar-search {
    min-width: 280px;
    max-width: 360px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .85rem 1rem;
    border-radius: 16px;
    background: #f3f7fd;
    border: 1px solid #dce5f2;
}

.admin-topbar-search input {
    width: 100%;
    border: 0;
    outline: none;
    background: transparent;
}

.admin-notification {
    position: relative;
}

.admin-notification-trigger {
    width: 48px;
    height: 48px;
    border: 1px solid #dce5f2;
    border-radius: 16px;
    background: #ffffff;
    color: #49607f;
    position: relative;
}

.admin-notification-badge {
    position: absolute;
    top: -6px;
    right: -4px;
    min-width: 22px;
    height: 22px;
    padding: 0 .35rem;
    border-radius: 999px;
    background: #ff3b87;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .72rem;
    font-weight: 700;
    border: 2px solid #ffffff;
}

.admin-notification-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 320px;
    background: #ffffff;
    border: 1px solid #dce5f2;
    border-radius: 14px;
    box-shadow: 0 18px 36px rgba(22, 45, 84, .14);
    overflow: hidden;
    display: none;
}

.admin-notification.is-open .admin-notification-dropdown {
    display: block;
}

.admin-notification-header,
.admin-notification-footer {
    padding: .95rem 1rem;
    text-align: center;
    color: #6f809d;
    background: #ffffff;
}

.admin-notification-header {
    border-bottom: 1px solid #edf2f9;
    font-weight: 600;
}

.admin-notification-footer {
    border-top: 1px solid #edf2f9;
}

.admin-notification-footer a {
    color: #1554c7;
    text-decoration: none;
    font-weight: 600;
}

.admin-notification-list {
    max-height: 320px;
    overflow-y: auto;
}

.admin-notification-item {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    gap: .75rem;
    align-items: center;
    padding: .9rem 1rem;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #edf2f9;
}

.admin-notification-item:hover {
    background: #f8fbff;
}

.admin-notification-item-icon {
    color: #4a5f7d;
    font-size: 1rem;
}

.admin-notification-item-body {
    min-width: 0;
}

.admin-notification-item-body strong {
    display: block;
    color: #21334f;
    font-size: .96rem;
}

.admin-notification-item-body p {
    margin: .15rem 0 0;
    color: #7f8ea8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-notification-item-time {
    color: #7f8ea8;
    font-size: .82rem;
    white-space: nowrap;
}

.admin-notification-empty {
    padding: 1rem;
    text-align: center;
    color: #7f8ea8;
}

.admin-sidebar-toggle {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    background: #f3f7fd;
    color: #49607f;
}

.admin-content {
    padding: 1.5rem;
}

.admin-hero,
.admin-stat-card,
.admin-panel-card,
.admin-table-card {
    background: #ffffff;
    border: 1px solid #dce5f2;
    border-radius: 24px;
    box-shadow: 0 18px 36px rgba(22, 45, 84, .06);
}

.admin-hero {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.admin-stat-card {
    padding: 1.35rem;
}

.admin-stat-card p,
.admin-stat-card small {
    color: #7f8ea8;
}

.admin-stat-card h3 {
    font-size: 2rem;
    margin-bottom: .35rem;
}

.admin-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eaf2ff;
    color: #1554c7;
    margin-bottom: 1rem;
}

.admin-panel-card-body,
.admin-table-card {
    padding: 1.35rem;
}

.admin-panel-heading {
    margin-bottom: 1rem;
}

.admin-panel-heading h3,
.admin-table-header h3 {
    font-size: 1.35rem;
    margin-bottom: 0;
}

.admin-form-stack .form-control,
.admin-form-stack .form-select,
.admin-table-toolbar .form-control,
.admin-table-toolbar .form-select {
    border-radius: 14px;
    min-height: 48px;
}

.admin-body .admin-form-stack .form-control,
.admin-body .admin-form-stack .form-select,
.admin-body .admin-form-stack .project-editor {
    background: #f8fbff !important;
    border: 1px solid #dce5f2 !important;
    color: #21334f !important;
}

.admin-body .admin-form-stack .form-control:focus,
.admin-body .admin-form-stack .form-select:focus,
.admin-body .admin-form-stack .project-editor:focus {
    background: #ffffff !important;
    border-color: #8db7ef !important;
    box-shadow: 0 0 0 .22rem rgba(21, 84, 199, .12) !important;
}

.admin-body .admin-form-stack .form-control::placeholder {
    color: #8b9bb3;
}

.admin-body .admin-form-stack input[type="file"].form-control {
    padding: .45rem;
    cursor: pointer;
}

.admin-body .admin-form-stack input[type="file"].form-control::file-selector-button {
    min-height: 36px;
    margin: 0 .9rem 0 0;
    padding: .45rem .9rem;
    border: 0;
    border-radius: 10px;
    background: #1554c7;
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .2s ease;
}

.admin-body .admin-form-stack input[type="file"].form-control::file-selector-button:hover {
    background: #0f3f9a;
}

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

.admin-table-toolbar {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-table-toolbar label {
    display: flex;
    align-items: center;
    gap: .75rem;
    color: #71819d;
}

.admin-data-table {
    min-width: 760px;
}

.admin-data-table thead th {
    background: #f8fbff;
    color: #5c6f8f;
    font-weight: 700;
    border-bottom: 1px solid #dce5f2;
    padding: 1rem;
}

.admin-data-table tbody td {
    padding: 1rem;
    border-color: #e5edf8;
    color: #334764;
}

.admin-data-table tbody tr.contact-message-row-unread td {
    background: #fff7d6;
}

.admin-data-table tbody tr.contact-message-row-unread:hover td {
    background: #ffefad;
}

.admin-table-thumb {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid #dce5f2;
}

.admin-table-logo-wrap {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: #f5f8fd;
    border: 1px solid #dce5f2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.admin-table-logo-wrap .client-logo-image {
    max-width: 42px;
    max-height: 42px;
}

.admin-status-badge {
    display: inline-flex;
    align-items: center;
    padding: .35rem .7rem;
    border-radius: 999px;
    background: #edf3ff;
    color: #1554c7;
    font-size: .82rem;
    font-weight: 600;
}

.admin-status-badge.is-success {
    background: #e7f8ef;
    color: #138a52;
}

.admin-status-badge.is-pending {
    background: #fff4df;
    color: #c58016;
}

.admin-status-badge.is-rejected {
    background: #ffe7e7;
    color: #c24b4b;
}

.admin-status-badge.is-info {
    background: #edf3ff;
    color: #1554c7;
}

.admin-table-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.admin-table-actions {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.admin-table-actions form {
    margin: 0;
}

.btn-outline-danger {
    color: #c24b4b;
    border-color: #e2b2b2;
    background: transparent;
}

.btn-outline-danger:hover {
    color: #fff;
    background: #c24b4b;
    border-color: #c24b4b;
}

.admin-table-footer {
    padding-top: 1rem;
    color: #71819d;
}

.project-manage-tabs {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.project-manage-tab-switcher {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0;
    border: 1px solid #1a74e8;
    border-radius: 4px 4px 0 0;
    background: #1a74e8;
    width: 100%;
    overflow: hidden;
}

.project-manage-tab-btn {
    border: 0;
    background: transparent;
    color: #ffffff;
    font-weight: 600;
    padding: .85rem 1.2rem;
    border-radius: 0;
    transition: all .2s ease;
}

.project-manage-tab-btn.active {
    background: #ffffff;
    color: #1c2f4d;
    box-shadow: none;
}

.project-manage-tab-panel {
    display: none;
    border: 1px solid #dce5f2;
    border-top: 0;
    border-radius: 0 0 16px 16px;
    background: #ffffff;
    padding: 1.25rem;
}

.project-manage-tab-panel.active {
    display: block;
}

.admin-sidebar-collapsed .admin-sidebar {
    width: 94px;
}

.admin-sidebar-collapsed .admin-sidebar .admin-sidebar-brand h1,
.admin-sidebar-collapsed .admin-sidebar .admin-brand-eyebrow,
.admin-sidebar-collapsed .admin-sidebar .admin-nav-link span,
.admin-sidebar-collapsed .admin-sidebar .admin-nav-label,
.admin-sidebar-collapsed .admin-sidebar .admin-user-card div,
.admin-sidebar-collapsed .admin-sidebar .btn {
    display: none;
}

.admin-sidebar-collapsed .admin-sidebar-brand,
.admin-sidebar-collapsed .admin-sidebar-footer,
.admin-sidebar-collapsed .admin-nav {
    padding-left: .9rem;
    padding-right: .9rem;
}

.admin-sidebar-collapsed .admin-nav-link {
    justify-content: center;
}

.admin-body .dashboard-user-chip,
.admin-body .navbar-admin-badge {
    background: #edf3ff;
    border-color: #dce5f2;
    color: #1d437d;
}

.admin-body .dashboard-user-chip span {
    color: #6e82a2;
}

@media (max-width: 991.98px) {
    .admin-shell {
        position: relative;
    }

    .admin-sidebar {
        position: fixed;
        inset: 0 auto 0 0;
        height: 100vh;
        transform: translateX(0);
    }

    .admin-sidebar-collapsed .admin-sidebar {
        width: 280px;
        transform: translateX(-100%);
    }

    .admin-sidebar-collapsed .admin-sidebar .admin-sidebar-brand h1,
    .admin-sidebar-collapsed .admin-sidebar .admin-brand-eyebrow,
    .admin-sidebar-collapsed .admin-sidebar .admin-nav-link span,
    .admin-sidebar-collapsed .admin-sidebar .admin-nav-label,
    .admin-sidebar-collapsed .admin-sidebar .admin-user-card div,
    .admin-sidebar-collapsed .admin-sidebar .btn {
        display: initial;
    }

    .admin-sidebar-collapsed .admin-nav-link {
        justify-content: flex-start;
    }

    .admin-topbar,
    .admin-content {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .admin-topbar {
        flex-direction: column;
        align-items: stretch;
        height: auto;
    }

    .admin-topbar-search {
        max-width: none;
        min-width: 0;
    }

    .admin-topbar-tools {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-notification-dropdown {
        width: min(320px, calc(100vw - 2rem));
        right: 0;
    }

    .admin-hero,
    .admin-table-header,
    .admin-table-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .project-manage-tab-switcher {
        width: 100%;
        flex-wrap: wrap;
        border-radius: 4px 4px 0 0;
    }

    .project-manage-tab-btn {
        flex: 1 1 50%;
        text-align: center;
    }
}

.auth-shell {
    min-height: 100vh;
    padding-top: 8rem !important;
}

.auth-card {
    border: 1px solid rgba(255, 255, 255, .08);
}

.auth-modal .modal-content {
    background: #171717;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 24px;
    color: #fff;
}

.auth-modal .modal-header,
.auth-modal .modal-body {
    padding-left: 2rem;
    padding-right: 2rem;
}

.auth-tab-switcher {
    display: inline-flex;
    padding: .35rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
}

.auth-tab-btn {
    border: 0;
    color: rgba(255, 255, 255, .7);
    border-radius: 999px;
    padding: .75rem 1.25rem;
}

.auth-tab-btn.active {
    background: rgba(26, 74, 125, .95);
    color: #fff;
}

.auth-tab-panel {
    display: none;
}

.auth-tab-panel.active {
    display: block;
}

.auth-password-hint {
    font-size: .9rem;
    color: rgba(255, 255, 255, .65);
}

.auth-password-hint.is-invalid {
    color: #ff9d9d;
}

.dashboard-user-chip,
.navbar-admin-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .6rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    color: #fff;
    font-size: .92rem;
}

.dashboard-user-chip span {
    color: rgba(255, 255, 255, .72);
}

/* Theme Toggle Switch */
.theme-toggle-switch {
    display: inline-flex;
    align-items: center;
}

.toggle-checkbox {
    display: none;
}

.toggle-label {
    position: relative;
    display: inline-block;
    width: 70px;
    height: 36px;
    background-color: #ccc;
    border-radius: 36px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin: 0;
}

.toggle-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 36px;
}

.toggle-switch {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 32px;
    height: 32px;
    background-color: white;
    border-radius: 50%;
    transition: left 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Sun icon untuk Day Mode */
.toggle-switch::before {
    content: '☀️';
    font-size: 18px;
    opacity: 0;
    transition: opacity 0.3s;
}

/* Checked state (Night Mode) */
.toggle-checkbox:checked + .toggle-label {
    background-color: #333;
}

.toggle-checkbox:checked + .toggle-label .toggle-switch {
    left: 36px;
}

/* Moon icon untuk Night Mode */
.toggle-checkbox:checked + .toggle-label .toggle-switch::before {
    content: '🌙';
    opacity: 1;
}

.toggle-checkbox:not(:checked) + .toggle-label .toggle-switch::before {
    content: '☀️';
    opacity: 1;
}

.site-logo {
    display: block;
    width: auto;
    max-width: 100%;
}

.site-logo-navbar {
    height: 56px;
}

.site-logo-footer {
    height: 46px;
    margin-left: auto;
    margin-right: auto;
}

.client-logo-grid > [class*="col-"] {
    display: flex;
    justify-content: center;
}

.client-showcase-card {
    height: 100%;
    width: 260px;
    padding: 1.4rem .9rem;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.client-showcase-card:hover {
    transform: translateY(-4px);
    box-shadow: none;
    border-color: transparent;
}

.client-logo-box {
    width: 100%;
    height: 152px;
    padding: .6rem;
    margin-bottom: 1.1rem;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.project-card {
    height: 100%;
    overflow: hidden;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .16);
}

.project-filter-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .75rem;
    margin-bottom: 2rem;
}

.project-filter-btn {
    border-radius: 999px;
}

.project-card-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card-body {
    padding: 1.75rem;
}

.project-modal-image {
    aspect-ratio: 16 / 9;
}

.project-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card-meta {
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: rgba(255, 255, 255, .58);
}

.project-card h4 {
    margin-bottom: 1rem;
}

.project-tag-group {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.project-tag {
    display: inline-flex;
    align-items: center;
    padding: .22rem .55rem;
    border-radius: 999px;
    background: rgba(30, 111, 124, .11);
    border: 0;
    color: #16525c;
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.project-card p {
    line-height: 1.75;
}

.latest-work-section {
    padding: clamp(4rem, 7vw, 7rem) 0;
    background:
        linear-gradient(180deg, rgba(189, 234, 240, .68), rgba(152, 222, 230, .88)),
        var(--site-bg);
}

.latest-work-container {
    max-width: 1760px;
    padding-left: clamp(1.25rem, 5vw, 6rem);
    padding-right: clamp(1.25rem, 5vw, 6rem);
}

.latest-work-heading {
    display: grid;
    grid-template-columns: minmax(320px, .9fr) minmax(320px, .75fr);
    gap: 2rem;
    align-items: end;
    margin-bottom: 2rem;
}

.latest-work-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    color: #1e6f7c;
    font-size: .92rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: .85rem;
}

.latest-work-eyebrow::after {
    content: "";
    width: 96px;
    border-bottom: 1px solid rgba(18, 55, 65, .24);
}

.latest-work-heading h2 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(2.35rem, 4.7vw, 5rem);
    line-height: .95;
}

.latest-work-heading p {
    margin: 0;
    color: rgba(18, 55, 65, .72);
    line-height: 1.75;
}

.latest-work-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.latest-work-section .project-card {
    display: grid;
    grid-template-columns: minmax(260px, .92fr) minmax(280px, 1fr);
    border-radius: 8px;
    background: rgba(235, 252, 255, .72);
    border-color: rgba(18, 55, 65, .12);
    box-shadow: 0 18px 50px rgba(18, 55, 65, .12);
}

.latest-work-section .project-card-image {
    aspect-ratio: auto;
    min-height: 100%;
}

.latest-work-section .project-card-image img {
    transition: transform .35s ease;
}

.latest-work-section .project-card:hover .project-card-image img {
    transform: scale(1.04);
}

.latest-work-section .project-card-body {
    display: flex;
    flex-direction: column;
    padding: 1.6rem;
}

.latest-work-section .project-card h4 {
    margin-bottom: 1rem;
    font-size: clamp(1.35rem, 2.2vw, 2rem);
    line-height: 1.05;
}

.latest-work-section .project-card-body > p:last-of-type {
    color: rgba(18, 55, 65, .78);
    line-height: 1.72;
}

.latest-work-section .service-readmore-btn {
    align-self: flex-start;
    margin-top: auto;
    border-radius: 999px;
    background: transparent;
}

body:not(.theme-light) .latest-work-section {
    background:
        radial-gradient(circle at 18% 18%, rgba(30, 111, 124, .24), transparent 30%),
        linear-gradient(135deg, #101414 0%, #161b1c 52%, #0f2228 100%);
}

body:not(.theme-light) .latest-work-eyebrow,
body:not(.theme-light) .latest-work-heading p {
    color: rgba(255, 255, 255, .72);
}

body:not(.theme-light) .latest-work-eyebrow::after {
    border-bottom-color: rgba(255, 255, 255, .22);
}

body:not(.theme-light) .latest-work-section .project-card {
    background: rgba(255, 255, 255, .055);
    border-color: rgba(255, 255, 255, .1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .24);
}

body:not(.theme-light) .latest-work-section .project-card-body > p:last-of-type,
body:not(.theme-light) .latest-work-section .project-card-meta {
    color: rgba(255, 255, 255, .72);
}

body:not(.theme-light) .latest-work-section .project-tag {
    background: rgba(139, 216, 227, .14);
    color: rgba(255, 255, 255, .86);
}

.project-coordinate {
    font-size: .82rem;
    letter-spacing: .04em;
    color: rgba(255, 255, 255, .56);
    text-transform: uppercase;
}

.project-admin-thumb {
    aspect-ratio: 16 / 10;
}

.project-admin-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-map-section {
    background:
        radial-gradient(circle at 14% 18%, rgba(30, 111, 124, .16), transparent 30%),
        linear-gradient(180deg, #1a1a1a 0%, #101010 100%);
    color: #fff;
    padding: 6rem 0;
}

.project-map-container {
    width: min(1520px, calc(100% - 3rem));
    margin: 0 auto;
}

.project-map-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2rem;
    align-items: end;
    margin-bottom: 2.25rem;
}

.project-map-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    margin-bottom: .85rem;
    color: rgba(139, 216, 227, .92);
    font-size: .82rem;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.project-map-eyebrow::after {
    content: "";
    width: 72px;
    height: 1px;
    background: rgba(139, 216, 227, .45);
}

.project-map-header h2 {
    max-width: 780px;
    margin: 0;
    color: #fff;
    font-size: clamp(2.3rem, 5vw, 5.6rem);
    line-height: .96;
    letter-spacing: 0;
    text-transform: uppercase;
}

.project-map-header p {
    max-width: 660px;
    margin: 1.1rem 0 0;
    color: rgba(255, 255, 255, .68);
    line-height: 1.8;
}

.project-map-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(130px, 1fr));
    gap: .8rem;
}

.project-map-stats div {
    padding: 1.05rem 1.15rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
}

.project-map-stats strong {
    display: block;
    color: #fff;
    font-size: 2.1rem;
    line-height: 1;
}

.project-map-stats span {
    display: block;
    margin-top: .45rem;
    color: rgba(255, 255, 255, .66);
    font-size: .78rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.project-map-layout {
    min-width: 0;
}

.project-map-frame {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .06);
    box-shadow: 0 28px 80px rgba(0, 0, 0, .28);
}

.project-map-badge {
    position: absolute;
    z-index: 500;
    top: 1rem;
    left: 1rem;
    padding: .55rem .9rem;
    border-radius: 999px;
    background: rgba(6, 31, 39, .82);
    border: 1px solid rgba(255, 255, 255, .16);
    color: #fff;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
}

.map-panel {
    width: 100%;
    height: 640px;
    overflow: hidden;
}

.map-popup-content {
    min-width: 220px;
    color: #123741;
}

.map-popup-content span {
    display: block;
    margin-bottom: .35rem;
    color: #1e6f7c;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.map-popup-content strong {
    display: block;
    margin-bottom: .45rem;
    font-size: 1rem;
    line-height: 1.35;
}

.map-popup-content small {
    display: block;
    color: rgba(18, 55, 65, .72);
    line-height: 1.5;
}

.map-embed-frame {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.map-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background:
        radial-gradient(circle at top left, rgba(26, 74, 125, .22), transparent 35%),
        linear-gradient(135deg, #1d1d1d, #252525);
}

.map-placeholder-inner {
    width: min(560px, 100%);
    padding: 2.25rem 2rem;
    text-align: center;
    border-radius: 24px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 20px 45px rgba(0, 0, 0, .18);
}

.map-placeholder-badge {
    display: inline-block;
    margin-bottom: 1rem;
    padding: .45rem .9rem;
    border-radius: 999px;
    background: rgba(26, 74, 125, .18);
    border: 1px solid rgba(26, 74, 125, .28);
    color: #d9e8f8;
    font-size: .78rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.map-placeholder-inner h3 {
    margin-bottom: .85rem;
}

.map-placeholder-inner p {
    margin: 0;
    line-height: 1.8;
}

.project-editor-wrapper {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .02);
}

.project-service-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: .75rem;
}

.project-service-option {
    position: relative;
    display: flex;
    min-width: 0;
    cursor: pointer;
}

.project-service-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.project-service-option span {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 48px;
    padding: .7rem .95rem .7rem 2.65rem;
    border-radius: 14px;
    background: #f8fbff;
    border: 1px solid #d7e4f4;
    color: #173457;
    font-weight: 700;
    line-height: 1.25;
    box-shadow: 0 10px 24px rgba(17, 32, 57, .04);
    transition: background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.project-service-option span::before {
    content: "";
    position: absolute;
    left: .95rem;
    top: 50%;
    width: 18px;
    height: 18px;
    border-radius: 6px;
    border: 2px solid #8fb2d8;
    background: #ffffff;
    transform: translateY(-50%);
    transition: .2s ease;
}

.project-service-option span::after {
    content: "";
    position: absolute;
    left: 1.32rem;
    top: 50%;
    width: 6px;
    height: 10px;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    opacity: 0;
    transform: translateY(-58%) rotate(45deg) scale(.8);
    transition: .2s ease;
}

.project-service-option:hover span {
    border-color: #1554c7;
    box-shadow: 0 14px 30px rgba(21, 84, 199, .1);
    transform: translateY(-1px);
}

.project-service-option input:checked + span {
    background: linear-gradient(135deg, #1554c7, #1e6f7c);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 16px 34px rgba(21, 84, 199, .18);
}

.project-service-option input:checked + span::before {
    background: rgba(255, 255, 255, .22);
    border-color: rgba(255, 255, 255, .74);
}

.project-service-option input:checked + span::after {
    opacity: 1;
    transform: translateY(-58%) rotate(45deg) scale(1);
}

.project-editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    padding: .9rem;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    background: rgba(0, 0, 0, .12);
}

.project-editor {
    min-height: 240px;
    padding: 1rem 1.1rem !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none;
    overflow-y: auto;
}

.project-editor:empty::before {
    content: attr(data-placeholder);
    color: rgba(255, 255, 255, .42);
}

.admin-body .project-editor-wrapper {
    overflow: hidden;
    border: 1px solid #dce5f2;
    border-radius: 16px;
    background: #f8fbff;
}

.admin-body .project-editor-toolbar {
    border-bottom: 1px solid #dce5f2;
    background: #eef5ff;
}

.admin-body .project-editor-toolbar .btn {
    border-color: #bfd2ef !important;
    background: #ffffff;
    color: #1554c7 !important;
}

.admin-body .project-editor-toolbar .btn:hover {
    background: #1554c7;
    border-color: #1554c7 !important;
    color: #ffffff !important;
}

.admin-body .project-editor:empty::before {
    color: #8b9bb3;
}

.admin-body .ck.ck-editor {
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(30, 111, 124, .18);
    background: #f8fcff;
}

.admin-body .ck.ck-toolbar {
    border: 0;
    border-bottom: 1px solid rgba(30, 111, 124, .14);
    background: #eef7ff;
    padding: .65rem;
}

.admin-body .ck.ck-toolbar .ck-button {
    border-radius: 10px;
    color: #173457;
}

.admin-body .ck.ck-toolbar .ck-button.ck-on,
.admin-body .ck.ck-toolbar .ck-button:hover {
    background: rgba(21, 84, 199, .1);
    color: #1554c7;
}

.admin-body .ck.ck-editor__main > .ck-editor__editable {
    min-height: 260px;
    border: 0;
    background: #f8fcff;
    color: #102f3a;
    box-shadow: none;
    padding: 1.15rem 1.25rem;
}

.admin-body .ck.ck-editor__main > .ck-editor__editable:focus {
    border: 0;
    box-shadow: inset 0 0 0 2px rgba(21, 84, 199, .16);
}

.admin-body .ck-content p,
.admin-body .ck-content ul,
.admin-body .ck-content ol,
.admin-body .ck-content blockquote {
    color: #102f3a;
    line-height: 1.75;
}

.admin-body .ck-content h2,
.admin-body .ck-content h3,
.admin-body .ck-content h4 {
    color: #082f3a;
}

.admin-body .ck-content blockquote {
    border-left: 4px solid #1e6f7c;
    padding-left: 1rem;
    font-style: normal;
}

.admin-body .ck-content img {
    max-width: 100%;
    border-radius: 14px;
}

.project-rich-image,
.project-rich-content img,
.project-editor img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1rem auto;
    border-radius: 16px;
}

.project-editor img {
    cursor: pointer;
}

.project-editor img.editor-image-selected {
    outline: 3px solid rgba(88, 184, 236, .9);
    outline-offset: 4px;
}

.project-rich-content p,
.project-rich-content ul,
.project-rich-content ol,
.project-rich-content blockquote {
    margin-bottom: 1rem;
}

.project-rich-content ul,
.project-rich-content ol {
    padding-left: 1.4rem;
}

.project-rich-content figure {
    margin: 1.35rem 0;
}

.project-rich-content figure.image {
    text-align: center;
}

.project-rich-content figcaption {
    margin-top: .55rem;
    color: rgba(255, 255, 255, .58);
    font-size: .88rem;
    line-height: 1.5;
}

.project-rich-content .table {
    overflow-x: auto;
}

.project-rich-content table {
    width: 100%;
    margin: 1.25rem 0;
    border-collapse: collapse;
    font-size: .95rem;
    color: inherit;
}

.project-rich-content table td,
.project-rich-content table th {
    padding: .8rem .9rem;
    border: 1px solid rgba(255, 255, 255, .14);
    vertical-align: top;
}

.project-rich-content table th {
    color: #ffffff;
    background: #1e6f7c;
    font-weight: 700;
}

.project-rich-content table p {
    margin-bottom: 0;
}

.project-rich-content blockquote {
    padding: .9rem 1rem;
    border-left: 4px solid var(--bs-primary);
    background: rgba(255, 255, 255, .04);
    border-radius: 0 14px 14px 0;
}

.project-rich-content h3,
.project-rich-content h4 {
    margin-bottom: .85rem;
}

.blog-detail-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 12% 0%, rgba(30, 111, 124, .22), transparent 34%),
        linear-gradient(180deg, #0c1114 0%, #11191d 44%, #0d1114 100%);
    color: #d8e7ea;
}

.blog-detail-shell {
    max-width: 1180px;
}

.blog-detail-title {
    margin-bottom: 2rem;
}

.blog-detail-title .title-left h5 {
    color: rgba(139, 216, 227, .9);
}

.blog-detail-title .title-left h2 {
    color: #ffffff;
    line-height: 1.18;
}

.blog-detail-title .title-left h5::after {
    border-color: rgba(139, 216, 227, .32);
}

.blog-detail-page .project-detail-image {
    border-radius: 10px;
    overflow: hidden;
    background: #10191d;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

.blog-detail-page .project-detail-image img {
    display: block;
    width: 100%;
}

.blog-video-embed {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    border-radius: 10px;
    background: #05080a;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

.blog-video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.blog-article-card {
    background: rgba(15, 25, 29, .96);
    border: 1px solid rgba(139, 216, 227, .16);
    border-radius: 10px;
    box-shadow: 0 26px 80px rgba(0, 0, 0, .28);
}

.blog-article-card-body {
    padding: clamp(1.35rem, 3vw, 2.5rem);
}

.blog-article-card .lead {
    color: #f1fbfc;
    font-size: clamp(1.05rem, 1.7vw, 1.28rem);
    line-height: 1.78;
}

.blog-article-card .project-rich-content {
    color: #d6e4e7;
    font-size: 1.03rem;
    line-height: 1.82;
}

.blog-article-card .project-rich-content p,
.blog-article-card .project-rich-content li {
    color: #d6e4e7;
}

.blog-article-card .project-rich-content strong,
.blog-article-card .project-rich-content b,
.blog-article-card .project-rich-content h2,
.blog-article-card .project-rich-content h3,
.blog-article-card .project-rich-content h4 {
    color: #ffffff;
}

.blog-article-card .project-rich-content blockquote {
    background: rgba(139, 216, 227, .08);
    border-left-color: #8bd8e3;
}

.blog-detail-page .btn-outline-primary {
    color: #9ceaf4;
    border-color: rgba(156, 234, 244, .72);
}

.blog-detail-page .btn-outline-primary:hover,
.blog-detail-page .btn-outline-primary:focus {
    background: #1e6f7c;
    border-color: #1e6f7c;
    color: #ffffff;
}

.blog-index-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 12% 0%, rgba(30, 111, 124, .2), transparent 34%),
        linear-gradient(180deg, #0c1114 0%, #11191d 44%, #0d1114 100%);
    color: #d8e7ea;
}

.blog-index-title {
    margin-bottom: 2rem;
}

.blog-index-title .title-left h5 {
    color: rgba(139, 216, 227, .9);
}

.blog-index-title .title-left h2 {
    color: #ffffff;
}

.blog-index-title .title-left h5::after {
    border-color: rgba(139, 216, 227, .32);
}

.blog-card {
    background: rgba(15, 25, 29, .96);
    border: 1px solid rgba(139, 216, 227, .16);
    box-shadow: 0 26px 80px rgba(0, 0, 0, .24);
}

.blog-card .service-card-body {
    background: transparent;
}

.blog-card .service-card-label {
    color: rgba(139, 216, 227, .88);
}

.blog-card h3 {
    color: #ffffff;
}

.blog-card .service-card-body p:last-child {
    color: #d6e4e7;
}

.blog-card .service-card-footer {
    border-top-color: rgba(139, 216, 227, .16);
}

.blog-card .service-detail-btn {
    color: #9ceaf4;
}

.client-logo-image {
    width: 100%;
    height: 100%;
    max-width: 220px;
    max-height: 140px;
    object-fit: contain;
    filter: drop-shadow(0 8px 14px rgba(17, 32, 57, .08));
}

.client-name {
    width: 100%;
    min-height: 3.9em;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.3;
    letter-spacing: .055em;
    color: #173457;
    display: block;
    text-align: center;
    text-wrap: balance;
    overflow-wrap: normal;
}

body:not(.theme-light) .client-name {
    color: rgba(255, 255, 255, .88);
}

body:not(.theme-light) #ourclient > .container > .text-center p {
    color: rgba(255, 255, 255, .72);
}

@media (max-width: 991.98px) {
    .project-map-header {
        grid-template-columns: 1fr;
    }

    .project-map-stats {
        width: min(100%, 420px);
    }

    .client-logo-box {
        width: 100%;
        height: 128px;
    }

    .client-logo-image {
        max-width: 180px;
        max-height: 116px;
    }
}

.contact-address-link {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px dashed rgba(26, 74, 125, .35);
    transition: color .2s ease, border-color .2s ease;
}

.contact-address-link:hover {
    color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.contact-map-button {
    border-radius: 999px;
    padding: .75rem 1.25rem;
    font-weight: 600;
}

@media (max-width: 575.98px) {
    .client-showcase-card {
        width: 176px;
        padding: .75rem .35rem;
    }

    .client-logo-box {
        width: 100%;
        height: 108px;
        padding: .65rem;
        border-radius: 0;
        margin-bottom: .75rem;
    }

    .client-logo-image {
        max-width: 150px;
        max-height: 96px;
    }

    .client-name {
        width: 100%;
        font-size: .86rem;
        min-height: 4em;
    }
}

.about-section {
    overflow: hidden;
    padding: clamp(3rem, 6vw, 6rem) 0 0;
}

.about-container {
    width: 100%;
    max-width: 1760px;
    padding-left: clamp(1.25rem, 5vw, 6rem);
    padding-right: clamp(1.25rem, 5vw, 6rem);
}

.about-layout {
    display: grid;
    grid-template-columns: minmax(340px, .9fr) minmax(420px, 1.1fr);
    gap: clamp(2rem, 4vw, 5rem);
    align-items: stretch;
}

.about-copy {
    align-self: center;
}

.about-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    color: #1e6f7c;
    font-size: .95rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.about-eyebrow::after {
    content: "";
    width: 96px;
    border-bottom: 1px solid rgba(18, 55, 65, .28);
}

.about-copy h2 {
    max-width: 760px;
    margin-bottom: 1.4rem;
    font-size: clamp(2.25rem, 4.2vw, 4.4rem);
    line-height: .98;
}

.about-copy p {
    max-width: 820px;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.about-lead {
    font-size: clamp(1.08rem, 1.25vw, 1.35rem);
    line-height: 1.6 !important;
    font-weight: 600;
}

.about-focus {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, .14);
    border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.about-focus div {
    padding: 1.25rem 1.35rem 1.25rem 0;
    border-right: 1px solid rgba(255, 255, 255, .12);
}

.about-focus div:last-child {
    border-right: 0;
}

.about-focus strong,
.about-focus span {
    display: block;
}

.about-focus strong {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: .45rem;
}

.about-focus span {
    color: rgba(255, 255, 255, .68);
    font-size: .94rem;
    line-height: 1.6;
}

.about-visual {
    position: relative;
    min-height: 520px;
}

.about-visual img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    object-position: 58% center;
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 24px 64px rgba(0, 0, 0, .22);
}

.about-principles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.5rem, 3vw, 3rem);
    margin: clamp(2rem, 4vw, 3.5rem) 0 0;
}

.about-principle {
    min-height: 100%;
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 1rem;
    padding: 1.75rem 0;
    border-top: 1px solid rgba(255, 255, 255, .14);
    border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.about-principle-mark {
    width: 4px;
    min-height: 100%;
    border-radius: 999px;
    background: linear-gradient(180deg, #1e6f7c, #58b8ec);
}

.about-principle h3 {
    margin-bottom: .75rem;
    font-size: 1.9rem;
}

.about-principle p {
    margin: 0;
    line-height: 1.8;
}

.values-section {
    display: grid;
    grid-template-columns: minmax(280px, .7fr) minmax(420px, 1.3fr);
    gap: clamp(2rem, 5vw, 6rem);
    padding: clamp(3rem, 6vw, 6rem) 0;
    align-items: start;
}

.values-intro {
    position: sticky;
    top: 120px;
}

.values-intro h2 {
    max-width: 520px;
    font-size: clamp(2rem, 3.5vw, 3.6rem);
    line-height: 1;
    margin-bottom: 1.25rem;
}

.values-intro p {
    max-width: 520px;
    line-height: 1.75;
}

.values-list {
    border-top: 1px solid rgba(255, 255, 255, .14);
}

.value-row {
    display: grid;
    grid-template-columns: 56px minmax(220px, .55fr) minmax(280px, 1fr);
    gap: 1.25rem;
    padding: 1.45rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    align-items: start;
}

.value-row span {
    color: #58b8ec;
    font-weight: 700;
    font-size: .95rem;
}

.value-row h3 {
    margin: 0;
    text-transform: uppercase;
    font-size: clamp(1.05rem, 1.4vw, 1.35rem);
    line-height: 1.1;
}

.value-row p {
    margin: 0;
    line-height: 1.65;
}

/********** Template CSS **********/

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.whatsapp-cta {
    position: fixed;
    right: 45px;
    bottom: 110px;
    z-index: 100;
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    padding: .95rem 1.2rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #25d366, #128c4a);
    color: #ffffff;
    box-shadow: 0 16px 34px rgba(18, 140, 74, .28);
    font-weight: 700;
    letter-spacing: .01em;
    transition: transform .2s ease, box-shadow .2s ease;
}

.whatsapp-cta i {
    font-size: 1.45rem;
}

.whatsapp-cta:hover {
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 22px 38px rgba(18, 140, 74, .34);
}

.whatsapp-cta span {
    white-space: nowrap;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 600;
    transition: .5s;
    border-radius: 50px;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: inherit;
}

.btn-primary {
    color: var(--bs-white);
}

.company-profile-download {
    align-items: center;
    justify-content: center;
    gap: .45rem;
}

.company-profile-download-label {
    display: inline-block;
    width: 46px;
    font-size: .72rem;
    line-height: .95;
    white-space: normal;
    text-align: left;
}


/*** Navbar ***/
.navbar {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 9;
    transition: .5s;
    background-color: transparent;
}

.navbar.position-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(16, 28, 45, .82);
    backdrop-filter: blur(10px);
}

.navbar .navbar-nav .nav-link {
    margin-right: 25px;
    padding: 40px 0;
    color: var(--bs-white);
    font-size: 17px;
    text-transform: uppercase;
    outline: none;
    transition: .5s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

@media (max-width: 1399.98px) {
    .site-logo-navbar {
        height: 46px;
    }

    .navbar .navbar-nav .nav-link,
    .navbar.bg-dark .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 8px;
        border-top: 1px solid var(--bs-light);
    }
}

@media (min-width: 1400px) {
    .navbar.bg-dark .navbar-nav .nav-link {
        padding: 20px 0;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0 1.5rem;
    background: linear-gradient(180deg, rgba(9, 18, 30, .42) 0%, rgba(9, 18, 30, .52) 45%, rgba(9, 18, 30, .62) 100%);
    z-index: 1;
    text-align: center;
}

#header-carousel .carousel-item {
    position: relative;
    min-height: 100vh;
}

#header-carousel .carousel-item img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    filter: saturate(1.08) contrast(1.04);
}

#header-carousel .carousel-caption .title,
#header-carousel .carousel-caption p,
#header-carousel .carousel-caption .btn,
#header-carousel .carousel-caption .hero-action-group {
    position: relative;
    top: 0;
}

.hero-action-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 550px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .carousel-caption {
        padding: 0 1rem;
    }
}

@media (max-width: 1399.98px) {
    .navbar {
        padding-top: .5rem;
        padding-bottom: .5rem;
    }

    .navbar .navbar-brand {
        max-width: 180px;
        margin-left: .85rem !important;
    }

    .navbar-toggler {
        margin-right: .85rem !important;
        padding: .35rem .6rem;
    }

    .navbar-collapse {
        margin: .85rem .85rem 0;
        padding: 1rem 1rem 1.1rem;
        border-radius: 20px;
        background: rgba(11, 24, 39, .94);
        backdrop-filter: blur(12px);
    }

    .navbar .navbar-nav {
        align-items: flex-start;
    }

    .navbar .navbar-nav .nav-link {
        display: block;
        width: 100%;
        font-size: .98rem;
        letter-spacing: .04em;
    }

    .navbar-collapse > .d-flex {
        align-items: stretch !important;
        gap: .75rem;
        padding-left: 0 !important;
    }

    .navbar-collapse > .d-flex .btn,
    .navbar-collapse > .d-flex .navbar-admin-badge {
        margin-right: 0 !important;
        margin-bottom: 0 !important;
    }

    #header-carousel .carousel-caption .title {
        width: min(100%, 880px);
        margin: 0 auto;
        padding: 0 1rem !important;
    }

    #header-carousel .title .title-center h5 {
        font-size: .92rem;
        letter-spacing: .08em;
    }

    #header-carousel .title .title-center h1 {
        font-size: clamp(3rem, 7vw, 5.1rem);
        line-height: 1.02;
    }

    #header-carousel .carousel-caption p {
        max-width: 760px;
        margin-left: auto;
        margin-right: auto;
        font-size: 1.1rem !important;
    }

    .whatsapp-cta {
        right: 20px;
        bottom: 88px;
        padding: .85rem 1rem;
    }

    .whatsapp-cta span {
        display: none;
    }
}

@media (max-width: 1399.98px) and (max-height: 820px) {
    .carousel-caption {
        padding: 7rem 1.25rem 2.5rem;
        justify-content: flex-start !important;
    }

    #header-carousel .carousel-caption .title {
        margin-top: 0 !important;
    }

    #header-carousel .title .title-center h5 {
        font-size: .82rem;
        margin-bottom: .35rem;
    }

    #header-carousel .title .title-center h1 {
        font-size: clamp(2.65rem, 6.2vw, 4.8rem);
        line-height: .96;
        margin-bottom: .75rem;
    }

    #header-carousel .carousel-caption p {
        max-width: 700px;
        margin: .5rem auto 1.35rem !important;
        font-size: 1rem !important;
        line-height: 1.45;
    }

    #header-carousel .carousel-caption .btn {
        min-width: 200px;
        padding: .85rem 1.7rem !important;
    }

    .back-to-top {
        right: 20px;
        bottom: 20px;
    }

    .whatsapp-cta {
        right: 20px;
        bottom: 92px;
        width: 56px;
        height: 56px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }

    .whatsapp-cta i {
        font-size: 1.4rem;
    }
}

@media (max-width: 1399.98px) {
    .latest-work-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .navbar {
        padding-top: .35rem;
        padding-bottom: .35rem;
    }

    .navbar .navbar-brand {
        max-width: 148px;
        margin-left: .85rem !important;
    }

    .site-logo-navbar {
        height: 34px;
    }

    .navbar-toggler {
        margin-right: .85rem !important;
        padding: .25rem .55rem;
    }

    #header-carousel .carousel-item {
        min-height: 100svh;
    }

    #header-carousel .carousel-item img {
        height: 100%;
    }

    .carousel-caption {
        padding: 5.5rem 1rem 2.25rem;
    }

    #header-carousel .carousel-caption .title {
        width: 100%;
        max-width: 330px;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    #header-carousel .title .title-center h5 {
        font-size: .8rem;
        letter-spacing: .08em;
    }

    #header-carousel .title .title-center h5::before,
    #header-carousel .title .title-center h5::after {
        width: 72px;
    }

    #header-carousel .title .title-center h1 {
        font-size: clamp(2.1rem, 10vw, 2.9rem);
        line-height: 1.02;
        padding: .45rem 0 .35rem;
        margin-bottom: 0;
    }

    #header-carousel .carousel-caption p {
        width: 100%;
        max-width: 320px;
        margin: 1.15rem auto 1.75rem !important;
        font-size: 1rem !important;
        line-height: 1.65;
    }

    #header-carousel .carousel-caption p br {
        display: none;
    }

    #header-carousel .carousel-caption .btn {
        min-width: 190px;
        padding: .85rem 1.75rem !important;
    }

    .hero-action-group {
        flex-direction: column;
        align-items: center;
        gap: .75rem;
        width: 100%;
    }

    .latest-work-heading,
    .latest-work-section .project-card {
        grid-template-columns: 1fr;
    }

    .latest-work-section .project-card-image {
        min-height: 260px;
    }

    .about-layout,
    .about-focus,
    .about-principles {
        grid-template-columns: 1fr;
    }

    .about-visual,
    .about-visual img {
        min-height: 320px;
    }

    .about-focus div {
        padding-right: 0;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .12);
    }

    .about-focus div:last-child {
        border-bottom: 0;
    }

    .about-principle {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .values-section,
    .value-row {
        grid-template-columns: 1fr;
    }

    .values-intro {
        position: static;
    }

    .title .title-left h1,
    .title .title-center h1,
    .title .title-right h1,
    .title .title-left h2,
    .title .title-center h2,
    .title .title-right h2 {
        font-size: clamp(1.8rem, 8vw, 2.4rem);
        line-height: 1.08;
    }

    .project-card-body,
    .project-modal-body {
        padding: 1.25rem;
    }

    .project-map-section {
        padding: 4rem 0;
    }

    .project-map-container {
        width: min(100% - 1.25rem, 1520px);
    }

    .project-map-header {
        gap: 1.4rem;
    }

    .project-map-header h2 {
        font-size: clamp(2rem, 13vw, 3.4rem);
    }

    .project-map-stats {
        grid-template-columns: 1fr 1fr;
    }

    .project-map-stats div {
        border-radius: 22px;
    }

    .project-map-frame {
        border-radius: 24px;
    }

    .map-panel {
        height: 420px;
    }
}

.page-header {
    padding-top: 200px;
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/carousel-1.jpg) top center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: var(--bs-white);
}


/*** Title ***/
.title {
    margin-bottom: 2rem;
}

.title .title-left,
.title .title-center,
.title .title-right {
    display: inline-block;
    text-transform: uppercase;
    overflow: hidden;
}

.title .title-center {
    text-align: center;
}

.title .title-right {
    text-align: right;
}

.title .title-left h5,
.title .title-center h5,
.title .title-right h5 {
    position: relative;
    display: inline-block;
    font-size: 18px;
    font-weight: 300;
}

.title .title-left h5::after,
.title .title-center h5::before,
.title .title-center h5::after,
.title .title-right h5::before {
    position: absolute;
    content: "";
    width: 500%;
    height: 0;
    top: 9px;
    border-bottom: 1px solid var(--bs-white);
}

.title .title-left h5::after,
.title .title-center h5::after {
    left: calc(100% + 15px);
}

.title .title-right h5::before,
.title .title-center h5::before {
    right: calc(100% + 15px);
}

.title .title-left h1,
.title .title-center h1,
.title .title-right h1,
.title .title-left h2,
.title .title-center h2,
.title .title-right h2 {
    border-bottom: 1px solid var(--bs-white);
}


/*** Service ***/
.service-showcase {
    background:
        radial-gradient(circle at 18% 18%, rgba(30, 111, 124, .38), transparent 32%),
        linear-gradient(135deg, #061f27 0%, #0b3440 48%, #08242d 100%);
    color: #ffffff;
}

.service-container {
    max-width: 1760px;
    padding: clamp(4rem, 7vw, 7rem) clamp(1.25rem, 5vw, 6rem);
}

.service-section-heading {
    display: grid;
    grid-template-columns: minmax(280px, .8fr) minmax(320px, .7fr);
    gap: 2rem;
    align-items: end;
    margin-bottom: clamp(2rem, 4vw, 4rem);
}

.service-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: .8rem;
    color: #8bd8e3;
    font-size: .92rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.service-eyebrow::after {
    content: "";
    width: 96px;
    border-bottom: 1px solid rgba(139, 216, 227, .4);
}

.service-section-heading h2 {
    max-width: 760px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(2.5rem, 5vw, 5.4rem);
    line-height: .95;
}

.service-section-heading p {
    margin: 0;
    color: rgba(255, 255, 255, .72);
    line-height: 1.75;
}

.service-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.service-card {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .055);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .18);
    transition: transform .25s ease, border-color .25s ease, background-color .25s ease, box-shadow .25s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 216, 227, .5);
    background: rgba(255, 255, 255, .08);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .28);
}

.service-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #0d2d36;
}

.service-card-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 25, 31, 0) 36%, rgba(7, 25, 31, .74) 100%);
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.service-card:hover .service-card-image img {
    transform: scale(1.04);
}

.service-card-image span {
    position: absolute;
    left: 1rem;
    top: 1rem;
    z-index: 1;
    min-width: 48px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 58, 68, .88);
    color: #ffffff;
    font-weight: 700;
}

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

.service-card-label {
    margin-bottom: .65rem;
    color: rgba(255, 255, 255, .62);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.service-card h3 {
    margin-bottom: .9rem;
    font-size: clamp(1.35rem, 2vw, 1.85rem);
    line-height: 1.08;
    color: #ffffff;
}

.service-card-body p:last-child {
    margin-bottom: 0;
    color: rgba(255, 255, 255, .68);
    line-height: 1.7;
    text-align: justify;
}

.service-card-footer {
    padding: 0 1.35rem 1.35rem;
}

.service-detail-btn {
    width: 100%;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: 1px solid rgba(139, 216, 227, .24);
    background: rgba(139, 216, 227, .08);
    color: #ffffff;
    padding: .8rem 1rem;
    font-weight: 700;
    transition: background-color .25s ease, color .25s ease;
}

.service-detail-btn:hover {
    background: #8bd8e3;
    color: #09252d;
}

.service-detail-note {
    display: inline-flex;
    color: rgba(255, 255, 255, .54);
    font-weight: 600;
}

.service-modal .modal-content {
    overflow: hidden;
    background: #edf9fb;
    border: 1px solid rgba(18, 55, 65, .14);
    border-radius: 18px;
    color: #123741;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .32);
}

.service-modal .modal-header {
    position: sticky;
    top: 0;
    z-index: 2;
    align-items: flex-start;
    padding: 1.35rem clamp(1.25rem, 3vw, 2rem);
    background:
        linear-gradient(135deg, rgba(30, 111, 124, .1), rgba(139, 216, 227, .18)),
        #edf9fb;
    border-bottom: 1px solid rgba(18, 55, 65, .12) !important;
}

.service-modal .modal-body {
    padding: 1.75rem clamp(1.25rem, 3vw, 2rem) 2.25rem;
}

.service-modal .modal-title {
    max-width: 720px;
    color: #0b3440;
    font-size: clamp(1.35rem, 2.6vw, 2rem);
    line-height: 1.05;
    letter-spacing: .05em;
}

.service-modal .btn-close {
    width: 40px;
    height: 40px;
    margin: -.25rem -.25rem 0 1rem;
    border-radius: 50%;
    background-color: rgba(18, 55, 65, .08);
    opacity: 1;
}

.service-modal .project-rich-content {
    max-width: 820px;
    margin: 0 auto;
    color: #173f49;
}

.service-modal .modal-body p {
    color: #173f49;
    line-height: 1.8;
    margin-bottom: 1.15rem;
    text-align: left;
}

.service-modal .modal-body p:last-child {
    margin-bottom: 0;
}

.service-modal .modal-body ul,
.service-modal .modal-body ol,
.service-modal .project-rich-content {
    text-align: left;
}

.service-modal .project-rich-content h3,
.service-modal .project-rich-content h4,
.service-modal .project-rich-content strong {
    color: #0b3440;
}

.service-modal .project-rich-content h3,
.service-modal .project-rich-content h4 {
    position: relative;
    margin-top: 1.75rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(18, 55, 65, .12);
}

.service-modal .project-rich-content img {
    width: min(100%, 620px);
    max-height: 360px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(18, 55, 65, .1);
    box-shadow: 0 18px 44px rgba(18, 55, 65, .14);
}

.service-modal .project-rich-content ul,
.service-modal .project-rich-content ol {
    display: grid;
    gap: .45rem;
    padding-left: 1.2rem;
}

@media (max-width: 1199.98px) {
    .service-section-heading {
        grid-template-columns: 1fr;
    }

    .service-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .service-card-grid {
        grid-template-columns: 1fr;
    }

    .service-card-body,
    .service-card-footer {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .back-to-top {
        right: 18px;
        bottom: 18px;
    }

    .whatsapp-cta {
        right: 18px;
        bottom: 84px;
        padding: .85rem 1rem;
    }

    .whatsapp-cta span {
        display: none;
    }

    .whatsapp-cta i {
        font-size: 1.5rem;
    }
}
/*** Footer ***/
@keyframes footerGradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.footer {
    background:
        radial-gradient(circle at 18% 0%, rgba(30, 111, 124, .28), transparent 34%),
        radial-gradient(circle at 82% 100%, rgba(31, 91, 107, .26), transparent 36%),
        linear-gradient(120deg, #050708 0%, #0b1c22 34%, #101010 68%, #06232a 100%) !important;
    background-size: 220% 220%;
    background-position: 0% 50%;
    background-repeat: no-repeat;
    animation: footerGradientShift 14s ease-in-out infinite;
    border-top: 1px solid rgba(139, 216, 227, .12);
}

.footer-compact {
    padding-top: 1.15rem;
    padding-bottom: 1.1rem;
}

.footer-inner {
    padding-top: 0;
    padding-bottom: 0;
}

.footer-compact-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: .55rem;
    flex-wrap: wrap;
}

.footer-brand-link {
    display: inline-flex;
    align-items: center;
}

.footer-social-group .btn-lg-square {
    width: 40px;
    height: 40px;
}

.footer-copy {
    font-size: .88rem;
    line-height: 1.4;
}

@media (max-width: 575.98px) {
    .site-logo-footer {
        height: 40px;
    }

    .footer-compact {
        padding-top: .95rem;
        padding-bottom: .95rem;
    }

    .footer-compact-row {
        gap: .7rem;
        margin-bottom: .45rem;
    }

    .footer-social-group .btn-lg-square {
        width: 36px;
        height: 36px;
    }

    .footer-copy {
        font-size: .82rem;
    }
}


/*** Light Theme ***/
body.theme-light {
    background: var(--site-bg);
    color: var(--site-ink);
}

body.theme-light .bg-dark {
    background-color: rgba(217, 245, 248, .9) !important;
    color: var(--site-ink) !important;
}

body.theme-light .bg-secondary {
    background-color: rgba(189, 234, 240, .88) !important;
    color: var(--site-ink) !important;
}

body.theme-light .text-light,
body.theme-light .text-white,
body.theme-light .text-body {
    color: var(--site-ink) !important;
}

body.theme-light .navbar.bg-dark {
    background-color: rgba(217, 245, 248, .94) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--site-border);
}

body.theme-light .navbar .navbar-nav {
    border-top-color: rgba(34, 48, 66, .15);
}

body.theme-light .navbar .navbar-nav .nav-link {
    color: var(--site-ink);
}

body.theme-light .navbar-brand h2,
body.theme-light .footer h1,
body.theme-light h1,
body.theme-light h2,
body.theme-light h3,
body.theme-light h4,
body.theme-light h5,
body.theme-light h6,
body.theme-light p,
body.theme-light span,
body.theme-light td,
body.theme-light small,
body.theme-light label,
body.theme-light a:not(.btn) {
    color: var(--site-ink);
}

body.theme-light .carousel-caption {
    background:
        linear-gradient(180deg, rgba(217, 245, 248, .20) 0%, rgba(217, 245, 248, .12) 48%, rgba(217, 245, 248, .24) 100%),
        linear-gradient(90deg, rgba(217, 245, 248, .20) 0%, rgba(217, 245, 248, .08) 40%, rgba(217, 245, 248, .14) 100%);
}

body.theme-light #header-carousel .title .title-center h5,
body.theme-light #header-carousel .title .title-center h1,
body.theme-light #header-carousel .carousel-caption p {
    color: #0b3440;
    text-shadow:
        -1px -1px 0 rgba(255, 255, 255, .88),
        1px -1px 0 rgba(255, 255, 255, .88),
        -1px 1px 0 rgba(255, 255, 255, .88),
        1px 1px 0 rgba(255, 255, 255, .88),
        0 3px 16px rgba(255, 255, 255, .78);
}

body.theme-light #header-carousel .title .title-center h5 {
    font-weight: 600;
}

body.theme-light #header-carousel .carousel-caption p {
    font-weight: 600;
    line-height: 1.55;
}

body.theme-light #header-carousel .carousel-caption .btn {
    background: rgba(217, 245, 248, .28);
    backdrop-filter: blur(4px);
}

body.theme-light .title .title-left h5::after,
body.theme-light .title .title-center h5::before,
body.theme-light .title .title-center h5::after,
body.theme-light .title .title-right h5::before,
body.theme-light .title .title-left h1,
body.theme-light .title .title-center h1,
body.theme-light .title .title-right h1,
body.theme-light .title .title-left h2,
body.theme-light .title .title-center h2,
body.theme-light .title .title-right h2 {
    border-color: rgba(18, 55, 65, .3);
}

body.theme-light .service-showcase,
body.theme-light .service-showcase h2,
body.theme-light .service-showcase h3,
body.theme-light .service-showcase p,
body.theme-light .service-showcase span {
    color: #ffffff;
}

body.theme-light .service-eyebrow,
body.theme-light .service-card-label {
    color: rgba(139, 216, 227, .88);
}

body.theme-light .service-section-heading p,
body.theme-light .service-card-body p:last-child {
    color: rgba(255, 255, 255, .74);
}

body.theme-light .project-card {
    background: rgba(234, 251, 252, .78);
    border-color: var(--site-border);
}

body.theme-light .project-tag {
    background: rgba(30, 111, 124, .1);
    color: #16525c;
}

body.theme-light .project-card-meta {
    color: rgba(18, 55, 65, .62);
}

body.theme-light .project-coordinate {
    color: rgba(18, 55, 65, .58);
}

body.theme-light .project-map-section {
    background:
        radial-gradient(circle at 16% 18%, rgba(30, 111, 124, .14), transparent 32%),
        linear-gradient(180deg, #bceff3 0%, #8ddbe3 100%);
    color: var(--site-ink);
}

body.theme-light .project-map-eyebrow {
    color: #1e6f7c;
}

body.theme-light .project-map-eyebrow::after {
    background: rgba(30, 111, 124, .32);
}

body.theme-light .project-map-header h2,
body.theme-light .project-map-stats strong,
body.theme-light .project-map-frame {
    color: var(--site-ink);
}

body.theme-light .project-map-header p {
    color: rgba(18, 55, 65, .72);
}

body.theme-light .project-map-stats div,
body.theme-light .project-map-frame {
    background: rgba(234, 251, 252, .62);
    border-color: rgba(30, 111, 124, .14);
    box-shadow: 0 24px 70px rgba(30, 111, 124, .12);
}

body.theme-light .project-map-stats span {
    color: rgba(18, 55, 65, .62);
}

body.theme-light .project-map-badge {
    background: rgba(234, 251, 252, .86);
    border-color: rgba(30, 111, 124, .18);
    color: #16525c;
}

body.theme-light .map-placeholder {
    background:
        radial-gradient(circle at top left, rgba(30, 111, 124, .14), transparent 35%),
        linear-gradient(135deg, #d9f5f8, #98dee6);
}

body.theme-light .map-placeholder-inner {
    background: rgba(234, 251, 252, .72);
    border-color: var(--site-border);
}

body.theme-light .map-placeholder-badge {
    background: rgba(30, 111, 124, .1);
    border-color: rgba(30, 111, 124, .18);
    color: #16525c;
}

body.theme-light .project-editor-wrapper {
    border-color: var(--site-border);
    background: rgba(234, 251, 252, .72);
}

body.theme-light .project-editor-toolbar {
    border-bottom-color: var(--site-border);
    background: rgba(18, 55, 65, .05);
}

body.theme-light .project-service-option span {
    background: #f8fbff;
    border-color: #d7e4f4;
    color: #173457;
}

body.theme-light .project-service-option input:checked + span {
    background: linear-gradient(135deg, #1554c7, #1e6f7c);
    border-color: transparent;
    color: #ffffff;
}

body.theme-light .project-editor:empty::before {
    color: rgba(18, 55, 65, .48);
}

body.theme-light .project-rich-content blockquote {
    background: rgba(18, 55, 65, .05);
}

body.theme-light .project-rich-content figcaption {
    color: rgba(18, 55, 65, .58);
}

body.theme-light .project-rich-content table td,
body.theme-light .project-rich-content table th {
    border-color: rgba(18, 55, 65, .14);
}

body.theme-light .project-rich-content table th {
    color: #ffffff;
    background: #1e6f7c;
}

body.theme-light .blog-detail-page {
    background:
        radial-gradient(circle at 12% 0%, rgba(30, 111, 124, .12), transparent 34%),
        linear-gradient(180deg, #d9f5f8 0%, #eefcff 46%, #d7f2f6 100%);
    color: var(--site-ink);
}

body.theme-light .blog-detail-title .title-left h5 {
    color: #1e6f7c;
}

body.theme-light .blog-detail-title .title-left h2 {
    color: #123741;
}

body.theme-light .blog-detail-title .title-left h5::after {
    border-color: rgba(18, 55, 65, .24);
}

body.theme-light .blog-detail-page .project-detail-image,
body.theme-light .blog-video-embed {
    background: #e9fbfd;
    box-shadow: 0 22px 60px rgba(30, 111, 124, .14);
}

body.theme-light .blog-article-card {
    background: rgba(255, 255, 255, .92);
    border-color: rgba(30, 111, 124, .16);
    box-shadow: 0 24px 70px rgba(30, 111, 124, .12);
}

body.theme-light .blog-article-card .lead {
    color: #123741;
}

body.theme-light .blog-article-card .project-rich-content,
body.theme-light .blog-article-card .project-rich-content p,
body.theme-light .blog-article-card .project-rich-content li {
    color: rgba(18, 55, 65, .82);
}

body.theme-light .blog-article-card .project-rich-content strong,
body.theme-light .blog-article-card .project-rich-content b,
body.theme-light .blog-article-card .project-rich-content h2,
body.theme-light .blog-article-card .project-rich-content h3,
body.theme-light .blog-article-card .project-rich-content h4 {
    color: #123741;
}

body.theme-light .blog-article-card .project-rich-content blockquote {
    background: rgba(30, 111, 124, .08);
    border-left-color: #1e6f7c;
}

body.theme-light .blog-detail-page .btn-outline-primary {
    color: #1e6f7c;
    border-color: rgba(30, 111, 124, .72);
}

body.theme-light .blog-index-page {
    background:
        radial-gradient(circle at 12% 0%, rgba(30, 111, 124, .12), transparent 34%),
        linear-gradient(180deg, #d9f5f8 0%, #eefcff 46%, #d7f2f6 100%);
    color: var(--site-ink);
}

body.theme-light .blog-index-title .title-left h5 {
    color: #1e6f7c;
}

body.theme-light .blog-index-title .title-left h2 {
    color: #123741;
}

body.theme-light .blog-index-title .title-left h5::after {
    border-color: rgba(18, 55, 65, .24);
}

body.theme-light .blog-card {
    background: rgba(255, 255, 255, .9);
    border-color: rgba(30, 111, 124, .16);
    box-shadow: 0 24px 70px rgba(30, 111, 124, .12);
}

body.theme-light .blog-card .service-card-label {
    color: #1e6f7c;
}

body.theme-light .blog-card h3 {
    color: #123741;
}

body.theme-light .blog-card .service-card-body p:last-child {
    color: rgba(18, 55, 65, .76);
}

body.theme-light .blog-card .service-card-footer {
    border-top-color: rgba(18, 55, 65, .12);
}

body.theme-light .blog-card .service-detail-btn {
    color: #123741;
}

body.theme-light .auth-modal .modal-content {
    background: #ebfbfc;
    border-color: var(--site-border);
    color: var(--site-ink);
}

body.theme-light .auth-tab-switcher {
    background: rgba(18, 55, 65, .05);
    border-color: var(--site-border);
}

body.theme-light .auth-tab-btn {
    color: rgba(18, 55, 65, .76);
}

body.theme-light .auth-password-hint {
    color: rgba(18, 55, 65, .66);
}

body.theme-light .auth-password-hint.is-invalid {
    color: #c24b4b;
}

body.theme-light .service-modal .btn-close {
    filter: none;
}

body.theme-light .table-dark {
    --bs-table-bg: rgba(234, 251, 252, .92);
    --bs-table-striped-bg: rgba(189, 234, 240, .64);
    --bs-table-striped-color: var(--site-ink);
    --bs-table-active-bg: rgba(127, 207, 217, .56);
    --bs-table-active-color: var(--site-ink);
    --bs-table-hover-bg: rgba(189, 234, 240, .82);
    --bs-table-hover-color: var(--site-ink);
    color: var(--site-ink);
    border-color: rgba(18, 55, 65, .18);
}

body.theme-light .form-control {
    color: var(--site-ink);
}

body.theme-light .form-control::placeholder {
    color: rgba(18, 55, 65, .58);
}

body.theme-light .footer {
    background:
        radial-gradient(circle at 18% 0%, rgba(30, 111, 124, .28), transparent 34%),
        radial-gradient(circle at 82% 100%, rgba(31, 91, 107, .26), transparent 36%),
        linear-gradient(120deg, #050708 0%, #0b1c22 34%, #101010 68%, #06232a 100%) !important;
    background-size: 220% 220%;
    border-top: 1px solid rgba(139, 216, 227, .12);
    color: rgba(255, 255, 255, .82) !important;
}

body.theme-light .footer .footer-copy,
body.theme-light .footer .footer-copy a {
    color: rgba(255, 255, 255, .82) !important;
}

body.theme-light .about-focus,
body.theme-light .about-principle,
body.theme-light .about-visual img,
body.theme-light .values-list,
body.theme-light .value-row {
    border-color: var(--site-border);
}

body.theme-light .about-focus div {
    border-color: var(--site-border);
}

body.theme-light .about-focus strong {
    color: var(--site-ink);
}

body.theme-light .about-focus span {
    color: rgba(18, 55, 65, .68);
}

body.theme-light #spinner {
    background-color: rgba(152, 222, 230, .95) !important;
}

/* Keep admin dashboard typography independent from public theme styles */
.admin-body .admin-topbar-title,
.admin-body .admin-sidebar-brand h1,
.admin-body .admin-hero h1,
.admin-body .admin-hero h2,
.admin-body .admin-hero h3,
.admin-body .admin-hero h4,
.admin-body .admin-hero h5,
.admin-body .admin-hero h6,
.admin-body .admin-stat-card h1,
.admin-body .admin-stat-card h2,
.admin-body .admin-stat-card h3,
.admin-body .admin-stat-card h4,
.admin-body .admin-stat-card h5,
.admin-body .admin-stat-card h6,
.admin-body .admin-panel-heading h3,
.admin-body .admin-table-header h3 {
    color: #21334f !important;
}

.admin-body .admin-hero p,
.admin-body .admin-stat-card p,
.admin-body .admin-stat-card small {
    color: #6f809d !important;
}

.admin-body .admin-stat-icon,
.admin-body .admin-stat-icon i {
    color: #1554c7 !important;
}

@media (max-width: 767.98px) {
    .about-lead {
        font-size: 1.1rem;
    }

    .about-principle {
        padding: 1.5rem 0;
    }

    .about-principle h3 {
        font-size: 1.55rem;
    }

}
