/* ==========================================================
   TalentSphere Academy — redesigned theme
   ========================================================== */
:root,
[data-bs-theme=light] {
  --bs-body-bg: #ffffff;
  --bs-body-color: #4a5a61;
  --bs-primary: #29828F;
  --bs-primary-rgb: 41,130,143;
  --bs-primary-hover: #206872;
  --bs-secondary: #CCE8C9;
  --bs-secondary-rgb: 204,232,201;
  --bs-heading-color: #14262d;
  --bs-accent: #7A1040;
  --bs-accent-rgb: 122,16,64;
  --bs-link-color: var(--bs-primary);
  --inverse-color: #14262d;
  --inverse-color-rgb: 20,38,45;
  --ink: #14262d;
  --ink-soft: #4a5a61;
  --surface: #f5f9f8;
  --line: rgba(20,38,45,.09);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 8px rgba(20,38,45,.05);
  --shadow-md: 0 12px 32px -8px rgba(20,38,45,.12);
  --shadow-lg: 0 30px 60px -20px rgba(20,38,45,.22);
  --grad: linear-gradient(135deg, #29828F 0%, #1c5f6a 100%);
  --font-head: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font: 1rem/1.7 "Inter", system-ui, sans-serif;
  background: var(--bs-body-bg);
  color: var(--bs-body-color);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection { background: var(--bs-primary); color: #fff; }

a { color: var(--bs-primary); transition: color .2s ease; }
a:hover { color: var(--bs-accent); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--bs-heading-color);
  letter-spacing: -.02em;
  line-height: 1.15;
}
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 800; }

.container { max-width: 1160px; }
.site-wrap { position: relative; }

.section { padding: 96px 0; scroll-margin-top: 70px; }
@media (max-width: 767.98px) { .section { padding: 60px 0; } }
.bg-soft { background: var(--surface); }

:focus-visible { outline: 3px solid rgba(var(--bs-primary-rgb), .45); outline-offset: 3px; border-radius: 6px; }

/* ---------- Shared bits ---------- */
.subtitle, .hero-subtitle {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(var(--bs-primary-rgb), .08);
  color: var(--bs-primary);
  padding: 6px 14px; border-radius: 999px;
  font-weight: 700; font-size: .72rem; letter-spacing: .08em;
  margin-bottom: 16px;
}
.subtitle::before, .hero-subtitle::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--bs-primary);
}
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head p { font-size: 1.1rem; margin-top: 14px; }

