.cs_dixon_section {
    position: relative;
    overflow: hidden;
}

.cs_dixon_card {
    position: relative;
    padding: 48px 56px;
    border-radius: 4px;
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 55%, #f6f4ef 100%);
    border: 1px solid rgba(26, 45, 90, 0.12);
    box-shadow: 0 24px 60px rgba(16, 16, 16, 0.06);
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.cs_dixon_card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, #c4b896 0%, #1a2d5a 50%, #d7161d 100%);
    border-radius: 4px 0 0 4px;
    transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.cs_dixon_card:hover {
    transform: translateY(-6px);
    box-shadow: 0 32px 70px rgba(26, 45, 90, 0.12);
}

.cs_dixon_card:hover::before {
    width: 6px;
}

.cs_dixon_badge {
    display: inline-block;
    margin: 18px 0 12px;
    padding: 10px 18px;
    font-size: 15px;
    line-height: 1.55;
    color: var(--heading-color);
    background: rgba(26, 45, 90, 0.06);
    border-left: 3px solid #1a2d5a;
}

.cs_dixon_badge strong {
    color: #1a2d5a;
}

.cs_dixon_link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    color: #6b5b95;
    text-decoration: none;
    transition: color 0.3s ease, gap 0.3s ease;
}

.cs_dixon_link:hover {
    color: #d7161d;
    gap: 12px;
}

.cs_dixon_link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.cs_dixon_link:hover svg {
    transform: translate(3px, -3px);
}

.cs_dixon_title {
    margin: 28px 0 16px;
    font-size: clamp(22px, 1.4vw, 32px);
    line-height: 1.35;
    color: var(--heading-color);
}

.cs_dixon_desc {
    margin: 0;
    font-size: 16px;
    line-height: 1.75;
    color: var(--body-color);
    max-width: 620px;
}

.cs_dixon_logo_wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
    min-height: 220px;
    background: #fff;
    border-radius: 4px;
    border: 1px solid rgba(26, 45, 90, 0.08);
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.cs_dixon_card:hover .cs_dixon_logo_wrap {
    transform: scale(1.02);
    box-shadow: 0 16px 40px rgba(26, 45, 90, 0.1);
}

.cs_dixon_logo_wrap img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

@media (max-width: 991px) {
    .cs_dixon_card {
        padding: 32px 28px;
    }

    .cs_dixon_logo_wrap {
        margin-top: 32px;
        min-height: 180px;
    }
}

/* We specialise in — split section */
.cs_specialise_section {
    position: relative;
    min-height: 560px;
    padding: 100px 0;
    overflow: hidden;
}

.cs_specialise_section > *:not(.cs_specialise_bg) {
    position: relative;
    z-index: 2;
}

.cs_specialise_bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 52%;
    height: 100%;
    background-size: cover;
    background-position: center;
    /* clip-path: inset(0 0 0 0); */
    transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.cs_specialise_bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        var(--drak-color) 0%,
        rgba(255, 255, 255, 0.92) 18%,
        rgba(16, 16, 16, 0.15) 55%,
        rgba(16, 16, 16, 0.35) 100%
    );
    pointer-events: none;
}

.cs_specialise_panel {
    max-width: 560px;
    padding: 56px 64px 56px 0;
    background-color: var(--drak-color);
    /* box-shadow: 24px 0 60px rgba(16, 16, 16, 0.08); */
}

.cs_specialise_title {
    margin: 12px 0 32px;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.2;
    color: var(--heading-color);
}


.cs_specialise_section:hover .cs_specialise_bg {
    transform: scale(1.03);
}

@media (max-width: 1199px) {
    .cs_specialise_panel {
        max-width: 480px;
        padding: 48px 40px 48px 0;
    }
}

