:root {
  --mbankomo-green-950: #073b2c;
  --mbankomo-green-900: #0b5138;
  --mbankomo-green-700: #16834c;
  --mbankomo-green-500: #35ad65;
  --mbankomo-green-100: #eaf6ee;
  --mbankomo-ink: #1d3028;
  --mbankomo-muted: #63736a;
  --mbankomo-surface: #fff;
  --mbankomo-shadow: 0 18px 48px rgba(17, 58, 39, .11);
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--mbankomo-ink);
  background: #f5f8f5;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.7;
}

a {
  transition: color .2s ease, opacity .2s ease;
}

.navbar-custom {
  position: relative;
  z-index: 20;
  padding: .8rem 0;
  background: linear-gradient(112deg, #073b2c 0%, #0c6840 55%, #16834c 100%);
  box-shadow: 0 8px 28px rgba(7, 59, 44, .2);
}

.navbar-custom::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  content: "";
}

.navbar-custom .navbar-brand,
.navbar-custom .nav-link {
  color: rgba(255, 255, 255, .92) !important;
}

.navbar-custom .nav-link {
  padding: .6rem .65rem;
  font-size: .92rem;
  font-weight: 600;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link:focus {
  color: #c9f3d4 !important;
}

.navbar-custom .dropdown-menu {
  border: 1px solid rgba(15, 86, 51, .08);
  border-radius: 14px;
  box-shadow: var(--mbankomo-shadow);
}

.navbar-custom .dropdown-item {
  padding: .55rem 1rem;
}

.navbar-custom .dropdown-item:hover,
.navbar-custom .dropdown-item:focus {
  color: var(--mbankomo-green-900);
  background: var(--mbankomo-green-100);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 8vw, 6.5rem) 1rem;
  background:
    radial-gradient(ellipse at 80% 10%, rgba(161, 234, 173, .32), transparent 35%),
    linear-gradient(120deg, #073b2c 0%, #0c6840 58%, #35ad65 100%);
  color: #fff;
}

.hero::after {
  position: absolute;
  right: -5rem;
  bottom: -13rem;
  width: 28rem;
  height: 28rem;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  box-shadow: 0 0 0 2rem rgba(255,255,255,.035), 0 0 0 4rem rgba(255,255,255,.025);
  content: "";
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.blog {
  padding: clamp(2rem, 5vw, 4rem) 0;
  background:
    radial-gradient(ellipse at 0% 20%, rgba(70, 166, 97, .08), transparent 42%),
    #f5f8f5;
}

.blog-post,
.blog .bg-body-tertiary {
  padding: clamp(1.25rem, 3vw, 2rem);
  background: #fff;
}

.blog-post-title {
  color: var(--mbankomo-green-900);
  font-weight: 750;
  letter-spacing: -.025em;
}

.blog-post-meta {
  color: var(--mbankomo-muted);
}

.blog .position-sticky > .p-4 {
  margin-bottom: 1rem;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(23, 61, 39, .08);
}

.banner-section {
  position: relative;
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1rem, 2vw, 2rem);
  overflow: hidden;
  background:
    radial-gradient(ellipse at 12% 0%, rgba(80, 183, 111, .32), transparent 42%),
    radial-gradient(ellipse at 88% 100%, rgba(53, 173, 101, .27), transparent 38%),
    linear-gradient(145deg, #fbfdfb 0%, #e5f2e9 100%);
}

.banner-section::before,
.banner-section::after {
  position: absolute;
  z-index: 0;
  content: "";
  pointer-events: none;
  will-change: transform, border-radius;
}

.banner-section::before {
  top: -10rem;
  right: -10%;
  width: 110%;
  height: 28rem;
  border: 1px solid rgba(19, 143, 102, .26);
  border-radius: 42% 58% 64% 36% / 48% 42% 58% 52%;
  background:
    radial-gradient(ellipse at 24% 52%, rgba(74, 205, 154, .48), transparent 46%),
    radial-gradient(ellipse at 57% 40%, rgba(74, 184, 118, .32), transparent 51%),
    radial-gradient(ellipse at 84% 58%, rgba(78, 196, 184, .38), transparent 48%);
  filter: blur(0);
  animation: banner-water-flow 9s ease-in-out infinite alternate;
  box-shadow: 0 0 0 2rem rgba(22, 131, 76, .045), 0 0 0 4rem rgba(22, 131, 76, .035);
}

.banner-section::after {
  bottom: -11rem;
  left: -12%;
  width: 105%;
  height: 27rem;
  border: 1px solid rgba(19, 143, 102, .2);
  border-radius: 62% 38% 44% 56% / 55% 60% 40% 45%;
  background:
    radial-gradient(ellipse at 32% 46%, rgba(114, 218, 164, .42), transparent 49%),
    radial-gradient(ellipse at 69% 55%, rgba(52, 179, 133, .3), transparent 53%),
    radial-gradient(ellipse at 91% 35%, rgba(119, 205, 186, .35), transparent 46%);
  filter: blur(1px);
  animation: banner-water-flow 12s ease-in-out infinite alternate-reverse;
}

@keyframes banner-water-flow {
  0% {
    transform: translate3d(-3%, -4%, 0) rotate(-3deg) scale(1);
    border-radius: 42% 58% 64% 36% / 48% 42% 58% 52%;
  }
  50% {
    transform: translate3d(3%, 5%, 0) rotate(4deg) scale(1.06);
    border-radius: 58% 42% 38% 62% / 42% 56% 44% 58%;
  }
  100% {
    transform: translate3d(-2%, 4%, 0) rotate(-4deg) scale(.97);
    border-radius: 46% 54% 60% 40% / 58% 44% 56% 42%;
  }
}

#bannerCarousel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1760px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.95);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 30px 78px rgba(12, 72, 44, .18), 0 0 0 1px rgba(53, 173, 101, .08);
  animation: banner-frame-glow 5s ease-in-out infinite;
}

#bannerCarousel .carousel-inner {
  border-radius: inherit;
}

