@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800&display=swap');

body {
    margin: 0;
    /* font-family: 'Raleway', sans-serif;*/
    
    /* background-color: #fff; */
    /* background-color: #fff; */
    
    /* background-repeat: no-repeat; */
    background-size: contain, cover;
    }

*,
*:before,
*:after {
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
}

p {
    margin: 0 0 10px;
}


/* Container
===================*/
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.logo {
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 23px;
    font-weight: 600;
    letter-spacing: 2px;
}
.logo span {
    color: #0b9444;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 23px;
    font-weight: 600;
    letter-spacing: 2px;
}
/* Header
===================*/

.header {
        width: 100%;
        height: auto;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1000;
        border-bottom: 1px solid #e3e3e3;
        /* background-color: #5a266d8f; */
}

.header.fixed {
    height: auto;
    position: fixed;
    background-color: #ffffff;
    border-bottom: 1px solid #fcb040;
}

.header.fixed .header__inner {
    padding-top: 14px;
    /* padding-bottom: 5px; */
    border-bottom: 0;
    display: flex;
}
.header .fixed .header__inner .header__logo img{
    max-height: 35px;
    width: auto;
}
.header__logo img{
    max-height: 50px;
    width: auto;
    z-index: 1;
}
.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}


/* Nav
===================*/

.nav {
    display: flex;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 500;
    
}

.nav__link {
    margin-left: 50px;

    color: #000;
    text-decoration: none;
    opacity: 1;

    transition: opacity .1s linear;
}

.nav__link:first-child {
    margin-left: 0;
}

.nav__link:hover, .nav__link:focus, .nav__link:active {
    opacity: 1;
    color: #0b9444;
}


/* Burger */
.burger {
    display: none;
    padding: 9px 2px;

    background: none;
    border: 0;
    cursor: pointer;
}

.burger__item {
    display: block;
    width: 28px;
    height: 3px;

    background-color: #0b9444;

    font-size: 0;
    color: transparent;

    position: relative;
}

.burger__item:before,
.burger__item:after {
    content: "";
    height: 100%;

    background-color: #000000;

    position: absolute;
    right: 0;
    z-index: 1;
}

.burger__item:before {
    width: 30px;
    top: -8px;
}

.burger__item:after {
    width: 26px;
    bottom: -8px;
}


/* Intro
===================*/
.head_video {
  object-fit: cover;
  width: 100%;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    height: 100vh;
    padding-top: 50px; 
    background: #ffffff url(../img/bg1.png) top no-repeat;
    /* background: #011728 url(../img/4.jpg) top no-repeat; */
    background-size: cover;
    z-index: 1;
}



.intro__inner {
    width: 100%;
    max-width: 970px;
    margin: 0 auto;

    text-align: center;
}
.intro__inner img {
    width: 100%;
    max-width: 500px;
    height: auto;
}
.intro__title {
    margin: 20px 0 30px;

    font-family: 'Open Sans', sans-serif;
    font-size: 25px;
    line-height: 1.1;
    color: #4e4e4e;
    font-weight: 500;
    
    
}

.intro__social {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-start;
    align-content: stretch;

}
.intro__ico {
    margin-right: 20px;
    
    
}
.intro__ico img{
    margin-top: 10px;
    width: 100%;
    max-width: 40px;
    height: auto;
    
    
} 
.intro__subtitle {
    margin-bottom: 60px;

    font-size: 22px;
    color: #fff;
    line-height: 1.5;
    font-weight: 400;
}
.video-container {
    overflow: hidden;
    position: relative;
    width:100%;
    margin-top: 15px;
    
}

.video-container::after {
    padding-top: 56.25%;
    display: block;
    content: '';
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.team .video-container {
    overflow: hidden;
    position: relative;
    width: 50%;
    margin-top: 15px;
    margin: 0 auto;
    margin-bottom: 35px;
    }
.ytp-title-text {
    display: none;
}
.bar1 {
    width: 100px;
    height: 5px;
    position: absolute;
    left: 50%;
    top: 0%;
    transform: translateX(-50%);
    /* background-color: #ffc107; */
    border-radius: 0px 0px 10px 10px;
    display: none;
    /* animation: bar1 0.5s; */
}
.features__item:hover{
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0, 0.6);
    transition: all ease 0.8s;
}

