/* =========================================================
   AFYAPLUS PADS – Lavender enhancement layer
   Loaded after style.css on every page
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@1,600;1,700&display=swap');

:root {
  --afp-lav: #b47aec;
  --afp-lav-deep: #7b2fc9;
  --afp-lav-dark: #3b1465;
  --afp-lav-soft: #f4ebff;
  --afp-lav-mist: #faf6ff;
  --afp-pink: #ff8fc7;
  --afp-wa: #25d366;
  --afp-wa-dark: #128c7e;
  --afp-radius: 18px;
  --afp-shadow: 0 18px 45px rgba(123, 47, 201, .18);
}

html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
img { max-width: 100%; }

/* ---------- scroll progress bar ---------- */
.afp-progress {
  position: fixed; top: 0; left: 0; height: 4px; width: 0;
  background: linear-gradient(90deg, var(--afp-lav), var(--afp-pink), var(--afp-lav-deep));
  z-index: 100001; transition: width .1s linear;
}

/* ---------- headings / sections ---------- */
.wpo-section-title h2 {
  font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--afp-lav-dark);
  position: relative; padding-bottom: 18px;
}
.wpo-section-title h2::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 70px; height: 5px; border-radius: 10px;
  background: linear-gradient(90deg, var(--afp-lav), var(--afp-pink));
}
.wpo-about-text .wpo-section-title h2::after { left: 0; transform: none; }

/* ---------- buttons ---------- */
.theme-btn, .theme-btn-s2, .theme-btn-s3, .theme-btn-s4 {
  position: relative; overflow: hidden; border-radius: 50px !important;
  transition: transform .3s, box-shadow .3s, background .3s, color .3s !important;
}
.theme-btn:hover, .theme-btn-s2:hover { transform: translateY(-3px); box-shadow: 0 12px 25px rgba(123,47,201,.35); }
.theme-btn::after, .theme-btn-s2::after {
  content: ""; position: absolute; top: 0; left: -75%; width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg); transition: left .6s;
}
.theme-btn:hover::after, .theme-btn-s2:hover::after { left: 130%; }

/* ---------- reveal on scroll ---------- */
.afp-reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s ease; }
.afp-reveal.afp-in { opacity: 1; transform: none; }
.afp-reveal.afp-left { transform: translateX(-50px); }
.afp-reveal.afp-right { transform: translateX(50px); }
.afp-reveal.afp-left.afp-in, .afp-reveal.afp-right.afp-in { transform: none; }

/* ---------- cards: lift on hover ---------- */
.wpo-mission-item, .wpo-case-item, .wpo-event-item, .wpo-blog-item, .wpo-team-item,
.wpo-causes-item, .product-card, .wpo-post-item {
  transition: transform .35s ease, box-shadow .35s ease !important;
  border-radius: var(--afp-radius);
}
.wpo-mission-item:hover, .wpo-case-item:hover, .wpo-event-item:hover, .wpo-blog-item:hover,
.wpo-team-item:hover, .wpo-causes-item:hover, .product-card:hover, .wpo-post-item:hover {
  transform: translateY(-10px); box-shadow: var(--afp-shadow) !important;
}
.wpo-event-img img, .wpo-case-img img, .wpo-blog-img img, .wpo-team-img img { transition: transform .6s ease; }
.wpo-event-item:hover .wpo-event-img img, .wpo-case-item:hover .wpo-case-img img { transform: scale(1.08); }
.wpo-event-img, .wpo-case-img { overflow: hidden; border-radius: var(--afp-radius) var(--afp-radius) 0 0; }

/* ---------- header polish ---------- */
.wpo-site-header { transition: box-shadow .3s, background .3s; }
.wpo-site-header.afp-stuck { box-shadow: 0 8px 30px rgba(123,47,201,.15); }
.wpo-site-header .navbar-nav > li > a { position: relative; transition: color .3s; }
.wpo-site-header .navbar-nav > li > a::after {
  content: ""; position: absolute; left: 50%; bottom: 8px; width: 0; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--afp-lav), var(--afp-pink)); transition: width .3s, left .3s;
}
@media (min-width: 992px) {
  .wpo-site-header .navbar-nav > li > a:hover::after,
  .wpo-site-header .navbar-nav > li.current-menu-item > a::after { width: 60%; left: 20%; }
}
.wpo-site-header .navbar-brand img { max-height: 62px; width: auto; }

