.our-services-section {
    position: relative;
    overflow: hidden;
    padding: 112px 0;
    background:
        radial-gradient(ellipse at 100% 0%, rgba(28, 108, 246, 0.95) 0%, rgba(71, 139, 255, 0.58) 28%, rgba(228, 240, 255, 0.24) 50%, transparent 72%),
        radial-gradient(ellipse at 0% 100%, #e5e9f0 0%, rgba(239, 243, 248, 0.88) 28%, rgba(255, 255, 255, 0) 62%),
        #fff;
}

.our-services-section::before {
    content: "";
    position: absolute;
    top: 72px;
    right: 7%;
    width: 340px;
    height: 235px;
    opacity: 0.28;
    background-image: radial-gradient(circle, #d7e7ff 2px, transparent 2.5px);
    background-size: 22px 22px;
    transform: rotate(-13deg);
}

.our-services-section::after {
    content: "";
    position: absolute;
    bottom: -140px;
    left: -100px;
    width: 570px;
    height: 400px;
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: 50%;
    box-shadow: 0 0 0 28px rgba(255, 255, 255, 0.16), 0 0 0 58px rgba(255, 255, 255, 0.11);
    transform: rotate(15deg);
}

.our-services-layout { min-height: 625px; }

.our-services-intro {
    position: relative;
    z-index: 1;
    padding: 24px 30px 24px 0;
}

.our-services-eyebrow {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #1163f6;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.our-services-eyebrow span { display: inline-block; width: 62px; height: 2px; background: #2876ff; }

.our-services-intro h2 {
    max-width: 440px;
    margin: 28px 0 26px;
    color: #0a1c52;
    font-size: clamp(2.55rem, 3.25vw, 3.65rem);
    font-weight: 800;
    line-height: 1.13;
    letter-spacing: -0.04em;
}

.our-services-accent { display: flex; align-items: center; gap: 12px; margin-bottom: 34px; }
.our-services-accent::before { content: ""; width: 72px; height: 6px; border-radius: 99px; background: #1668fb; }
.our-services-accent span { width: 8px; height: 8px; border-radius: 50%; background: #1668fb; }

.our-services-intro p {
    max-width: 386px;
    margin: 0;
    color: #52627b;
    font-size: 18px;
    line-height: 1.72;
}

.our-services-cards { position: relative; z-index: 1; }

/* Bootstrap's gutter utility is not available on every page version, so keep
   the vertical separation on the card columns themselves. */
.our-services-cards > [class*="col-"] {
    display: flex;
    margin-bottom: 28px;
}

.our-service-card {
    position: relative;
    display: flex;
    width: 100%;
    height: 294px;
    min-height: 294px;
    box-sizing: border-box;
    padding: 27px 28px 25px;
    flex-direction: column;
    border: 1px solid rgba(230, 235, 244, 0.9);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.93);
    box-shadow: 0 14px 30px rgba(35, 61, 112, 0.10);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease, filter 0.28s ease;
    overflow: hidden;
    cursor: pointer;
    will-change: transform, box-shadow;
}

.our-service-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #0b63f6, #38bdf8, #5eead4);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.28s ease;
}

.our-service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(12, 126, 255, 0.06), rgba(23, 218, 192, 0.04));
    opacity: 0;
    transition: opacity 0.28s ease;
}

.our-service-card:hover,
.our-service-card:focus-within {
    transform: translateY(-10px) scale(1.01);
    border-color: rgba(11, 99, 246, 0.28);
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(240,247,255,0.96));
    box-shadow: 0 24px 46px rgba(31, 86, 178, 0.18);
    filter: saturate(1.08);
}

.our-service-card:hover::before,
.our-service-card:focus-within::before {
    transform: scaleX(1);
}

.our-service-card:hover::after,
.our-service-card:focus-within::after {
    opacity: 1;
}

.our-service-icon {
    position: relative;
    z-index: 1;
    display: flex;
    width: 72px;
    height: 72px;
    margin-bottom: 22px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #f1f6ff, #e5efff);
    color: #1265fa;
    font-size: 31px;
    transition: transform 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}

.our-service-card:hover .our-service-icon,
.our-service-card:focus-within .our-service-icon {
    transform: translateY(-4px) rotate(-6deg);
    background: linear-gradient(135deg, #dfeeff, #cfe2ff);
    box-shadow: 0 12px 24px rgba(18, 101, 250, 0.18);
}

.our-service-card h3,
.our-service-card p,
.our-service-card a {
    position: relative;
    z-index: 1;
}

.our-service-card h3 {
    min-height: 49px;
    margin: 0 0 25px;
    color: #081849;
    font-size: 18px;
    font-weight: 750;
    line-height: 1.23;
    transition: color 0.25s ease;
}

.our-service-card:hover h3,
.our-service-card:focus-within h3 {
    color: #0a44c3;
}

.our-service-card p {
    margin: 0 0 18px;
    color: #57657a;
    font-size: 14px;
    line-height: 1.52;
    transition: color 0.25s ease;
}

.our-service-card:hover p,
.our-service-card:focus-within p {
    color: #455571;
}

.our-service-card a {
    position: relative;
    margin-top: auto;
    color: #0b63f6;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.25s ease;
}

.our-service-card a i {
    margin-left: 5px;
    font-size: 13px;
    transition: transform 0.25s ease;
}

.our-service-card:hover a,
.our-service-card:focus-within a {
    color: #0847c7;
}

.our-service-card:hover a i,
.our-service-card:focus-within a i {
    transform: translateX(6px);
}

@media (max-width: 1199px) {
    .our-services-layout { min-height: auto; }
    .our-services-intro { max-width: 600px; padding: 0 0 48px; }
    .our-services-intro h2 { max-width: none; }
}

@media (max-width: 767px) {
    .our-services-section { padding: 76px 0; }
    .our-services-intro h2 { font-size: 2.45rem; }
    .our-services-intro p { font-size: 16px; }
    .our-services-cards > [class*="col-"] { margin-bottom: 22px; }
    .our-service-card { height: 270px; min-height: 270px; }
}
