
.service-section {
    display: flex;
    align-items: center;
    width: 102%;
    max-width: 1400px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.0); */
    justify-content: space-between;
    flex-direction: row;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeIn 1s ease-in-out forwards;
    margin-left: -1px;
    margin-top: 10px;
    
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gif-container img {
    width: 102%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
}

.services-container {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding-left: 30px;
    text-align: center;
}

.heading {
    font-size: 26px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
    text-transform: uppercase;
}

.service-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.service {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out, background 0.3s ease-in-out;
    cursor: pointer;
    width: fit-content;
    opacity: 0;
    transform: translateX(-30px);
    animation: fadeInService 1s ease-in-out forwards;
}

.service i {
    font-size: 24px;
    color: #007bff;
    transition: color 0.3s ease-in-out;
}

.service:hover {
    transform: scale(1.05);
    background: rgba(0, 123, 255, 0.1);
}

.service:hover i {
    color: #c90101;
}

@keyframes fadeInService {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.service:nth-child(1) {
    animation-delay: 0.2s;
}

.service:nth-child(2) {
    animation-delay: 0.4s;
}

.service:nth-child(3) {
    animation-delay: 0.6s;
}

.service:nth-child(4) {
    animation-delay: 0.8s;
}

.know-more {
    margin-top: 20px;
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease-in-out, transform 0.2s;
    width: 150px;
}

.know-more:hover {
    background-color: #b3001b;
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        height: auto;
        padding: 20px;
    }

    .service-section {
        flex-direction: column;
        width: 100%;
        text-align: center;
        padding: 15px;
        margin-left: 0px;
    }

    .gif-container img {
        max-width: 100%;
        margin-left: 0;
    }

    .services-container {
        padding-left: 0;
    }
}

@media (max-width: 480px) {
    .heading {
        font-size: 22px;
    }

    .service {
        font-size: 16px;
        padding: 8px 16px;
    }

    .service i {
        font-size: 20px;
    }

    .know-more {
        font-size: 14px;
        padding: 8px 16px;
    }
}