/* =============================================================
   COE IMSciences — style.css
   Bootstrap 5 handles layout/grid/components.
   This file only overrides brand colours & handles patterns
   Bootstrap cannot do (carousel image layout, notif panel,
   background gradient, course row interactions).
   ============================================================= */

/* ── Brand Variables + Bootstrap Token Overrides ──────────── */
:root {
  /* Brand palette */
  --primary: #fac0b4;
  --primary-dark: #fb755a;
  --secondary: #ff2d2e;
  --secondary-hover: #fac0b4;
  --purple: #5856a5;
  --texture-orange: #fd6736;
  --text-dark: #1f1f1f;
  --text-muted-brand: #323131;
  --text-light: rgba(31, 31, 31, 0.75);
  --text-faint: rgba(59, 59, 59, 0.55);
  --white: #ffffff;

  /* Bootstrap overrides */
  --bs-body-bg: #fac0b4;
  --bs-body-color: #1f1f1f;
  --bs-primary: #ff2d2e;
  --bs-primary-rgb: 255, 45, 46;
  --bs-link-color: var(--secondary);
  --bs-link-hover-color: var(--primary-dark);
  --bs-body-font-family: "British Council Sans", sans-serif;
  --bs-border-radius-lg: 0.75rem;

  /* Accordion Bootstrap tokens */
  --bs-accordion-bg: rgba(255, 255, 255, 0.45);
  --bs-accordion-border-color: rgba(89, 86, 165, 0.18);
  --bs-accordion-btn-color: var(--text-dark);
  --bs-accordion-active-color: var(--secondary);
  --bs-accordion-active-bg: rgba(255, 255, 255, 0.65);
  --bs-accordion-btn-focus-shadow: 0 0 0 0.25rem rgba(255, 45, 46, 0.2);
  --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ff2d2e'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* ==========================================================
   BRITISH COUNCIL SANS
   ========================================================== */

@font-face {
  font-family: "British Council Sans";
  src: url("/fonts/BritishCouncilSans-XLt.otf") format("opentype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "British Council Sans";
  src: url("/fonts/BritishCouncilSans-Lt.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "British Council Sans";
  src: url("/fonts/BritishCouncilSans-LtIt.otf") format("opentype");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "British Council Sans";
  src: url("/fonts/BritishCouncilSans-Rg.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "British Council Sans";
  src: url("/fonts/BritishCouncilSans-It.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "British Council Sans";
  src: url("/fonts/BritishCouncilSans-Bd.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "British Council Sans";
  src: url("/fonts/BritishCouncilSans-BdIt.otf") format("opentype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "British Council Sans";
  src: url("/fonts/BritishCouncilSans-Blk.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ── Base ──────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
}

body {
  font-family: var(--bs-body-font-family);
  color: var(--text-dark);
  background: var(--primary);
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  color: var(--secondary);
}

img {
  max-width: 100%;
  display: block;
}

/* ── Page Background Gradient ─────────────────────────────── */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--primary);
  overflow: hidden;
}

.page-bg::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 20% 30%, rgba(89, 86, 165, 0.18), transparent 55%),
    radial-gradient(circle at 80% 20%, rgba(254, 101, 48, 0.14), transparent 50%),
    radial-gradient(circle at 60% 80%, rgba(89, 86, 165, 0.12), transparent 60%);
  filter: blur(40px);
  transform: scale(1.1);
}

/* ── Header / Navbar ──────────────────────────────────────── */
.site-header {
  z-index: 1050;
}

.partner-logo {
  height: 30px;
  width: auto;
  object-fit: contain;
}

@media (min-width: 768px) {
  .partner-logo {
    height: 44px;
  }
}

.logo-strip-img {
  max-height: 58px;
  object-fit: contain;
}

@media (min-width: 768px) {
  .logo-strip-img {
    max-height: 76px;
  }
}

.coename-text {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--purple);
  line-height: 1.35;
  text-align: center;
}

@media (min-width: 768px) {
  .coename-text {
    font-size: 0.8rem;
  }
}

/* Navbar brand colour */
.navbar-purple {
  background-color: var(--purple) !important;
}

/* Nav link colours + active */
.navbar-purple .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.navbar-purple .navbar-nav .nav-link:hover,
.navbar-purple .navbar-nav .nav-link.active {
  color: var(--secondary) !important;
}

.navbar-purple .navbar-nav .nav-link.active {
  font-weight: 700;
}

/* Hamburger icon colour */
.navbar-purple .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.3);
}

.navbar-purple .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255%2C255%2C255%2C0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Notification trigger */
.nav-notif-trigger {
  cursor: pointer;
}

.notif-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--secondary);
  border-radius: 50%;
  vertical-align: middle;
  margin-left: 3px;
  flex-shrink: 0;
}

