#hero {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url(/common/images/pages/home/header.jpg) center center no-repeat;
  background-size: cover;
  height: calc( 100vh );
  position: relative;
  overflow: hidden;

  .vertical-center-wrapper {
    padding: 0 64px;

    @media (max-width: 767px) {
      padding: 0;
    }
  }
  
  #hero .container .text-block {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    height: calc(100% - min(20vh, 400px));
    margin-top: min(20vh, 200px);
  }

  .title-element {
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    justify-content: center;
    padding-right: 16%;

     @media (max-width: 768px) {
          width: 100%;
      }
  }

  .title-element--top {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 48px;
  }
}

#virtual-tour {
  padding: 64px 0;
  background: #fff;
  color: #222;

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

  .flex {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px;
  }

  .left-side {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 10;

    img, video, iframe {
      width: 100%;
      max-width: 100%;
      height: auto;
      min-height: auto !important;
      aspect-ratio: 16 / 9;
    }
  }

  .right-side {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 18px;
    padding: 0;
    position: relative;
    width: 40%;

    @media (max-width: 768px) {
      width: 100%;
    }

    button {
      width: 100%;

      @media (max-width: 768px) {
          margin: 0 auto;
      }
    }

    h2 {
      color: #F00;
      line-height: 1.2;
      margin: 0;
      text-align: start;
    }

    .desc-box {
      color: #000;
      text-align: start;
      margin: 0;
    }
  }

  .learn-more {
    color: #0F0F0F;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;

    .dot {
      width: 8px;
      height: 8px;
      background: #FF0000;
      border-radius: 50%;
      display: inline-block;
    }
  }

  .virtual-tour--header {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .services-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  .service-pill {
    background: #fff;
    border: 2px solid #000;
    border-radius: 45px;
    transition: background 0.2s, color 0.2s, border 0.2s; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    margin: 0;
    font-size: clamp(14px, 2vw, 18px);
    color: #222;
    font-weight: 500;
    white-space: nowrap;

    &.active, &.selected {
      background: linear-gradient(to right, #f44336, #ff6f61, #ff5252);
      color: #fff !important;
      border: 2px solid transparent;
      cursor: pointer;
      text-align: center;
      filter: drop-shadow(0px 4px 7.5px rgba(0, 0, 0, 0.25));
      transition: background 0.2s, color 0.2s, border 0.2s;
    }

    &:hover {
      background: linear-gradient(to right, #f44336, #ff6f61, #ff5252);
      color: #fff !important;
      border: 2px solid transparent;
      cursor: pointer;
      text-align: center;
      filter: drop-shadow(0px 4px 7.5px rgba(0, 0, 0, 0.25));
      transition: background 0.2s, color 0.2s, border 0.2s;
    }
  }

  .device-icons {
    margin: 10px 0 0 0;
    display: flex;
    gap: 10px;
    font-size: clamp(20px, 3vw, 28px);
    color: #222;
  }

  .order-btn {
    margin-top: 18px;
    min-width: 80%;
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 700;
  }

  @media (max-width: 768px) {
    .flex {
      flex-direction: column;
    }
    
    .left-side {
      padding: 0;
    }
    
    .right-side {
      padding: 25px 0;
    }
    
    .order-btn {
      position: relative;
      left: 0;
      bottom: 0;
    }
  }

  @media (max-width: 767px) {
    padding: 24px 0 16px 0;

    .right-side {
      padding: 12px 0 0 0;
      gap: 10px;

      .desc-box {
        font-size: 14px;
        line-height: 1.3;
      }

      .learn-more {
        font-size: 12px;
        margin-bottom: 4px;
      }
    }

    .left-side {
      padding: 0;
      justify-content: flex-start;
      width: 100%;

      img, video, iframe {
        border-radius: 18px;
        max-width: 100%;
        width: 100%;
        height: auto;
        margin: 0 auto;
        display: block;
      }
    }

    .services-list {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      width: 100%;
    }

    .service-pill {
      font-size: 12px;
      padding: 8px 16px;
      height: auto;
      text-align: center;
      border-radius: 30px;
      margin: 0;
      width: auto;
      min-width: unset;
    }

    .order-btn {
      width: 100%;
      max-width: none;
      font-size: 18px;
      padding: 12px 0;
      border-radius: 30px;
      margin-top: 12px;
      left: 0;
      bottom: 0;
    }

    .device-icons {
      font-size: 18px;
      margin: 4px 0 0 0;
    }
  }
}

#top-client {
  padding: 50px 0;
  background: linear-gradient(to right, #ff3c3c, #ff5722);
  overflow: auto;

  .the-logo {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 32px;

    img {
      width: calc( 100% / 8 )
    }
  }
}

#service {
  padding: 64px 0 32px 0;
  background: #fff;

  .section-container-title {
    width: 100%;

    h2 {
      color: #F00;
      margin-bottom: 8px;
      text-align: left;
    }
  }

  .service-subtitle {
    p {
      color: #444;
      font-size: 16px;
      margin-bottom: 32px;
      text-align: left;
      max-width: 500px;
      margin-bottom: 60px;
    }
  }

  .service-cards {
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 48px;
    margin-top: 24px;
    justify-content: flex-start;
  }

  .service-card {
    flex-shrink: 0;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(215, 40, 33, 0.10);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: box-shadow 0.2s, transform 0.2s;

    img {
      width: 100%;
      object-fit: cover;
      display: block;
    }

    &:hover {
      transform: translateY(0) translateY(-4px) scale(1.01);
    }

    &:nth-child(2) {
      transform: translateY(-30px);

      &:hover {
        transform: translateY(-30px) translateY(-4px) scale(1.03);
      }

      @media (max-width: 768px) {
        transform: none;
      }
    }

    &:nth-child(3) {
      transform: translateY(-60px);

      &:hover {
        transform: translateY(-60px) translateY(-4px) scale(1.03);
      }

      @media (max-width: 768px) {
        transform: none;
      }
    }

    &:nth-child(5) {
      transform: translateY(-30px);

      &:hover {
        transform: translateY(-30px) translateY(-4px) scale(1.03);
      }

       @media (max-width: 768px) {
          transform: none;
        }
    }

    &:nth-child(6) {
      transform: translateY(-60px);

      &:hover {
        transform: translateY(-60px) translateY(-4px) scale(1.03);
      }

        @media (max-width: 768px) {
          transform: none;
        }
    }
  }

  .service-card-content {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    width: 100%;
    color: #fff;
    padding: 32px 24px 24px 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 1;
    background: none;
    overflow: hidden;
    align-items: flex-start;

    &::before {
      content: "";
      position: absolute;
      left: 0; right: 0; bottom: 0; top: 0;
      z-index: -1;
      background: linear-gradient(180deg, rgba(215,40,33,0.92) 80%, rgba(215,40,33,0.98) 100%);
      clip-path: polygon(0 0, 100% 18%, 100% 100%, 0% 100%);
      border-bottom-left-radius: 18px;
      border-bottom-right-radius: 18px;
    }
  }

  .service-card-label {
    opacity: 0.85;
    display: block;
    color: #E9E9E9;
  }

  .service-card h3 {
    margin: 0;
    color: #fff;
    text-align: start;
  }

  @media (max-width: 900px) {
    .service-cards {
      gap: 18px 0;
      justify-content: center;
    }

    .service-card {
      width: 90vw;
      max-width: 340px;
    }
  }

  @media (max-width: 768px) {
    padding: 32px 0 16px 0;

    .service-cards {
      display: flex;;
      overflow: auto;
      flex-direction: row;
      gap: 16px;
      justify-content: start;
      height: 300px;
    }

    .service-card {
      width: 80%;
      min-width: unset;
      max-width: 100%;
    }
  }
}

clent-say {
  @media screen and (max-width: 480px) {
    display: none;
  }
}

#social {
  .social-bar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 52px;
    padding: 32px 0 32px 61px;
    width: 100%;
    margin: 40px auto 0 auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    background: #F2F2F2;
    overflow: hidden;

    .header-mob {
      text-align: start;
    }

    &::after {
      content: "";
      position: absolute;
      top: 0; right: 0; bottom: 0;
      width: 30%;
      background: #ff3c1a;
      clip-path: polygon(40% 0, 100% 0, 100% 100%, 0 100%);
      z-index: 1;
    }
  }

  .social-bar-text {
    color: #ff3c1a;
    position: relative;
    z-index: 2;

    .highlight {
      color: #ff3c1a;
    }
  }

  .social-bar-icons {
    display: flex;
    align-items: center;
    gap: 0px;
    margin-right: 30px;
    position: relative;
    z-index: 2;

    a {
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0 16px;

      i {
        font-size: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
      }
    }
  }
}

