@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --primary: #1824a9;
  --primary-dark: #1824a9;
  --primary-light: #e6eef9;
  --secondary: #4caf50;
  --dark: #1e293b;
  --light: #f8fafc;
  --accent: #f59e0b;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    -webkit-text-size-adjust: 100%;
    background-color: #f9f5f0;
    background-image: radial-gradient(circle at 10% 20%, rgba(222, 184, 135, 0.05) 0%, transparent 20%), radial-gradient(circle at 90% 80%, rgba(139, 69, 19, 0.05) 0%, transparent 20%), linear-gradient(to bottom, transparent 95%, rgba(139, 69, 19, 0.03) 100%);
    background-attachment: fixed;
    background-size: cover;

}

.btn-primary {
    background: #1824a9 !important;
    color: #fff !important;
}

/* African pattern accents */
.bg-white {
    position: relative;
    overflow: hidden;
}

    .bg-white::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 150px;
        height: 150px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath fill='%23f1e8d9' fill-opacity='0.2' d='M0 0h100v100H0V0zm10 10h80v80H10V10zm10 10h60v60H20V20zm10 10h40v40H30V30zm10 10h20v20H40V40z'%3E%3C/path%3E%3C/svg%3E");
        background-size: contain;
        background-repeat: no-repeat;
        opacity: 0.3;
        z-index: 0;
    }

    /*Navbar section styles */
    .mobile-menu{transform:translateX(100%);transition:transform .3s ease-in-out}
     body.overflow-hidden{overflow:hidden}
    .hamburger span{transition:all .3s ease-in-out}
    .hamburger.active span:nth-child(1){transform:translateY(8px) rotate(45deg)}
    .hamburger.active span:nth-child(2){opacity:0}
    .hamburger.active span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}
    .mobile-menu-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.5);z-index:40;display:none}


.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.hamburger span {
    transition: all 0.3s ease;
}

.hamburger.open span:first-child {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:last-child {
    transform: rotate(-45deg) translate(5px, -5px);
}
    /*Inputs*/
input[type=number] {
    width: 100%;
    padding: 8px;
    margin: 8px;
    color: #000;
}
.border{
    border-color: gray !important;
}
input[type=text] {
    width: 100%;
    padding: 6px;
    margin: 8px 0;
    line-height: 1.85;
    color: #000;
}

input[type=tel] {
    width: 100% !important;
    padding: 8px !important;
    margin: 8px !important;
    padding-left: 65px !important;
    color: #000 !important;
}

input[type="button"] {
    border-radius: 25px;
    border-color: #1824a9;
}
input[type="checkbox"] {
    /* Existing styles */
    border: 1px solid #223b94 !important;
    border-radius: .25em;
    width: 26px;
    height: 16px;
    /* Hide the default checkbox */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    position: relative;
    display: inline-block;
}

/* Style the custom tick */
    input[type="checkbox"]:checked::after {
        content: '\2713';
        font-size: 16px;
        font-weight: 800;
        color: #223b94;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
.rotate-180 {
    transform: rotate(180deg) !important;
}
.form-check-input[type="checkbox"] {
    border: 1px solid #223b94 !important;
}
.link {
    text-decoration: none;
}
/*modals*/
.modal,
.modal-dialog,
.modal-content {
    z-index: 1055;
    justify-content: center !important;
}
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6); 
    z-index: 1050; 
    display: none;
}

    /*Slider styles*/
 .home-outer * {
    user-select: none;
}

.calc-loan {
    color: #fff;
    font-weight: 500;
    position: relative;
    z-index: 1000;
}
.home-outer .slider-outer {
    position: static;
    display: flex;
    white-space: nowrap;
    height: 520px;
    width: 100%;
}

.home-outer .btn-forward {
    transform-origin: right center;
    right: 0;
    border-radius: 5px 0 0 5px;
}

    .home-outer .btn-forward .icon-count {
        margin-left: 10px;
        border-radius: 5px 0 0 5px;
    }

    .home-outer .btn-forward img {
        transform: rotate(-90deg);
        position: absolute;
        right: 0;
        bottom: 20px;
        margin-right: 12px;
    }

    .home-outer .btn-forward:hover {
        width: 100px;
    }
