
/* =========================================
   HOME PAGE CONTENT REDESIGN
   About / Services / Technologies
========================================= */

.hm-about,
.hm-services,
.hm-tech-section {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

.hm-about {
  background: #fff;
  color: #10243b;
}

.hm-about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 75px;
}

.hm-about-visual {
  position: relative;
  min-height: 450px;
  isolation: isolate;
}

.hm-about-visual > img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 8px 80px 8px 8px;
  position: relative;
  z-index: 1;
  box-shadow: 20px 20px 0 #e8f5fb;
}

.hm-about-label {
  position: absolute;
  z-index: 3;
  right: -15px;
  bottom: 25px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  border-radius: 8px;
  background: #06162e;
  color: white;
  box-shadow: 0 12px 35px #06162e33;
}

.hm-about-label i {
  color: #35c9f4;
  font-size: 23px;
}

.hm-about-label span {
  font-size: 13px;
  font-weight: 700;
}

.hm-about-orbit {
  position: absolute;
  border: 1px solid #23bde7;
  border-radius: 50%;
  z-index: -1;
  opacity: .35;
}

.hm-orbit-one {
  width: 150px;
  height: 150px;
  top: -35px;
  right: -35px;
}

.hm-orbit-two {
  width: 90px;
  height: 90px;
  top: -5px;
  right: -5px;
}

.hm-eyebrow {
  display: inline-block;
  color: #079fce;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
  margin-bottom: 18px;
}

.hm-about-content h2,
.hm-section-heading h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.17;
  letter-spacing: -1.5px;
  margin: 0 0 22px;
}

.hm-about-content h2 em,
.hm-section-heading h2 em {
  color: #079fce;
  font-style: normal;
}

.hm-about-content > p {
  max-width: 540px;
  color: #65758a;
  font-size: 15px;
  line-height: 1.9;
}

.hm-about-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
  margin: 28px 0;
}

.hm-about-points div {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #263c54;
  font-size: 13px;
  font-weight: 700;
}

.hm-about-points i {
  color: #079fce;
  font-size: 17px;
}

.hm-about-link,
.hm-service-info a,
.hm-services-bottom a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #079fce;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.hm-about-link i,
.hm-service-info a i,
.hm-services-bottom a i {
  transition: transform .25s ease;
}

.hm-about-link:hover i,
.hm-service-info a:hover i,
.hm-services-bottom a:hover i {
  transform: translateX(5px);
}


/* SERVICES */

.hm-services {
  background:
    radial-gradient(circle at 90% 10%, #0a9fd012, transparent 30%),
    #f3f7fb;
  color: #10243b;
}

.hm-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 45px;
}

.hm-section-heading h2 {
  margin-bottom: 0;
}

.hm-section-heading > p {
  max-width: 340px;
  color: #687b90;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 5px;
}

.hm-service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 13px;
  align-items: start;
}

.hm-service-item {
  min-width: 0;
  background: #fff;
  border: 1px solid #e0eaf2;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 18px #10243b08;
  transition: border-color .3s, box-shadow .3s, transform .3s;
}

.hm-service-item:hover,
.hm-service-item[open] {
  border-color: #23bde7;
  box-shadow: 0 12px 28px #10243b12;
  transform: translateY(-3px);
}

.hm-service-item summary {
  min-height: 155px;
  padding: 17px 15px;
  list-style: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  gap: 12px;
}

.hm-service-item summary::-webkit-details-marker {
  display: none;
}

.hm-service-number {
  color: #8ca1b4;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
}

.hm-service-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #079fce;
  background: #e9f8fd;
  border-radius: 8px;
  font-size: 17px;
}

.hm-service-name {
  color: #10243b;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
  padding-right: 12px;
}

.hm-service-plus {
  position: absolute;
  right: 14px;
  bottom: 16px;
  color: #079fce;
  font-size: 12px;
  transition: transform .3s;
}

.hm-service-item[open] .hm-service-plus {
  transform: rotate(45deg);
}

.hm-service-info {
  padding: 0 15px 17px;
  animation: hm-service-reveal .3s ease both;
}

.hm-service-info p {
  color: #65758a;
  font-size: 12px;
  line-height: 1.7;
  margin: 0 0 12px;
}

.hm-service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 14px;
}

.hm-service-tags span {
  padding: 5px 7px;
  border-radius: 4px;
  color: #34708b;
  background: #edf8fc;
  font-size: 9px;
  font-weight: 700;
}

.hm-service-info a {
  font-size: 11px;
}

