/*
==================================================
UNIQUE SERVICES SECTION
All CSS is scoped inside .agx-srv6-section
==================================================
*/

.agx-srv6-section {
    --agx-srv6-bg: #071a3d;
    --agx-srv6-bg-light: #0d2756;
    --agx-srv6-blue: #3d7cff;
    --agx-srv6-blue-light: #76a4ff;
    --agx-srv6-white: #ffffff;
    --agx-srv6-text: #cbd7ed;
    --agx-srv6-card-bg: rgba(255, 255, 255, 0.07);
    --agx-srv6-card-hover: rgba(255, 255, 255, 0.11);
    --agx-srv6-border: rgba(255, 255, 255, 0.13);

    position: relative;
    isolation: isolate;
    overflow: hidden;

    width: 100%;
    padding: 92px 24px 100px;

    color: var(--agx-srv6-white);

    font-family:
        "Inter",
        "Segoe UI",
        Arial,
        sans-serif;

    background:
        linear-gradient(
            135deg,
            rgba(7, 26, 61, 0.98),
            rgba(11, 37, 82, 0.97)
        ),
        radial-gradient(
            circle at top right,
            #2c60c4,
            transparent 45%
        );
}

/*
Only elements inside this section
will receive border-box.
*/

.agx-srv6-section,
.agx-srv6-section *,
.agx-srv6-section *::before,
.agx-srv6-section *::after {
    box-sizing: border-box;
}

/* Background grid */

.agx-srv6-section::before {
    content: "";

    position: absolute;
    inset: 0;
    z-index: -2;

    opacity: 0.18;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.08) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.08) 1px,
            transparent 1px
        );

    background-size: 58px 58px;

    -webkit-mask-image:
        linear-gradient(
            to bottom,
            transparent,
            #000 35%,
            transparent
        );

    mask-image:
        linear-gradient(
            to bottom,
            transparent,
            #000 35%,
            transparent
        );
}

/* ==========================================
   BACKGROUND GLOW
========================================== */

.agx-srv6-section .agx-srv6-glow {
    position: absolute;
    z-index: -1;

    width: 420px;
    height: 420px;

    border-radius: 50%;
    filter: blur(90px);

    pointer-events: none;
}

.agx-srv6-section .agx-srv6-glow-left {
    left: -220px;
    bottom: -190px;

    background-color: rgba(36, 104, 255, 0.34);
}

.agx-srv6-section .agx-srv6-glow-right {
    top: -250px;
    right: -150px;

    background-color: rgba(74, 137, 255, 0.28);
}

/* ==========================================
   SECTION CONTAINER
========================================== */

.agx-srv6-section .agx-srv6-container {
    position: relative;

    width: 100%;
    max-width: 1180px;

    margin-right: auto;
    margin-left: auto;
}

/* ==========================================
   SECTION HEADER
========================================== */

.agx-srv6-section .agx-srv6-header {
    max-width: 850px;

    margin-top: 0;
    margin-right: auto;
    margin-bottom: 48px;
    margin-left: auto;

    text-align: center;
}

.agx-srv6-section .agx-srv6-eyebrow {
    margin-top: 0;
    margin-bottom: 13px;

    color: var(--agx-srv6-blue-light);

    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.agx-srv6-section .agx-srv6-header h2 {
    margin: 0;

    color: var(--agx-srv6-white);

    font-family:
        "Inter",
        "Segoe UI",
        Arial,
        sans-serif;

    font-size: clamp(34px, 4vw, 54px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1.5px;
}

.agx-srv6-section .agx-srv6-header h2 span {
    color: var(--agx-srv6-blue-light);
}

.agx-srv6-section .agx-srv6-description {
    max-width: 730px;

    margin-top: 20px;
    margin-right: auto;
    margin-bottom: 0;
    margin-left: auto;

    color: var(--agx-srv6-text);

    font-size: 18px;
    font-weight: 400;
    line-height: 1.7;
}

/* ==========================================
   SERVICES GRID
========================================== */

.agx-srv6-section .agx-srv6-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 22px;

    width: 100%;
}

/* ==========================================
   SERVICE CARD
========================================== */

.agx-srv6-section .agx-srv6-card {
    min-width: 0;
    margin: 0;
    padding: 26px;

    border:
        1px solid var(--agx-srv6-border);

    border-radius: 18px;

    background-color:
        var(--agx-srv6-card-bg);

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.16);

    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        background-color 0.3s ease,
        box-shadow 0.3s ease;
}

