* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.section-hero {
  position: relative;
  width: 92%;
  max-width: 1300px;
  height: 85vh;
  min-height: 85vh;
  max-height: 100vh;
  margin: 1vh auto;
  padding: 20px;
  border-radius: 25px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  
  /* Gradient Background Animation */
  background: linear-gradient(-45deg, 
    #799EFF,       /* Base color */
    #9DB7FF,       /* Lighter variation */
    #C5D8FF,       /* Even lighter */
    #799EFF);      /* Back to base */
  background-size: 400% 400%;
  animation: gradientFlow 12s ease infinite;
}

/* Animation Keyframes */
@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6; 
  mix-blend-mode: overlay;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  width: 100%;
  max-width: 900px;
  padding: 30px 20px;
  max-height: 100%; 
  overflow-y: auto; 
  -webkit-overflow-scrolling: touch;
}

.section-caption {
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.section-message {
  line-height: 1.3;
  margin-bottom: 30px;
}

.rich-text .text-appear-line {
  margin-bottom: 12px;
}

.rich-text .text-appear-line p {
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin: 0;
  line-height: 1.2;
}

.contact-btton {
  margin-top: 20px;
}

.contact-btton a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background-color: #ffffff;
  color: #000000;
  font-weight: 700;
  border-radius: 25px;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.contact-btton a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ===== MOBILE OPTIMIZATIONS ===== */
@media (max-width: 992px) {
  .section-hero {
    width: 94%;
    height: 80vh;
    min-height: 80vh;
  }
}

@media (max-width: 768px) {
  
  .section-hero {
    width: 96%;
    height: 80vh;
    min-height: 80vh;
    border-radius: 0;
  }
  
  .hero-content {
    padding: 20px 15px;
  }
  
  .rich-text .text-appear-line p {
    font-size: clamp(1.5rem, 5vw, 1.8rem);
  }
}

@media (max-width: 480px) {
  .section-hero {
    width: 100%;
    height: 85vh;
    min-height: 85vh;
    padding: 15px 10px;
  }
  
  .section-caption {
    font-size: 0.8rem;
  }
  

  .contact-btton a {
    padding: 12px 20px;
  }
}