/* ---------- inner page banner ---------- */
.wpo-breadcumb-area {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #3b1465 0%, #7b2fc9 55%, #b47aec 100%) !important;
  padding: 110px 0 90px;
}
.wpo-breadcumb-area::before, .wpo-breadcumb-area::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(2px); opacity: .35;
  background: radial-gradient(circle, #fff 0%, rgba(255,255,255,0) 70%);
  animation: afpFloat 9s ease-in-out infinite;
}
.wpo-breadcumb-area::before { width: 380px; height: 380px; top: -140px; right: -80px; }
.wpo-breadcumb-area::after { width: 260px; height: 260px; bottom: -120px; left: 8%; animation-delay: -4s; }
.wpo-breadcumb-wrap { position: relative; z-index: 2; text-align: center; }
.wpo-breadcumb-wrap h2 {
  font-family: 'Poppins', sans-serif; font-weight: 800; color: #fff;
  animation: afpRise .9s both;
}
.wpo-breadcumb-wrap ul { display: inline-flex; gap: 8px; padding: 8px 22px; margin-top: 12px;
  background: rgba(255,255,255,.15); backdrop-filter: blur(6px); border-radius: 50px; }
.wpo-breadcumb-wrap ul li, .wpo-breadcumb-wrap ul li a, .wpo-breadcumb-wrap ul li span { color: #fff; }

@keyframes afpFloat { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(26px) scale(1.08); } }
@keyframes afpRise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

