/* insead-footer.css — INSEAD-style premium restyle of the site footer (CSS-only, links last to win) */

/* ---- Footer shell: deep green gradient + subtle texture ---- */
.footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #0A5640 0%, #0E6B4E 60%, #084A36 100%);
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--ins-sans, 'Inter', system-ui, -apple-system, sans-serif);
}

/* Subtle faint diagonal line texture */
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.025) 0,
    rgba(255, 255, 255, 0.025) 1px,
    transparent 1px,
    transparent 26px
  );
  z-index: 0;
}

/* Large soft circle accent, low opacity */
.footer::after {
  content: "";
  position: absolute;
  top: -180px;
  right: -160px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 164, 93, 0.10) 0%, rgba(200, 164, 93, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.footer__main {
  position: relative;
  z-index: 1;
  padding: 76px 0 56px;
}

.footer .container {
  position: relative;
  z-index: 1;
}

/* ---- Brand column ---- */
.footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ins-serif, 'Georgia', serif);
  font-size: 1.42rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer__logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.footer__logo span {
  color: var(--ins-accent, #C8A45D);
}

.footer__col--brand p {
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.7;
  max-width: 34ch;
}

/* ---- Social icons: circular, translucent ---- */
.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.footer__social a:hover,
.footer__social a:focus-visible {
  background: var(--ins-navy-2, #0E6B4E);
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ---- Column headings ---- */
.footer__col h5,
.footer__newsletter h5 {
  font-family: var(--ins-sans, 'Inter', sans-serif);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #A8D8C2;
  margin-bottom: 18px;
}

/* ---- Link-group columns ---- */
.footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__col ul li {
  margin-bottom: 9px;
}

.footer__col ul li a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-block;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer__col ul li a:hover,
.footer__col ul li a:focus-visible {
  color: #ffffff;
  transform: translateX(3px);
}

/* "View All Services" gold accent link */
.footer__col ul li a[style*="--gold"] {
  color: var(--ins-accent, #C8A45D) !important;
  font-weight: 600;
}

.footer__col ul li a[style*="--gold"]:hover {
  color: #e2bd72 !important;
}

/* ---- Contact items ---- */
.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 13px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
}

.footer__contact-item i {
  width: 18px;
  text-align: center;
  color: var(--ins-blue, #1C8A5E);
  flex-shrink: 0;
}

.footer__contact-item a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__contact-item a:hover,
.footer__contact-item a:focus-visible {
  color: #ffffff;
}

/* ---- Book consultation button (gold) — lives in "Get in Touch" column, not the brand column ---- */
.footer__col:not(.footer__col--brand) .btn-gold {
  background: var(--ins-accent, #C8A45D);
  border: 1px solid var(--ins-accent, #C8A45D);
  color: #1A1A1A;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.footer__col:not(.footer__col--brand) .btn-gold:hover,
.footer__col:not(.footer__col--brand) .btn-gold:focus-visible {
  background: #d8b66f;
  transform: translateY(-1px);
}

/* ---- Newsletter form (dark-on-dark) ---- */
.footer__newsletter p {
  color: rgba(255, 255, 255, 0.6);
}

.footer__newsletter-form {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.footer__newsletter-form input {
  flex: 1 1 auto;
  min-width: 0;
}

.footer__newsletter-form button {
  flex: 0 0 auto;
  white-space: nowrap;
}

.footer__newsletter input[type="email"],
.footer__newsletter input[type="text"] {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-radius: 8px;
  padding: 11px 13px;
  font-size: 0.88rem;
  width: 100%;
}

.footer__newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.footer__newsletter input:focus {
  outline: none;
  border-color: #A8D8C2;
  background: rgba(255, 255, 255, 0.1);
}

.footer__newsletter-form button {
  background: var(--ins-blue, #1C8A5E);
  border: 1px solid var(--ins-blue, #1C8A5E);
  color: #ffffff;
  font-weight: 600;
  border-radius: 8px;
  padding: 11px 18px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.footer__newsletter-form button:hover,
.footer__newsletter-form button:focus-visible {
  background: var(--ins-accent, #C8A45D);
  border-color: var(--ins-accent, #C8A45D);
  color: #1A1A1A;
  transform: translateY(-1px);
}

/* ---- Credentials / standards pills ---- */
.footer__cred-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.footer__cred-pill:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(200, 164, 93, 0.5);
  color: #ffffff;
}

/* ---- Bottom bar ---- */
.footer__bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.14);
  padding: 22px 0;
}

.footer__bottom .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.footer__bottom p {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer__legal a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__legal a:hover,
.footer__legal a:focus-visible {
  color: var(--ins-accent, #C8A45D);
}

/* ---- Accessibility: visible focus ---- */
.footer a:focus-visible,
.footer button:focus-visible,
.footer input:focus-visible {
  outline: 2px solid #A8D8C2;
  outline-offset: 2px;
}

/* ---- Responsive ---- */
@media (max-width: 880px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 32px !important;
  }
}

@media (max-width: 560px) {
  .footer__grid {
    grid-template-columns: 1fr !important;
  }
  .footer__bottom .container {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
}