.text-gradient {
  background: linear-gradient(90deg, #29828F, #7A1040);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 1.5px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.btn-primary, .btn:not([class*="btn-outline"]):not(.btn-white-outline):not(.btn-light) {
  background: var(--grad); color: #fff;
  box-shadow: 0 10px 24px -8px rgba(var(--bs-primary-rgb), .55);
}
.btn-primary:hover, .btn:not([class*="btn-outline"]):not(.btn-white-outline):not(.btn-light):hover {
  color: #fff; background: var(--grad) !important; border-color: transparent !important;
  transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(var(--bs-primary-rgb), .65);
}
.btn-white-outline, .btn-outline-primary {
  background: #fff; color: var(--ink) !important; border: 1.5px solid var(--line) !important;
  box-shadow: var(--shadow-sm);
}
.btn-white-outline:hover, .btn-outline-primary:hover {
  background: var(--ink) !important; color: #fff !important; border-color: var(--ink) !important;
  transform: translateY(-2px);
}
.btn-sm { padding: 9px 18px; font-size: .85rem; }
.btn-light { background: #fff; color: var(--bs-primary) !important; }
.btn-light:hover { background: var(--bs-secondary) !important; transform: translateY(-2px); }

/* ---------- Navbar ---------- */
.fbs__net-navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1030;
  padding: 14px 0; background: transparent !important; border: 0;
  transition: padding .3s ease, background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
/* The blur lives on a pseudo-element: backdrop-filter on the header itself would
   become the containing block for the fixed-position mobile offcanvas and shrink it. */
.fbs__net-navbar::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 8px 24px -12px rgba(20,38,45,.12);
  opacity: 0; transition: opacity .3s ease;
}
.fbs__net-navbar.scrolled { padding: 8px 0; }
.fbs__net-navbar.scrolled::before { opacity: 1; }
.fbs__net-navbar .navbar-brand { margin: 0 !important; padding: 0; }
.fbs__net-navbar .navbar-brand img { height: 48px; width: auto; transition: height .3s ease; }
.fbs__net-navbar.scrolled .navbar-brand img { height: 40px; }
.fbs__net-navbar .logo.light { display: none; }
.fbs__net-navbar .navbar-nav { gap: 4px; }
.fbs__net-navbar .navbar-nav > li > .nav-link {
  position: relative; padding: 8px 14px; font-size: .92rem; font-weight: 500;
  color: var(--ink) !important; border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}
.fbs__net-navbar .navbar-nav > li > .nav-link:hover { background: rgba(var(--bs-primary-rgb), .08); color: var(--bs-primary) !important; }
.fbs__net-navbar .navbar-nav > li > .nav-link.active { background: rgba(var(--bs-primary-rgb), .12); color: var(--bs-primary) !important; font-weight: 600; }
.nav-cta { margin-left: 12px; }
.fbs__net-navbar-toggler {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: var(--ink); display: none; box-shadow: var(--shadow-sm);
}
@media (max-width: 991.98px) {
  .fbs__net-navbar-toggler { display: flex; }
  .fbs__net-navbar .navbar-nav > li > .nav-link { padding: 12px 14px; font-size: 1.05rem; }
  .nav-cta-desktop { display: none !important; }
  .fbs__net-navbar .offcanvas { background: #fff; z-index: 1045; max-width: 320px; }
  .fbs__net-navbar .offcanvas-header { padding: 18px 20px; border-bottom: 1px solid var(--line); }
  .fbs__net-navbar .offcanvas-body { padding: 16px 20px 28px; flex-direction: column; align-items: stretch !important; }
  .fbs__net-navbar .offcanvas-body .navbar-nav { width: 100%; margin: 0 !important; }
  .fbs__net-navbar .offcanvas-body .btn { width: 100%; }
}
@media (min-width: 992px) {
  .fbs__net-navbar .offcanvas { flex-grow: 1; position: static; visibility: visible !important; transform: none; background: transparent; border: 0; width: auto !important; }
  .fbs__net-navbar .offcanvas-header { display: none; }
  .fbs__net-navbar .offcanvas-body { padding: 0; display: flex; flex-grow: 1; }
}

/* ---------- Hero ---------- */
.hero__v6 {
  position: relative; padding: 150px 0 90px !important; overflow: hidden;
  background:
    radial-gradient(60% 50% at 85% 10%, rgba(var(--bs-secondary-rgb), .65) 0%, transparent 70%),
    radial-gradient(45% 45% at 5% 90%, rgba(var(--bs-primary-rgb), .12) 0%, transparent 70%),
    #fff;
}
.hero__v6::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(20,38,45,.08) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 65%);
}
.hero__v6 .container { position: relative; z-index: 2; }
.hero__v6 .hero-title { font-size: clamp(2.2rem, 5vw, 3.75rem); font-weight: 800; }
.hero__v6 .hero-description { font-size: 1.15rem; max-width: 540px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 8px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 500; color: var(--ink); }
.hero-trust i { color: var(--bs-primary); font-size: 1.1rem; }

.hero-img { position: relative; padding: 0 0 30px 30px; }
.hero-img .img-main {
  position: relative; z-index: 2; width: 100%; aspect-ratio: 4/4.4; object-fit: cover;
  border-radius: 28px !important; box-shadow: var(--shadow-lg);
}
.hero-img::before {
  content: ""; position: absolute; z-index: 1; inset: 30px 0 0 30px;
  border-radius: 28px; background: var(--grad); opacity: .15; transform: rotate(3deg);
}
.float-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  padding: 12px 16px; border-radius: 16px; box-shadow: var(--shadow-md);
  border: 1px solid var(--line); animation: floaty 6s ease-in-out infinite;
}
.float-card .ic {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(var(--bs-primary-rgb), .12); color: var(--bs-primary); font-size: 1.25rem;
}
.float-card strong { display: block; color: var(--ink); font-size: .92rem; line-height: 1.2; }
.float-card small { color: var(--ink-soft); font-size: .78rem; }
.float-card.fc-1 { left: 0; bottom: 70px; }
.float-card.fc-2 { right: -10px; top: 40px; animation-delay: -3s; }
.float-card.fc-2 .ic { background: rgba(var(--bs-accent-rgb), .1); color: var(--bs-accent); }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 991.98px) {
  .hero__v6 { padding-top: 120px !important; }
  .hero-img { padding-left: 0; margin-top: 30px; }
  .float-card.fc-2 { right: 8px; }
  .float-card.fc-1 { left: 8px; }
}

