#hero {
    margin-top: 0;
}

.services-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    row-gap: 50px;
    column-gap: 20px;
    padding: 80px 20px 40px; /* increased top padding to make room for icons */
    justify-items: center;
    margin-top: -120px;
}

.service-card {
    position: relative;
    background: linear-gradient(to bottom, #000000, #007bff);
    width: 100%;
    max-width: 320px;
    border-radius: 20px;
    text-align: center;
    padding: 5.5rem 1rem 1.5rem; /* increased top padding */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    color: white;
    transition: transform 0.3s ease;
    min-height: 220px;
}

.service-card:hover {
    transform: translateY(-5px);
}

.icon-wrapper {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.icon-wrapper img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: contain;
}

.service-card h3 {
    margin-top: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
    padding: 0 15px;
}

/* Tablet (up to 768px) */
@media (max-width: 768px) {
    .services-section {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        row-gap: 50px;
        column-gap: 15px;
        padding: 60px 15px 30px; /* consistent top padding */
    }

    .service-card {
        padding-top: 4.5rem; /* adjusted for icon spacing */
    }

    .icon-wrapper img {
        width: 80px;
        height: 80px;
    }
}

/* Mobile (up to 576px) */
@media (max-width: 576px) {
    .services-section {
        grid-template-columns: 1fr;
        row-gap: 50px;
        column-gap: 10px;
        padding: 60px 15px 30px;
    }

    .service-card {
        padding-top: 4rem;
        margin-bottom: 20px;
    }

    .icon-wrapper img {
        width: 90px;
        height: 90px;
    }

    .service-card h3 {
        margin-top: 1rem;
        font-size: 1rem;
    }
}

/* ———————————————————————————— */
/*  About Section (fixed version)     */
/* ———————————————————————————— */
.about-section {
    text-align: center;
}

.about-wrapper {
    background: linear-gradient(135deg, #7E3DB5, #0057FF);
    padding: 4px;
    border-radius: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.about-container {
    background: linear-gradient(
            135deg,
            #00295D 0%,
            #00346E 25%,
            #000B38 50%,
            #0049A8 75%,
            #0069E3 100%
    );
    border-radius: 16px;
    padding: 2rem;
    color: #fff;
}

.about-container p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 38px;
    font-weight: 600;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: 0.05em;
    padding-bottom: 0;
}

.section {
    margin-top: 120px;
}

.read-more {
    margin-top: 0.5rem;
    display: inline-block;
    background: #0057FF;
    color: #fff;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.read-more:hover {
    background: #fff;
    color: #0057FF;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 20px;
}
