/* ===== MODERN FOOTER STYLES ===== */
.main-footer {
  background: linear-gradient(135deg, #001a33 0%, #002952 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
  font-family: var(--body-font);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.main-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(0, 102, 204, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255, 102, 0, 0.1) 0%, transparent 40%);
  pointer-events: none;
}

/* Footer Top Section */
.footer-top {
  padding: 4rem 0 3rem;
  position: relative;
  isolation: isolate;
}

.footer-top::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, 
    var(--primary-color) 0%, 
    var(--secondary-color) 50%, 
    var(--primary-dark) 100%);
  background-size: 200% auto;
  animation: gradientFlow 6s linear infinite;
}

@keyframes gradientFlow {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  position: relative;
}

/* Footer Logo and Brand */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  width: fit-content;
}

.footer-logo:hover {
  transform: translateY(-3px);
}

.footer-logo img {
  width: 80px;
  height: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer-logo:hover img {
  transform: rotate(5deg) scale(1.1);
}

.footer-brand h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  line-height: 1.2;
}

.footer-brand p {
  color: var(--info);
  font-size: 0.9rem;
  margin-bottom: 0;
  font-weight: 500;
  letter-spacing: 1px;
}

.footer-about {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.7;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

/* Footer Social Icons */
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  color: var(--white);
  font-size: 1.1rem;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  position: relative;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.footer-social a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  z-index: -1;
  transform: scale(0);
  transform-origin: center;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer-social a:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  color: var(--white);
}

.footer-social a:hover::before {
  transform: scale(1);
}

/* Social icon tooltips */
.footer-social a::after {
  content: attr(aria-label);
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  background: var(--secondary-color);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  font-weight: 500;
  z-index: 10;
}

.footer-social a:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) scale(1);
  top: 120%;
}

/* Certifications */
.footer-certifications {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.footer-certifications span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.certification-badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.certification-badges img {
  height: 42px;
  width: auto;
  filter: brightness(1.1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  transition: all 0.3s ease;
  border-radius: 8px;
  opacity: 0.9;
}

.certification-badges img:hover {
  transform: scale(1.1);
  opacity: 1;
  filter: brightness(1.2) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Footer Titles */
.footer-title {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
  display: inline-block;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary-color), transparent);
  border-radius: 3px;
  transition: width 0.4s ease;
}

.footer-col:hover .footer-title::after {
  width: 100%;
}

/* Footer Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links li {
  margin-bottom: 0;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  position: relative;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  overflow: hidden;
}

.footer-links a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s ease;
}

.footer-links a i {
  font-size: 0.8rem;
  color: var(--secondary-color);
  transition: all 0.3s ease;
  min-width: 16px;
  text-align: center;
}

.footer-links a:hover {
  color: var(--white);
  transform: translateX(8px);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.05);
}

.footer-links a:hover::before {
  left: 100%;
}

.footer-links a:hover i {
  transform: translateX(5px) rotate(45deg);
  color: var(--primary-light);
}

/* Contact Items */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: all 0.3s ease;
}

.footer-contact-item:hover {
  transform: translateY(-3px);
}

.contact-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color);
  flex-shrink: 0;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-contact-item:hover .contact-icon {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-4px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.contact-text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.6;
  flex: 1;
}

.contact-text a {
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.3s ease;
  display: block;
  margin-bottom: 0.25rem;
  position: relative;
  width: fit-content;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-text a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--secondary-color);
  transition: width 0.3s ease;
}

.contact-text a:hover {
  color: var(--white);
}

.contact-text a:hover::after {
  width: 100%;
}

/* Map Button */
.footer-map {
  margin-top: 1.5rem;
}

.btn-map {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  font-weight: 500;
}

.btn-map::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.6s ease;
}

.btn-map:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  border-color: transparent;
}

.btn-map:hover::before {
  left: 100%;
}

/* Footer Middle - Awards Section */
.footer-middle {
  background-color: rgba(0, 0, 0, 0.15);
  padding: 2.5rem 0;
  position: relative;
  backdrop-filter: blur(5px);
}

.footer-middle::before,
.footer-middle::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 100%);
}

.footer-middle::before {
  top: 0;
}

.footer-middle::after {
  bottom: 0;
}

.footer-awards h3 {
  color: var(--white);
  font-size: 1.4rem;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
  font-weight: 600;
}

.footer-awards h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
  border-radius: 4px;
}

.awards-slider {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.award-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  perspective: 1000px;
}

.award-item:hover {
  transform: translateY(-10px) scale(1.05);
}

.award-item img {
  height: 70px;
  width: auto;
  filter: brightness(1.1) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
  transition: all 0.4s ease;
  transform-style: preserve-3d;
}

.award-item:hover img {
  filter: brightness(1.2) drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
  transform: rotateY(15deg);
}

