@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

.ansa5-section-wrapper {
    font-family: 'Inter', sans-serif;
    background-color: #f8fbff;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    color: #0f172a;
}

.ansa5-section-wrapper,
.ansa5-section-wrapper * {
    box-sizing: border-box;
}

.ansa5-bg-pattern,
.ansa5-bg-grid,
.ansa5-dot-float {
    pointer-events: none;
}

.ansa5-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 100% 50%, rgba(228, 240, 255, 0.74) 0%, transparent 42%),
        radial-gradient(circle at 0% 100%, rgba(228, 240, 255, 0.58) 0%, transparent 42%);
    z-index: 0;
}

.ansa5-bg-grid {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0l25.98 15v30L30 60 4.02 45V15L30 0z' fill-opacity='0' stroke='%23e2e8f0' stroke-width='0.5'/%3E%3C/svg%3E");
    opacity: 0.4;
    z-index: 0;
}

.ansa5-dot-float {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #93c5fd;
    border-radius: 2px;
    transform: rotate(45deg);
    z-index: 0;
}

.ansa5-dot-1 { top: 15%; left: 10%; }
.ansa5-dot-2 { top: 12%; left: 30%; }
.ansa5-dot-3 { bottom: 20%; left: 15%; }
.ansa5-dot-4 { bottom: 15%; right: 40%; }

.ansa5-container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 60px;
}

.ansa5-container.ansa5-reverse {
    flex-direction: row-reverse;
}

.ansa5-cards-group {
    flex: 1.2;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.ansa5-card {
    background: #ffffff;
    border-radius: 16px;
    width: 220px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.ansa5-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.10);
}

.ansa5-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.ansa5-logo-squares {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

.ansa5-sq-red { background: #f25022; }
.ansa5-sq-green { background: #7fba00; }
.ansa5-sq-blue { background: #00a4ef; }
.ansa5-sq-yellow { background: #ffb900; }

.ansa5-header-text {
    text-align: left;
}

.ansa5-header-text strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #5e5e5e;
    line-height: 1;
    margin-bottom: 2px;
}

.ansa5-header-text span {
    display: block;
    font-size: 9px;
    color: #737373;
    line-height: 1;
}

.ansa5-divider-light {
    width: 100%;
    height: 1px;
    background: #f1f5f9;
    margin: 0 0 30px 0;
}

.ansa5-card-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ansa5-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.ansa5-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: var(--ansa5-title-color, #1e3a8a);
}

.ansa5-divider-color {
    width: 20px;
    height: 2px;
    margin: 15px auto;
    border-radius: 2px;
    background: var(--ansa5-accent, #1e40af);
}

.ansa5-card-footer {
    font-size: 8px;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 5px;
}

.ansa5-content-group {
    flex: 1;
    max-width: 500px;
}

.ansa5-label {
    font-size: 13px;
    font-weight: 700;
    color: #0055ff;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: inline-block;
}

.ansa5-label::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: currentColor;
    margin-top: 8px;
}

.ansa5-heading {
    font-size: 46px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.15;
    margin: 0 0 25px 0;
    letter-spacing: -1px;
}

.ansa5-dot {
    color: #0055ff;
}

.ansa5-desc {
    font-size: 16px;
    color: #475569;
    line-height: 1.7;
    margin: 0 0 40px 0;
}

.ansa5-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #0052cc;
    color: #ffffff;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
}

.ansa5-btn:hover {
    background: #0043a6;
    color: #ffffff;
    transform: translateY(-2px);
}

.ansa5-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.2s ease;
}

.ansa5-btn:hover svg {
    transform: translateX(4px);
}

@media (max-width: 1024px) {
    .ansa5-container,
    .ansa5-container.ansa5-reverse {
        flex-direction: column;
        gap: 50px;
    }

    .ansa5-content-group {
        text-align: center;
        max-width: 700px;
    }

    .ansa5-label::after {
        margin: 8px auto 0;
    }

    .ansa5-heading {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .ansa5-section-wrapper {
        padding: 70px 18px;
    }

    .ansa5-cards-group {
        flex-direction: column;
        align-items: center;
    }

    .ansa5-card {
        width: min(100%, 280px);
    }

    .ansa5-heading {
        font-size: 32px;
    }

    .ansa5-btn {
        width: 100%;
    }
}
