/* ===================================================
   LIGHT THEME FOOTER - CLEAN & MODERN
   Responsive | Gradient Accents | Professional
   =================================================== */

.bj-footer-light {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border-top: 2px solid rgba(37, 99, 235, 0.1);
  padding-top: 80px;
  padding-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.bj-footer-light::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(124, 58, 237, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.bj-footer-light-content {
  position: relative;
  z-index: 2;
}

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

/* Footer Grid */
.bj-footer-light-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.bj-footer-light-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Brand Section */
.bj-footer-light-brand {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.bj-footer-light-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bj-footer-light-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.bj-footer-light-logo-primary {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.5px;
}

.bj-footer-light-logo-secondary {
  font-size: 20px;
  font-weight: 600;
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.3px;
}

.bj-footer-light-description {
  font-size: 14px;
  line-height: 1.6;
  color: #64748b;
  max-width: 300px;
}

/* Social Links */
.bj-footer-light-social {
  display: flex;
  gap: 16px;
}

.bj-footer-light-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
  border-radius: 12px;
  color: #2563eb;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.bj-footer-light-social-link:hover {
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

/* Footer Sections */
.bj-footer-light-section-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.3px;
}

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

.bj-footer-light-link {
  color: #64748b;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.5;
  transition: all 0.3s ease;
  display: inline-block;
  padding: 4px 0;
  border-radius: 4px;
}

.bj-footer-light-link:hover {
  color: #2563eb;
  padding-left: 8px;
  background: rgba(37, 99, 235, 0.05);
}

/* Footer Bottom */
.bj-footer-light-bottom {
  border-top: 2px solid rgba(37, 99, 235, 0.1);
  padding-top: 32px;
  margin-bottom: 32px;
}

.bj-footer-light-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.bj-footer-light-copyright {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bj-footer-light-copyright p {
  margin: 0;
  font-size: 13px;
  color: #64748b;
}

.bj-footer-light-tagline {
  font-size: 12px !important;
  color: #94a3b8 !important;
}

.bj-footer-light-legal {
  display: flex;
  gap: 24px;
}

.bj-footer-light-legal-link {
  color: #64748b;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s ease;
}

.bj-footer-light-legal-link:hover {
  color: #2563eb;
}

/* Back to Top Button */
.bj-back-to-top-light {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.3);
}

.bj-back-to-top-light.visible {
  opacity: 1;
  visibility: visible;
}

.bj-back-to-top-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.4);
}

.bj-back-to-top-light:active {
  transform: translateY(0);
}

/* ===================================================
   RESPONSIVE DESIGN
   =================================================== */

