/* Reset and base styles */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Cherry+Bomb+One&family=Inconsolata:wght@200..900&family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Noto+Serif+Yezidi:wght@400..700&family=Raleway:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Saira:ital,wght@0,100..900;1,100..900&family=WDXL+Lubrifont+SC&display=swap");
@import url("assets");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
/* * {
  outline: 1px solid red !important;
} */
html {
  scroll-behavior: smooth;
}

body {
  min-width: 100vw;
  overflow-x: hidden;
  transition-timing-function: linear;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  /* background-color: #0b0a0a; */
  color: #333;
}

hr {
  border-color: #006699;
  background-color: transparent;
  color: transparent;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 20%;
  right: 20%;
  background-color: #f7f7f7;
  color: rgb(27, 25, 25);
  padding: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  z-index: 1;
  border-radius: 25px;
  border-top-right-radius: 0;
  border-top-left-radius: 0;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%; /* Don't use 100vw */
  overflow-x: hidden;
}
.logo-container {
  position: relative;
  height: 60px;
  width: 250px;
}
header img {
  position: absolute;
  top: -100%;
}
/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em 2em;
  background-color: transparent;
  color: #030303;
  position: relative;
}

.logo {
  font-size: 1.5em;
  font-weight: bold;
}

.menu-toggle {
  display: none;
  font-size: 1.5em;
  color: #000000;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.99999s ease;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5em;
}

.nav-links li a {
  font-size: large;
  font-weight: bold;
  text-decoration: none;
  color: #004466;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #01e0e0;
}

.top {
  padding-top: 120px;
  color: #004466;
  background-color: #f7f7f7;
  min-height: 100dvh;
  min-width: 100dvw;
}

/* Hero Section */
.heroImage {
  width: 50%;
  height: 600px;
  border-radius: 30%;
  position: absolute;
  right: 5%;
  top: 75%;
  transform: translateY(-55%);
  padding: 5px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.fa-wallet {
  color: #004466;
  position: absolute;
  top: 20%;
  right: 30%;
  transform: rotate(30deg);
  font-size: 5rem;
}
.fa-heart-pulse {
  color: #0cb6e7;
  position: absolute;
  top: 10%;
  right: 10%;
  transform: rotate(30deg);
  font-size: 10rem;
  text-shadow: 0 5px 15px #0cb6e7;
}
.hole {
  background-color: #0cb6e7;
  position: absolute;
  width: 70px;
  height: 80px;
  border-radius: 60%;
  top: 15%;
  right: 55%;
  transform: rotate(30deg);
  font-size: 10rem;
  box-shadow: 0 5px 15px #0cb6e7;
}
.hero {
  text-align: left;
  background: transparent;
  color: rgb(255, 255, 255);
  max-width: 50%;
  height: 100%;
  border-radius: 250%;
  border-bottom-right-radius: 700%;
  padding: 60px 20px;
  margin-left: 30px;
  font-size: 2rem;
}
.hero h1 {
  color: #004466;
  text-shadow: 0 10px 5px #0cb6e7;
}
.hero p {
  color: #006699;
}
.button-links {
  background-color: transparent;
  max-width: 40%;
  height: 16rem;
  margin-left: 100px;
  margin-top: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 80%;
}

#loanApplication {
  background-color: #006699;
  color: #ffffff;
  padding: 10px 20px;
  margin-top: 20px;
  font-size: 1.5rem;
  display: block;
  text-decoration: none;
  font-weight: bold;
  border-radius: 40px;
  transition: all 5s ease-in-out;
  transition-delay: 5s;
}
.cta-button {
  color: #006699;
  margin: 15px;
  text-decoration: none;
  transition: all 0.5s ease-in;
  font-size: 1.2rem;
  font-weight: bold;
}

.cta-button:hover {
  opacity: 73%;
}

#loanApplication:hover {
  background-color: #e0e0e0;
  transition: all 5s ease-in-out;
  transition-delay: 5s;
}

.main {
  background-color: transparent;
  width: 100%;
  box-shadow: 0 5px 10px black;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;
  overflow: hidden;
  justify-self: center;
  align-self: center;
}

/* Services Section */
.services-section {
  padding: 40px 20px;
  background-color: rgb(184, 183, 183);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
  position: relative;
  z-index: 1;
  place-items: center;
  text-align: center;
}
.title {
  -ms-grid-column-align: center;
}

.service-card {
  background-color: #f0f8ff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease-in-out;
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  justify-content: center;
  align-items: center;
  z-index: -1;
  background-color: #004466;
}

/* Partners Section */
.partners-section {
  padding: 40px 20px;
  background-color: #eef6f8;
  text-align: center;
}

.partners-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.partner-logo img {
  max-width: 100px;
  max-height: 100px;
}

