/* ==========================================================
   FOOTER — Dark 3D Glass
   ========================================================== */

/* ============ CTA BANNER ============ */
.footer-cta {
  position: relative;
  background: var(--grad-dark);
  padding: 90px 0;
  overflow: hidden;
  color: var(--white);
}

.footer-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-mesh);
  pointer-events: none;
}

.footer-cta::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 800px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle,
    rgba(0, 0, 255, 0.3),
    transparent 60%);
  pointer-events: none;
  animation: pulse-slow 8s ease-in-out infinite;
}

@keyframes pulse-slow {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.8; }
}

.footer-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  position: relative;
  z-index: 2;
}

.footer-cta h3 {
  color: var(--white);
  font-size: clamp(26px, 4vw, 42px);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.footer-cta p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 620px;
  font-size: 16px;
  line-height: 1.7;
}

.footer-cta .btn-primary {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 15px 40px -8px rgba(255, 255, 255, 0.35);
}
.footer-cta .btn-primary:hover {
  background: var(--primary);
  color: var(--white);
}

/* ============ MAIN FOOTER ============ */
.footer-main {
  position: relative;
  background: #0a0a2e;
  padding: 90px 0 70px;
  overflow: hidden;
}

.footer-main::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 50px;
  position: relative;
  z-index: 1;
}

.footer-col h4 {
  font-size: 18px;
  margin-bottom: 24px;
  color: var(--white);
  position: relative;
  padding-bottom: 14px;
  font-family: var(--font-secondary);
  letter-spacing: -0.01em;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: var(--grad-primary);
  border-radius: 2px;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.footer-col p {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.75;
  margin-bottom: 16px;
}

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

.footer-col ul a {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.65);
  display: inline-block;
  transition: all var(--dur-fast) var(--ease);
  position: relative;
}
.footer-col ul a::before {
  content: '→';
  position: absolute;
  left: -18px;
  opacity: 0;
  transition: all var(--dur-fast) var(--ease);
  color: var(--primary-light);
}
.footer-col ul a:hover {
  color: var(--white);
  transform: translateX(8px);
}
.footer-col ul a:hover::before { opacity: 1; left: -14px; }

.footer-logo {
  max-height: 120px;      /* ↑ from 90px */
  min-height: 72px;
  width: auto;
  min-width: 220px;
  margin-bottom: 22px;
  transition: transform var(--dur-med) var(--ease-spring);
}
.footer-logo:hover { transform: scale(1.05) rotate(-2deg); }

/* ============ SOCIAL ============ */
.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.social-icons a {
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  overflow: hidden;
  transition: all var(--dur-med) var(--ease-spring);
}
.social-icons a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-primary);
  transform: scale(0);
  border-radius: 50%;
  transition: transform var(--dur-med) var(--ease-out);
  z-index: -1;
}
.social-icons a:hover {
  color: var(--white);
  transform: translateY(-5px) scale(1.1);
  border-color: transparent;
  box-shadow: 0 15px 30px -6px var(--primary-glow);
}
.social-icons a:hover::before { transform: scale(1); }

/* ============ ELIGIBILITY BOX ============ */
.eligibility-box {
  position: relative;
  padding: 40px 32px;
  border-radius: var(--r-lg);
  background: linear-gradient(145deg,
    rgba(0, 0, 255, 0.12),
    rgba(124, 58, 237, 0.08));
  border: 1px solid rgba(0, 0, 255, 0.25);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.eligibility-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle,
    rgba(0, 0, 255, 0.15),
    transparent 50%);
  animation: float 10s ease-in-out infinite;
  pointer-events: none;
}

.eligibility-box h4 {
  color: var(--white);
  font-size: 19px;
  padding-bottom: 0;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.eligibility-box h4::after { display: none; }

.eligibility-box p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.eligibility-box .btn-dark {
  background: var(--white);
  color: var(--primary);
  margin-top: 12px;
  position: relative;
  z-index: 1;
}
.eligibility-box .btn-dark:hover {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 15px 35px -8px var(--primary-glow);
}

/* ============ BOTTOM BAR ============ */
.footer-bottom {
  background: #060620;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px 0;
  text-align: center;
  position: relative;
  z-index: 1;
}
.footer-bottom p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}
.footer-bottom strong { color: rgba(255, 255, 255, 0.85); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-cta-inner { flex-direction: column; align-items: flex-start; gap: 30px; }
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: 35px; }
  .footer-cta { padding: 70px 0; }
  .footer-main { padding: 70px 0 50px; }
}


/* ==========================================================
   FOOTER BOTTOM — side-by-side layout
   ========================================================== */
.footer-bottom {
  background: #060620;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
  position: relative;
  z-index: 1;
  /* NOTE: no text-align here — flex handles it */
}

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

.footer-bottom p {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
  letter-spacing: 0.2px;
  line-height: 1.6;
  /* NOTE: no text-align here either */
}

.footer-copy strong {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.footer-dev {
  white-space: nowrap;
}

/* Keyanntech link — bold + highlighted */
.footer-bottom .dev-link {
  color: #F26522;
  font-weight: 700;
  text-decoration: none;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(242, 101, 34, 0.1);
  transition: all 0.25s ease;
  display: inline-block;
}

.footer-bottom .dev-link:hover {
  color: #ffffff;
  background: #F26522;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px -4px rgba(242, 101, 34, 0.5);
}

/* Safety: hide any empty dev-link (in case HTML still has one) */
.footer-bottom .dev-link:empty {
  display: none;
}

/* Mobile: stack + center */
@media (max-width: 640px) {
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  .footer-dev {
    white-space: normal;
  }
}

#cibil {
  scroll-margin-top: 90px;
}