/* Footer Style: Professional OET Preparation Platform */
:root {
  --footer-bg: #1A365D;
  --footer-accent: #319795;
  --footer-text: #F7FAFC;
  --footer-muted: #CBD5E0;
  --footer-border: rgba(255, 255, 255, 0.12);
  --footer-shadow: 0 18px 60px rgba(0, 0, 0, 0.14);
}

.footer-wrapper {
  background: radial-gradient(circle at top left, rgba(49, 151, 149, 0.16), transparent 32%),
              linear-gradient(180deg, rgba(26, 54, 93, 0.96), #11223b);
  color: var(--footer-text);
  padding: 56px 24px 24px;
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 36px;
  max-width: 1240px;
  margin: 0 auto;
}

.footer-brand {
  display: grid;
  gap: 18px;
}

.footer-brand-logo {
  width: 140px;
  height: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  padding: 12px;
  box-shadow: var(--footer-shadow);
}

.footer-brand-logo img,
.footer-brand-logo svg {
  width: 100%;
  max-height: 48px;
  object-fit: contain;
}

.footer-brand-description {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--footer-muted);
  max-width: 420px;
}

.footer-trust {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--footer-text);
  font-size: 0.94rem;
}

.footer-trust svg {
  width: 22px;
  height: 22px;
  fill: var(--footer-accent);
}

.footer-column-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: #E2E8F0;
}

.footer-links {
  display: grid;
  gap: 12px;
}

.footer-link {
  color: var(--footer-muted);
  text-decoration: none;
  font-size: 0.97rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-link:hover,
.footer-link:focus {
  color: var(--footer-text);
  transform: translateX(4px);
}

.footer-note {
  color: rgba(226, 232, 240, 0.88);
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-note strong {
  color: var(--footer-text);
}

.footer-divider {
  margin: 44px auto 24px;
  max-width: 1240px;
  height: 1px;
  background: var(--footer-border);
  border: none;
}

.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-bottom: 14px;
}

.footer-copy {
  color: var(--footer-muted);
  font-size: 0.92rem;
  line-height: 1.8;
}

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

.footer-social-link {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  color: var(--footer-text);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.footer-social-link:hover,
.footer-social-link:focus {
  transform: translateY(-2px);
  background: rgba(49, 151, 149, 0.16);
  border-color: rgba(49, 151, 149, 0.45);
}

.footer-social-link svg {
  width: 18px;
  height: 18px;
  fill: var(--footer-text);
}

@media (min-width: 820px) {
  .footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .footer-wrapper {
    padding: 40px 18px 18px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
