﻿@import url('https://fonts.googleapis.com/css2?family=Lobster&family=Oswald:wght@600&display=swap');

*{
    padding:0;
    margin:0;
    box-sizing:border-box;
}

p{
    text-align:justify;
}

/*Header*/

.navbar-toggler {
    padding: 0.1rem 0.5rem!important;
}

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: teal;
}

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

/*Slider*/

.slide img{
    height:660px;
}

#head{
    margin-top:-350px;
}

#head h1{
    color:white!important;
    font-size: 75px;
    font-weight: 800;
    text-align: center;
    width:80%;
    margin-left:10%;
    padding-bottom:20px;
    background-image: linear-gradient(rgba(0,0,0,0.4),rgba(0,0,0,0.4));
}

/*About*/

.text-effect {
    color: teal;
    font-family: 'Patua One', cursive;
    font-size: 80px;
    letter-spacing: 3px;
    text-align: center;
    text-transform: uppercase;
}
.text-effect span{
    display: inline-block;
    position: relative;
    z-index: 1;
}
.text-effect span:before{
    content: attr(data-title);
    background-size: 50px 50px;
    background-color: #008080;
    background-image: -webkit-linear-gradient(-45deg, rgb(171 239 226) 25%, #008080 25%, #008080 50%, rgb(171 239 226) 50%, rgb(171 239 226) 75%, #008080 75%, #008080);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: absolute;
    z-index: 0;
    animation: animate 8s linear infinite;
}
    .text-effect span:after {
        content: attr(data-title);
        text-shadow: -6px 6px 0 #008080, -5px 5px 0 #008080, -4px 4px 0 #008080, -3px 3px 0 #008080, -2px 2px 0 #008080, -1px 1px 0 #008080, -2px 5px 15px #000;
        position: absolute;
        left: 0;
        z-index: -1;
    }
@keyframes animate{
    0%{ background-position: 0 0; }
    100%{ background-position: -100% -100%; }
}
@media only screen and (max-width: 990px){
    .text-effect{ font-size: 80px; }
}
@media only screen and (max-width: 767px){
    .text-effect{ font-size: 70px; }
}
@media only screen and (max-width: 479px){
    .text-effect{ font-size: 30px; }
}
@media only screen and (max-width: 359px){
    .text-effect{ font-size: 30px; }
}

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

/*Vision*/

.main-timeline{
    position: relative;
    -webkit-transition: all 0.4s ease 0s;
    -moz-transition: all 0.4s ease 0s;
    -ms-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
}
.main-timeline:before{
    content: "";
    width: 3px;
    height: 100%;
    background: #1abc9c;
    position: absolute;
    top: 0;
    left: 50%;
}
.main-timeline .timeline{
    margin-bottom: 50px;
    position: relative;
}
.main-timeline .timeline:before,
.main-timeline .timeline:after{
    content: "";
    display: block;
    width: 100%;
    clear: both;
}
.main-timeline .timeline-icon{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #1abc9c;
    overflow: hidden;
    margin-left: -23px;
    position: absolute;
    top: 0;
    left: 50%;
    text-align: center;
}
.main-timeline .timeline-icon i{
    font-size: 30px;
    line-height: 50px;
    color: #fff;
}
.main-timeline .timeline-content{
    width: 45%;
    padding: 20px;
    border-radius: 5px;
    background: #fff;
    -webkit-box-shadow: 0 3px 0 rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 3px 0 rgba(0, 0, 0, 0.1);
    -ms-box-shadow: 0 3px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.1);
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}
.main-timeline .timeline-content:before{
    content: "";
    border-left: 7px solid #008080;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    position: absolute;
    left: 45%;
    top: 20px;
}
.main-timeline .title{
    font-size: 30px;
    font-weight: 500;
    color: #fff;
    padding: 10px;
    background: #008080;
    border-radius: 3px 3px 0 0;
    margin: -20px -20px 10px;
}
.main-timeline .description{
    font-size: 14px;
    color: #726f77;
}
.main-timeline .read-more{
    display: inline-block;
    font-size: 12px;
    color: #64d8c1;
    text-transform: uppercase;
    padding: 5px 15px;
    border: 2px solid #64d8c1;
    position: relative;
    border-radius: 5px;
    -webkit-box-shadow: 2px 2px 0 #64d8c1;
    -moz-box-shadow: 2px 2px 0 #64d8c1;
    -ms-box-shadow: 2px 2px 0 #64d8c1;
    box-shadow: 2px 2px 0 #64d8c1;
}
.main-timeline .read-more:hover{
    top: 2px;
    left: 2px;
    box-shadow: none;
}
.main-timeline .timeline-content.right{
    float: right;
}
.main-timeline .timeline-content.right:before{
    content: "";
    right: 45%;
    left: inherit;
    border-left: 0;
    border-right: 7px solid #008080;
}
@media only screen and (max-width: 990px){
    .main-timeline .title{
        font-size: 25px;
    }
    .main-timeline .timeline-content::before{
        top: 16px;
    }
}
@media only screen and (max-width: 767px){
    .main-timeline{ margin-left: 20px; }
    .main-timeline:before{ left: 0; }
    .main-timeline .timeline-content{
        width: 90%;
        float: right;
    }
    .main-timeline .timeline-content:before,
    .main-timeline .timeline-content.right:before{
        left: 10%;
        right: inherit;
        margin-left: -6px;
        border-left: 0;
        border-right: 7px solid #008080;
    }
    .main-timeline .timeline-icon{
        left: 0;
    }
}
@media only screen and (max-width: 479px){
    .main-timeline .timeline-content{
        width: 85%;
    }
    .main-timeline .timeline-content:before,
    .main-timeline .timeline-content.right:before{
        left: 15%;
    }
    .main-timeline .title{
        font-size: 20px;
    }
    .main-timeline .timeline-content:before{
        top: 13px;
    }
}

