:root {
	/* ── M2C Business palette (M2C-Style-Guide.pdf) ──
	   royal blue #123295 · sky blue #38a7f0 · grey #b0b0b0
	   derived: ink #0d1f52 · light blue #9ccbf5 · surface #f1f6fc */
	--primary--color: #123295;
	--primary-dark: #0d1f52;
	--navy: #0d1f52;
	--primary-light: #9ccbf5;
	--surface: #f1f6fc;
	--accent: #38a7f0;
	--brand-green: #25d366;
	--brand-grey: #b0b0b0;
	--brand-gradient: linear-gradient(135deg, #0d1f52 0%, #123295 100%);
	--swoosh-gradient: linear-gradient(90deg, #123295 0%, #123295 45%, #38a7f0 55%, #38a7f0 100%);
	--secondary--color: #1670bf;
	--dark-secondary-color:#125a99;
	--tertiary--color: #fff;
	--line--color: #12329521;
	--nav--color: #9ccbf5;
	--dark-grey:#0d1f52;
	--yellow--color:#9ccbf5;
	/* Extras */
	--light--clr: #f1f6fc;
	--cross-pattern: url("data:image/svg+xml,<svg id='patternId' width='100%' height='100%' xmlns='http://www.w3.org/2000/svg'><defs><pattern id='a' patternUnits='userSpaceOnUse' width='40' height='40' patternTransform='scale(1) rotate(0)'><rect x='0' y='0' width='100%' height='100%' fill='hsla(0, 0%, 100%, 0)'/><path d='M11 6a5 5 0 01-5 5 5 5 0 01-5-5 5 5 0 015-5 5 5 0 015 5'  stroke-width='1' stroke='none' fill='hsla(259, 11%, 65%, 1)'/></pattern></defs><rect width='800%' height='800%' transform='translate(0,0)' fill='url(%23a)'/></svg>");
	--web-green: #9ccbf5;
	--color-light:#ffff;
	/* Social media icon colors */
	--fb--color: #3b5998;
--whatsapp--color: #25d366;
--tweet--color: #000;
--google--color: #009fdd;
--instagram--color: #d82f83;
--linkedin--color: #0077B5;
--threads--color: #000;
--tiktok--color: #69C9D0;
--youtube--color: #FF0000;
--snapchat--color: #FFFC00;
--quora--color: #B92B27;
--pinterest--color: #E60023;
--discord--color: #7289DA;
--dribble--color: #EA4C89;
--github--color: #181717;
--telegram--color: #0088cc;
--spotify--color: #1DB954;
--vimeo--color: #1ab7ea;
	
}

html {
    min-height: 100%;
}
body {
    min-height: 100%;
}

* {
	box-sizing: border-box;
	font-family: var(--sa-font, 'Inter', system-ui, sans-serif);
}

html{
	scroll-behavior: smooth;
}
p{
	font-family: var(--sa-font, 'Inter', system-ui, sans-serif);
  
}

.text-primary{
	color: var(--primary--color) !important;
}

.text-green{
	color: var(--primary--color) !important;
}

.text-secondary{
	color: var(--primary--color) !important;
}

h3{
	font-size: 1.68rem;
	
}

 #navbar {
    background-color: #e3f3ff52;
    position: fixed;
    top: -150px;
    width: 100%;
    display: block;
    transition: top 0.5s;
    z-index: 99999;
    backdrop-filter: blur(15px);
}
  
  #navbar a {
	float: left;
	display: block;
	color: #f2f2f2;
	text-align: center;
	text-decoration: none;
	font-size: 1em;
  }
  
  #navbar a:hover {
	color: var(--primary--color);
  }

  .accordion-button:not(.collapsed) {
    color: #000;
    background-color: #c6a5601a;
    box-shadow: inset 0 -1px 0 rgb(0 0 0 / 13%);
}

 .text-white{
	 color: #fff !important;
 }

.modal-content {
    margin: auto;
    display: block;
    width: 100%;
    max-width: 800px;
	
}

.modal {
    z-index: 1050 !important;
}
.modal-backdrop {
    z-index: 1040 !important;
}

.font-3em{
	font-size: 3em;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   AGRIFIRST — BUTTON SYSTEM
   ───────────────────────────────────────────────────────────────────────────────
   HOW TO USE
   ──────────
   DARK BG    →  .btn-light-outlined   ghost white border, gradient fills on hover
   DARK BG    →  .white-button         solid white pill,   gradient fills on hover
   ANY BG     →  .btn-dark             gradient always visible, slides on hover
   LIGHT BG   →  .btn-dark-outlined    ghost dark border,  gradient fills on hover
   NAVBAR     →  .header-button        identical to .btn-dark

   ARROW ICON CIRCLES (round icon-only — not text pills)
              →  .btn-link-light            green ring  — light bg
              →  .btn-link-categories       orange ring — rotates ↗ on hover
              →  .btn-link-white-categories white ring  — dark bg, rotates ↗
              →  .btn-link-dark             dark ring   — light bg

   BOOTSTRAP  →  .btn-success  .btn-warning  .btn-outline-warning
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ── Tokens ──────────────────────────────────────────────────────────────────── */
:root {
    --btn-gradient: linear-gradient(to right, var(--accent), var(--accent), var(--dark-secondary-color), var(--primary-dark));
    --btn-transition: background-position 1s ease,
                      transform 0.25s ease,
                      box-shadow 0.25s ease,
                      border-color 0.25s ease,
                      color 0.25s ease;
    --btn-shadow-hover: 0 8px 28px rgba(0, 0, 0, 0.18);
}

/* ══════════════════════════════════════════════════════════════════════════════
   TIER 1 — Primary pill CTAs
   ══════════════════════════════════════════════════════════════════════════════ */

/* Shared base */
.btn-dark,
.btn-light-outlined,
.btn-dark-outlined,
.white-button,
.header-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--sa-font, 'Inter', system-ui, sans-serif);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none !important;
    padding: 14px 30px;
    border-radius: 999px;
    cursor: pointer;
    background-size: 200% 100%;
    position: relative;
    overflow: hidden;
    transition: var(--btn-transition);
}