/* Text-size button */
.btn-a11y {
  width: 2.4rem;
  height: 2.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: #fff;
  flex-shrink: 0;
  transition: background 0.2s;
}

.btn-a11y:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
}

/* ── Notification Panel ───────────────────────────────────── */
.notif-overlay {
  position: fixed;
  inset: 0;
  background: rgba(89, 86, 165, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1060;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}

.notif-overlay.active {
  opacity: 1;
  visibility: visible;
}

.notif-panel {
  position: fixed;
  top: 140px;
  left: 50%;
  transform: translate(-50%, -12px);
  width: min(34rem, 92vw);
  max-height: 72vh;
  background: var(--primary);
  border: 1px solid rgba(89, 86, 165, 0.2);
  border-radius: 0.85rem;
  box-shadow: 0 32px 64px -16px rgba(89, 86, 165, 0.35);
  z-index: 1065;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease;
  display: flex;
  flex-direction: column;
}

.notif-panel.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.notif-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(89, 86, 165, 0.15);
}

.notif-panel-header h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--purple);
}

.notif-close {
  background: none;
  border: none;
  color: var(--secondary);
  font-size: 1.5rem;
  line-height: 1;
  padding: 0;
  cursor: pointer;
}

.notif-close:hover {
  color: var(--primary-dark);
}

.notif-panel-body {
  padding: 0.25rem 1.5rem;
  overflow-y: auto;
  flex: 1;
}

.notif-card {
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(89, 86, 165, 0.1);
}

.notif-card:last-child {
  border-bottom: none;
}

.notif-card h4 {
  margin: 0 0 0.3rem;
  font-size: 0.95rem;
  color: var(--secondary);
  font-weight: 700;
  animation: textAnimation 2.5s ease-in-out infinite alternate;
}

@keyframes textAnimation {
  0%, 100% {
    color: var(--secondary);
    text-shadow: 0 0 5px rgba(253, 103, 54, 0.6), 0 0 10px rgba(253, 103, 54, 0.4);
  }

  50% {
    color: white;
    text-shadow: 0 0 10px rgba(220, 220, 220, 0.8);
  }
  
}

.notif-card p {
  margin: 0 0 0.4rem;
  font-size: 0.875rem;
  color: var(--text-dark);
}

.notif-date {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.72rem;
  color: var(--text-faint);
}

.notif-panel-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(89, 86, 165, 0.15);
}

/* body.notif-open {
  overflow: hidden;
}

/* Footer "Apply Now" button — glowing pulse, matches site's brand red */
.notif-apply-btn {
  position: relative;
  background: var(--secondary);
  color: #fff;
}

/* Notification panel — extra breathing room on small phones */
@media (max-width: 480px) {
  .notif-panel {
    top: 100px;
    width: 94vw;
    max-height: 78vh;
  }

  .notif-panel-header,
  .notif-panel-footer {
    padding: 1rem 1.1rem;
  }

  .notif-panel-body {
    padding: 0.25rem 1.1rem;
  }
}

/* Make the newest (top) notification stand out */
.notif-card:first-child {
  position: relative;
  border: 1px solid rgba(253, 103, 54, 0.35);
  border-radius: 0.6rem;
  padding: 1rem 1.1rem 1.1rem;
  margin-bottom: 0.4rem;
  background: rgba(253, 103, 54, 0.05);
}

.notif-card:first-child::before {
  content: 'NEW';
  position: absolute;
  top: 10px;
  right: 12px;
  background: var(--texture-orange);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.15rem 0.55rem;
  border-radius: 50px;
  box-shadow: 0 2px 6px rgba(253, 103, 54, 0.4);
}


/* ==========================================================
   HERO CAROUSEL
   ========================================================== */

.hero-section {
  width: 100%;
  display: flex;
  justify-content: center;
  overflow: hidden;
  padding: 1rem 2rem 2rem;
}

@media (min-width:768px) {
  .hero-section {
    padding: 3rem 4rem 2rem;
  }
}

/* ==========================================================
   DESKTOP HERO
   ========================================================== */

.hero-slick {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hero-slide {
  position: relative;
}

.hero-slide-images {
  position: relative;
  display: flex;
  gap: 2px;
  height: 300px;
}

@media (min-width:768px) {
  .hero-slide-images {
    height: 400px;
  }
}

@media (min-width:1200px) {
  .hero-slide-images {
    height: 440px;
  }
}

/* Layout */

.hero-img-half {
  width: 50%;
  position: relative;
  overflow: hidden;
}

.hero-img-quarters {
  width: 50%;
  display: flex;
  gap: 2px;
}

.hero-img-col {
  flex: 1;
  position: relative;
  overflow: hidden;
}

/* Images */

.hero-img-half img,
.hero-img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Optional crop adjustment */

.hero-slide-images.one-plus-two .hero-img-half img,
.hero-slide-images.one-plus-two .hero-img-quarters .hero-img-col:first-child img,
.hero-slide-images.one-plus-two .hero-img-quarters .hero-img-col:last-child img {
  object-position: 75% center;
}

/* Overlay */

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .35);
}