/* ---------- counters band ---------- */
.wpo-counter-style-2 { background: linear-gradient(135deg, #3b1465, #7b2fc9 60%, #b47aec) !important; position: relative; overflow: hidden; }
.wpo-counter-style-2 .grid h2 { font-family: 'Poppins', sans-serif; font-weight: 800; }
.wpo-counter-style-2 .grid { transition: transform .3s; }
.wpo-counter-style-2 .grid:hover { transform: scale(1.06); }

/* ---------- CTA band ---------- */
.wpo-cta-area-2 { position: relative; background: linear-gradient(135deg, #7b2fc9, #b47aec) !important; overflow: hidden; }
.wpo-cta-area-2::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(255,255,255,.18), transparent 40%),
              radial-gradient(circle at 85% 80%, rgba(255,143,199,.3), transparent 45%);
  animation: afpPulse 8s ease-in-out infinite alternate;
}
.wpo-cta-area-2 .container { position: relative; z-index: 2; }
@keyframes afpPulse { from { opacity: .6; } to { opacity: 1; } }

/* =========================================================
   HERO
   ========================================================= */
.afp-hero {
  position: relative; overflow: hidden; color: #fff;
  min-height: 100vh; display: flex; align-items: center;
  padding: 118px 0 100px;
  background: linear-gradient(135deg, #2d0e4e 0%, #6a24b8 48%, #b47aec 100%);
  font-family: 'Poppins', sans-serif;
}
.afp-hero * { box-sizing: border-box; }
.afp-hero .afp-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: afpFloat 12s ease-in-out infinite; }
.afp-hero .b1 { width: 420px; height: 420px; background: #ff8fc7; top: -120px; left: -120px; opacity: .35; }
.afp-hero .b2 { width: 480px; height: 480px; background: #d9b8ff; bottom: -160px; right: -100px; animation-delay: -5s; }
.afp-hero .b3 { width: 260px; height: 260px; background: #8b5cf6; top: 40%; left: 42%; animation-delay: -8s; opacity: .4; }

/* floating pads / petals */
.afp-float { position: absolute; z-index: 1; pointer-events: none; opacity: .75; animation: afpDrift linear infinite; }
.afp-float svg { width: 100%; height: 100%; display: block; }
@keyframes afpDrift {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-40px) rotate(18deg); }
  100% { transform: translateY(0) rotate(0deg); }
}
.afp-hero .f1 { width: 70px; top: 20%; left: 6%; animation-duration: 9s; }
.afp-hero .f2 { width: 46px; top: 68%; left: 12%; animation-duration: 7s; }
.afp-hero .f3 { width: 60px; top: 14%; right: 8%; animation-duration: 11s; }
.afp-hero .f4 { width: 38px; bottom: 16%; right: 22%; animation-duration: 8s; }
.afp-hero .f5 { width: 30px; top: 46%; left: 48%; animation-duration: 10s; }

.afp-hero .container { position: relative; z-index: 3; }
.afp-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }

.afp-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 50px;
  background: rgba(255,255,255,.16); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.3); font-size: 14px; font-weight: 500; margin-bottom: 16px;
  animation: afpRise .8s both;
}
.afp-pill i { color: #ffd6ec; }
.afp-hero h1 {
  font-family: 'Poppins', sans-serif !important;
  font-size: clamp(32px, 4.3vw, 56px); line-height: 1.12; font-weight: 800; margin: 0 0 16px;
  color: #fff; animation: afpRise .9s .15s both;
}
.afp-hero h1 em {
  font-family: 'Playfair Display', serif; font-style: italic; font-weight: 700;
  background: linear-gradient(90deg, #ffd6ec, #fff, #e6d2ff); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; position: relative; display: inline-block;
}
.afp-hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 8px; border-radius: 8px;
  background: linear-gradient(90deg, #ff8fc7, #fff0); transform-origin: left; animation: afpLine 1.4s .9s both;
}
@keyframes afpLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.afp-hero p.afp-lead { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.7; color: rgba(255,255,255,.92); max-width: 540px; margin: 0 0 24px; animation: afpRise .9s .3s both; }
.afp-typed { display: block; min-height: 1.4em; color: #ffd6ec; font-weight: 600; margin-top: 6px; }
.afp-typed::after { content: "|"; margin-left: 3px; animation: afpBlink 1s steps(1) infinite; }
@keyframes afpBlink { 50% { opacity: 0; } }

.afp-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; animation: afpRise .9s .45s both; }
.afp-btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 30px; border-radius: 50px;
  font-weight: 700; font-size: 16px; text-decoration: none !important; transition: transform .3s, box-shadow .3s; cursor: pointer;
}
.afp-btn:hover { transform: translateY(-4px); }
.afp-btn.primary { background: #fff; color: var(--afp-lav-deep); box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.afp-btn.primary:hover { box-shadow: 0 18px 38px rgba(0,0,0,.32); color: var(--afp-lav-deep); }
.afp-btn.wa { background: var(--afp-wa); color: #fff; box-shadow: 0 12px 30px rgba(37,211,102,.4); }
.afp-btn.wa:hover { color: #fff; box-shadow: 0 18px 38px rgba(37,211,102,.55); }
.afp-btn svg { width: 22px; height: 22px; fill: currentColor; }

.afp-stats { display: flex; flex-wrap: wrap; gap: 14px; animation: afpRise .9s .6s both; }
.afp-stat {
  background: rgba(255,255,255,.14); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.25);
  border-radius: 16px; padding: 12px 18px; min-width: 120px; text-align: center; transition: transform .3s, background .3s;
}
.afp-stat:hover { transform: translateY(-6px); background: rgba(255,255,255,.24); }
.afp-stat b { display: block; font-size: 24px; font-weight: 800; }
.afp-stat span { font-size: 12.5px; opacity: .9; }

/* visual side */
.afp-visual { position: relative; display: flex; justify-content: center; animation: afpRise 1s .3s both; }
.afp-photo {
  position: relative; width: min(100%, 440px); aspect-ratio: 1/1.02;
  border-radius: 62% 38% 55% 45% / 45% 55% 45% 55%;
  overflow: hidden; border: 8px solid rgba(255,255,255,.35);
  box-shadow: 0 30px 70px rgba(20,0,50,.45);
  animation: afpMorph 12s ease-in-out infinite;
}
.afp-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform: scale(1.12); }
@keyframes afpMorph {
  0%,100% { border-radius: 62% 38% 55% 45% / 45% 55% 45% 55%; }
  50% { border-radius: 40% 60% 42% 58% / 58% 42% 58% 42%; }
}
.afp-ring { position: absolute; inset: -22px; border: 2px dashed rgba(255,255,255,.45); border-radius: 50%; animation: afpSpin 40s linear infinite; z-index: 0; }
@keyframes afpSpin { to { transform: rotate(360deg); } }
.afp-chip {
  position: absolute; z-index: 4; background: #fff; color: var(--afp-lav-dark); border-radius: 18px;
  padding: 12px 16px; display: flex; align-items: center; gap: 12px; font-size: 13.5px; font-weight: 600;
  box-shadow: 0 16px 36px rgba(20,0,50,.35); animation: afpBob 5s ease-in-out infinite;
}
.afp-chip .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--afp-lav), var(--afp-lav-deep)); color: #fff; font-size: 18px; }
.afp-chip small { display: block; font-weight: 500; color: #7c6a95; font-size: 11.5px; }
.afp-chip.c1 { top: 6%; left: -4%; }
.afp-chip.c2 { bottom: 12%; left: -8%; animation-delay: -2s; }
.afp-chip.c3 { top: 38%; right: -6%; animation-delay: -3.5s; }
.afp-padcard {
  position: absolute; z-index: 4; width: 150px; right: -2%; bottom: -4%; border-radius: 20px; overflow: hidden;
  border: 5px solid #fff; box-shadow: 0 20px 40px rgba(20,0,50,.4); animation: afpBob 6s ease-in-out infinite; animation-delay: -1s;
}
.afp-padcard img { display: block; width: 100%; }
@keyframes afpBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.afp-wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 2; line-height: 0; }
.afp-wave svg { width: 100%; height: 90px; display: block; }
.afp-scroll { position: absolute; bottom: 100px; left: 50%; transform: translateX(-50%); z-index: 3; width: 26px; height: 42px;
  border: 2px solid rgba(255,255,255,.7); border-radius: 20px; }