/* .btn-dark — gradient visible at rest, slides right on hover. Use on any bg. */
.btn-dark {
    color: #fff;
    border: none;
    background-position: 10% 0%;
	background: var(--btn-gradient);
}
.btn-dark:hover {
    color: #fff;
    background-position: 100% 0%;
    transform: translateY(-3px);
    box-shadow: var(--btn-shadow-hover);
}

/* .header-button — identical to .btn-dark, kept so navbar HTML needs no changes */
.header-button {
    color: #fff;
    border: none;
    background-position: 10% 0%;
	background: var(--secondary--color);
}
.header-button:hover {
    color: #fff;
    background-position: 100% 0%;
    transform: translateY(-3px);
    background: var(--primary--color);
    box-shadow: var(--btn-shadow-hover);
}

/* .btn-light-outlined — ghost white border, gradient slides in on hover. Use on dark bg. */
.btn-light-outlined {
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.80);
    background-position: -100% 0%;
    backdrop-filter: saturate(140%) blur(5px);
}
.btn-light-outlined:hover {
    color: #000000;
    border-color: transparent;
    background-position: 0% 0%;
    transform: translateY(-3px);
    box-shadow: var(--btn-shadow-hover);
	background: #fff;
}

/* .btn-dark-outlined — ghost dark border, gradient slides in on hover. Use on light bg. */
.btn-dark-outlined {
    color: #0d1f52;
    border: 1.5px solid #0d1f52;
    background-position: -100% 0%;
    backdrop-filter: saturate(140%) blur(5px);
}
.btn-dark-outlined:hover {
    color: #fff;
    border-color: transparent;
    background-position: 0% 0%;
    transform: translateY(-3px);
    box-shadow: var(--btn-shadow-hover);
}

/* .white-button — solid white at rest, gradient fills on hover. Use on dark bg. */

/* ══════════════════════════════════════════════════════════════════════════════
   TIER 2 — Arrow / icon circle buttons
   ══════════════════════════════════════════════════════════════════════════════ */

/* Shared base */

/* Green ring — for light backgrounds */

/* Orange ring — rotates ↗ on hover */

/* White ring — for dark backgrounds */

/* Dark ring — for light backgrounds */

/* Icon circles + arrow icons (group-hover driven) */
.icon-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1.5px solid #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.arrow-icon {
    color: #fff;
    font-size: 1.2rem;
    transition: color 0.3s ease, transform 0.3s ease;
}
.arrow-icon-dark {
    color: var(--primary--color);
    font-size: 1.2rem;
    transition: color 0.3s ease, transform 0.3s ease;
}
.group-hover-trigger {
    transition: transform 0.3s ease;
}
.group-hover-trigger:hover .icon-circle {
    background-color: var(--secondary--color);
    border-color: var(--secondary--color);
}

.group-hover-trigger:hover .arrow-icon,
.group-hover-trigger:hover .arrow-icon-dark {
    color: #fff;
    transform: rotate(45deg);
}

/* Category tile */

/* ══════════════════════════════════════════════════════════════════════════════
   TIER 3 — Bootstrap overrides (colour only)
   ══════════════════════════════════════════════════════════════════════════════ */

.btn-success {
    background-color: var(--secondary--color);
    border-color: var(--secondary--color);
    color: #fff;
    transition: filter 0.2s ease, transform 0.2s ease;
}
.btn-success:hover {
    background-color: var(--secondary--color);
    border-color: var(--secondary--color);
    color: #fff;
    filter: brightness(1.12);
    transform: translateY(-2px);
}
.btn-success:focus {
    box-shadow: 0 0 0 0.25rem rgba(18,50,149, 0.35);
}

.btn-warning {
    background-color: var(--secondary--color);
    border-color: var(--secondary--color);
    color: #fff;
    transition: filter 0.2s ease, transform 0.2s ease;
}
.btn-warning:hover {
    background-color: var(--secondary--color);
    border-color: var(--secondary--color);
    color: #fff;
    filter: brightness(1.12);
    transform: translateY(-2px);
}
.btn-warning:active:focus {
    box-shadow: 0 0 0 0.25rem rgba(56,167,240, 0.35);
}

.btn-outline-warning {
    color: #0d1f52;
    border-color: var(--secondary--color);
    transition: background-color 0.2s ease, color 0.2s ease,
                border-color 0.2s ease, transform 0.2s ease;
}
.btn-outline-warning:hover {
    color: #fff;
    background-color: var(--secondary--color);
    border-color: var(--secondary--color);
    transform: translateY(-2px);
}
.btn-outline-warning:focus {
    box-shadow: 0 0 0 0.25rem rgba(56,167,240, 0.35);
}

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

/* ══════════════════════════════════════════════════════════════════════════════
   TIER 4 — Specialized / utility (intentionally not standardised)
   ══════════════════════════════════════════════════════════════════════════════ */

