/**
 * PLS Service Style Two - CSS
 * Based on Emu HTML Template
 */

/* ========== MAIN SECTION ========== */
.pls-service-style-two-section {
    position: relative;
    padding: 100px 0 90px;
    overflow: hidden;
}

.pls-service-style-two-section .auto-container {
    position: static;
    max-width: 1200px;
    padding: 0 15px;
    margin: 0 auto;
}

/* ========== SECTION TITLE ========== */
.pls-service-style-two-section .sec-title {
    position: relative;
    display: block;
    margin-bottom: 55px;
}

.pls-service-style-two-section .sec-title.centred {
    text-align: center;
}

.pls-service-style-two-section .sec-title .title-two {
    position: relative;
    margin-bottom: 8px;
}

.pls-service-style-two-section .sec-title .title-two p {
    position: relative;
    font-size: 18px;
    line-height: 30px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #444444;
    margin: 0;
}

.pls-service-style-two-section .sec-title .title-two span {
    position: relative;
    top: 3px;
    font-size: 24px;
    color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background: -webkit-linear-gradient(90deg, #f66f25, #fdc032 50%);
    -webkit-background-clip: text;
}

.pls-service-style-two-section .sec-title h3 {
    position: relative;
    font-size: 36px;
    line-height: 47px;
    color: #161616;
    font-weight: 700;
    margin: 0;
}

/* ========== BUBBLE BOX ========== */
.pls-service-style-two-section .bubble-box {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    max-width: 1920px;
    width: 100%;
    height: 100%;
    margin: 0 auto;
}

.pls-service-style-two-section .bubble-box .bubble {
    position: absolute;
    background-repeat: no-repeat;
}

.pls-service-style-two-section .bubble-box .bubble-1 {
    width: 203px;
    height: 203px;
    left: 280px;
    top: 160px;
    -webkit-animation: pls-zoom-fade 4s infinite linear;
    animation: pls-zoom-fade 4s infinite linear;
}

.pls-service-style-two-section .bubble-box .bubble-2 {
    width: 167px;
    height: 167px;
    right: 110px;
    bottom: 250px;
    -webkit-animation: pls-zoom-fade 3s infinite linear;
    animation: pls-zoom-fade 3s infinite linear;
}

/* ========== INNER CONTENT ========== */
.pls-service-style-two-section .inner-content {
    position: relative;
}

.pls-service-style-two-section .inner-content .bg-layer {
    position: absolute;
    width: 100%;
    height: 690px;
    left: 0;
    top: 10px;
    right: 0;
    background-repeat: no-repeat;
    background-position: center;
}

/* ========== SERVICE BLOCK TWO ========== */
.pls-service-style-two-section .service-block-two {
    position: relative;
    margin-bottom: 50px;
    z-index: 1;
}

.pls-service-style-two-section .service-block-two .inner-box {
    position: relative;
    display: block;
    text-align: center;
    max-width: 340px;
    width: 100%;
    overflow: hidden;
    border-radius: 15px;
    padding: 37px 30px 25px;
    box-shadow: 0 10px 20px rgba(54, 208, 249, 0.5);
    transition: all 500ms ease;
}

.pls-service-style-two-section .service-block-two .inner-box:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2) !important;
}