.award-item span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  max-width: 140px;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Footer Bottom */
.footer-bottom {
  background: linear-gradient(135deg, rgba(0, 20, 40, 0.95) 0%, rgba(0, 40, 80, 0.95) 100%);
  padding: 2rem 0;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 5px 15px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(5px);
}

.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, 
    transparent 0%,
    var(--secondary-color) 50%,
    transparent 100%);
  z-index: 1;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: 1.5rem;
}

.copyright {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  position: relative;
  padding-left: 1rem;
  transition: all 0.3s ease;
  font-weight: 500;
}

.copyright::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 70%;
  background: linear-gradient(to bottom, var(--secondary-color), var(--primary-color));
  border-radius: 3px;
}

.copyright:hover {
  transform: translateX(5px);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.copyright #current-year {
  color: var(--secondary-color);
  font-weight: 600;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.25rem 0;
  font-weight: 500;
}

.footer-legal a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.footer-legal a:hover {
  color: var(--white);
  transform: translateY(-2px);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.footer-legal a:hover::before {
  width: 100%;
}

.footer-disclaimer {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
}

.footer-disclaimer::before {
  content: '\f05a';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  top: -20px;
  right: -20px;
  font-size: 6rem;
  color: rgba(255, 255, 255, 0.03);
  z-index: 0;
}

.footer-disclaimer p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  text-align: center;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
  line-height: 1.7;
  font-weight: 500;
}

.footer-payment {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  backdrop-filter: blur(5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.05);
  max-width: 600px;
  margin: 0 auto;
}

.footer-payment span {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.payment-icons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.payment-icons i {
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
  transform-style: preserve-3d;
}

.payment-icons i:hover {
  color: var(--white);
  transform: translateY(-5px) rotateY(20deg) scale(1.2);
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.3));
}

/* Map Modal */
.map-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  backdrop-filter: blur(5px);
}

.map-modal.active {
  opacity: 1;
  visibility: visible;
}

.map-modal-content {
  background-color: var(--white);
  border-radius: 12px;
  width: 90%;
  margin-top: 80px;
  max-width: 900px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  padding: 2rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  transform: translateY(30px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-modal.active .map-modal-content {
  transform: translateY(0) scale(1);
}

.map-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--dark-gray);
  cursor: pointer;
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.map-close:hover {
  color: var(--secondary-color);
  transform: rotate(90deg);
  background: rgba(0, 0, 0, 0.05);
}

.map-modal-content h3 {
  margin-bottom: 1.5rem;
  color: var(--dark-gray);
  font-size: 1.5rem;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

.map-modal-content h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 4px;
}

.map-container {
  margin-bottom: 1.5rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.map-actions {
  text-align: center;
  margin-top: 1rem;
}

.btn-directions {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-directions::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.btn-directions:hover {
  transform: translateY(-3px) rotate(2deg);
  box-shadow: 0 10px 25px rgba(0, 102, 204, 0.4);
  color: var(--white);
}

.btn-directions:hover::before {
  left: 100%;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
  .footer-grid {
    gap: 2rem;
  }
}

@media (max-width: 992px) {
  .footer-top {
    padding: 3rem 0 2rem;
  }
  
  .footer-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
  
  .footer-middle {
    padding: 2rem 0;
  }
  
  .awards-slider {
    gap: 1.5rem;
  }
  
  .award-item img {
    height: 60px;
  }
}

@media (max-width: 768px) {
  .footer-top {
    padding: 2.5rem 0;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .copyright {
    padding-left: 0;
    padding-top: 0;
    margin-bottom: 0;
  }
  
  .copyright::before {
    left: 50%;
    top: -10px;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
  }
  
  .footer-legal {
    justify-content: center;
  }
  
  .footer-payment {
    padding: 1rem;
  }
  
  .payment-icons i {
    font-size: 1.8rem;
  }
  
  .map-modal-content {
    padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-col {
    text-align: center;
  }
  
  .footer-logo {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }
  
  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-links a {
    justify-content: center;
  }
  
  .footer-contact-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .certification-badges {
    justify-content: center;
  }
  
  .footer-payment span {
    text-align: center;
  }
  
  .payment-icons {
    gap: 1rem;
  }
  
  .payment-icons i {
    font-size: 1.6rem;
  }
  
  .award-item img {
    height: 50px;
  }
  
  .footer-awards h3 {
    font-size: 1.3rem;
  }
  
  .map-modal-content {
    width: 95%;
    padding: 1.25rem;
  }
  
  .btn-directions {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 400px) {
  .footer-title {
    font-size: 1.2rem;
  }
  
  .footer-links a {
    font-size: 0.9rem;
    padding: 0.4rem 0;
  }
  
  .footer-contact-item {
    gap: 0.75rem;
  }
  
  .contact-icon {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
  
  .contact-text {
    font-size: 0.9rem;
  }
  
  .footer-social a {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }
  
  .award-item {
    gap: 0.75rem;
  }
  
  .award-item img {
    height: 45px;
  }
  
  .award-item span {
    font-size: 0.8rem;
    max-width: 100px;
  }
}