@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Alice&display=swap");

* {
  scroll-behavior: smooth;
  box-sizing: border-box;
  font-family: "DM Sans", sans-serif;
}

:root {
  --light: #fff;
  --dark: #1e1e1e;
  --accent-1: #01a79d;
  --accent-2: #fc6c23;
  --alice: "Alice", serif;
}

html,
body {
  background-color: var(--light);
  color: var(--dark);
  height: 100%;
}

svg {
  flex: none;
}

.steps_slides > li {
  overflow: hidden; /* required for rounded corners */
  will-change: transform, border-radius;
  transition: box-shadow 0.3s ease;
}

.steps_slides img {
  transform: scale(1.3);
  will-change: transform;
  transition: transform 0.2s ease;
}

.slide_title {
  font-family: var(--alice);
}

.wrapper {
  height: 100vh;
}

.list {
  justify-content: flex-start;
  align-items: center;
  height: 100%;
  display: flex;
  position: relative;
  padding: 0.2rem;
}

.item {
  width: 100vw;
  height: 100%;
  display: flex;
  position: absolute;
  inset: 0%;
  box-shadow: rgb(149, 157, 165, 0.2) 0px 8px 24px;
  overflow: hidden;
}

.item_number {
  font-size: 1.5rem;
  height: 3rem;
  width: 3rem;
  margin-bottom: 0.5rem;
  border-radius: 50%;
  background-color: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
  position: absolute;
  top: 6rem;
  left: 3rem;
}

.item_content {
  background-color: #fff;
  color: #292929;
  flex-flow: column;
  justify-content: center;
  align-items: flex-start;
  padding: 3rem;
  display: flex;
  position: relative;
  width: 50%;
}

.item_media {
  object-fit: cover;
  width: 50%;
  height: 100%;
}

.padding-global {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

.padding-vertical {
  padding: 2rem;
}

@media (max-width: 575.98px) {
  .heading {
    font-size: 2.5rem;
  }

  .item {
    display: flex;
    flex-direction: column;
  }

  .item_content,
  .item_media {
    height: 50vh;
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
  }

  .item_number {
    font-size: 0.5rem;
    top: 1.5rem;
  }
}

.hover_steps p.hover_index {
  display: inline-block;
  will-change: transform;
  transform-origin: top left;
  transition: all 0.3s linear;
}

.hover_steps:hover p.hover_index {
  transform: scale(1.8);
}

.hover_steps .hover_img img {
  filter: grayscale(1);
  will-change: auto;
  transition: all 0.4s linear;
}

.hover_steps:hover .hover_img img {
  filter: grayscale(0);
}

.hover_steps .hover_title {
  overflow: hidden !important;
  transform: translateY(5%);
  will-change: auto;
  transition: all 0.4s linear;
}

.hover_steps:hover .hover_title {
  transform: translateY(0);
  opacity: 1;
}

.text-fill {
  background: linear-gradient(
    to right,
    #01a79d 50%,
    #e5e7eb 50%
  ); /* Using your Accent 1 color */
  background-size: 200% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.vision-fill {
  -webkit-text-stroke: 1.5px #01a79d;
  background: linear-gradient(to right, #01a79d 50%, transparent 50%);
  background-size: 200% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

/* Custom corner border for a 'logistics' feel */
.cta-box-accent {
  border-left: 2px solid #01a79d;
  border-top: 2px solid #01a79d;
  padding-left: 2rem;
}

/* Professional Popup Styling */
.partner-label {
  background: rgba(255, 255, 255, 0.95);
  padding: 10px 16px;
  border-radius: 4px; /* Sharp professional corners */
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.5);
  border-left: 4px solid #01a79d;
  backdrop-blur: 10px;
}
.p-avatar {
  width: 35px;
  height: 35px;
  border-radius: 4px;
  background: #021526;
}
.p-name {
  color: #021526;
  font-size: 12px;
  font-weight: 900;
  margin: 0;
  text-transform: uppercase;
}
.p-role {
  color: #01a79d;
  font-size: 9px;
  font-weight: 700;
  margin: 0;
  letter-spacing: 1px;
}

/* Custom Animations & Outline */
.vision-text-outline {
  transition: all 0.5s ease;
}
.vision-text-outline:hover {
  color: #01a79d;
  -webkit-text-stroke: 1.5px transparent;
}
@keyframes progress {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0%);
  }
}
.animate-progress {
  animation: progress 3s ease-out forwards;
}
