@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:wght@300&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    text-transform: capitalize;
    transition: all 0.2s linear;
    font-family: 'Fira Sans', sans-serif;
}

:root {
    --min-color: #fff;
    --sc-color: #3ec1d5;
    --th-color: #333;
    --headerclr: #858585;
    --menu-color: #33333394;
    /*222533*/
    --mincolor: #ffcb0f;

}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 0.5rem;
    font-size: 66%;
}

@keyframes wave {
    0% {
        top: 5%;
    }

    100% {
        top: -5%;
    }
}

@keyframes wave2 {
    0% {
        transform: skewX(0deg);
    }

    50% {
        transform: skewX(-1.5deg);
    }

    100% {
        transform: skewX(0deg);
    }
}

@keyframes wave3 {
    0% {
        opacity: 0.0;
    }

    5% {
        opacity: 0.05;  
    }
    10% {
        opacity: 0.10;  
    }
    15% {
        opacity: 0.15; 
    }
    20% {
        opacity: 0.20; 
    }
    25% {
        opacity: 0.25; 
    }
    30% {
        opacity: 0.30; 
    }
    35% {
        opacity: 0.35; 
    }
    40% {
    opacity: 0.40; 
    }
    45% {
        opacity: 0.45; 
    }
    50% {
        opacity: 0.50;
    }
    55%{
        opacity: 0.55; 
    }
    60% {
        opacity: 0.60; 
    }
    65% {
        opacity: 0.65; 
    }
    70% {
        opacity: 0.70; 
    }
    75% {
        opacity: 0.75; 
    }
    80% {
        opacity: 0.80; 
    }
    85%{
        opacity: 0.85; 
    }
    90%{
        opacity: 0.90; 
    }
    95%{
        opacity: 0.95; 
    }
    100% {
        opacity: 1;
    }
}



.bg_tr {
    position: fixed;
    display: flex;
    justify-content: end;
    width: fit-content;
    height: 100%;
    bottom: 0;
    right: 0;
    margin: auto;
    z-index: 111;
}

.bg_tr img {
    width: fit-content;
    height: 100%;
    z-index: 111;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right;
    animation: wave3 1.5s ease-in-out infinite alternate;

}

.header {
    padding: 2rem 7%;
    position: absolute;
    height: 100px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--headerclr);
    z-index: 111111;
}

.menu {
    display: none;
}

.menu-bar {
    color: white;
    display: none;
}

#logo {
    color: var(--mincolor);
    text-transform: uppercase;
    font-size: 60px;
}

.nav a {
    color: white;
    font-size: 1.5rem;
    margin-left: 1rem;
}

.nav a:hover {
    color: var(--mincolor);
}

.icon-header div {
    color: white;
    margin-left: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
}



.nav.active {
    top: 100%;
}

/* .search-form {
    width: 50%;
    position: absolute;
    top: -110%;
    right: 2rem;
    transition: .2s;
}

.search-form input {
    width: 100%;
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid var(--headerclr);
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.search-form.active {
    top: 110%;
} */

#home {
    width: 100%;
}

.background-image {
    background: var(--bgImg);
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}

.background-image .box::before {
    content: "";
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
}

.inner-back-text {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1111;
    transform: translate(-50%, -50%);
    text-align: center;
}

.inner-back-text h1 {
    font-size: 50px;
    color: white;
    text-align: center;
    line-height: 5rem;
    letter-spacing: 5px;
    text-transform: uppercase;
}

.inner-back-text h1 span {
    font-size: 25px;
    color: var(--mincolor);
    letter-spacing: 5px;
    text-transform: uppercase;
}

.welcome {
    font-weight: bold;
    font-size: 60px;
    letter-spacing: 10px;
}

.inner-back-text p {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 15px;
    padding: 1rem;
}

.inner-back-btn {
    display: flex;
    justify-content: center;
}

.inner-back-btn a {
    margin-right: 1rem;
}

.first-btn,
.second-btn {
    padding: 1.5rem 4rem;
    background: var(--headerclr);
    color: var(--min-color);
    border-radius: 15px;
    font-size: 1.5rem;
}

.first-btn:hover,
.second-btn:hover {
    background: var(--min-color);
    color: var(--headerclr);
    letter-spacing: 3px;
}

.welcome {
    padding: 3rem 7%;
}

