/* Services Section */
#services {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    background-color: #f4f4f4;
}

.services-container {
    width: 100%;
    max-width: 1200px;
}

.services-header h2 {
    font-size: 36px;
    color: #1E3A61;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.services-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    justify-content: center;
}

.service-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(30, 58, 97, 0.1);
}

.service-card::after {
    content: "";
    position: absolute;
    top: 150%;
    left: -200px;
    width: 120%;
    transform: rotate(50deg);
    background-color: #1E3A61;
    height: 18px;
    filter: blur(30px);
    opacity: 0.4;
    transition: all 1s ease;
}

.service-card:hover::after {
    width: 225%;
    top: -100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-color: #1E3A61;
    cursor: pointer;
}

.service-card i {
    font-size: 48px;
    color: #1E3A61;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.service-card:hover i {
    color: #00a8cc;
}

.service-card h3 {
    font-size: 20px;
    color: #1E3A61;
    margin-bottom: 10px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: #00a8cc;
}

.service-card p {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.service-card:hover p {
    color: #333;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-cards {
        grid-template-columns: repeat(1, 1fr);
    }

    .services-header h2 {
        font-size: 32px;
    }
}