.afp-scroll::after { content: ""; position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; margin-left: -2px;
  background: #fff; border-radius: 4px; animation: afpScroll 1.6s infinite; }
@keyframes afpScroll { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(16px); } }

@media (max-width: 991px) {
  .afp-hero { padding: 120px 0 110px; min-height: auto; text-align: center; }
  .afp-hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .afp-hero p.afp-lead { margin-left: auto; margin-right: auto; }
  .afp-cta, .afp-stats { justify-content: center; }
  .afp-visual { order: -1; }
  .afp-photo { width: min(78%, 360px); }
  .afp-scroll { display: none; }
}
@media (max-width: 575px) {
  .afp-chip { padding: 8px 12px; font-size: 12px; }
  .afp-chip .ic { width: 32px; height: 32px; font-size: 14px; }
  .afp-chip.c1 { left: -2%; } .afp-chip.c2 { left: -2%; } .afp-chip.c3 { right: -2%; }
  .afp-padcard { width: 100px; }
  .afp-btn { width: 100%; justify-content: center; }
  .afp-stat { min-width: 98px; padding: 10px 12px; }
}

/* ---------- inner "products / wakwetu" legacy hero ---------- */
section.hero:not(.hero-style-3):not(.afp-hero) {
  background: linear-gradient(135deg, #3b1465, #7b2fc9 55%, #b47aec) !important;
  position: relative; overflow: hidden;
}
section.hero:not(.hero-style-3):not(.afp-hero) .hero-content { position: relative; z-index: 2; animation: afpRise .9s both; }

/* ---------- products page polish ---------- */
.product-card, .product { border-radius: var(--afp-radius); overflow: hidden; }
.product-card img, .product img { transition: transform .5s; }
.product-card:hover img, .product:hover img { transform: scale(1.06); }

/* ---------- forms ---------- */
.form-control, input[type=text], input[type=email], input[type=password], textarea, select {
  transition: border-color .3s, box-shadow .3s;
}
.form-control:focus, input:focus, textarea:focus, select:focus {
  border-color: var(--afp-lav) !important; box-shadow: 0 0 0 4px rgba(180,122,236,.2) !important; outline: none;
}

/* =========================================================
   FOOTER
   ========================================================= */
.wpo-ne-footer { background: transparent; }
.afp-newsletter {
  position: relative; z-index: 5; margin-bottom: -70px; padding: 0 15px;
}
.afp-newsletter-box {
  max-width: 1000px; margin: 0 auto; border-radius: 28px; padding: 38px 44px;
  background: linear-gradient(120deg, #7b2fc9, #b47aec 60%, #d9a8ff);
  color: #fff; box-shadow: 0 25px 60px rgba(123,47,201,.4);
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 26px; align-items: center; position: relative; overflow: hidden;
  font-family: 'Poppins', sans-serif;
}
.afp-newsletter-box::before {
  content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; right: -70px; top: -110px;
  background: rgba(255,255,255,.16); animation: afpFloat 8s ease-in-out infinite;
}
.afp-newsletter-box h3 { margin: 0 0 6px; font-size: 26px; font-weight: 700; color: #fff; position: relative; }
.afp-newsletter-box p { margin: 0; opacity: .92; font-size: 14.5px; position: relative; }
.afp-news-form { display: flex; background: #fff; border-radius: 50px; padding: 6px; position: relative; box-shadow: 0 10px 25px rgba(0,0,0,.18); }
.afp-news-form input { flex: 1; min-width: 0; border: 0 !important; background: transparent; padding: 12px 20px; font-size: 15px; box-shadow: none !important; color: #333; }
.afp-news-form button {
  border: 0; border-radius: 50px; padding: 12px 26px; font-weight: 700; color: #fff; cursor: pointer;
  background: linear-gradient(120deg, var(--afp-lav-deep), var(--afp-lav)); transition: transform .3s, box-shadow .3s;
}
.afp-news-form button:hover { transform: scale(1.05); box-shadow: 0 8px 20px rgba(123,47,201,.45); }

.afp-footer {
  position: relative; overflow: hidden; color: #e9dcfb; font-family: 'Poppins', sans-serif;
  background: linear-gradient(160deg, #2a0c4a 0%, #3b1465 55%, #4c1d82 100%);
  padding-top: 130px;
}
.afp-footer .afp-fwave { position: absolute; top: -1px; left: 0; right: 0; line-height: 0; transform: rotate(180deg); }
.afp-footer .afp-fwave svg { width: 100%; height: 60px; }
.afp-footer .afp-fbubble { position: absolute; border-radius: 50%; background: rgba(180,122,236,.14); animation: afpFloat 10s ease-in-out infinite; }
.afp-footer .fb1 { width: 300px; height: 300px; right: -90px; top: 120px; }
.afp-footer .fb2 { width: 180px; height: 180px; left: -50px; bottom: 90px; animation-delay: -4s; }
.afp-footer .fb3 { width: 90px; height: 90px; left: 45%; top: 160px; animation-delay: -7s; background: rgba(255,143,199,.12); }
.afp-footer .container { position: relative; z-index: 2; }
.afp-fgrid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1.3fr; gap: 40px; padding-bottom: 50px; }
.afp-footer h4 { color: #fff; font-size: 18px; font-weight: 700; margin: 0 0 22px; position: relative; padding-bottom: 12px; }
.afp-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 38px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--afp-pink), var(--afp-lav)); }
.afp-footer p { color: #d8c6f2; font-size: 14.5px; line-height: 1.8; margin: 0 0 18px; }
.afp-footer .afp-flogo img { max-height: 70px; width: auto; background: #fff; border-radius: 14px; padding: 8px 14px; margin-bottom: 18px; }
.afp-footer ul { list-style: none; margin: 0; padding: 0; }
.afp-footer .afp-links li { margin-bottom: 12px; }
.afp-footer .afp-links a {
  color: #d8c6f2; text-decoration: none; font-size: 14.5px; display: inline-flex; align-items: center; gap: 8px;
  transition: color .3s, transform .3s;
}
.afp-footer .afp-links a::before { content: "\f105"; font-family: FontAwesome; color: var(--afp-pink); transition: transform .3s; }
.afp-footer .afp-links a:hover { color: #fff; transform: translateX(6px); }
.afp-social { display: flex; gap: 10px; flex-wrap: wrap; }
.afp-social a {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 17px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); text-decoration: none; transition: transform .35s, background .35s, box-shadow .35s;
}
.afp-social a:hover { transform: translateY(-6px) rotate(8deg); background: linear-gradient(135deg, var(--afp-lav), var(--afp-pink)); box-shadow: 0 10px 22px rgba(0,0,0,.3); color: #fff; }
.afp-social a.wa:hover { background: var(--afp-wa); }
.afp-contact li { display: flex; gap: 14px; margin-bottom: 16px; color: #d8c6f2; font-size: 14.5px; line-height: 1.6; }
.afp-contact .ic { flex: 0 0 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.1); color: var(--afp-pink); }
.afp-contact a { color: #d8c6f2; text-decoration: none; transition: color .3s; }
.afp-contact a:hover { color: #fff; }
.afp-fwa {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; padding: 12px 22px; border-radius: 50px;
  background: var(--afp-wa); color: #fff !important; font-weight: 700; font-size: 14.5px; text-decoration: none !important;
  box-shadow: 0 10px 24px rgba(37,211,102,.35); transition: transform .3s, box-shadow .3s;
}
.afp-fwa:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(37,211,102,.5); }
.afp-fwa svg { width: 20px; height: 20px; fill: #fff; }
.afp-fbottom {
  border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13.5px; color: #cdb7ee;
}
.afp-fbottom .heart { color: var(--afp-pink); display: inline-block; animation: afpBeat 1.4s infinite; }
@keyframes afpBeat { 0%,100% { transform: scale(1); } 50% { transform: scale(1.3); } }
.afp-totop {
  position: fixed; right: 22px; bottom: 100px; width: 46px; height: 46px; border-radius: 50%; border: 0; z-index: 9990;
  background: linear-gradient(135deg, var(--afp-lav-deep), var(--afp-lav)); color: #fff; font-size: 18px; cursor: pointer;
  box-shadow: 0 10px 24px rgba(123,47,201,.45); opacity: 0; visibility: hidden; transform: translateY(20px); transition: all .35s;
}
.afp-totop.show { opacity: 1; visibility: visible; transform: none; }
.afp-totop:hover { transform: translateY(-5px); }

@media (max-width: 991px) {
  .afp-fgrid { grid-template-columns: 1fr 1fr; }
  .afp-newsletter-box { grid-template-columns: 1fr; padding: 32px 26px; text-align: center; }
}
@media (max-width: 575px) {
  .afp-fgrid { grid-template-columns: 1fr; gap: 30px; }
  .afp-news-form { flex-direction: column; border-radius: 22px; padding: 10px; gap: 8px; }
  .afp-news-form button { width: 100%; }
  .afp-fbottom { justify-content: center; text-align: center; }
  .afp-newsletter-box h3 { font-size: 21px; }
}

/* =========================================================
   WHATSAPP – "Chat with Afyaplus"
   ========================================================= */
.afp-wa { position: fixed; right: 22px; bottom: 22px; z-index: 99999; font-family: 'Poppins', sans-serif; }
.afp-wa-btn {
  position: relative; display: flex; align-items: center; gap: 10px; border: 0; cursor: pointer;
  padding: 8px 20px 8px 8px; border-radius: 60px; color: #fff; font-weight: 700; font-size: 14.5px;
  background: linear-gradient(135deg, #25d366, #128c7e); box-shadow: 0 12px 30px rgba(18,140,126,.5);
  transition: transform .3s;
}
.afp-wa-btn:hover { transform: scale(1.06); }
.afp-wa-btn .ico { position: relative; width: 46px; height: 46px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.afp-wa-btn .ico svg { width: 28px; height: 28px; fill: #25d366; }
.afp-wa-btn .ico::before, .afp-wa-btn .ico::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: afpRipple 2.2s infinite;
}
.afp-wa-btn .ico::after { animation-delay: 1.1s; }
@keyframes afpRipple { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.9); opacity: 0; } }
.afp-wa-btn .label small { display: block; font-weight: 500; font-size: 11px; opacity: .9; text-align: left; }
.afp-wa-panel {
  position: absolute; right: 0; bottom: 74px; width: 320px; max-width: calc(100vw - 30px); border-radius: 22px; overflow: hidden;
  background: #fff; box-shadow: 0 25px 60px rgba(40,10,80,.35); transform-origin: bottom right;
  opacity: 0; visibility: hidden; transform: scale(.6) translateY(30px); transition: all .35s cubic-bezier(.2,1.2,.4,1);
}
.afp-wa.open .afp-wa-panel { opacity: 1; visibility: visible; transform: none; }
.afp-wa-head { background: linear-gradient(135deg, #7b2fc9, #b47aec); color: #fff; padding: 18px 20px; display: flex; align-items: center; gap: 12px; }
.afp-wa-head .av { width: 46px; height: 46px; border-radius: 50%; background: #fff; display: grid; place-items: center; overflow: hidden; flex: 0 0 46px; }
.afp-wa-head .av img { width: 80%; height: auto; }
.afp-wa-head b { display: block; font-size: 15px; }
.afp-wa-head small { font-size: 12px; opacity: .92; display: flex; align-items: center; gap: 6px; }
.afp-wa-head small::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #5dff9b; box-shadow: 0 0 0 0 rgba(93,255,155,.7); animation: afpOnline 1.6s infinite; }
@keyframes afpOnline { 70% { box-shadow: 0 0 0 8px rgba(93,255,155,0); } 100% { box-shadow: 0 0 0 0 rgba(93,255,155,0); } }
.afp-wa-close { margin-left: auto; background: rgba(255,255,255,.2); border: 0; color: #fff; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; font-size: 16px; line-height: 1; }
.afp-wa-body { padding: 18px; background: #f3ecfb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Ccircle cx='4' cy='4' r='2' fill='%23b47aec' fill-opacity='.18'/%3E%3C/svg%3E"); }
.afp-wa-msg { background: #fff; border-radius: 4px 16px 16px 16px; padding: 12px 14px; font-size: 13.5px; color: #3b2a55; line-height: 1.55; box-shadow: 0 4px 12px rgba(0,0,0,.06); }
.afp-wa-quick { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.afp-wa-quick a {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: #fff; color: #5a2a96;
  font-size: 13.5px; font-weight: 600; text-decoration: none !important; border: 1px solid #e3d2f8; transition: all .25s;
}
.afp-wa-quick a:hover { background: #25d366; color: #fff; border-color: #25d366; transform: translateX(4px); }
.afp-wa-send {
  display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px; background: #25d366; color: #fff !important;
  font-weight: 700; text-decoration: none !important; transition: background .3s;
}
.afp-wa-send:hover { background: #128c7e; }
.afp-wa-send svg { width: 20px; height: 20px; fill: #fff; }
@media (max-width: 575px) {
  .afp-wa { right: 14px; bottom: 14px; }
  .afp-wa-btn .label { display: none; }
  .afp-wa-btn { padding: 6px; }
  .afp-totop { right: 16px; bottom: 86px; }
}

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .afp-reveal { opacity: 1; transform: none; }
}

/* ---------- footer fixes (override theme defaults) ---------- */
.afp-newsletter-box p, .afp-newsletter-box h3 { color: #fff !important; font-family: 'Poppins', sans-serif; }
.afp-footer h4, .afp-footer p, .afp-footer li, .afp-footer a { font-family: 'Poppins', sans-serif; }
.afp-footer .afp-fbottom span { color: #cdb7ee; }
@media (min-width: 992px) { .afp-fbottom > span:last-child { margin-right: 230px; } }
@media (max-width: 991px) { .afp-footer { padding-bottom: 70px; } }
@media (max-width: 575px) {
  .afp-pill { font-size: 12px; padding: 7px 14px; text-align: center; }
  .afp-chip.c3 { display: none; }
}