/*Services*/

.serviceBox{
    color: #fff;
    background: #075F73;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    padding: 0 0 30px;
    border-radius: 15px;
    position: relative;
    z-index: 1;
}
.serviceBox:before{
    content: "";
    background: #fff;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    transform: translateX(-50%) translateY(-50%);
    position: absolute;
    top: 50%;
    left: 50%; 
    z-index: -1; 
}
.serviceBox .service-icon{
    background: #075F73;
    font-size: 35px;
    text-align: left;
    line-height: 180px;
    width: 100px;
    height: 130px;
    padding: 0 0 0 30px;
    margin: -60px 0 8px;
    border-radius: 20px 50% 80% 0 / 20px 50% 50% 0;
} 
.serviceBox .title{
    background: #075F73;
    font-size: 19px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 20px 15px 22px;
    margin: 0;
    border-radius: 30px 30px 100% 100%;
    box-shadow: 0 6px 6px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
}
.serviceBox .description{
    color: #777;
    font-size: 14px;
    line-height: 23px;
    margin: 0 25px;
}
.serviceBox.blue,
.serviceBox.blue .title,
.serviceBox.blue .service-icon{
    background: #008080;
}
@media only screen and (max-width: 990px){
    .serviceBox{ margin: 0 0 30px; }
}

/*Team*/

.our-team{
    text-align: center;
    transition: all 0.5s ease 0s;
}
.our-team:hover{
    box-shadow: 0 15px 10px -10px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
}
.our-team .pic{
    overflow: hidden;
    position: relative;
}
.our-team .pic:before,
.our-team .pic:after{
    content: "";
    width: 200%;
    height: 80%;
    background: rgba(38,37,37,0.8);
    position: absolute;
    top: -100%;
    left: -4%;
    transform: rotate(45deg);
    transition: all 0.5s ease 0s;
}
.our-team .pic:after{
    background: rgba(8,75,77,0.8);
    top: auto;
    left: auto;
    bottom: -100%;
    right: -4%;
}
.our-team:hover .pic:before{ top: 0; }
.our-team:hover .pic:after{ bottom: 0; }
.our-team .pic img{
    width: 100%;
    height: auto;
}
.our-team .social{
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    position: absolute;
    bottom: 45%;
    left: 0;
    opacity: 0;
    z-index: 2;
    transition: all 0.5s ease 0.3s;
}
.our-team:hover .social{ opacity: 1; }
.our-team .social li{ display: inline-block; }
.our-team .social li a{
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 20px;
    color: #fff;
    margin-right: 10px;
    position: relative;
    transition: all 0.3s ease 0s;
}
.our-team .social li a:after{
    content: "";
    width: 100%;
    height: 100%;
    background: #008080;
    border-radius: 0 20px 20px 20px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: all 0.3s ease 0s;
}
.our-team .social li a:hover:after{ transform: rotate(180deg); }
.our-team .team-content{ padding: 20px; }
.our-team .title{
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #047168;
    text-transform: uppercase;
    margin-bottom: 7px;
}
.our-team .post{
    display: block;
    font-size: 17px;
    font-weight: 600;
    color: #707070;
    text-transform: capitalize;
}
@media only screen and (max-width: 990px){
    .our-team{ margin-bottom: 30px; }
}

/*testi*/

.testimonial-bg{
    border: 10px solid #66e1e3;
    padding: 80px 70px;
    text-align: center;
    position: relative;
}
.testimonial-bg:before{
    content: "\f10d";
    font-family: "fontawesome";
    width: 75px;
    height: 75px;
    line-height: 75px;
    background: #fff;
    text-align: center;
    font-size: 50px;
    color: #3c414c;
    position: absolute;
    top: -40px;
    left: 2%;
}
.testimonial{
    padding: 0 15px;
}
.testimonial .description{
    font-size: 20px;
    font-weight:400;
    font-style: italic;
    color: #848484;
    line-height: 30px;
    padding-bottom: 25px;
    margin-bottom: 15px;
    position: relative;
}
.testimonial .description:before{
    content: "";
    width: 75%;
    border-top: 1px solid #ddd;
    margin: 0 auto;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}