/* Why Choose Us */
.why-us-block {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  background-color: #f8f8f8;
}
.why-choose-us {
  margin-right: 50px;

  display: inline-flex;
  justify-content: center;
  align-items: center;
  position: relative;
  color: #ddd;
  max-width: 100%;
  height: 30rem;
}
.title-why-us {
  height: 100%;
  width: 100%;
  color: #004466;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Content stays straight */

.why-choose-us ul {
  list-style: none;
  padding-left: 0;
  background-image: url("../design-images/about.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
  width: 100%;
}
.why-choose-us ul li {
  position: absolute;
  left: 95%;
  top: 25%;
  padding: 10px;
  border-radius: 10px;
  background-color: #004466;
  height: 50px;

  width: max-content;
}

.why-choose-us li {
  margin: 10px 0;
  font-size: 1.1em;
}

.why-choose-us i {
  color: green;
  margin-right: 10px;
}

/* Contact Section */
.contact-section {
  background-color: #f9f9f9;
  padding: 40px 20px;
  text-align: center;
}

.contact-section a {
  display: inline-block;
  margin: 10px 0;
  color: #004466;
  text-decoration: none;
}

.contact-section i {
  margin-right: 8px;
}

/* Footer */
footer {
  position: absolute;
  left: 50%;
  min-width: 100%;
  transform: translateX(-50%);
  background-color: #0044668d;
  color: rgb(0, 0, 0);
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  padding: 120px 50px 10px 50px;
  z-index: -1;
  text-align: center;
}

.footer-top {
  margin-bottom: 10px;
  display: flex;
  min-width: max-content;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-socials {
  display: flex;
  flex-direction: row;
  gap: 20px;
  min-width: fit-content;
}

.link-to-social-media {
  background-color: #ffffff;
  border-radius: 50%;
  min-width: 2.5rem;
  min-height: 2.5rem;
  font-size: larger;
  text-decoration: none;

  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.1em;
}
.link-to-social-media i {
  font-size: 2rem;
}
.link-to-social-media img {
  height: 2rem;
  width: 2rem;
  margin: auto;
  padding: 0;
}
#facebook i {
  /* transform: translate(, 0.06em); */
}

#x {
  color: #131313;
}
#tiktok {
}
#instagram {
  /* border: 2px solid rgb(222, 50, 78); */
  color: rgb(222, 50, 78);
}

#facebook {
  color: blue;
}
#whatsapp {
  justify-self: center;
  margin-bottom: 10px;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;

  font-weight: bolder;
  color: #01e062;
  padding: 5px 15px;
  border-radius: 20px;
  min-width: 100%;
  background-color: #ffffffc2;
}

.footer-bottom a {
  color: #0e0e0e7e;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  font-weight: bold;
  background: none;
  border: none;
  color: #004466;
}

@media (max-width: 768px) {
  /* Header */
  header {
    position: fixed;
    top: 0;
    left: 0%;
    right: 0%;
    margin: auto;
    background-color: #ffffff;
    color: rgb(27, 25, 25);
    padding: 0px;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    z-index: 1;
    border-radius: 25px;
    border-top-right-radius: 0;
    border-top-left-radius: 0;
  }
  .logo-container {
    position: relative;
    height: 60px;
    width: 230px;
    margin: 0%;
    /* background-color: #002fff; */
  }
  header img {
    /* border: 3px solid; */
    position: absolute;
    top: -100%;
  }

  .hero {
    position: absolute;
    font-size: 1rem;
    bottom: -32%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    background: transparent;
    color: rgb(255, 255, 255);

    min-width: 100%;
    max-width: 100%;
    max-height: fit-content;

    border-radius: 0;
    padding: 0;
    margin: 0;
  }
  .hero h1 {
    color: #004466;
    text-shadow: none;
  }
  .hero p {
    color: #006699;
  }
  .top {
    padding: 0;
    width: 100%;
    min-width: 100%;
  }
  .heroImage {
    border-radius: 0;
    margin: 0;
    margin-top: 40px;
    position: static;
    transform: none;
    min-width: 100%;
    width: 100%;

    margin-bottom: 100px;
  }
  .button-links {
    width: 100%;
    max-width: 100%; /* ← ADD THIS (fixes max-width bug) */
    height: max-content;
    margin-left: 0; /* ← REMOVE (redundant) */
    margin: 0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-weight: normal;
    border-radius: 0;
    top: 0; /* ← REMOVE (useless without position) */
    right: 0; /* ← REMOVE (useless without position) */
    transform: none; /* ← REMOVE (unnecessary) */
    margin-bottom: 20px;
  }
  #loanApplication,
  .cta-button {
    font-size: 1rem;
    font: 0;
  }
  .main {
    width: 100%;
  }
  footer {
    flex-direction: column-reverse;
    width: 100%;
  }
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: white;
    backdrop-filter: blur(10px);
    position: absolute;
    top: 60px;
    right: 10px;
    padding: 1em;
    border-radius: 15px;
  }

  .nav-links.active {
    min-width: fit-content;
    display: inline-flex;
    flex-direction: column;
    padding: 0 30px;
    justify-content: left;
    border: 2px solid #004466;
    gap: 10px;
  }

  .nav-links li {
  }
  .partner-logos {
    flex-direction: column;
  }
  .why-choose-us ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .why-choose-us ul li {
    padding: 10px;
    border-radius: 10px;
    background-color: #1281b8;
    height: 50px;
    position: inherit;
    width: max-content;
  }
  .why-choose-us {
    margin-right: 50px;

    display: inline-flex;
    justify-content: center;
    align-items: center;
    position: relative;
    color: #ddd;
    min-width: 100%;
    height: 30rem;
  }
  .fa-heart-pulse,
  .hole,
  .fa-wallet {
    display: none;
    color: transparent;
    text-shadow: none;
  }
}
