@keyframes rotation {
    from {
        transform: rotateY(0deg);
    }

    to {
        transform: rotateY(-360deg);
    }
}

@keyframes rotation1 {
    from {
        transform: rotateY(0deg);
    }

    to {
        transform: rotateY(-360deg);
    }
}

@keyframes rotation2 {
    from {
        transform: rotateY(-45deg);
    }

    to {
        transform: rotateY(-405deg);
    }
}

@keyframes rotation3 {
    from {
        transform: rotateY(-90deg);
    }

    to {
        transform: rotateY(-450deg);
    }
}

@keyframes rotation4 {
    from {
        transform: rotateY(-135deg);
    }

    to {
        transform: rotateY(-495deg);
    }
}

@keyframes rotation5 {
    from {
        transform: rotateY(-180deg);
    }

    to {
        transform: rotateY(-540deg);
    }
}

@keyframes rotation6 {
    from {
        transform: rotateY(-225deg);
    }

    to {
        transform: rotateY(-585deg);
    }
}

@keyframes rotation7 {
    from {
        transform: rotateY(-270deg);
    }

    to {
        transform: rotateY(-630deg);
    }
}

@keyframes rotation8 {
    from {
        transform: rotateY(-315deg);
    }

    to {
        transform: rotateY(-675deg);
    }
}


@media (max-width: 1200px) {

    .responsibility-container {
        padding: 0 !important;
        margin-bottom: 40px;
    }

    .caursel3d {
        width: 136px;
        height: 360px;
        top: 10px;
        perspective: 1200px;
    }


    #carousel a {
        width: 136px;
        height: 300px;
    }

        #carousel a:nth-child(1) {
            transform: rotateY(0deg) translateZ(180px);
        }

        #carousel a:nth-child(2) {
            transform: rotateY(45deg) translateZ(180px);
        }

        #carousel a:nth-child(3) {
            transform: rotateY(90deg) translateZ(180px);
        }

        #carousel a:nth-child(4) {
            transform: rotateY(135deg) translateZ(180px);
        }

        #carousel a:nth-child(5) {
            transform: rotateY(180deg) translateZ(180px);
        }

        #carousel a:nth-child(6) {
            transform: rotateY(225deg) translateZ(180px);
        }

        #carousel a:nth-child(7) {
            transform: rotateY(270deg) translateZ(180px);
        }

        #carousel a:nth-child(8) {
            transform: rotateY(315deg) translateZ(180px);
        }

    .caursel3d-container {
        height: 150px;
    }
}

@media (min-width: 1200px) {


    .caursel3d {
        width: 336px;
        height: 700px;
        top: 100px;
        perspective: 2100px;
    }

    #carousel a {
        width: 336px;
        height: 500px;
        display:block;
    }

        #carousel a:nth-child(1) {
            transform: rotateY(0deg) translateZ(480px);
        }

        #carousel a:nth-child(2) {
            transform: rotateY(45deg) translateZ(480px);
        }

        #carousel a:nth-child(3) {
            transform: rotateY(90deg) translateZ(480px);
        }

        #carousel a:nth-child(4) {
            transform: rotateY(135deg) translateZ(480px);
        }

        #carousel a:nth-child(5) {
            transform: rotateY(180deg) translateZ(480px);
        }

        #carousel a:nth-child(6) {
            transform: rotateY(225deg) translateZ(480px);
        }

        #carousel a:nth-child(7) {
            transform: rotateY(270deg) translateZ(480px);
        }

        #carousel a:nth-child(8) {
            transform: rotateY(315deg) translateZ(480px);
        }

    .caursel3d-container {
        position: relative;
    }
}


@keyframes textmove {
    0% {
        transform: translateX(-8px);
    }

    25% {
        transform: translateX(0px);
    }

    50% {
        transform: translateX(8px);
    }

    100% {
        transform: translateY(0px);
    }
}


