/* Section 2 Styling */
.section-2 {
    margin-top: 5rem;
    padding: 50px 5%;
    text-align: center; 
}

/* Header Styling */
.section-2 .header {
    margin-bottom: 30px;
}

.section-2 .header h1 {
    font-size: 2.7rem;
    color: #07124D;
    font-weight: bold;
    margin-bottom: 50px;
    font-family: 'Syne', sans-serif;
}

.section-2 .header p {
    font-size: 1rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
}

/* Service Container */
.services-container {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 20px 0;
}

/* Grid Layout */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Fixed 3 columns */
    gap: 30px;
    max-width: 1000px; /* Increased max-width */
    width: 100%;
    margin: 0 auto;
}

/* Service Card */
.service-card {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s ease;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-bottom: 0;
}

/* Hover Effect */
.service-card:hover {
    transform: translateY(-5px);
}

/* Service Icon */
.service-icon {
    margin-bottom: 15px;
    text-align: left;
}

.service-icon img {
    width: 30px;
    height: 30px;
    fill: #07124D;
    object-fit: contain;
}

/* Service Title */
.service-card h3 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #07124D;
    margin-bottom: 10px;
    text-align: left;
}

/* Service Content */
.service-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
    padding: 0;
    text-align: left;
}

/* ===== Responsive Design ===== */

/* Medium Screens (Tablets) */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 20px;
    }
}

/* Small Screens (Phones) */
@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: repeat(1, 1fr);
        padding: 0 15px;
    }

    .section-2 .header h1 {
        font-size: 1.8rem;
    }

    .service-card {
        padding: 20px;
        min-height: 220px;
    }
}
