*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  block-size: border-box;
}

li {
  list-style: none;
}

a,
img,
data,
span,
input,
button,
select,
ion-icon,
textarea {
  display: inherit;
  text-decoration: none;
}

img {
  height: auto;
}

input,
button,
select,
textarea {
  background: none;
  border: none;
  font: inherit;
}

input,
select,
textarea {
  width: 100%;
  outline: none;
}

button {
  cursor: pointer;
}

address {
  font-style: normal;
}

html {
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  background-color: hsl(210, 4%, 9%);
  color: hsl(0, 0%, 100%);
  font-family: "DM Sans", sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.85em;
  height: 200vh;
}

body.loaded {
  overflow: overlay;
}

body.nav-active {
  overflow: hidden;
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background-color: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: hsl(38, 61%, 73%);
}

.container {
  padding-inline: 16px;
}

.separator {
  width: 8px;
  height: 8px;
  border: 1px solid hsl(38, 61%, 73%);
  transform: rotate(45deg);
}

.text-center {
  text-align: center;
}

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

.section-subtitle {
  position: relative;
  color: hsl(38, 61%, 73%);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  margin-block-end: 12px;
}

.section-subtitle::after {
  content: url("../../assets/images/separator.svg");
  display: block;
  width: 100px;
  margin-inline: auto;
  margin-block-start: 5px;
}

.btn {
  position: relative;
  color: hsl(38, 61%, 73%);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  max-width: max-content;
  border: 2px solid hsl(38, 61%, 73%);
  padding: 12px 45px;
  overflow: hidden;
  z-index: 1;
}
.btn .text {
  transition: 250ms ease;
}

.btn::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 200%;
  height: 200%;
  border-radius: 50%;
  background-color: hsl(38, 61%, 73%);
  transition: 500ms ease;
  z-index: -1;
}

.btn .text-2 {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: max-content;
  color: hsl(40, 12%, 5%);
}

.btn:is(:hover, :focus-visible)::before {
  bottom: -50%;
}

.btn:is(:hover, :focus-visible) .text-1 {
  transform: translateY(-40px);
}

.btn:is(:hover, :focus-visible) .text-2 {
  top: 50%;
  transform: translate(-50%, -50%);
}

.btn-secondary::before {
  background-color: hsl(40, 12%, 5%);
}

.btn-secondary .text-2 {
  color: hsl(0, 0%, 100%);
}

.has-before,
.has-after {
  position: relative;
  z-index: 1;
}

.has-before::before,
.has-after::after {
  content: "";
  position: absolute;
}

.section {
  position: relative;
  padding-block: 70px;
  overflow: hidden;
  z-index: 1;
}

.bg-black-10 {
  background-color: hsl(30, 8%, 5%);
}

.grid-list {
  display: grid;
  gap: 40px;
}

.hover\:shine {
  position: relative;
}

.hover\:shine:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background-image: linear-gradient(to right, transparent 0%, rgba(255, 255, 255, 0.4) 100%);
  transform: skew(-0.08turn) translateX(-180%);
}

.hover\:shine:is(:hover, :focus-within)::after {
  transform: skewX(-0.08turn) translateX(275%);
  transition: 1000ms ease;
}

.img-holder {
  aspect-ratio: var(--width)/var(--height);
  overflow: hidden;
  background-color: hsl(0, 0%, 13%);
}

.btn-text {
  color: hsl(38, 61%, 73%);
  padding-block-end: 4px;
  margin-inline: auto;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  transition: 250ms ease;
}

.btn-text:is(:hover, :focus-visible) {
  color: hsl(0, 0%, 100%);
}

.display-1,
.headline-1,
.headline-2,
.title-1,
.title-2,
.title-3,
.title-4 {
  color: hsl(0, 0%, 100%);
  font-family: "Forum", cursive;
  font-weight: 400;
  line-height: 1.2em;
}

.display-1 {
  font-size: calc(1.3rem + 6.7vw);
  line-height: 1em;
}

.headline-1 {
  font-size: calc(2rem + 2.5vw);
}

.headline-2 {
  font-size: calc(1.3rem + 2.4vw);
  line-height: 1.4em;
}

.title-1 {
  font-size: calc(1.6rem + 1.2vw);
}

.title-2 {
  font-size: 2.2rem;
}

.title-3 {
  font-size: 2.1rem;
}

.title-4 {
  font-size: calc(1.6rem + 1.2vw);
}

.body-1 {
  font-size: 2.4rem;
  line-height: 1.4em;
}

.body-2 {
  font-size: 1.6rem;
  line-height: 1.6em;
}

.body-3 {
  font-size: 1.8rem;
}

.body-4 {
  font-size: 1.6rem;
}

.label-1 {
  font-size: 1.4rem;
}

.label-2 {
  font-size: 1.2rem;
}

.preload {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: hsl(38, 61%, 73%);
  z-index: 10;
  display: grid;
  place-content: center;
  justify-items: center;
  transition: 500ms ease;
}