/* Caption */

.hero-caption {
  position: absolute;
  left: 3rem;
  right: 10%;
  bottom: 2rem;
  z-index: 2;
}

.hero-caption h1 {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 .5rem;
}

.hero-caption p {
  color: #fff;
  font-size: .875rem;
  margin: 0;
}

/* ==========================================================
   DESKTOP SLICK DOTS
   ========================================================== */

.hero-slick .slick-dots {
  bottom: 14px;
}

.hero-slick .slick-dots li {
  margin: 0 3px;
}

.hero-slick .slick-dots li button:before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .35);
  opacity: 1;
  transition: .25s;
}

.hero-slick .slick-dots li.slick-active button:before {
  width: 28px;
  background: var(--secondary);
}

/* Hide dots ONLY on mobile carousel */
.hero-slick-mobile .slick-dots {
  display: none !important;
}

.hero-slick .slick-arrow,
.hero-slick-mobile .slick-arrow {
  z-index: 3;
}

/* ==========================================================
   MOBILE HERO CAPTION
   ========================================================== */
@media (max-width:767.98px) {

  .hero-mobile-image {
    position: relative;
    height: 350px;
    overflow: hidden;
  }

  .hero-mobile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .18);
  }

  .hero-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    padding: .75rem .9rem;

    background: linear-gradient(to top,
        rgba(0, 0, 0, .78) 0%,
        rgba(0, 0, 0, .45) 55%,
        rgba(0, 0, 0, 0) 100%);

    z-index: 2;
  }

  .hero-caption h1 {
    margin: 0 0 .25rem;
    color: #fff;
    font-size: 1rem;
    line-height: 1.2;
  }

  .hero-caption p {
    margin: 0;
    color: #fff;
    font-size: .68rem;
    line-height: 1.35;
  }

}

/* ── Home Page Sections ───────────────────────────────────── */
.section-divider {
  width: 48px;
  height: 4px;
  background: var(--secondary);
  border-radius: 2px;
}

/* Hub & Spoke bullet dot */
.spoke-dot {
  color: var(--secondary);
  font-weight: 900;
  font-size: 1.1rem;
}

/* Course category pills (homepage) */
.cat-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(89, 86, 165, 0.14);
  border-radius: 0.5rem;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--text-dark);
}

.cat-dot {
  color: var(--secondary);
  font-size: 1.1rem;
  font-weight: 900;
}

/* Content cards (about sections) */
.content-card {
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(89, 86, 165, 0.1);
  border-radius: 0.85rem;
}

/* ── Courses Page ─────────────────────────────────────────── */
.cp-intro-box {
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(89, 86, 165, 0.15);
  border-radius: 0.85rem;
}

.cp-intro-title {
  color: var(--secondary);
  font-size: 1.1rem;
  font-weight: 700;
}

.cp-badge-open {
  margin-left: auto;
  background: #16a34a;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.cp-badge-closed {
  margin-left: auto;
  background: var(--secondary);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.cp-center-heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.5rem;
}

.cp-hub {
  color: var(--text-light);
  font-weight: 400;
}

/* Course row (the arrow-button style) */
.cp-course-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: 0.6rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(89, 86, 165, 0.15);
  color: var(--text-dark);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.cp-course-row:hover {
  background: rgba(255, 45, 46, 0.08);
  border-color: rgba(255, 45, 46, 0.35);
  color: var(--text-dark);
  transform: translateX(4px);
}

.cp-course-row--prev {
  opacity: 0.72;
  color: var(--text-light);
}

.cp-course-row--prev:hover {
  opacity: 0.9;
  transform: none;
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(89, 86, 165, 0.2);
  color: var(--text-dark);
}

.cp-arrow-btn {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary);
  color: #fff;
  border-radius: 50%;
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.cp-course-row:hover .cp-arrow-btn {
  background: var(--primary-dark);
  transform: translateX(2px);
}

.cp-arrow-btn--muted {
  background: rgba(89, 86, 165, 0.2);
  color: var(--text-light);
}

.cp-course-row--prev:hover .cp-arrow-btn--muted {
  background: rgba(89, 86, 165, 0.35);
}

.cp-spoke-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
}

/* ── Course Detail Page ───────────────────────────────────── */
.cd-breadcrumb a {
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.9rem;
}

.cd-breadcrumb a:hover {
  color: var(--primary-dark);
}

.cd-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.2;
}

@media (min-width: 768px) {
  .cd-title {
    font-size: 3rem;
  }
}

