/* ========================================
   MODERN FOOTER DESIGN
   ======================================== */

.footer {
  background: linear-gradient(135deg, #1e3a5f 0%, #2a5a89 100%);
  color: #ffffff;
  margin-top: 60px;
  padding: 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.3));
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer .footer-section {
  padding: 50px 20px 40px;
}

.footer .footer-section.footer-section__nav {
  padding-top: 50px;
}

.footer .footer-group {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer nav {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (min-width: 768px) {
  .footer nav {
    flex-direction: row;
    justify-content: space-between;
    gap: 60px;
  }

  .footer .footer-section {
    padding: 60px 20px 50px;
  }
}

@media (min-width: 992px) {
  .footer nav {
    gap: 80px;
  }
}

.footer .footer-col {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.footer .footer-col h3 {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 20px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 2px;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer ul li {
  display: flex;
}

.footer .footer-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  padding: 6px 0;
  border: none;
  border-left: none;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 0;
  display: inline-block;
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.footer .footer-link:hover {
  color: #ffffff;
}

.footer .footer-email {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.footer .footer-email:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 12px;
  border-radius: 6px;
  transform: translateX(0);
}

/* Terms Section - Modern Dark Bar */
.footer .footer-section.footer-section__terms {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  padding: 30px 20px;
  margin-top: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .footer-section.footer-section__terms .container {
  max-width: 1200px;
}

.footer .footer-section.footer-section__terms p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  line-height: 1.8;
  margin: 10px 0;
  font-weight: 300;
}

.footer .footer-section.footer-section__terms p:first-child {
  margin-top: 0;
}

.footer .footer-section.footer-section__terms p:last-child {
  margin-bottom: 0;
  padding-bottom: 10px;
  border-bottom: none;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .footer {
    margin-top: 40px;
  }

  .footer .footer-section {
    padding: 40px 15px 30px;
  }

  .footer nav {
    gap: 30px;
  }

  .footer .footer-col h3 {
    font-size: 16px;
    margin-bottom: 16px;
  }

  .footer .footer-section.footer-section__terms {
    padding: 20px 15px;
  }

  .footer .footer-section.footer-section__terms p {
    font-size: 12px;
  }
}

/* Remove old conflicting styles */
.footer #btnContactSubmit {
  display: none;
}

.footer .footer-section.footer-section__contact h2 {
  display: none;
}

/* Widget initializer button styling */
.footer .widget-initializer {
  cursor: pointer;
  font-weight: 500;
}

.footer .widget-initializer:hover {
  color: #fbbf24 !important;
}
