/* ═══════════════════════════════════════════════════════════════
   conference-footer-redesign.css
   Matrix Conferences Conference Footer Redesign
   High-end glassmorphic dark-navy design matching the reference
   ═══════════════════════════════════════════════════════════════ */

/* Global box-sizing and overflow handling */
.redesigned-footer *,
.redesigned-footer *::before,
.redesigned-footer *::after {
  box-sizing: border-box !important;
}

/* Hide the old footer wrapper to ensure zero layout jump */
.conference-event-footer {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}

/* Outer wrapper */
.redesigned-footer {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  margin-top: 0 !important;
  padding: 0 !important;
  background: #030B1B !important; /* Dark navy matching the reference */
  display: block !important;
  position: relative !important;
  overflow: hidden !important;
}

/* Main wrapper - full width, wave background */
.redesigned-footer__wrapper {
  width: 100% !important;
  max-width: 1440px !important;
  margin: 0 auto !important;
  /* Premium radial blue neon gradient and wave line vector overlay */
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(20, 48, 120, 0.3) 0%, rgba(3, 11, 27, 0) 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 1440 600'%3E%3Cpath d='M-100,480 C180,590 320,120 720,350 C1120,580 1250,80 1600,240' stroke='rgba(59, 130, 246, 0.08)' stroke-width='2' fill='none'/%3E%3Cpath d='M-100,510 C180,620 320,150 720,380 C1120,610 1250,110 1600,270' stroke='rgba(59, 130, 246, 0.05)' stroke-width='1' fill='none'/%3E%3C/svg%3E") !important;
  background-size: cover !important;
  background-position: center bottom !important;
  background-repeat: no-repeat !important;
  padding: 3rem 2rem 1.5rem !important;
  position: relative !important;
}

/* Inner Grid */
.redesigned-footer__grid {
  display: grid !important;
  grid-template-columns: 1.15fr 0.9fr 1.05fr 1.05fr !important;
  align-items: start !important;
}

.redesigned-footer__col {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.25rem !important;
  min-width: 0 !important;
}

/* Add vertical borders between columns */
.redesigned-footer__col:not(:first-child) {
  border-left: 1px solid rgba(255, 255, 255, 0.04) !important;
  padding-left: 3.5rem !important;
}

/* Specific right-padding for columns to give spacing before the border */
.redesigned-footer__col:not(:last-child) {
  padding-right: 2rem !important;
}

/* Brand Section (Column 1) */
.redesigned-footer__logo-link {
  display: inline-flex !important;
  align-self: flex-start !important;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  text-decoration: none !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.redesigned-footer__logo-link:hover {
  transform: scale(1.03) !important;
}

.redesigned-footer__logo {
  width: 250px !important;
  max-width: 100% !important;
  height: auto !important;
  filter: brightness(0) invert(1) !important; /* Make logo text white to fit dark UI */
  margin-bottom: 0.25rem !important;
}

.redesigned-footer__brand-divider {
  width: 38px !important;
  height: 2px !important;
  background: linear-gradient(90deg, #2563eb, #60a5fa) !important;
  border-radius: 99px !important;
}

.redesigned-footer__desc {
  font-family: "Source Sans 3", "Inter", sans-serif !important;
  font-size: 0.92rem !important;
  line-height: 1.62 !important;
  color: #9ab0d3 !important;
  margin: 0 !important;
}

/* Stay Connected Box */
.redesigned-footer__stay-connected {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  background: rgba(15, 30, 69, 0.3) !important;
  border: 1px solid rgba(255, 255, 255, 0.03) !important;
  border-radius: 12px !important;
  padding: 1.1rem 1.3rem !important;
  text-decoration: none !important;
  color: inherit !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  cursor: pointer !important;
  margin-top: 0.5rem !important;
}

.redesigned-footer__stay-connected:hover {
  background: rgba(15, 30, 69, 0.6) !important;
  border-color: rgba(59, 130, 246, 0.25) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2) !important;
}

.redesigned-footer__stay-connected-text {
  font-family: "DM Sans", sans-serif !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  color: #e2ecf8 !important;
  line-height: 1.48 !important;
  flex: 1 !important;
}

.redesigned-footer__stay-connected-arrow {
  color: #e2ecf8 !important;
  font-size: 0.8rem !important;
  transition: transform 0.3s ease !important;
}

.redesigned-footer__stay-connected:hover .redesigned-footer__stay-connected-arrow {
  transform: translateX(4px) !important;
}

/* Titles & Underlines */
.redesigned-footer__title {
  font-family: "DM Sans", sans-serif !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  margin: 0 !important;
}

.redesigned-footer__title-underline {
  width: 28px !important;
  height: 3px !important;
  background: #1d4ed8 !important;
  border-radius: 99px !important;
  margin-top: -0.5rem !important;
  margin-bottom: 0.5rem !important;
}

/* Quick Links (Column 2) */
.redesigned-footer__link-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 0.5rem !important;
}