/* Specific card gradient backgrounds */
.pls-service-style-two-section .content-column:first-child .service-block-two:last-child .inner-box {
    background: linear-gradient(90deg, #fcb731, #f67526 50%);
    box-shadow: 0 10px 20px rgba(246, 117, 38, 0.5);
}

.pls-service-style-two-section .content-column:last-child .service-block-two:first-child .inner-box {
    background: linear-gradient(90deg, #862ff1, #083ca7 50%);
    box-shadow: 0 10px 20px rgba(8, 60, 167, 0.5);
}

.pls-service-style-two-section .content-column:last-child .service-block-two:last-child .inner-box {
    background: linear-gradient(90deg, #fe6f7b, #fa5b9d 50%);
    box-shadow: 0 10px 20px rgba(250, 91, 157, 0.5);
}

/* First card default gradient */
.pls-service-style-two-section .content-column:first-child .service-block-two:first-child .inner-box {
    background: linear-gradient(90deg, #51e6ed, #36d0f9 50%);
}

/* Hover effect */
.pls-service-style-two-section .service-block-two .inner-box:before {
    position: absolute;
    content: '';
    background: #fff;
    width: 100%;
    height: 0%;
    left: 0;
    bottom: 0;
    right: 0;
    transition: all 500ms ease;
    z-index: 0;
}

.pls-service-style-two-section .service-block-two .inner-box:hover:before {
    height: 100%;
    top: 0;
}

.pls-service-style-two-section .service-block-two .inner-box:hover {
    padding-bottom: 65px;
    margin-bottom: -40px;
}

/* Pattern layer */
.pls-service-style-two-section .service-block-two .inner-box .pattern-layer {
    position: absolute;
    left: -20px;
    top: -120px;
    width: 290px;
    height: 240px;
    background-repeat: no-repeat;
    -webkit-animation: pls-zoom-fade 3s infinite linear;
    animation: pls-zoom-fade 3s infinite linear;
    z-index: 0;
}

/* Icon box */
.pls-service-style-two-section .service-block-two .inner-box .icon-box {
    position: relative;
    display: block;
    width: var(--icon-size, 60px);
    min-height: var(--icon-size, 60px);
    margin: 0 auto 9px;
    z-index: 1;
    transition: all 500ms ease;
}

.pls-service-style-two-section .service-block-two .inner-box .icon-box img {
    width: 100%;
    height: auto;
    transition: all 500ms ease;
}

.pls-service-style-two-section .service-block-two .inner-box:hover .icon-box img {
    transform: scale(1.05);
}

/* Title */
.pls-service-style-two-section .service-block-two .inner-box h3 {
    position: relative;
    display: block;
    font-size: 24px;
    line-height: 32px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 11px;
    transition: all 500ms ease;
    z-index: 1;
}

.pls-service-style-two-section .service-block-two .inner-box h3 a {
    color: #fff;
    text-decoration: none;
    transition: all 500ms ease;
}

.pls-service-style-two-section .service-block-two .inner-box:hover h3,
.pls-service-style-two-section .service-block-two .inner-box:hover h3 a {
    color: #161616;
}

.pls-service-style-two-section .service-block-two .inner-box h3 a:hover {
    color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background: -webkit-linear-gradient(0deg, #00b1ff, #0088ff 50%);
    -webkit-background-clip: text;
}

/* Text */
.pls-service-style-two-section .service-block-two .inner-box .text {
    position: relative;
    margin-bottom: 10px;
    z-index: 1;
}

.pls-service-style-two-section .service-block-two .inner-box .text p {
    font-size: 15px;
    line-height: 26px;
    color: #fff;
    margin: 0;
    transition: all 500ms ease;
}

.pls-service-style-two-section .service-block-two .inner-box:hover .text p {
    color: #444444;
}

/* Link */
.pls-service-style-two-section .service-block-two .inner-box .link {
    position: relative;
    z-index: 1;
}

.pls-service-style-two-section .service-block-two .inner-box .link a {
    position: absolute;
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
    font-size: 14px;
    line-height: 24px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #444444;
    text-decoration: none;
    transition: all 500ms ease;
    white-space: nowrap;
}

.pls-service-style-two-section .service-block-two .inner-box:hover .link a {
    top: 10px;
}

.pls-service-style-two-section .service-block-two .inner-box .link a:hover {
    color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background: -webkit-linear-gradient(0deg, #00b1ff, #0088ff 50%);
    -webkit-background-clip: text;
}

.pls-service-style-two-section .service-block-two .inner-box .link i {
    position: relative;
    top: 1px;
    margin-left: 8px;
    color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background: -webkit-linear-gradient(0deg, #00b1ff, #0088ff 50%);
    -webkit-background-clip: text;
}

/* ========== CENTER IMAGE BOX ========== */
.pls-service-style-two-section .image-box {
    position: relative;
    display: block;
    text-align: center;
    margin: 0 -75px;
}

.pls-service-style-two-section .image-box .dotted-box {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    right: 0;
}

.pls-service-style-two-section .image-box .dotted-box .dotted {
    position: absolute;
    border-radius: 50%;
    background: #f5a93f;
    opacity: 0.8;
}

.pls-service-style-two-section .image-box .dotted-box .dotted-1 {
    width: 25px;
    height: 25px;
    left: 130px;
    bottom: 185px;
    -webkit-animation: pls-zoom-fade 4s infinite linear;
    animation: pls-zoom-fade 4s infinite linear;
}

.pls-service-style-two-section .image-box .dotted-box .dotted-2 {
    right: 180px;
    bottom: 215px;
    width: 16px;
    height: 16px;
    background: #36d0f9;
    -webkit-animation: pls-zoom-fade 3s infinite linear;
    animation: pls-zoom-fade 3s infinite linear;
}

.pls-service-style-two-section .image-box .dotted-box .dotted-3 {
    right: 135px;
    bottom: 185px;
    width: 30px;
    height: 30px;
    background: #083ca7;
    -webkit-animation: pls-zoom-fade 5s infinite linear;
    animation: pls-zoom-fade 5s infinite linear;
}

.pls-service-style-two-section .image-box .dotted-box .dotted-4 {
    right: 180px;
    bottom: 155px;
    width: 10px;
    height: 10px;
    background: #fa5b9d;
    -webkit-animation: pls-zoom-fade 3.5s infinite linear;
    animation: pls-zoom-fade 3.5s infinite linear;
}

.pls-service-style-two-section .image-box img {
    width: 100%;
    display: inline-block;
}

/* ========== CONTENT COLUMNS LAYOUT ========== */
.pls-service-style-two-section .content-column:first-child {
    padding-top: 150px;
}

.pls-service-style-two-section .content-column:last-child {
    padding-top: 75px;
}

.pls-service-style-two-section .sec-title {
    margin-bottom: 20px;
}

.pls-service-style-two-section .content-column:first-child .service-block-two:first-child {
    margin-left: 50px;
}

.pls-service-style-two-section .content-column:last-child .service-block-two:last-child {
    margin-left: 30px;
}

.pls-service-style-two-section .content-column:last-child .service-block-two:first-child {
    left: -20px;
}

/* ========== ANIMATIONS ========== */
@-webkit-keyframes pls-zoom-fade {
    0% {
        -webkit-transform: scale(0.9);
        transform: scale(0.9);
        opacity: 0.5;
    }
    50% {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 1;
    }
    100% {
        -webkit-transform: scale(0.9);
        transform: scale(0.9);
        opacity: 0.5;
    }
}

@keyframes pls-zoom-fade {
    0% {
        -webkit-transform: scale(0.9);
        transform: scale(0.9);
        opacity: 0.5;
    }
    50% {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 1;
    }
    100% {
        -webkit-transform: scale(0.9);
        transform: scale(0.9);
        opacity: 0.5;
    }
}

@-webkit-keyframes pls-rotateme {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes pls-rotateme {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.pls-service-style-two-section .rotate-me {
    -webkit-animation-name: pls-rotateme;
    animation-name: pls-rotateme;
    -webkit-animation-duration: 30s;
    animation-duration: 30s;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
}

/* ========== ICON SIZE RESPONSIVE ========== */
/* Large (lg) - >= 992px */
@media (min-width: 992px) {
    .pls-service-style-two-section .service-block-two .inner-box .icon-box {
        width: var(--icon-size-lg, var(--icon-size, 60px));
        min-height: var(--icon-size-lg, var(--icon-size, 60px));
    }
}

/* Medium (md) - 768px to 991px */
@media (min-width: 768px) and (max-width: 991px) {
    .pls-service-style-two-section .service-block-two .inner-box .icon-box {
        width: var(--icon-size-md, var(--icon-size, 60px));
        min-height: var(--icon-size-md, var(--icon-size, 60px));
    }
}

/* Small (sm) - < 768px */
@media (max-width: 767px) {
    .pls-service-style-two-section .service-block-two .inner-box .icon-box {
        width: var(--icon-size-sm, var(--icon-size, 60px));
        min-height: var(--icon-size-sm, var(--icon-size, 60px));
    }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1199px) {
    .pls-service-style-two-section .image-box {
        margin: 0 -30px;
    }

    .pls-service-style-two-section .image-box .dotted-box .dotted-1 {
        left: 80px;
    }

    .pls-service-style-two-section .image-box .dotted-box .dotted-2 {
        right: 120px;
    }

    .pls-service-style-two-section .image-box .dotted-box .dotted-3 {
        right: 80px;
    }

    .pls-service-style-two-section .image-box .dotted-box .dotted-4 {
        right: 120px;
    }
}

@media (max-width: 991px) {
    .pls-service-style-two-section .image-column,
    .pls-service-style-two-section .inner-content .bg-layer {
        display: none;
    }

    .pls-service-style-two-section .service-block-two {
        margin: 0 0 60px !important;
        left: 0 !important;
    }

    .pls-service-style-two-section .service-block-two .inner-box {
        max-width: 100%;
    }

    .pls-service-style-two-section .content-column {
        padding-top: 0 !important;
    }

    .pls-service-style-two-section .sec-title {
        margin-bottom: 50px;
    }

    .pls-service-style-two-section .sec-title h3 {
        font-size: 30px;
        line-height: 40px;
    }

    .pls-service-style-two-section .bubble-box {
        display: none;
    }
}

@media (max-width: 767px) {
    .pls-service-style-two-section {
        padding: 70px 0 60px;
    }

    .pls-service-style-two-section .sec-title h3 {
        font-size: 26px;
        line-height: 36px;
    }

    .pls-service-style-two-section .sec-title .title-two p {
        font-size: 16px;
    }

    .pls-service-style-two-section .sec-title .title-two span {
        font-size: 20px;
    }
}

@media (max-width: 575px) {
    .pls-service-style-two-section .service-block-two .inner-box {
        padding: 30px 20px 20px;
    }

    .pls-service-style-two-section .service-block-two .inner-box h3 {
        font-size: 20px;
        line-height: 28px;
    }

    .pls-service-style-two-section .service-block-two .inner-box:hover {
        padding-bottom: 55px;
    }
}