/* .arrow-hover-button — text span inside pill that slides right to reveal arrow */
.arrow-hover-button {
    padding-right: 0;
    transition: padding-right 0.4s ease;
}
.arrow-hover-button:hover {
    padding-right: 65px;
}

/* .subcat-btn — card-hover reveal pill */

/* .btn-whatsapp — WhatsApp brand colour */

/* .btn-floating — FAB circle */

/* .icon-button — square icon chip */

/* .btn-lg — Bootstrap size override */
.btn-lg {
    padding: 0.5rem 1rem;
    font-size: 14px;
    border-radius: 0;
}

/* .btn-web-primary — inline nav tab text buttons */

/* .gradient--btn — simple solid green fill */

/* .button_bt — orange fill chip */

/* .button_adjust — light utility filter button */

/* .project-button — product listing card button */

/* .btn-border — outline filter badge */

/* .btn-products — product category text-colour link */

/* .rtin-btn — legacy rounded outline CTA */

/* .link__btn — inline text link with animated arrow icon */

/* .cta-name / .cta-name-two — offer card label (not a button) */

.bg-primary-light {
    background: #f2f2f2 !important;
}

.gradient-wave-bg {
    position: relative;
    z-index: 0;
    overflow: hidden;
}

.gradient-wave-bg::before {
    content: "";
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    z-index: -1;
    background: conic-gradient(from 230deg at 40% 90%, var(--navy), var(--navy), var(--primary-dark), var(--primary--color));
    background-size: 150% 100%;
    filter: blur(30px);
    animation: wave-gradient 10s ease-in-out infinite alternate;
}

.text-gradient {
  /* exactly the same conic-gradient + animation you used on the background */
  background: conic-gradient(from 230deg at 40% 90%, var(--navy), var(--primary-dark), var(--primary--color), var(--primary-light));
  background-size: 120% 100%;
  animation: wave-gradient 10s ease-in-out infinite alternate;

  /* mask the gradient to the text */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  /* for non-WebKit browsers: */
  background-clip: text;
  color: transparent;
}

.text-gradient-light {
  /* exactly the same conic-gradient + animation you used on the background */
  background: conic-gradient(from 230deg at 40% 90%, #fff, #fff, #eef3fb, #9ccbf5);

  background-size: 150% 100%;
  animation: wave-gradient 10s ease-in-out infinite alternate;

  /* mask the gradient to the text */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  /* for non-WebKit browsers: */
  background-clip: text;
  color: transparent;
}

@keyframes wave-gradient {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 0%;
    }
}

.gradient-wave-light-bg {
    position: relative;
    z-index: 0;
}

.gradient-wave-light-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: conic-gradient(
        from 240deg at 50% 120%,
        #afc6ff,
        #ffffff,
        #ffffff,
        #ffffff,
        var(--primary--color),
        #ffffff,
        #ffffff,
        #ffffff,
        var(--primary--color)
    );
	opacity: 0.1;
    background-size: 150% 100%; /* double width for motion */
    animation: light-wave-gradient 10s ease-in-out infinite alternate;
}
@keyframes light-wave-gradient {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 0%;
    }
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%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");
    transform: rotate(-180deg);
}

/* Light background for hero */
.hero-agri-bg {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at top left, #eef3fb 0, #ffffff 45%, #ffffff 100%);
}

/* Container for floating images */
.hero-floating-images {
    position: absolute;
    inset: 0;
    pointer-events: none; /* shapes override this */
    z-index: 1; /* hero text is above via inline z-index:2 */
}

/* Base style for each chip image */

/* Shape types – image itself is set from JS */

/* When active, the animation runs once */

/* Floating + fade-in + fade-out – NO rotation */
@keyframes float-pop-no-tilt {
    0% {
        opacity: 0;
        transform: translate3d(0, 18px, 0) scale(0.7);
    }
    10% {
        opacity: 1;
        transform: translate3d(6px, 0, 0) scale(1);
    }
    40% {
        opacity: 1;
        transform: translate3d(-10px, -22px, 0) scale(1.05);
    }
    70% {
        opacity: 0.9;
        transform: translate3d(10px, 12px, 0) scale(0.98);
    }
    100% {
        opacity: 0;
        transform: translate3d(0, 28px, 0) scale(0.65);
    }
}

/* Hover: pause + zoom + stronger glow */

/* Smaller & softer on mobile */

/* Image */

/* Black-transparent gradient overlay from bottom */

/* Title + button animation states */

/* Hover effects */

/* IMAGE MOVE ONSCROLL */

  /* IMAGE MOVE ONSCROLL */

.modal-content, #caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

.modal {
    display: none;
    position: fixed;
    z-index: 999999 !important;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
	backdrop-filter: saturate(100%) blur(3px);
    background: #00000085;
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #ffffffef;
    background-clip: padding-box;
    border: 1px solid rgb(255 255 255 / 20%);
    border-radius: 1.5rem;
    outline: 0;
}

 .f-60{
	font-size: 60px !important;
	line-height: 1.2;
}

.bg-secondary {
    background-color: var(--secondary--color)!important;
}

.custom{
	width: 50%;
}

.navbar .dropdown-menu{
	max-height: inherit;
    overflow-y: auto;
	overflow: visible;
}

/* Timeline CSS */

