/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/

#slider {
	height: 700px;
	background: url("../images/banner.jpeg");
	background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    background-blend-mode: overlay;
    background-color: rgba(0,0,0,0.2);
}

#about-slider {
    height: 350px;
    background: url("../images/about/aboutbg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    background-color: rgba(0,0,0,0.5);
}

#service-slider {
    height: 350px;
    background: url("../images/about/aboutbg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    background-color: rgba(0,0,0,0.5);
}

#team-slider {
    height: 350px;
    background: url("../images/about/aboutbg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    background-color: rgba(0,0,0,0.5);
}

#contact-slider {
    height: 350px;
    background: url("../images/about/aboutbg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    background-color: rgba(0,0,0,0.5);
}

.bg-colour {
	background-color: rgba(51,94,238,0.08);
}

.client-section .img-div{
	margin-bottom: 10px;
	text-align: center;
	/* height: 80px; */
}

.client-section .owl-carousel .owl-item img{
    height: auto;
    width: auto;
    margin: auto;
}

.client-section p {
	font-size: 18px;
	font-weight: bold;
}

.goal-section .goal-div {
	border-radius: 0.25rem;
	background-color: rgba(0,0,0,0.4);
    height: 100%;
}

.goal-section .goal-inner-div {
	padding: 60px 50px;
}

.goal-section .goal-inner-div p {
	margin: 15px;
}

.counter-section{
    padding: 80px 0 80px;
    margin-bottom: 80px;
    background-color: transparent;
}

.counter {
	padding: 10px;
	text-align: center;
	border-radius: 0.25rem;
	background-color: #f7f7f7;
	color: #111;
}

.counter i {
	font-size: 30px;
	color: #304398;
}

.counter p,
h4 {
	margin-bottom: 5px;
}

.counter h4{
	font-weight: normal;
	text-transform: uppercase;
}


#about-content,
#team-content p {
	text-align: justify;
}

#contact-content .card {
	background-color: #FFF;
	border: none;
}

#contact-content .card i {
	margin-bottom: 10px;
	font-size: 25px;
	color: #304398;
}

.hero-diagonal { 
	position: relative; 
}

.hero-diagonal::before {
	content: '';
	position: absolute;
	top: -50px;
	left: 0;
	width: 100%;
	height: calc(100% + 100px);
	-webkit-clip-path: polygon(0 9%, 100% 0%, 100% 91%, 0 100%);
	clip-path: polygon(0 9%, 100% 0%, 100% 91%, 0 100%);
	background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.4)), url('../images/worker.jpg');
	background-position: center center;
	background-size: cover;
	background-blend-mode: overlay;
	background-color: rgba(0,0,0,0.6);
}

.owl-item img {
	height: 270px;
	width: auto;
}

.project-img,
.client-img {
    position: relative;
    z-index: 1;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-right: 15px;
}

#services-content .card {
  background-color: #FFF;
  border: none;
}


/*timeline*/

.timeline-steps {
    display: flex;
    justify-content: center;
    flex-wrap: wrap
}

.timeline-steps .timeline-step {
    align-items: center;
    display: flex;
    flex-direction: column;
    position: relative;
    margin: 1rem
}

@media (min-width:1400px) {
    .timeline-steps .timeline-content {
       width: 25rem;
       text-align: center
    }

    .timeline-steps .timeline-step:not(:last-child):after {
        content: "";
        display: block;
        border-top: .25rem dotted #3b82f6;
        width: 8.46rem;
        position: absolute;
        left: 14.5rem;
        top: .3125rem
    }
    .timeline-steps .timeline-step:not(:first-child):before {
        content: "";
        display: block;
        border-top: .25rem dotted #3b82f6;
        width: 14.8125rem;
        position: absolute;
        right: 14.5rem;
        top: .3125rem
    }
}

@media (min-width:768px) {
    .timeline-steps .timeline-content {
       width: 25rem;
       text-align: center
    }
}


.timeline-steps .timeline-content .inner-circle {
    border-radius: 1.5rem;
    height: 1rem;
    width: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #3b82f6
}

.timeline-steps .timeline-content .inner-circle:before {
    content: "";
    background-color: #3b82f6;
    display: inline-block;
    height: 3rem;
    width: 3rem;
    min-width: 3rem;
    border-radius: 6.25rem;
    opacity: .5
}


/*timeline-end*/

.vision-div {
	padding: 50px 10px;
	height: 100%;
	border-radius: 0.25rem;
	background-color: #FFF;
}

.vision-icon {
	font-size: 30px;
	margin-bottom: 15px;
}

.team-icon {
	padding: 20px;
	height: 80px;
	width: 80px;
	margin-bottom: 20px;
	border-radius: 50%;
    background-color: #304398;
    color: #FFF;
}

.team-icon i {
	font-size: 30px;
	vertical-align: middle;
}

.mission-div p {
   text-align: center;
}

.mission-icon {
    padding: 20px;
    height: 160px;
    background-color: #9dc0fa;
    border-radius: 0.25rem;
}

.mission-icon p {
  font-size: 25px;
}