@media (max-width: 1024px) {
  .bj-footer-light-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .bj-footer-light {
    padding-top: 60px;
    padding-bottom: 32px;
  }

  .bj-footer-light-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .bj-footer-light-brand {
    gap: 20px;
  }

  .bj-footer-light-logo-primary {
    font-size: 22px;
  }

  .bj-footer-light-logo-secondary {
    font-size: 18px;
  }

  .bj-footer-light-description {
    font-size: 13px;
    max-width: none;
  }

  .bj-footer-light-social {
    gap: 12px;
  }

  .bj-footer-light-social-link {
    width: 40px;
    height: 40px;
  }

  .bj-footer-light-bottom-content {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .bj-footer-light-legal {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 20px;
  }

  .bj-back-to-top-light {
    bottom: 16px;
    right: 16px;
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 480px) {
  .bj-footer-light {
    padding-top: 40px;
    padding-bottom: 24px;
  }

  .bj-footer-light-content {
    padding: 0;
  }

  .container {
    padding: 0 12px;
  }

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

  .bj-footer-light-section {
    gap: 16px;
  }

  .bj-footer-light-section-title {
    font-size: 15px;
  }

  .bj-footer-light-links {
    gap: 10px;
  }

  .bj-footer-light-link {
    font-size: 13px;
  }

  .bj-footer-light-bottom {
    padding-top: 24px;
    margin-bottom: 24px;
  }

  .bj-footer-light-legal-link {
    font-size: 12px;
  }
}

/* ===================================================
   ACCESSIBILITY
   =================================================== */

@media (prefers-reduced-motion: reduce) {
  .bj-footer-light-social-link,
  .bj-footer-light-link,
  .bj-footer-light-legal-link,
  .bj-back-to-top-light {
    transition: none;
  }

  .bj-back-to-top-light:hover {
    transform: none;
  }
}

/* Focus states */
.bj-footer-light-social-link:focus,
.bj-footer-light-link:focus,
.bj-footer-light-legal-link:focus,
.bj-back-to-top-light:focus {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .bj-footer-light {
    background: #ffffff;
    border-top: 3px solid #2563eb;
  }

  .bj-footer-light-link,
  .bj-footer-light-social-link,
  .bj-footer-light-legal-link {
    border: 1px solid rgba(37, 99, 235, 0.5);
  }
}

.bj-footer-grey {
  background: #f1f3f5 !important;
  color: #334155;
  border-top: 1px solid #cbd5e1;
}

.footer-tabset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.footer-tab {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.footer-tab-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: #e2e8f0;
  color: #0f172a;
  border: none;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}

.footer-tab-header:hover,
.footer-tab-header:focus {
  background: #dbeafe;
  outline: 2px solid #2563eb;
  outline-offset: -2px;
}

.footer-tab-icon {
  font-weight: bold;
  font-size: 18px;
  line-height: 1;
}

.footer-tab-content {
  list-style: none;
  margin: 0;
  padding: 12px 16px 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.footer-tab-content li {
  margin: 0;
}

.footer-link {
  color: #334155;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.5;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-link:hover {
  color: #1d4ed8;
  transform: translateX(2px);
}

@media (max-width: 1024px) {
  .footer-tabset {
    grid-template-columns: 1fr;
  }

  .footer-tab-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .bj-footer-light {
    padding-top: 50px;
    padding-bottom: 24px;
  }

  .footer-tab-header {
    font-size: 14px;
  }

  .footer-tab-content {
    grid-template-columns: 1fr;
  }
}

@media print {
  .bj-footer-light {
    display: none;
  }
}

/* ===================================================
   MODERN FOOTER - INSPIRED BY GROWW.IN
   Dark Theme | Professional Design | Clean Layout
   =================================================== */

.bj-footer-modern {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #e2e8f0;
  position: relative;
  overflow: hidden;
}

.bj-footer-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 30%, rgba(0, 208, 156, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 70%, rgba(37, 99, 235, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.bj-footer-container {
  position: relative;
  z-index: 2;
  padding: 60px 0 20px;
}

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

/* Top Section: Brand & Newsletter */
.bj-footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bj-footer-brand-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.bj-footer-logo {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bj-footer-logo-svg {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bj-footer-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-primary {
  font-size: 28px;
  font-weight: 800;
  color: #00d09c;
  letter-spacing: -0.5px;
}

.logo-secondary {
  font-size: 24px;
  font-weight: 600;
  color: #2563eb;
  letter-spacing: -0.3px;
}

.footer-custom-logo {
  filter: brightness(0) invert(1);
}

.bj-footer-tagline {
  font-size: 16px;
  line-height: 1.6;
  color: #94a3b8;
  margin: 0;
  max-width: 400px;
}

.bj-footer-social {
  display: flex;
  gap: 16px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #e2e8f0;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
  background: #00d09c;
  color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 208, 156, 0.3);
}

/* Newsletter Section */
.bj-footer-newsletter {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bj-footer-newsletter h3 {
  font-size: 24px;
  font-weight: 700;
  color: #e2e8f0;
  margin: 0;
}

.bj-footer-newsletter p {
  font-size: 16px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.5;
}

.newsletter-form {
  margin-top: 8px;
}

.form-group {
  display: flex;
  gap: 12px;
  max-width: 400px;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #e2e8f0;
  font-size: 14px;
}

.newsletter-form input::placeholder {
  color: #94a3b8;
}

.newsletter-form input:focus {
  outline: none;
  border-color: #00d09c;
  box-shadow: 0 0 0 3px rgba(0, 208, 156, 0.1);
}

.btn-primary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: linear-gradient(135deg, #00d09c 0%, #2563eb 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 208, 156, 0.3);
}

/* Main Links Section */
.bj-footer-main {
  margin-bottom: 40px;
}

.bj-footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
}

.footer-column h4 {
  font-size: 16px;
  font-weight: 700;
  color: #e2e8f0;
  margin: 0 0 20px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.footer-column li {
  margin-bottom: 12px;
}

.footer-column a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.5;
  transition: all 0.3s ease;
}

.footer-column a:hover {
  color: #00d09c;
  transform: translateX(4px);
}

/* Bottom Section */
.bj-footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.copyright {
  font-size: 14px;
  color: #94a3b8;
  margin: 0;
}

.footer-apps {
  display: flex;
  gap: 16px;
}

.app-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: #e2e8f0;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.app-link:hover {
  background: #00d09c;
  color: #0f172a;
}

/* ===================================================
   RESPONSIVE DESIGN
   =================================================== */

@media (max-width: 1024px) {
  .bj-footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .bj-footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .bj-footer-modern {
    padding: 40px 0 20px;
  }

  .bj-footer-container {
    padding: 40px 0 20px;
  }

  .bj-footer-top {
    margin-bottom: 40px;
    padding-bottom: 30px;
  }

  .bj-footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .bj-footer-brand-section {
    text-align: center;
  }

  .bj-footer-logo {
    justify-content: center;
  }

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

  .bj-footer-newsletter {
    text-align: center;
  }

  .form-group {
    flex-direction: column;
    max-width: 100%;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

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

@media (max-width: 480px) {
  .bj-footer-modern .container {
    padding: 0 16px;
  }

  .bj-footer-top {
    gap: 30px;
  }

  .logo-primary {
    font-size: 24px;
  }

  .logo-secondary {
    font-size: 20px;
  }

  .bj-footer-tagline {
    font-size: 14px;
  }

  .bj-footer-social {
    gap: 12px;
  }

  .social-link {
    width: 44px;
    height: 44px;
  }

  .footer-column h4 {
    font-size: 15px;
  }

  .footer-column a {
    font-size: 13px;
  }

  .copyright {
    font-size: 13px;
  }
}

/* ===================================================
   ACCESSIBILITY & DARK MODE
   =================================================== */

@media (prefers-reduced-motion: reduce) {
  .social-link,
  .footer-column a,
  .btn-primary,
  .app-link {
    transition: none;
  }

  .social-link:hover,
  .btn-primary:hover {
    transform: none;
  }
}

@media (prefers-contrast: high) {
  .bj-footer-modern {
    background: #000000;
    color: #ffffff;
  }

  .social-link,
  .app-link {
    border: 2px solid #ffffff;
  }
}

/* Focus states */
.social-link:focus,
.footer-column a:focus,
.btn-primary:focus,
.app-link:focus {
  outline: 2px solid #00d09c;
  outline-offset: 2px;
}