.agx-srv6-section .agx-srv6-card:hover {
    transform: translateY(-7px);

    border-color:
        rgba(111, 160, 255, 0.65);

    background-color:
        var(--agx-srv6-card-hover);

    box-shadow:
        0 22px 55px rgba(0, 0, 0, 0.25);
}

/* ==========================================
   CARD ICON AND HEADING
========================================== */

.agx-srv6-section .agx-srv6-card-top {
    display: flex;
    align-items: flex-start;

    gap: 15px;
    min-height: 72px;

    padding-bottom: 21px;

    border-bottom:
        1px solid var(--agx-srv6-border);
}

.agx-srv6-section .agx-srv6-icon {
    display: grid;
    place-items: center;

    flex: 0 0 52px;

    width: 52px;
    height: 52px;

    border:
        1px solid rgba(126, 169, 255, 0.33);

    border-radius: 14px;

    color: var(--agx-srv6-white);

    background:
        linear-gradient(
            145deg,
            var(--agx-srv6-blue),
            #2856c5
        );

    box-shadow:
        0 10px 24px rgba(32, 91, 224, 0.35);

    font-size: 22px;
    line-height: 1;
}

.agx-srv6-section .agx-srv6-card-title {
    margin-top: 2px;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 0;

    color: var(--agx-srv6-white);

    font-family:
        "Inter",
        "Segoe UI",
        Arial,
        sans-serif;

    font-size: 19px;
    font-weight: 700;
    line-height: 1.45;
}

/* Main heading link */

.agx-srv6-section .agx-srv6-card-title a {
    color: var(--agx-srv6-white);
    text-decoration: none;

    transition: color 0.2s ease;
}

.agx-srv6-section .agx-srv6-card-title a:hover {
    color: var(--agx-srv6-blue-light);
}

.agx-srv6-section .agx-srv6-card-title a:focus-visible {
    color: var(--agx-srv6-blue-light);

    border-radius: 4px;

    outline:
        3px solid rgba(111, 160, 255, 0.38);

    outline-offset: 4px;
}

/* ==========================================
   CARD SUBTOPIC LINKS
========================================== */

.agx-srv6-section .agx-srv6-links {
    display: grid;
    gap: 4px;

    padding-top: 15px;
}

.agx-srv6-section .agx-srv6-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 14px;
    min-height: 44px;

    padding: 9px 5px;

    border-radius: 9px;

    color: var(--agx-srv6-text);
    text-decoration: none;

    font-family:
        "Inter",
        "Segoe UI",
        Arial,
        sans-serif;

    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;

    transition:
        padding 0.22s ease,
        color 0.22s ease,
        background-color 0.22s ease;
}

.agx-srv6-section .agx-srv6-links a + a {
    border-top:
        1px dashed rgba(255, 255, 255, 0.1);
}

.agx-srv6-section .agx-srv6-links a span {
    min-width: 0;
}

.agx-srv6-section .agx-srv6-links a i {
    flex: 0 0 auto;

    color: var(--agx-srv6-blue-light);

    font-size: 12px;
    line-height: 1;

    transition: transform 0.22s ease;
}

.agx-srv6-section .agx-srv6-links a:hover,
.agx-srv6-section .agx-srv6-links a:focus-visible {
    padding-right: 11px;
    padding-left: 11px;

    color: var(--agx-srv6-white);

    background-color:
        rgba(61, 124, 255, 0.14);

    outline: none;
}

.agx-srv6-section .agx-srv6-links a:hover i,
.agx-srv6-section .agx-srv6-links a:focus-visible i {
    transform: translateX(4px);
}

/* ==========================================
   REDUCED MOTION ACCESSIBILITY
========================================== */

@media (prefers-reduced-motion: reduce) {
    .agx-srv6-section *,
    .agx-srv6-section *::before,
    .agx-srv6-section *::after {
        transition-duration: 0.01ms !important;
    }
}