.mission-txt {
    padding: 20px;
    font-size: 18px;
    height: 160px;
}

form {
	padding: 55px 40px;
	background-color: #FFF;
	border-radius: 0.25rem;
}

form input,
textarea {
	margin-bottom: 25px;
	border-radius: 0 !important;
}

.btn-primary {
    background-color: #304398;
    color: #FFFFFF;
}

.grid-wrapper > div {
    display: flex;
    justify-content: center;
    align-items: center;
}
.grid-wrapper > a > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

/* .grid-wrapper > a > img {
    border-radius: 5px;
} */

.grid-wrapper {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-auto-rows: 200px;
    grid-auto-flow: dense;
}
.grid-wrapper .wide {
    grid-column: span 2;
}
.grid-wrapper .tall {
    grid-row: span 2;
}
.grid-wrapper .big {
    grid-column: span 2;
    grid-row: span 2;
}

#footer {
    background-color: #304398 !important;
}

#copyrights a {
    color: rgba(255, 255, 255, 0.5) !important;
}

#copyrights a: hover {
    color: blue !important;
}

/*Media*/
@media only screen and (min-width:1400px) {
.project-img::before {
    position: absolute;
    content: "";
    height: 70%;
    width: 280px;
    background-color: transparent;
    left: 0;
    top: 0;
    z-index: -1;
    border-radius: 0.25rem;
    border: 3px solid #335eee;
}

.client-img::before {
	position: absolute;
    content: "";
    height: 100%;
    width: 312px;
    background-color: transparent;
    right: 0;
    top: 0;
    z-index: -1;
    border-radius: 0.25rem;
    border: 3px solid #335eee;
}
}

@media only screen and (max-width:1400px) and (min-width:992px) {
.project-img::before {
    position: absolute;
    content: "";
    height: 50%;
    width: 200px;
    background-color: transparent;
    left: 0;
    top: 0;
    z-index: -1;
    border-radius: 0.25rem;
    border: 3px solid #335eee;
}
 
.client-img::before {
	position: absolute;
    content: "";
    height: 100%;
    width: 312px;
    background-color: transparent;
    right: 0;
    top: 0;
    z-index: -1;
    border-radius: 0.25rem;
    border: 3px solid #335eee;
}
}

@media only screen and (max-width:992px) and (min-width:768px) {
.project-img::before {
    position: absolute;
    content: "";
    height: 95%;
    width: 370px;
    background-color: transparent;
    left: 0;
    top: 0;
    z-index: -1;
    border-radius: 0.25rem;
    border: 3px solid #335eee;
}

.client-img::before {
	position: absolute;
    content: "";
    height: 100%;
    width: 200px;
    background-color: transparent;
    right: 0;
    top: 0;
    z-index: -1;
    border-radius: 0.25rem;
    border: 3px solid #335eee;
}


}

@media only screen and (max-width: 1024px) and (min-width: 768px) {
#contact-content form {
        padding: 70px 40px;
        margin-bottom: 0;
    }
}

@media only screen and (max-width:768px) {
#slider,
#about-slider,
#service-slider,
#team-slider,
#contact-slider {
    height: 500px;
}

.slider-title {
    margin: 200px 20px;
}

.project-img::before {
    position: absolute;
    content: "";
    height: 90%;
    width: 250px;
    background-color: transparent;
    left: 0;
    top: 0;
    z-index: -1;
    border-radius: 0.25rem;
    border: 3px solid #335eee;
}

.client-img::before {
	position: absolute;
    content: "";
    height: 100%;
    width: 250px;
    background-color: transparent;
    right: 0;
    top: 0;
    z-index: -1;
    border-radius: 0.25rem;
    border: 3px solid #335eee;
}

#services-content .card {
	margin-bottom: 20px;
}

.hero-diagonal .col-md-12 {
    display: flex;
    flex-direction: row;
}

}

@media only screen and (max-width: 768px) and (min-width: 576px) {
    .hero-diagonal .col-md-6 {
    margin-right: 10px;
}

}

@media only screen and (max-width: 576px){
.hero-diagonal .col-md-12 {
    display: flex;
    flex-direction: column;
}

}

.team .team-image {
    height: 200px;
    display: flex;
    justify-content: center;
}

.team .team-image img {
    width: 200px;
    height: 100%;
    text-align: center;
}

/*mansoory img*/
.mansory img {
  max-width: 100%;
  display: block;
  border-radius: 5px;
}

.mansory figure {
  margin: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  margin-bottom: 10px;
  break-inside: avoid;
}

.mansory figure > img {
  grid-row: 1 / -1;
  grid-column: 1;
}

.mansory figure a {
  color: #ffffff;
  font-size: 18px;
  text-decoration: none;
}

.mansory figcaption {
  grid-row: 2;
  grid-column: 1;
  background-color: black;
  padding: .7em .5em;
  justify-self: start;
  width: 100%;
}

.services-content .container-2 {
  column-count:3;
  column-gap: 10px;
}

@media only screen and (max-width: 767px) {
.services-content .container-2 {
  column-count:1;
}
}