.redesigned-footer__link-item {
  display: flex !important;
  align-items: center !important;
  gap: 0.85rem !important;
  text-decoration: none !important;
  padding: 0.4rem 0.5rem !important;
  border-radius: 10px !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.redesigned-footer__link-item:hover {
  background: rgba(255, 255, 255, 0.03) !important;
  transform: translateX(5px) !important;
}

.redesigned-footer__link-icon-circle {
  width: 20px !important;
  height: 20px !important;
  border-radius: 50% !important;
  background: transparent !important;
  border: 1px solid rgba(59, 130, 246, 0.4) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #3b82f6 !important;
  font-size: 0.6rem !important;
  transition: all 0.25s ease !important;
  flex-shrink: 0 !important;
}

.redesigned-footer__link-item:hover .redesigned-footer__link-icon-circle {
  background: rgba(59, 130, 246, 0.2) !important;
  color: #ffffff !important;
  border-color: rgba(59, 130, 246, 0.8) !important;
}

.redesigned-footer__link-name {
  font-family: "DM Sans", sans-serif !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  color: #9ab0d3 !important;
  flex: 1 !important;
  transition: color 0.25s ease !important;
}

.redesigned-footer__link-item:hover .redesigned-footer__link-name {
  color: #ffffff !important;
}

.redesigned-footer__link-arrow {
  color: rgba(255, 255, 255, 0.15) !important;
  font-size: 0.75rem !important;
  transition: all 0.25s ease !important;
}

.redesigned-footer__link-item:hover .redesigned-footer__link-arrow {
  color: #3b82f6 !important;
  transform: translateX(1px) !important;
}

/* Get In Touch (Column 3) */
.redesigned-footer__contact-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 1.15rem !important;
}

.redesigned-footer__contact-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 1rem !important;
}

.redesigned-footer__icon-circle-solid {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  background: #1d4ed8 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  font-size: 1rem !important;
  flex-shrink: 0 !important;
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.4) !important;
  transition: all 0.3s ease !important;
}

.redesigned-footer__icon-circle-solid:hover {
  background: #2563eb !important;
  box-shadow: 0 6px 16px rgba(29, 78, 216, 0.6) !important;
  transform: translateY(-1px) !important;
}

.redesigned-footer__icon-circle {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  background: rgba(15, 30, 69, 0.4) !important;
  border: 1px solid rgba(59, 130, 246, 0.2) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #3b82f6 !important;
  font-size: 1rem !important;
  flex-shrink: 0 !important;
  transition: all 0.3s ease !important;
}

.redesigned-footer__contact-text {
  font-family: "Source Sans 3", "Inter", sans-serif !important;
  font-size: 0.9rem !important;
  line-height: 1.55 !important;
  color: #9ab0d3 !important;
  padding-top: 0.2rem !important;
  margin: 0 !important;
}

.redesigned-footer__contact-link {
  text-decoration: none !important;
  transition: color 0.25s ease, text-shadow 0.25s ease !important;
}

.redesigned-footer__contact-link:hover {
  color: #ffffff !important;
  text-shadow: 0 0 8px rgba(255,255,255,0.2) !important;
}

/* Help Card & Newsletter Card styling */
.redesigned-footer__help-card,
.redesigned-footer__newsletter-card {
  display: flex !important;
  align-items: flex-start !important;
  background: rgba(15, 30, 69, 0.3) !important;
  border: 1px solid rgba(255, 255, 255, 0.03) !important;
  border-radius: 12px !important;
  padding: 1.25rem !important;
  width: 100% !important;
  margin-top: 0.5rem !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.redesigned-footer__newsletter-card {
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 1rem !important;
}

.redesigned-footer__help-card {
  gap: 1rem !important;
}

.redesigned-footer__help-card:hover,
.redesigned-footer__newsletter-card:hover {
  background: rgba(15, 30, 69, 0.6) !important;
  border-color: rgba(59, 130, 246, 0.15) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2) !important;
  transform: translateY(-2px) !important;
}

.redesigned-footer__help-content,
.redesigned-footer__newsletter-content {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.35rem !important;
  flex: 1 !important;
}

.redesigned-footer__help-title,
.redesigned-footer__newsletter-title {
  font-family: "DM Sans", sans-serif !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  color: #ffffff !important;
  margin: 0 !important;
}

