/* ==========================================================================
   Hero Section from styles.css
   ========================================================================== */

/* Hero Section */
.hero {
  min-height: 70vh;
  padding-top:70px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-bottom: 270px;
}


.hero a{
    text-decoration: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  width: 100%;
}

.hero-title {
  font-size: 72px;
  line-height: 90px;
  font-weight: 100;
  margin-bottom: 2.3rem;
  color: #ffffff;
}

.hero-subtitle {
  font-size: 36px;
  font-weight: 600;
  color: #ffffff;
  line-height: 46px;
  margin-bottom: 3.1rem;
  padding-right: 150px;
}

.cta-button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #ffffff;
  color:  #1e40af;
  border: none;
  padding: 15px 3.1rem;
  border-radius: 30px;
  font-size: 1.3rem;
  cursor: pointer;
  overflow: hidden;
}

.cta-button span {
    font-size: 1.3rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}


.cta-button::before {
    content: attr(data-text);
    position: absolute;
    font-size: 1.3rem;
    font-weight: 600;
    left: 100%;
    top: 50%;
    transform: translateY(-60%);
    white-space: nowrap;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.cta-button:hover {
  background: #2042BF;
  color: #ffffff;
}

.cta-button:hover span {
  transform: translateX(-300%);
}

.cta-button:hover::before {
  left: 43%;
  transform: translateX(-30%) translateY(-50%);
  opacity: 1;
}

.hero-button-icon {
  background: #2042BF;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.4s ease;
  position: relative;
  z-index: 1;
}

.cta-button:hover .hero-button-icon {
  background: #2042BF;
  color: #ffffff;
  transform: translateX(-235px);
}


.hero-visual {
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
}