/* ================================================
   SECTION 2: SERVICE CARDS (Modern Premium Layout)
   ================================================ */

.service-cards {
    display: block;
    margin: 0;
    margin-top: 4px;
    padding-top: 0;
    width: 100%;
}

.service-cards__container {
    display: flex;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    gap: 4px;
}

/* Premium Floating Card Base */
.service-card {
    flex: 1;
    height: 450px;
    position: relative;
    overflow: hidden;
    border-radius: 0;
    background: #0b1220;
    border: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1;
}

/* Float-up, border gradient activation, and glow on hover */
.service-card:hover {
    z-index: 2;
    transform: none !important;
}

/* Glowing background overlay on hover */
.service-card__glow {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(159, 231, 240, 0.25) 0%, transparent 70%);
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover .service-card__glow {
    opacity: 1;
}

/* Background Image Zoom Transition */
.service-card__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1;
}

.service-card:hover .service-card__image {
    transform: scale(1.08);
}

/* Dark elegant gradient overlay on background image */
.service-card__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(to right, rgba(11, 18, 32, 0.85) 0%, rgba(11, 18, 32, 0.5) 45%, rgba(11, 18, 32, 0) 85%),
        linear-gradient(to top, rgba(11, 18, 32, 0.95) 0%, rgba(11, 18, 32, 0.4) 60%, rgba(11, 18, 32, 0.1) 100%);
    z-index: 2;
    transition: all 0.4s ease;
}

.service-card:hover .service-card__image::after {
    background: 
        linear-gradient(to right, rgba(11, 18, 32, 0.9) 0%, rgba(11, 18, 32, 0.6) 50%, rgba(11, 18, 32, 0) 90%),
        linear-gradient(to top, rgba(11, 18, 32, 0.98) 0%, rgba(11, 18, 32, 0.5) 60%, rgba(11, 18, 32, 0.2) 100%);
}

/* Decorative Divider Section Header */
.services-header-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin: 60px auto 45px auto;
    max-width: 1240px;
    padding: 0 20px;
}

.divider-line {
    flex: 1;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, rgba(22, 81, 160, 0.25) 50%, transparent);
    position: relative;
}

.divider-line::after {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 7px;
    height: 7px;
    background-color: #1651a0;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(22, 81, 160, 0.6);
}

.divider-content {
    text-align: center;
    padding: 0 10px;
}

.divider-subtitle {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #1651a0;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 8px;
    opacity: 0.85;
}

.divider-title {
    font-size: 28px;
    font-weight: 800;
    color: #1a2332;
    margin: 0;
    position: relative;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Content Area inside Cards */
.service-card__content {
    position: absolute;
    inset: 0;
    padding: 40px 32px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    color: #ffffff;
    justify-content: flex-start;
}

/* Glassmorphic SVG Icon Wrapper */
.service-card__icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #9fe7f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: auto;
    /* Push content downwards */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-card:hover .service-card__icon-wrapper {
    background: linear-gradient(135deg, #1651a0, #9fe7f0);
    border-color: transparent;
    color: #ffffff;
    transform: rotate(8deg) scale(1.08);
    box-shadow: 0 0 16px rgba(159, 231, 240, 0.45);
}

.service-card__icon {
    width: 22px;
    height: 22px;
    stroke-width: 2;
}

.service-card__title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
    color: #ffffff;
    letter-spacing: 0.2px;
    /* 2 satirlik sabit alan: kartlar arasi baslik hizasi esitlenir */
    min-height: calc(22px * 1.3 * 2);
    display: flex;
    align-items: flex-start;
}

.service-card__list {
    list-style: none;
    margin: 0 0 16px 0;
    padding: 0;
    /* En uzun listeye (5 madde) gore sabit alan */
    min-height: calc((13px * 1.5 + 6px) * 5);
}

.service-card__list li {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 6px;
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-card__list li::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #ffffff;
    flex-shrink: 0;
}

.service-card__desc {
    font-size: 15.5px;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0;
    max-width: 100%;
    /* 3 satirlik sabit alan */
    min-height: calc(13px * 1.6 * 3);
}

/* Text Action Link (Clean underline instead of blocky buttons) */
.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-decoration: none !important;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 10px 20px;
    border-radius: 8px;
    width: fit-content;
    /* Butonlar her kartta ayni hizada bitsin */
    margin-top: auto;
}

.service-card:hover .service-card__link {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

.service-card__arrow {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover .service-card__arrow {
    transform: translateX(6px);
}

/* Responsive styles */
@media (max-width: 1024px) {
    .service-cards {
        margin-top: 0;
    }

    .service-cards__container {
        flex-direction: column;
        gap: 0;
        padding: 0;
        margin-bottom: 0;
    }

    .services-header-divider {
        margin: 40px auto 24px auto;
        gap: 20px;
    }

    .divider-title {
        font-size: 22px;
    }

    .service-card {
        width: 100%;
        height: 380px;
    }

    .service-card__content {
        padding: 28px;
        justify-content: center;
    }

    /* Kartlar alt alta dizildiginde sabit yukseklik rezervine gerek yok */
    .service-card__title,
    .service-card__list,
    .service-card__desc {
        min-height: 0;
    }

    .service-card__desc {
        margin-bottom: 20px;
    }

    .service-card__link {
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .services-header-divider {
        margin: 30px auto 20px auto;
        gap: 15px;
    }

    .divider-title {
        font-size: 20px;
    }

    .divider-subtitle {
        font-size: 9px;
        letter-spacing: 2px;
    }

    .service-card {
        height: 340px;
    }

    .service-card__title {
        font-size: 18px;
    }

    .service-card__list {
        display: none;
        /* Hide bullets on mobile to save vertical space */
    }

    .service-card__desc {
        font-size: 12px;
        margin-bottom: 14px;
    }
}

@media (max-width: 480px) {
    .service-card {
        height: 300px;
    }
}