a {
  text-decoration: none;
  color: var(--color-white);
}

a:hover,
a:focus {
  color: var(--color-accent-orange) !important;
}

::selection {
  background-color: var(--color-accent-orange);
  color: white;
}

::-webkit-scrollbar {
  width: 12px;
  background-color: #706b6b;
}

::-webkit-scrollbar-thumb {
  background-color: var(--color-accent-orange);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #e44a0d;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Lato", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
button {
  font-family: "Montserrat", sans-serif;
}

:root {
  --color-primary-teal: #00a8b5;
  --color-accent-orange: #ff6c33;
  --color-dark-gray: #333333;
  --color-light-gray: #f5f5f5;
  --color-white: #ffffff;
  --color-sand-neutral: #d5c5b3;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --company-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  --orange-shadow: 0 4px 6px rgba(239, 108, 51, 0.3);
  --orange-shadow-hover: 0 6px 12px rgba(239, 108, 51, 0.4);
  --transition-speed: 0.3s;
}

.top__socialIcons a:first-child i:first-of-type,
.footer__social a:first-child i:first-of-type {
  padding: 10px 13px;
}

.top__socialIcons,
.footer__social {
  i {
    background-color: var(--color-accent-orange);
    color: var(--color-white);
    padding: 10px;
    border-radius: 50%;
  }
}

.top-bar {
  background-color: #1d1d1d;
  color: white;
  text-align: center;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: bold;
  position: relative;
  height: 50px;
  place-content: center;

  a {
    text-decoration: none;
    color: white;
  }
}

nav {
  min-height: 60px;
  background-color: #3c3c3c;
  color: var(--color-white);
  text-align: center;
  padding: 0px 16px !important;
  font-size: 14px;
  font-weight: bold;

  .dropdown-item:focus {
    background-color: var(--color-accent-orange);
    color: var(--color-white) !important;
  }

  .navbar-toggler {
    color: rgba(0, 0, 0, 0.6);
    border: none;
  }

  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='orange' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  }

  .navbar-brand {
    img {
      width: 180px;
      height: 60px;
    }
  }

  .nav-link {
    color: var(--color-white);
    font-weight: 600;
    font-size: 16px;
    padding: 20px 0;
    margin: 0 16px;
  }

  form {
    .input-group .form-control {
      flex: 0 0 auto;
      width: 200px;
    }

    button {
      background-color: var(--color-accent-orange) !important;
    }
  }
}

.custom-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  place-content: center;
  background-color: var(--color-white);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  cursor: pointer;
  font-size: 50px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-play-btn::after {
  content: "";
  position: absolute;
  width: 100px;
  height: 100px;
  background-color: var(--color-white);
  border-radius: 50%;
  z-index: -1;
  animation: waveOut 2s ease-out infinite;
  opacity: 0.6;
}

#videoModalThree .modal-dialog {
  max-width: 100%;
  margin: 0;
  pointer-events: none;
}

#videoModalThree .modal-content {
  background: transparent;
  border: none;
  box-shadow: none;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  pointer-events: none;
}

#videoModalThree .modal-body {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

#videoModalThree .modal-video {
  max-height: 90vh;
  max-width: 90vw;
  width: auto;
  height: auto;
  object-fit: contain;
  pointer-events: auto;
}

footer {
  position: relative;
  background-image: url(../assets/images/home/footerBg.jpg);
  background-size: cover;
  background-position: bottom center;
  /* background-blend-mode: overlay;
  background-color: rgba(0, 0, 0, 0.6); */
  color: var(--color-white);

  .col {
    h2 {
      margin-bottom: 25px;
    }
  }

  ul {
    padding: 0 !important;

    li {
      list-style: none;
      margin-bottom: 10px;
    }
  }

  ul.pesudo {
    li::before {
      font-family: "FontAwesome";
      content: "\f105";
      padding: 0 10px;
      color: var(--color-accent-orange);
    }
  }

  .footer__social::before {
    content: "";
    display: block;
    border-top: 1px solid gray;
    position: relative;
    width: 40px;
    top: -10px;
  }

  .footer--bg {
    background-color: #1d1d1d;
  }

  .footer__copyright {
    background-color: #3c3c3c;

    p {
      font-size: 12px;
    }
  }
}

.offer {
  background-image: url("../assets/images/home/bgVision.jpg");
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
  background-color: rgba(0, 0, 0, 0.8);
  margin-top: 90px;
}

