    /* General Styles */
    * {
        box-sizing: border-box;
        font-family: 'Poppins', sans-serif;
    }

    .service-container {
        font-family: Arial, sans-serif;
        display: flex;
        flex-direction: column;
    }

    .training-section,
    .services-section {
        padding: 60px 20px 30px;
        border-radius: 10px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    .training-section h2,
    .services-section h2 {
        font-size: 2rem;
        font-weight: bold;
        color: #0082fe;
        text-align: center;
        margin-bottom: 20px;
    }

    .training-section p,
    .services-section p {
        font-size: 1.1rem;
        line-height: 1.8;
        color: #333;
        text-align: justify;
        margin: 0 auto;
    }


    .card-box {
        display: flex;
        justify-content: space-around;
        align-items: center;
        margin: 50px 0;

    }

    .card-box:nth-of-type(1) {
        margin-top: 100px;
    }

    .card-desc {
        width: 500px;
        height: 400px;
        background-color: #ffffff;
        border-radius: 20px;
        padding: 50px 0px;
    }

    /* Description styling */
    .card-box p {
        padding: 20px;
        font-size: 15px;
        color: #333;
        line-height: 1.6;
        text-align: justify;
    }

    .card-box h2 {
        background: #0077b6;
        color: #fff;
        margin: 0;
        padding: 12px;
        font-size: 20px;
        text-align: center;
    }

    /* Register button */
    .card-box a {
        display: block;
        /* margin: 0 auto 20px auto; */
        padding: 12px 24px;
        font-size: 15px;
        font-weight: bold;
        background: linear-gradient(135deg, #0077b6, #00b4d8);
        color: white;
        border: none;
        border-radius: 30px;
        cursor: pointer;
        transition: background 0.3s, transform 0.3s;

    }

    .card-box a:hover {
        background: linear-gradient(135deg, #00b4d8, #0077b6);
        transform: scale(1.05);
        box-shadow: 0 6px 15px rgba(0, 183, 255, 0.4);
    }


    .card {
        position: relative;
        width: 600px;
        height: 400px;
        margin: 20px 0;
        /* left: 5%; */
        display: flex;
        justify-content: space-around;
        align-items: center;
        background: white;
        border-radius: 20px;
        box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    }

    .card img {
        width: 150px;
        height: 150px;
        border-radius: 50%;
        left: 15%;
        object-fit: cover;
        position: absolute;
        z-index: 2;
        /* Keeps the image always visible */
    }

    .services-container {
        position: absolute;
        width: 100%;
        height: 100%;
    }

    .service {
        position: absolute;
        /* width: 120px; */
        width: max-content;
        padding: 10px;
        margin-left: -20%;
        text-align: center;
        background: #fff;
        border: 1px solid #000;
        border-radius: 8px;
        box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
        opacity: 0;
        transform: scale(0.8);
        transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    }

    .fade-element {
        opacity: 0;
        /* transform: scale(0.8); */
        transition: opacity 1.5s ease-in-out, transform 2s ease-in-out;
    }


    /* .length {
    width: max-content;
  } */

    /* Positioning services like clock numbers */
    .service-12 {
        top: 10%;
        left: 50%;
        transform: translateX(-50%);
    }

    .service-1 {
        top: 25%;
        left: 70%;
    }

    .service-3 {
        top: 50%;
        left: 90%;
        transform: translateY(-50%);
    }

    .service-4 {
        top: 65%;
        left: 70%;
    }

    .service-5 {
        top: 80%;
        left: 50%;
        transform: translateX(-50%);
    }

    /* Animations */
    .fade-in {
        opacity: 1 !important;
        /* transform: scale(1); */
    }

    .card-box .card,
    .card-box .card-desc {
        transform: scale(1);
        transition: transform 0.3s ease-in-out;
    }

    /* Hover on card → scale card-desc */
    .card-box .card:hover+.card-desc {
        transform: scale(0.8);
    }

    /* Hover on card-desc → scale card */
    .card-box .card-desc:hover~.card {
        transform: scale(0.8);
    }


    .first {
        flex-direction: row;
    }

    .second {
        flex-direction: row-reverse;
    }

    @media (max-width: 991px) {

        .card {
            width: 350px;
        }

        .card-box {
            flex-direction: column;
            /* margin: 0px; */
        }

        .card img {
            left: 5%;
        }

        .card-desc {
            width: 350px;
            height: 400px;
            margin: 25px 0;
            padding: 0px;
        }

        .service {
            margin-left: -28%;
        }

        .fade-element {
            opacity: 1 !important;
            transform: none !important;
            transition: none !important;
        }

        .card-desc::after {
            display: none;
            /* Remove the gradient overlay */
        }

        .services-container {
            font-size: 10px;
        }

        .first, .second {
            flex-direction: column-reverse;
        }

        .training-section h2,
        .services-section h2 {
            font-size: 1.3rem;
        }
    
    }