/**
 * External CSS from Naxly Template
 * This file contains CSS copied from other templates to support specific sections
 */

/**
 * ======================================================================
 *                Naxly - Data Science Solutions Section
 * ======================================================================
 */

/* Service Section Styles */
.service-section {
	position: relative;
	padding: 40px 0px 70px 0px;
	background-color: #f8f6ff;
}

.service-block-one .inner-box {
	position: relative;
	display: block;
	overflow: hidden;
	text-align: center;
	padding: 46px 20px 54px 20px;
	border-radius: 5px;
	transition: all 900ms ease;
}

.service-block-one .inner-box:hover {
	box-shadow: 0px 20px 30px rgba(158, 127, 212, 0.2);
	transform: translateY(-10px);
}

.service-block-one .inner-box:before {
	position: absolute;
	content: '';
	width: 100%;
	height: 0%;
	left: 0px;
	bottom: 0px;
	right: 0px;
	border-radius: 5px;
	transition: all 500ms ease;
	background: -webkit-linear-gradient(0deg, #9E7FD4, #F2B5C0 100%);
}

.service-block-one .inner-box:hover:before {
	height: 100%;
	top: 0px;
}

.service-block-one .inner-box h4 {
	margin-bottom: 30px;
}

.service-block-one .inner-box .icon-box {
	position: relative;
	display: inline-block;
	margin-bottom: 33px;
}

.service-block-one .inner-box .icon-box i {
	position: relative;
	display: inline-block;
	font-size: 50px;
	background: #fff;
	width: 100px;
	height: 100px;
	line-height: 100px;
	text-align: center;
	border-radius: 50%;
	box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
	transition: all 500ms ease;
	color: #9E7FD4;
}

.service-block-one .inner-box:hover .icon-box i {
	box-shadow: none;
	color: #F2B5C0;
	background: #fff;
}

.service-block-one .inner-box .icon-box .border-layer {
	position: absolute;
	width: 120px;
	height: 120px;
	left: -10px;
	top: -10px;
	border: 2px solid #F2B5C0;
	border-radius: 50%;
	clip-path: polygon(0% 0%, 50% 0%, 50% 100%, 0% 100%, 0 0);
	transition: all 500ms ease;
	-webkit-animation: service_hexagon 2s infinite linear;
    -moz-animation: service_hexagon 2s infinite linear;
    -o-animation: service_hexagon 2s infinite linear;
    animation: service_hexagon 2s infinite linear;
    -webkit-animation-play-state: paused;
    -moz-animation-play-state: paused;
    -o-animation-play-state: paused;
    animation-play-state: paused;
}

.service-block-one .inner-box:hover .icon-box .border-layer {
    -webkit-animation-play-state: running;
    -moz-animation-play-state: running;
    -o-animation-play-state: running;
    animation-play-state: running;
}

.service-block-one .inner-box:hover .border-layer {
	clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%, 0 0);
}

.service-block-one .inner-box .icon-box .border-layer:before {
	position: absolute;
	content: '';
	background: #fff;
	width: 8px;
	height: 8px;
	left: 15px;
	bottom: 9px;
	border-radius: 50%;
}

.service-block-one .inner-box p {
	color: #555555;
}

.service-block-one .inner-box:hover h4,
.service-block-one .inner-box:hover h4 a,
.service-block-one .inner-box:hover p {
	color: #fff;
}

/* Section Title and Decor Styles */
.sec-title {
	position: relative;
	margin-bottom: 20px;
}

.sec-title.text-center {
	text-align: center;
}

.sec-title.text-left {
	text-align: left;
}

.sec-title p {
	position: relative;
	font-size: 13px;
	line-height: 24px;
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	color: #9E7FD4;
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-bottom: 18px;
}

.sec-title h2 {
	position: relative;
	font-size: 36px;
	line-height: 46px;
	font-weight: 700;
	padding-bottom: 16px;
	margin: 0px;
	color: #1d3557;
}

.sec-title.style-two h2 {
	color: #040535;
}

.sec-title.light p,
.sec-title.light h2 {
	color: #fff;
}

.sec-title .decor {
	position: relative;
	width: 57px;
	height: 3px;
	background: linear-gradient(to right, #9E7FD4, #F2B5C0);
	border-radius: 3px;
	margin: 15px auto 0;
}

.sec-title.text-left .decor {
	margin: 0px;
}

/* Define animation for service-hexagon */
@-webkit-keyframes service_hexagon {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@-moz-keyframes service_hexagon {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@-o-keyframes service_hexagon {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes service_hexagon {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}