.offer {
  .flip-card {
    background-color: transparent;
    width: 100%;
    max-width: 376px;
    height: 320px;
    perspective: 1000px;
    margin: auto;

    .flip-card-inner {
      position: relative;
      width: 100%;
      height: 100%;
      transform-style: preserve-3d;
      transition: transform 0.7s ease-in-out;

      .flip-card-front,
      .flip-card-back {
        position: absolute;
        width: 100%;
        height: 100%;
        padding: 20px;
        backface-visibility: hidden;
        border-radius: 8px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform-style: preserve-3d;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
      }

      .flip-card-front {
        background-color: #111;
        color: #fff;
      }

      .flip-card-back {
        background-color: #e74c3c;
        color: #fff;
        transform: rotateY(180deg);
      }

      h3,
      p,
      button {
        text-align: center;
        transform: translateZ(40px);
      }

      h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
        font-weight: bold;
      }

      p {
        font-size: 0.95rem;
        text-align: center;
        line-height: 1.4;
      }

      button {
        margin-top: 1.5rem;
        padding: 0.5rem 1.2rem;
        background-color: #fff;
        color: #000;
        border: none;
        border-radius: 4px;
        font-weight: bold;
        transform: translateZ(40px);
        transition: background 0.3s ease;
        cursor: pointer;
      }

      button:hover {
        background-color: #f1f1f1;
      }

      .icon {
        font-size: 40px;
        color: #e74c3c;
        margin-bottom: 15px;
        transform: translateZ(40px);
      }
    }
  }

  .flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
  }
}

.quality {
  background-image: url(../assets/images/home/qualitySectionBg.jpg);
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
  background-color: rgba(255, 253, 253, 0.9);
  margin-top: 10rem;

  img,
  video {
    height: 750px;
    object-fit: cover;
    object-position: center center;
  }

  .quality__icons {
    i {
      font-size: 50px;
      position: relative;
      top: 28px;
    }
  }

  .video-wrapper {
    position: relative;

    .custom-play-btn {
      top: 90%;
      left: 15%;
    }
  }
}

@keyframes waveOut {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }

  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

/* @keyframes zoomIn {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.1);
  }
} */

@keyframes appear {
  from {
    opacity: 0;
    scale: 0.4;
  }

  to {
    opacity: 1;
    scale: 1;
  }
}

@media screen and (max-width: 767px) {
  .nav-link {
    color: var(--color-white);
    font-weight: 600;
    font-size: 16px !important;
    padding: 20px 0 !important;
    margin: 0 !important;
  }

  .offer {
    .offer__text {
      width: 100% !important;
    }
  }

  .quality {
    margin-top: 40px !important;

    img,
    video {
      height: 350px !important;
      object-fit: cover;
      object-position: center center;
    }

    h1 {
      font-size: 19px !important;
    }

    p {
      font-size: 15px !important;
    }

    .quality__icons {
      padding: 0 10px;

      i {
        font-size: 40px !important;
        top: 50px !important;
      }

      .first-icon {
        top: 70px !important;
      }
    }

    .video-wrapper {
      position: relative;

      .custom-play-btn {
        top: 80% !important;
        left: 20% !important;
      }
    }
  }

  footer {
    background-size: contain !important;

    .footer__sign {
      h2 {
        width: 100% !important;
        text-align: center;
      }
    }
  }
}

@media screen and (min-width: 768px) and (max-width: 1200px) {
  .quality {
    .quality__icons {
      i {
        top: 50px !important;
      }
    }
  }
}

@media screen and (max-width: 767px) {
  .navbar-brand {
    img {
      width: 160px !important;
      height: 55px !important;
    }
  }
}

@media screen and (max-width: 576px) {
  .navbar-brand {
    img {
      width: 150px !important;
      height: 50px !important;
    }
  }

  .nav-link {
    color: var(--color-white);
    font-weight: 600;
    font-size: 14px !important;
    padding: 20px 0 !important;
    margin: 0 !important;
  }
}


#scrollToTopBtn {
  bottom: 100px;
  right: 30px;
  z-index: 9999;
  background-color: var(--color-accent-orange);
  width: 40px;
  height: 40px;
  font-size: 18px;
  cursor: pointer;
  transition: 0.2s ease-out;
  opacity: 0;

  i {
    transition: 0.2s ease-out;
    color: var(--color-white);
  }
}

#scrollToTopBtn:hover {
  background-color: var(--color-dark-gray);
}

#scrollToTopBtn:hover i {
  transform: translateY(-2px);
}

.header-image {
  width: 100%;
  height: 60vh;
  background-image: url('../assets/images/pattern.png');
  background-position: center center;
  background-size: 50% auto;
  background-color: #1c1c1c;
  background-repeat: repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  background-attachment: fixed;
}

.header-image .container h1 {
  font-size: 48px;
  line-height: 58px;
  font-weight: 600;
}

.header-image .container h4 {
  font-size: 25px;
  line-height: 33px;
  color: var(--color-accent-orange);
  font-weight: 600;
}

@media screen and (max-width: 576px) {
  .header-image .container h1 {
    font-size: 39px;
    line-height: 58px;
    font-weight: 600;
  }

  .header-image .container h4 {
    font-size: 20px;
    line-height: 33px;
    color: var(--color-accent-orange);
    font-weight: 600;
  }
}

.header-image [data-aos="zoom-in"] {
  transform: scale(0.9);
  opacity: 0;
  transition-property: transform, opacity;
}

.header-image [data-aos="zoom-in"].aos-animate {
  transform: scale(1);
  opacity: 1;
}