.features__item:hover .bar1{
    display: block;
}
.team__item:hover .bar1{
    display: block;
}
@keyframes bar1{
    0%{
        width:0px;
    }
    100%{
        width:200px;
    }
}



/* Team
===================*/
#team {
    background: #31344e url(../img/4.jpg) center no-repeat;
    background-size: cover;
}
#team2 {
    background: #31344e url(../img/3.jpg) center no-repeat;
    background-size: cover;
    
    
}
#team3 {
    background: #31344e url(../img/5.jpg) center no-repeat;
    background-size: cover;
    
}

#team5 {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 50px;
    padding-top: 50px;
    background: #31344e url(../img/7.jpg) center no-repeat;
    background-size: cover;
    
}
.team {
    padding: 55px 25px;
    /* height: 100vh; */
}
.team_video {
    position: relative;
 }
.team__title {
    margin-bottom: 30px;
    text-align: center;
    
    color: #fc9c32;
    font-weight: 700;
}
.team__inner {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
    justify-content: space-around;
}
.team__item {
    width: 15%;
    padding: 15px 15px;
    margin-bottom: 4px;
    z-index: 1;
    /* background-color: rgb(0,0,0); */
    /* background-color: rgba(0,0,0, 0.4); */
    /* border-radius: 10px; */
    position: relative;
    border-style: solid;
    border-color: #f5f5f5;
    border-width: 1px;
}

.team__item:hover{
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0, 0.2);
    transition: all ease 0.8s;
}
.team__photo {
    display: block;
    /* max-width: 100%; */
    /* max-height: 150px; */
    /* width: auto; */
    border: solid;
    border-color: #fcb040;
    border-radius: 41px;
    margin-bottom: 12px;
    border-width: 1px;
}

.team__name {
    margin-bottom: 8px;

    font-size: 22px;
    color: #ffffff;
}

.team__prof {
    margin-bottom: 15px;

    font-size: 13px;
        color: #f3f3f3;
    text-transform: uppercase;
}

.team__text {
    /* margin-bottom: 5px; */
    font-size: 14px;
    /* line-height: 1.5; */
    color: #0f75bc;
    text-align: center;
}


#section07 a {
    padding-top: 0px;
    margin-top: 0px;
}
#section07 a span {
      position: absolute;
    top: 0;
    left: 50%;
    width: 24px;
    height: 24px;
    margin-left: -12px;
    border-left: 4px solid #000000;
    border-bottom: 4px solid #000000;
    -webkit-transform: rotate(
-45deg
);
    transform: rotate(
-45deg
);
    -webkit-animation: sdb07 2s infinite;
    animation: sdb07 2s infinite;
    opacity: 0;
    box-sizing: border-box;
}
#section07 a span:nth-of-type(1) {
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
}
#section07 a span:nth-of-type(2) {
  top: 16px;
  -webkit-animation-delay: .15s;
  animation-delay: .15s;
}
#section07 a span:nth-of-type(3) {
  top: 32px;
  -webkit-animation-delay: .3s;
  animation-delay: .3s;
}


@keyframes sdb07 {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}


.demo a {
  
  bottom: 20px;
  left: 50%;
  z-index: 2;
  display: inline-block;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
  color: #000;
  font : normal 400 20px/1 'Josefin Sans', sans-serif;
  letter-spacing: .1em;
  text-decoration: none;
  transition: opacity .3s;
}
.demo a:hover {
  opacity: .5;
}




/* Copyright
===================*/

.copyright {
    padding: 20px 0;
    background-color: #031f35;
}

.copyright__text {
    text-align: center;
    font-size: 14px;
    line-height: 1.5;
    color: #808080;
}

.copyright__text span {
    color: #fff;
}

/* kaardid
===================*/
#team4 {
    
    
    
    background: #fada3e url(../img/bg1.png) top no-repeat;
    background-size: 100%;

}


.team4 {
    
    display: flex;
    justify-content: center;
    align-items: center;
    /*min-height: 100vh;
    /* background: #011728 url(../img/4.jpg) top no-repeat; */
    padding-bottom: 50px;
    padding-top: 30px;
    
    

}