.main-welcome {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.inner-welcome {
    flex: 1 1 45rem;
}

.welcome-text h1 {
    font-size: 40px;
    color: var(--mincolor);

}

.welcome-text p {
    font-size: 1.5rem;
    padding: 1rem 0;
    margin-bottom: 25px;
}

.welcome-text a {
    padding: 1.5rem 4rem;
    background: var(--mincolor);
    color: var(--headerclr);
    font-size: 1.5rem;
    border-radius: 15px;
}

.welcome-text a:hover {
    background: var(--headerclr);
    color: white;
}

.inner-welcome img {
    width: 80%;
}

/*===========================================================*/
.btn {
    display: inline-block;
    padding: 0.8rem 3.8rem;
    font-size: 1.8rem;
    border: 0.1rem solid var(--mincolor);
    outline: 0;
    background: var(--mincolor);
    border-radius: 1rem;
    cursor: pointer;
    text-align: center;
    color: var(--min-color);
}

.btn:hover {
    background: none;
    color: var(--sc-color);
}

.heading {
    margin: 5rem auto;
    font-size: 3.5rem;
    text-align: center;
}

.heading div {
    display: inline-block;
    border-bottom: 0.2rem solid var(--th-color);
    width: 15rem;
}

.heading div:hover {
    width: 25rem;
}

section {
    padding: 3rem 9%;
}



.about {
    background: #eee;
}

.about .box {
    z-index: 1111;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 7rem;
}

.about .box .image img {
    width: 60rem;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.about .box .content h3 {
    color: var(--th-color);
    font-size: 3.5rem;
}

.about .box .content p {
    color: var(--th-color);
    font-size: 2rem;
    margin: 2rem 0;
}

.services .row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30%, 1fr));
    gap: 0.8rem;
    z-index: 1111;
    margin-top: 5rem;
}

.services .row .box {
    text-align: center;
    color: var(--th-color);
    padding: 4rem;
    z-index: 1111;
    border-radius: 0.8rem;
}

.services .row .box:hover {
    box-shadow: 0.5rem 0.5rem 0.5rem rgba(0, 0, 0, 0.2);
    background: #eee;
}

.services .row .box i {
    font-size: 5rem;
}

.services .row .box h3 {
    font-size: 2.5rem;
    margin: 1.5rem 0;
}

.services .row .box p {
    font-size: 2rem;
}

.portfolio .row {
    z-index: 1111;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25%, 1fr));
    gap: 1rem;
    margin: 6rem auto;
    width: 90%;
}

.portfolio .row .box {
    z-index: 1111;
    position: relative;
    overflow: hidden;
}



.portfolio .row .box img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}


.portfolio .row .box .content {
    z-index: 1111;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
    text-align: center;
    padding: 3rem 2rem;
    height: 100%;
    width: 100%;
    padding-top: 2.5rem;
}

.portfolio .row .box .content h3 {
    font-size: 2.5rem;
    color: var(--sc-color);
    margin-top: 4rem;
}

.portfolio .row .box .content p {
    padding: 1rem 0;
    font-size: 1.8rem;
    line-height: 1;
    color: var(--min-color);
    margin-bottom: 0;
    color: var(--min-color);
}


.team {
    width: 100%;
}

.team .row {

    background: url(../img/background/reviews-bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    min-height: 70vh;
}

.team .row .team-slider .box {
    padding: 0 3%;
}

.team .team-slider .box .content {
    background: #222;
    box-shadow: 0 0.5 0.5 rgba(0, 0, 0, 0.6);
    text-align: center;
    padding: 4rem;
    border-radius: 1rem;
    height: 30rem;
}

.team .team-slider .box .image img {
    width: 12rem;
    height: 10rem;
    border-radius: 50%;
    position: absolute;
    top: 20rem;
    left: 1rem;
    border: 0.3rem solid var(--mincolor);

}

.team .team-slider .box .content h3 {
    font-size: 3.5rem;
    color: var(--sc-color);
    margin: 1rem;

}

.team .team-slider .box .content p {
    color: #fff;
    font-size: 2.2rem;
}

.certificate .row {
    z-index: 1111;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25%, 1fr));
    gap: 2rem;
    margin: 6rem 0;
}

.certificate .row img {
    width: 100%;
    object-fit: cover;
}

.certificate .row h3 {
    color: var(--th-color);
    font-size: 3rem;
    margin: 1.5rem 0;
}

.certificate .row p {
    color: var(--th-color);
    font-size: 1.9rem;
    margin: 1rem 0;
}

