/* ===== SERVICES SECTION ===== */

.services-section {
    max-width: 1100px;
    margin: 60px auto;
    padding: 20px;
}

.services-title {
    text-align: center;
    margin-bottom: 40px;
}

.services-title h2 {
    font-size: 32px;
    color: #1a2b4c;
}

.services-title p {
    color: #6b7a90;
}

/* ===== GRID ===== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* ===== CARD (NEW SYSTEM) ===== */

.card {
    position: relative;
    border-radius: 14px;
    padding: 25px;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    overflow: hidden;
    transition: all 0.3s ease;
}

.card-link-wrapper {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* BACKGROUND IMAGE */
.card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.35;
    transition: 0.4s ease;
}

/* OVERLAY FOR READABILITY */
.card-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0.75),
        rgba(255,255,255,0.95)
    );
}

/* CONTENT ABOVE IMAGE */
.card-content {
    position: relative;
    z-index: 2;
}

/* TEXT */
.card h3 {
    margin-bottom: 10px;
    color: #1a2b4c;
}

.card p {
    color: #6b7a90;
    font-size: 14px;
}

/* LEARN MORE */
.learn-more {
    display: inline-block;
    margin-top: 12px;
    font-weight: 600;
    color: #2f7fbf;
}

/* ===== HOVER EFFECT ===== */

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(13, 37, 63, 0.12);
}

.card:hover .card-bg {
    opacity: 0.5;
    transform: scale(1.05);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}


