/*--------------------------------------------------Services-----*/
.services-card{
	position: relative;
}
.services-list{
	margin-top: 50px;
}
.item{
	display: inline-block;
    clear: both;
    counter-increment: list;
    padding-bottom: 2.5rem;
    font-size: 1.1rem;
    line-height: 1.375;
    position: relative;
    width: 33%;
    border: 1px solid #ffc800;
    border-left: none;
    border-top: none;
    border-bottom: none;
    border-radius: 85%;
	}
li.item:before {
	content: counter(list);
    width: 3rem;
    height: 3rem;
    float: left;
    margin: -15px 1rem 0.75rem 0;
background: #ffc800;
    text-shadow: 0 0 2px #fff;
    font-weight: 900;    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    shape-outside: ellipse();
    z-index: 1;
    border-bottom-right-radius: 3px;
    transform: rotate(332deg);
	}
.portfolio-item  .portfolio-link img {
	-moz-transition: all 0.3s;
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
}
.portfolio-item  .portfolio-link:hover img {
	-moz-transform: scale(1.1);
	-webkit-transform: scale(1.1);
	transform: scale(1.1);
}
/*--------------------------------Service Icon animation-----------------*/	
		.srv {
		left: 19.5%;
		top: 10%;
		-webkit-animation: action 1s infinite  alternate;
		animation: action 1s infinite  alternate;
		}
		.srv-2 {
		left: 32%;
		top: 10%;
		-webkit-animation: action 1.2s infinite  alternate;
		animation: action 1.2s infinite  alternate;
		}
		.srv-3 {
		left: 44%;
		top: 10%;
		-webkit-animation: action 1.4s infinite  alternate;
		animation: action 1.4s infinite  alternate;
		}
		.srv-4 {
		left: 56%;
		top: 10%;
		-webkit-animation: action 1.6s infinite  alternate;
		animation: action 1.6s infinite  alternate;
		}
		.srv-5 {
		left: 68%;
		top: 10%;
		-webkit-animation: action 1.8s infinite  alternate;
		animation: action 1.8s infinite  alternate;
		}

@-webkit-keyframes action {
    0% { transform: translateY(0); }
    100% { transform: translateY(-10px); }
}

.off-card {
    height: 135px;
    width: 135px;
    padding-top: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 140px;
    position: absolute;
    background-image:linear-gradient(45deg, #0094ff, rgb(255 255 255 / 42%));
    z-index: 1;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    opacity: 0;
}
.off-card {
    opacity: 1;
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: all 1s ease 1s;
    -o-transition: all 1s ease 1s;
    transition: all 1s ease 1s;
}

	.off-card:after {
    position: absolute;
    left: 5px;
    top: 5px;
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    border: 5px dashed #333;
    content: "";
    border-radius: 50%;
    z-index: -1;
}
@-webkit-keyframes off-card {
    from{
        -webkit-transform: rotate(0deg);
    }
    to{
        -webkit-transform: rotate(360deg);
    }
}

.off-card:after {
    -webkit-animation: off-card 10s linear infinite;
}
h5 {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    margin-top: -8px;
	padding: 15px;
}
	
	
@media (max-width: 992px){
	.item{width: 90%;}
}
@media (min-width: 992px){
	#mainNav .navbar-brand img {
	height: 5rem;
	transition: height 0.3s ease-in-out;
	}
	#mainNav.navbar-shrink {
	padding-top: 1rem;
	padding-bottom: 1rem;
	background-color: #0a2139;

	}
	#mainNav.navbar-shrink .navbar-brand img{
	height: 4rem;
	}
	#mainNav {
	padding-top: 0;
	}
}
@media (min-width: 768px){
	header.masthead .masthead-heading {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 4.5rem;
    margin-bottom: 4rem;
    position: relative;
    top: 180px;
	}
	header.masthead {
		padding-top: 25rem;
		padding-bottom: 12.5rem;
	}
}
	@media (max-width: 768px){
	#mainNav .navbar-brand img {
		height: 4rem;
	}
	.page-section h2.section-heading, .page-section .section-heading.h2 {
		font-size: 1.5rem;
		margin-top: 0;
		margin-bottom: 1rem;
	}
	.services-card {
		bottom: -120px;
	}
	.off-card{
	background-image: linear-gradient(45deg, rgb(71 160 220 / 12%), rgb(255 255 255 / 1%));
	border-radius: 5px;
    width: 90%;
    height: 50px;
    position: unset;
    padding-top: 0;
    margin: 0 auto;}
		.off-card:after{
			border: none;
		}
	h5 {
		padding: 10px;
	}
		
		
	}


.section-heading {
    margin-bottom: 2rem !important;
	position:relative;
	padding-bottom:15px;
}
.headline{
	font-size: 1rem;
}
#portfolio .portfolio-item .portfolio-caption .portfolio-caption-heading {
    font-size: 1.1rem;
}
.section-heading::before {
    content: '';
    position: absolute;
    display: block;
    width: 212px;
    height: 1px;
    background: #64cfff;
    bottom: 0;
    left: calc(50% - 100px);
	}
.section-heading::after {
    content: '';
    position: absolute;
    display: block;
    width: 130px;
    height: 3px;
    background: #1f73ca;
    bottom: 1px;
    left: calc(50% - 60px);
}

