﻿@import url('https://fonts.googleapis.com/css2?family=Lobster&family=Oswald:wght@600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lobster&family=Oswald:wght@600&display=swap');
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

p{
    text-align:justify;
}

/*header*/

nav{
    position:fixed;
}

nav img {
    width: 60px;
    height: 60px;
    margin-top: -15px;
    margin-right: 5px;
}

nav span{
    font-size:40px;
    font-weight:bold;
    padding-right:100px;
}

.nav-link {
    font-size: 20px;
    font-weight: bold;
    padding-left: 30px!important;
}

#active {
    font-size: 21px !important;
    color: green;
}

#active1 {
    font-size: 21px !important;
    font-weight:bold;
}

/*Image*/

#image {
    background-image: linear-gradient(rgba(0,0,0,0),rgba(0,0,0,0)),url('../img/bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    color: #fff !important;
    padding-top: 300px;
    padding-bottom: 150px;
}

#image h1{
    font-family: 'Lobster', cursive;
    background-image: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5));
    width:50%;
    margin-left:25%;
    padding-bottom:20px;
    font-size:80px;
    font-weight:bold;
}

/*About*/

.text-effect{
    color: #136cd8;
    font-family: 'Carter One', cursive;
    font-size: 100px;
    font-weight:bold;
    text-align: center;
    margin: 0 auto;
    position: relative;
}
    .text-effect:before {
        content: attr(data-content);
        background-image: linear-gradient(45deg,#e8e3c7 10%, green 10%, green 40%, #e8e3c7 40%, #e8e3c7 60%, green 60%, green 90%, #e8e3c7 90%);
        -webkit-background-clip: text;
        -moz-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        -moz-text-fill-color: transparent;
        text-fill-color: transparent;
        background-size: 10px 12px;
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
        animation: animate 30s infinite linear;
    }
@keyframes animate{
    0%{ background-position: 0 0; }
    100%{ background-position: 100% 0; }
}
@media only screen and (max-width: 990px){
    .text-effect{ font-size: 90px; }
}
@media only screen and (max-width: 767px){
    .text-effect{ font-size: 65px; }
}
@media only screen and (max-width: 576px){
    .text-effect{ font-size: 40px; }
}

#img{
    padding:10px;
    border:10px solid green;
}

/*vision*/

.main-timeline{ font-family: 'Poppins', sans-serif; }
.main-timeline:after{
    content: '';
    display: block;
    clear: both;
}
.main-timeline .timeline{
    width: 50%;
    padding: 0 80px 0 0;
    margin: 0 5px 0 0;
    float: left;
}
.main-timeline .timeline-content{
    background-color: #fff;
    padding: 20px;
    border-radius: 40px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    display: block;
    position: relative;
}
.main-timeline .timeline-content:hover{ text-decoration: none; }
.main-timeline .timeline-icon{
    color: #B3386C;
    background-color: #fff;
    font-size: 40px;
    text-align: center;
    line-height: 110px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    transform: translateY(-50%);
    position: absolute;
    right: -135px;
    top: 50%;
}
.main-timeline .timeline-icon:before{
    content: '';
    height: 60%;
    border-radius: 50% 50% 0 0/100% 100% 0 0;
    border: 2px solid #B3386C;
    border-bottom: none;
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
}
.main-timeline .title{
    color: #B3386C;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: capitalize;
    margin: 0 0 7px;
}
.main-timeline .description{
    color: #666;
    font-size: 13px;
    font-weight: 400;
    line-height: 21px;
    letter-spacing: 1px;
    margin: 0;
}
.main-timeline .timeline:nth-child(even){
    padding: 0 0 0 80px;
    margin: 0 0 0 5px;
    float: right;
}
.main-timeline .timeline:nth-child(even) .timeline-icon{
    right: auto;
    left: -135px;
}
.main-timeline .timeline:nth-child(4n+2) .timeline-icon,
.main-timeline .timeline:nth-child(4n+2) .timeline-icon:before,
.main-timeline .timeline:nth-child(4n+2) .title{
    color: #008F78;
    border-color: #008F78;
}
.main-timeline .timeline:nth-child(4n+3) .timeline-icon,
.main-timeline .timeline:nth-child(4n+3) .timeline-icon:before,
.main-timeline .timeline:nth-child(4n+3) .title{
    color: #9C3140;
    border-color: #9C3140;
}
.main-timeline .timeline:nth-child(4n+4) .timeline-icon,
.main-timeline .timeline:nth-child(4n+4) .timeline-icon:before,
.main-timeline .timeline:nth-child(4n+4) .title{
    color: #5259ae;
    border-color: #5259ae;
}
@media screen and (max-width:767px){
    .main-timeline .timeline,
    .main-timeline .timeline:nth-child(even){
        width: 100%;
        padding: 0 0 0 140px;
        margin: 0 0 30px;
    }
    .main-timeline .timeline-icon,
    .main-timeline .timeline:nth-child(even) .timeline-icon{
        left: -130px;
        right: auto;
    }
}
@media screen and (max-width:479px){
    .main-timeline .timeline,
    .main-timeline .timeline:nth-child(even){
        padding: 140px 0 0;
    }
    .main-timeline .timeline-content{
        text-align: center;
    }
    .main-timeline .timeline-icon,
    .main-timeline .timeline:nth-child(even) .timeline-icon{
        transform: translateY(0) translateX(-50%);
        top: -130px;
        left: 50%;
    }
}