.home-outer .container {
    max-width: 100% !important;
}
.home-outer .slider-inner {
    transition: all cubic-bezier(0.25, 1, 0.33, 1) 0.55s;
    float: left;
    min-width: 100%;
    height: 520px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    position: relative;
    display: flex;
    overflow: hidden;
}

    .home-outer .slider-inner .content {
        position: absolute;
        bottom: 220px;
        left: 100px;
        flex: 0 0 100%;
    }

        .home-outer .slider-inner .content button {
            position: relative;
        }

        .home-outer .slider-inner .content span {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            z-index: 1;
        }
.home-outer .slide-button .icon-count .count-container :nth-child(3) {
    bottom: -18px;
    right: 0;
}

.home-outer .slide-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

    .home-outer .slide-button:hover .icon-count {
        opacity: 100%;
    }

        .home-outer .slide-button:hover .icon-count .count-container div {
            transform: rotate(-45deg) scale(1);
        }

.home-outer .btn-forward {
    transform-origin: right center;
    right: 0;
    border-radius: 5px 0 0 5px;
}

    .home-outer .btn-forward .icon-count {
        margin-left: 10px;
        border-radius: 5px 0 0 5px;
    }

    .home-outer .btn-forward img {
        transform: rotate(-90deg);
        position: absolute;
        right: 0;
        bottom: 20px;
        margin-right: 12px;
    }

    .home-outer .btn-forward:hover {
        width: 100px;
    }

.home-outer .btn-back {
    transform-origin: left center;
    border-radius: 0 5px 5px 0;
}

    .home-outer .btn-back .icon-count {
        margin-right: 10px;
        border-radius: 0 5px 5px 0;
        right: 0;
    }

    .home-outer .btn-back img {
        transform: rotate(90deg);
        position: absolute;
        bottom: 20px;
        margin-left: 12px;
    }

    .home-outer .btn-back:hover {
        width: 100px;
    }
.home-outer .slide-button {
    cursor: pointer;
    position: absolute;
    z-index: 10;
    bottom: 50%;
    height: 60px;
    width: 50px;
    background-color: rgba(0, 0, 0, 0.4);
    transition: background-color 0.2s linear;
    transition: width 0.35s cubic-bezier(0.07, 1.15, 1, 1);
}
    .home-outer .slide-button img {
  height: 20px;
  filter: invert(100%) sepia(12%) saturate(7437%) hue-rotate(180deg) brightness(100%) contrast(118%);
}
.home-outer .slide-button .icon-count {
  opacity: 0;
  transition: opacity ease-in-out 0.2s;
  display: flex;
  justify-content: space-around;
  top: 0;
  height: 60px;
  width: 50px;
  position: absolute;
}
.home-outer .slide-button .icon-count p {
  font-family: "Open Sans", sans-serif;
  position: absolute;
  font-size: 10px;
  font-weight: 400;
  color: #fff;
}
.home-outer .slide-button .icon-count .count-container {
  position: relative;
  height: 36px;
  width: 22px;
  /* background-color: red; */
  margin-top: 12px;
}
.home-outer .slide-button .icon-count .count-container div {
  background-color: #fff;
  width: 37px;
  height: 1px;
  position: absolute;
  bottom: 17px;
  /* right: 0; */
  left: -8px;
  transform: rotate(-45deg) scale(0);
  transform-origin: center;
  transition: transform 0.3s ease-in-out;
}
.page-background-form {
    background-image: linear-gradient( rgba(30, 72, 143, 0.6), rgba(30, 72, 143, 0.6) ), url("/images/stepsbackground.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
/* Better focus states for accessibility */
a:focus,
button:focus,
input:focus,
select:focus {
    outline: 2px solid #1E488F;
    outline-offset: 2px;
}

/* About Page styles*/
.hero-image {
    height: 400px;
    object-position: center 30%;
}
.body-2 {
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
    min-height: 450px;
    color: #fff !important;
}
 .body-2 h2 {
  font-size: 32px;
  line-height: 40px;
  font-weight: 700;
  color: #fff !important;
  }
.body-1 .slide-0 img {
    filter: brightness(0) saturate(100%) invert(16%) sepia(54%) saturate(7394%) hue-rotate(6deg) brightness(109%) contrast(132%);
}
.body-1 .slide-0 h3 {
    color: #FF0100 !important;
}
.body-1 .slide-2 img {
    filter: brightness(0) saturate(100%) invert(82%) sepia(36%) saturate(4150%) hue-rotate(359deg) brightness(104%) contrast(100%);
}

.body-1 .slide-2 h3 {
    color: #FFC001 !important;
}
/*Nav icons*/
.nav-icon .line {
    margin-right: 5px;
    width: 100%;
    height: 2px;
    background-color: black;
    transition: transform 0.4s ease, width 0.4s ease;
}

.nav-icon .line-1 {
    transform-origin: left center;
}


.nav-icon .line-2 {
    transform-origin: center;
}

.nav-icon .line-3 {
    transform-origin: left center;
}

.abt-heading {
    color: #fff !important;
}

.nav-icon.clicked {
    width: 17px;
}

    .nav-icon.clicked .line-1 {
        transform: rotate(45deg);
    }

    .nav-icon.clicked .line-2 {
        width: 0;
    }

    .nav-icon.clicked .line-3 {
        transform: rotate(-45deg);
    }

:host {
    font-family: 'Inter', sans-serif;
}

.origin-left {
    --underline-origin: left;
}

.origin-center {
    --underline-origin: center;
}

.origin-right {
    --underline-origin: right;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    padding: 0 5%;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1001;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.2);
}

.top-bar {
    width: 100%;
    background-color: #ffffff; 
    color: #1824a9; 
    padding: 0.5rem 0;
    display: centre;
    justify-content: center; 
    align-items: center;
    border-bottom: 1px solid #d1d5db; 
}
.banner-btn {
    background-color: #fff;
    border: none;
    font: inherit;
    color: #2a33b7 !important;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.1rem;
}
.scrolling-text {
    white-space: normal;
    overflow: visible;
    animation: none;
    font-weight: 500;
    text-align: center;
    width: 100%;
}

@keyframes scrollText {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-left: auto;
    padding-right: 1rem;
    justify-content: flex-end;
    align-items: center;
}

    .social-icons a {
        color: #1824a9;
        text-decoration: none;
        font-size: 1rem;
        transition: color 0.3s ease;
    }

        .social-icons a:hover {
            color: #1824a9;
        }
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}


