/* Custom dark theme for compliance section */
.compliance-section.dark-theme {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #090b12 0%, #101426 100%);
    color: #eef2ff;
    padding: 90px 0 70px;
}

.compliance-section.dark-theme::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 14% 22%, rgba(122, 163, 255, 0.18), transparent 22%),
        radial-gradient(circle at 82% 18%, rgba(2, 235, 255, 0.14), transparent 19%),
        radial-gradient(circle at 50% 90%, rgba(255, 255, 255, 0.08), transparent 20%);
    opacity: 0.85;
    pointer-events: none;
}

.compliance-section.dark-theme::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    top: 10%;
    right: -120px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 120px rgba(122, 163, 255, 0.25);
    opacity: 0.6;
    pointer-events: none;
}

.compliance-section.dark-theme .tronix-section-title-content {
    position: relative;
    z-index: 1;
    max-width: 980px;
    margin: 0 auto 50px;
    text-align: center;
}

.compliance-section.dark-theme .tronix-section-small-title {
    color: #7aa3ff;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.compliance-section.dark-theme .compliance-heading {
    color: #ffffff;
    font-size: clamp(2rem, 3vw, 3.2rem);
    margin: 18px 0 18px;
    line-height: 1.05;
}

.compliance-section.dark-theme .compliance-description {
    color: #c8d0ff;
    font-size: 1rem;
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.8;
}

.compliance-section.dark-theme .compliance-tag-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 26px;
    position: relative;
    z-index: 1;
}

.compliance-section.dark-theme .compliance-tag {
    background: rgba(255, 255, 255, 0.06);
    color: #d8e2ff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 12px 18px;
    font-size: 0.95rem;
    font-weight: 500;
}

.compliance-section .service-five-section-wrapper {
    padding-top: 20px;
    position: relative;
    z-index: 1;
}

.compliance-section .service-box-five {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    border-radius: 28px;
    padding: 40px 28px;
    text-align: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
    min-height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    animation: float-slow 12s ease-in-out infinite alternate, fade-in-up 0.75s ease forwards;
    transform: translateY(0);
    opacity: 0;
    will-change: transform, opacity;
}

.compliance-section .service-box-five:hover {
    transform: translateY(-20px);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.32);
    border-color: rgba(122, 163, 255, 0.35);
}

.compliance-section .service-icon-five {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgb(246, 246, 246, 0.80)!important;
    margin-bottom: 24px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.compliance-section .service-icon-five img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    animation: icon-pulse 8s ease-in-out infinite;
}

.compliance-section .service-box-five:hover .service-icon-five img {
    transform: scale(1.08);
}

.compliance-section .service-five-title {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 14px;
}

@keyframes icon-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.04);
    }
}

.compliance-section .service-description {
    color: #c9d1ff;
    font-size: 0.98rem;
    line-height: 1.75;
    margin: 0;
}

@keyframes float-slow {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-8px);
    }
}

@keyframes fade-in-up {
    0% {
        transform: translateY(18px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 992px) {
    .compliance-section .service-box-five {
        min-height: auto;
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .compliance-section.dark-theme {
        padding: 60px 0 50px;
    }

    .compliance-section.dark-theme .compliance-heading {
        font-size: 2rem;
    }

    .compliance-section .service-box-five {
        padding: 28px 18px;
    }
}
