/* ====================== BASE ====================== */
body {
    font-family: 'Source Sans 3', system-ui, sans-serif;
    background: radial-gradient(circle at top, #eef2f7, #e2e8f0);
}

.title-font {
    font-family: 'Merriweather', serif;
}

/* ====================== GRID ====================== */
.services-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

@media (min-width: 480px) {
    .services-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .services-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 26px;
    }
}

/* ====================== CARD ====================== */
.service-card {
    position: relative;

    /* ✨ GLASS + DEPTH */
    background: linear-gradient(145deg, #ffffffcc, #f8fafccc);
    backdrop-filter: blur(10px);

    border-radius: 20px;
    overflow: hidden;
    padding: 18px;

    border: 1px solid rgba(255, 255, 255, 0.4);

    /* 🔥 PREMIUM SHADOW STACK */
    box-shadow:
        0 6px 12px rgba(0,0,0,0.04),
        0 20px 40px rgba(0,0,0,0.06);

    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    animation: fadeInUp 0.6s ease backwards;
}

/* 🔥 HOVER = SEXY FLOAT */
.service-card:hover {
    transform: translateY(-10px) scale(1.01);

    box-shadow:
        0 10px 25px rgba(0,0,0,0.08),
        0 30px 60px rgba(20,61,102,0.18);
}

/* ====================== LIGHT GLOW ====================== */
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;

    background: radial-gradient(circle at top left, rgba(255,255,255,0.6), transparent 60%);
    opacity: 0.7;

    z-index: 0;
    pointer-events: none;
}

/* moving light feel */
.service-card:hover::before {
    background: radial-gradient(circle at top right, rgba(255,255,255,0.8), transparent 60%);
}

/* ====================== ICON AREA ====================== */
.service-card > div:first-child {
    background: linear-gradient(145deg, #f8fafc, #e2e8f0);
    border-radius: 16px;

    padding: 24px;
    margin-bottom: 14px;

    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: inset 0 2px 6px rgba(0,0,0,0.05);

    z-index: 1;
}

/* ====================== ICON ====================== */
.service-card i {
    font-size: 72px;
    color: #143d66;

    transition: all 0.35s ease;
}

/* responsive scaling */
@media (min-width: 480px) {
    .service-card i {
        font-size: 84px;
    }
}

@media (min-width: 768px) {
    .service-card i {
        font-size: 92px;
    }
}

/* 🔥 ICON ANIMATION */
.service-card:hover i {
    transform: scale(1.12) rotate(3deg);
    color: #c0392b;
}

/* ====================== TEXT ====================== */
.service-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 6px;
}

@media (min-width: 768px) {
    .service-card h3 {
        font-size: 18px;
    }
}

.service-card p {
    font-size: 13px;
    color: #475569;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .service-card p {
        font-size: 14px;
    }
}

/* ====================== LINK ====================== */
.service-card a {
    margin-top: 10px;

    font-size: 13px;
    font-weight: 500;
    color: #c0392b;

    display: inline-flex;
    align-items: center;
    gap: 6px;

    transition: all 0.25s ease;
}

.service-card a:hover {
    gap: 12px;
}

.service-card a span {
    transition: transform 0.25s ease;
}

.service-card a:hover span {
    transform: translateX(6px);
}

/* ====================== RED CARD ====================== */
.service-card.border-l-8 {
    border-left: 5px solid #c0392b;

    /* 🔥 subtle red glow */
    background: linear-gradient(145deg, #fff5f5, #ffffff);
}

/* top area */
.service-card.border-l-8 > div:first-child {
    background: linear-gradient(145deg, #ffe5e5, #fff1f1);
}

/* ====================== SCROLLBAR ====================== */
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

/* ====================== ANIMATION ====================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* stagger */
.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.15s; }
.service-card:nth-child(3) { animation-delay: 0.2s; }
.service-card:nth-child(4) { animation-delay: 0.25s; }
.service-card:nth-child(5) { animation-delay: 0.3s; }
.service-card:nth-child(6) { animation-delay: 0.35s; }
.service-card:nth-child(7) { animation-delay: 0.4s; }
.service-card:nth-child(8) { animation-delay: 0.45s; }