/**
 * Footer - Professional Modern Design
 * Clean, minimal layout inspired by modern SaaS/education sites
 */

/* ===== Base Footer ===== */
.footer {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  color: #94a3b8;
  font-size: 1.5rem;
  line-height: 1.6;
  margin-top: auto;
}

.footer a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: #60a5fa;
}

/* ===== Footer Top - Main Content ===== */
.footer-top {
  padding: 4rem 0 3rem !important;
  padding-block: 4rem 3rem !important;
}

.footer .footer-grid {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap;
  gap: 3rem 2.5rem;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1100px !important;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  box-sizing: border-box;
}

.footer .footer-col {
  flex: 1 1 0;
  min-width: 0;
}

/* ===== Footer Columns ===== */
.footer-col {
  min-width: 0;
}

/* ===== Footer List Titles ===== */
.footer-list-title {
  color: #f8fafc;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 1.25rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

/* ===== Footer Lists ===== */
.footer .footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer .footer-list li {
  margin: 0;
  padding: 0;
}

.footer .footer-list li + li {
  margin-top: 0.5rem;
}

.footer-link {
  display: inline-block;
  padding: 0.35rem 0;
  color: #94a3b8;
  font-size: 1.45rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-link:hover {
  color: #60a5fa;
  padding-left: 4px;
}

/* ===== Footer Bottom - Logo + Copyright ===== */
.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  padding: 2rem 2rem;
  background: rgba(15, 23, 42, 0.6);
}

.footer-bottom-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.footer-logo {
  display: inline-block;
}

.footer-logo img {
  height: 40px;
  width: auto;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.footer-logo:hover img {
  opacity: 1;
}

.copyright {
  text-align: center;
  margin: 0;
  font-size: 1.35rem;
  color: #64748b;
}

.copyright-link {
  color: #60a5fa;
  font-weight: 500;
  transition: color 0.2s ease;
}

.copyright-link:hover {
  color: #93c5fd;
}

/* ===== Responsive - Tablet ===== */
@media (max-width: 991px) {
  .footer .footer-grid {
    flex-wrap: wrap;
    gap: 2.5rem 2rem;
    padding: 0 1.5rem;
  }

  .footer .footer-col {
    flex: 1 1 180px;
    min-width: 160px;
  }
}

/* ===== Responsive - Mobile ===== */
@media (max-width: 599px) {
  .footer-top {
    padding: 3rem 0 2rem;
  }

  .footer .footer-grid {
    flex-direction: column;
    gap: 2rem;
    padding: 0 1.25rem;
    text-align: center;
  }

  .footer .footer-col {
    flex: 1 1 100%;
    min-width: 100%;
  }

  .footer-col .footer-list {
    text-align: center;
  }

  .footer-list-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .footer-link {
    font-size: 1.4rem;
  }

  .footer-bottom {
    padding: 1.5rem 1rem;
  }

  .footer-bottom-inner {
    padding: 0 1rem;
    gap: 1rem;
  }

  .footer-logo img {
    height: 36px;
  }

  .copyright {
    font-size: 1.25rem;
  }
}
