:root,
html[data-bs-theme="light"] {
    --isg-page-bg: #f5f9fc;
    --isg-page-surface: #ffffff;
    --isg-page-surface-soft: #edf6fa;
    --isg-page-text: #10253c;
    --isg-page-muted: #5d7084;
    --isg-page-border: #d9e6ee;
    --isg-page-accent: #0788a8;
    --isg-page-shadow: rgba(11, 46, 73, 0.12);
}

html[data-bs-theme="dark"] {
    --isg-page-bg: #07111f;
    --isg-page-surface: #0d1b2e;
    --isg-page-surface-soft: #12243a;
    --isg-page-text: #e8f0f8;
    --isg-page-muted: #a9b8c9;
    --isg-page-border: #263b55;
    --isg-page-accent: #67e8f9;
    --isg-page-shadow: rgba(0, 0, 0, 0.3);
}

html[data-bs-theme="light"] body,
html[data-bs-theme="light"] main {
    color: var(--isg-page-text);
    background: var(--isg-page-bg);
}

html[data-bs-theme="dark"] body,
html[data-bs-theme="dark"] main {
    color: var(--isg-page-text);
    background: var(--isg-page-bg);
}

html[data-bs-theme="light"] .isg-navbar-v3 {
    color: #10253c;
    background: rgba(255, 255, 255, 0.97) !important;
    border-color: #dbe7ee !important;
}

html[data-bs-theme="light"] .isg-desktop-menu-v3 > a {
    color: #344a60;
}

html[data-bs-theme="light"] .isg-desktop-menu-v3 > a:hover,
html[data-bs-theme="light"] .isg-desktop-menu-v3 > a.active {
    color: #047f9d;
}

html[data-bs-theme="dark"] .isg-navbar-v3 {
    color: #e8f0f8;
    background: rgba(7, 17, 31, 0.97) !important;
    border-color: #263b55 !important;
}

html[data-bs-theme="dark"] .isg-desktop-menu-v3 > a {
    color: #c7d4e1;
}

html[data-bs-theme="dark"] .isg-desktop-menu-v3 > a:hover,
html[data-bs-theme="dark"] .isg-desktop-menu-v3 > a.active {
    color: #67e8f9;
}

.isg-page-v2 {
    position: relative;
    min-height: 72vh;
    overflow: clip;
    padding: clamp(75px, 9vw, 125px) 0;
    color: var(--isg-page-text);
    background:
        radial-gradient(
            circle at 90% 15%,
            color-mix(
                in srgb,
                var(--isg-page-accent) 17%,
                transparent
            ),
            transparent 30%
        ),
        var(--isg-page-bg);
}

.isg-page-breadcrumb-v2 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 36px;
    color: var(--isg-page-muted);
    font-size: 0.76rem;
    font-weight: 700;
}

.isg-page-breadcrumb-v2 a {
    color: var(--isg-page-accent);
    text-decoration: none;
}

.isg-page-breadcrumb-v2 i {
    font-size: 0.62rem;
}

.isg-page-grid-v2 {
    display: grid;
    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(250px, 0.65fr);
    align-items: center;
    gap: clamp(45px, 8vw, 110px);
}

.isg-page-copy-v2 {
    min-width: 0;
}

.isg-page-eyebrow-v2 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--isg-page-accent);
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.isg-page-v2 h1 {
    max-width: 850px;
    margin: 0;
    color: var(--isg-page-text);
    font-size: clamp(2.2rem, 5vw, 4.35rem);
    font-weight: 850;
    line-height: 1.06;
    letter-spacing: -0.045em;
}

.isg-page-v2 p {
    max-width: 760px;
    margin: 25px 0 0;
    color: var(--isg-page-muted);
    font-size: clamp(0.98rem, 1.8vw, 1.14rem);
    line-height: 1.85;
}

.isg-page-actions-v2 {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 33px;
}

.isg-page-primary-v2,
.isg-page-secondary-v2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 13px;
    font-size: 0.84rem;
    font-weight: 800;
    text-decoration: none;
}

.isg-page-primary-v2 {
    color: #ffffff;
    background: linear-gradient(120deg, #075b82, #079caf);
    box-shadow: 0 14px 32px var(--isg-page-shadow);
}

.isg-page-secondary-v2 {
    color: var(--isg-page-text);
    border: 1px solid var(--isg-page-border);
    background: var(--isg-page-surface);
}

.isg-page-icon-v2 {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.isg-page-icon-v2 span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 160px;
    border: 1px solid var(--isg-page-border);
    border-radius: 38px;
    color: #ffffff;
    background: linear-gradient(145deg, #064c76, #11abc0);
    box-shadow: 0 28px 70px var(--isg-page-shadow);
    transform: rotate(-5deg);
}

.isg-page-icon-v2 i {
    font-size: 4.2rem;
    transform: rotate(5deg);
}

html[data-bs-theme="dark"] .card,
html[data-bs-theme="dark"] .accordion-item,
html[data-bs-theme="dark"] .list-group-item {
    color: var(--isg-page-text);
    background: var(--isg-page-surface);
    border-color: var(--isg-page-border);
}

@media (max-width: 991.98px) {
    .isg-page-grid-v2 {
        grid-template-columns: minmax(0, 1fr);
    }

    .isg-page-icon-v2 {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .isg-page-v2 {
        min-height: 0;
        padding: 58px 0 70px;
    }

    .isg-page-actions-v2 {
        flex-direction: column;
    }

    .isg-page-primary-v2,
    .isg-page-secondary-v2 {
        width: 100%;
    }
}