/* ---------- Tools marquee ---------- */
.tools-strip { padding: 28px 0; border-block: 1px solid var(--line); background: #fff; overflow: hidden; }
.tools-strip .label { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); text-align: center; margin-bottom: 16px; }
.marquee { display: flex; width: max-content; animation: scroll 38s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee span {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 28px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: rgba(20,38,45,.45); white-space: nowrap;
}
.marquee span i { color: var(--bs-primary); font-size: 1.2rem; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about__v4 .img-wrap img { width: 100%; aspect-ratio: 4/4.6; object-fit: cover; box-shadow: var(--shadow-lg); }
.about__v4 .mission-statement {
  position: absolute; left: 24px; right: 24px; bottom: -28px;
  background: var(--bs-accent); padding: 22px !important; box-shadow: var(--shadow-lg); width: auto;
}
.about__v4 .mission-statement h3 { font-size: .7rem; letter-spacing: .12em; color: var(--bs-secondary); margin-bottom: 6px; }
.about__v4 .mission-statement p { color: #fff; font-size: .95rem !important; line-height: 1.55; }
.about__v4 .mission-icon { width: 48px; height: 48px; flex: 0 0 48px; display: grid; place-items: center; background: rgba(255,255,255,.14); }
.about__v4 .mission-icon i { color: #fff; }
.about__v4 .features { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px !important; padding: 0; }
.about__v4 .features li { font-weight: 500; color: var(--ink); }
.about__v4 .features li .icon {
  display: inline-grid; place-items: center; width: 24px; height: 24px;
  background: var(--bs-primary); color: #fff; font-size: 1rem;
}
@media (max-width: 767.98px) { .about__v4 .mission-statement { position: relative; left: 0; right: 0; bottom: 0; margin-top: 16px; } }

/* ---------- Benefits (bento) ---------- */
.benefit-card {
  height: 100%; padding: 28px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.benefit-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(var(--bs-primary-rgb), .3); }
.benefit-card .icon {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  background: rgba(var(--bs-primary-rgb), .1); color: var(--bs-primary); font-size: 1.5rem; margin-bottom: 20px;
  transition: background .25s ease, color .25s ease;
}
.benefit-card:hover .icon { background: var(--bs-primary); color: #fff; }
.benefit-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.benefit-card p { margin: 0; font-size: .95rem; }
.video-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); background: #fff; }
.video-card .video-meta { padding: 16px 20px; display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); }
.video-meta i { color: var(--bs-accent); font-size: 1.3rem; }

/* ---------- How it works ---------- */
.steps { position: relative; }
.step-card {
  position: relative; height: 100%; padding: 32px 26px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; flex-direction: column; text-align: left;
  transition: transform .25s ease, box-shadow .25s ease;
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step-number {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--grad); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.1rem;
  margin-bottom: 22px; box-shadow: 0 10px 20px -8px rgba(var(--bs-primary-rgb), .6);
}
.step-card h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 10px; }
.step-card p { font-size: .93rem; margin-bottom: 14px; }
.step-card ul { list-style: none; padding: 0; margin: 0 0 18px; font-size: .9rem; }
.step-card ul li { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 6px; }
.step-card ul li i { color: var(--bs-primary); margin-top: 3px; }
.step-card .btn { margin-top: auto; align-self: flex-start; }
.step-note { font-size: .82rem; font-weight: 600; color: var(--bs-accent); margin-bottom: 14px !important; }
@media (min-width: 992px) {
  .steps .col-lg-3:not(:last-child) .step-card::after {
    content: ""; position: absolute; top: 56px; right: -26px; width: 26px; height: 2px;
    background: repeating-linear-gradient(90deg, rgba(var(--bs-primary-rgb), .5) 0 5px, transparent 5px 10px);
  }
}

/* ---------- Why us ---------- */
.why-item { display: flex; gap: 18px; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); height: 100%; transition: box-shadow .25s ease; }
.why-item:hover { box-shadow: var(--shadow-md); }
.why-item .icon { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 14px; background: var(--bs-secondary); color: var(--bs-primary); display: grid; place-items: center; font-size: 1.35rem; }
.why-item h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.why-item p { margin: 0; font-size: .95rem; }

/* ---------- Courses ---------- */
.course-card {
  position: relative; height: 100%; padding: 30px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease;
}
.course-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--grad);
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.course-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.course-card:hover::before { transform: scaleX(1); }
.course-card .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.course-card .icon { width: 52px; height: 52px; border-radius: 15px; background: rgba(var(--bs-primary-rgb), .1); color: var(--bs-primary); display: grid; place-items: center; font-size: 1.5rem; }
.course-card .num { font-family: var(--font-head); font-weight: 800; font-size: 2.2rem; color: rgba(20,38,45,.07); line-height: 1; }
.course-card h5 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.course-card p { margin: 0; }

