.navbar{
    width: 100%;
    height: auto;
    max-width: 1700px;
    margin: auto;
    display: flex;
    flex-direction: row;
    background-color: var(--white-color);
    padding: .7em 4em;
    position: sticky;
    top: 0;
    z-index: 3;
}

.navbar.logo{
    width: auto;
    height: 70px;
}

.navbar .logo img{
    width: auto;
    height: 100px;
}

.container__nav{
    width: calc(100% - 100px);
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.top__bar{
    width: 100%;
    height: 30px;
    display: flex;
    gap: 1em;
    justify-content: flex-end;
    align-items: center;
    color: var(--lightskyblue-color);
}

.contact__info{
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.contact__info .phone{
    display: flex;
    gap: .5em;
}

.top__bar .icon{
    display: flex;
    width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
}

.top__bar .icon svg{
    fill: var(--lightskyblue-color);
    width: 100%;
    height: 100%;
}

.nav__main{
    width: 100%;
    height: calc(100% - (30px + .7em + .7em));
    display: flex;
    gap: 1em;
    justify-content: flex-end;
    align-items: center;
    position: relative;
}

.nav__links{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1em;
    width: 100%;
    height: 50px;
    list-style: none;
}

.nav__links a{
    text-decoration: none;
    color: var(--lightskyblue-color);
    transition: all ease-in-out .3s;
}

.nav__links a:hover{
    text-decoration: none;
    color: var(--lightskyblue-color-transparent);
    transition: all ease-in-out .3s;
}

.menu__toggle{
    display: none;
}

/*
==========
Styles for hero.
==========
*/

.hero{
    width: 100%;
    min-height: 300px;      
    height: 500px;           
    position: relative;
    overflow: hidden;
}

.hero .background__video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--black-color-transparent);
    z-index: 1;
}

.hero .hero__content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    gap: 1em;
    align-items: center;
    justify-content: center;
    z-index: 2;
    flex-direction: column;
    text-align: center;
    padding: 1em;
}

.hero .hero__content h1{
    color: var(--white-color);
    margin: 0;
    padding: 0;
}

.hero .hero__content p{
    color: var(--white-color);
}

.hero .hero__content .button__green{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5em;
    padding-right: .5em;
    padding-left: .5em;
}

.hero .hero__content .button__green .icon{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
}

.hero .hero__content .button__green svg{
    width: 100%;
    height: 100%;
    fill: var(--white-color);
}

/*
==========
Styles for menu mobile.
==========
*/