#bannerCarousel .banner-slide {
  position: relative;
  min-height: 640px;
  margin: 0;
  padding: clamp(1.25rem, 3vw, 2.5rem) !important;
  align-items: stretch !important;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(71, 184, 107, .11), transparent 42%),
    linear-gradient(110deg, #fff 0%, #f2f8f3 100%);
}

#bannerCarousel .banner-slide > .col-md-6:first-child {
  position: relative;
  flex: 0 0 62%;
  max-width: 62%;
  min-height: 580px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 18px;
  background: #e5eee7;
  box-shadow: 0 16px 38px rgba(7, 59, 44, .17);
}

#bannerCarousel .banner-slide > .col-md-6:first-child::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(8, 61, 37, .08);
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255,255,255,.12), transparent 34%),
    linear-gradient(180deg, rgba(5, 39, 27, .015), transparent 25%, transparent 76%, rgba(5, 39, 27, .12));
  content: "";
  pointer-events: none;
}

#bannerCarousel .banner-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.08) contrast(1.025);
  transition: transform 1s cubic-bezier(.2,.7,.2,1), filter .5s ease;
}

#bannerCarousel .carousel-item.active .banner-slide img {
  animation: banner-image-reveal 1.4s cubic-bezier(.2,.7,.2,1) both;
}

#bannerCarousel .banner-slide:hover img {
  transform: scale(1.045);
  filter: saturate(1.14) contrast(1.04);
}

#bannerCarousel .text-section {
  display: flex;
  flex: 1 1 38%;
  max-width: 38%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3.75rem);
}

#bannerCarousel .text-section::before {
  margin-bottom: 1rem;
  color: var(--mbankomo-green-700);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  content: "Commune de Mbankomo";
}

#bannerCarousel .text-section h2 {
  margin-bottom: .85rem;
  color: var(--mbankomo-green-950) !important;
  font-size: clamp(2rem, 3.2vw, 3.1rem);
  font-weight: 750 !important;
  letter-spacing: -.03em;
  line-height: 1.18;
}