@media (max-width: 991px) {
    .cs_specialise_section {
        padding: 0 0 60px;
    }

    .cs_specialise_bg {
        position: relative;
        width: 100%;
        height: 320px;
        order: -1;
    }

    .cs_specialise_bg::after {
        background: linear-gradient(
            180deg,
            rgba(16, 16, 16, 0.05) 0%,
            rgba(16, 16, 16, 0.25) 100%
        );
    }

    .cs_specialise_section .container {
        padding-top: 0;
    }

    .cs_specialise_panel {
        max-width: 100%;
        padding: 40px 24px;
        margin-top: -24px;
        box-shadow: 0 -12px 40px rgba(16, 16, 16, 0.08);
    }
}

@media (prefers-reduced-motion: reduce) {
    .cs_specialise_section:hover .cs_specialise_bg{
        transition: none;
        transform: none;
    }
}

/* Certifications — particles section */
.cs_certification_section {
    position: relative;
    overflow: hidden;
    padding: 110px 0 100px;
    /* background: linear-gradient(145deg, #0f1419 0%, #1a2332 45%, #101010 100%); */
    background: linear-gradient(42deg, #4d5761 0%, #1a2332 45%, #101010f2 100%);
}

#certification-particles-js {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

#certification-particles-js canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none;
}

.cs_certification_section .container {
    position: relative;
    z-index: 1;
}

.cs_certification_section .cs_section_subtitle {
    color: #d7161d;
}

.cs_cert_heading,
.cs_certification_section .cs_section_title {
    color: #ffffff;
}

.cs_cert_intro {
    max-width: 720px;
    margin: 24px auto 0;
    font-size: 16px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.78);
}

.cs_cert_card {
    position: relative;
    height: 100%;
    padding: 36px 32px 32px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.45s ease,
        box-shadow 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.cs_cert_card_glow {
    position: absolute;
    top: -40%;
    right: -30%;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(215, 22, 29, 0.35) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.6s ease;
    pointer-events: none;
}

.cs_cert_card:hover {
    transform: translateY(-10px);
    border-color: rgba(215, 22, 29, 0.45);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(215, 22, 29, 0.15);
}

.cs_cert_card:hover .cs_cert_card_glow {
    opacity: 1;
    transform: scale(1.2);
}

.cs_cert_badge {
    position: absolute;
    top: 20px;
    right: 22px;
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 700;
    line-height: 1;
    color: rgba(255, 255, 255, 0.06);
    letter-spacing: -0.02em;
    transition: color 0.45s ease;
    pointer-events: none;
}

.cs_cert_card:hover .cs_cert_badge {
    color: rgba(215, 22, 29, 0.2);
}

.cs_cert_icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 22px;
    border-radius: 50%;
    color: #d7161d;
    background: rgba(215, 22, 29, 0.12);
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), background 0.45s ease;
}

.cs_cert_card:hover .cs_cert_icon {
    transform: rotate(12deg) scale(1.08);
    background: rgba(215, 22, 29, 0.22);
}

.cs_cert_title {
    margin: 0 0 14px;
    font-size: 22px;
    line-height: 1.3;
    color: #ffffff;
}

.cs_cert_desc {
    margin: 0 0 20px;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.72);
}



.cs_cert_footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px 20px;
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cs_cert_footer_item {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.06em;
}

.cs_cert_footer_dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d7161d;
    animation: cs_cert_pulse 2s ease-in-out infinite;
}

.cs_cert_footer_label {
    flex: 1 1 100%;
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.02em;
}

@keyframes cs_cert_pulse {
    0%,
    100% {
        opacity: 0.4;
        transform: scale(0.85);
    }
    50% {
        opacity: 1;
        transform: scale(1.15);
    }
}

@media (max-width: 991px) {
    .cs_certification_section {
        padding: 80px 0 70px;
    }

    .cs_cert_card {
        padding: 28px 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cs_cert_card,
    .cs_cert_icon,
    .cs_cert_card_glow,
    .cs_cert_footer_dot {
        transition: none;
        animation: none;
    }

    .cs_cert_card:hover {
        transform: none;
    }
}
.cs_certification_section h2.cs_section_title {
    font-size: 32px !important;
}