#marketing {
  position: relative;
  overflow: hidden;
  padding: 80px 0;

  @media screen and (max-width: 767px) {
      padding: 24px 0 80px 0;
  }

  #video-background {
    width: 100vw;
  }

  .marketing-bg {
    position: relative;
    width: 100%;
    flex-direction: column;
    display: flex;
    align-items: stretch;

    .block-logo {
      display: flex;
      flex-direction: row;
      align-items: center;
      left: 0;
      gap: 4px;
      position: relative;

      @media screen and (max-width: 767px) {
        justify-content: flex-end;
        left: 0;
      }

      .title {
        color: #FFF;
        z-index: 100;
        position: relative;
        margin: 0;
        text-wrap: nowrap;
        padding-right: 4px;
      }

      .subTitle {
        color: #FFF;
        z-index: 100;
        position: relative;
        margin: 0;
      }

      .logo {
        z-index: 100;
        position: relative;
        width: 48px;

        @media screen and (max-width: 767px) {
          width: 22px;
        }
      }
    }
  }

  .marketing-overlay {
    position: absolute;
    left: 0; 
    top: 0; 
    bottom: 0;
    width: 100%;
    background: linear-gradient(90deg, #ff3c1a 0%, rgba(255 ,60, 26, 0.8) 60%, rgba(255, 60, 26, 1) 100%);
    z-index: 1;
    pointer-events: none;

    @media screen and (max-width: 767px) {
      width: 100%;
    }
  }

  .marketing-flex {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;

    @media screen and (max-width: 767px) {
      flex-direction: column;
    }
  }

  .marketing-left {
    color: #fff;
    padding: 60px 0 60px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 50%;

    .section-container-title {
      text-align: left;

      h2, span {
        color: #fff;
        text-align: left;
        margin: 0;
      }

      h2 {
        margin-bottom: 32px;
      }
    }

    @media screen and (max-width: 767px) {
          width: 100%;
    }
  }

  .marketing-right {
      width: 50%;
      display: flex;
      align-items: center;
      justify-content: center;

      video {
        width: 100%;
        height: 100%;
        border-radius: 32px;
      }

      @media screen and (max-width: 767px) {
        width: 100%;
      }
  }
}