#bannerCarousel .text-section h2::after {
  display: block;
  width: 2.75rem;
  height: 3px;
  margin-top: .9rem;
  border-radius: 3px;
  background: linear-gradient(90deg, #0b6840, #53c878, #a5e5a5);
  background-size: 180% 100%;
  animation: banner-accent-shimmer 3.5s ease-in-out infinite alternate;
  content: "";
}

#bannerCarousel .text-section p {
  display: -webkit-box;
  margin: 0 0 1.5rem;
  overflow: hidden;
  color: #52635a;
  font-size: 1rem;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

#bannerCarousel .carousel-control-prev,
#bannerCarousel .carousel-control-next {
  top: 50%;
  bottom: auto;
  width: 46px;
  height: 46px;
  margin: 0 1rem;
  transform: translateY(-50%);
  border: 1px solid rgba(255,255,255,.88);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(7, 59, 44, .94), rgba(22, 131, 76, .9));
  opacity: .9;
  box-shadow: 0 5px 18px rgba(5, 43, 29, .3);
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}

#bannerCarousel .carousel-control-prev:hover,
#bannerCarousel .carousel-control-next:hover {
  transform: translateY(-50%) scale(1.06);
  background: var(--mbankomo-green-700);
  box-shadow: 0 0 0 5px rgba(53, 173, 101, .16), 0 8px 22px rgba(5, 43, 29, .3);
  opacity: 1;
}

@keyframes banner-frame-glow {
  0%, 100% { box-shadow: 0 30px 78px rgba(12, 72, 44, .16), 0 0 0 1px rgba(53, 173, 101, .06); }
  50% { box-shadow: 0 34px 86px rgba(12, 72, 44, .22), 0 0 0 5px rgba(53, 173, 101, .08); }
}

@keyframes banner-image-reveal {
  from { transform: scale(1.045); }
  to { transform: scale(1); }
}

@keyframes banner-accent-shimmer {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

.btn-green,
.btn-gradient,
.btn-gradient-green,
.btn-degrade,
.btn-success,
.contact-form button,
.content-wrapper .btn-primary {
  border: 0 !important;
  border-radius: 999px;
  background: linear-gradient(120deg, #0b5138 0%, #16834c 48%, #45bd6f 100%) !important;
  color: #fff !important;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(16, 117, 65, .22);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.btn-green,
.btn-gradient,
.btn-gradient-green,
.btn-degrade,
.btn-success,
.contact-form button {
  padding: .72rem 1.35rem;
}

.btn-green:hover,
.btn-gradient:hover,
.btn-gradient-green:hover,
.btn-degrade:hover,
.btn-success:hover,
.contact-form button:hover,
.content-wrapper .btn-primary:hover {
  transform: translateY(-2px);
  filter: saturate(1.12) brightness(1.04);
  box-shadow: 0 12px 25px rgba(16, 117, 65, .3);
}

.btn:focus-visible,
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(53, 173, 101, .42);
  outline-offset: 3px;
}

.section-title,
section h2.text-success,
section h3.text-success {
  color: var(--mbankomo-green-900) !important;
  font-weight: 750;
  letter-spacing: -.025em;
}

.section-title::after {
  display: block;
  width: 3rem;
  height: 3px;
  margin: .75rem auto 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--mbankomo-green-700), #8bd36e);
  content: "";
}

.actualite-item,
.card,
.article-card,
.stat-box,
.contact-section,
.contact-form,
.contact-map,
.post-image-container,
.list-group,
.blog-post,
.bg-body-tertiary {
  border: 1px solid rgba(19, 83, 49, .08);
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(23, 61, 39, .09);
}

.card {
  overflow: hidden;
  background: var(--mbankomo-surface);
  transition: transform .28s ease, box-shadow .28s ease;
}

.card:hover,
.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 44px rgba(23, 61, 39, .15);
}

.card-img-top {
  max-height: 250px;
  object-fit: cover;
}

.card-body {
  padding: 1.4rem;
}

.article-card {
  overflow: hidden;
  background: var(--mbankomo-surface);
}