/* (A) TIMELINE CONTAINER */

  /* (B) DRAW VERTICAL LINE USING ::BEFORE */

  /* (C) COSMETICS FOR EVENTS */
  div.event {
	/* padding: 20px 30px;
	background-color: #ffebeb; */
	position: relative;
	border-radius: 6px;
	margin-bottom: 10px;
  }
  
  /* (D) COSMETICS FOR EVENT DATE & TEXT */
  p.date {
	font-size: 1.1em;
	font-weight: 300;
	color: #000;
  }
  p.txt {
	margin: 0px 0 0 0;
	color: #222;
  }

  /* (F) CIRCLE ON TIMELINE */
  div.event::after {
	/* (F1) "MAGIC CIRCLE" */
	content: "";
	background: var(--primary--color);
	border: 4px solid #fff;
	width: 25px; height: 25px;
	border-radius: 50%;
   
	/* (F2) POSITION TO THE LEFT */
	position: absolute;
	top: 20%; left: -45px;
  }

/* Timeline CSS */

.slided::-webkit-scrollbar, .navbar .dropdown-menu::-webkit-scrollbar {
	display: none;
}

@keyframes stroke {
	0% {
		width: 0%;
	}
	100% {
		width: 100%;
	}
}

body {
	margin: 0;
	padding: 0;
	background-color: #fff;
}

h1,
h2,
h3,
h4 {
	letter-spacing: 0px;
}

.carousel-button-slider {
	background-color: #ffffff63;
    border-radius: 250px;
    padding: 10px;
	transition: 0.3s;
}

.carousel-button-slider:hover {
	background-color: var(--secondary--color);
	border-radius: 250px;
	padding: 10px;
	transition: 0.3s;
}

    /* First, override Bootstrap's default positioning for carousel controls */
	.carousel-control-prev,
	.carousel-control-next {
	  position: static !important; /* Remove the absolute positioning from Bootstrap */
	  display: inline-block;       /* So they can sit side by side */
	  margin: 0 5px;               /* Spacing between them */
	  z-index: 999;                /* Ensure they're clickable above other elements */
	}
	
	/* Now position the container of both buttons in the bottom-right corner */
	.carousel-buttons {
		position: absolute;
		bottom: 45px;
		right: -20px;
		z-index: 999;
	}
	
	.carousel-caption a {
	  position: relative;
	  z-index: 2; /* Put caption area in front */
	}

.text-second:nth-last-child() {
	color: #fff;
}

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

.dropdown-item {
    display: block;
    width: 100%;
    clear: both;
    text-align: inherit;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border-bottom: 0.5px solid #00000038 !important;
    line-height: 2;
    min-width: 250px;
}

.dropdown-item:focus,
.dropdown-item:hover {
	color: var(--primary--color) !important;
    background-color: transparent;
}

a {
    
    text-decoration: none !important;

}

.b-r{
	border-radius: 6px;
}

.hover--float-up,
#course .card {
	transition: all 0.25s ease-out 0s;
}

.dynamic-content table {
	width: 100% !important;
	border-collapse: collapse;
	margin-bottom: 40px;
}
.dynamic-content thead, tbody, tr, th, td  {
	border: 1px solid #e1e1e1;
	font-family: var(--sa-font, 'Inter', system-ui, sans-serif);
	padding: 6px;

}
.dynamic-content th{
	background-color: var(--secondary--color);
	color: var(--color-light);
}
.dynamic-content table p{
	margin: .5rem .3rem !important;
}
.dynamic-content {
	line-height: 1.7;
    color: #000000;
    font-size: 16px;
}

/* Zebra striping */

/* .dynamic-content tr:nth-of-type(odd) {
	background: #fff;
} */

.powered {
	color: var(--primary--color);
}

/* .dynamic-content th {
	background: var(--primary--color);
	color: #fff;
	font-weight: bold;
}

.dynamic-content td,
th {
	padding: 10px;
	border-bottom: 1px solid var(--clr--light-grey);
	text-align: left;
}

.dynamic-content td {
	font-size: .9em;
} */

.news-text p {
	margin-bottom: 0;
}

/* .news-title{
    min-height: 2rem;
} */

.shadow {
	box-shadow: none !important;
	border: 1px solid #dfdfdf;
}

/* .blink_img {
    -webkit-animation: section-animation-2 3s infinite;
    animation: section-animation-2 6s infinite;
    
  } */

@keyframes section-animation-2 {
	0% {
		width: 0px;
		height: 20px;
	}
	20% {
		width: 250px;
		height: 20px;
	}
	100% {
		width: 250px;
		height: 20px;
	}
}

.carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
    /* max-height: 830px !important; */
}

.iti {
    position: relative;
    display: inline-block;
    width: 100%;
}

/* Flag position for phone fields is set in sa-theme.css (shared by every form). */

.iti__flag-box, .iti__country-name {
    margin-right: 8px;
    color: #000 !important;
}

.color {
	height: 10px;
	margin: -17px -17px 0px -17px;
	/* clip-path: circle(64% at 50% 2%); */
}

hr {
    margin: 0rem 0;
    color: inherit;
    background-color: #ddd;
    border: 0;
    opacity: 1 !important;
}

#testimonial .card-text {
	min-height: 13rem !important;
}

#courses .card:hover {
	transform: scale(1.03);	
	/* box-shadow: 0.5rem 4rem 2rem rgba(0,0,0,.15), 0.5rem 3rem 2rem rgba(0,0,0,.15); */
	transition: .25s ease-in-out;
}

#courses .card:active {
	transform: translateY(.1em);
	box-shadow: none;
	transition: all ease-in-out .15s;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: .3;
    z-index: 1;
    background-color: #000000;
}

