/* ==========================================================================
   Placements Adda – Premium footer (shared across pages)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@500;600;700;800&display=swap');

.pa-footer {
  --f-navy-950: #060a1c;
  --f-navy-900: #0a0f2c;
  --f-navy-800: #111a45;
  --f-orange: #ff7a00;
  --f-orange-soft: #ffa24d;
  --f-grad: linear-gradient(135deg, #ff7a00 0%, #ff4d6d 60%, #7c5cff 130%);
  --f-border: rgba(255, 255, 255, .1);
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: 0; padding: 0 0 0;
  font-family: 'Inter', system-ui, sans-serif; color: rgba(255, 255, 255, .72);
  background: linear-gradient(180deg, var(--f-navy-900), var(--f-navy-950));
}
.pa-footer *, .pa-footer *::before, .pa-footer *::after { box-sizing: border-box; }
.pa-footer a { text-decoration: none; transition: color .25s ease, transform .25s ease, background .25s ease, border-color .25s ease; }
.pa-footer p { margin: 0; line-height: 1.75; }
.pa-footer ul { list-style: none; margin: 0; padding: 0; }
.pa-fwrap { width: min(1200px, 92%); margin-inline: auto; position: relative; z-index: 1; }

/* ambient */
.pa-footer::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: .35; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 100%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at 50% 100%, #000 10%, transparent 70%);
}
.pa-footer__blob { position: absolute; z-index: -1; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.pa-footer__blob--1 { width: 420px; height: 420px; left: -140px; top: 18%; background: rgba(255, 122, 0, .22); animation: pa-fdrift 18s ease-in-out infinite; }
.pa-footer__blob--2 { width: 480px; height: 480px; right: -160px; bottom: 5%; background: rgba(124, 92, 255, .25); animation: pa-fdrift 22s ease-in-out infinite reverse; }
@keyframes pa-fdrift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(60px, -40px); } }

