/* team-execution.css */
:root {
  --primary-orange: #ff6b00;
  --text-dark: #222222;
  --text-medium: #555555;
  --bg-light: #f8f9fa;
}

/* Base Styles */
.team-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px;
  background-color: var(--bg-light);
  overflow: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-center {
  text-align: center;
}

/* Typography */
.team-content h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.highlight {
  position: relative;
  display: inline-block;
  color: var(--text-dark);
  z-index: 1;
}

/* Animated Orange Curve Under "expand?" */
.highlight::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: clamp(10px, 1.5vw, 18px);
  background-color: var(--primary-orange);
  z-index: -1;
  border-radius: 20px;
  transform-origin: left;
  transform: scaleX(0) skewY(-5deg);
  animation: curveExpand 1.2s cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards;
  animation-delay: 0.5s;
}

@keyframes curveExpand {
  0% {
    transform: scaleX(0) skewY(-8deg);
    opacity: 0;
  }
  60% {
    transform: scaleX(1.1) skewY(3deg);
  }
  100% {
    transform: scaleX(1) skewY(-2deg);
    opacity: 1;
  }
}

/* Underline Animation */
.underline {
  position: relative;
}

.underline::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary-orange);
  transform: scaleX(0);
  transform-origin: left;
  animation: underlineExpand 0.8s ease-out forwards;
  animation-delay: 1.2s;
}

@keyframes underlineExpand {
  to {
    transform: scaleX(1);
  }
}

/* Subtext */
.subtext {
  font-size: clamp(1rem, 1.5vw, 1.5rem);
  line-height: 1.6;
  color: var(--text-medium);
  margin-bottom: 2.5rem;
}

/* Button Styles */
.scale-btn {
  display: inline-flex;
  align-items: center;
  padding: clamp(12px, 1.5vw, 18px) clamp(24px, 3vw, 36px);
  background-color: var(--primary-orange) !important;
  color: white !important;
  font-size: clamp(0.9rem, 1.2vw, 1.2rem);
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  transform: scale(1) !important;
}

.scale-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(255, 107, 0, 0.3) !important;
}

.arrow {
  margin-left: 8px;
  transition: transform 0.3s ease !important;
}

.scale-btn:hover .arrow {
  transform: translateX(5px) !important;
}

/* Background Animation */
.team-hero::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150vmax;
  height: 150vmax;
  border: 2px dashed var(--primary-orange) !important;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  animation: bgPulse 2.5s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
  animation-delay: 0.8s;
  z-index: 0;
}

@keyframes bgPulse {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
  }
  50% {
    opacity: 0.15;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.08;
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .team-hero {
    padding: 80px 20px;
  }

  .highlight::after {
    bottom: 3px;
  }

  .underline::after {
    bottom: -6px;
  }
}

@media (max-width: 480px) {
  .team-content h1 {
    line-height: 1.3;
  }

  .subtext {
    margin-bottom: 2rem;
  }

  .team-hero::before {
    width: 120vmax;
    height: 120vmax;
  }
}