.redesigned-footer__help-desc,
.redesigned-footer__newsletter-desc {
  font-family: "Source Sans 3", sans-serif !important;
  font-size: 0.82rem !important;
  color: #9ab0d3 !important;
  margin: 0 !important;
  line-height: 1.45 !important;
}

.redesigned-footer__help-link {
  font-family: "DM Sans", sans-serif !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  color: #3b82f6 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  margin-top: 0.2rem !important;
  transition: gap 0.25s ease, color 0.25s ease !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.redesigned-footer__help-link:hover {
  color: #60a5fa !important;
  gap: 0.6rem !important;
}

/* Follow Us (Column 4) */
.redesigned-footer__social-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.55rem !important;
}

.redesigned-footer__social-link {
  display: flex !important;
  align-items: center !important;
  gap: 0.85rem !important;
  text-decoration: none !important;
  padding: 0.35rem 0.5rem !important;
  border-radius: 10px !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.redesigned-footer__social-link:hover {
  background: rgba(255, 255, 255, 0.02) !important;
  transform: translateX(5px) !important;
}

.redesigned-footer__social-icon-circle {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  font-size: 0.82rem !important;
  flex-shrink: 0 !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2) !important;
}

.redesigned-footer__social-icon-circle--facebook {
  background: #1877f2 !important;
}
.redesigned-footer__social-icon-circle--twitter {
  background: #000000 !important;
}
.redesigned-footer__social-icon-circle--linkedin {
  background: #0a66c2 !important;
}
.redesigned-footer__social-icon-circle--youtube {
  background: #ff0000 !important;
}
.redesigned-footer__social-icon-circle--instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%) !important;
}

.redesigned-footer__social-link:hover .redesigned-footer__social-icon-circle {
  transform: scale(1.1) !important;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.2) !important;
}

.redesigned-footer__social-name {
  font-family: "DM Sans", sans-serif !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  color: #9ab0d3 !important;
  transition: color 0.25s ease !important;
}

.redesigned-footer__social-link:hover .redesigned-footer__social-name {
  color: #ffffff !important;
}

/* Newsletter Input Form inside Help Card */
.redesigned-footer__newsletter-header {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
}

.redesigned-footer__newsletter-form {
  display: flex !important;
  width: 100% !important;
  background: #ffffff !important;
  border-radius: 8px !important;
  margin-top: 0.25rem !important;
  overflow: hidden !important;
}

.redesigned-footer__newsletter-input {
  flex: 1 !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  color: #333333 !important;
  font-family: "Source Sans 3", sans-serif !important;
  font-size: 0.85rem !important;
  padding: 0.6rem 1rem !important;
}

.redesigned-footer__newsletter-input::placeholder {
  color: #888888 !important;
}

.redesigned-footer__newsletter-submit {
  background: #1d4ed8 !important;
  border: none !important;
  outline: none !important;
  color: #ffffff !important;
  width: 44px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: background 0.25s ease !important;
}

.redesigned-footer__newsletter-submit:hover {
  background: #2563eb !important;
}

/* Newsletter Status messages */
.redesigned-footer__newsletter-status {
  font-family: "Source Sans 3", sans-serif !important;
  font-size: 0.78rem !important;
  margin-top: 0.35rem !important;
  color: #9ab0d3 !important;
  min-height: 18px !important;
  line-height: 1.4 !important;
}
.redesigned-footer__newsletter-status--success {
  color: #10b981 !important;
}
.redesigned-footer__newsletter-status--error {
  color: #ef4444 !important;
}

/* ── Responsive breakpoints ─────────────────────────────────── */

@media (max-width: 1200px) {
  .redesigned-footer__wrapper {
    padding: 3.5rem 2rem !important;
  }
  .redesigned-footer__grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 3rem !important;
  }
  .redesigned-footer__col:not(:first-child) {
    border-left: none !important;
    padding-left: 0 !important;
  }
  .redesigned-footer__col:not(:last-child) {
    padding-right: 0 !important;
  }
}

@media (max-width: 768px) {
  .redesigned-footer {
    padding: 1.25rem 0.75rem !important;
  }
  .redesigned-footer__wrapper {
    padding: 2.5rem 1.5rem 2rem !important;
    border-radius: 20px !important;
  }
  .redesigned-footer__grid {
    grid-template-columns: 1fr !important;
    gap: 2.2rem !important;
  }
  .redesigned-footer__logo {
    width: 220px !important;
  }
  .redesigned-footer__stay-connected {
    padding: 1rem !important;
  }
  .redesigned-footer__help-card,
  .redesigned-footer__newsletter-card {
    padding: 1rem !important;
  }
}