.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-text {
    font-size: 1.5rem;
    color: #1824a9;
    text-decoration: none;
    font-weight: bold;
}

.nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.nav a {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: color 0.3s ease;
}
.nav a::after, .nav button::after{
    color:#ffffff00 !important;
}


.nav a:hover {
    color: #2563eb;
}
    .nav button {
        font-size: 1rem;
        color: #1824a9;
        background: none;
        border: none;
        cursor: pointer;
        text-decoration: none;
        padding: 0 0;
        font-family: 'Inter', sans-serif;
        position: relative;
        --underline-origin: left;
        text-align:left;
        font-weight: 500;
    }
.nav button:hover {
            color: #1824a9;
            background-color: #fff;
        }
        
.nav a::after,
.nav button::after {
   content: "";
   position: absolute;
   bottom: 0;
   left: 0;
   height: 2px;
   width: 100%;
   background-color: #1824a9;
   color:#fff;
   transform: scaleX(0);
   transform-origin: var(--underline-origin);
   transition: transform 0.3s ease;
  }
.nav a, .nav button {
    font-size: 1rem;
    color: #1E488F;
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: none;
    padding: 0.5rem 0;
    font-family: 'Inter', sans-serif;
    position: relative;
    --underline-origin: left;
    font-weight: 500;
}
 .nav a:hover::after,
 .nav button:hover::after {
    transform: scaleX(1);
    }

