.service-areas-flex {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  background: #262626;
  overflow: hidden;
}

/* Media Query max-width: 768px */
@media (max-width: 768px) {
  .service-areas-flex {
    display: block;
  }
}

.service-areas * {
  font-family: "Inter", sans-serif;
}

.left-data {
  width: 50%;
  padding: 40px 100px 40px 40px;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  background: #262626;
}

@media (max-width: 768px) {
  .left-data {
    padding: 20px;
    width: 100%;
  }
}

.left-data-content {
  width: 100%;
  max-width: 400px;
  position: relative;
}

@media (max-width: 768px) {
  .left-data-content {
    max-width: 100%;
  }
}

.right-kv {
  height: 790px;
  width: 50%;
  position: relative;
}

@media (max-width: 768px) {
  .right-kv {
    width: 100%;
	height: auto !important;
  }
}

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

.service-ttl {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #fff;
}

@media (max-width: 768px) {
  .service-ttl {
    font-size: 34px;
    text-align: center;
  }
}

.service-ttl i {
  color: #00aaff;
  font-style: normal;
}

.service-content {
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 40px;
  color: #fff;
}

@media (max-width: 768px) {
  .service-content {
    font-size: 16px;
    text-align: center;
  }
}

#search {
/*   width: 300px; */
  padding: 8px;
  font-size: 16px;
  margin-bottom: 10px;
  border-radius: 10px;
  border: 2px solid #0693e3;
}

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

#search:focus {
  outline: none;
  border-color: #0077cc;
}

.areaDropdown-wrapper {
  position: relative;
  overflow: hidden;
/*   width: 320px; */
  position: relative;
	border-radius: 10px;
  border: 2px solid #0693e3;
}

@media (max-width: 768px) {
  .areaDropdown-wrapper {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1;
    width: 100%;
  }
}

#areaDropdown {
/*   width: 320px; */
  padding: 10px;
  font-size: 16px;
  display: block;
  max-height: 300px;
  
}

@media (max-width: 768px) {
  #areaDropdown {
    width: 100%;
    max-height: 160px;
  }
}

optgroup {
  font-weight: bold;
  font-size: 18px;
}

option {
  font-size: 16px;
}

/* Optional: hide select when no match */
#areaDropdown.hidden {
   /*display: none; */
}

@media (max-width: 768px) {
    #areaDropdown.hidden {
        display: none;
    }
}

.wrapper-slider-area {
  overflow: hidden;
  padding: 20px 0;
  gap: 20px;
  flex-wrap: wrap;
  width: 400px;
  position: relative;
  border-radius: 20px;
  background: none;
}

@media (max-width: 768px) {
  .wrapper-slider-area {
    display: none;
  }
}

.wrapper-slider-area::before,
.wrapper-slider-area::after {
  content: "";
  width: 10%;
  height: 100%;
  position: absolute;
  top: 0;
  z-index: 2;
  pointer-events: none;
}

.wrapper-slider-area::before {
  left: 0;
  background: linear-gradient(to right, #262626, transparent);
}

.wrapper-slider-area::after {
  right: 0;
  background: linear-gradient(to left, #262626, transparent);
}

.area-carousel {
  flex: 1;
  min-width: 300px;
  overflow: hidden;
  position: relative;
}

.area-carousel:not(:last-child) {
  margin-bottom: 20px;
}

.area-track {
  display: flex;
  width: max-content;
}

.area {
  white-space: nowrap;
  padding: 10px 16px;
  font-size: 16px;
  border: 1px solid rgba(221, 221, 221, 0.5);
  flex-shrink: 0;
  background: #fff;
  border-radius: 8px;

  &:not(:last-child) {
    margin-right: 20px;
  }
}

@keyframes scroll-30 {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes scroll-40 {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes scroll-50 {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

#carousel1 .area-track {
  animation: scroll-30 30s linear infinite;
}

#carousel2 .area-track {
  animation: scroll-40 40s linear infinite;
}

#carousel3 .area-track {
  animation: scroll-50 50s linear infinite;
}

.img-hidden {
  display: none;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
}

.img-hidden.img-show {
  display: block;
}