/*Services*/

:root{ --main-color: #0B697E; }
.serviceBox{
    color: var(--main-color);
    background-color: var(--main-color);
    font-family: 'Raleway', sans-serif;
    text-align: center;
    padding: 35px 15px 40px;
    margin: 0 10px;
    position: relative;
    z-index: 1;
}
.serviceBox:before{
    content: '';
    background: repeating-linear-gradient(#fff,#fff 15px,#f5f5f5 15px, #f5f5f5 30px);
    border-radius: 0 50px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    position: absolute;
    left: -10px;
    right: -10px;
    top: 20px;
    bottom: 20px;
    z-index: -1;
}
.serviceBox .service-icon{
    font-size: 50px;
    margin: 0 0 15px;
}
.serviceBox .title{
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin: 0 0 10px;
}
.serviceBox .description{
    color: #888;
    font-size: 14px;
    line-height: 25px;
    margin: 0;
}
.serviceBox.green{ --main-color: #5EB25D; }
.serviceBox.orange{ --main-color: #dd711f; }
.serviceBox.blue{ --main-color: #2084db; }
@media only screen and (max-width: 1199px){
    .serviceBox{ margin: 0 10px 40px; }
}

/*Team*/

.our-team{
    text-align: center;
    margin-bottom: 100px;
    z-index: 1;
    position: relative;
}
.our-team .pic{
    border-radius: 50%;
    overflow: hidden;
    position: relative;
}
.our-team .pic:after{
    content: "";
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(0,0,0,0.7);
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.5s ease 0s;
}
.our-team:hover .pic:after{ opacity: 1; }
.our-team .pic img{
    width: 100%;
    height: auto;
}
.our-team .social{
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    opacity: 0;
    position: absolute;
    top: 45%;
    left: 0;
    z-index: 1;
    transition: all 0.5s ease 0s;
}
.our-team:hover .social{ opacity: 1; }
.our-team .social li{ display: inline-block; }
.our-team .social li a{
    display: block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 50%;
    border: 1px solid #fff;
    font-size: 15px;
    color: #fff;
    margin-right: 10px;
    transition: all 0.5s ease 0s;
}
.our-team .social li a:hover{
    background: #fff;
    color: #000;
}
.our-team .team-content{
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px dotted #ddd;
    position: absolute;
    bottom: -70px;
    left: 0;
    z-index: -1;
    transition: all 0.5s ease 0s;
}
.our-team:hover .team-content{ border: 2px dotted #00adae; }
.our-team .team-info{
    width: 100%;
    color: #464646;
    position: absolute;
    bottom: 12px;
    left: 0;
}
.our-team .title{
    font-size: 20px;
    font-weight: 600;
    color: #464646;
    margin: 0 0 5px 0;
    transition: all 0.5s ease 0s;
}
.our-team:hover .title{ color: #00adae; }
.our-team .post{
    display: block;
    font-size: 14px;
    color: #464646;
}

/*Testi*/

.demo{ background: #f4f7fa; }
.testimonial{
    background: #fff;
    padding: 20px;
    margin: 0 15px 10px 15px;
    position: relative;
}
.testimonial:before{
    content: "";
    width: 100%;
    height: 100%;
    background: green;
    position: absolute;
    top: 4%;
    left: 2%;
    opacity: 0.5;
    z-index: -1;
}
.testimonial .title{
    font-size: 20px;
    font-weight: 500;
    color: #333;
    text-transform: uppercase;
    margin-top: 0;
}
.testimonial .description{
    font-size: 14px;
    color: #555;
    line-height: 30px;
}
.testimonial .testimonial-content{
    position: relative;
}
.testimonial .testimonial-content:after{
    content: "\f10e";
    font-family: "Font Awesome 5 Free"; font-weight: 900;
    position: absolute;
    top: -5px;
    right: 0;
    font-size: 45px;
    color: #a8a8a8;
}
.testimonial .pic{
    display: inline-block;
    float: left;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin-right: 15px;
    overflow: hidden;
}
.testimonial .pic img{
    width: 100%;
    height: auto;
}
.testimonial .content{
    display: inline-block;
    margin: 10px 0;
}
.testimonial .name{
    font-size: 20px;
    font-weight: 400;
    margin: 0;
    text-transform: capitalize;
}
.testimonial .post{
    font-size: 14px;
    color: #555;
    line-height: 24px;
}
.testimonial .rating{
    padding: 0;
    margin: 0;
    list-style: none;
}
.testimonial .rating li{
    display: inline-block;
    color: #ffc207;
}
.owl-theme .owl-controls{
    margin-top: 20px;
}
.owl-theme .owl-controls .owl-page span{
    background: #0d8a63;
}
@media only screen and (max-width: 479px){
    .testimonial .testimonial-content:after{
        content: "";
    }
}

/*Success*/

:root{  --main-color: #0c7c99; }
.counter{
    color: var(--main-color);
    background: var(--main-color);
    font-family: 'Poppins', sans-serif;
    text-align: center;
    width: 195px;
    height: 195px;
    padding: 0 0 20px 20px;
    margin: 0 auto;
    border-radius: 100px 100px;
    position: relative;
    z-index: 1;
}
.counter:before{
    content: "";
    background: #fff;
    width: 100%;
    height: 100%;
    border-radius: 100px 100px;
    box-shadow: 10px 10px 10px rgb(0,0,0,0.1);
    position: absolute;
    top: 0;
    left: 15px;
    z-index: -1;
}
.counter .counter-icon{
    color:#fff;
    background: var(--main-color);
    font-size: 30px;
    line-height: 70px;
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    border-radius: 50px;
}
.counter h3{
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0 0 15px;
}
.counter .counter-value{
    font-size: 30px;
    font-weight: 600;
}
.counter.blue{ --main-color: #0083E7; }
.counter.green{ --main-color: #00B853; }
.counter.orange{ --main-color: #f98348; }
@media screen and (max-width:990px){
    .counter{ margin-bottom: 40px; }
}   

/*footer*/

footer {
    background-image: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)),url('../img/foot.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    color: #fff !important;
    padding-top: 50px;
    padding-bottom: 50px;
    margin-top:20px;
}

footer img{
    width: 60px;
    height: 60px;
}

footer a{
    color:white;
    text-decoration:none;
}

footer a:hover{
    color:green;
    text-decoration:none;
}

footer h3{
    color:green;
}

footer i{
    padding:10px;
    font-size:22px;
    color:black;
    background-color:lightgreen;
    border-radius:50%;
}

footer i:hover{
    color:green;
    background-color:azure;
}

footer span{
    font-size:20px;
    font-weight:bold;
    color:green;
}

/*********** About Page **********/

#image1 {
    background-image: linear-gradient(rgba(0,0,0,0),rgba(0,0,0,0)),url('../img/3.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    color: #fff !important;
    padding-top: 300px;
    padding-bottom: 200px;
}

#image1 h1{
    font-family: 'Oswald', sans-serif;
    font-size:70px;
    font-weight:bold;
}

/*********** Contact Page ***********/

#contact .card {
    background-image: linear-gradient(to top left,white, green);
}

#contact .card:hover {
    background-image: linear-gradient(to top left,green,white);
}

#contact i {
    font-size: 40px;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 50%;
    color: green;
    background-color: #a3e99e;
}

#contact a {
    padding: 10px 30px;
    background-color: green;
    color: white;
    text-decoration: none;
    margin-left: 220px;
    font-weight:bold;
}

#contact a:hover {
    background-color: black;
}

#map {
    padding: 10px;
    border: 10px solid green;
}

@media screen and (max-width:425px) {

    /*Header*/

    nav img {
        width: 40px;
        height: 40px;
        margin-top: -10px;
        margin-right: 0px;
    }

    nav span {
        font-size: 27px;
        padding-right: 0px;
    }

    .nav-link {
        font-size: 18px;
        padding-left: 0px;
    }

    /*Image*/

    #image {
        padding-top: 140px;
        padding-bottom: 60px;
    }

    #image h1 {
            width: 80%;
            margin-left: 10%;
            padding-bottom: 15px;
            padding-top: 10px;
            font-size: 35px;
    }

    /*********** About Page **********/

    #image1 {
        padding-top: 150px;
        padding-bottom: 80px;
    }

    #image1 h1 {
        font-size: 35px;
    }
}