﻿@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*/

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: #ff9d15;
}

#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*/

.demo{
    background: #222;
    background-image: repeating-linear-gradient( to bottom, transparent 7px, rgba(0, 0, 0, 0.8) 9px, rgba(0, 0, 0, 0.8) 13px, transparent 13px );
}
.text-effect{
    color: #fff6a9;
    font-family: 'Sacramento', cursive;
    font-size: 80px;
    font-weight: 600;
    text-align: center;
    text-transform: capitalize;
    margin: 20px auto 0;
    text-shadow: 0 0 5px #ffa500, 0 0 15px #ffa500, 0 0 20px #ffa500, 0 0 40px #ffa500, 0 0 60px #ff0000, 0 0 10px #ff8d00, 0 0 98px #ff0000;
    position: relative;
    animation: animate 2s ease-in-out infinite;
}
@keyframes animate{
    20%, 24%, 55%{
        color: #111;
        text-shadow: none;
    }
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100%{
        color: #fff6a9;
        text-shadow: 0 0 5px #ffa500, 0 0 15px #ffa500, 0 0 20px #ffa500, 0 0 40px #ffa500, 0 0 60px #ff0000, 0 0 10px #ff8d00, 0 0 98px #ff0000;
    }
}
@media only screen and (max-width: 990px){
    .text-effect{ font-size: 100px; }
}
@media only screen and (max-width: 767px){
    .text-effect{ font-size: 80px; }
}
@media only screen and (max-width: 479px){
    .text-effect{ font-size: 60px; }
}
@media only screen and (max-width: 359px){
    .text-effect{ font-size: 45px; }
}

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

/*Vision*/

