.service-float {
  display: flex;
  justify-content: center;
  width: fit-content;
  margin: 30px auto 10px;
  gap: 6px;

  background: #ffffff;
  padding: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  border: 1px solid #e0e0e0;
  border-radius: 0;
}

.service-box {
  padding: 12px 22px;
  cursor: pointer;
  border-radius: 0;
  background: transparent;
  border: none;

  font-weight: 500;
  transition: all 0.25s ease;
}

.service-box:hover {
  background: #f3f3f3;
  transform: translateY(-2px);
}

.service-box.active {
  background: #0b3c5d;
  color: #fff;
  transform: scale(1.05);
}

.content-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.content-box {
  position: absolute;
  inset: 0;
  width: 100%;

  display: flex;
  justify-content: center;

  opacity: 0;
  transform: translateY(30px) scale(0.96);
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.4s ease,
    transform 0.4s ease,
    visibility 0.4s;

  will-change: opacity, transform;
}

.content-box.active {
  position: relative;
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
  pointer-events: auto;

  background: none;
  overflow: hidden;
}

.about {
  position: relative;
  width: 100%;

  padding: 140px 0 240px;

  overflow: hidden;

  background: url('../assets/images/bg/bgg.png') center/cover no-repeat !important;
}

.about::before,
.about::after {
  display: none !important;
  content: none !important;
  background: transparent !important;
}

.about-grid {
  width: 90%;
  max-width: 1200px;

  margin: auto;

  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 60px;

  flex-wrap: nowrap;

  position: relative;
  z-index: 2;
}

.about-img-wrapper {
  position: relative;
  width: 480px;
  flex-shrink: 0;
  overflow: visible;
}

.about-img {
  width: 100%;
  display: block;

  clip-path: polygon(
    0 0,
    92% 0,
    100% 18%,
    100% 100%,
    8% 100%,
    0 82%
  );

  border: 2px solid #1e5b88;
  background: #fff;

  box-shadow:
    0 15px 35px rgba(0,0,0,0.25),
    0 10px 0 #f1f1f1,
    0 20px 0 #e2e2e2;

  object-fit: cover;

  transition: all 0.35s ease;
}

.about-img:hover {
  transform: scale(1.03);

  border-color: #00c2ff;

  box-shadow:
    0 20px 45px rgba(0,0,0,0.35),
    0 12px 0 #f1f1f1,
    0 24px 0 #e2e2e2;
}

/* .about-img-wrapper .pin {
  position: absolute;
  top: -10px;
  left: 35px;

  width: 26px;
  height: 26px;

  border-radius: 50%;

  background:
    radial-gradient(circle at 30% 30%, #ff5a5a, #b30000);

  box-shadow:
    0 6px 12px rgba(0,0,0,0.35),
    inset -3px -4px 6px rgba(0,0,0,0.4);

  z-index: 99;
} */

.about-img-wrapper .pin::after {
  content: "";

  position: absolute;
  top: 22px;
  left: 50%;

  transform:
    translateX(-50%)
    rotate(12deg);

  width: 2px;
  height: 24px;

  background:
    linear-gradient(#aaa, #555);
}

.about-img-wrapper .pin::before {
  content: "";

  position: absolute;
  top: 18px;
  left: 6px;

  width: 20px;
  height: 10px;

  background: rgba(0,0,0,0.25);

  filter: blur(4px);
  border-radius: 50%;
}

.about-content {
  flex: 1;
  max-width: 560px;
}

.about-content h2 {
  font-family: "Poppins", sans-serif;

  color: #0b3c5d;

  font-size: 34px;
  font-weight: 700;

  margin-bottom: 20px;

  opacity: 0;
  transform: translateY(40px);

  transition: all 0.8s ease;
}

.about-content p {
  font-family: "Poppins", sans-serif;

  color: #0b3c5d;

  text-align: justify;

  font-size: 15px;
  font-weight: 500;

  line-height: 1.9;

  margin-bottom: 18px;

  opacity: 0;
  transform: translateY(40px);

  transition: all 0.8s ease;
}

.about-content.show h2 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.about-content.show p:nth-of-type(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

.about-content.show p:nth-of-type(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

.about-content.show p:nth-of-type(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.8s;
}

@media (max-width: 992px) {

  .about {
    padding: 100px 20px 160px;
  }

  .about-grid {
    flex-wrap: wrap;
    gap: 40px;
    text-align: center;
  }

  .about-img-wrapper {
    width: 100%;
    max-width: 430px;
  }

  .about-content {
    max-width: 100%;
  }

  .about-content h2 {
    text-align: center;
    font-size: 30px;
  }

  .about-content p {
    text-align: justify;
  }
}

@media (max-width: 768px) {

  .about {
    padding: 80px 15px 140px;
    background-position: top;
  }

  .about-grid {
    width: 100%;
    gap: 30px;
  }

  .about-img-wrapper {
    max-width: 100%;
  }

  .about-content h2 {
    font-size: 26px;
  }

  .about-content p {
    font-size: 14px;
    line-height: 1.8;
  }

  .about-img {
    box-shadow:
      0 10px 25px rgba(0,0,0,0.2),
      0 8px 0 #f1f1f1,
      0 16px 0 #e2e2e2;
  }
}

#about {
  padding: 100px 20px 50px;
}

#services {
  padding-top: 10px;
}

#services h2 {
  margin: 0 0 15px;
}

@media (min-width: 1024px) {
  .service-float {
    padding: 12px;
  }

  .service-box {
    padding: 16px 34px;
    font-size: 16px;
    font-weight: 600;
  }

  .service-box:hover {
    transform: translateY(-3px);
  }

  .service-box.active {
    transform: scale(1.08);
  }
}

@media (max-width: 768px) {
  .service-float {
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    width: 100%;
  }

  .service-box {
    flex: 1 1 auto;
    text-align: center;
    padding: 10px 14px;
  }
}

@media (max-width: 480px) {
  .service-float {
    padding: 4px;
  }

  .service-box {
    flex: 1 1 100%;
    font-size: 14px;
    padding: 10px;
  }
}

html {
  scroll-behavior: smooth;
}

.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;

  width: 55px;
  height: 55px;

  display: flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;
  font-size: 24px;
  font-weight: bold;
  color: white;

  border-radius: 16px;

  background: rgba(11, 108, 255, 0.45);

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  border: 1px solid rgba(255,255,255,0.15);

  box-shadow: 0 4px 20px rgba(0,0,0,0.2);

  z-index: 9999;

  transition: all 0.4s ease;

  opacity: 0;
  pointer-events: none;

  transform: translateY(20px);
}

.scroll-top.show {
  opacity: 1;
  pointer-events: auto;

  transform: translateY(0);
}

.scroll-top:hover {
  background: rgba(11, 108, 255, 0.75);

  transform: translateY(-5px) scale(1.05);

  box-shadow: 0 8px 25px rgba(11,108,255,0.35);
}