.article-img {
  min-height: 250px;
  object-fit: cover;
}

.actualite-item {
  background-position: center;
  background-size: cover;
  transition: transform .3s ease, box-shadow .3s ease;
}

.actualite-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(8, 48, 30, .2);
}

.actualite-content {
  border-radius: 0 0 18px 18px;
  background: linear-gradient(0deg, rgba(5, 38, 27, .94), rgba(5, 38, 27, .08));
}

.actualite-carousel {
  height: 390px;
  max-width: 1120px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(23, 61, 39, .12);
}

.actualite-carousel .carousel-wrapper {
  display: flex;
  width: 100%;
  flex-direction: column;
  animation: mbankomo-actualites-up 36s linear infinite;
  will-change: transform;
}

.actualite-carousel .actualite-item {
  position: relative;
  display: flex;
  flex: 0 0 390px;
  align-items: stretch;
  width: 100%;
  height: 390px;
  min-height: 390px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background-color: #e5eee7;
  background-position: left center;
  background-repeat: no-repeat;
  background-size: 44% 100%;
  box-shadow: none;
  color: var(--mbankomo-ink);
  transform: none;
}

.actualite-carousel .actualite-item,
.actualite-carousel .actualite-content {
  box-sizing: border-box;
}

.actualite-carousel .actualite-item > * {
  flex-shrink: 0;
}

.actualite-carousel .actualite-item:hover {
  box-shadow: none;
  transform: none;
}

.actualite-carousel .actualite-item::before {
  position: absolute;
  z-index: 1;
  inset: 0 auto 0 0;
  width: 44%;
  height: auto;
  border-radius: 0;
  background: linear-gradient(90deg, rgba(4, 36, 25, .08), transparent);
  content: "";
  pointer-events: none;
}

.actualite-carousel .actualite-item:not(:last-child)::after {
  display: none;
  content: none;
}

.actualite-carousel .actualite-content {
  position: relative;
  z-index: 2;
  display: flex;
  width: 56%;
  height: 100%;
  margin-left: 44%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  border-radius: 0;
  background: linear-gradient(135deg, #fff 0%, #f3f8f4 100%);
  color: var(--mbankomo-ink);
  text-align: left;
}

.actualite-carousel .actualite-content h4 {
  margin-bottom: .85rem;
  color: var(--mbankomo-green-900);
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  font-weight: 750;
  line-height: 1.25;
}

.actualite-carousel .actualite-content p {
  display: -webkit-box;
  max-width: 58ch;
  margin-bottom: 1.25rem;
  overflow: hidden;
  color: var(--mbankomo-muted);
  font-size: 1rem;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

.actualite-carousel .actualite-content .btn {
  margin-top: .2rem;
}

.actualite-carousel:hover .carousel-wrapper {
  animation-play-state: paused;
}

#stats {
  position: relative;
  padding: clamp(3rem, 6vw, 5rem) 0 !important;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 12% 0%, rgba(146, 221, 164, .22), transparent 38%),
    linear-gradient(120deg, #073b2c 0%, #0b5138 55%, #16834c 100%) !important;
}

#stats::before,
#stats::after {
  position: absolute;
  width: 18rem;
  height: 18rem;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

#stats::before {
  top: -13rem;
  right: 8%;
  box-shadow: 0 0 0 2rem rgba(255,255,255,.025), 0 0 0 4rem rgba(255,255,255,.02);
}

#stats::after {
  bottom: -14rem;
  left: -9rem;
  width: 25rem;
  height: 25rem;
}

#stats > .container {
  position: relative;
  z-index: 1;
}

#stats .row {
  align-items: stretch;
}

#stats .col-md-3 {
  display: flex;
}

#stats .stat-box {
  display: flex;
  width: 100%;
  min-height: 150px;
  align-items: center;
  justify-content: center;
  padding: 1.5rem !important;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 16px !important;
  background: rgba(255,255,255,.09);
  box-shadow: 0 12px 30px rgba(0, 27, 16, .14) !important;
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}

#stats .stat-box:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.4);
  background: rgba(255,255,255,.15);
}

