/* Keep portfolio container full screen */
.portfolio {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: #000; /* fallback color */
  overflow: hidden;
}

/* --- TOP LEFT LOGO --- */
.asset-x {
  position: absolute;
  top: 40px;     /* spacing from top */
  left: 40px;    /* spacing from left */
  width: clamp(90px, 12vw, 150px);
  height: auto;
  z-index: 10;
}

/* --- BACKGROUND IMAGE CENTERED --- */
.cubitrek-UI {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 1;
}

/* --- HERO CENTER CONTENT (text + button) --- */
.hero-text-block {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  text-align: center;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* --- YOUR GROWTH PARTNER TEXT --- */
.your-growth-partner {
  font-family: "Unbounded-Regular", Helvetica;
  font-size: clamp(12px, 2vw, 18px);
  letter-spacing: 3px;
  color: #ffffff;
  margin-bottom: 10px;
}

/* --- PROFILE TEXT --- */
.profile {
  font-family: "Unbounded-Medium", Helvetica;
  font-size: clamp(40px, 8vw, 120px);
  letter-spacing: clamp(5px, 4vw, 44px);
  background: linear-gradient(180deg, #fff 43%, rgba(153,153,202,0.79) 81%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- DIGITAL MARKETING TEXT --- */
.digital-marketing {
  font-family: "Unbounded-Light", Helvetica;
  font-size: clamp(16px, 3vw, 26px);
  color: #ffffff;
  text-align: center;
}

/* --- BUTTON (with growing glow hover effect) --- */

/* GROWING GLOW ANIMATION */
@keyframes growGlow {
  0% {
    box-shadow: 0 0 25px #00ffa1, 0 0 40px #00ffa1;
  }
  100% {
    box-shadow: 0 0 55px #00ffa1, 0 0 110px #00ffa1;
  }
}

.component {
  width: 225px;
  height: 55px;
  margin-top: 20px;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.component:hover {
  transform: scale(1.07); /* button grows */
}

.rectangle {
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 38px;
  box-shadow: 0px 3px 18px #00ffa1;
  position: absolute;
  inset: 0;
  transition: background 0.3s ease;
}

.component:hover .rectangle {
  background: #001f14;
  animation: growGlow 0.45s ease-out forwards;
}

.rectangle::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: 38px;
  background: linear-gradient(180deg, #c6dfff, #34ff9d 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;
  transition: opacity 0.3s ease;
}

.component:hover .rectangle::before {
  opacity: 1;
}

.call-now {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Unbounded-Light", Helvetica;
  font-size: 14px;
  color: #fff;
  transition: color 0.3s ease;
}

.component:hover .call-now {
  color: #aaffd8;
}

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 768px) {
  .profile {
    font-size: clamp(30px, 8vw, 80px);
  }

  .component {
    width: 180px;
    height: 48px;
  }

  .asset-x {
    top: 30px;
    left: 30px;
  }
}

@media (max-width: 480px) {
  .profile {
    font-size: clamp(24px, 10vw, 60px);
  }

  .digital-marketing {
    font-size: clamp(14px, 4vw, 20px);
  }

  .your-growth-partner {
    font-size: clamp(10px, 3vw, 16px);
  }

  .asset-x {
    top: 20px;
    left: 20px;
  }
}