#one-place {
  position: relative;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;

  .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: 150px;
  }

  .section-title-block {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
  }
  
  .section-container-title {
    display: flex;
    flex-direction: column;
    gap: 16px;
    
    .section-title {
      text-align: right;
      margin: 0;
      background: linear-gradient(90deg, #ff6a3d 0%, #ff3c1a 100%);
      background-clip: text;
      color: #ff3c1a;
      display: flex;
      flex-direction: column;
      justify-content: end;
      align-items: end;
    }
    
    .text-base-s {
      text-align: right;
      color: #000;
      display: block;
      display: flex;
      flex-direction: column;
      justify-content: end;
      align-items: end;
    }
  }
}

#do-all {
  width: 100%;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('/common/images/do-all/bg.png') center/cover no-repeat;
  box-shadow: 0 4px 24px rgba(215, 40, 33, 0.10);
  overflow: hidden;
  position: relative;

  .section-title-block {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .section-container-title {
    h2 {
      color: #fff;
      font-size: 32px;
      font-weight: 400;
      margin: 0;
      text-align: center;

      .bold {
        font-weight: 700;
        color: #fff;
        font-size: 32px;
      }
    }

    span {
      font-weight: 700;
      color: #fff;
      font-size: 32px;
    }
  }
}

#main-footer {
  background: linear-gradient(90deg, #ff6a3d 0%, #FF0000 100%);
  padding: 80px 0;

  .copyright {
    text-align: right;
  }

  .wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;

    @media (max-width: 768px) {
      flex-direction: column;
      align-items: end;
    }

    .navigations {
      display: flex;
      flex-direction: row;
      gap: 60px;
      flex: 2;

      @media (max-width: 768px) {
        gap: 0px;
      }

      .footer-nav {
        display: flex;
        flex-direction: column;
        gap: 0;
        min-width: 160px;
        margin: 0 20px 0 0;
        padding: 0;
        align-items: flex-start;

        .all-caps, .all-services1, .all-services2 {
          display: flex;
        }

        li {
          margin-bottom: 10px;
          text-wrap: nowrap;
        }
        li:first-child {
          font-weight: 700;
          font-size: 24px;
          margin-bottom: 16px;
          color: #fff !important;
          letter-spacing: 0.01em;

          .modal-trigger-btn  {
            color: #fff !important;
            text-wrap: nowrap;
          }
        }
        li:not(:first-child) a {
          color: #fff !important;
          font-size: 15px;
          font-weight: 400;
          opacity: 0.92;
          transition: color 0.2s;
        }
        li:not(:first-child) a:hover {
          color: #ffe0e0;
        }
      }
    }

    .addresses {
      display: flex;
      flex-direction: column;
      gap: 32px;
      flex: 1.2;
      align-items: flex-end;

      .footer-address {
        min-width: 220px;
        text-align: right;

        .footer-address-title {
          margin-bottom: 6px;
          color: #fff;
        }
        .footer-address-phone {
          margin-bottom: 6px;
          color: #fff;
        }
        .footer-address-text {
          margin-bottom: 6px;
          color: #fff;
          opacity: 0.85;
        }
        .footer-address-email {
          color: #fff;
          opacity: 0.7;
          margin-bottom: 0;
          word-break: break-all;
        }
      }

      .footer-social {
        display: flex;
        flex-direction: row;
        color: #fff;
        justify-content: flex-end;
        gap: 18px;
        margin: 30px 0 0 0;
        padding: 0;
        list-style: none;
  
        li a {
          color: #fff;
          font-size: 22px;
          opacity: 0.9;
          transition: opacity 0.2s;
        }
        li a:hover {
          opacity: 1;
        }
      }
    }
  }
}

@media (max-width: 480px) {
  #social {
    .social-bar {
      flex-direction: column;
      height: 320px;
      padding: 36px 37px 22px 34px;

      &::after {
        clip-path: polygon(0 62%, 100% 71%, 100% 100%, 0% 100%);
        width: 100%;
      }

      .header {
        display: none;
      }
    }

    .social-bar-icons {
      margin: 0;
    }
  }

  @media (min-width: 767px) {
    #social {
      .social-bar {
      
        .header-mob {
          display: none;
        }
  
        .header {
          display: block;
        }
      }
  
    }
}

}