#stats .stat-box p {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  color: rgba(255,255,255,.88);
  font-size: .94rem;
  font-weight: 600;
  letter-spacing: .025em;
  text-align: center;
}

#stats .counter {
  color: #fff;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.1;
}

@keyframes mbankomo-actualites-up {
  from { transform: translateY(0); }
  to { transform: translateY(-100%); }
}

.stat-box {
  height: 100%;
  border-color: rgba(255,255,255,.17);
  background: linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,.07));
  backdrop-filter: blur(8px);
  transition: transform .25s ease, background .25s ease;
}

.stat-box:hover {
  transform: translateY(-5px);
  background: linear-gradient(145deg, rgba(255,255,255,.27), rgba(255,255,255,.12));
}

.stat-box p {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 600;
}

.counter {
  display: inline-block;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  font-weight: 800;
}

.partner-logo {
  filter: saturate(.88);
  transition: transform .25s ease, filter .25s ease;
}

.partner-logo:hover {
  transform: translateY(-4px) scale(1.035);
  filter: saturate(1.1);
}

.contact-section {
  gap: clamp(1.25rem, 3vw, 2rem);
  margin: clamp(1.5rem, 4vw, 3.5rem) auto;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: linear-gradient(145deg, #edf6ef, #fff);
}

.contact-map,
.contact-form {
  overflow: hidden;
  background: #fff;
}

.contact-map iframe {
  min-height: 420px;
}

.contact-form {
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.contact-form h2 {
  color: var(--mbankomo-green-900);
  font-weight: 750;
}

.contact-form input,
.contact-form textarea,
.form-control {
  border: 1px solid #dce8df;
  border-radius: 10px;
  background-color: #fcfefc;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.contact-form input,
.contact-form textarea {
  padding: .8rem 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus,
.form-control:focus {
  border-color: #48ad6b;
  background: #fff;
  box-shadow: 0 0 0 .22rem rgba(53, 173, 101, .13);
}

.container > .row > .col-md-8 > .card,
.container > .row > .col-md-8 .card {
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  box-shadow: var(--mbankomo-shadow) !important;
}

.post-image {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.list-group-item {
  border-color: rgba(19, 83, 49, .08);
}

footer {
  background: linear-gradient(120deg, #062f24, #0b5138 60%, #126b40) !important;
}

footer a:hover {
  color: #9de0ac !important;
}

/* The legacy admin layout is used by the standalone home and contact views. */
.content-wrapper {
  min-height: calc(100vh - 50px);
  background: #f3f7f4;
}

.content-wrapper .content {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.content-wrapper .panel {
  overflow: hidden;
  border: 1px solid rgba(19, 83, 49, .08);
  border-radius: 16px;
  box-shadow: var(--mbankomo-shadow);
}

.content-wrapper .panel-heading {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(19, 83, 49, .08);
  background: linear-gradient(120deg, #fff, #eff7f1);
  color: var(--mbankomo-green-900);
  font-weight: 700;
}

.content-wrapper .panel-body {
  padding: 1.5rem;
}

.content-wrapper .page-title {
  color: var(--mbankomo-green-900);
  font-weight: 750;
}

body.page-header-fixed {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 82% 10%, rgba(60, 164, 92, .16), transparent 34%),
    linear-gradient(135deg, #eaf3ec, #f8faf8 55%, #e6f0e8);
}

body.page-header-fixed > div[style*="margin-top"] {
  display: none;
}

body.page-header-fixed > .container-fluid {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

body.page-header-fixed .row {
  width: 100%;
  margin: 0;
}

body.page-header-fixed .login-box {
  float: none;
  width: min(100%, 440px);
  margin: 0 auto;
}

body.page-header-fixed .login-logo {
  margin-bottom: 1.25rem;
}

body.page-header-fixed .login-logo a {
  color: var(--mbankomo-green-950);
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -.035em;
  text-shadow: none;
}

body.page-header-fixed .login-box-body {
  padding: clamp(1.5rem, 5vw, 2.5rem);
  border: 1px solid rgba(19, 83, 49, .1);
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 22px 60px rgba(17, 58, 39, .14);
}

body.page-header-fixed .login-box-msg {
  padding: 0 0 1.25rem;
  color: var(--mbankomo-muted);
  font-size: 1rem;
}

body.page-header-fixed .login-box .form-control {
  height: auto;
  padding: .8rem 2.75rem .8rem 1rem;
  border-color: #dce8df;
  border-radius: 10px;
  background: #fcfefc;
  box-shadow: none;
}

body.page-header-fixed .login-box .form-control:focus {
  border-color: #48ad6b;
  background: #fff;
  box-shadow: 0 0 0 .22rem rgba(53, 173, 101, .13);
}

body.page-header-fixed .login-box .form-control-feedback {
  color: #7d9184;
}

body.page-header-fixed .login-box .btn-primary {
  min-height: 40px;
  border-radius: 8px;
  background: linear-gradient(120deg, #0b5138, #16834c 60%, #35ad65);
  font-weight: 700;
  box-shadow: 0 7px 16px rgba(16, 117, 65, .2);
}

body.page-header-fixed .login-box-body > a {
  display: inline-block;
  margin-top: .5rem;
  color: var(--mbankomo-green-900);
  font-weight: 600;
}

@media (max-width: 767.98px) {
  .banner-section {
    padding: 2rem .75rem;
  }

  .banner-section::before {
    top: -5rem;
    right: -35%;
    width: 150%;
    height: 20rem;
  }

  .banner-section::after {
    bottom: -7rem;
    left: -35%;
    width: 150%;
    height: 20rem;
  }

  #bannerCarousel {
    border-radius: 16px;
  }

  #bannerCarousel .banner-slide {
    padding: .8rem !important;
  }

  #bannerCarousel .banner-slide > .col-md-6:first-child,
  #bannerCarousel .banner-slide > .col-md-6.text-section {
    flex: 0 0 100%;
    max-width: 100%;
  }

  #bannerCarousel .banner-slide > .col-md-6:first-child {
    min-height: 260px;
  }

  #bannerCarousel .banner-slide img {
    min-height: 0;
  }

  #bannerCarousel .text-section {
    padding: 1.35rem .5rem .65rem;
  }

  #bannerCarousel .text-section::before {
    margin-bottom: .6rem;
  }

  #bannerCarousel .text-section p {
    -webkit-line-clamp: 4;
  }

  #bannerCarousel .carousel-control-prev,
  #bannerCarousel .carousel-control-next {
    width: 38px;
    height: 38px;
    margin: 0 .5rem;
  }

  .contact-section {
    margin: 1rem .75rem;
    padding: 1rem;
  }

  .contact-map iframe {
    min-height: 300px;
  }

  .actualite-carousel {
    height: 470px;
  }

  .actualite-carousel .actualite-item {
    flex-basis: 470px;
    height: 470px;
    min-height: 470px;
    flex-direction: column;
    background-position: center top;
    background-size: 100% 48%;
  }

  .actualite-carousel .actualite-item::before {
    inset: 0 0 auto;
    width: 100%;
    height: 48%;
    background: linear-gradient(180deg, transparent 70%, rgba(4, 36, 25, .12));
  }

  .actualite-carousel .actualite-content {
    width: 100%;
    height: 52%;
    min-height: 0;
    margin: auto 0 0;
    padding: 1.25rem;
  }

  .actualite-carousel .actualite-content h4 {
    font-size: 1.25rem;
  }

  .actualite-carousel .actualite-content p {
    margin-bottom: .85rem;
    font-size: .92rem;
    -webkit-line-clamp: 4;
  }

  #stats .stat-box {
    min-height: 125px;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  #bannerCarousel .banner-slide {
    min-height: 430px;
  }

  #bannerCarousel .banner-slide > .col-md-6:first-child {
    flex-basis: 52%;
    max-width: 52%;
    min-height: 370px;
  }

  #bannerCarousel .text-section {
    flex-basis: 48%;
    max-width: 48%;
    padding: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
