/* ========================================
   PREMIUM FOOTER - DARK GLASSMORPHISM THEME
   ======================================== */

/* Main Footer Container */
.footer {
  position: relative;
  background: linear-gradient(180deg, #0d0d2b 0%, #0a0a1a 100%) !important;
  color: rgba(255, 255, 255, 0.8);
  overflow: hidden;
}

/* Decorative Background Elements */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 215, 0, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(102, 126, 234, 0.05) 0%, transparent 40%);
  pointer-events: none;
}

.footer .container {
  position: relative;
  z-index: 2;
}

/* Footer Content Area */
.footer-content {
  margin-bottom: 2rem;
}

@media (min-width: 992px) {
  .footer-content {
    margin-top: 2rem;
  }
}

/* Footer Headings */
.footer h4 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffd700, #ff8c00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
  padding-bottom: 0.75rem;
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #ffd700, #ff8c00);
  border-radius: 1.5px;
}

/* Footer Links */
.footer-links {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.footer .btn-link {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.5rem;
  padding: 10px 0;
  text-align: left;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: none;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.footer .btn-link::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent #ffd700;
  margin-right: 12px;
  opacity: 0;
  transition: all 0.3s ease;
}

.footer .btn-link:hover {
  color: #ffd700;
  transform: translateX(10px);
  box-shadow: none;
}

.footer .btn-link:hover::before {
  opacity: 1;
}

/* Contact Info */
.footer-contact {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.footer p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  padding: 8px 0;
  transition: all 0.3s ease;
}

.footer p:hover {
  color: rgba(255, 255, 255, 0.9);
}

.footer p i {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 140, 0, 0.08));
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 10px;
  margin-right: 15px;
  color: #ffd700;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.footer p:hover i {
  background: linear-gradient(135deg, #ffd700, #ff8c00);
  color: #000;
  transform: scale(1.1);
}

.footer p a {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.footer p a:hover {
  color: #ffd700;
}

/* Social Links */
.footer .social-links,
.footer .d-flex.pt-2 {
  display: flex;
  gap: 12px;
  margin-top: 1rem;
}

.footer .btn-social,
.footer .btn-outline-light.btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffd700;
  font-size: 1.1rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.footer .btn-social:hover,
.footer .btn-outline-light.btn-social:hover {
  background: linear-gradient(135deg, #ffd700, #ff8c00);
  color: #000;
  border-color: transparent;
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
}

/* Copyright Section */
.footer .copyright {
  padding: 2rem 0;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

@media (min-width: 992px) {
  .footer .copyright {
    margin-top: 3rem;
  }
}

.footer .copyright .row {
  align-items: center;
}

.footer .copyright a {
  background: linear-gradient(135deg, #ffd700, #ff8c00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
  transition: all 0.3s ease;
}

.footer .copyright a:hover {
  filter: brightness(1.2);
  text-decoration: none;
}

/* Footer Menu */
.footer-menu {
  display: flex;
  justify-content: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-menu a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
  padding: 5px 0;
}

.footer-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ffd700, #ff8c00);
  transition: width 0.3s ease;
  border-radius: 1px;
}

.footer-menu a:hover {
  color: #ffd700;
}

.footer-menu a:hover::after {
  width: 100%;
}

/* ========================================
   BACK TO TOP BUTTON - PREMIUM STYLE
   ======================================== */
.back-to-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 999;
  width: 50px;
  height: 50px;
  padding: 0;
  border-radius: 15px;
  background: linear-gradient(135deg, #ffd700, #ff8c00) !important;
  border: none !important;
  color: #000 !important;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top:hover {
  transform: translateY(-8px) scale(1.1);
  box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
  color: #000 !important;
}

.back-to-top i {
  font-size: 1.2rem;
}

/* ========================================
   CONTACT FORM - DARK GLASSMORPHISM THEME
   ======================================== */
.contact-form {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
}

.contact-form:hover {
  border-color: rgba(255, 215, 0, 0.2);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

/* Form Floating Labels */
.form-floating {
  margin-bottom: 1.25rem;
}

.form-floating>.form-control {
  height: calc(3.75rem + 2px);
  padding: 1.25rem 1rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #ffffff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-floating>.form-control::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-floating>.form-control:focus {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border-color: #ffd700;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.15);
  color: #ffffff;
}

.form-floating>textarea.form-control {
  height: auto;
  min-height: 150px;
}

.form-floating>label {
  padding: 1.25rem 1rem;
  color: rgba(255, 255, 255, 0.5);
}

.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label {
  opacity: 0.8;
  transform: scale(0.85) translateY(-0.6rem) translateX(0.15rem);
  color: #ffd700;
  background: linear-gradient(135deg, #0a0a1a, #1a1a3a);
  padding: 0 8px;
  border-radius: 4px;
}

/* Radio Buttons */
.contact-radio-group {
  margin-bottom: 1.5rem;
}

.contact-radio-group label:first-child {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.form-check-label {
  color: rgba(255, 255, 255, 0.7);
}

.form-check-input {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.form-check-input:checked {
  background-color: #ffd700;
  border-color: #ffd700;
}

.form-check-input:focus {
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

/* Submit Button */
.contact-form .btn-primary {
  width: 100%;
  padding: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #ffd700, #ff8c00);
  border: none;
  border-radius: 15px;
  color: #000;
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.contact-form .btn-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
  background: linear-gradient(135deg, #ff8c00, #ffd700);
}

/* Contact Info Cards */
.contact-info-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.contact-info-item:hover {
  border-color: rgba(255, 215, 0, 0.3);
  transform: translateX(10px);
}

.contact-info-icon {
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 140, 0, 0.1));
  border: 1px solid rgba(255, 215, 0, 0.3);
  color: #ffd700;
  font-size: 1.3rem;
  margin-right: 1rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-info-item:hover .contact-info-icon {
  background: linear-gradient(135deg, #ffd700, #ff8c00);
  color: #000;
  transform: scale(1.1);
}

.contact-info-text h5 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: #ffd700;
}

.contact-info-text p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
}

/* Map Container */
.map-container {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ========================================
   MODAL STYLING - DARK THEME
   ======================================== */
.modal-content {
  background: linear-gradient(135deg, #1a1a3a, #0d0d2b);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.modal-body {
  padding: 3rem;
  text-align: center;
}

.modal-body .spinner-border {
  width: 3.5rem;
  height: 3.5rem;
  color: #ffd700;
}

.modal-body h5 {
  margin: 1.5rem 0 0.75rem;
  font-weight: 700;
  color: #ffffff;
}

.modal-body p {
  color: rgba(255, 255, 255, 0.7);
}

.success-icon {
  color: #00b894;
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
  animation: scaleUp 0.5s ease-in-out;
}

@keyframes scaleUp {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  50% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
}

.modal-footer .btn-secondary {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  padding: 10px 25px;
  transition: all 0.3s ease;
}

.modal-footer .btn-secondary:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.1));
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */
@media (max-width: 991.98px) {
  .footer h4 {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
  }

  .footer-content {
    margin-top: 1rem;
  }

  .contact-form {
    padding: 30px;
  }
}

@media (max-width: 767.98px) {
  .footer-menu {
    justify-content: center;
    margin-top: 1rem;
    gap: 1.5rem;
  }

  .back-to-top {
    right: 20px;
    bottom: 20px;
    width: 45px;
    height: 45px;
    border-radius: 12px;
  }

  .footer .btn-link {
    margin-bottom: 0.25rem;
  }

  .footer p {
    margin-bottom: 0.5rem;
  }

  .contact-form {
    padding: 25px;
  }

  .modal-body {
    padding: 2rem;
  }
}