.map-image {
    position: relative;
    height: 400px;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.rotating-map {
    width: 100%;
    height: auto;
    animation: rotateMap 99s linear infinite;
    transform-origin: center;
    position: absolute;
    top: 10px;
    z-index: 1;
}

.img-12 {
    z-index: 2;
    width: 276px;
    height: auto;
    position: absolute;
    top: -327px;
    left: 29%;
    animation: improvedSway 6s ease-in-out infinite;
}

@keyframes improvedSway {
    0% {
        transform: translateX(0px) rotate(0deg);
    }

    25% {
        transform: translateX(10px) rotate(2deg);
    }

    50% {
        transform: translateX(20px) rotate(0deg);
    }

    75% {
        transform: translateX(10px) rotate(-2deg);
    }

    100% {
        transform: translateX(0px) rotate(0deg);
    }
}


@keyframes rotateMap {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes jumpBounce {
    0% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-20px);
    }

    50% {
        transform: translateY(0);
    }

    70% {
        transform: translateY(-10px);
    }

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


@keyframes sway12 {
    from {
        transform: translateX(0px);
    }

    to {
        transform: translateX(20px);
    }
}

@keyframes rockLeftRight {
    from {
        transform: rotate(-5deg);
    }

    to {
        transform: rotate(5deg);
    }
}

@keyframes handshakeShake {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-5deg);
    }

    50% {
        transform: rotate(5deg);
    }

    75% {
        transform: rotate(-5deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

@keyframes growthBouncePulse {
    0% {
        transform: translateY(0) scale(1);
    }

    20% {
        transform: translateY(-10px) scale(1.05);
    }

    40% {
        transform: translateY(-20px) scale(1.1);
    }

    60% {
        transform: translateY(-10px) scale(1.05);
    }

    80% {
        transform: translateY(0) scale(1);
    }

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

@keyframes pencilWrite {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-10deg);
    }

    50% {
        transform: rotate(0deg);
    }

    75% {
        transform: rotate(10deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

@keyframes smoothSway {
    from {
        transform: rotate(-5deg);
    }

    to {
        transform: rotate(5deg);
    }
}

@keyframes magnifyZoomTilt {
    0% {
        transform: scale(1) rotate(0deg);
    }

    25% {
        transform: scale(1.05) rotate(-2deg);
    }

    50% {
        transform: scale(1.1) rotate(0deg);
    }

    75% {
        transform: scale(1.05) rotate(2deg);
    }

    100% {
        transform: scale(1) rotate(0deg);
    }
}

.mian-image {
    margin-top: 420px;
    position: relative;
}

.img-2 {
    z-index: 4;
    width: 350px;
    height: auto;
    animation: 2s ease-in-out infinite jumpBounce;
    position: absolute;
    top: -243px;
    right: 30%;
}

.img-3 {
    z-index: 4;
    width: 170px;
    height: auto;
    animation: rockLeftRight 4s ease-in-out infinite alternate;
    position: absolute;
    top: -33px;
    right: 9%;
}

.img-7 {
    z-index: 4;
    width: 100px;
    height: auto;
    animation: 1s ease-in-out infinite alternate handshakeShake;
    position: absolute;
    top: 59px;
    left: 15%;
}

.img-9 {
    z-index: 4;
    width: 100px;
    height: auto;
    animation: 2s ease-in-out infinite growthBouncePulse;
    position: absolute;
    top: -21px;
    left: 13%;
}

.img-8 {
    z-index: 4;
    width: 100px;
    height: auto;
    animation: 4s ease-in-out infinite pencilWrite;
    position: absolute;
    top: -180px;
    left: 14%;
}

.img-10 {
    z-index: 4;
    width: 100px;
    height: auto;
    animation: 8s ease-in-out infinite alternate smoothSway;
    position: absolute;
    top: -287px;
    left: 16%;
}

.img-6 {
    z-index: 4;
    width: 100px;
    height: auto;
    animation: 3s ease-in-out infinite magnifyZoomTilt;
    position: absolute;
    top: -297px;
    right: 26%;
}

.img-5 {
    z-index: 4;
    width: 60px;
    height: auto;
    animation: 1s ease-in-out infinite alternate handshakeShake;
    position: absolute;
    top: -237px;
    right: 16%;
}

.img-4 {
    z-index: 4;
    width: 70px;
    height: auto;
    animation: 3s ease-in-out infinite magnifyZoomTilt;
    position: absolute;
    top: -140px;
    right: 22%;
}

.get-service-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: bold;
    color: #433b59;
    background: #fff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    position: absolute;
    bottom: 20px;
    left: 43%;
    z-index: 5;
    box-shadow: 0 4px 12px #000000a8;
}

.get-service-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Icon spins + slides left on hover */
.btn-icon {
    display: flex;
    /* flex ensures child (icon) centers */
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    animation: spinIcon 2s linear infinite;
    transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease, margin 0.3s ease;
    margin-right: 10px;
    overflow: hidden;
}


.get-service-btn:hover .btn-icon {
    transform: translateX(-20px);
    opacity: 0;
    width: 0;
    margin-right: 0;
    padding: 0;
}


/* Center text */
.btn-text {
    display: inline-block;
    transition: transform 0.3s ease;
}

.get-service-btn:hover .btn-text {
    transform: translateX(-10px);
}

/* Right arrow: hidden by default */
.btn-arrow {
    display: inline-block;
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.get-service-btn:hover .btn-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Spin keyframes */
@keyframes spinIcon {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .tagline_para {
        color: #9087a2;
        margin: 12px 0 0;
        padding-bottom: 0;
        font-size: 13px;
    }

    .mian-image {
        height: 150px;
        min-height: 150px;
        margin-top: 160px;
    }

    .map-image {
        height: 150px !important;
        min-height: 120px;
    }

    .rotating-map {
        width: 100%;
        top: 0;
    }

    .img-12 {
        width: 110px !important;
        top: -130px !important;
        left: 16% !important;
    }

    .img-2 {
        width: 120px !important;
        top: -86px !important;
        right: 23% !important;
    }

    .img-3 {
        width: 40px !important;
        top: -22px !important;
        right: 2% !important;
    }

    .img-7 {
        width: 30px !important;
        top: 30px !important;
        left: 3% !important;
    }

    .img-9 {
        width: 20px !important;
        top: 5px !important;
        left: 2% !important;
    }

    .img-8 {
        width: 24px !important;
        top: -60px !important;
        left: 3% !important;
    }

    .img-10 {
        width: 45px !important;
        top: -120px !important;
        left: 8% !important;
    }

    .img-6 {
        width: 24px !important;
        top: -130px !important;
        right: 9% !important;
    }

    .img-5 {
        width: 24px !important;
        top: -90px !important;
        right: 4% !important;
    }

    .img-4 {
        width: 28px !important;
        top: -110px !important;
        right: 19% !important;
    }

    .get-service-btn {
        display: none;
        font-size: 13px;
        padding: 10px 18px;
        left: 50%;
        transform: translateX(-50%);
        width: 80vw;
        min-width: 0;
        max-width: 320px;
        bottom: 10px;
    }
}