/* Footer Animations */
@keyframes footerFadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes footerSlideIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer {
  background: #0d0d0d;
  color: white;
}

.footerContainer {
  padding: 30px 0;
  position: relative;
  max-width: 90vw;
  margin: 0px auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  animation: footerFadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) both;
}

.footer-top h2 {
  font-size: 38px;
  margin: 0;
  transition: transform 0.3s ease;
}

.footer-top h2:hover {
  transform: scale(1.02);
}

.footer-top h2 span {
  background: linear-gradient(to right, #a93e17, #15399a, #a93e17);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
}

.footer-top p {
  opacity: 0.7;
  margin-top: 10px;
  max-width: 500px;
  color: #a7aabb;
  animation: footerSlideIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.2s both;
}

.book-btn {
  background: linear-gradient(to right, #a93e17, #15399a);
  border: none;
  padding: 14px 50px;
  border-radius: 24px;
  color: white;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  overflow: hidden;
}

.book-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 35px rgba(169, 62, 23, 0.4);
}

.book-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.book-btn:hover::before {
  left: 100%;
}

.footer-middle {
  display: flex;
  justify-content: space-between;
  margin: 32px 0;
  gap: 40px;
}

.footer-col {
  animation: footerSlideIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) both;
}

.footer-col:nth-child(1) {
  animation-delay: 0.1s;
}
.footer-col:nth-child(2) {
  animation-delay: 0.2s;
}
.footer-col:nth-child(3) {
  animation-delay: 0.3s;
}
.footer-col:nth-child(4) {
  animation-delay: 0.4s;
}

.footer-col a {
  text-decoration: none;
}

.footer-col h4 {
  margin-bottom: 10px;
  font-weight: 400;
  transition: color 0.3s ease;
}

.footer-col:hover h4 {
  color: #d1422f;
}

.footer-col p {
  color: #a7aabb;
  font-weight: 100;
  font-size: 14px;
  line-height: 1.4;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.footer-col a:hover p {
  opacity: 1;
  color: #fff;
  transform: translateX(5px);
}

.footer-logo {
  width: 220px;
  margin-bottom: 10px;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), filter 0.3s ease;
}

.footer-logo:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
}

.subscribe-box {
  display: flex;
  border-bottom: 1px solid white;
  padding-bottom: 6px;
  transition: border-color 0.3s ease;
}

.subscribe-box:focus-within {
  border-color: #d1422f;
}

.subscribe-box input {
  background: transparent;
  border: none;
  outline: none;
  color: white;
  transition: transform 0.3s ease;
}

.subscribe-box input:focus {
  transform: translateX(5px);
}

.send-btn {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: white;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.send-btn:hover {
  transform: translateX(5px) scale(1.2);
  color: #d1422f;
}

.footer-bottom {
  color: #a7aabb;
  text-align: center;
  margin-top: 22px;
  opacity: 0.7;
  animation: footerSlideIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.5s both;
}

.footer-bottom p {
  transition: opacity 0.3s ease;
}

.footer-bottom:hover p {
  opacity: 1;
}

hr {
  border: none;
  border-bottom: 1px solid #333;
}

/* ==================== FOOTER MOBILE RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .footer-top h2 {
    font-size: 32px;
  }

  .footer-middle {
    flex-wrap: wrap;
  }

  .footer-col {
    flex: 1 1 45%;
    min-width: 200px;
  }
}

@media (max-width: 768px) {
  .footerContainer {
    padding: 25px 0;
  }

  .footer-top {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .footer-top h2 {
    font-size: 28px;
  }

  .footer-top p {
    max-width: 100%;
  }

  .book-btn {
    padding: 12px 40px;
    font-size: 14px;
  }

  .footer-middle {
    flex-direction: column;
    gap: 30px;
  }

  .footer-col {
    flex: 1 1 100%;
    text-align: center;
  }

  .footer-col.logo-col {
    order: -1;
  }

  .footer-logo {
    width: 225px;
  }

  .subscribe-box {
    justify-content: center;
    max-width: 250px;
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .footer-top h2 {
    font-size: 24px;
  }

  .footer-top p {
    font-size: 14px;
  }

  .book-btn {
    padding: 10px 30px;
    font-size: 13px;
  }

  .footer-col h4 {
    font-size: 16px;
  }

  .footer-col p {
    font-size: 13px;
  }

  .footer-logo {
    width: 195px;
  }

  .footer-bottom {
    font-size: 12px;
  }
}