.rounded--4 {
	border-radius: .5rem;
}

.fw-bold {
    font-weight: 600!important;
}

.fw-light {
    font-weight: 300!important;
}

.fw-medium {
    font-weight: 400!important;
}

.bg-primary{
	background: var(--primary--color) !important;
}

.fs-5 {
    font-size: 1rem!important;
}

.section-lead-container{
	background-image: url(../img/lead-bg.jpg);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center right;
    min-height: 200px;
}

.section-heading {
    margin-bottom: 30px;
    font-weight: 300;
    color: #b3b3b3;
}

.text-purple{
	color: var(--purple);
}

/* MAP CSS */

/* MAP CSS */

  /* Global Presence Section */

  /* Large, semi-transparent background text */

  /* Stats Box Design */

  @keyframes moveGradient {
	0% {
	  background-position: 0% 0%;
	}
	100% {
	  background-position: 100% 0%;
	}
  }

  /* Radar Pin Base */

  /* Merged popup effect on both the country name text and the radar pulse */
  @keyframes popupEffect {
	0%, 40%, 100% { opacity: 0; }
	45%, 75% { opacity: 1; }
  }
  
  /* Apply the popup effect to the country name text */

  /* Use ::after on the radar-pin for the pulsing effect */

  /* Map container: relative so that pins are positioned within */

  /* Pin container: fill the map container */

  /* Pin elements: position absolute relative to .map-container; using a custom property for delay */

  /* Optional: Hover effect on pins */

  /* Place name styling */

  /* Responsive adjustments */

/* MAP CSS */

    /* Add your custom CSS here */

   /* Container for the box-style radio buttons */
   
/* Hide default radio inputs */

/* Style the label as a box */

/* On hover, change border-color slightly */

/* When the radio is checked, style the label with your primary color */

/* ICON BOX */

/* Fixed-size image container */

/* Make sure the image fills the container while maintaining its aspect ratio */

.badge-subtext {
	background: var(--secondary--color);
    color: #ffffff;
	border-radius: 5em;
    padding: 10px 20px;
    font-weight: 400;
    font-size: 1em;
}

.badge-subtext-green {
	background: var(--primary--color);
	border-radius: 5em;
    color: #fff;
    padding: 10px 20px;
    font-weight: 400;
    font-size: 1em;
	  white-space: normal !important;  /* allow wrapping */
  word-break: break-word;          /* break really long words */
  line-height: 1.35; /* adjust line height for better readability */
}

  /* Ensure the carousel item is positioned relatively to contain the absolute overlay */

.font-sub{
	font-size: 3.5em !important;
}

.adjust_img,
.adjust_card-img{
	object-fit: cover;
	object-position: center;
}
.adjust_card-img{
	width: 100%;
	height: 13rem;
	margin: 0;
}

/* course feature */

.carousel .carousel-inner .carousel-item {
	overflow: hidden;
}

.c-wrapper {
    overflow: visible; /* Ensure overflow doesn’t interfere */
    min-height: 100vh; /* Ensure it’s tall enough */
}

.items {
    width: 90%;
    margin: 0px auto;
    margin-top: 100px
}

.bottom-left {
	position: absolute;
	bottom: 10px;
  }

.news-scroll marquee {
	height: 275px;
	overflow: hidden;
	border: 1px solid #eee;
	padding: 5px 10px;
}

.marquee {
	will-change: transform;
	animation: marquee 10s linear infinite;
}

.border-top {
    border-top: 1px solid #ddd!important;
}

.border-left {
    border-left: 1px solid #ddd!important;
}

.border-right {
    border-right: 1px solid #dddddd5c !important;
}

.section__title {
	font-size: 40px;
	color: var(--secondary-color);
	text-transform: capitalize;
	z-index: 1;
	margin-bottom: 3px;
	font-weight: 900;
}

.section__title span {
	position: relative;
	transition: all 0.3s ease-out 0s;
	-webkit-transition: all 0.3s ease-out 0s;
	z-index: 1;
}

.section__title span img {
	position: absolute;
	left: -14px;
	bottom: 12px;
	z-index: -1;
}

.card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	word-wrap: break-word;

	background-clip: border-box;
	border: none;
	box-shadow: none;
	border-radius: 0;
	transition: .25s ease-in-out;
}

.text-justify {
	text-align: justify;
}

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

.font-base{
	font-family: var(--sa-font, 'Inter', system-ui, sans-serif);
}

.form-control-lg {
    min-height: calc(1.5em + (1rem + 2px));
    padding: 0.5rem 1rem;
    font-size: 14px !important;
    border-radius: 0rem;
}

.form-select-lg {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-left: 1rem;
    font-size: 14px !important;
    border-radius: 3rem;
    line-height: 2.5;
}

.news-bg {
	background-image: url(../img/design-bg.jpg);
	background-size: auto;
	background-position: top left;
	background-repeat: repeat-x;
}

