/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BODY & HTML */
html, body {
  height: 100%;
  font-family: Helvetica, Arial, sans-serif;
  color: #fff;
  overflow-x: hidden;
  background: url('Assets/BG/Cubitrek UI Background Design-02 1.png') no-repeat center center;
  background-size: cover;  /* ensures full coverage */
}

/* Main container */
.CONTENT-MARKETING {
  position: relative;
  min-height: 100vh;
  padding: 120px 40px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 1440px;
  margin: 0 auto;
}

/* Large "15+" gradient text */
.text-wrapper {
  position: absolute;
  top: 20px;
  right: 140px;
  font-family: "Poppins Medium-Regular", Helvetica, sans-serif;
  font-weight: 400;
  font-size: 70px;
  color: transparent;
  background: linear-gradient(
    180deg,
    rgba(153, 153, 153, 1) 10%,
    rgba(255, 255, 255, 1) 40%,
    rgba(255, 255, 255, 1) 49%,
    rgba(255, 255, 255, 1) 60%,
    rgba(153, 153, 153, 1) 90%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
  letter-spacing: -3.5px;
  line-height: 80px;
  z-index: 10;
}

/* "Years of experience" */
.years-of-experience {
  position: absolute;
  top: 110px;
  right: 160px;
  font-family: "Poppins Medium-Regular", Helvetica, sans-serif;
  font-weight: 400;
  font-size: 20px;
  color: #ffffff;
  line-height: 30px;
  text-align: center;
  z-index: 10;
  white-space: nowrap;
}

/* Icons */
.icon-container {
  position: absolute;
  top: 40px;
  right: 40px;
  left: 40px;
  display: flex;
  justify-content: space-between;
  width: calc(100% - 80px);
  max-width: 1200px;
  z-index: 10;
  pointer-events: none;
}

.icon-container img {
  pointer-events: auto;
  width: 36px;
  height: 36px;
  object-fit: cover;
  cursor: pointer;
}

.left-arrow {
  width: 39px;
  height: 39px;
}

/* Fixed bottom arrow */
.si-expand-more {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 57px;
  height: 58px;
  aspect-ratio: 1;
  z-index: 1000;
  border-radius: 50%;
  display: flex;
}

/* THE TEAM heading */
.team-heading {
  font-family: "Unbounded-Medium", Helvetica, sans-serif;
  font-weight: 500;
  font-size: 50px;
  background: linear-gradient(180deg, #ffffff 43%, rgba(153, 153, 202, 0.79) 81%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  user-select: none;
  width: 100%;
  max-width: 400px;
  margin-bottom: 20px;
}

/* Underline below THE TEAM */
.heading-underline {
  width: 500px;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    #34ff9d 50%,
    rgba(0, 0, 0, 0) 100%
  );
  margin-bottom: 50px;
  margin-left: auto;
  margin-right: auto;
}

/* Team grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px 40px;
  width: 100%;
  max-width: 1200px;
  justify-items: center;
}

/* Team member */
.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 170px;
}

.team-member img {
  width: 131px;
  aspect-ratio: 0.74;
  object-fit: cover;
  border-radius: 8px;
}

.member-name {
  font-family: "Unbounded-Medium", Helvetica, sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: #ffffff;
  text-align: center;
}

.member-designation {
  font-family: "Unbounded-Regular", Helvetica, sans-serif;
  font-weight: 400;
  font-size: 11px;
  color: #34ff9d;
  text-align: center;
}

/* Responsive breakpoints */
@media (max-width: 1200px) {
  .CONTENT-MARKETING {
    padding: 100px 20px 40px;
  }
  .team-grid {
    max-width: 900px;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px 30px;
  }
  .team-member {
    width: 150px;
  }
  .text-wrapper {
    right: 100px;
    font-size: 60px;
    line-height: 70px;
  }
  .years-of-experience {
    right: 110px;
    font-size: 18px;
    line-height: 25px;
  }
}

@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 25px;
  }
  .team-member {
    width: 140px;
  }
  .text-wrapper {
    font-size: 50px;
    right: 80px;
  }
  .years-of-experience {
    font-size: 16px;
    right: 90px;
  }
}

@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 30px 0;
    max-width: 320px;
  }
  .team-member {
    width: 100%;
    max-width: 320px;
  }
  .text-wrapper {
    position: relative;
    top: 0;
    right: 0;
    font-size: 40px;
    line-height: 50px;
    margin-bottom: 10px;
    text-align: center;
  }
  .years-of-experience {
    position: relative;
    top: 0;
    right: 0;
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 30px;
    text-align: center;
  }
  .company-favicon,
  .left-arrow,
  .si-expand-more {
    position: relative;
    top: 0;
    right: 0;
    left: 0;
    margin: 10px auto;
  }
}
