/* ---------------------------- */
/* LAST SLIDE FULL STYLING      */
/* ---------------------------- */
body {
  margin: 0;
  padding: 0;
}

.last-slide {
  background-color: #ffffff;
  background-image: url('Assets/BG/last-slide-bg.jpg');
  background-size: cover;         
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 100vh;                  
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

/* Gradient layers */
.last-slide .gradient,
.last-slide .gradient-2 {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

/* Logo - centered and responsive */
.last-slide .asset-x {
  position: relative;
  display: block;
  margin: 0 auto 20px auto;
  max-width: 200px;
  width: 20%;
  height: auto;
}

/* Cubitrek UI background image */
.last-slide .cubitrek-UI {
  position: relative;
  display: block;
  width: 100%;
  max-width: 1000px;
  height: auto;
  margin: 0 auto 20px auto;
}

/* Transforming text */
.last-slide .transforming {
  position: relative;
  display: block;
  font-family: "Unbounded-Medium", Helvetica;
  font-weight: 500;
  color: transparent;
  font-size: 45px;
  line-height: 55.8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 1) 43%, rgba(153, 153, 202, 0.79) 81%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 20px auto;
  max-width: 100%;
  text-align: center;
}

/* Partner text */
.last-slide .p {
  font-family: "Unbounded-Light", Helvetica;
  font-weight: 300;
  color: #ffffff;
  font-size: 26px;
  line-height: 36px;
  margin: 20px auto;
  max-width: 80%;
}

/* Contact links container - side by side */
.last-slide .contact-links {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin: 20px auto;
  flex-wrap: wrap;
}

/* Individual link wrapper */
.last-slide .contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Unbounded-Light", Helvetica;
  font-weight: 300;
  font-size: 18px;
  color: #ffffff;
  text-decoration: none;
  position: relative;
}

/* Left icon */
.last-slide .contact-link .icon-left {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  background-image: url('Assets/Last asset/ei_arrow-up.png');
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
}

/* Right icon */
.last-slide .contact-link .icon-right {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  background-image: url('Assets/Last asset/streamline-plump_web.png');
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
}

/* Buttons container - side by side */
.last-slide .buttons-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin: 20px auto;
  flex-wrap: wrap;
}

/* Buttons */
.last-slide .component,
.last-slide .component-2 {
  position: relative;
  width: 225px;
  height: 55px;
  margin: 0;
  flex-shrink: 0;
  display: flex;               /* enable flex centering */
  justify-content: center;     /* horizontal center */
  align-items: center;         /* vertical center */
}

/* Rectangle background of buttons */
.last-slide .rectangle {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: #000000;
  border-radius: 37px;
  border: none;
  box-shadow: 0px 2.98px 18.61px #00ffa1;
  z-index: 0; /* keep rectangle behind text */
}

.last-slide .rectangle::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 37px;
  background: linear-gradient(180deg, rgba(198, 223, 255, 1) 0%, rgba(52, 255, 157, 1) 43%, rgba(69, 152, 233, 0) 91%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 1;
  pointer-events: none;
}

/* Button text - centered, 12px, Unbounded-Light, white */
.last-slide .call-now,
.last-slide .call-now-2 {
  position: relative;
  z-index: 2; 
  font-family: "Unbounded-Light", Helvetica;
  font-weight: 300;
  font-size: 12px;       /* updated */
  color: #FFFFFF;        /* updated */
  text-align: center;
  line-height: normal;
}

/* Underline for second button */
.last-slide .call-now-2 {
  text-decoration: none;
}

/* -------------------- */
/* RESPONSIVE STYLING    */
/* -------------------- */
@media (max-width: 1024px) {
  .last-slide {
    height: 100vh;
  }
  .last-slide .transforming {
    font-size: 36px;
  }
  .last-slide .p {
    font-size: 22px;
  }
  .last-slide .asset-x {
    max-width: 150px;
    width: 30%;
  }
  .last-slide .contact-links {
    gap: 40px;
  }
  .last-slide .buttons-container {
    gap: 20px;
  }
  .last-slide .component,
  .last-slide .component-2 {
    width: 200px;
    height: 50px;
  }
}

@media (max-width: 768px) {
  .last-slide .transforming {
    font-size: 28px;
  }
  .last-slide .p {
    font-size: 20px;
  }
  .last-slide .asset-x {
    max-width: 120px;
    width: 35%;
  }
  .last-slide .contact-links {
    gap: 30px;
  }
  .last-slide .buttons-container {
    flex-direction: column;
    gap: 15px;
  }
  .last-slide .component,
  .last-slide .component-2 {
    width: 180px;
    height: 50px;
  }
}

@media (max-width: 480px) {
  .last-slide .transforming {
    font-size: 22px;
  }
  .last-slide .p {
    font-size: 18px;
  }
  .last-slide .asset-x {
    max-width: 100px;
    width: 40%;
  }
  .last-slide .contact-links {
    flex-direction: column;
    gap: 20px;
  }
  .last-slide .buttons-container {
    flex-direction: column;
    gap: 10px;
  }
  .last-slide .component,
  .last-slide .component-2 {
    width: 150px;
    height: 45px;
  }
}