.w-50{
	width: 50%;
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 2.5em;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 3rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.bordered {
	border-top-left-radius: 16px;
	border-top-right-radius: 16px;
}

.adjusting {
	margin-bottom: 2px;
	margin-top: 0px;
}

.paragraph {
	margin-bottom: 9px;
}

.news-date{
	font-size: 1.8rem!important;
    line-height: 0.8;
}

.w-40{
	width: 40%;
}

.arrow-2{
	right: 0%;
}

b, strong {
    font-weight: 700 !important;
    font-family: inherit !important;
}

.page-heading-bg-300 {
	height: 300px;
}

.page-heading-bg-100 {
	height: 100px;
}

.page-heading{
	padding-top: 11%;
	z-index: 999;
}

  /* Ensure the sidebar can scroll with the page */
.sidebar {
  /* no overflow on the sidebar or its parents! */
}

/* Only apply on medium+ screens */

/* Background Image With Reduced Opacity */

  /* The text container */

.dynamic-content .accordion{
	display: block !important;
}

.carousel-caption {
	position: absolute;
    right: 0;
    top: 40%;
    left: 0;
    padding-top: 0;
    padding-bottom: 0;
    color: #fff;
    z-index: 99;
}

.dropdown-menu li {
	position: relative !important;
	}
	.dropdown-menu .dropdown-submenu {
	/* display: none; */
	position: absolute;
	
	}

		.dropdown-menu .dropdown-submenu-left {
		right: 100%;
		left: auto;
		}
		.dropdown-menu > li:hover > .dropdown-submenu {
		display: block;
		}
		/* slick */

		.lazy{
			width:100%;
			margin:0 auto;
		}
		
		/*Edit, forgot this important bit.  This keeps the other slides visible*/

		.slide-footer {
			width: 135px!important;
			height: auto!important;
		}

		    .accordion-button:not(.collapsed) {
        color: #fff;
        background-color: var(--secondary--color);
    }
    a {
    color: var(--primary--color);
    text-decoration: underline;
}

/* Merged and Sorted Media Queries */

@media screen and (max-width: 478px) {

.carousel-caption {
        margin-left: 0;
        bottom: -7rem;
    }
		
.f-60 {
		font-size: 32px !important;
		line-height: 1.2;
	}

.font-3em {
    font-size: 2.5em;
}

}

@media screen and (max-width: 768px) {

/* .user-img{
		margin-left: 35% !important;
	} */

	.page-heading-bg-300 {
    height: 300px !important;
}

.chatbox {
    margin-top: -40% !important;
    min-height: 40vh !important;
}

	.font-sub {
		font-size: 2.5em !important;
	}

	.page-heading {
		padding-top: 15% !important;
		text-align: center;
		z-index: 999;
	}

	.carousel .carousel-inner .carousel-item {
		overflow: hidden;
	}

	.f-60 {
		font-size: 35px;
		line-height: 1.2;
	}

	/* .mob-service-height{
		height: auto !important;
		overflow: hidden;
	} */

	.row {
		--bs-gutter-x: 1.5rem;
		--bs-gutter-y: 0;
		display: flex
	;
		flex-wrap: wrap;
		margin-top: calc(var(--bs-gutter-y)* -1);
		margin-right: auto;
		margin-left: auto;
	}

.dropdown-menu {
    position: absolute;
    z-index: 1000;
    display: none;
    min-width: 10rem;
    padding: 0.5rem 0;
    margin: 0px !important;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: rgba(255, 174, 53, 0.24) !important;
    background-clip: padding-box;
    border: 1px solid rgb(0 0 0 / 15%);
    border-radius: 0;
    box-shadow: none;
}

	.dynamic-content {
		overflow: hidden;
	}
	.dynamic-content table{
		display: block;
		/* width: 88vw !important;		 */
		overflow: scroll;
	}
	.dynamic-content div{
	    /* display: flex; */
	    width: 100% !important;
	}
	.dynamic-content p{
		margin-bottom: 0 !important;
	}

		.carousel-inner {
		position: relative;
		width: 100%;
		overflow: hidden;
		max-height: 800px !important;
	}
.carousel-caption{
		margin-left: 0;
		bottom: -7rem;
	}

}

@media screen and (max-width: 900px) {
.dropdown-menu {
			width: 100%;
			}
		.dropdown-menu .dropdown-item{
			line-height: 1;
			border-bottom: 0 !important;
        padding: 1em;
			}
		.dropdown-menu .dropdown-submenu{
			width: 100%;
			}

		.carousel-caption {
        margin-left: 0;
        bottom: -15rem;
    }
	
}

@media screen and (max-width: 992px) {
.modal-lg, .modal-xl {
    max-width: 992px;
}

}

@media screen and (max-width: 1024px) {
.f-60 {
    font-size: 40px;
    line-height: 1.2;
}
.font-sub {
    font-size: 2em !important;
}

}

@media screen and (max-width: 1440px) {
.container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    max-width: 1440px;}

}

@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1400px;
    }
}

/* Custom Device-Specific Carousel Caption Adjustments */

@media screen and (max-width: 390px) {
    .carousel-caption {
        margin-left: 0;
        bottom: -10rem;
    }
}

@media screen and (max-width: 380px) {
    .carousel-caption {
        margin-left: 0;
        bottom: -7rem;
    }
}

@media screen and (max-width: 768px) {
    .carousel-caption {
        margin-left: 0;
    }
}

@media screen and (min-width: 390px) {
.carousel-caption {
        margin-left: 0;
    }
}

@media screen and (max-width: 344px) {
    .carousel-caption {
        margin-left: 0;
        bottom: -10rem;
    }
}

