/* ===================================
   HERO
=================================== */

/* Hidden by default */

.hero-content .small-title,
.hero-content h1,
.hero-content .hero-description,
.hero-buttons,
.bottom-row {
  opacity: 0;
}

.contact-hero.animate .hero-content .small-title {
  animation: fade-in 1s ease 0.1s both;
}

.contact-hero.animate .hero-content h1 {
  animation: slide-in-left 1s ease 0.2s both;
}

.contact-hero.animate .hero-content .hero-description {
  animation: fade-in 1s ease 0.45s both;
}

.contact-hero.animate .hero-buttons {
  animation: fade-in 1s ease 0.7s both;
}

.contact-hero.animate .bottom-row {
  animation: slide-in-bottom 1s ease 0.9s both;
}

/* ===================================
   CONTACT INFO
=================================== */

.contact-info .heading .small-title,
.contact-info .heading h2,
.contact-info .heading .description,
.info-card {
  opacity: 0;
}

.contact-info.animate .heading .small-title {
  animation: slide-in-bottom 0.8s ease both;
}

.contact-info.animate .heading h2 {
  animation: slide-in-bottom 0.8s ease 0.15s both;
}

.contact-info.animate .heading .description {
  animation: fade-in 0.8s ease 0.3s both;
}

.contact-info.animate .info-card:nth-child(1) {
  animation: slide-in-bottom 0.8s ease 0.2s both;
}

.contact-info.animate .info-card:nth-child(2) {
  animation: slide-in-bottom 0.8s ease 0.35s both;
}

.contact-info.animate .info-card:nth-child(3) {
  animation: slide-in-bottom 0.8s ease 0.5s both;
}

.contact-info.animate .info-card:nth-child(4) {
  animation: slide-in-bottom 0.8s ease 0.65s both;
}

/* ===================================
   CONTACT FORM
=================================== */

.contactPageContainer .heading .small-title,
.contactPageContainer .heading h2,
.contactFormLeft,
.contactFormRight {
  opacity: 0;
}

.contactPageContainer.animate .heading .small-title {
  animation: slide-in-bottom 0.8s ease both;
}

.contactPageContainer.animate .heading h2 {
  animation: slide-in-bottom 0.8s ease 0.15s both;
}

.contactPageContainer.animate .contactFormLeft {
  animation: slide-in-left 0.9s ease 0.3s both;
}

.contactPageContainer.animate .contactFormRight {
  animation: fade-in 0.9s ease 0.45s both;
}

/* Process Steps */

.contactPageContainer.animate .step:nth-child(2) {
  animation: fade-in 0.6s ease 0.5s both;
}

.contactPageContainer.animate .step:nth-child(3) {
  animation: fade-in 0.6s ease 0.65s both;
}

.contactPageContainer.animate .step:nth-child(4) {
  animation: fade-in 0.6s ease 0.8s both;
}

/* ===================================
   CTA
=================================== */

.cta .small-title,
.cta h2,
.cta .description,
.cta-btn {
  opacity: 0;
}

.cta.animate .small-title {
  animation: slide-in-bottom 0.8s ease both;
}

.cta.animate h2 {
  animation: slide-in-bottom 0.8s ease 0.15s both;
}

.cta.animate .description {
  animation: fade-in 0.8s ease 0.35s both;
}

.cta.animate .cta-btn {
  animation: fade-in 0.8s ease 0.55s both;
}

/* ===========================
   FOOTER
=========================== */

.footer-brand h3,
.footer-brand p,
.footer-column,
.footer-bottom p,
.footer-bottom-links a {
  opacity: 0;
}

/* Brand */

footer.animate .footer-brand h3 {
  animation: slide-in-bottom 0.8s ease both;
}

footer.animate .footer-brand p {
  animation: fade-in 0.8s ease 0.2s both;
}

/* Footer Columns */

footer.animate .footer-column:nth-child(1) {
  animation: slide-in-bottom 0.8s ease 0.3s both;
}

footer.animate .footer-column:nth-child(2) {
  animation: slide-in-bottom 0.8s ease 0.45s both;
}

footer.animate .footer-column:nth-child(3) {
  animation: slide-in-bottom 0.8s ease 0.6s both;
}

/* Bottom */

footer.animate .footer-bottom p {
  animation: fade-in 0.8s ease 0.8s both;
}

footer.animate .footer-bottom-links a:nth-child(1) {
  animation: fade-in 0.8s ease 0.95s both;
}

footer.animate .footer-bottom-links a:nth-child(2) {
  animation: fade-in 0.8s ease 1.1s both;
}
/* ===================================
   KEYFRAMES
=================================== */

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slide-in-left {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slide-in-bottom {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
