/* ==========================================================
   Site footer (scoped under .fx)
   Orange admissions CTA card overlapping a deep-navy footer
   with a faint "DOON" watermark, four columns and a slim
   bottom bar with a back-to-top button.
   Logo palette: royal blue + orange.
   ========================================================== */
.fx {
  --fx-blue: #0d4f9c;
  --fx-navy: #061f42;
  --fx-navy-2: #0a2c5a;
  --fx-orange: #f08a1c;
  --fx-orange-deep: #d9740a;
  position: relative;
  margin-top: 40px;
  color: rgba(255, 255, 255, .78);
}
.fx a { text-decoration: none; }
.fx ul { list-style: none; margin: 0; padding: 0; }
.fx-wrap {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- CTA card (overlaps the navy area) ---------- */
.fx-cta {
  position: relative;
  z-index: 2;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: -64px;
  padding: 32px 40px;
  border-radius: 24px;
  background: linear-gradient(120deg, var(--fx-orange) 0%, var(--fx-orange-deep) 100%);
  color: #fff;
  box-shadow: 0 30px 60px -30px rgba(217, 116, 10, .7);
}
.fx-cta-shape {
  position: absolute;
  right: 28%;
  top: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 34px solid rgba(255, 255, 255, .12);
  pointer-events: none;
}
.fx-cta-text { position: relative; display: flex; align-items: center; gap: 18px; }
.fx-cta-ico {
  flex: none;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--fx-orange-deep);
  font-size: 26px;
}
.fx-cta h2 { margin: 0; font-size: 28px; line-height: 1.15; font-weight: 800; color: #fff; letter-spacing: -0.01em; }
.fx-cta p { margin: 4px 0 0; font-size: 15.5px; color: rgba(255, 255, 255, .92); }
.fx-cta-btns { position: relative; display: flex; flex-wrap: wrap; gap: 12px; }
.fx-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  border: 2px solid transparent;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.fx-btn:hover { transform: translateY(-2px); }
.fx-btn--light { background: #fff; color: var(--fx-navy); }
.fx-btn--light:hover { background: var(--fx-navy); color: #fff; }
.fx-btn--ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.fx-btn--ghost:hover { background: #fff; border-color: #fff; color: var(--fx-orange-deep); }

/* ---------- main navy area ---------- */
.fx-main {
  position: relative;
  overflow: hidden;
  padding-top: 120px;
  background:
    radial-gradient(circle at 90% 10%, rgba(240, 138, 28, .12), transparent 35%),
    linear-gradient(180deg, var(--fx-navy-2) 0%, var(--fx-navy) 100%);
}
.fx-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .05) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  pointer-events: none;
}
.fx-watermark {
  position: absolute;
  right: -10px;
  bottom: 40px;
  font-size: 220px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, .03);
  pointer-events: none;
  user-select: none;
}

.fx-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr) minmax(0, .9fr) minmax(0, 1.3fr);
  gap: 48px;
  padding-bottom: 52px;
}

/* brand column */
.fx-brand { display: flex; flex-direction: column; gap: 20px; }
.fx-logo { display: flex; align-items: center; gap: 14px; color: #fff; }
.fx-logo img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  padding: 6px;
  border-radius: 18px;
  background: #fff;
  flex: none;
}
.fx-logo strong { display: block; font-size: 19px; font-weight: 800; line-height: 1.2; text-transform: uppercase; color: #fff; }
.fx-logo small {
  display: block;
  margin-top: 4px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fx-orange);
}
.fx-brand p { margin: 0; font-size: 15px; line-height: 1.75; max-width: 380px; }
.fx-social { display: flex; gap: 10px; }
.fx-social a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 16px;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.fx-social a:hover { background: var(--fx-orange); border-color: var(--fx-orange); transform: translateY(-3px); }

/* link columns */
.fx-heading {
  position: relative;
  margin: 6px 0 22px;
  padding-bottom: 12px;
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  letter-spacing: .02em;
}
.fx-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 3px;
  border-radius: 3px;
  background: var(--fx-orange);
}
.fx-links { display: flex; flex-direction: column; gap: 12px; }
.fx-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, .78);
  font-size: 15px;
  transition: color .2s ease, padding .2s ease;
}
.fx-links a::before {
  content: "\f105";
  font-family: FontAwesome;
  color: var(--fx-orange);
  font-size: 14px;
  transition: transform .2s ease;
}
.fx-links a:hover { color: #fff; padding-left: 4px; }

.fx-contact { display: flex; flex-direction: column; gap: 18px; }
.fx-contact li { display: flex; align-items: flex-start; gap: 14px; font-size: 15px; line-height: 1.5; color: #fff; }
.fx-contact small { display: block; font-size: 12px; color: rgba(255, 255, 255, .55); margin-bottom: 2px; text-transform: uppercase; letter-spacing: .08em; }
.fx-contact a { color: #fff; transition: color .2s ease; }
.fx-contact a:hover { color: var(--fx-orange); }
.fx-ico {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(240, 138, 28, .15);
  color: var(--fx-orange);
  font-size: 17px;
}

/* ---------- bottom bar ---------- */
.fx-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, .1);
  background: rgba(0, 0, 0, .18);
}
.fx-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  min-height: 64px;
  font-size: 14px;
}
.fx-credit a { color: var(--fx-orange); font-weight: 700; }
.fx-credit a:hover { color: #fff; }
.fx-top {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--fx-orange);
  color: #fff;
  font-size: 22px;
  transition: background .2s ease, transform .2s ease;
}
.fx-top:hover { background: #fff; color: var(--fx-navy); transform: translateY(-3px); }

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
  .fx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
}
@media (max-width: 767px) {
  .fx-cta { padding: 26px 22px; margin-bottom: -48px; }
  .fx-cta h2 { font-size: 22px; }
  .fx-cta-btns, .fx-btn { width: 100%; justify-content: center; }
  .fx-main { padding-top: 92px; }
  .fx-watermark { font-size: 130px; }
}
@media (max-width: 640px) {
  .fx-wrap { padding: 0 16px; }
  .fx-grid { grid-template-columns: 1fr; gap: 34px; padding-bottom: 36px; }
  .fx-bottom-inner { flex-direction: column; justify-content: center; text-align: center; padding: 18px 0; }
}