/*
.blog .row{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(25%,1fr));
    gap: 2rem;
    margin: 6rem 0;
}
.blog .row img{
    width: 100%;
    object-fit: cover;
}
.blog .row h3{
    color: var(--th-color);
    font-size: 3rem;
    margin: 1.5rem 0;
}
.blog .row p{
    color: var(--th-color);
    font-size: 1.9rem;
    margin: 1rem 0;
}*/
.welcam {
    padding: 7rem 0;
    text-align: center;
    height: 18rem;
    background: var(--th-color);
}

.welcam span {
    font-size: 3rem;
    padding: 3rem;
    color: var(--min-color);
}

.contact .box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30%, 1fr));
    gap: 2rem;
    text-align: center;
}

.contact .box i {
    font-size: 3.8rem;
    color: var(--mincolor);
}

.contact .box div {
    font-size: 2rem;
    color: var(--th-color);
    margin: 1rem 0;
}

.contact .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin: 8rem 0;
}

.contact .row .form-c input,
textarea {
    background: var(--min-color);
    border: 0.1rem solid rgb(160, 160, 160);
    padding: 1rem;
    height: 4.5rem;
    width: 100%;
    margin: 0.7rem 0;
    color: var(--th-color);
    font-size: 1.9rem;
}

.contact .row .form-c input[type="submit"] {
    background: var(--mincolor);
    cursor: pointer;
    margin-bottom: 2rem;
    color: var(--min-color);
    border: 0.1rem solid var(--mincolor);

}

.contact .row .form-c input[type="submit"]:hover {
    background: none;
    color: var(--mincolor);
}

.contact .row .form-c textarea {
    height: 15rem;
    padding: 1rem;
}


.ifarm {
    z-index: 1111;
}

.form-c {
    z-index: 1111
}

.footer {
    background: #222;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20%, 1fr));
    gap: 2rem;
    text-align: center;
    padding: 4rem;
}

.footer h3 {
    font-size: 3.5rem;
    margin: 2rem 0;
    color: var(--min-color);
}

.footer p {
    font-size: 1.6rem;
    margin: 1rem 0;
    color: var(--min-color);
}

.footer i {
    font-size: 2.6rem;
    margin: 1rem 0.5rem;
    color: var(--min-color);
}

.footer i:hover,
.footer a:hover {
    color: var(--mincolor);
}

.footer a {

    display: block;
    font-size: 2rem;
    margin: 0.5rem;
    color: var(--min-color);
}

.our-servis {
    z-index: 1111;
}

.shar a:hover {
    color: var(--sc-color);
}

.shar a {
    display: inline-block;
    font-size: 2rem;
    margin: 0.5rem;
    color: var(--min-color);
}

/* media query  */


@media(max-width:850px)  {
    .fas.fa-bars.menu-bar {
        display: block;
        color: white;
    }

    .fas.fa-bars.menu-bar.active {
        display: block;
        color: var(--mincolor);
    }

    .menu.active {
        width: fit-content;
        background-color: var(--menu-color);
        padding: 10px;
        top: 60px;
        right: 75px;
        display: block;
        position: absolute;
        z-index: 111111111111;
    }

    .menu ul li {
        list-style: none;
        margin: 10px;
    }

    .menu ul li a {
        text-decoration: none;
        color: var(--min-color);
        font-size: 14px;
        font-weight: bold;
    }

    .menu ul li a:hover {
        color: var(--mincolor);
    }



    header .nav {
        display: none;
    }



    .about .box {
        flex-wrap: wrap;
        text-align: center;
    }


     .about .box .content  {
        left:0;
        right:0;
        margin: 0 auto;
    }
    
    
    .about .box .image img {
        width: 90%;
    }

    .services .row {

        grid-template-columns: repeat(auto-fit, minmax(80%, 1fr));
    }

    .certificate .row {
        grid-template-columns: repeat(auto-fit, minmax(80%, 1fr));
    }

    .portfolio .row .box .content h3 {
        font-size: 1.5rem;
        color: var(--sc-color);
        margin-top: 2rem;
    }

    .portfolio .row .box .content p {
        padding: .5rem 0;
        font-size: 1.2rem;
        line-height: 1;
        color: var(--min-color);
        margin-bottom: 0;
        color: var(--min-color);
    }

    .blog .row {
        grid-template-columns: repeat(auto-fit, minmax(80%, 1fr));
    }

    .contact .row {
        flex-flow: column;
    }

    .contact .row iframe {
        width: 100%;
    }

    .footer {

        grid-template-columns: repeat(auto-fit, minmax(40%, 1fr));
    }
}