/* ---------- Stats ---------- */
.stats__v3 { padding: 40px 0; }
.stats__v3 .content {
  position: relative; overflow: hidden; padding: 56px 24px; border-radius: 28px;
  background: var(--grad); color: #fff;
}
.stats__v3 .content::before, .stats__v3 .content::after {
  content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.18);
}
.stats__v3 .content::before { width: 420px; height: 420px; right: -120px; top: -160px; }
.stats__v3 .content::after { width: 300px; height: 300px; left: -100px; bottom: -140px; }
.stats__v3 .stat-item { position: relative; z-index: 1; }
.stats__v3 h3 { color: #fff; font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 800; margin-bottom: 4px; }
.stats__v3 p { color: rgba(255,255,255,.85); font-weight: 500; }
@media (min-width: 768px) { .stats__v3 .stat-col + .stat-col { border-left: 1px solid rgba(255,255,255,.18); } }

/* ---------- Services / tools ---------- */
.tool-card {
  height: 100%; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .25s ease, box-shadow .25s ease;
}
.tool-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.tool-card .icon { width: 50px; height: 50px; border-radius: 14px; background: var(--bs-secondary); color: var(--bs-primary); display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 18px; }
.tool-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.tool-card p { font-size: .92rem; margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { padding: 5px 12px; font-size: .78rem; font-weight: 600; color: var(--bs-primary); background: rgba(var(--bs-primary-rgb), .08); border-radius: 999px; }

/* ---------- Gallery ---------- */
#scrolling-gallery { padding: 20px 0 90px; }
.gallery-slider img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius) !important; box-shadow: var(--shadow-sm); }

/* ---------- Testimonials ---------- */
.testimonial-card {
  max-width: 780px; padding: 44px 40px !important; background: #fff; border: 1px solid var(--line);
  border-radius: 28px !important; box-shadow: var(--shadow-md) !important; position: relative; text-align: center;
}
.testimonial-card::before {
  content: "\201C"; position: absolute; top: 10px; left: 28px; font-family: Georgia, serif;
  font-size: 7rem; line-height: 1; color: rgba(var(--bs-primary-rgb), .12);
}
.testimonial-card img { border: 4px solid #fff; box-shadow: 0 0 0 3px rgba(var(--bs-primary-rgb), .25); }
.testimonial-card .quote { font-size: 1.2rem !important; color: var(--ink); line-height: 1.6; font-style: normal !important; font-weight: 500; }
.testimonial-card .stars i { font-size: 1rem !important; }
#testimonialsCarousel { padding-bottom: 56px; }
#testimonialsCarousel .carousel-indicators { bottom: 0; margin-bottom: 0; }
#testimonialsCarousel .carousel-indicators [data-bs-target] {
  width: 10px; height: 10px; border-radius: 50%; border: 0; background: var(--bs-primary); opacity: .25; transition: all .3s ease;
}
#testimonialsCarousel .carousel-indicators .active { width: 28px; border-radius: 6px; opacity: 1; }
#testimonialsCarousel .carousel-control-prev, #testimonialsCarousel .carousel-control-next {
  width: 48px; height: 48px; top: 50%; bottom: auto; transform: translateY(-50%); opacity: 1;
  background: #fff; border-radius: 50%; box-shadow: var(--shadow-md); border: 1px solid var(--line);
}
#testimonialsCarousel .carousel-control-prev { left: 0; }
#testimonialsCarousel .carousel-control-next { right: 0; }
#testimonialsCarousel .carousel-control-prev-icon, #testimonialsCarousel .carousel-control-next-icon { filter: invert(.2); width: 1rem; height: 1rem; }
@media (max-width: 991.98px) {
  #testimonialsCarousel .carousel-control-prev, #testimonialsCarousel .carousel-control-next { display: none; }
  .testimonial-card { padding: 36px 22px !important; }
}

