/*Sticky header shrink*/
/* Sticky shrink on scroll */
h1 b {color:#CC882C !important; font-weight: 900 !important;}
h2 b, h3 b, h4 b, h5 b, h6 b {color:#CC882C !important; font-weight: bold !important;}

.hero-copy-glass {
    position: relative;
    z-index: 1;
}

.hero-copy-glass::before {
    content: "";
    position: absolute;
    inset: -80px -120px;
    z-index: -1;
    pointer-events: none;

    background: radial-gradient(
        ellipse at center,
        rgba(255, 255, 255, 0.92) 0%,
        rgba(255, 255, 255, 0.82) 35%,
        rgba(255, 255, 255, 0.55) 58%,
        rgba(255, 255, 255, 0.18) 78%,
        rgba(255, 255, 255, 0) 100%
    );

    filter: blur(18px);
}

.custom-img-box .elementor-image-box-description, .custom-img-box ol, .custom-img-box ul {margin:0 !important; padding:30px !important; background-color:#DBE2DF !important; text-align:left;}
.custom-img-box h3.elementor-image-box-title {margin:0 !important; padding:10px !important; background-color:#05512A !important;}
.custom-img-box.list p, .custom-img-box.list p {display:none}
.custom-img-box.list ol, .custom-img-box.list ul {padding:20px 50px !important;}

.wav-box-flip .elementor-image-box-wrapper{
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 10px;
    max-width: 250px;
}

.wav-slider .elementor-image-carousel-wrapper {padding-bottom:80px !important;}
.wav-slider .elementor-swiper-button-next, .wav-slider .elementor-swiper-button-prev {background: #9C1E25; padding: 5px;}

.wav-test-slider .elementor-testimonial {
  display: flex;
  flex-direction: row-reverse;
}

.wav-test-slider .elementor-testimonial__content {
  flex: 1 1 0;
  min-width: 0;
  background-color: transparent !important;
  background-image: url("../images/speech-bubble.png") !important;
  background-repeat: no-repeat !important;
  background-position: top center !important;
  background-size: contain !important;
}

.wav-test-slider .elementor-testimonial__text {padding: 30% 15% 15% 15%; text-align: center;}

.wav-test-slider .elementor-testimonial__title {background: #07522A; padding:20px;}

.wav-test-slider .elementor-testimonial__image img {
  transform: rotate(-4deg);
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.35);
  border: 20px solid #fff;
  position: absolute;
	max-width: 70% !important;
	display: inline;
	width: 400px !important;
	height: auto !important;
	left: 9%;
	top: 17%;
}

.wav-img-rotate img {
  transform: rotate(-4deg);
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.50);
  border: 20px solid #fff;
}

.wav-test-slider .elementor-testimonial__cite .elementor-testimonial__title {
	    position: absolute;
    display: inline;
    width: 480px !important;
    left: 7%;
    top: 77%;
}

.wav-test-slider .elementor-testimonial__content::after {
  display:none !important;
}

.wav-test-slider .elementor-testimonial__footer {
  flex: 1 1 0;
  min-width: 0;
}

.wavumbuzi-header.elementor-sticky--effects {
    transition: all 0.3s ease;
}

/* Shrink the header section */
.wavumbuzi-header.elementor-sticky--effects .elementor-container {
    min-height: 70px !important;
    transition: min-height 0.3s ease;
}

/* Shrink the logo */
.wavumbuzi-header.elementor-sticky--effects .elementor-widget-image img {
    width: 120px !important; /* adjust to suit your logo's original size */
    transition: width 0.3s ease;
}
/*END*/

.smooth-carousel .swiper-wrapper {
  transition-timing-function: linear !important;
}

.smooth-carousel .swiper-slide {
  backface-visibility: hidden;
  transform: translateZ(0);
}

#download .elementor-button-icon svg {height:20px;}

h2 i {
	color:#CE8A2D !important;
	font-weight: 700 !important;
}

.box-title-bg .elementor-image-box-title {
	background: var(--e-global-color-d2d83ef);
    font-style: normal;
    padding: 12px 10px;
    min-height: 65px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 100%;
}

.home-posts .elementor-post__title {
    position: absolute;
    top: 24px;
    right: 0;
    font-weight: 900 !important;
    width: 186px;
    text-align: left;
    padding: 0 20px;
}

.home-posts .elementor-post__meta-data {
    position: absolute;
    top: 52%;
    right: 0;
    background: white;
    width: 80%;
    padding: 20px 20px 0 20px !important;
}

.home-posts .elementor-post__excerpt {
    position: absolute;
    top: 60%;
    right: 0;
    width: 80%;
    padding: 20px 20px 20px 30px;
    background: white;
}

.box-title-bg .elementor-image-box-description b {
	    color: var(--e-global-color-d2d83ef);
}

.box-title-bg .elementor-image-box-description {
	    text-align: left;
}

.elementor-button.elementor-button-link:hover .elementor-button-content-wrapper {gap:30px !important;}

.elementor-kit-6 .main-menu .elementor-nav-menu li a{justify-content: center; margin: 0 30px;}
.elementor-kit-6 .main-menu .elementor-nav-menu li:nth-last-child(-n + 2) a{margin: 0 5px;}

.elementor-83 .main-menu .elementor-nav-menu li.register a{
	background: var(--e-global-color-d2d83ef);
	color: var(--e-global-color-secondary);
	min-width: 195px;
	margin-left: 30px !important;
}

.elementor-83 .main-menu .elementor-nav-menu li.login a{
	background: var(--e-global-color-5ea9daa);
	color: var(--e-global-color-secondary);
	min-width: 195px;
}

.elementor-83 .main-menu .elementor-nav-menu li.login a:hover, .elementor-83 .main-menu .elementor-nav-menu li.register a:hover{
	background: #fff;
	color: #000;
}

/*
#menu-1-6b417b4 li.icon::after{
	content: '⟶';
	width: 32px;
	line-height: 16px;
	color:#fff;
	display: inline-flex;
	justify-content: center;
	font-size: 16px;
    top: 5px;
}
*/

.menu-item.chevron-left > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.wav-menu-icon.menu-item > a::after,
.wav-menu-icon.menu-item > a:hover::after,
.wav-menu-icon.menu-item.current-menu-item > a::after {
     content: "›";
    display: block;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 18px;
    color: #ffffff;
    font-size: 20px;
    line-height: 1;
    font-weight: 700;
    position: relative;
    background: none !important;
    margin-left: 20px;
	opacity: 1 !important;
    visibility: visible !important;
}

.teachers-video {
  transform: rotate(8deg) !important;
  border: 28px solid #fff;
  box-shadow: 18px 22px 28px rgba(0, 0, 0, 0.35);
  background: #fff;
  overflow: hidden;
}

/* Country portal selector shortcode. */
.wavumbuzi-country-portal-selector {
	margin: 24px 0;
}

.wavumbuzi-country-portal-selector-form {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	gap: 12px;
}

.wavumbuzi-country-portal-selector-label {
	width: 100%;
	font-weight: 700;
}

.wavumbuzi-country-portal-selector-select {
	min-width: 240px;
	min-height: 44px;
}

.wavumbuzi-country-portal-selector-button {
	min-height: 44px;
	cursor: pointer;
}


/* Mobile/tablet footer accordions. */
@media (max-width: 1024px) {
	.elementor-location-footer .elementor-element-821b93d,
	.elementor-location-footer .elementor-element-774f4b4,
	.elementor-location-footer .elementor-element-21ef74f {
		width: 100% !important;
	}

	.elementor-location-footer .elementor-element-821b93d > .elementor-widget-wrap,
	.elementor-location-footer .elementor-element-774f4b4 > .elementor-widget-wrap,
	.elementor-location-footer .elementor-element-21ef74f > .elementor-widget-wrap {
		display: block;
	}

	.elementor-location-footer .wav-footer-accordion-heading {
		margin: 0 !important;
		width: 100% !important;
		cursor: pointer;
	}

	.elementor-location-footer .wav-footer-accordion-heading .elementor-heading-title {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 16px;
		width: 100%;
		margin: 0;
		padding: 14px 0;
		border-bottom: 1px solid #CC882C;
		cursor: pointer;
	}

	.elementor-location-footer .wav-footer-accordion-heading .elementor-heading-title::after {
		content: "";
		display: inline-flex;
		width: 10px;
		height: 10px;
		border-right: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
		transform: rotate(45deg);
		transition: transform 0.25s ease;
		flex: 0 0 auto;
	}

	.elementor-location-footer .wav-footer-accordion-heading.is-open .elementor-heading-title::after {
		transform: rotate(225deg);
	}

	.elementor-location-footer .wav-footer-accordion-panel[hidden] {
		display: none !important;
	}

	.elementor-location-footer .wav-footer-accordion-panel {
		overflow: hidden;
		max-height: 0;
		opacity: 0;
		visibility: hidden;
		transition: max-height 0.3s ease, opacity 0.2s ease, visibility 0.2s ease;
	}

	.elementor-location-footer .wav-footer-accordion-panel.is-open {
		max-height: 600px;
		opacity: 1;
		visibility: visible;
	}

	.elementor-location-footer .wav-footer-accordion-panel .elementor-nav-menu--main,
	.elementor-location-footer .wav-footer-accordion-panel .elementor-nav-menu--main .elementor-nav-menu {
		width: 100%;
	}
}

@media (min-width: 1025px) {
	.elementor-location-footer .wav-footer-accordion-panel {
		max-height: none !important;
		opacity: 1 !important;
		visibility: visible !important;
	}
}

h1 {line-height:58px !important}
@media all and (max-width: 980px) {
	h1 {line-height: 50px !important;}
}

/**
 * Country circle diagrams (Kenya / Rwanda stat rings).
 *
 * The ring/line artwork (.wav-circle__artwork) is an exact vector trace of
 * the original PNGs - untouched geometry. Only the stat text is added, in
 * the same viewBox, so it scales with the artwork instead of drifting like
 * the old fixed-width PNG + separately-offset text widget did. Desktop and
 * mobile use the two different source images, swapped via CSS at 1024px.
 */
.wav-country-circles-wrap {
	width: 100%;
}

.wav-country-circles {
	display: block;
	width: 100%;
	height: auto;
}

.wav-country-circles-wrap__mobile { display: block; }
.wav-country-circles-wrap__desktop { display: none; }

@media (min-width: 1025px) {
	.wav-country-circles-wrap__mobile { display: none; }
	.wav-country-circles-wrap__desktop { display: block; }
}

/* Desktop style: white artwork, matching circles.png / circles-02.png over the map. */
.wav-country-circles--desktop .wav-circle__artwork {
	fill: #231f20;
}

.wav-country-circles--desktop .wav-circle__number,
.wav-country-circles--desktop .wav-circle__label {
	fill: #231f20;
}

/* Mobile style: black artwork, matching map-mobile-kenya.png / map-mobile-rwanda.png. */
.wav-country-circles--mobile .wav-circle__artwork {
	fill: #231f20;
}

.wav-country-circles--mobile .wav-circle__number,
.wav-country-circles--mobile .wav-circle__label {
	fill: #231f20;
}

.wav-circle__number {
	font-family: 'Aaux Next', sans-serif;
	font-weight: 700;
}

.wav-circle__label {
	font-family: inherit;
	font-weight: 400;
}
