.fed-services {
    padding: 40px 60px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-img {
    width: 100%;
    background: #fff;
    height: 265px;
    object-fit: contain;
    border-radius: 10px;
    border: 6px double #0d6efd30;
}

.service-card {
    padding: 15px;
    background: #b0b0b036;
    text-align: center;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}

/* Hover effect */
.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    background: #b0b0b050;
    /* slightly darker on hover */
}

/* Subtle animated border using pseudo-element */
.service-card::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 12px;
    background: linear-gradient(270deg, rgba(255, 255, 255, 0.3), rgba(200, 200, 200, 0.3), rgba(255, 255, 255, 0.3));
    background-size: 600% 600%;
    z-index: -1;
    animation: borderMove 6s linear infinite;
}

@keyframes borderMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}


.service-card h1 {
    padding: 20px 0px 10px 0px;
    text-align: center;
    /* Centered text */
    text-transform: uppercase;
    font-size: 22px;
    font-weight: 700;
    color: #0d6efd;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease, transform 0.3s ease;
    animation: fadeInDown 0.6s ease forwards;
}

/* Underline animation on hover */
.service-card h1::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -5px;
    width: 0%;
    height: 3px;
    background: #0d6efd;
    transition: width 0.3s ease;
}

.service-card h1:hover {
    color: #084298;
    transform: translateY(-3px);
}

.service-card h1:hover::after {
    width: 100%;
}

/* Keyframe animation */
@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-15px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


ul.feature-list {
    list-style: none;
    padding: 0;
    max-width: 350px;
    margin: auto;
}

ul.feature-list li {
    background: white;
    margin: 10px 0;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    font-size: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

ul.feature-list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
    transition: color 0.3s ease;
}

ul.feature-list li i {
    font-size: 1.2rem;
    color: #0d6efd;
    width: 25px;
    text-align: center;
}

ul.feature-list li:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

ul.feature-list li:hover a {
    color: #0d6efd;
}

@media only screen and (max-width: 1280px) {}

@media only screen and (max-width: 1199px) {}

@media only screen and (max-width: 1150px) {}

@media only screen and (max-width: 1024px) {
    .fed-services {
        padding: 40px;
    }
}

@media only screen and (max-width: 991px) {}

@media only screen and (max-width: 767px) {}

@media only screen and (max-width: 768px) {}

@media only screen and (max-width: 575px) {
    .fed-services {
        padding: 20px;
    }
}

@media only screen and (max-width: 425px) {}

@media only screen and (max-width: 375px) {}