
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
}

@keyframes glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(195, 148, 59, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(195, 148, 59, 0.6);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@keyframes scan {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateX(100%);
    opacity: 0;
  }
}

@keyframes circuitPulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}


.hero-title .title-line {
  animation: fadeInUp 0.8s ease forwards;
}

.hero-title .title-line:nth-child(1) {
  animation-delay: 0.2s;
}

.hero-title .title-line:nth-child(2) {
  animation-delay: 0.4s;
}

.hero-title .title-line:nth-child(3) {
  animation-delay: 0.6s;
}

.hero-description {
  animation: fadeInUp 0.8s ease 0.8s forwards;
}

.hero-actions {
  animation: fadeInUp 0.8s ease 1s forwards;
}

.hero-scroll-indicator {
  animation: fadeInUp 0.8s ease 1.2s forwards;
}

.scroll-arrow {
  animation: bounce 2s infinite;
}

.secure-lock-icon {
  animation: glow 3s ease-in-out infinite;
}

.circle-1 {
  animation: circuitPulse 4s ease-in-out infinite;
}

.circle-2 {
  animation: circuitPulse 4s ease-in-out infinite 1s;
}

.circle-3 {
  animation: circuitPulse 4s ease-in-out infinite 2s;
}


.section-header {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.section-header.animate {
  opacity: 1;
  transform: translateY(0);
}

.about-content {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.8s ease;
}

.about-content.animate {
  opacity: 1;
  transform: translateX(0);
}

.about-visual {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.8s ease;
}

.about-visual.animate {
  opacity: 1;
  transform: translateX(0);
}

.value-card {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.value-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.value-card:nth-child(1) {
  transition-delay: 0.1s;
}

.value-card:nth-child(2) {
  transition-delay: 0.2s;
}

.value-card:nth-child(3) {
  transition-delay: 0.3s;
}

.condition-card {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.condition-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.condition-card:nth-child(1) {
  transition-delay: 0.1s;
}
.condition-card:nth-child(2) {
  transition-delay: 0.2s;
}
.condition-card:nth-child(3) {
  transition-delay: 0.3s;
}
.condition-card:nth-child(4) {
  transition-delay: 0.4s;
}
.condition-card:nth-child(5) {
  transition-delay: 0.5s;
}
.condition-card:nth-child(6) {
  transition-delay: 0.6s;
}

.program-featured {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.program-featured.animate {
  opacity: 1;
  transform: translateY(0);
}

.program-card {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.program-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.program-card:nth-child(1) {
  transition-delay: 0.1s;
}
.program-card:nth-child(2) {
  transition-delay: 0.2s;
}
.program-card:nth-child(3) {
  transition-delay: 0.3s;
}


.cta-button:hover {
  animation: pulse 0.6s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-gold);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 100%;
}

.dropdown-item {
  position: relative;
  overflow: hidden;
}

.dropdown-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(4, 81, 165, 0.1), transparent);
  transition: left 0.5s ease;
}

.dropdown-item:hover::before {
  left: 100%;
}

.value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(4, 81, 165, 0.05), rgba(195, 148, 59, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: var(--border-radius);
}

.value-card:hover::before {
  opacity: 1;
}

.condition-card::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(4, 81, 165, 0.1) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: all 0.4s ease;
  border-radius: 50%;
}

.condition-card:hover::after {
  width: 200px;
  height: 200px;
}

.program-card {
  position: relative;
  overflow: hidden;
}

.program-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(195, 148, 59, 0.1), transparent);
  transform: rotate(45deg);
  transition: all 0.6s ease;
  opacity: 0;
}

.program-card:hover::before {
  opacity: 1;
  transform: rotate(45deg) translate(50%, 50%);
}


.cta-button.primary {
  animation: pulse 10s ease-in-out infinite;
}

.hero-icon-container {
  position: relative;
}

.hero-icon-container::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border: 2px solid var(--primary-gold);
  border-radius: 25px;
  opacity: 0;
  animation: scan 15s ease-in-out infinite;
}

.testimonial-card {
  position: relative;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    45deg,
    var(--primary-blue),
    var(--primary-gold),
    var(--secondary-blue),
    var(--secondary-gold)
  );
  border-radius: var(--border-radius);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}

.testimonial-card.active::before {
  opacity: 0.1;
}


.form-field {
  position: relative;
}

.form-field input:focus + label,
.form-field textarea:focus + label,
.form-field input:not(:placeholder-shown) + label,
.form-field textarea:not(:placeholder-shown) + label {
  transform: translateY(-25px) scale(0.8);
  color: var(--primary-blue);
}

.form-field label {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  color: var(--medium-gray);
  transition: all 0.3s ease;
  pointer-events: none;
  background: var(--white);
  padding: 0 0.5rem;
}

.form-field input,
.form-field textarea {
  border: 2px solid var(--light-gray);
  transition: border-color 0.3s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--primary-blue);
  outline: none;
}

.error-shake {
  animation: shake 0.5s ease-in-out;
}


@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .title-line {
    animation-duration: 0.6s;
  }

  .circle-1,
  .circle-2,
  .circle-3 {
    animation-duration: 6s;
  }

  .testimonial-content {
    padding: 2rem;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
  }

  .arrow-icon {
    width: 10px;
    height: 10px;
  }
}


@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .scroll-arrow {
    animation: none;
  }

  .secure-lock-icon {
    animation: none;
  }

  .circle-1,
  .circle-2,
  .circle-3 {
    animation: none;
  }
}


@media print {
  .main-header,
  .hero-scroll-indicator,
  .carousel-controls,
  .cta-section {
    display: none;
  }

  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }

  .section-header,
  .about-content,
  .about-visual,
  .value-card,
  .condition-card,
  .program-featured,
  .program-card {
    opacity: 1 !important;
    transform: none !important;
  }
}