.cd-tagline {
  color: var(--text-muted-brand);
  font-size: 1rem;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .cd-tagline {
    font-size: 1.1rem;
  }
}

.cd-card {
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(89, 86, 165, 0.12) !important;
  border-radius: 0.85rem !important;
}

.cd-meta-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.35rem;
}

.cd-meta-value {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.65;
  margin: 0;
}

.cd-learn-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.9rem;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(89, 86, 165, 0.1);
  border-radius: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.cd-check {
  color: var(--secondary);
  flex-shrink: 0;
}

.cd-cta-box {
  border: 2px solid var(--secondary);
  border-radius: 0.85rem;
  padding: 2.5rem 1.5rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.2);
}

.cd-cta-box--closed {
  border-color: rgba(89, 86, 165, 0.3);
}

/* ── FAQ – Bootstrap Accordion Overrides ─────────────────── */
.accordion-item {
  background: rgba(255, 255, 255, 0.38) !important;
  border: 1px solid rgba(89, 86, 165, 0.15) !important;
  border-radius: 0.6rem !important;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.accordion-button {
  background: rgba(255, 255, 255, 0.42) !important;
  color: var(--text-dark) !important;
  font-weight: 600;
}

.accordion-button:not(.collapsed) {
  background: rgba(255, 255, 255, 0.65) !important;
  color: var(--secondary) !important;
  box-shadow: none !important;
}

.accordion-body {
  background: rgba(255, 255, 255, 0.2);
  color: var(--text-light);
  line-height: 1.75;
}

/* ── Global Button Overrides ──────────────────────────────── */
.btn-brand {
  background: var(--secondary);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  transition: all 0.25s ease;
}

.btn-brand:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -6px rgba(255, 45, 46, 0.45);
}

.btn-brand-outline {
  background: transparent;
  color: var(--secondary);
  border: 2px solid var(--secondary);
  border-radius: 999px;
  font-weight: 700;
  transition: all 0.25s ease;
}

.btn-brand-outline:hover {
  background: var(--secondary);
  color: #fff;
}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid rgba(89, 86, 165, 0.18);
  background: var(--primary);
  position: relative;
  z-index: 2;
}

.footer-heading {
  color: var(--secondary);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.footer-link {
  color: var(--text-light);
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.45rem;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--secondary);
}

.footer-social-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 45, 46, 0.08);
  border: 1px solid rgba(255, 45, 46, 0.2);
  border-radius: 50%;
  color: var(--purple);
  transition: all 0.2s ease;
}

.footer-social-btn:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 45, 46, 0.3);
}

@media (max-width: 767.98px) {
  .site-footer .row>[class*="col-"] {
    margin-bottom: 0.35rem;
  }

  .site-footer .footer-heading {
    margin-bottom: 0.45rem;
  }
}

.spoke-footer-card {
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(89, 86, 165, 0.14) !important;
  border-radius: 0.65rem !important;
  height: 100%;
}

.spoke-footer-title {
  color: var(--secondary);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.spoke-footer-inst {
  font-size: 0.82rem;
  color: var(--text-dark);
  line-height: 1.5;
  margin-bottom: 0.35rem;
}

.spoke-footer-addr {
  font-size: 0.75rem;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 0.6rem;
}

.spoke-footer-link {
  font-size: 0.8rem;
  color: var(--secondary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.spoke-footer-link:hover {
  color: var(--primary-dark);
}

.footer-legal-box {
  border: 1px solid rgba(89, 86, 165, 0.18);
  border-radius: 0 0 1rem 0;
  padding: 1rem 1.25rem;
}

.footer-legal-text {
  font-size: 0.82rem;
  color: var(--text-faint);
  line-height: 1.65;
  text-align: justify;
}

.auth-feedback {
  font-size: 0.82rem;
  min-height: 1.2em;
  margin-top: 0.5rem;
}

.auth-feedback.success {
  color: #16a34a;
}

.auth-feedback.error {
  color: var(--secondary);
}

/* ==========================
   MOBILE FOOTER ONLY
   ========================== */

@media (max-width:767.98px){

.site-footer .row.g-4{
    row-gap:1.5rem !important;
}

.site-footer .footer-heading{
    margin-bottom:.75rem;
}

.site-footer .footer-link{
    margin-bottom:.45rem;
    line-height:1.5;
}

.site-footer .footer-social-btn{
    width:38px;
    height:38px;
}

.site-footer .d-flex.gap-2{
    gap:.6rem !important;
}

.site-footer .mb-3{
    margin-bottom:1.4rem !important;
}

.site-footer .mt-3{
    margin-top:1rem !important;
}

.site-footer .btn-brand{
    margin-top:.5rem;
}

}

/* ── 404 Page ─────────────────────────────────────────────── */
.notfound-card {
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(89, 86, 165, 0.15);
  border-radius: 1rem;
}