body.overflow-hidden {
    overflow: hidden;
}
.mobile-menu.open {
    transform: translateX(0);
}
.mobile-menu.hidden {
    display: none !important;
}
.mobile-dropdown-outer {
    margin: 0.5rem 0;
}
.dropdown-main {
    display: block;
    padding: 0.75rem 1rem;
    color: #1824a9;
    text-decoration: none;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
}
.dropdown-main:hover {
    background-color: #f3f4f6;
    color: #1f2937;
    text-decoration: none;
}
.dropdown-main::after {
    content: "&#9660;";
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}
.dropdown-main.active::after {
    transform: translateY(-50%) rotate(180deg);
}
.mobile-dropdown-inner {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #f9fafb;
}
.mobile-dropdown-inner.show {
    max-height: 80%; 
}
.mobile-dropdown-inner .dropdown-item {
    display: block;
    padding: 8px 0;
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;

}
.mobile-dropdown-inner .dropdown-item:hover {
    background-color: #f4f4f4;
    color: #1824a9;
    text-decoration: none;
}
.mobile-dropdown-inner .dropdown-item:last-child {
    border-bottom: none;
}
.hamburger span {
   transition: all .3s ease-in-out;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(5px, 5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(7px, -6px) rotate(-45deg);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

.btn-container button {
    cursor: pointer;
    outline: none;
    background-color: #1824a9 !important;
    border: none;
    border-radius: 5px;
    height: 35px;
    color: #fff !important;
    font-size: 13px;
    padding: 6px;
}

    .btn-container button:hover {
        opacity: 0.8;
    }
.dropdown {
    position: relative;
    display: block;
}

.dropdown::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 10px;
    background: transparent;
}
.btn-check:focus + .btn-secondary,
.btn-secondary:focus {
    background-color: #ffffff !important;
    border-color: transparent !important;
}

.btn-secondary:hover {
    background-color: #ffffff !important;
    border-color: transparent !important;
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    box-shadow: 4px 4px 10px rgba(0,0,0,0.2);
    border-radius: 5px;
    overflow: hidden;
    z-index: 1001;
    padding: 3px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px); 
    transition: opacity 0.3s ease, transform 0.3s ease;
}

    .dropdown-menu.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0); 
    }
.dropdown-menu a::after {
     content: "";
     position: absolute;
     bottom: 0;
     left: 0;
     height: 2px;
     width: 100%;
     background-color: #1824a9;
     transform: scaleX(0);
     transform-origin: var(--underline-origin);
     transition: transform 0.3s ease;
}

 .dropdown-menu a:hover {
        
        color: #ffff;
    }

.dropdown-menu a {
    display: block;
    padding: 8px 12px;
    color: #000;
    text-decoration: none;
    position: relative;
}
.dropdown-menu a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 100%;
    background-color: #1824a9;
    transform: scaleX(0);
    transform-origin: left; /* use left origin */
    transition: transform 0.3s ease;
}
 .dropdown-menu a:hover {
        background-color: #1824a9;
        color: #fff !important;
    }

.dropdown-menu a:hover::after {
     transform: scaleX(1);
   }

.product-btns{
    float:left !important;

}
.calc-btn{

    cursor: pointer;
    border-radius: 5px;
    height: 50px;
    font-weight: 500;
    background-color: #fff;
    width: 190px;
    position: relative;
}
.calc-btn :hover {
        color: #1824a9;
}
#contact-cta {
    background-color: #1824a9;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    display: inline-block;
    align-items: center;
    font-weight: 600;
}
.row.collapsed {
    max-height: 300px;
    display: none;
}


.btn-primary:focus {
    background-color: #1824a9 !important;
    color: #fff;
}
.calc-outer {
    color: #545A71;

}
.calc-outer h3 {
    font-size: 16px;
    font-weight: bold;
    line-height: 20px;
    color: #545A71;
}
.btn-primary:active {
  background-color: transparent !important;
  border-color: transparent !important;
  color: #1824a9 !important;
}
.dropdown-arrow {
    transition: transform .3s ease;
}

.dropdown-arrow.rotate {
   transform: rotate(180deg);
 }

