@import url('https://fonts.googleapis.com/css2?family=Arvo:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fjalla+One&display=swap');


:root{
    --accent: #fa6262;
    --white: #fff;
    --dark-bg: rgba(14,17,23,.9);
    --transition: 0.5s cubic-bezier(0.455, 0.03, 0.515, 0.955);
    --extra-bg: #ebebeb;
}


body{
    direction: ltr;
    font-family: 'Arvo', sans-serif !important;
    font-size: 16px;
    margin: 0;
    padding: 0px;
    height: 100vh;
}

a{
    text-decoration: none;
    color: inherit;
    word-break: break-all;
}

a:hover,
a:focus{
    color: currentColor;
}

.section{
    padding:  93px 0;
}

.title{
    margin-bottom: 26px;
    text-align: end;
}

.navbar{
    padding: 35px 0;
    background-color: var(--dark-bg);
    position: absolute;
    z-index: 999;
    width: 100%;
}

.header-logo{
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;
}

.header-logo-img{
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-logo-img img{
    width: 50px;
    height: 50px;
}

.logo-text{
    color: var(--white);
    transition: var(--transition);
}

.logo-text:hover,
.logo-text:focus{
    color: var(--accent);
}

.navbar-nav{
    margin-left: auto;
    gap:  11px;
}


.nav-item:nth-last-child(){
    margin-right: 0;
}

.nav-item > svg{
    color: var(--white);
    margin-right: 20px;
    width: 10px;
    height: 10px;
    transition: var(--transition);
}

.nav-item:hover svg {
  transition: .3s;
  transform: translateX(20px);
}

.dropdown-item:hover svg{
      transition: .3s;
  transform: translateX(20px);
}

.nav-item a{
    color: var(--white);
    transition: var(--transition);
    padding: 0;
}


.header-logo-wr{
    display: flex;
    justify-content: space-between;
}

.dropdown-menu{
    margin-top: 11px;
    margin-bottom: 11px;
    box-shadow: rgba(255, 255, 255, 0.1) 0px 4px 12px;
}

.drop-link{
    white-space: break-spaces;
}

.dropdown-item{
    margin-bottom: 11px;
}

.dropdown-item:nth-last-child(){
    margin-bottom: 0;
}

.dropdown-item:hover,
.dropdown-item:focus{
  background-color: transparent;
}

.dropdown-item:focus .drop-link, .dropdown-item:hover .drop-link {
  color: var(--accent);
}

.dropdown-menu{
    background-color: var(--dark-bg);
}

.navbar-toggler{
    color: var(--white);
    transition: var(--transition);
    margin: 10px 0;
    width: auto;
}

.navbar-toggler:focus-visible,
.navbar-toggler:hover,
.navbar-toggler:focus{
    box-shadow: none;
    color: var(--accent);
}

.hero-box{
    position: relative;
}

.hero-item{
    position: relative;
    height: auto;
}

.hero-item::after{
    background-color: rgba(14,17,23, 0.7);
    content: "";
    position: absolute;
    width: 100%;
    top: 0;
    height: 100%;
}

.hero-img-box img{
    height: 800px;
    object-fit: cover;
    width: 100%;
}

.block::before{
    left: 0;
    transform: skewY(3deg);
    content: '';
    background-color: #fff;
    width: 50%;
    height: 70px;
    position: absolute;
    bottom: -35px;
    z-index: 1;
}

.block::after{
    right: 0;
    transform: skewY(-3deg);
    content: '';
    background-color: #fff;
    width: 50%;
    height: 70px;
    position: absolute;
    bottom: -35px;
    z-index: 1;
}

.hero-container{
    position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
}

.hero-title{
    text-transform: uppercase;
    text-align: center;
    font-weight: 600;
}

.hero-text{
    background-color: #2AA5A0;
  background: linear-gradient(45deg, #99ff2c 33%, #10d47a 66%, #2AA5A0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent
}

.slider,
.testimonial-slider{
    direction: ltr !important;
}

.about-us-row{
    flex-direction: column;
    gap: 17px
}

.about-us-img-box img{
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 8px;
}

.about-us-text-box{
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    height: 100%;
}

.services{
    background-color: var(--extra-bg);
    position: relative;
}
.services-row{
    flex-direction: column;
    gap: 17px
}

.services-wr{
    display: flex;
    flex-direction: column;
    gap: 21px;
}

.services-row{
  flex: 1;
}

.services-item{
    background-color: var(--white);
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.services-img{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 110px;
  height: 110px;
  margin: 0 auto 20px;
  border-radius: 100%;
  background-color: var(--extra-bg);
  transition: var(--transition);
}

.services-img:hover,
.services-img:focus{
    transform: scale(1.1);
    box-shadow: 0 1px 3px 0 rgba(248, 147, 147, 0.1), 0 1px 2px -1px rgba(252, 129, 129, 0.1);
}

.services-img svg{
    width: 60px;
    height: 60px;
}

.services-text-box{
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.services-content-title{
    color: black;
    text-align: center;
    font-weight: 600;
    transition: var(--transition);
    margin-bottom: 24px;
}

.services-content-title:hover,
.services-content-title:focus{
    color: var(--accent);
}

.read-more{
    margin-top: 24px;
    font-weight: 600;
    color: black;
    transition: var(--transition);
}

.read-more:hover,
.read-more:focus{
    color: var(--accent);
}

.articles{
    background-color: var(--extra-bg);
    position: relative;
}

.articles-row{
    flex: 1;
}

.articles-wrapper{
    display: flex;
    flex-direction:  column;
    gap: 24px;
}

.articles-row{
    flex-direction: column-reverse;
    gap:  17px;
} 

.articles-link{
    flex: 1;
}

.articles-item{
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 100%;
}

.articles-img-box::after{
    content: '';
    background-color: rgba(0,0,0,.75);
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    opacity: 0;
    transition: var(--transition);
    border-radius: 8px;
}

.articles-img-box:hover::after,
.articles-img-box:hover::after{
    opacity: 1;
}

.articles-img-box{
    background-color: var(--white);
    position: relative;
    height: 100%;
    transition: var(--transition);
    border-radius: 8px;
    cursor: pointer;
}

.articles-img-box img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.art-read-more{
    position: absolute;
    color: white;
    z-index: 11;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: var(--transition);
}

.art-read-more svg{
    width: 30px;
    height: 30px;
}

.articles-img-box:hover .art-read-more,
.articles-img-box:focus .art-read-more{
    opacity: 1;
}

.articles-title > div{
    color: black;
    font-weight: 600;
    text-align: center;
    font-size: 18px;
    transition: var(--transition);
    margin-bottom: 17px;
}

.articles-title > div:hover,
.articles-title > div:focus{
    color: var(--accent);
}

.content{
    text-align: center;
}

.block-grey::before{
    left: 0;
    transform: skewY(3deg);
    content: '';
    background-color: var(--extra-bg);
    width: 50%;
    height: 70px;
    position: absolute;
    bottom: -35px;
    z-index: 9;
}

.block-grey::after{
    right: 0;
    transform: skewY(-3deg);
    content: '';
    background-color: var(--extra-bg);
    width: 50%;
    height: 70px;
    position: absolute;
    bottom: -35px;
    z-index: 9;
}

.how-work{
    background-image: url('pictures/bg1.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #fff;
}

.hw-row{
    padding-top: 20px;
    padding-bottom: 20px;
}

.how-work-a span{
    display: inline-block;
    margin-right: 0;
    color: #fb346f;
    font-size: 80px;
    font-weight: 600;
}

.how-work-a,
.how-work-b{
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-items: baseline;
    flex: 1;
    justify-content: center;
    height: 100%;
    align-items: center;
}

.how-work-img{
  text-align: center;
  border: 5px solid #303236; border-radius: 100%;  
  width: 180px;
  height: 180px;
  overflow: hidden;
  margin: 0 auto;
}

.how-work-img > img {
    height: 100%;
    width: auto;
    object-fit: cover;
}


.span-a{
    height: 70px;
    border-left: 4px dashed #fb346f;
    left: 0;
    right: 0;
    margin: 40px auto 0;
    width: 0;
    position: absolute;
    z-index: 22;
}

.hw-text{
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
}

.arrow-a{
    border: 0;
    height: auto;
    width: auto;
    position: absolute;
    bottom: -75%;
    right: 0;
    overflow: visible;
    z-index: 9999;
    border-radius: 0;
}


.arrow-b{
    border: 0;
    height: auto;
    width: auto;
    position: absolute;
    bottom: -75%;
    overflow: visible;
    z-index: 9999;
    border-radius: 0;
    transform: rotateY(182deg);
    left: 0;
}

.how-work-b span{
    display: inline-block;
    margin-right: 0;
    color: #bcce20;
    font-size: 80px;
    font-weight: 600;
}

.span-b{
    height: 70px;
    border-left: 4px dashed #bcce20;
    left: 0;
    right: 0;
    margin: 40px auto 0;
    width: 0;
    position: absolute;
    z-index: 22;
}


.main-img-box{
    border-radius: 11px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    padding: 17px;
  }
  
  .main-img {
    border-radius: 11px;
    float: none;
    width: 39%;
    margin: 35px;
  }
  
  .main-description {
    font-size: 17px;
  }
  




.price{
    font-size: 26px;
    color: var(--accent);
    font-weight: 600;
}

.testimonial{
    background-image: url('pictures/bg2.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.testimonial-item{
    display: flex;
    flex-direction: column;
    padding: 70px 0;
    justify-content: center;
    align-items: center;
    position: relative;
}

.testimonial-img{
    width: 180px;
    height: 180px;
    border-radius: 100%;
    overflow: hidden;      
    border: 6px solid #848484;
    box-shadow: 0 2px 6px #ccc;
    margin-bottom: 26px;
}

.testimonial-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-span span{
    height: 70px;
    border-left: 4px dashed #fb346f;
    left: 0;
    right: 0;
    top: -50px;
    margin: 40px auto 0;
    width: 0;
    position: absolute;
    z-index: 22;
}

.testimonial-profession{
    color: var(--accent);
    margin-bottom: 17px;
}

.testimonial-name{
    font-weight: 600;
    text-transform: uppercase;
    font-size: 18px;
    margin-bottom: 26px;
}

.testimonial-text{
    display: flex;
    text-align: center;
    gap: 11px;
}

.quote svg{
    color: #ccc;
}

.slick-dots li.slick-active button:before {
  color: var(--accent);
}

.slick-dots li button:before {
  font-size: 8px;
}

.form-row{
    flex-direction: column;
    gap: 17px
}

.form-img img{
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 8px;
}


.form-wr{
      display: flex;
  flex-direction: column;
  gap: 15px;
  width: 90%;
  margin: 0 auto;
}

.input-main--panel-part{
    width: 100%;
    outline: none;
    padding: 12px 15px;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid var(--accent);
}
.textarea-main--panel-part{
    width: 100%;
    outline: none;
    padding: 12px 15px;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid var(--accent);
}

.contact-main-row{
    flex-direction: column;
    gap: 17px
}

.contact-section{
    background-image: url('pictures/bg1.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #fff;
}
.contact-text{
    color: var(--white);
    transition: all 0.5ms;
}
.contact-page-item .contact-text{
    color: var(--dark-bg);
}
.contact-text:hover,.contact-text:focus{
    color: var(--accent);
}
.map > iframe{
    border-radius: 8px;
}

.contact-box{
    display: flex;
    flex-direction: column;
    gap: 26px;
    height: 100%;
    justify-content: center;
}

.footer{
    padding: 70px 0;
    background-color: var(--extra-bg);
}

.footer-wr{
    display: flex;
    flex-direction: column;
    gap: 17px;
    justify-content: space-around;
    align-items: center;
}

.footer-privacy a{
    color: black;
    transition: var(--transition);
}

.footer-privacy a:hover,
.footer-privacy a:focus{
    color: var(--accent);
}

.block-grey-footer::before{
    left: 0;
    transform: skewY(3deg);
    content: '';
    background-color: var(--extra-bg);
    width: 50%;
    height: 70px;
    position: absolute;
    top: -35px;
    z-index: 9;
}

.block-grey-footer::after{
    right: 0;
    transform: skewY(-3deg);
    content: '';
    background-color: var(--extra-bg);
    width: 50%;
    height: 70px;
    position: absolute;
    top: -35px;
    z-index: 9;
}

.page-main{
    background-image: url('pictures/bg2.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.page-title{
    margin-top: 100px;
}

.page-main-box{
    display: flex;
    flex-direction:  column;
    gap: 17px;
}

.page-img{
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-page-row{
    flex-direction: column;
    gap: 17px
}

.contact-page-title{
     margin-top: 100px;
}

.contact-page-list{
    display: flex;
    flex-direction: column;
    gap: 17px;
    justify-content: center;
    height: 100%;
}

.contact-form-section{
    background-image: url('pictures/bg1.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #fff;
}

.contact-form{
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.contact-form-item input,
.contact-form-item textarea{
    width: 100%;
    outline: none;
    padding: 12px 15px;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid var(--accent);
    background-color: transparent;
    color: var(--white);
}

@media (max-width: 767px){
    .hw-col{
        display: none !important;
    }

    .hw-row-b{
        flex-direction: column-reverse;
    }
}

@media (min-width: 768px){
.about-us-row{
    flex-direction: row-reverse;
    gap: 0;
}

.services-row{
    flex-direction: row-reverse;
    gap: 0;
}

.articles-row{
    flex-direction:  row-reverse;
    gap: 0;
} 

.hw-row{
    padding-top: 70px;
    padding-bottom: 70px;
}

.form-row{
    flex-direction: row-reverse;
    gap: 0;
}

.contact-page-row{
    flex-direction: row-reverse;
    gap: 0;
}

.contact-main-row{
    flex-direction: row-reverse;
    gap: 0;
}

.footer-wr{
    flex-direction:  row-reverse;
}

  .main-img {
    float: left;
  }
}

@media (max-width: 991px){
.nav-item > svg{
    display: none;
}

.nav-item:hover .nav-link,
.nav-item:focus .nav-link{
    color: var(--accent);
}

.header-logo{
    margin-bottom: 20px;
}
}

@media (min-width: 992px){
    .container-fluid{
    display: flex;
    align-items: center;
}

.dropdown-menu[data-bs-popper] {
  right: 0;
  left: auto;
  width: max-content;
  margin-top: 11px;
}

.nav-item{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-right: 20px;
}
}

@media (min-width: 1200px){
.services-wr{
  flex-direction:  column;
}

.articles-wrapper{
    flex-direction: column;
}
}