@media(max-width:450px) and (min-width:320px) {

    .fas.fa-bars.menu-bar {
        display: block;
        color: white;
    }

    .fas.fa-bars.menu-bar.active {
        display: block;
        color: var(--mincolor);
    }

    .menu.active {
        width: fit-content;
        background-color: var(--menu-color);
        padding: 10px;
        top: 60px;
        right: 42px;
        display: block;
        position: absolute;
        z-index: 111111111111;
    }

    .menu ul li {
        list-style: none;
        margin: 10px;
    }

    .menu ul li a {
        text-decoration: none;
        color: var(--min-color);
        font-size: 14px;
        font-weight: bold;
    }

    .menu ul li a:hover {
        color: var(--mincolor);
    }

    header .nav {
        display: none;
    }

    .inner-back-text h1 {
        font-size: 15px;
        letter-spacing: 1.5px;
        color: var(--min-color);
        text-transform: uppercase;
    }

    .inner-back-text h1 span {
        font-size: 10px;
        letter-spacing: 1.5px;
        text-transform: uppercase;
    }

    .welcome {
        width: max-content;
        font-weight: bold;
        font-size: 30px;
        letter-spacing: 5px;
    }

    .inner-back-text p {
        color: white;
        font-size: 1.5;
        margin-bottom: 7.5px;
        padding: .5rem;
    }



    .inner-back-btn a {
        margin-right: .5rem;
    }

    .first-btn,
    .second-btn {
        padding: 1rem 2rem;
        border-radius: 15px;
        font-size: 1.2rem;
        background: var(--headerclr);
        color: var(--min-color);
    }

    .first-btn:hover,
    .second-btn:hover {
        background: var(--min-color);
        color: var(--headerclr);
        letter-spacing: 3px;
    }


    .about .box {
        flex-wrap: wrap;
        text-align: center;
    }

    .about h2 {
        font-size: 2rem;
    }

    .about .box .image img {
        width: 90%;
    }
    .about .box .content  {
        left:0;
        right:0;
        margin: 0 auto;
    }

    .about .box .content h3 {
        font-size: 2rem;
    }

    .about .box .content p {
        font-size: 1.5rem;
    }

    .certificate .row {
        grid-template-columns: repeat(auto-fit, minmax(80%, 1fr));
    }

    .certificate .heading {
        font-size: 2rem;
    }

    .services .row {

        grid-template-columns: repeat(auto-fit, minmax(80%, 1fr));
    }

    .services .heading {
        font-size: 2rem;
    }

    .services .row .box i {
        font-size: 3rem;
    }

    .services .row .box h3 {
        font-size: 1.5rem;
    }

    .services .row .box p {
        font-size: 1.3rem;
    }



    .portfolio .heading {
        font-size: 2rem;
    }

    .portfolio .row .box .content h3 {
        font-size: .9rem;
        color: var(--sc-color);
        margin-top: .5rem;
    }

    .portfolio .row .box .content p {
        padding: .5rem 0;
        font-size: .6rem;
        line-height: 1;
        color: var(--min-color);
        margin-bottom: 0;
        color: var(--min-color);
    }


    .team .row {
        z-index: 11111;
        min-height: 70vh;
    }

    .team .team-slider .box .content {

        height: 22rem;
    }

    .team .heading {
        font-size: 2rem;
    }

    .team .team-slider .box .content h3 {
        font-size: 2.5rem;
        color: var(--sc-color);
        margin: 1rem;

    }

    .team .team-slider .box .content p {
        color: #fff;
        font-size: 1.2rem;
    }

    .team .team-slider .box .image img {
        width: 7rem;
        height: 7rem;
        border-radius: 50%;
        position: absolute;
        top: 14rem;
        left: 2rem;
        border: 0.3rem solid var(--sc-color);

    }


    .welcam span {
        font-size: 1.4rem;
    }

    .blog .row {
        grid-template-columns: repeat(auto-fit, minmax(80%, 1fr));
    }

    .contact .row {
        flex-flow: column;
    }

    .contact .heading {
        font-size: 2rem;
    }

    .contact .box i {
        font-size: 2.8rem;
        color: var(--sc-color);
    }

    .contact .box div {
        font-size: 1rem;
        color: var(--th-color);
        margin: 1rem 0;
    }

    .contact .row iframe {
        width: 100%;
    }

    .footer {
        z-index: 11111;
        grid-template-columns: repeat(auto-fit, minmax(40%, 1fr));
    }

    .footer h3 {
        font-size: 2rem;
        margin: 2rem 0;
        color: var(--min-color);
    }

    .footer p {
        font-size: 1rem;
        margin: 1rem 0;
        color: var(--min-color);
    }

}