/* Hamburger Styles */
.hamburger {
    display: block !important;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
    position: relative;
    z-index: 1000;
}
hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: #374151;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}
.hamburger.active .bar.top {
    transform: rotate(45deg) translate(6px, 6px);
}
.hamburger.active .bar.middle {
    opacity: 0;
}
.hamburger.active .bar.bottom {
    transform: rotate(-45deg) translate(6px, -6px);
}  

    /* Mobile Menu Styles */
    .mobile-menu {
      position: fixed;
      top: 15px;
      right: 0;
      width: 50%;
      height: 100vh;
      padding: 2rem 1rem;
      background-color: #ffffff;
      box-shadow: -4px 0px 10px rgba(0,0,0,0.1);
      z-index: 999;
      padding: 7rem 2rem 2rem;
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
      transform: translateX(100%);
      transition: transform 0.3s ease-in-out;
    }

    .mobile-menu.show {
      transform: translateX(0);
    }
    .mobile-menu a,
    .mobile-menu button {
      color: #1824a9;
      text-align: left;
      text-decoration: none;
      width: 230px;
      font-family: 'Inter', sans-serif;
    }

   .mobile-menu button {
     background: none;
     border: none;
     cursor: pointer;
     font-size: 1rem;
     width: 200px;
     padding: 0.5rem 0;
     position: relative;
     font-weight: 500;
   }
   .mobile-menu a:hover,
   .mobile-menu button:hover {
     color: #1824a9;
     }
.mobile-dropdown-menu {
    display: none;
    flex-direction: column;
    background-color: #ffffff;
    border-radius: 5px;
    margin-left: 1rem;
    margin-top: 0.5rem;
}
.mobile-dropdown.open .mobile-dropdown-menu {
    display: flex;
}
.hero-image {
    height: 400px;
    object-position: center 30%;
}
/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 99;
    display: none;
}
/* Responsive */
@media (max-width: 767px) {
    .hamburger {
        display: flex !important;
    }

    .nav {
        display: none !important;
    }
    .nav > a,
    .nav > .dropdown {
        display: none;
    }
}
@media (min-width: 768px) {
    .hamburger {
        display: none !important;
    }
}
@media (max-width: 768px) {
    .hero-image {
        height: 500px;
    }
    .nav {
        display: none;
    }
    .nav-icon {
        margin-right: 80px;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu.show {
        display: flex;

    }

    .social-icons {
        display: none;
    }

    .mobile-social-icons {
        display: flex;
        gap: 1rem;
        margin-top: 2rem;
    }
    .hamburger {
        display: block !important;
    }
    .nav {
        display: none;
    }
}
@media (min-width: 769px) {
    .mobile-social-icons {
        display: none;
    }
    .hamburger {
        display: none !important;
    }

    .mobile-menu {
        display: none !important;
    }
}
@media (max-width: 425px) {
    .nav-icon {
        margin-right: 30px;
    }
}
#contact-cta-mobile-menu {
    background-color: #1824a9;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    width: 80%;
    text-align: left;
    display: block;
    margin-top: 1rem;
    font-weight: 600;
}

/* Footer pattern */
.bg-gray-900 {
    background-image: linear-gradient(135deg, rgba(139, 69, 19, 0.1) 0%, transparent 20%), url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%233a2e1f' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* African-inspired borders */
.rounded-2xl {
    border-top: 3px solid rgba(210, 105, 30, 0.3);
}

/* Mobile navigation styles */
.mobile-menu {
    position: fixed;
    top: 15px;
    right: 0;
    width: 100%;
    width: 70%;
    height: 100vh;
    background-color: #f4f4f4;
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.1);
    padding: 7rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease-in-out;
    transform: translateX(100%);
    z-index: 999;
    gap: 1.5rem;
}


.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
    z-index: 1001;
}

    .hamburger span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: #1824a9;
        transition: all 0.3s ease;
    }

    .hamburger.open span:first-child {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.open span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.open span:last-child {
        transform: translateY(-8px) rotate(-45deg);
        margin-bottom: 0;
    }

/* Overlay for mobile menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
}
.mobile-dropdown-inner {
    display: none;
    padding-left: 1rem;
}
.mobile-dropdown-inner.show {
    display: block;
}
.dropdown-toggle-mobile {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    text-decoration: none;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
}
.dropdown-arrow {
    transition: transform 0.3s ease;
}

.dropdown-arrow.rotate {
    transform: rotate(180deg);
}

.text-spectrum {
    color: #1824a9 !important;
}
.pipe-line{
    background-color: #1824a9 !important;
    height: 0.5rem !important;
}
/* Form elements */
form label {
    font-weight: 700 !important;

}
label {
    display: inline-block;
    font-size: 13px;
}
.about-outer .container {
    background-color: #fff;
    border-radius: 5px;
    margin-top: 2px;
}
input,
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

    /* Loan calculator */
    input[type="range"]::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 20px;
        height: 20px;
        background: var(--primary);
        border-radius: 50%;
        cursor: pointer;
    }

