/* Services Section Layout */
.services-section {
    background-color: #f8fafc;
    padding: 80px 0;
}

.services-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.services-left {
    flex: 0 0 280px;
    position: sticky;
    top: 100px;
}

.services-title {
    font-size: 26px;
    font-weight: 400;
    color: #334155;
    line-height: 1.3;
}

.services-title .bold-title {
    font-weight: 800;
    color: #002b66;
}

.title-bar {
    width: 40px;
    height: 3px;
    background-color: #ff5500;
    margin-top: 12px;
}

/* 3-Column Grid Layout */
.services-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 43, 102, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 43, 102, 0.1);
}

.card-image-wrapper {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 20%, rgba(0, 43, 102, 0.85) 100%);
}

.card-title-overlay {
    position: absolute;
    bottom: 12px;
    left: 14px;
    right: 14px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    z-index: 2;
}

.card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.card-description {
    font-size: 11px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 20px;
}

.card-know-more {
    font-size: 11px;
    font-weight: 700;
    color: #002b66;
    text-decoration: none;
    transition: color 0.2s ease;
}

.card-know-more:hover {
    color: #ff5500;
}

/* Responsive Layout */
@media (max-width: 1024px) {
    .services-container {
        flex-direction: column;
    }
    .services-left {
        position: static;
        flex: 100%;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}