.responsibility {
    position: relative;
    padding: 40px 0 0 0;
    width: 100%;
}

    .responsibility .title {
        position: relative;
        text-align: center;
        width: 100%;
        height: 45px;
    }

    .responsibility .title-line {
        position: absolute;
        top: 45%;
        left: 50%;
        transform: translateX(-50%);
        width: 30%;
        height: 2px;
        background-color: #60c6da;
        z-index: 0;
    }

    .responsibility .title span {
        position: relative;
        color: #60c6da;
        font-size: 38px;
        padding-bottom: 5px;
        padding: 0 40px;
        background-color: #f6f6f6;
        line-height: 40px;
    }

        .responsibility .title span::before {
            content: '';
            position: absolute;
            top: 50%;
            margin-top: -4px;
            left: 0;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background-color: #60c6da;
        }

        .responsibility .title span::after {
            content: '';
            position: absolute;
            top: 50%;
            margin-top: -4px;
            right: 0;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background-color: #60c6da;
        }

    .responsibility .title span {
        background-color: #fff;
    }

.caursel3d-container {
    position: relative;
    background-position: center;
    background-size: 100% 85% !important;
    background-repeat: no-repeat !important;
    min-height: 500px;
}

/* 420,260 */
/* .carousel3d { */
.caursel3d {
    display: block;
    position: relative;
    margin: auto;
}

#carousel {
    position: absolute;
    width: 100%;
    height: 100%;
    margin: auto;
    transform-style: preserve-3d;
    animation-duration: 30s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-name: rotation;
}

    #carousel:hover {
        animation-play-state: paused;
    }

    #carousel a {
        display: block;
        position: absolute;
        left: 10px;
        top: 10px;
        overflow: hidden;
    }

.caursel3d img {
    cursor: pointer;
    transition: all .5s ease;
    width: 100%;
    height: 100%;
}

    .caursel3d img:hover {
        transform: scale(1.2, 1.2);
    }


.responsibility .more {
    bottom: 28%;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    width: 120px;
    margin: 50px auto 0 auto;
    height: 40px;
    z-index: 1;
    cursor: pointer;
    border-radius: 50px;
    color: #666;
    overflow: hidden;
    border: 1px solid #b9b9b9;
}

    .responsibility .more span {
        position: relative;
        display: inline-block;
        width: 100%;
        height: 100%;
        z-index: 1;
        font-size: 16px;
        line-height: 40px;
        overflow: hidden;
        text-align: center;
        background-color: transparent;
        -webkit-transition: all 0.4s ease 0s;
        -moz-transition: all 0.4s ease 0s;
        -o-transition: all 0.4s ease 0s;
        transition: all 0.4s ease 0s;
    }

        .responsibility .more span::after {
            content: '';
            display: block;
            position: absolute;
            width: 100%;
            height: 100%;
            border-radius: 5px;
            left: 50%;
            top: 50%;
            z-index: -1;
            background: #60c6da;
            transform: translateX(-50%) translateY(50%);
            -webkit-transition: all 0.4s ease 0s;
            -moz-transition: all 0.4s ease 0s;
            -o-transition: all 0.4s ease 0s;
            transition: all 0.4s ease 0s;
        }

    .responsibility .more:hover {
        border-color: #60c6da;
    }

    .responsibility .more span:hover {
        color: #fff;
    }

        .responsibility .more span:hover::after {
            transform: translateX(-50%) translateY(-50%);
        }

@keyframes btnWater {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.3);
        opacity: 0;
    }
}

@keyframes heart {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(10px, 0);
    }
}

@media screen and (max-width: 767px) {
    .responsibility .title-line {
        width: 80%;
    }

    .responsibility .title span {
        font-size: 24px;
        padding: 0 30px;
    }

    .caursel3d-container {
        min-height: 300px;
        height: auto;
    }

    .responsibility .more {
        bottom: 5%;
        font-size: 18px;
    }
}
