.services-section {
    padding: 6rem 0;
    background: #f4f9fa; /* Light Teal background tint */
    font-family: 'Inter', -apple-system, sans-serif;
    color: #333333;
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box;
}

.services-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.services-section-title {
    font-family: 'Poppins', -apple-system, sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #0b2240; /* Primary Deep Navy Blue */
    margin: 0;
}

.services-section-title span {
    color: #008080; /* Primary Teal */
}

.services-section-subtitle {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #666666;
    margin: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.service-card {
    background: #ffffff;
    border: 1px solid rgba(15, 82, 186, 0.05);
    border-bottom: 4px solid rgba(0, 128, 128, 0.1); /* Thin bottom teal border default */
    border-radius: 16px;
    padding: 2.5rem 1.75rem;
    text-align: left;
    box-shadow: 0 8px 30px rgba(15, 82, 186, 0.02);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    box-sizing: border-box;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(15, 82, 186, 0.08);
    border-bottom-color: #008080; /* Accent Teal border hover */
}

.service-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(0, 128, 128, 0.08);
    border-radius: 14px;
    font-size: 2rem;
    color: #008080;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon-box {
    background: #008080;
    color: #ffffff;
    transform: rotateY(180deg);
}

.service-title {
    font-family: 'Poppins', -apple-system, sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0b2240;
    margin: 0;
    line-height: 1.3;
}

.service-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666666;
    margin: 0;
}

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .services-section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 4rem 0;
    }
    .services-header {
        margin-bottom: 2.5rem;
        padding: 0 1rem;
    }
    .services-section-title {
        font-size: 2rem;
    }
    .services-grid {
        gap: 1.25rem;
    }
}

@media (max-width: 580px) {
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }
    .service-card {
        padding: 2rem 1.5rem;
        text-align: center;
        align-items: center;
    }
}