/* ---------- FAQ ---------- */
.faq__v2 .accordion-item {
  border: 1px solid var(--line); border-radius: 16px !important; margin-bottom: 12px; overflow: hidden; background: #fff;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.faq__v2 .accordion-item:has(.accordion-button:not(.collapsed)) { border-color: rgba(var(--bs-primary-rgb), .35); box-shadow: var(--shadow-md); }
.faq__v2 .accordion-button {
  padding: 22px 26px; font-family: var(--font-head); font-size: 1.05rem; font-weight: 700;
  color: var(--ink); background: transparent; box-shadow: none !important;
}
.faq__v2 .accordion-button:not(.collapsed) { color: var(--bs-primary); background: transparent; }
.faq__v2 .accordion-button::after { background-size: 1rem; }
.faq__v2 .accordion-body { padding: 0 26px 24px; color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.contact-item { display: flex; gap: 16px; align-items: center; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: box-shadow .25s ease, transform .25s ease; }
.contact-item:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }
.contact-item .icon { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 14px; background: rgba(var(--bs-primary-rgb), .1); color: var(--bs-primary); display: grid; place-items: center; font-size: 1.25rem; }
.contact-item small { display: block; color: var(--ink-soft); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.contact-item strong, .contact-item address { color: var(--ink); margin: 0; font-style: normal; font-weight: 600; }
.perks { margin-top: 28px; padding: 22px; border-radius: 16px; background: rgba(var(--bs-secondary-rgb), .35); }
.perks ul { margin: 0; padding: 0; list-style: none; }
.perks li { display: flex; gap: 10px; margin-bottom: 8px; font-weight: 500; color: var(--ink); }
.perks li:last-child { margin: 0; }
.perks i { color: var(--bs-primary); }

.form-wrapper { padding: 36px; background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow-lg); }
@media (max-width: 575.98px) { .form-wrapper { padding: 24px 18px; } }
.form-wrapper label { font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.form-control {
  padding: 13px 16px; font-size: 1rem; background: var(--surface);
  border: 1.5px solid transparent; border-radius: 12px; color: var(--ink);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.form-control:hover { border-color: var(--line); }
.form-control:focus { background: #fff; border-color: var(--bs-primary); box-shadow: 0 0 0 4px rgba(var(--bs-primary-rgb), .12); outline: none; }
.form-wrapper .btn[type=submit] { width: 100%; padding: 15px; font-size: 1rem; }
.form-wrapper .alert { border-radius: 12px; }

/* ---------- Footer ---------- */
.footer { background: #0f1f25; color: rgba(255,255,255,.7); padding: 80px 0 30px; position: relative; overflow: hidden; }
.footer::before {
  content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--bs-primary-rgb), .35), transparent 70%);
}
.footer .container { position: relative; z-index: 1; }
.footer .logo-wrap { display: inline-block; background: #fff; padding: 12px 18px; border-radius: 14px; margin-bottom: 26px; }
.footer .logo-wrap img { height: 54px; width: auto; display: block; }
.footer h2 { color: #fff; font-size: 1.6rem; font-weight: 800; }
.footer p { color: rgba(255,255,255,.7); font-size: 1.05rem; max-width: 560px; margin: 0 auto 28px; }
.footer a { color: #fff; text-decoration: none; font-weight: 600; }
.footer a:hover { color: var(--bs-secondary); }
.footer .social-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 11px 20px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: .95rem; margin: 0;
  transition: background .2s ease, transform .2s ease;
}
.footer .social-pill:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.footer .social-pill i { color: var(--bs-secondary); font-size: 1.1rem; }
.footer .copyright { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.55); font-size: .85rem; }

/* ---------- Back to top ---------- */
#back-to-top {
  position: fixed; bottom: 0; right: 20px; width: 46px; height: 46px; padding: 0;
  display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--grad); color: #fff; box-shadow: var(--shadow-md);
  visibility: hidden; opacity: 0; transition: all .3s ease; z-index: 1000;
}
#back-to-top i { font-size: 1.5rem; position: static; transform: none; }
#back-to-top.show { bottom: 22px; opacity: 1; visibility: visible; }
#back-to-top:hover { transform: translateY(-3px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}