.container1 {
    position: relative;
    width: 1200px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px,1fr));
    }

/* kaardid .container1:before {
    content: '';
    position: absolute;
    left: 0;
    top: -50px;
    width: 298px;
    height: 111%;
    background: #0f75bc;
    transform-origin: top;
    transform: skewX(-25deg);
    z-index: 0;
}
*/

.container1 .card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    margin: 2px 2px;
    text-decoration: none;
    color: #000;
    }

.container1 .card:hover {
    overflow: hidden;
  border: 2px solid #000;
    }

.container1 .card:nth-child(even) {
    flex-direction: column-reverse;
    }
.container1 .card .imgBX {
    position: relative;
    width: 100%;
    height: 150px;
    background: #000;
    } 
.container1 .card .imgBX img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    }

.container1 .card .content {
    position: relative;
    width: 150px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container1 .card .content div{
    padding: 20px;
    text-align: center;
 }
 @media (max-width: 1200px)   
    
{
    .container1 {
    
    margin: 20px;
    }

 } 
 @media (max-width: 1000px)   
    
{
    .container1 {
    grid-template-columns: repeat(auto-fit, minmax(50%,1fr));
    margin: 20px;

    }
    .container1 .card {
    flex-direction: row;
    margin: 5px 5px;
    }
    .container1 .card:nth-child(even) {
    flex-direction: row-reverse;
    }
    .container1 .card .imgBX,
    .container1 .card .content {
    width: 50%;
    }

 }

  @media (max-width: 600px)   
    
{
    .container1 .card {
    flex-direction: column;
    margin: 5px 5px;
    }
    .container1 .card:nth-child(even) {
    flex-direction: column;
    }
    .container1 .card .imgBX,
    .container1 .card .content {
    width: 100%;
    }
    .container1 .card .content {
    height: 150px;
    }
 }
  @media (max-width: 330px)   
    
{
    .container1 .card .content p{
    font-size: 10px;
 }
 .container1 .card .content h2{
    font-size: 12px;
 }
 }




/* About Section */
#about {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    height: 100vh;
    padding-top: 50px;
    border-left: 0px;
    border-right: 0px;
    background: #0b9444 url(../img/bg11.png) bottom no-repeat;
    background-size: cover;
    
}
.about {
    /* margin: 90px 0; */
    text-align: center;
}

#about p{
    
    margin-bottom: 10px;
    font-size: inherit;
    line-height: 1.5;
    
    font-weight: 400;
    text-align: center;
    font-size: 16px;
    color: white;
}
.about_text {
    
    margin-bottom: 10px;
    font-size: inherit;
    line-height: 1.5;
    
    font-weight: 400;
    text-align: center;
    font-size: 16px;
    color: white;
}
.about__inner {
    padding: 45px 25px;
    max-width: 1000px;
    
}
.about__img {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    
}
.about__title {
    margin-bottom: 20px;
    font-size: 24px;
    color: #ffffff;
    font-weight: 600;
    text-align: center;
}


/* End About Section *//* End Hero Section */

/* Service */

.services {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 90px 0;
    /* height: 100vh; */
    background: #0f598d url(../img/bg11.png) top no-repeat;
    background-size: cover;

}
.services h2 {
    text-align: center;
    text-transform: uppercase;
    font-size: 28px;
    font-weight: 600;
    color: white;
   
}
.services-row {
    display: flex;
    column-gap: 30px;
    row-gap: 60px;
    flex-wrap: wrap;

}

.service-card {
    flex: 1 1 0;
    min-width: 315px;
    padding: 20px;
    background-color: #ffffff;
    margin: 10px;
    border-radius: 30px;
    text-align: center;

}

.service-card-img {
    margin-bottom: 30px;
}

.service-card-title {
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 20px;
    text-transform: uppercase;
    text-decoration: none;
    

}

.service-card p {
    line-height: 2;
    text-decoration: none;

   
}


.services-row a {
    text-decoration: none;
    color: #000000;
}
.services-row a:hover {
    text-decoration: none;
    color: #ffffff;
}
.service-card:hover {
    
    color: #ffffff;
    background-color: #ed1c24;
    text-decoration: none;
}


/* Footer
===================*/

