/* services card */
section#services {
    padding-top: 5%;
}

/* Ensure zoom is visible */
.col-12.col-lg-4 {
    overflow: visible !important;
}

/* MAIN CARD */
.svc-card {
    position: relative;
    border-radius: var(--card-radius);
    padding: 28px 24px 26px;
    overflow: hidden;
    background-color: transparent;
    box-shadow: rgb(149 157 165 / 74%) 0px 8px 24px;

    /* Smooth zoom */
    transform: scale(1);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    will-change: transform;
}

/* HOVER ZOOM */
.svc-card:hover {
    transform: scale(1.05);
    z-index: 10;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 20px 40px;
}

/* Title */
.svc-card h3 {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 12px;
    letter-spacing: .2px;
}

/* Paragraph */
.svc-card p {
    font-size: 14px;
    line-height: 30px;
    margin: 0 0 22px;
    color: #1b1c1e;
}

/* Heights */
.svc-card.tall { 
    min-height: 639px; 
}

.svc-card.half { 
    min-height: 307px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
}

/* Read more button */
.read-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: #0e1f4a;
    color: #fff;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
}

.read-more .ico {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    font-size: 16px;
    line-height: 1;
}

/* Corner images */
.svc-img1 {
    width: 100%;
    object-fit: contain;
    pointer-events: none;
}

.svc-img {
    position: absolute;
    right: 18px;
    bottom: 7px;
    width: 108px;
    height: auto;
    object-fit: contain;
    pointer-events: none;
    transition: transform 0.35s ease;
}

/* Image zoom on hover */
.svc-card:hover .svc-img,
.svc-card:hover .svc-img1 {
    transform: scale(1.12);
}

/* Gradients */
.g1 {
    background:
      radial-gradient(1200px 420px at 50% 110%, rgba(255,166,63,.9), rgba(255,166,63,0) 60%),
      linear-gradient(180deg, #dfeffc 0%, #e8f0ff 36%, #ffd9a3 100%);
}
.g2 {
    background:
      radial-gradient(600px 220px at 70% 20%, rgba(255,255,255,.55), rgba(255,255,255,0) 60%),
      linear-gradient(180deg, #b2d6ff 0%, #6ab5ff 55%, #5bb3ff 100%);
}
.g3 {
    background:
      radial-gradient(900px 420px at 100% 100%, rgba(255,255,255,.45), rgba(255,255,255,0) 60%),
      linear-gradient(180deg, #f7c7c7 0%, #e6d4ff 100%);
}
.g4 {
    background:
      radial-gradient(800px 300px at 100% 100%, rgba(207,235,255,.55), rgba(207,235,255,0) 60%),
      linear-gradient(180deg, #ffffff 0%, #f5f7fb 100%);
}

/* Responsive */
@media (max-width: 1199.98px) {
    .svc-img { width: 145px; }
}

@media (max-width: 991.98px) {
    .svc-card.tall, 
    .svc-card.half {
        min-height: unset;
    }
    .svc-img {
        position: static;
        margin-top: 16px;
        width: 200px;
    }
}
