/* =======================
   ANIMATED FOOTER
======================= */
.footer {
  position: relative;
  background: linear-gradient(135deg, #0b2e2a 0%, #154c53 100%);
  color: #fff;
  overflow: hidden;
  padding: 0;
}

/* Animated Background Elements */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(240, 183, 70, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(240, 183, 70, 0.08) 0%, transparent 50%);
  animation: footerGlow 8s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes footerGlow {
  0% {
    opacity: 0.5;
    transform: scale(1);
  }
  100% {
    opacity: 0.8;
    transform: scale(1.1);
  }
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 40px 40px;
  position: relative;
  z-index: 2;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px;
  margin-bottom: 50px;
}

.footer-column {
  opacity: 0;
  transform: translateY(30px);
}

.footer-logo-section {
  opacity: 0;
  transform: translateY(30px);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.footer-logo img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(240, 183, 70, 0.3);
  transition: all 0.4s ease;
}

.footer-logo:hover img {
  border-color: #f0b746;
  transform: rotate(360deg);
  box-shadow: 0 0 20px rgba(240, 183, 70, 0.5);
}

.footer-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: #f0b746;
  letter-spacing: 1px;
}

.footer-description {
  color: #c5d2db;
  line-height: 1.8;
  font-size: 15px;
  margin-bottom: 25px;
}

.footer-column-title {
  font-size: 20px;
  font-weight: 700;
  color: #f0b746;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
  font-family: 'Playfair Display', serif;
}

.footer-column-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #f0b746, transparent);
  border-radius: 2px;
  animation: underlineExpand 1s ease-out forwards;
}

@keyframes underlineExpand {
  0% {
    width: 0;
  }
  100% {
    width: 50px;
  }
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
  opacity: 0;
  transform: translateX(-20px);
}

.footer-links a {
  color: #c5d2db;
  text-decoration: none;
  font-size: 15px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  padding-left: 0;
}

.footer-links a::before {
  content: '→';
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  color: #f0b746;
}

.footer-links a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-links a:hover {
  color: #f0b746;
  padding-left: 20px;
  transform: translateX(5px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  color: #c5d2db;
  font-size: 15px;
  line-height: 1.6;
  opacity: 0;
  transform: translateX(-20px);
}

.footer-contact-item i {
  color: #f0b746;
  font-size: 18px;
  margin-top: 3px;
  min-width: 20px;
  transition: all 0.3s ease;
}

.footer-contact-item:hover i {
  transform: scale(1.2) rotate(5deg);
  color: #d69c2c;
}

/* Phone number link styling - keep white like other footer text */
.footer-contact-item a,
.footer-contact-item a:link,
.footer-contact-item a:visited,
.footer-contact-item a:hover,
.footer-contact-item a:focus,
.footer-contact-item a:active {
  color: #c5d2db;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-contact-item a:hover {
  opacity: 0.9;
  text-decoration: underline;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.footer-social-link {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(240, 183, 70, 0.1);
  border: 2px solid rgba(240, 183, 70, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f0b746;
  text-decoration: none;
  font-size: 18px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: scale(0);
}

.footer-social-link::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(240, 183, 70, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.4s, height 0.4s;
}

.footer-social-link:hover::before {
  width: 100%;
  height: 100%;
}

.footer-social-link:hover {
  transform: translateY(-5px) scale(1.1);
  border-color: #f0b746;
  background: rgba(240, 183, 70, 0.2);
  box-shadow: 0 8px 20px rgba(240, 183, 70, 0.4);
}

.footer-social-link i {
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.footer-social-link:hover i {
  transform: rotate(360deg);
}

.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 183, 70, 0.3), transparent);
  margin: 50px 0 30px;
  opacity: 0;
}

.footer-bottom {
  text-align: center;
  padding: 25px 40px;
  background: rgba(0, 0, 0, 0.2);
  color: #c5d2db;
  font-size: 14px;
  opacity: 0;
  transform: translateY(20px);
}

.footer-bottom p {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-bottom a {
  color: #f0b746;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: #d69c2c;
}

/* QR Code Section */
.footer-qr-codes {
  margin-top: 30px;
  display: flex;
  gap: 20px;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
}

.footer-qr-code-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-qr-code-item img {
  width: 120px;
  height: 120px;
  border-radius: 10px;
  border: 2px solid rgba(240, 183, 70, 0.3);
  transition: all 0.4s ease;
  background: white;
  padding: 5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.footer-qr-code-item img:hover {
  transform: scale(1.05);
  border-color: #f0b746;
  box-shadow: 0 6px 20px rgba(240, 183, 70, 0.4);
}

.footer-qr-code-item span {
  color: #c5d2db;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .footer-container {
    padding: 60px 30px 30px;
  }

  .footer-content {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .footer-container {
    padding: 50px 20px 25px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
  }

  .footer-column-title {
    font-size: 18px;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-qr-codes {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer-container {
    padding: 40px 15px 20px;
  }

  .footer-logo-text {
    font-size: 20px;
  }

  .footer-description {
    font-size: 14px;
  }

  .footer-links a,
  .footer-contact-item {
    font-size: 14px;
  }

  .footer-bottom {
    padding: 20px 15px;
    font-size: 12px;
  }
}

/* Animation Classes */
.footer-animated .footer-logo-section {
  animation: fadeInUp 0.8s ease-out forwards;
}

.footer-animated .footer-column {
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: calc(var(--delay, 0) * 0.1s);
}

.footer-animated .footer-links li {
  animation: slideInLeft 0.6s ease-out forwards;
  animation-delay: calc(var(--delay, 0) * 0.05s);
}

.footer-animated .footer-contact-item {
  animation: slideInLeft 0.6s ease-out forwards;
  animation-delay: calc(var(--delay, 0) * 0.1s);
}

.footer-animated .footer-social-link {
  animation: scaleIn 0.5s ease-out forwards;
  animation-delay: calc(var(--delay, 0) * 0.1s);
}

.footer-animated .footer-divider {
  animation: expandLine 1s ease-out forwards;
  animation-delay: 0.5s;
}

.footer-animated .footer-bottom {
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.6s;
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes expandLine {
  from {
    opacity: 0;
    transform: scaleX(0);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

