/* ===== PROFESSIONAL FINTECH FOOTER - RESPONSIVE ===== */

:root {
  --footer-bg: #0a1f44;
  --footer-text: #e0e8f0;
  --footer-heading: #e89934;
  --footer-accent: #00c6cf;
  --footer-divider: rgba(255, 255, 255, 0.1);
  --footer-link-hover: #ffa500;
}

/* ===== FOOTER MAIN ===== */
.footer {
  background: linear-gradient(135deg, #0a1f44 0%, #082443 100%);
  color: var(--footer-text);
  padding: 60px 20px 40px 20px;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  margin-top: 80px;
  border-top: 1px solid var(--footer-divider);
}

/* ===== FOOTER CONTAINER ===== */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
}

/* ===== FOOTER COLUMN ===== */
.footer-column {
  display: flex;
  flex-direction: column;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
}

.footer-column h3 {
  color: var(--footer-heading);
  margin-bottom: 20px;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  border-bottom: 2px solid var(--footer-accent);
  padding-bottom: 12px;
}

/* ===== FOOTER LISTS ===== */
.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--footer-text);
  transition: color 0.3s ease, transform 0.2s ease;
  margin-bottom: 8px;
}

.footer-column ul li:hover {
  color: var(--footer-link-hover);
  transform: translateX(4px);
}

.footer-column ul li::before {
  content: "→ ";
  color: var(--footer-accent);
  margin-right: 8px;
  font-weight: bold;
}

/* ===== FOOTER PARAGRAPHS & TEXT ===== */
.footer-column p,
.footer-column p1 {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--footer-text);
  margin: 8px 0;
}

.footer-column strong {
  color: var(--footer-heading);
  font-weight: 600;
}

.footer-column .cin {
  font-size: 0.9rem;
  color: #ffffff;
  margin-top: 12px;
  padding: 0;
  line-height: 1.8;
}


/* ===== CERTIFICATION LOGOS ===== */
.cert-logos-container {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.cert-logo {
  height: 50px;
  width: auto;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: brightness(0.95);
}

.cert-logo:hover {
  transform: scale(1.08);
  filter: brightness(1.1);
}

/* ===== SOCIAL LINKS ===== */
.social-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--footer-text);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 10px 15px;
  border-radius: 6px;
  border: 1px solid var(--footer-divider);
  transition: all 0.3s ease;
  width: fit-content;
}

.social-links a:hover {
  background: rgba(232, 153, 52, 0.1);
  color: var(--footer-link-hover);
  border-color: var(--footer-link-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(232, 153, 52, 0.2);
}

.social-links i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.social-links a:hover i {
  transform: rotateY(360deg);
}

/* ===== HORIZONTAL DIVIDER ===== */
.footer hr {
  border: none;
  height: 1px;
  background: var(--footer-divider);
  margin: 40px 0 30px 0;
}

/* ===== FOOTER BOTTOM ===== */
.footer-bottom {
  text-align: center;
  color: var(--footer-text);
  font-size: 0.9rem;
  opacity: 0.9;
  letter-spacing: 0.5px;
}

.footer-bottom strong {
  color: var(--footer-heading);
  font-weight: 600;
}

/* ===== RESPONSIVE: TABLET ===== */
@media (max-width: 1024px) {
  .footer {
    padding: 50px 20px 35px 20px;
  }

  .footer-container {
    gap: 35px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

  .footer-column h3 {
    font-size: 1rem;
    margin-bottom: 15px;
  }

  .cert-logos-container {
    gap: 15px;
  }

  .cert-logo {
    height: 45px;
  }
}

/* ===== RESPONSIVE: MOBILE (768px and below) ===== */
@media (max-width: 768px) {
  .footer {
    padding: 40px 16px 30px 16px;
    margin-top: 60px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-column {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--footer-divider);
  }

  .footer-column:last-child {
    border-bottom: none;
  }

  .footer-column h3 {
    font-size: 0.95rem;
    margin-bottom: 12px;
    padding-bottom: 10px;
  }

  .footer-column ul li {
    font-size: 0.9rem;
    line-height: 1.8;
  }

  .footer-column p,
  .footer-column p1 {
    font-size: 0.9rem;
  }

  .cert-logos-container {
    gap: 12px;
  }

  .cert-logo {
    height: 40px;
  }

  .social-links {
    gap: 10px;
  }

  .social-links a {
    font-size: 0.9rem;
    padding: 8px 12px;
  }

  .footer hr {
    margin: 30px 0 20px 0;
  }

  .footer-bottom {
    font-size: 0.85rem;
  }
}

/* ===== RESPONSIVE: SMALL MOBILE (480px and below) ===== */
@media (max-width: 480px) {
  .footer {
    padding: 30px 12px 20px 12px;
    margin-top: 50px;
  }

  .footer-container {
    gap: 25px;
  }

  .footer-column h3 {
    font-size: 0.9rem;
    margin-bottom: 10px;
    letter-spacing: 0.8px;
  }

  .footer-column ul li {
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: 6px;
  }

  .footer-column p,
  .footer-column p1 {
    font-size: 0.85rem;
    line-height: 1.6;
  }

  .cert-logo {
    height: 35px;
  }

  .cert-logos-container {
    gap: 10px;
  }

  .social-links a {
    font-size: 0.85rem;
    padding: 6px 10px;
  }

  .footer hr {
    margin: 25px 0 15px 0;
  }

  .footer-bottom {
    font-size: 0.8rem;
  }
}

/* ===== RESPONSIVE: VERY SMALL (360px and below) ===== */
@media (max-width: 360px) {
  .footer {
    padding: 25px 10px 15px 10px;
    margin-top: 40px;
  }

  .footer-column h3 {
    font-size: 0.85rem;
    margin-bottom: 8px;
  }

  .footer-column ul li {
    font-size: 0.8rem;
    line-height: 1.6;
  }

  .cert-logo {
    height: 30px;
  }

  .social-links a {
    font-size: 0.8rem;
    padding: 5px 8px;
  }

  .footer-bottom {
    font-size: 0.75rem;
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .footer {
    background: #000;
    margin-top: 0;
    padding: 20px;
  }

  .footer-column h3 {
    border-bottom: 1px solid #666;
  }

  .social-links a {
    border: none;
  }
}