.main-timeline{ font-family: 'Poppins', sans-serif; }
.main-timeline:after{
    content: '';
    display: block;
    clear: both;
}
.main-timeline .timeline{
    width: 50%;
    padding: 0 15px 30px 0;
    margin: 0 5px 30px 0;
    float: left;
}
.main-timeline .timeline-content{
    padding: 20px 120px 20px 20px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    display: block;
    position: relative;
}
.main-timeline .timeline-content:hover{ text-decoration: none; }
.main-timeline .timeline-content:before{
    content: '';
    background: linear-gradient(to left,#3CB54B,#B3F12E);
    height: 30px;
    width: 100%;
    position: absolute;
    left: 30px;
    top: 100%;
}
.main-timeline .timeline-icon{
    color: #3CB54B;
    font-size: 50px;
    text-align: center;
    line-height: 100px;
    width: 100px;
    height: 100px;
    border-left: 1px solid #000;
    transform: translateY(-50%);
    position: absolute;
    right: 0;
    top: 50%;
}
.main-timeline .title{
    color: #3CB54B;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 7px;
}
.main-timeline .description{
    color: #333;
    font-size: 13px;
    font-weight: 300;
    line-height: 21px;
    letter-spacing: 1px;
    margin: 0;
}
.main-timeline .timeline:nth-child(even){
    padding: 0 0 30px 15px;
    margin: 0 0 30px 5px;
    float: right;
}
.main-timeline .timeline:nth-child(even) .timeline-content{ padding: 20px 20px 20px 120px; }
.main-timeline .timeline:nth-child(even) .timeline-content:before{
    left: auto;
    right: 30px;
}
.main-timeline .timeline:nth-child(even) .timeline-icon{
    right: auto;
    left: 0;
    border-left: none;
    border-right: 1px solid #000;
}
    .main-timeline .timeline:nth-child(4n+2) .timeline-content:before {
        background: linear-gradient(to right,#F6A21C,#FFDB17);
    }
.main-timeline .timeline:nth-child(4n+2) .timeline-icon,
.main-timeline .timeline:nth-child(4n+2) .title{
    color: #F6A21C;
}
.main-timeline .timeline:nth-child(4n+3) .timeline-content:before{
    background: linear-gradient(to right,#007489,#00A28A);
}
.main-timeline .timeline:nth-child(4n+3) .timeline-icon,
.main-timeline .timeline:nth-child(4n+3) .title{
    color: #007489;
}
.main-timeline .timeline:nth-child(4n+4) .timeline-content:before{
    background: linear-gradient(to right,#0277E9,#00C5EC);
}
.main-timeline .timeline:nth-child(4n+4) .timeline-icon,
.main-timeline .timeline:nth-child(4n+4) .title{
    color: #0277E9;
}
@media screen and (max-width:767px){
    .main-timeline .timeline,
    .main-timeline .timeline:nth-child(even){
        width: 100%;
    }
}
@media screen and (max-width:479px){
    .main-timeline .timeline,
    .main-timeline .timeline:nth-child(even){
        padding: 0 0 30px;
    }
    .main-timeline .timeline-content,
    .main-timeline .timeline:nth-child(even) .timeline-content{
        text-align: center;
        padding: 120px 20px 20px;
    }
    .main-timeline .timeline-content:before,
    .main-timeline .timeline:nth-child(even) .timeline-content:before{
        left: 0;
        right: auto;
    }
    .main-timeline .timeline-icon,
    .main-timeline .timeline:nth-child(even) .timeline-icon{
        border: none;
        border-bottom: 1px solid #000;
        transform: translateX(-50%) translateY(0);
        top: 0;
        left: 50%;
        right: auto;
    }
}

/*Services*/

:root{ --main-color: #0E6880; }
.serviceBox{
    color: var(--main-color);
    background-color: #fff;
    font-family: 'Raleway', sans-serif;
    text-align: center;
    padding: 0 25px 30px;
    position: relative;
    z-index: 1;
}
.serviceBox:before,
.serviceBox:after{
    content: ""; 
    background: #fff;
    border-radius: 15px 15px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 10px;
    right: 10px;
    z-index: -1;
}
.serviceBox:after{
    background-color: var(--main-color);
    height: 50%;
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
}
.serviceBox .service-icon{
    color:#fff;
    background: var(--main-color);
    font-size: 45px;
    width: 75%;
    margin: 0 auto 35px;
    border-radius:0 0 50px 50px;
    position: relative;
}
.serviceBox .service-icon:before,
.serviceBox .service-icon:after{
    content: "";
    background: linear-gradient(to top left, var(--main-color) 49%, transparent 50%);
    width: 10px;
    height: 10px;
    position: absolute;
    top: 0;
    left: -10px;
}
.serviceBox .service-icon:after{
    background: linear-gradient(to top right, var(--main-color) 49%, transparent 50%);
    left: auto;
    right: -10px;
}
.serviceBox .title{
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0 0 10px;
}
.serviceBox .description{
    color: #555;
    font-size: 14px;
    letter-spacing: 0.5px;
    line-height: 25px;
}
.serviceBox.yellow{ --main-color: #FFB90D; }
.serviceBox.green{ --main-color: #60B361; }
.serviceBox.blue{ --main-color: #016FCE; }
@media only screen and (max-width: 1199px){
    .serviceBox{ margin: 0 0 40px; }
}

/*Team*/

.demo{ background: #e5e5e5; }
.our-team {
    border: 2px solid #fab60d;
    border-radius: 10px;
    text-align: center;
    margin: 10px;
    z-index: 1;
    position: relative;
}
.our-team:before,
.our-team:after{
    content: "";
    width: 100%;
    height: 104%;
    background: #fab60d;
    position: absolute;
    top: 50%;
    left: 0;
    z-index: -1;
    transform: translateY(-50%) scaleX(0.3);
    transition: all 0.3s ease 0s;
}
.our-team:after{
    width: 106%;
    left: 50%;
    transform: translate(-50%, -50%) scaleY(0.25);
}
.our-team:hover:before{ transform: translateY(-50%) scaleX(0.7); }
.our-team:hover:after{ transform: translate(-50%, -50%) scaleY(0.7); }
.our-team img{
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: all 0.3s ease 0s;
}
.our-team .team-content{
    width: 93%;
    padding: 25px 0 10px;
    background: #fab60d;
    position: absolute;
    bottom: 50px;
    left: 50%;
    opacity: 0;
    -webkit-clip-path: polygon(0% 15%, 15% 15%, 15% 0%, 85% 0%, 85% 15%, 100% 15%, 100% 85%, 85% 85%, 85% 100%, 15% 100%, 15% 85%, 0% 85%);
    clip-path: polygon(0% 15%, 15% 15%, 15% 0%, 85% 0%, 85% 15%, 100% 15%, 100% 85%, 85% 85%, 85% 100%, 15% 100%, 15% 85%, 0% 85%);
    transform: translateX(-50%);
    transition: all 0.3s cubic-bezier(0.5, 0.2,0.1,0.9);
}
.our-team:hover .team-content{
    bottom: 10px;
    opacity: 1;
}
.our-team .title{
    font-size: 25px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 1px;
    text-transform: capitalize;
    margin: 0;
}
.our-team .post{
    display: block;
    font-size: 16px;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.our-team .social{
    padding: 0;
    margin: 0;
    list-style: none;
}
.our-team .social li{
    display: inline-block;
    margin: 0 5px;
}
.our-team .social li a{
    display: block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    border-radius: 50%;
    background: #fff;
    font-size: 20px;
    color: #fab60d;
    transition: all 0.3s ease 0s;
}
.our-team .social li a:hover{
    background: linear-gradient(to bottom,#ff3232, #fab60d);
    box-shadow: 0 0 0 5px rgba(255,255,255,0.3);
    color: #fff;
}
@media only screen and (max-width: 990px){
    .our-team{ margin-bottom: 30px; }
}

/*Testimonial*/

/*.demo{ background: #3d3d3d; }*/
.testimonial {
    padding: 35px 50px;
    margin: 0 20px 30px;
    border-radius: 0 70px 0 70px;
    border: 5px solid #a6eb32;
    border-left: none;
    border-right: none;
    text-align: center;
}
.testimonial .pic{
    display: inline-block;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 20px;
    overflow: hidden;
}
.testimonial .pic img{
    width: 100%;
    height: auto;
}
.testimonial .title{
    display: block;
    margin: 0 0 7px 0;
    font-size: 20px;
    font-weight: 600;
    color: #f6a21c;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.testimonial .post{
    display: block;
    font-size: 15px;
    color: #42b84a;
    text-transform: capitalize;
    margin-bottom: 20px;
}
.testimonial .description{
    font-size: 16px;
    color: #000;
    line-height: 30px;
}
.owl-theme .owl-controls{ margin-top: 0; }
.owl-theme .owl-controls .owl-page span{
    background: #000;
    opacity: 0.8;
    transition: all 0.3s ease 0s;
}
.owl-theme .owl-controls .owl-page.active span{ 
    background: #42b84a; 
}

/*Success*/

.counter{
    color: #555;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    width: 200px;
    height: 200px;
    padding: 33px 10px 0;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.counter:before,
.counter:after{
    content: '';
    background: linear-gradient(to top left,#F95BAC,transparent);
    height: 59%;
    width: 59%;
    border-radius: 0 50% 50%;
    opacity: 0.2;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    transition: all 0.3s ease 0s;
}
.counter:after{
    background: linear-gradient(to right bottom,#BE2D94,transparent);
    border-radius: 50% 50% 0;
    top: auto;
    bottom: 0;
    left: auto;
    right: 0;
}
.counter .counter-icon{
    font-size: 40px;
    text-align: center;
    line-height: 40px;
    margin: 0 0 17px;
    display: inline-block;
}
.counter h3{
    font-size: 18px;
    font-weight: 500;
    text-transform: capitalize;
    margin: 0 0 16px;
}
.counter .counter-value{
    font-size: 33px;
    font-weight: 600;
    line-height: 33px;
    display: block;
}
.counter.blue:before{ background: linear-gradient(to top left, #8676da,transparent); }
.counter.blue:after{ background: linear-gradient(to right bottom, #503FA9, transparent); }
.counter.cyan:before{ background: linear-gradient(to top left, #95CEA4, transparent); }
.counter.cyan:after{ background: linear-gradient(to right bottom, #05C2E8, transparent); }
.counter.green:before{ background: linear-gradient(to top left, #cddd1c, transparent); }
.counter.green:after{ background: linear-gradient(to right bottom, #63B949, transparent); }
@media screen and (max-width:990px){
    .counter{ margin-bottom: 40px; }
}

/*footer*/

footer {
    background-image:url('../img/foot.jpg');
    background-repeat:no-repeat;
    width:100%;
    padding-top:250px;
}

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

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

footer h3{
    margin-bottom:15px;
}

footer i{
    font-size:25px;
}

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

footer form{
    display:flex;
}

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

#aimg {
    background-image: linear-gradient(rgba(0,0,0,0),rgba(0,0,0,0)),url('../img/head.png');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    padding-top: 250px;
    padding-bottom: 280px;
}

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

/********** Business Page **********/

#business table{
    border:1px solid lightgrey;
    width:70%;
    margin-left:15%;
    padding-top:30px;
}

#business table tr{
    border: 1px solid lightgrey;
}

#business table tr td{
    border: 3px solid lightgrey;
    padding:10px 0px;
}

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

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

#contact a:hover {
    color: white;
}

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

#map:hover {
    border: 10px solid orange;
}

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

    /*Footer*/

    footer {
        padding-top: 135px;
    }

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

    #aimg {
        background-image: linear-gradient(rgba(0,0,0,0),rgba(0,0,0,0)),url('../img/head1.png');
        padding-top: 140px;
        padding-bottom: 150px;
        width: 100%;
    }

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