/* ================================
   Service meta + page title
=================================*/

.service-details .service-meta .service-category {
    background: color-mix(in srgb, var(--accent-color), transparent 88%);
    color: var(--accent-color);
    padding: 0.45rem 1.1rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.service-details .service-meta .service-category::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--accent-color);
}

/* Title & lead */
.service-details h1 {
    font-size: clamp(2rem, 2.4rem + 0.4vw, 2.7rem);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--heading-color);
    letter-spacing: -0.02em;
}

.service-details .lead {
    font-size: 1.05rem;
    line-height: 1.7;
    color: color-mix(in srgb, var(--default-color), transparent 5%);
}

/* ================================
   Services (4 cards at top)
=================================*/

.services .service-card {
    background: var(--surface-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    border-radius: 16px;
    padding: 28px 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.services .service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    background: radial-gradient(circle at top right,
        color-mix(in srgb, var(--accent-color), transparent 80%) 0,
        transparent 55%);
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.services .service-card:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--accent-color), transparent 55%);
    box-shadow: 0 10px 30px color-mix(in srgb, var(--default-color), transparent 85%);
}

.services .service-card:hover::after {
    opacity: 1;
}

.services .service-icon {
    width: 56px;
    height: 56px;
    background: color-mix(in srgb, var(--accent-color), transparent 88%);
    color: var(--accent-color);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.services .service-card:hover .service-icon {
    background: var(--accent-color);
    color: var(--contrast-color);
    transform: translateY(-2px) scale(1.06);
}

.services .service-icon i {
    font-size: 22px;
}

.services h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.3;
}

.services h4 {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
}

.services p {
    flex: 1;
    margin-bottom: 0;
    line-height: 1.6;
    color: color-mix(in srgb, var(--default-color), transparent 15%);
}

/* Mobile tweaks */
@media (max-width: 768px) {
    .services .service-card {
        padding: 22px 20px;
    }

    .services .service-icon {
        width: 52px;
        height: 52px;
    }

    .services h3 {
        font-size: 1rem;
    }
}

/* ================================
   Security sections (icon + heading)
=================================*/

.security-section {
    padding-top: 2.4rem;
    border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.security-section:first-of-type {
    border-top: none;
    padding-top: 0;
}

.security-section .section-header {
    gap: 0.75rem;
}

.security-section .section-icon {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--accent-color), transparent 90%);
}

.security-section .section-icon i {
    font-size: 26px;
}

/* ================================
   Feature cards inside security sections
=================================*/

.security-section .feature-card {
    background: var(--surface-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    border-radius: 18px;
    box-shadow: 0 6px 18px color-mix(in srgb, var(--default-color), transparent 92%);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.security-section .feature-card:hover {
    border-color: color-mix(in srgb, var(--accent-color), transparent 55%);
    box-shadow: 0 12px 32px color-mix(in srgb, var(--default-color), transparent 86%);
    transform: translateY(-2px);
}

/* Bullet items */
.security-section .small {
    line-height: 1.6;
}

/* ================================
   Sidebar
=================================*/
.security-page .security-sidebar {
    position: sticky;
    top: 110px; /* adjust if your header height differs */
    z-index: 1; /* so it scrolls under the header, not above */
}

.security-aside-card {
    border-radius: 18px;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    background: color-mix(in srgb, var(--surface-color), #ffffff 10%);
    box-shadow: 0 8px 24px color-mix(in srgb, var(--default-color), transparent 90%);
}

/* Small label at the top of the first card */
.security-aside-card .aside-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #6b7280;
}

.security-aside-card .aside-label .dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--accent-color);
}

/* Highlights inside first card */
.security-aside-card .aside-highlight .icon-wrap {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--accent-color), transparent 88%);
    color: var(--accent-color);
    flex-shrink: 0;
    font-size: 16px;
}

.security-aside-card .aside-highlight h4 {
    font-weight: 600;
}

/* Facts list & links in second card */
.security-aside-card ul li i {
    font-size: 0.9rem;
    vertical-align: -1px;
}

.security-aside-card a {
    text-decoration: none;
}

/* Make sure header (if fixed) stays on top */
.header {
    z-index: 1030;
}

/* Disable sticky on smaller viewports */
@media (max-width: 991.98px) {
    .security-page .security-sidebar {
        position: static;
        margin-top: 1rem;
    }
}

/* Quick facts list */
.security-facts li {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.6rem;
}

.security-facts .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b7280;
}

.security-facts .value {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--heading-color);
}

/* Make sure header (if fixed) stays on top */
.header {
    z-index: 1030;
}

/* Disable sticky on smaller viewports */
@media (max-width: 991.98px) {
    .security-page .security-sidebar {
        position: static;
        margin-top: 1rem;
    }
}

/* ================================
   Misc small tweaks
=================================*/

.security-page ul {
    padding-left: 1rem;
}

.security-page ul li {
    margin-bottom: 0.4rem;
}

.security-page .alert-light {
    border-radius: 16px;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

/* Aside list inside security card */
.security-aside-card ul {
    margin: 0;
    padding: 0;
}

.security-aside-card ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    line-height: 1.5;
}

.security-aside-card ul li + li {
    margin-top: 0.35rem; /* spacing between rows */
}

.security-aside-card ul li i {
    font-size: 0.9rem;
    margin-top: 0.15rem; /* vertically align icon with text */
    color: var(--accent-color);
    flex-shrink: 0;
}

.security-aside-card ul li a {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.security-aside-card ul li a:hover {
    text-decoration: none;
}