.preload > * {
  transition: 250ms ease;
}

.preload.loaded > * {
  opacity: 0;
}

.preload.loaded {
  transition-delay: 250ms;
  transform: translateY(100%);
}

.circle {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  border: 3px solid hsl(0, 0%, 100%);
  border-block-start-color: hsl(0, 3%, 7%);
  margin-block-end: 45px;
}

@keyframes rotate360 {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(1turn);
  }
}
.preload .text {
  background-image: linear-gradient(90deg, transparent 0% 16.66%, hsl(0, 3%, 7%) 33.33% 50%, transparent 66.66% 75%);
  background-size: 500%;
  font-size: calc(2rem + 3vw);
  font-weight: 700;
  line-height: 1em;
  text-transform: uppercase;
  letter-spacing: 16px;
  padding-inline-start: 16px;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-stroke: 0.5px hsl(180, 2%, 8%);
  animation: loadingText linear 2s infinite;
}

@keyframes loadingText {
  0% {
    background-position: 100%;
  }
  100% {
    background-position: 0%;
  }
}
.topbar {
  display: none;
}

.p1_main {
  background-color: gray;
  height: 100vh;
}

.contact-label {
  font-weight: 700;
}

.contact-number {
  color: hsl(38, 61%, 73%);
  max-width: max-content;
  margin-inline: auto;
}

.hover-underline {
  position: relative;
  max-width: max-content;
}

.hover-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 5px;
  border-block: 1px solid hsl(38, 61%, 73%);
  transform: scaleX(0.2);
  opacity: 0;
  transition: 500ms ease;
}

.hover-underline:is(:hover, :focus-visible)::after {
  transform: scaleX(1);
  opacity: 1;
}

.contact-number::after {
  bottom: -5px;
}

.header .btn {
  display: none;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: transparent;
  padding-block: 40px;
  z-index: 4;
  border-block-end: 1px solid transparent;
  transition: 250ms ease;
}

.header.active {
  padding-block: 20px;
  background-color: hsl(0, 0%, 13%);
  border-color: hsla(0, 0%, 0%, 0.15);
}

.header.hide {
  transform: translateY(-100%);
  transition-delay: 250ms;
}

.header .container {
  padding-inline: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.nav-open-btn {
  padding: 12px;
  padding-inline-end: 0;
  display: block;
}

.nav-open-btn .line {
  width: 30px;
  height: 2px;
  background-color: hsl(0, 0%, 100%);
  margin-block: 4px;
  transform-origin: left;
  animation: menuBtn 400ms ease-in-out alternate infinite;
}

@keyframes menuBtn {
  0% {
    transform: scaleX(1);
  }
  100% {
    transform: scaleX(0.5);
  }
}
.nav-open-btn .line-2 {
  animation-delay: 150ms;
}

.nav-open-btn .line-3 {
  animation-delay: 300ms;
}

.navbar {
  display: block;
  position: fixed;
  background-color: hsl(40, 12%, 5%);
  top: 0;
  left: -1000px;
  bottom: 0;
  min-width: 360px;
  width: 100%;
  padding-inline: 30px;
  padding-block-end: 50px;
  overflow-y: auto;
  visibility: hidden;
  z-index: 2;
  transition: 500ms ease;
}

.navbar.active {
  visibility: visible;
  transform: translateX(1000px);
}

.navbar .close-btn {
  color: hsl(0, 0%, 100%);
  border: 1px solid currentColor;
  padding: 4px;
  border-radius: 50%;
  margin-block: 30px 20px;
}

.navbar .close-btn ion-icon {
  --ionicon-stroke-width: 40px;
}

.navbar .close-btn:is(:hover, :focus-visible) {
  color: hsl(38, 61%, 73%);
}

.navbar .logo {
  min-width: max-content;
  margin-inline: auto;
  margin-block-end: 60px;
}

.navbar-list {
  border-block-end: 1px solid hsla(0, 0%, 100%, 0.2);
  margin-block-end: 100px;
}

.navbar-item {
  border-block-start: 1px solid hsla(0, 0%, 100%, 0.2);
}

.navbar-link {
  position: relative;
  font-size: 1.2rem;
  text-transform: uppercase;
  padding-block: 10px;
  max-width: unset;
  color: hsl(0, 0%, 100%);
}

.navbar-link::after {
  display: none;
}
.navbar-link::after .span {
  transition: 250ms ease;
}

.navbar-link:is(:hover, :focus-visible, .active) .span {
  color: hsl(38, 61%, 73%);
  transform: translateX(20px);
}

.navbar-link .separator {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%) rotate(45deg);
  opacity: 0;
  transition: 250ms ease;
}

.navbar-link:is(:hover, :focus-visible, .active) .separator {
  opacity: 1;
}

.navbar-title {
  margin-block-end: 15px;
}

.navbar-text {
  margin-block: 10px;
}