.footer {
    
    background: #031f35 url(../img/bg11.png) top no-repeat;
    background-size: cover;
    text-align: center;
    padding-top: 50px;
}

.footer__inner {
    display: flex;
    flex-wrap: wrap;
    padding: 70px 0;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.footer__block {
    width: 50%;
    padding: 25px 15px;
    background-color: rgba(0,0,0, 0.3);
    border-radius: 30px;
    text-align: center;
}

.footer__title {
        margin-bottom: 10px;
    font-size: 16px;
    font-weight: 400;
    color: #fff;
   
}

.footer__address {
    font-size: 20px;
    line-height: 1.5;
    font-style: normal;
    color: #ffffff;
    font-weight: 600;
    /* text-align: left; */
    
}

.footer__text {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, .5);
}
.footer__info {
   margin-bottom: 15px;;
    
    
    

}
.footer__info a{
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: 1.6px;
    /* font-style: oblique; */
    color: #c5c5c5;
    font-weight: 400;
    
    
    

}






/* Media
===================*/
@media (max-width: 1024px) {
    
 .team {
    
    height: 100%;
    }

    .team__item {
        width: 45%;

        text-align: center;
    }

}
@media (max-width: 990px) {

    /* Nav */
    .nav {
        
        display: none;
        width: 100%;
        flex-direction: column;
        background-color: #031f35;
        text-align: center;
        align-items: center;
        position: absolute;
        font-size: larger;
        top: 0;
        right: 0;
        padding: 20px 0;

    }
    .fixed .nav {
        
        top: 101%;
        
    }
    .nav.show {
        display: flex;
        top: 101%;
    }

    .nav__link {
        
        padding: 15px 15px;
        margin-left: 0px;
        color: #fff;
        text-decoration: none;
        opacity: 1;
        transition: opacity .1s linear;
    }

    /* Burger */
    .burger {
        display: block;
    }

    .header__inner {
    
    border-bottom: 0px solid #fad73f;
    }

    /* Intro */
    .intro__title {
        font-size: 40px;
    }

    /* Features */
    .features__item {
        width: 45%;
    }

    /* Team */

    .team {
    
    height: 100%;
    }
    .team__item {
        width: 45%;

        text-align: center;
    }

    .team__photo {
        margin-left: auto;
        margin-right: auto;
    }

    /* Team */
    .social {
        justify-content: center;
    }

    /* Reviews */
    .reviews__photo {
        width: 100%;
        margin: 15px 0 40px;
        overflow: hidden;
    }

    .reviews__content {
        width: 100%;
        padding-left: 0;
        padding-bottom: 40px;
    }
    
}
@media (max-height: 700px) {
    
    .video-container {
    
    width: 80%;
    margin-top: 15px;
    margin: 0 auto;
    }
    .team {
    
    height: 100%;
    }
}
@media (max-height: 560px) {
    .video-container {
    
    width: 60%;
    
    }

}
@media (max-height: 420px) {
    #section07 {
    
    display: none;
    
    }

}


@media (max-width: 920px) {
    .intro__inner img{
   
    max-width: 300px;
    
    }
    .intro__title {
    margin: 0 0 30px;

    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
   
    font-weight: 400;
    
    
    }

    .intro__ico img{
    margin-top: 10px;
    max-width: 30px;
    } 
}

@media (max-width: 740px) {
    #team4 {
    
    background-size: 200%;

}
    .intro__inner img{
   
    max-width: 200px;
    
    }
    .intro__title {
    margin: 0 0 30px;

    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
   
    font-weight: 400;
    
    
    }

    .intro__ico img{
    margin-top: 10px;
    max-width: 30px;
    } 
    .team__item {
    width: 100%;
}
.footer__block {
    width: 80%;
    
    }
}
@media (max-width: 400px) {
    .intro__inner img{
   
    max-width: 250px;
    
    }
    .intro__title {
    margin: 0 0 10px;

    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
   
    font-weight: 300;
    
    
    }
     .intro__ico img{
    margin-top: 10px;
    max-width: 25px;
    }
    .logo {
    
    font-size: 18px;
    font-weight: 500;
    
    }
    .logo span {
    
    font-size: 18px;
    font-weight: 500;
    
    }
   
}