/* HERO SECTION CUSTOM STYLES */

html {
  overflow-y: scroll;
}

.hero {
  position: relative;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background-color: #0a2647;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  margin: 0;
  padding: 2rem;
  box-sizing: border-box;
}

.hero .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 38, 71, 0.65), rgba(10, 38, 71, 0.55));
  pointer-events: none;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  width: 100%;
  height: 100%;
  max-width: 100%;
  overflow: hidden;
}

.hero-particle {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  filter: blur(80px);
}

.hero-particle.p1 {
  top: 10%;
  right: 10%;
  background: linear-gradient(135deg, rgba(18, 62, 115, 0.1), rgba(18, 62, 115, 0.05));
  animation: float 8s ease-in-out infinite;
}

.hero-particle.p2 {
  bottom: 20%;
  left: 5%;
  background: linear-gradient(135deg, rgba(63, 166, 107, 0.08), rgba(63, 166, 107, 0.03));
  animation: float 10s ease-in-out infinite 1s;
}

.hero-particle.p3 {
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, rgba(18, 62, 115, 0.05), rgba(63, 166, 107, 0.05));
  animation: float 12s ease-in-out infinite 2s;
}

.hero-content {
  font-size: 16px;
  font-family: var(--font-main, 'Roboto', sans-serif);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  color: var(--white, #fff);
  padding: 0;
  box-sizing: border-box;
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: fadeInUp 0.8s ease-out forwards;
  transform: translateY(0px);
  opacity: 1;
  width: 100%;
}

.hero-content > div,
.hero-content > h1,
.hero-content > p {
  width: 100%;
}

.hero-content > .hero-badge {
  width: fit-content !important;
  max-width: none !important;
}

/* Buttons Container */
.hero-content > div:last-child {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 480px) {
  .hero-content > div:last-child {
    gap: 0.75rem;
    padding: 0 1rem;
  }
}

@media (min-width: 640px) {
  .hero-content > div:last-child {
    flex-direction: row !important;
    gap: 1rem;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.5rem 1rem;
  background: rgba(63, 166, 107, 0.12);
  border: 1.5px solid rgba(63, 166, 107, 0.4);
  color: var(--accent-light, #e6f5ec);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 2rem;
  backdrop-filter: blur(12px);
  box-shadow:
    0 0 20px rgba(63, 166, 107, 0.15),
    0 4px 15px rgba(0, 0, 0, 0.2);
  font-family: var(--font-main, 'Roboto', sans-serif);
  line-height: 1.2;
  -webkit-font-smoothing: antialiased;
  text-align: center;
  margin: 0 0 2rem 0;
  box-sizing: border-box;
  position: relative;
  overflow: visible;
  width: fit-content !important;
  max-width: none !important;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.badge-blink {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #3fa66b;
  animation: badgeBlink 1.5s ease-in-out infinite;
  flex-shrink: 0;
}

.hero-badge::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50px;
  background: linear-gradient(135deg, rgba(63, 166, 107, 0.2), transparent);
  opacity: 0;
  animation: badgeGlow 3s ease-in-out infinite 0.6s;
  pointer-events: none;
  z-index: -1;
}

.badge-text-xs {
  display: inline !important;
  white-space: nowrap;
}

.badge-text-short {
  display: none !important;
  white-space: nowrap;
}

.badge-text-long {
  display: none !important;
  white-space: nowrap;
}

@media (min-width: 480px) {
  .hero-badge {
    font-size: 0.8rem;
    letter-spacing: 0.6px;
    padding: 0.55rem 1.1rem;
  }

  .badge-text-xs {
    display: none !important;
  }

  .badge-text-short {
    display: inline !important;
  }

  .badge-text-long {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .hero-badge {
    font-size: 0.85rem;
    letter-spacing: 0.8px;
    padding: 0.6rem 1.2rem;
    gap: 0.4rem;
  }

  .badge-text-xs {
    display: none !important;
  }

  .badge-text-short {
    display: none !important;
  }

  .badge-text-long {
    display: inline !important;
  }
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 2rem;
  margin-top: 0;
  color: #fff;
  text-shadow:
    2px 2px 4px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: clamp(1.5rem, 6vw, 3rem);
  }
}

.hero p {
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

@media (max-width: 480px) {
  .hero p {
    font-size: 0.9rem;
    line-height: 1.6;
  }
}

.hero .btn {
  margin: 0.5rem;
  min-width: 180px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.hero .btn-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .hero .btn-container {
    flex-direction: row;
    gap: 1rem;
  }
}

.hero .btn-primary {
  background: linear-gradient(135deg, #123e73 0%, #3fa66b 100%);
  color: #fff;
}

.hero .btn-primary:hover {
  box-shadow:
    0 12px 24px rgba(18, 62, 115, 0.4),
    0 6px 12px rgba(63, 166, 107, 0.2);
  transform: translateY(-4px);
}

.hero .btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounce 2s infinite;
  cursor: pointer;
}

.hero-scroll-mouse {
  width: 26px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 13px;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 6px 0;
}

.hero-scroll-mouse::before {
  content: '';
  width: 2px;
  height: 6px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 1px;
  animation: scroll 2s infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

@keyframes scroll {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(12px);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes badgeSlideIn {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes badgeBlink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

@keyframes badgePulse {
  0%,
  100% {
    box-shadow:
      0 0 20px rgba(63, 166, 107, 0.15),
      0 4px 15px rgba(0, 0, 0, 0.2);
    transform: scale(1);
  }
  50% {
    box-shadow:
      0 0 30px rgba(63, 166, 107, 0.25),
      0 4px 20px rgba(0, 0, 0, 0.25);
    transform: scale(1.02);
  }
}

@keyframes badgeGlow {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 0.6;
  }
}
