/* Dark Premium Card Footer Design */
:root {
  --card-footer-bg: #111111;
  --card-footer-text: #ffffff;
  --card-footer-text-muted: #999999;
  --card-footer-primary: #7EBC12;
  /* Theme Green */
  --card-footer-border: rgba(255, 255, 255, 0.08);
  --section-bg: #080808;
}

.footer-section-modern {
  background-color: var(--section-bg);
  padding: 60px 0 40px;
  /* Reduced vertical padding */
  font-family: 'Roboto', sans-serif;
  position: relative;
  overflow: hidden;
}

/* Background Watermark - Enhanced Size & Visibility */
.footer-watermark {
  position: absolute;
  bottom: -40px;
  /* Adjusted position for larger size */
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Rajdhani', sans-serif;
  font-size: 22vw;
  /* Larger size */
  font-weight: 800;
  /* Extra bold */
  color: rgba(255, 255, 255, 0.04);
  /* Increased opacity for visibility */
  text-transform: lowercase;
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
  line-height: 0.8;
  letter-spacing: -2px;
}

.footer-card {
  background: var(--card-footer-bg);
  border-radius: 24px;
  padding: 40px 50px;
  /* Reduced internal padding to reduce height */
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--card-footer-border);
  position: relative;
  z-index: 2;
  backdrop-filter: blur(10px);
}

.footer-main-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  /* Tightened gap */
  margin-bottom: 40px;
}

/* Brand Section - Explicit Left Alignment */
.footer-brand-col {
  flex: 0 0 320px;
  text-align: left;
  /* Forced Left Alignment */
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 32px;
  /* Slightly more compact */
  font-weight: 700;
  color: #fff;
  text-decoration: none !important;
  margin-bottom: 20px;
  text-align: left;
}

.footer-logo span {
  color: var(--card-footer-primary);
}

.footer-description {
  color: var(--card-footer-text-muted);
  font-size: 14px;
  /* Slightly smaller for compactness */
  line-height: 1.6;
  margin-bottom: 25px;
  max-width: 300px;
  text-align: left;
  /* Explicitly forced left */
}

/* Social Media Icons Enhancement */
.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.3s ease;
  text-decoration: none !important;
}

.footer-socials a:hover {
  background: var(--card-footer-primary);
  color: #000;
  transform: translateY(-3px);
  border-color: var(--card-footer-primary);
}

/* Enhanced Link Sections */
.footer-links-col {
  flex: 1;
  min-width: 140px;
}

.footer-col-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--card-footer-primary);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

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

.footer-links-list li a {
  color: var(--card-footer-text-muted);
  font-size: 15px;
  text-decoration: none !important;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links-list li a:hover {
  color: #fff;
  transform: translateX(5px);
  /* Subtle slide enhancement */
}

/* Bottom Divider Enhancement */
.footer-bottom-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  margin-bottom: 30px;
}

/* Bottom Row Enhancement - Clean & Balanced */
.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copyright {
  color: #666;
  font-size: 14px;
}

.footer-legal-links {
  display: flex;
  gap: 25px;
}

.footer-legal-links a {
  color: #666;
  font-size: 14px;
  text-decoration: none !important;
  transition: color 0.3s ease;
}

.footer-legal-links a:hover {
  color: var(--card-footer-primary);
}

/* Responsive Styles */
@media (max-width: 991px) {
  .footer-brand-col {
    flex: 0 0 100%;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center !important;
  }

  .footer-logo,
  .footer-description,
  .footer-socials {
    justify-content: center;
    text-align: center !important;
  }
}

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

  .footer-watermark {
    font-size: 25vw;
    /* Even larger for mobile to be readable */
    bottom: -20px;
    color: rgba(255, 255, 255, 0.06);
    /* Higher opacity for mobile */
  }

  .footer-card {
    padding: 30px 20px;
    text-align: center;
    /* Center content on mobile */
  }

  .footer-brand-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center !important;
  }

  .footer-logo,
  .footer-description,
  .footer-socials {
    justify-content: center;
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-bottom-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-legal-links {
    margin-top: 10px;
    gap: 15px;
  }
}