@media (min-width: 768px) {
    .sticky-cta {
        position: sticky;
        top: 20%;
        z-index: 1030;
    }
}
 /* ═══════════════════════════════════════════════════════════════════
      MISSION & VISION — BENTO GRID
      ═══════════════════════════════════════════════════════════════════ */

   .mv-bento { background: #fff; }

   /* 3-column, 3-row grid */
   .mv-bento__grid {
     display: grid;
     grid-template-columns: 1.4fr 1fr 1fr;
     grid-template-rows: auto auto auto;
     gap: 16px;
   }

   /* ── Base cell ──────────────────────────────────────────────────── */
   .mv-cell {
     border-radius: 6px;
     padding: 2rem;
     display: flex;
     flex-direction: column;
     position: relative;
     overflow: hidden;
     transition: transform 0.3s ease, box-shadow 0.3s ease;
   }
   .mv-cell:hover {
     transform: translateY(-4px);
     box-shadow: 0 18px 45px rgba(0, 0, 0, 0.10);
   }

   /* ── ① Mission — dark green, spans all 3 rows ───────────────────── */
   .mv-cell--mission {
     grid-column: 1 / 2;
     grid-row: 1 / 4;
     background: linear-gradient(145deg, #0d1f52, var(--primary--color) 70%);
     color: #fff;
     min-height: 480px;
   }
   .mv-cell--mission::before {
     content: '01';
     position: absolute;
     top: -10px; right: 16px;
     font-size: 8rem;
     font-weight: 900;
     color: rgba(255, 255, 255, 0.05);
     line-height: 1;
     pointer-events: none;
     user-select: none;
   }

   /* ── ② Stat A — orange, row 1 centre ───────────────────────────── */
   .mv-cell--stat-a {
     grid-column: 2 / 3;
     grid-row: 1 / 2;
     background: var(--secondary--color);
     color: #fff;
     justify-content: flex-end;
     min-height: 170px;
   }

   /* ── ③ Stat B — light grey, row 1 right ────────────────────────── */
   .mv-cell--stat-b {
     grid-column: 3 / 4;
     grid-row: 1 / 2;
     background: #eef3fb;
     color: #0d1f52;
     justify-content: flex-end;
     min-height: 170px;
   }

   /* ── ④ Vision — cream, rows 2–3 centre ─────────────────────────── */
   .mv-cell--vision {
     grid-column: 2 / 3;
     grid-row: 2 / 4;
     background: #fafaf7;
     border: 1px solid #eef3fb;
     min-height: 310px;
   }

   /* ── ⑤ Accent A — warm orange-brown, row 2 right ───────────────── */
   .mv-cell--accent-a {
     grid-column: 3 / 4;
     grid-row: 2 / 3;
     background: linear-gradient(145deg, var(--primary--color), var(--secondary--color));
     color: #fff;
     justify-content: flex-end;
     min-height: 150px;
   }

   /* ── ⑥ Accent B — teal, row 3 right ────────────────────────────── */
   .mv-cell--accent-b {
     grid-column: 3 / 4;
     grid-row: 3 / 4;
     background: linear-gradient(145deg, var(--primary--color), #0d1f52);
     color: #fff;
     min-height: 150px;
   }

   /* ── Tag / eyebrow pill ─────────────────────────────────────────── */
   .mv-cell__tag {
     display: inline-flex;
     align-items: center;
     gap: 6px;
     font-size: 0.70rem;
     font-weight: 700;
     letter-spacing: 0.10em;
     text-transform: uppercase;
     color: rgba(255, 255, 255, 0.80);
     background: rgba(255, 255, 255, 0.12);
     border-radius: 999px;
     padding: 5px 12px;
     width: fit-content;
     margin-bottom: 1.2rem;
   }
   .mv-cell__tag--light {
     color: var(--primary--color);
     background: rgba(18,50,149, 0.10);
   }

   /* ── Titles ─────────────────────────────────────────────────────── */
   .mv-cell__title {
     font-size: 1.45rem;
     font-weight: 700;
     color: #fff;
     line-height: 1.25;
     margin-bottom: 1rem;
   }
   .mv-cell__title--dark { color: #0d1f52; }

   /* ── Description ────────────────────────────────────────────────── */
   .mv-cell__desc {
     font-size: 0.92rem;
     line-height: 1.85;
     color: rgba(255, 255, 255, 0.80);
     flex: 1;
   }
   .mv-cell__desc--dark { color: #555; }
   .mv-cell__desc p { margin-bottom: 0.5rem; }
   .mv-cell__desc p:last-child { margin-bottom: 0; }

   /* ── Link ───────────────────────────────────────────────────────── */
   .mv-cell__link {
     margin-top: 1.5rem;
     font-size: 0.88rem;
     font-weight: 600;
     color: rgba(255, 255, 255, 0.90);
     display: inline-flex;
     align-items: center;
     gap: 4px;
   }
   .mv-cell__link--dark { color: var(--primary--color); }
   .mv-cell__link i { transition: transform 0.25s ease; }
   .mv-cell__link:hover i { transform: translateX(5px); }

   /* ── Big stat numbers (top row cells) ───────────────────────────── */
   .mv-cell__big-num {
     display: block;
     font-size: 4.5em;
     font-weight: 700;
     line-height: 1;
     margin-bottom: 0.3rem;
   }
   .mv-cell--stat-a .mv-cell__big-num { color: #fff; }
   .mv-cell--stat-b .mv-cell__big-num { color: #0d1f52; }

   .mv-cell__stat-label {
     font-size: 0.82rem;
     font-weight: 500;
     line-height: 1.4;
     margin: 0;
     opacity: 0.75;
   }

   /* ── Accent cell internals (shared by accent-a and accent-b) ────── */
   .mv-cell__leaf {
     position: absolute;
     width: 140px; height: 140px;
     bottom: -20px; right: -20px;
     opacity: 0.45;
     pointer-events: none;
   }
      .mv-cell__leaf_mission {
     position: absolute;
     width: 500px; height: 500px;
     bottom: -100px; right: -70px;
     opacity: 0.45;
     pointer-events: none;
   }
   .mv-cell__accent-inner { position: relative; z-index: 1; }
   .mv-cell__accent-num {
     display: block;
     font-size: 4.5em;
     font-weight: 700;
     color: #fff;
     line-height: 1;
     margin-bottom: 0.4rem;
   }
   .mv-cell__accent-text {
     font-size: 0.82rem;
     line-height: 1.6;
     color: rgba(255, 255, 255, 0.85);
     margin: 0;
   }

   /* ── Tablet (≤991px) ────────────────────────────────────────────── */
   @media (max-width: 991px) {
     .mv-bento__grid {
       grid-template-columns: 1fr 1fr;
       grid-template-rows: auto auto auto auto;
     }
     .mv-cell--mission  { grid-column: 1 / 3; grid-row: 1 / 2; min-height: 260px; }
     .mv-cell--stat-a   { grid-column: 1 / 2; grid-row: 2 / 3; }
     .mv-cell--stat-b   { grid-column: 2 / 3; grid-row: 2 / 3; }
     .mv-cell--vision   { grid-column: 1 / 2; grid-row: 3 / 4; min-height: 240px; }
     .mv-cell--accent-a { grid-column: 2 / 3; grid-row: 3 / 4; min-height: 240px; }
     .mv-cell--accent-b { grid-column: 1 / 3; grid-row: 4 / 5; min-height: 150px; }
   }

   /* ── Mobile (≤575px) ────────────────────────────────────────────── */
   @media (max-width: 575px) {
     .mv-bento__grid { grid-template-columns: 1fr; }
     .mv-cell--mission,
     .mv-cell--stat-a,
     .mv-cell--stat-b,
     .mv-cell--vision,
     .mv-cell--accent-a,
     .mv-cell--accent-b { grid-column: 1 / 2; grid-row: auto; }
     .mv-cell--mission   { min-height: 300px; }
     .mv-cell--accent-a,
     .mv-cell--accent-b  { min-height: 150px; }
   }

   .hero-v3__btn-cta {
  display: inline-flex; align-items: center; gap: 10px; color: #fff !important;
  font-family: var(--sa-font, 'Inter', system-ui, sans-serif); font-size: 0.95rem; font-weight: 500; padding: 14px 30px;
  border-radius: 999px; border: none; cursor: pointer; text-decoration: none !important;
  position: relative; overflow: hidden;
  background: linear-gradient(to right, var(--accent), var(--accent), var(--dark-secondary-color), var(--primary-dark));
  background-size: 200% 100%; background-position: 10% 0%;
  transition: background-position 1s ease, transform 0.25s ease, box-shadow 0.25s ease !important;
}
.hero-v3__btn-cta:hover { background-size: 300% 100%; transform: translateY(-3px); box-shadow: 0 14px 32px rgba(18,50,149,0.45); transition: 0.3s ease !important; }
.hero-v3__btn-cta span, .hero-v3__btn-cta svg { position: relative; z-index: 1; }

/* ====================================================================
   Pagination — Agrifirst brand theme override for Bootstrap default
   ──────────────────────────────────────────────────────────────────────
   Bootstrap 4/5 paginator ships with .page-link in Bootstrap's blue
   (#0d6efd). Our brand colors are green (--primary--color #123295) +
   orange (--secondary--color #38a7f0). User requested orange for the
   pagination accent, so:
     - default link:   orange text on white
     - hover:          darker orange tint + light orange background
     - active page:    solid orange background, white text
     - disabled:       muted gray (Bootstrap default is fine)
   Uses !important only on color/background/border-color — the
   spacing/size utilities stay Bootstrap-driven. Scoped with
   .pagination so it can't leak into unrelated components.
==================================================================== */
.pagination .page-link {
    color: var(--secondary--color, #38a7f0) !important;
    border-color: #dee2e6;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.pagination .page-link:hover {
    color: #fff !important;
    background-color: var(--secondary--color, #38a7f0) !important;
    border-color: var(--secondary--color, #38a7f0) !important;
}
.pagination .page-link:focus {
    color: var(--secondary--color, #38a7f0);
    box-shadow: 0 0 0 0.2rem rgba(56,167,240, 0.25);
    border-color: var(--secondary--color, #38a7f0);
    outline: 0;
}
.pagination .page-item.active .page-link {
    color: #fff !important;
    background-color: var(--secondary--color, #38a7f0) !important;
    border-color: var(--secondary--color, #38a7f0) !important;
}
.pagination .page-item.disabled .page-link {
    color: #6c757d !important;
    background-color: #fff;
    border-color: #dee2e6;
}
/* ── Hero headline: light gradient over the dark hero media (palette: surface → light blue) ── */
.hero-v3__headline .text-gradient {
    background: linear-gradient(100deg, #eef3fb 0%, #9ccbf5 55%, #eef3fb 100%);
    background-size: 200% 100%;
    animation: wave-gradient 8s ease-in-out infinite alternate;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* ── Client logo strip: logos are mixed shapes (SVG/PNG) — keep them whole, never cropped ── */

/* ── Logo swoosh accents: green for confirmations, orange→green rule under the top bar ── */
.hero-v3__check { background: var(--brand-green) !important; }
.hero-v3__badge-dot { background: var(--brand-green) !important; box-shadow: 0 0 0 4px rgba(79, 184, 72, 0.25) !important; }