.nav__links__mobile__hidden{
    position: absolute;
    top: 74px;
    left: -165px;
    width: calc(100% + 100px + 8em);
    height: 0;
    background: var(--white-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    list-style: none;
    transition: all ease-in-out .5s;
    z-index: 3;
    gap: 1em;
}

.nav__links__mobile__hidden a{
    color: var(--lightskyblue-color);
    text-decoration: none;
    transition: all ease-in-out .3s;
}

.nav__links__mobile__hidden a:hover{
    color: var(--lightskyblue-color-transparent);
    text-decoration: none;
    transition: all ease-in-out .3s;
}

/*
==========
Styles for services
==========
*/

.services {
  position: relative;
  width: 100%;
  height: 200px;
  background-color: var(--silver-color-transparent);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 1em;
}

.services__container {
  display: flex;
  gap: 20px;
  width: 100%;
  padding: 1em;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.services__container::-webkit-scrollbar {
  display: none;
}

.services__card {
  min-width: 180px;
  height: 160px;
  background-color: var(--white-color);
  border-radius: 10px;
  text-decoration: none;
  color: var(--black-color);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services__card:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/*
==========
Images for services:
    100px
    180px
==========
*/

.services__image {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.services__title {
  font-size: 13px;
  font-weight: bold;
  text-align: center;
  padding: 6px;
}

.services__nav {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background-color: var(--grey-color-transparent);
  color: var(--white-color);
  font-size: 20px;
  cursor: pointer;
  z-index: 2;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.services__nav:hover {
  opacity: 1;
}

.services__nav--prev {
  left: 10px;
}

.services__nav--next {
  right: 10px;
}

/*
==========
Styles for fade.
==========
*/

.services__fade {
  position: absolute;
  top: 0;
  height: 100%;
  width: 80px;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.3s ease;
}

.services__fade--left {
  left: 0;
  background: linear-gradient(to right, var(--white-color) 40%, rgba(255, 255, 255, 0));
  opacity: 0;
}

.services__fade--right {
  right: 0;
  background: linear-gradient(to left, var(--white-color) 40%, rgba(255, 255, 255, 0));
  opacity: 0;
}

/*
==========
Styles for about.
==========
*/

.about {
  width: 100%;
  padding: 3em 1em;
  background: var(--white-color);
  overflow: hidden;
}

.about__container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
}

.about__image-wrapper {
  flex: 1;
}

.about__image {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.about__content {
  flex: 1;
}

.about__title {
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--lightskyblue-color);
}

.about__text {
  margin-bottom: 18px;
  line-height: 1.7;
  color: #555;
  font-size: 16px;
}

.about__animate {
  opacity: 0;
  transition: all 1s ease;
}

.about__animate--left {
  transform: translateX(-80px);
}

.about__animate--right {
  transform: translateX(80px);
}

.about__animate--visible {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 992px) {
  .about__container {
    flex-direction: column;
    gap: 40px;
  }

  .about__animate--left,
  .about__animate--right {
    transform: translateY(60px);
  }

  .about__animate--visible {
    transform: translateY(0);
  }
}

/* 
==========
Hide navigation on large screens. 
==========
*/

@media (min-width: 1370px) {
  .services__nav {
    display: none;
  }
}

/*
==========
Viewport in 700px.
==========
*/

@media (max-width: 700px){
    .menu__toggle{
        display: flex;
        width: max-content;
        height: max-content;
        align-items: center;
        justify-content: center;
        color: var(--lightskyblue-color);
        transition: all ease-in-out .3s;
    }

    .menu__toggle:hover{
        display: flex;
        width: max-content;
        height: max-content;
        align-items: center;
        justify-content: flex-end;
        color: var(--lightskyblue-color-transparent);
        cursor: pointer;
        transition: all ease-in-out .3s;
    }

    .nav__links{
        display: none;
    }

    .nav__links__mobile__active{
        position: absolute;
        top: 74px;
        left: -165px;
        width: calc(100% + 100px + 8em);
        height: 200px;
        background: var(--white-color);
        overflow: hidden;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        list-style: none;
        transition: all ease-in-out .5s;
        z-index: 3;
        gap: 1em;
    }

    .nav__links__mobile__active a{
        color: var(--lightskyblue-color);
        text-decoration: none;
        transition: all ease-in-out .3s;
    }

    .nav__links__mobile__active a:hover{
        color: var(--lightskyblue-color-transparent);
        text-decoration: none;
        transition: all ease-in-out .3s;
    }
}

/*
Styles for question.
*/

.why {
  width: 100%;
  padding: 100px 20px;
  background-color: var(--silver-color-transparent);
  overflow: hidden;
}

.why__container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
}

.why__content {
  flex: 1;
}

.why__image-wrapper {
  flex: 1;
}

.why__image {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.why__title {
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--lightskyblue-color);
}

.why__text {
  margin-bottom: 18px;
  line-height: 1.7;
  color: #555;
  font-size: 16px;
}

.why .button__lightskyblue{
    padding: .7em;
}

.why__animate {
  opacity: 0;
  transition: all 1s ease;
}

.why__animate--left {
  transform: translateX(-80px);
}

.why__animate--right {
  transform: translateX(80px);
}

.why__animate--visible {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 992px) {
  .why__container {
    flex-direction: column;
    gap: 40px;
  }

  .why__animate--left,
  .why__animate--right {
    transform: translateY(60px);
  }

  .why__animate--visible {
    transform: translateY(0);
  }
}

/*
==========
Styles for projects.
==========
*/

.projects {
  width: 100%;
  padding: 100px 20px;
  background-color: var(--white-color);
}

.projects__header {
  max-width: 1200px;
  margin: 0 auto 50px;
  text-align: center;
}

.projects__title {
  font-size: 32px;
  margin-bottom: 15px;
  color: var(--lightskyblue-color);
}

.projects__description {
  font-size: 16px;
  color: #555;
}

.projects__container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2em;
  flex-wrap: wrap;
}

.projects__card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, opacity 0.8s ease;
  opacity: 0; 
  flex: 0 1 320px; 
  max-width: 100%;
}

.projects__card:hover {
  transform: translateY(-6px);
}

.projects__slider {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.projects__slides {
  display: flex;
  width: auto; 
  height: 100%;
  transition: transform 0.8s ease-in-out;
}

.projects__image {
  flex: 0 0 100%; 
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.projects__content {
  padding: 15px 20px;
}

.projects__card-title {
  font-size: 18px;
  margin-bottom: 8px;
}

.projects__meta,
.projects__client {
  font-size: 14px;
  color: #666;
  margin-bottom: 5px;
}

.projects__text {
  font-size: 15px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 10px;
}

.projects__animate.projects__animate--left {
  transform: translateX(-60px);
}

.projects__animate.projects__animate--right {
  transform: translateX(60px);
}

.projects__animate.projects__card--visible {
  opacity: 1;
  transform: translateX(0);
}

.projects__cta-wrapper {
  text-align: center;
  margin-top: 40px;
}

.projects .button__lightskyblue{
    padding: .7em;
}

@media (max-width: 992px) {
  .projects__animate.projects__animate--left,
  .projects__animate.projects__animate--right {
    transform: translateY(60px);
  }
}

@media (max-width: 768px) {
  .projects__card {
    flex: 0 1 100%; 
  }
}

/*
==========
Styles for footer.
==========
*/

.footer {
  width: 100%;
  background-color: var(--lightskyblue-color);
  color: #fff;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.footer__logos {
  padding: 40px 20px 20px;
  text-align: center;
}

.footer__logos-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2em;
}

.footer__logo {
  height: 60px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.footer__logo:hover {
  transform: scale(1.1);
}

.footer__legal {
  text-align: center;
  padding: 15px 20px;
  font-size: 13px;
  color: var(--white-color);
}

.footer__main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 50px 20px 30px;
  gap: 2em;
  flex-wrap: wrap;
}

.footer__about {
  flex: 1 1 300px;
}

.footer__about-title {
  font-size: 20px;
  margin-bottom: 10px;
}

.footer__about-text {
  font-size: 14px;
  color: var(--white-color);
}

.footer__nav {
  flex: 1 1 200px;
}

.footer__nav-title {
  font-size: 16px;
  margin-bottom: 10px;
}

.footer__nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__nav-link {
  display: block;
  color: var(--white-color);
  text-decoration: none;
  margin-bottom: 6px;
  transition: color 0.3s ease;
}

.footer__nav-link:hover {
  color: #6ab0f3;
}

.footer__social {
  flex: 1 1 150px;
}

.footer__social-title {
  font-size: 16px;
  margin-bottom: 10px;
}

.footer__social-icons {
  display: flex;
  gap: 10px;
}

.footer__social-icons a{
    color: var(--white-color);
    text-decoration: none;
}

.footer__social-icons .icon{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
}

.footer__social-icons .icon svg{
    fill: var(--white-color);
    width: 100%;
    height: 100%;
}

.footer__social-link img {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.footer__social-link:hover img {
  transform: scale(1.2);
}

.footer__rights {
  text-align: center;
  padding: 10px 20px;
  font-size: 13px;
  color: var(--white-color);
}

.footer__developer-link {
  color: #6ab0f3;
  text-decoration: none;
}

.footer__developer-link:hover {
  color: #4f8fc1;
}

@media (max-width: 992px) {
  .footer__main {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .footer__about,
  .footer__nav,
  .footer__social {
    flex: 1 1 100%;
    text-align: center;
  }

  .footer__social-icons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer__about-title {
    font-size: 18px;
  }

  .footer__about-text,
  .footer__nav-link,
  .footer__social-title {
    font-size: 12px;
  }

  .footer__logo {
    height: 50px;
  }
}