.navbar .body-4 {
  color: hsl(0, 0%, 65%);
}

.sidebar-link {
  transition: 250ms ease;
  color: hsl(0, 0%, 100%);
}

.sidebar-link:is(:hover, :focus-visible) {
  color: hsl(38, 61%, 73%);
}

.navbar .text-center .separator {
  margin-block: 30px;
  margin-inline: auto;
}

.navbar .contact-label {
  margin-block-end: 10px;
}

.navbar::-webkit-scrollbar-thumb {
  background-color: hsla(0, 0%, 100%, 0.1);
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: hsla(0, 0%, 0%, 0.8);
  opacity: 0;
  pointer-events: none;
  transition: 500ms ease;
  z-index: 1;
}

.overlay.active {
  opacity: 1;
  pointer-events: all;
}

.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  z-index: 1;
}
.hero .slider-btn {
  display: none;
}
.hero .slider-item {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  display: grid;
  place-content: center;
  padding-block-start: 100px;
  opacity: 0;
  visibility: hidden;
  transition: 1000ms ease;
  z-index: 1;
}
.hero .slider-item.active {
  opacity: 1;
  visibility: visible;
}
.hero .slider-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: scale(1.15);
  pointer-events: none;
  user-select: none;
  z-index: -1;
}
.hero .slider-item.active .slider-bg {
  animation: smoothScale 7s linear forwards;
}
.hero .section-subtitle::after {
  margin-block: 14px 20px;
}
.hero .hero-text {
  margin-block: 10px 40px;
}
.hero .btn {
  margin-inline: auto;
}
.hero .hero-btn {
  position: absolute;
  bottom: 15px;
  right: 15px;
  z-index: 2;
  background-color: hsl(38, 61%, 73%);
  width: 110px;
  height: 110px;
  padding: 12px;
  transform: scale(0.6);
}
.hero .hero-btn img {
  margin-inline: auto;
  margin-top: 10px;
  margin-block-end: 6px;
}
.hero .hero-btn .span {
  color: black;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  line-height: 1.5em;
}
.hero .hero-btn::after {
  inset: 0;
  border: 1px solid hsl(38, 61%, 73%);
  animation: rotate360 15s linear infinite;
}
.hero .slider-reveal {
  transform: translateY(30px);
  opacity: 0;
}
.hero .slider-item.active .slider-reveal {
  animation: sliderReveal 1s ease forwards;
}
.hero .slider-item.active .section-subtitle {
  animation-delay: 500ms;
}
.hero .slider-item.active .hero-title {
  animation-delay: 1000ms;
}
.hero .slider-item.active .hero-text {
  animation-delay: 1.5s;
}
.hero .slider-item.active .btn {
  animation-delay: 2s;
}
.hero .num-sliders {
  position: absolute;
  bottom: 50px;
  left: 50px;
  display: flex;
  z-index: 1;
}
.hero .num-sliders .num-slider {
  position: relative;
  display: flex;
  align-items: center;
  margin-inline: auto;
}
.hero .num-sliders .num-slider .num {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: hsla(0, 0%, 100%, 0.4);
}
.hero .num-sliders .num-slider .track {
  fill: none;
  stroke: hsla(0, 0%, 100%, 0.4);
  stroke-width: 3px;
}
.hero .num-sliders .progress {
  fill: none;
  stroke: hsl(38, 61%, 73%);
  stroke-width: 3px;
  stroke-dasharray: 95;
  stroke-dashoffset: 95;
}
.hero .num-sliders .num-slider.active .progress {
  fill: none;
  stroke: hsl(38, 61%, 73%);
  stroke-width: 3px;
  stroke-dasharray: 95;
  stroke-dashoffset: 95;
  animation: rotate 7s linear;
}
.hero .num-sliders .num-slider.active .num {
  color: hsl(38, 61%, 73%);
}

@keyframes smoothScale {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.15);
  }
}
@keyframes sliderReveal {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes rotate {
  0% {
    stroke-dashoffset: 95;
  }
  100% {
    stroke-dashoffset: 0;
  }
}
.service .section-title {
  margin-block-end: 16px;
}
.service .section-text {
  margin-block-end: 40px;
}
.service .service-card {
  overflow: hidden;
}
.service .service-card .title-4 {
  text-decoration: none;
  color: hsl(0, 0%, 100%);
  background-color: black;
}
.service .service-card .has-before {
  padding-block: 30px;
  margin-block-end: 26px;
  z-index: 1;
}
.service .service-card .has-before::before {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 100%;
  background-image: url("../assets/images/img-pattern.svg");
  background-position: center;
  background-size: cover;
  background-repeat: repeat;
  transition: 500ms ease;
  transition-delay: 0;
  z-index: -1;
  will-change: transform;
}
.service .service-card:is(:hover, :focus-within) .has-before::before {
  transform: rotateY(0.5turn) translateX(50%);
  transition-delay: 300ms;
}