
/* Scoped Hero Animation Styles */
.ta-hero-animation-section {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Vertically centered */
  align-items: flex-start; /* Left aligned */
  padding-left: 60px; /* Space from left edge */
  color: #fff;
  background: url('../img/finanfinal.jpg') center/cover no-repeat;
  font-family: 'Poppins', sans-serif;
}

.ta-hero-animation-section canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.ta-hero-animation-section > div:not(canvas) {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.ta-hero-animation-section h1 {
  font-size: 60px; /* Updated to fixed 60px */
  line-height: 1.1;
  font-weight: 800; /* Extra bold */
  color: #fff;
  margin-bottom: 24px;
}

.ta-hero-animation-section h1 span {
  color: #ef9920; /* Matching the orange/gold color in image */
}

.ta-hero-animation-section p {
  margin-top: 10px;
  font-size: clamp(16px, 2vw, 20px);
  color: #e0e0e0;
  line-height: 1.6;
  font-weight: 400;
}

.ta-hero-animation-section .hero-buttons {
  margin-top: 30px;
  display: flex;
  gap: 15px;
  justify-content: flex-start;
}

.ta-hero-animation-section .btn {
  padding: 22px 15px !important;
  border-radius: 10px;
  font-weight: 600 !important;
  cursor: pointer;
  border: none;
  font-size: 16px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.ta-hero-animation-section .btn.primary {
  background: #000000;
  color: white;
}

.ta-hero-animation-section .btn.secondary {
  background: #f3f4f6;
  color: #030303;
}

.ta-hero-animation-section .btn.secondary:hover {
  color: #f8a02d;
  background: #fff; /* Added for a cleaner feel often seen in these designs */
  transform: translateY(-2px);
}

@media (max-width: 1440px) {
  .ta-hero-animation-section h1 {
    font-size: 48px;
    margin-bottom: 20px;
  }
  .ta-hero-animation-section > div:not(canvas) {
    max-width: 520px;
  }
}

@media (max-width: 1200px) {
  .ta-hero-animation-section h1 {
    font-size: 42px;
    margin-bottom: 16px;
  }
  .ta-hero-animation-section > div:not(canvas) {
    max-width: 460px;
  }
}

@media (max-width: 768px) {
  .ta-hero-animation-section {
    height: auto;
    padding: 120px 20px 60px;
  }
  .ta-hero-animation-section > div:not(canvas) {
    padding: 30px 20px;
    width: 100%;
  }
  .ta-hero-animation-section h1 {
    font-size: clamp(32px, 8vw, 42px);
  }
  .ta-hero-animation-section .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }
  .ta-hero-animation-section .btn {
    width: 100%;
    text-align: center;
    padding: 16px 15px !important;
  }
}