.testimonial .description:after{
    content: "";
    width: 20px;
    height: 20px;
    background: #fff;
    position: absolute;
    bottom: -10px;
    left: 50%;
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
    transform: translateX(-50%) rotate(45deg);
}
.testimonial .pic{
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 25px auto;
    overflow: hidden;
}
.testimonial .pic img{
    width: 100%;
    height: auto;
}
.testimonial .title{
    display: inline-block;
    font-size: 23px;
    font-weight: 700;
    color: #848484;
    text-transform: capitalize;
    margin: 0;
}
.testimonial .post{
    display: inline-block;
    font-size: 20px;
    color: #848484;
}
.owl-theme .owl-controls{
    background: #fff;
    margin-top: 10px;
    position: absolute;
    bottom: -34%;
    right: 0;
}
.owl-theme .owl-controls .owl-buttons div{
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 50%;
    background: #34363b;
    opacity: 1;
    padding: 0;
}
.owl-prev:before,
.owl-next:before{
    content: "\f104";
    font-family: "fontawesome";
    font-size: 23px;
    font-weight: 700;
    color: #fff;
}
.owl-next:before{
    content:"\f105";
}
@media only screen and (max-width:767px){
    .testimonial-bg{ padding: 50px 40px; }
    .owl-theme .owl-controls{ bottom: -22%; }
}
@media only screen and (max-width:480px){
    .testimonial-bg:before{
        width: 55px;
        height: 55px;
        line-height: 55px;
        font-size: 40px;
    }
    .testimonial-bg{ padding: 30px 10px; }
    .owl-theme .owl-controls{ bottom: -15%; }
}
@media only screen and (max-width:360px){
    .testimonial .title,
    .testimonial .post{
        font-size: 16px;
    }
    .owl-theme .owl-controls{ bottom: -12%; }
}

/*Success*/

:root{ --main-color: #A2C439; }
.counter{
    color: var(--main-color);
    background: var(--main-color);
    font-family: 'Mochiy Pop One', sans-serif;
    text-align: center;
    width: 200px;
    padding: 35px 15px 25px 5px;
    margin: 0 auto;
    box-shadow: 5px 5px 6px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}
.counter:before{
    content: '';
    background: #fff;
    width: 100%;
    height: 100%;
    border-radius: 0 0 0 80px;
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: -1;
}
.counter h3{
    font-size: 16px;
    font-weight: 500;
    line-height: 25px;
    text-transform: capitalize;
    margin: 0 0 11px;
}
.counter .counter-icon{
    font-size: 35px;
    line-height: 35px;
    margin: 0 auto 10px;
}
.counter .counter-value{
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 1px;
    display: block;
}
.counter.green{ --main-color: #008080; }
.counter.blue{ --main-color: #075F73; }
@media screen and (max-width:990px){
    .counter{ margin-bottom: 40px; }
}

/*footer*/

footer {
    background-color:black;
    color:white;
}

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

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

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

footer h3{
    color:teal;
    margin-bottom:15px;
}

footer i{
    font-size:25px;
}

footer i:hover{
    font-size:22px;
    color:teal;
}

footer form{
    display:flex;
}

footer span{
    color:teal;
    font-size:20px;
}

/**************** About page ****************/

#aboutimg {
    background-image: linear-gradient(rgba(0,0,0,0),rgba(0,0,0,0)),url('../img/ab1.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 320px;
    padding-bottom: 250px;
}

#aboutimg h1{
    text-align:center;
    font-size:70px;
    font-weight:bold;
    font-family: 'Oswald', sans-serif;
    color:azure;
}

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

#contact form{
    padding-left:200px;
    padding-right:200px;
}

#contact form a{
    text-align:center;
    padding:20px 55px;
    border-radius:50px;
    font-size:25px;
    font-weight:bold;
    background-color:teal;
    color:white;
    margin-left:250px;
}


@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;
    }

    /*Slider*/

    .slide img {
        height: 300px;
    }

    #head {
        margin-top: -130px;
    }

    #head h1 {
        font-size: 27px;
        width: 90%;
        padding-bottom: 20px;
        padding-top: 15px;
        margin-left: 5%;
    }

    /**************** ABOUT PAGE ***************/

    #aboutimg {
        padding-top: 170px;
        padding-bottom: 100px;
    }

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

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

    #contact form{
        padding-left:0px;
        padding-right:0px;
    }

    #contact form a{
        padding:15px 45px;
        font-size:20px;
        margin-left:83px;
    }
}