.hm-services-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid #dce7ef;
}

.hm-services-bottom span {
  color: #667b90;
  font-size: 13px;
}


/* TECHNOLOGY FLIP CARDS */

.hm-tech-section {
  background:
    radial-gradient(circle at 10% 20%, #0b8fc21a, transparent 28%),
    #06162e;
  color: #fff;
}

.hm-tech-heading > p {
  color: #a6b9cd;
}

.hm-tech-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  perspective: 1400px;
}

.hm-tech-card {
  display: block;
  width: 100%;
  height: 260px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  perspective: 1100px;
  -webkit-tap-highlight-color: transparent;
}

.hm-tech-inner {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform .75s cubic-bezier(.2,.75,.25,1);
}

.hm-tech-card.is-flipped .hm-tech-inner {
  transform: rotateY(180deg);
}

.hm-tech-front,
.hm-tech-back {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border: 1px solid #294966;
  border-radius: 10px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.hm-tech-front {
  background: #102943;
}

.hm-tech-front::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(3,16,32,.12),
    rgba(3,16,32,.35) 35%,
    #06162e 100%
  );
}

.hm-tech-front img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .62;
  transition: transform .7s ease;
}

.hm-tech-card:hover .hm-tech-front img {
  transform: scale(1.07);
}

.hm-tech-index,
.hm-tech-title,
.hm-tech-hint {
  position: relative;
  z-index: 2;
  margin-left: 22px;
  margin-right: 22px;
}

.hm-tech-index {
  color: #55d8fa;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.hm-tech-title {
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 10px;
}

.hm-tech-hint {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #b9d4e8;
  font-size: 11px;
  margin-bottom: 20px;
}

.hm-tech-back {
  justify-content: center;
  padding: 25px;
  background: linear-gradient(145deg, #123b5c, #0b213b);
  transform: rotateY(180deg);
  border-color: #2dbfe8;
}

.hm-tech-back-label {
  color: #53d4f5;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.hm-tech-back strong {
  color: #fff;
  font-size: 21px;
  margin-bottom: 15px;
}

.hm-tech-back > span:nth-of-type(2) {
  color: #c4d6e7;
  font-size: 13px;
  line-height: 1.9;
}

.hm-tech-back-hint {
  color: #52d2f2;
  font-size: 10px;
  margin-top: 18px;
}

.hm-tech-card:focus-visible {
  outline: 3px solid #54d8f7;
  outline-offset: 5px;
}

@keyframes hm-service-reveal {
  from { opacity: 0; transform: translateY(-7px); }
  to { opacity: 1; transform: translateY(0); }
}


/* TABLET */

@media (max-width: 1050px) {
  .hm-service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hm-about-layout {
    gap: 45px;
  }
}


/* MOBILE */

@media (max-width: 768px) {
  .hm-about,
  .hm-services,
  .hm-tech-section {
    padding: 70px 0;
  }

  .hm-about-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .hm-about-visual {
    min-height: auto;
    margin-right: 10px;
  }

  .hm-about-visual > img {
    height: 320px;
  }

  .hm-about-label {
    right: -8px;
    bottom: 15px;
  }

  .hm-section-heading {
    display: block;
    margin-bottom: 30px;
  }

  .hm-section-heading > p {
    margin-top: 18px;
  }

  .hm-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .hm-service-item summary {
    min-height: 145px;
    padding: 13px;
  }

  .hm-service-name {
    font-size: 12px;
  }

  .hm-tech-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
  }

  .hm-tech-card {
    height: 225px;
  }

  .hm-tech-index,
  .hm-tech-title,
  .hm-tech-hint {
    margin-left: 14px;
    margin-right: 14px;
  }

  .hm-tech-title {
    font-size: 16px;
  }

  .hm-tech-back {
    padding: 16px;
  }

  .hm-tech-back strong {
    font-size: 17px;
  }

  .hm-tech-back > span:nth-of-type(2) {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .hm-about-points {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .hm-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hm-service-item summary {
    min-height: 138px;
  }

  .hm-services-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .hm-tech-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hm-tech-card {
    height: 205px;
  }

  .hm-tech-title {
    font-size: 14px;
  }

  .hm-tech-back {
    padding: 12px;
  }

  .hm-tech-back strong {
    font-size: 15px;
  }

  .hm-tech-back > span:nth-of-type(2) {
    font-size: 10px;
    line-height: 1.6;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hm-about *,
  .hm-services *,
  .hm-tech-section * {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