/* ---------- CTA card ---------- */
.pa-fcta {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  margin: 4rem 0 3.5rem;
  padding: 2.6rem 3rem; border-radius: 28px; color: #fff; overflow: hidden;
  background: var(--f-grad); box-shadow: 0 40px 80px -30px rgba(255, 90, 40, .55);
}
.pa-fcta::before, .pa-fcta::after { content: ''; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .14); pointer-events: none; }
.pa-fcta::before { width: 280px; height: 280px; right: -70px; top: -120px; animation: pa-fpulse 6s ease-in-out infinite; }
.pa-fcta::after { width: 180px; height: 180px; left: 30%; bottom: -100px; animation: pa-fpulse 8s ease-in-out infinite reverse; }
@keyframes pa-fpulse { 50% { transform: scale(1.25); opacity: .6; } }
.pa-fcta__text { position: relative; z-index: 1; max-width: 640px; }
.pa-fcta h2 { margin: 0 0 .5rem; font: 800 clamp(1.5rem, 3vw, 2.15rem) 'Outfit', sans-serif; letter-spacing: -.02em; color: #fff; }
.pa-fcta p { color: rgba(255, 255, 255, .9); font-size: 1rem; }
.pa-fcta__actions { position: relative; z-index: 1; display: flex; gap: .9rem; flex-wrap: wrap; }
.pa-fbtn {
  display: inline-flex; align-items: center; gap: .6rem; padding: .95rem 1.6rem; border-radius: 999px; font: 600 .96rem 'Inter', sans-serif; white-space: nowrap;
}
.pa-fbtn--light { background: #fff; color: #e8590c !important; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .45); }
.pa-fbtn--light:hover { transform: translateY(-3px); box-shadow: 0 20px 36px -12px rgba(0, 0, 0, .55); }
.pa-fbtn--light i { transition: transform .25s ease; }
.pa-fbtn--light:hover i { transform: translateX(5px); }
.pa-fbtn--outline { border: 1.5px solid rgba(255, 255, 255, .7); color: #fff !important; background: rgba(255, 255, 255, .08); backdrop-filter: blur(6px); }
.pa-fbtn--outline:hover { background: rgba(255, 255, 255, .22); transform: translateY(-3px); }

/* ---------- main grid ---------- */
.pa-fgrid { display: grid; grid-template-columns: 1.5fr .9fr 1fr 1.3fr; gap: 3rem; padding-bottom: 3.5rem; }
.pa-flogo { display: inline-block; margin-bottom: 1rem; }
.pa-flogo img { width: 92px; height: auto; display: block; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .5)); transition: transform .5s ease; }
.pa-flogo:hover img { transform: rotate(-6deg) scale(1.06); }
.pa-fh {
  position: relative; margin: 0 0 1.4rem; padding-bottom: .8rem; font: 700 1.15rem 'Outfit', sans-serif; letter-spacing: -.01em; color: #fff;
}
.pa-fh::after { content: ''; position: absolute; left: 0; bottom: 0; width: 38px; height: 3px; border-radius: 3px; background: var(--f-grad); transition: width .4s ease; }
.pa-fcol:hover > .pa-fh::after { width: 62px; }
.pa-fbrand p { font-size: .95rem; margin-bottom: 1rem; }
.pa-fmore { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--f-orange-soft) !important; }
.pa-fmore i { font-size: .75rem; transition: transform .25s ease; }
.pa-fmore:hover { color: #fff !important; }
.pa-fmore:hover i { transform: translateX(5px); }

.pa-fsocial { display: flex; gap: .7rem; margin-top: 1.6rem; }
.pa-fsocial a {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: rgba(255, 255, 255, .07); border: 1px solid var(--f-border); font-size: .95rem;
}
.pa-fsocial a:hover { background: var(--f-grad); border-color: transparent; transform: translateY(-5px) rotate(-6deg); box-shadow: 0 14px 26px -10px rgba(255, 122, 0, .7); }

.pa-flinks li + li { margin-top: .75rem; }
.pa-flinks a { position: relative; display: inline-flex; align-items: center; color: rgba(255, 255, 255, .72); font-size: .96rem; padding-left: 0; }
.pa-flinks a::before {
  content: '\f054'; font-family: 'Font Awesome 5 Free', 'Font Awesome 6 Free', 'FontAwesome'; font-weight: 900; font-size: .6rem; color: var(--f-orange);
  width: 0; opacity: 0; overflow: hidden; transition: width .25s ease, opacity .25s ease, margin .25s ease;
}
.pa-flinks a:hover { color: #fff; }
.pa-flinks a:hover::before { width: 12px; opacity: 1; margin-right: 6px; }

.pa-fcontact li { display: flex; gap: .9rem; align-items: flex-start; font-size: .94rem; }
.pa-fcontact li + li { margin-top: 1.1rem; }
.pa-fcontact i {
  flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: .85rem; color: #fff;
  background: var(--f-grad); box-shadow: 0 10px 20px -8px rgba(255, 122, 0, .6);
}
.pa-fcontact span, .pa-fcontact a { color: rgba(255, 255, 255, .78); padding-top: .15rem; }
.pa-fcontact a:hover { color: var(--f-orange-soft); }

/* ---------- placements marquee ---------- */
.pa-fplace { padding: 2.6rem 0 3rem; border-top: 1px solid var(--f-border); text-align: center; }
.pa-fplace__title { margin: 0 0 1.6rem; font: 700 1.25rem 'Outfit', sans-serif; color: #fff; }
.pa-fplace__title span { display: inline-block; position: relative; padding-bottom: .7rem; }
.pa-fplace__title span::after { content: ''; position: absolute; left: 50%; bottom: 0; width: 56px; height: 3px; margin-left: -28px; border-radius: 3px; background: var(--f-grad); }
.pa-fplace__title i { color: var(--f-orange); margin-left: .3rem; }
.pa-fmarq {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.pa-fmarq__track { display: flex; width: max-content; animation: pa-fmarq 42s linear infinite; }
.pa-fmarq:hover .pa-fmarq__track { animation-play-state: paused; }
@keyframes pa-fmarq { to { transform: translateX(-50%); } }
.pa-flogo-card {
  display: grid; place-items: center; width: 160px; height: 78px; margin-right: 1rem; padding: 12px 18px; border-radius: 16px;
  background: rgba(255, 255, 255, .94); border: 1px solid rgba(255, 255, 255, .5); transition: transform .3s ease, box-shadow .3s ease;
}
.pa-flogo-card img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pa-flogo-card:hover { transform: translateY(-5px) scale(1.04); box-shadow: 0 18px 30px -14px rgba(255, 122, 0, .6); }

/* ---------- bottom bar ---------- */
.pa-fbottom { border-top: 1px solid var(--f-border); background: rgba(0, 0, 0, .28); }
.pa-fbottom__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.3rem 0; font-size: .88rem; }
.pa-fbottom__links { display: flex; gap: 1.6rem; }
.pa-fbottom__links a { color: rgba(255, 255, 255, .65); }
.pa-fbottom__links a:hover { color: var(--f-orange-soft); }

/* back to top */
.pa-totop {
  position: fixed; right: 22px; bottom: 96px; z-index: 9990; width: 46px; height: 46px; border: 0; border-radius: 50%; cursor: pointer; color: #fff;
  background: var(--f-grad); box-shadow: 0 16px 30px -10px rgba(255, 90, 40, .7);
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(.9); transition: all .35s ease;
}
.pa-totop.show { opacity: 1; visibility: visible; transform: none; }
.pa-totop:hover { transform: translateY(-4px); }

/* reveal */
.pa-f-ready .pa-fcol { opacity: 0; translate: 0 30px; transition: opacity .8s ease, translate .9s cubic-bezier(.2, .7, .2, 1), transform .3s ease; }
.pa-f-ready.is-in .pa-fcol { opacity: 1; translate: 0 0; }
.pa-f-ready .pa-fcta { opacity: 0; }
.pa-f-ready.is-in .pa-fcta { opacity: 1; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .pa-fgrid { grid-template-columns: 1fr 1fr; gap: 2.6rem; }
}
@media (max-width: 640px) {
  .pa-fcta { padding: 2rem 1.5rem; border-radius: 22px; }
  .pa-fcta__actions, .pa-fbtn { width: 100%; justify-content: center; }
  .pa-fgrid { grid-template-columns: 1fr; gap: 2.2rem; }
  .pa-flogo-card { width: 126px; height: 64px; }
  .pa-fbottom__in { flex-direction: column; text-align: center; }
  .pa-totop { right: 14px; bottom: 90px; }
}
@media (prefers-reduced-motion: reduce) {
  .pa-footer *, .pa-footer *::before, .pa-footer *::after { animation: none !important; transition: none !important; }
  .pa-f-ready .pa-fcol, .pa-f-ready .pa-fcta { opacity: 1; translate: none; }
}