/* Testimonials */
.testimonial-card {
    scroll-snap-align: start;
}

/* FAQ accordion */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #EEF0F1;
    padding: 40px;

}

    .faq-answer.open {
        max-height: 300px;
    }

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
}

/* Ensure content stays above background elements */
.relative {
    position: relative;
    z-index: 1;
}

/* African pattern overlay */
.african-pattern-overlay {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath fill='%23d2691e' fill-opacity='0.05' d='M50 0c27.6 0 50 22.4 50 50s-22.4 50-50 50S0 77.6 0 50 22.4 0 50 0zm0 10c-22.1 0-40 17.9-40 40s17.9 40 40 40 40-17.9 40-40-17.9-40-40-40zm0 10c-16.6 0-30 13.4-30 30s13.4 30 30 30 30-13.4 30-30-13.4-30-30-30zm0 10c-11 0-20 9-20 20s9 20 20 20 20-9 20-20-9-20-20-20z'/%3E%3C/svg%3E");
    background-size: 300px;
    opacity: 0.15;
}

/* African Star Patterns */
.african-star {
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.1;
    z-index: 0;
}

/* Adinkra star symbol (Gye Nyame - "Except for God") */
.adinkra-star {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='%23d2691e' d='M50 0c27.6 0 50 22.4 50 50s-22.4 50-50 50S0 77.6 0 50 22.4 0 50 0zm0 10c-22.1 0-40 17.9-40 40s17.9 40 40 40 40-17.9 40-40-17.9-40-40-40zm0 10c-16.6 0-30 13.4-30 30s13.4 30 30 30 30-13.4 30-30-13.4-30-30-30zm0 10c-11 0-20 9-20 20s9 20 20 20 20-9 20-20-9-20-20-20z'/%3E%3C/svg%3E");
}

/* Ndebele star pattern */
.ndebele-star {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='%231d62e3' d='M50 0l12.4 38.3H100l-32.4 23.5 12.4 38.3L50 76.6 19.6 100l12.4-38.3L0 38.3h37.6z'/%3E%3C/svg%3E");
}
/*.section-stars {
    margin-top: 50px !important;
}*/
/* Section star decorations */
.section-stars::before {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.1;
    z-index: 0;
    
}

/* Positioning for different sections */
.hero-stars::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='%23ffffff' d='M50 0l9.6 29.6H90L66.5 49.2l9.6 29.6L50 59.2 23.9 78.8l9.6-29.6L0 29.6h30.4z'/%3E%3C/svg%3E");
    top: 20%;
    left: 10%;
}

.requirements-stars::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='%23d2691e' d='M50 0l5.8 17.8H75L60.9 29.5l5.8 17.8L50 35.5 33.3 47.3l5.8-17.8L25 17.8h19.2z'/%3E%3C/svg%3E");
    bottom: 10%;
    right: 5%;
}

.how-it-works-stars::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='%23ffffff' d='M50 0l8.7 26.7H85L63.4 44.3l8.7 26.7L50 53.3 27.9 71l8.7-26.7L15 26.7h26.3z'/%3E%3C/svg%3E");
    top: 30%;
    right: 15%;
}

.testimonials-stars::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='%231d62e3' d='M50 0l6.5 20H80L63.8 33.3l6.5 20L50 40 29.7 53.3l6.5-20L20 20h23.5z'/%3E%3C/svg%3E");
    bottom: 15%;
    left: 10%;
}

.faq-stars::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='%23d2691e' d='M50 0l7.2 22.2H85L65.6 37.8l7.2 22.2L50 44.4 27.2 60l7.2-22.2L15 22.2h27.8z'/%3E%3C/svg%3E");
    top: 20%;
    right: 10%;
}

.cta-stars::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='%23ffffff' d='M50 0l9.6 29.6H90L66.5 49.2l9.6 29.6L50 59.2 23.9 78.8l9.6-29.6L0 29.6h30.4z'/%3E%3C/svg%3E");
    bottom: 25%;
    left: 20%;
}

