/* =====================================================
   Service Cards Shortcode — service-cards.css
   Place in: /wp-content/plugins/service-cards-slider/assets/
===================================================== */

.scs-wrapper {
    width: 100%;
    padding-bottom: 16px;
font-family: 'Poppins', sans-serif;
}

/* ── Swiper overrides ── */
.scs-swiper {
    width: 100%;
    padding-bottom: 55px !important;
}

/* ── CARD ── */
.scs-card {
    display: flex;
    height: 240px;
    background: #fff;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    position: relative;
    overflow: hidden;
    transition: transform 0.45s ease, box-shadow 0.45s ease;
}

/* Green left accent bar */
.scs-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: #1A5AC2	;
    z-index: 3;
}

.scs-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

/* ── IMAGE SIDE ── */
.scs-card__image {
    width: 44%;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.scs-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease, filter 0.6s ease;
    filter: brightness(1) contrast(1);
}

/* Burn overlay */
.scs-card__burn {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center,
        rgba(255,160,30,0) 0%,
        rgba(200,60,0,0) 55%,
        rgba(60,10,0,0) 100%);
    mix-blend-mode: multiply;
    transition: background 0.6s ease, opacity 0.6s ease;
    opacity: 0;
    z-index: 1;
}

.scs-card:hover .scs-card__image img {
    transform: scale(1.1);
    filter: brightness(0.75) contrast(1.3) saturate(1.4);
}

.scs-card:hover .scs-card__burn {
    background: radial-gradient(ellipse at center,
        rgba(255,160,30,0.45) 0%,
        rgba(200,60,0,0.6) 55%,
        rgba(60,10,0,0.75) 100%);
    opacity: 1;
}

/* ── ICON BADGE ── */
.scs-card__icon {
    position: absolute;
    bottom: -12px; right: -12px;
    width: 80px; height: 80px;
    background: #1A5AC2	;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 4px 18px rgba(26,90,194,0.45)	;
    transition: transform 0.4s ease, background 0.3s;
}

.scs-card__icon svg {
    width: 36px; height: 36px;
}

.scs-card:hover .scs-card__icon {
    transform: scale(1.12) rotate(8deg);
    background: #1549a8;
}

/* ── CONTENT SIDE ── */
.scs-card__content {
    padding: 28px 24px 26px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    position: relative;
    z-index: 2;
    transition: background 0.45s ease;
}

/* Glassmorphism on hover */
.scs-card__content::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0);
    backdrop-filter: blur(0px) saturate(1);
    -webkit-backdrop-filter: blur(0px) saturate(1);
    border-left: 1px solid rgba(255,255,255,0);
    transition: background 0.45s ease, backdrop-filter 0.45s ease, border-color 0.45s ease;
    z-index: -1;
    pointer-events: none;
}

.scs-card:hover .scs-card__content::before {
    background: rgba(220,232,255,0.55);
    backdrop-filter: blur(14px) saturate(1.8);
    -webkit-backdrop-filter: blur(14px) saturate(1.8);
    border-left: 1px solid rgba(26,90,194,0.3)	;
}

/* Title */
.scs-card__title {
     font-family: 'DM Sans', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 8px;
    line-height: 1.2;
    transition: color 0.3s;
}

.scs-card:hover .scs-card__title { color: #0f3a8a	; }

/* Description */
.scs-card__desc {
    font-size: 13px;
    color: #777;
    line-height: 1.65;
    margin: 0 0 16px;
    flex: 1;
}

/* Read More link */
.scs-card__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #1a1a2e;
    text-decoration: none;
    transition: color 0.3s;
}

.scs-card__arrow {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: #1a1a2e;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.3s, transform 0.3s;
}

.scs-card__arrow svg { width: 12px; height: 12px; }

.scs-card:hover .scs-card__arrow {
    background: #1A5AC2	;
    transform: translateX(4px);
}

.scs-card:hover .scs-card__link { color: #1040a0; }

/* ── PAGINATION DOTS ── */
.scs-pagination {
    bottom: 10px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.scs-pagination .swiper-pagination-bullet {
    width: 8px; height: 8px;
    background: transparent;
    border: 2px solid #bbb;
    border-radius: 50%;
    opacity: 1;
    margin: 0 !important;
    transition: all 0.35s ease;
    position: relative;
}

.scs-pagination .swiper-pagination-bullet::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    background: transparent;
    transition: background 0.35s ease;
}

.scs-pagination .swiper-pagination-bullet-active {
    border-color: #1A5AC2	;
    width: 30px;
    border-radius: 10px;
}

.scs-pagination .swiper-pagination-bullet-active::after {
    background: #1A5AC2	;
    border-radius: 8px;
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
    .scs-card {
        flex-direction: column;
        height: auto;
    }
    .scs-card__image {
        width: 100%;
        height: 200px;
    }
    .scs-card__icon {
        bottom: -12px;
        right: 12px;
    }
}