/* Navigation styles */
.nav-link {
    position: relative;
}

    .nav-link:hover {
        color: #1824a9;
    }

    .nav-link:after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 0;
        left: 0;
        background-color: #1824a9;
        transition: width 0.3s ease;
    }

    .nav-link:hover:after {
        width: 100%;
    }

.dropdown-menu {
    border-top: 2px solid #1824a9;
}

/*Form pages*/
/* Form page display control */
.form-page {
    display: none;
}

    .form-page.active {
        display: block;
    }

/* Progress step styling (circles) */
.progress-step {
    width: 32px;
    height: 32px;
    border: 2px solid #e2e8f0;
}

    .progress-step.active {
        border-color: var(--primary);
        background-color: var(--light);
        color: var(--primary);
    }

    .progress-step.completed {
        border-color: var(--primary);
        background-color: var(--primary);
        color: white;
    }
        /* Loan term radio button styling */
    .term-option {
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: center;
      cursor: pointer;
    }

    .term-option input[type="radio"] {
      position: absolute;
      opacity: 0;
    }


    .term-option .term-circle {
      width: 24px;
      height: 24px;
      border: 2px solid #cbd5e1;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 4px;
      transition: all 0.2s ease;
    }
        .term-option input[type="radio"]:checked+.term-circle {
      border-color: var(--primary);
      background-color: var(--primary);
    }

    .term-option input[type="radio"]:checked+.term-circle::after {
      content: "";
      width: 12px;
      height: 12px;
      background: white;
      border-radius: 50%;
    }

    .term-option input[type="radio"]:checked~.term-label {
      color: var(--primary);
      font-weight: 500;
    }

    .term-label {
      font-size: 0.875rem;
      color: #64748b;
      transition: all 0.2s ease;
    }
.accent-\[\#1E488F\] {
    accent-color: #1E488F;
}
/* Custom range slider styling */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #e2e8f0;
    outline: none;
}

    input[type="range"]::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        background: var(--primary);
        cursor: pointer;
        border: 2px solid white;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
/* Firefox range thumb styling */
input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Add the required vendor prefix for Firefox track */
/* WebKit (Chrome, Safari, Edge) */
input[type="range"]::-webkit-slider-runnable-track {
    height: 8px;
    border-radius: 4px;
    background: #e2e8f0;
}


input[type="range"]::-moz-range-track {
    height: 8px;
    border-radius: 4px;
    background: #e2e8f0;
}

/* Microsoft (Internet Explorer, old Edge) */
input[type="range"]::-ms-track {
    height: 8px;
    border-radius: 4px;
    background: #e2e8f0;
}
select {
    color: #000 !important;
}
.bottom-15{
    bottom: 9rem;
}
/* Remove the error: ::-moz-range-thumb is a valid pseudo-element for Firefox, but some linters may not recognize it.
   If you still get a warning, you can safely ignore it, as this is the correct syntax for Firefox. */
/* Slider track styling */
.slider-track {
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(to right, var(--primary) 0%, var(--primary) 50%, #e2e8f0 50%, #e2e8f0 100%);
}

/* Slider marks styling */
.slider-mark {
    position: absolute;
    top: 20px;
    transform: translateX(-50%);
    font-size: 0.75rem;
    color: #64748b;
}
 .slider-mark.active {
        color: var(--primary);
        font-weight: 600;
 }
.custom-prompt {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.prompt-box {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    width: 90%;
    max-width: 400px;
    padding: 1.5rem;
    text-align: center;
}

.prompt-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.prompt-button {
    padding: 0.5rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.prompt-button-yes {
    background-color: var(--primary);
    color: white;
    border: none;
}

    .prompt-button-yes:hover {
        background-color: var(--primary-dark);
    }

.prompt-button-no {
    background-color: white;
    color: var(--primary);
    border: 1px solid var(--primary);
}

    .prompt-button-no:hover {
        background-color: #f8fafc;
    }

.footer {
    border-top: 4px solid #1824a9;
}
@media (min-width: 1200px) {
    .faqs-container {
        max-width: 1340px !important;
    }
}
@media (min-width: 992px) {
    .dropdown-hover-enabled:hover > .dropdown-menu {
        display: block;
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }
}