:root {
  --bs-blue: #0d6efd;
  --bs-indigo: #6610f2;
  --bs-purple: #6f42c1;
  --bs-pink: #d63384;
  --bs-red: #dc3545;
  --bs-orange: #fd7e14;
  --bs-yellow: #ffc107;
  --bs-green: #198754;
  --bs-teal: #20c997;
  --bs-cyan: #0dcaf0;
  --bs-white: #fff;
  --bs-gray: #6c757d;
  --bs-gray-dark: #343a40;
  --bs-primary: #0d6efd;
  --bs-secondary: #6c757d;
  --bs-success: #198754;
  --bs-info: #0dcaf0;
  --bs-warning: #ffc107;
  --bs-danger: #dc3545;
  --bs-light: #f8f9fa;
  --bs-dark: #212529;
  --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
}

html {
  font-size: 17px;
}

#cssmenu,
#cssmenu ul,
#cssmenu ul li,
#cssmenu ul li a,
#cssmenu #menu-button {
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
  line-height: 1;
  display: block;
  position: relative;
  box-sizing: border-box;
}

#cssmenu:after,
#cssmenu > ul:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

#cssmenu #menu-button {
  display: none;
}

#cssmenu {
  width: auto;
  line-height: 1;
  position: relative;
  z-index: 100;
  display: grid;
  justify-content: end;
}

/*#menu-line {

  position: absolute;

  top: 0;

  left: 0;

  height: 3px;

  background: #ffcb05;

  -webkit-transition: all 0.25s ease-out;

  -moz-transition: all 0.25s ease-out;

  -ms-transition: all 0.25s ease-out;

  -o-transition: all 0.25s ease-out;

  transition: all 0.25s ease-out;

}*/
#cssmenu > ul > li {
  float: left;
}

#cssmenu.align-center > ul {
  font-size: 0;
  text-align: center;
}

#cssmenu.align-center > ul > li {
  display: inline-block;
  float: none;
}

#cssmenu.align-center ul ul {
  text-align: left;
}

#cssmenu.align-right > ul > li {
  float: right;
}

#cssmenu.align-right ul ul {
  text-align: right;
}

#cssmenu > ul > li > a {
  padding: 2px 25px;
  margin: 10px 0px;
  font-size: 1.2rem;
  text-decoration: none;
  color: #020700;
  transition: color 0.2s ease;
}

#cssmenu > ul > li > a:nth-child(8) {
  border: 0px;
}

#cssmenu > ul > li:hover > a,
#cssmenu > ul > li.active > a {
  color: #115402;
}

#cssmenu > ul > li.has-sub > a {
  padding-right: 29px;
}

#cssmenu > ul > li.has-sub > a::after {
  position: absolute;
  top: 5px;
  right: 10px;
  width: 8px;
  height: 8px;
  border-bottom: 2px solid #474d45;
  border-right: 2px solid #474d45;
  content: "";
  transform: rotate(45deg);
  transition: border-color 0.2s ease;
}

#cssmenu > ul > li.has-sub:hover > a::after {
  border-color: #000;
}

#cssmenu ul ul {
  position: absolute;
  left: -9999px;
}

#cssmenu li:hover > ul {
  left: auto;
}

#cssmenu.align-right li:hover > ul {
  right: 0;
}

#cssmenu ul ul ul {
  margin-left: 100%;
  top: 0;
}

#cssmenu.align-right ul ul ul {
  margin-left: 0;
  margin-right: 100%;
}

#cssmenu ul ul li {
  height: 0;
  transition: height 0.2s ease;
}

#cssmenu ul li:hover > ul > li {
  height: 32px;
}

#cssmenu ul ul li a {
  padding: 11px 20px;
  font-size: 1rem;
  background: #ececec;
  text-decoration: none;
  color: #474d45;
  min-width: 173px;
  white-space: nowrap;
  transition: color 0.2s ease;
}

#cssmenu ul ul li:hover > a,
#cssmenu ul ul li a:hover {
  color: #000000;
}

#cssmenu ul ul li.has-sub > a::after {
  position: absolute;
  top: 13px;
  right: 10px;
  width: 8px;
  height: 8px;
  border-bottom: 1px solid #474d45;
  border-right: 1px solid #474d45;
  content: "";
  transform: rotate(-45deg);
  transition: border-color 0.2s ease;
}

#cssmenu.align-right ul ul li.has-sub > a::after {
  right: auto;
  left: 10px;
  border-bottom: 0;
  border-right: 0;
  border-top: 1px solid #000;
  border-left: 1px solid #000;
}

#cssmenu ul ul li.has-sub:hover > a::after {
  border-color: #000;
}

@media all and (max-width: 768px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min-resolution: 192dpi) and (max-width: 1024px), only screen and (min-resolution: 2dppx) and (max-width: 1024px) {
  #cssmenu {
    width: 100%;
    justify-content: inherit;
  }
  #cssmenu ul {
    width: 100%;
    display: none;
  }
  #cssmenu.align-center > ul,
  #cssmenu.align-right ul ul {
    text-align: left;
  }
  #cssmenu ul li,
  #cssmenu ul ul li,
  #cssmenu ul li:hover > ul > li {
    width: 100%;
    height: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }
  #cssmenu ul li a,
  #cssmenu ul ul li a {
    width: 100%;
  }
  #cssmenu > ul > li,
  #cssmenu.align-center > ul > li,
  #cssmenu.align-right > ul > li {
    float: none;
    display: block;
  }
  #cssmenu ul ul li a {
    padding: 12px 33px;
    font-size: 13px;
    color: #fff;
    background: none;
  }
  #cssmenu ul ul li a::before {
    content: ">>";
    position: absolute;
    top: 12px;
    left: 12px;
    display: block;
    color: #ca7171;
  }
  #cssmenu ul ul li:hover > a,
  #cssmenu ul ul li a:hover {
    color: #000000;
  }
  #cssmenu ul ul ul li a {
    padding-left: 40px;
  }
  #cssmenu ul ul,
  #cssmenu ul ul ul {
    position: relative;
    left: 0;
    right: auto;
    width: 100%;
    margin: 0;
  }
  #cssmenu > ul > li.has-sub > a::after,
  #cssmenu ul ul li.has-sub > a::after {
    display: none;
  }
  #menu-line {
    display: none;
  }
  #cssmenu #menu-button {
    display: block;
    padding: 15px 20px;
    color: #fff;
    cursor: pointer;
    font-size: 12px;
    text-transform: uppercase;
  }
  #cssmenu #menu-button::after {
    content: "";
    position: absolute;
    top: 15px;
    right: 20px;
    display: block;
    width: 15px;
    height: 2px;
    background: #fff;
  }
  #cssmenu #menu-button::before {
    content: "";
    position: absolute;
    top: 20px;
    right: 20px;
    display: block;
    width: 15px;
    height: 7px;
    border-top: 2px solid #fff;
    border-bottom: 2px solid #fff;
  }
  #cssmenu .submenu-button {
    position: absolute;
    z-index: 10;
    right: 0;
    top: 0;
    display: block;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    height: 36px;
    width: 52px;
    cursor: pointer;
  }
  #cssmenu .submenu-button::after {
    content: "";
    position: absolute;
    top: 13px;
    left: 26px;
    display: block;
    width: 1px;
    height: 11px;
    background: #fff;
    z-index: 99;
  }
  #cssmenu > ul > li > a {
    padding: 11px 23px;
    margin: 0;
    font-size: 14px;
    text-decoration: none;
    text-transform: uppercase;
    color: #fff;
    transition: color 0.2s ease;
    border-right: 0px;
  }
  #cssmenu .submenu-button::before {
    content: "";
    position: absolute;
    left: 21px;
    top: 18px;
    display: block;
    width: 11px;
    height: 1px;
    background: #fff;
    z-index: 99;
  }
  #cssmenu .submenu-button.submenu-opened:after {
    display: none;
  }
}
header .top-section {
  background-color: #474d45;
  padding: 4px 0px;
}
header .top-section ul {
  padding: 0px;
  margin: 0px;
  list-style-type: none;
  float: right;
}
header .top-section ul li {
  padding: 0px 15px;
  float: left;
}
header .top-section ul li:last-child {
  padding-right: 0px;
}
header .top-section ul li a {
  color: var(--bs-white);
  text-decoration: none;
}
header .logo-navigation-section {
  background-color: #ececec;
  padding: 10px 0px;
}
header .logo-navigation-section .logo-nav-row {
  display: grid;
  grid-template-columns: 460px 1fr;
  align-items: center;
}




.home-slider .carousel-item {
  background-color: #1f8db7;
  padding: 100px 220px;
}

.home-slider .carousel-item .slider-row {
  display: grid;
  grid-template-columns: 600px 1fr;
  grid-gap: 100px;
  align-items: center;
}
.home-slider .carousel-item .slider-row .item-caption h1 {
  font-size: 3rem;
  color: var(--bs-white);
}
.home-slider .carousel-item .slider-row .item-caption .last-quote {
  display: inline-block;
  transform: rotate(180deg);
}
.home-slider .carousel-indicators [data-bs-target] {
  height: 5px;
  background-color: #000;
}
.carousel-item {
  position: relative;
  transform: translateY(-100%);
  animation: slideIn 1s ease-in-out forwards;
}

@keyframes slideIn {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

.carousel-control-prev,
.carousel-control-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.carousel-control-prev {
  left: auto;
  right: 0;
}
.about-section {
  padding: 100px 0px;
}
.about-section .about-row {
  display: grid;
  grid-template-columns: 1fr 550px;
  grid-gap: 120px;
  align-items: center;
}
.about-section .about-row .item-content {
  text-align: justify;
}
.about-section .about-row .item-content h2 {
  color: #474d45;
  text-align: left;
  margin-bottom: 30px;
  font-weight: 600;
  font-size: 3rem;
  border-bottom: 1px solid #474d45;
  padding-bottom: 10px;
  position: relative;
}
.about-section .about-row .item-content h2 small {
  display: block;
  font-size: 1.3rem;
  color: rgb(163, 163, 163);
}
.about-section .about-row .item-content h2::after {
  content: "";
  height: 4px;
  background-color: #2f2395;
  position: absolute;
  width: 100px;
  bottom: -2px;
  left: 0;
  z-index: 10;
  border-radius: 50px;
}
.about-section .about-row .item-pic {
  position: relative;
}
.about-section .about-row .item-pic::before {
  content: "";
  height: 150px;
  width: 150px;
  background-color:#2f2395;
  position: absolute;
  z-index: -10;
  left: -43px;
  top: -48px;
}
.about-section .about-row .item-pic::after {
  content: "";
  height: 150px;
  width: 150px;
  background-color: #1f8db7;
  position: absolute;
  z-index: -10;
  right: -43px;
  bottom: -48px;
}

.service-section {
  padding: 100px 0px;
  background-color: rgb(238, 238, 238);
}
.service-section h2 {
  color: #474d45;
  text-align: left;
  margin-bottom: 30px;
  font-weight: 600;
  font-size: 3rem;
  border-bottom: 1px solid #474d45;
  padding-bottom: 10px;
  position: relative;
}
.service-section h2 small {
  display: block;
  font-size: 1.3rem;
  color: rgb(163, 163, 163);
}
.service-section h2::after {
  content: "";
  height: 4px;
  background-color: #2f2395;
  position: absolute;
  width: 100px;
  bottom: -2px;
  left: 0;
  z-index: 10;
  border-radius: 50px;
}
.service-section .service-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 20px;
}
.service-section .service-row .item {
  background-color: #fff;
  padding: 40px;
  border-bottom: 5px solid #1518cc;
  display: grid;
  justify-items: center;
  text-align: center;
  transition: all 0.5s;
  flex: 0 0 22%; 
  margin: 15px 0;
  text-align: center; 
transition: transform 0.3s ease-in-out; 
border-radius: 20px; 
}
.service-section .service-row .item:hover {
  background-color: #1518cc;
  transform: scale(1.1); 
  color: var(--bs-white);
}
.service-section .service-row .item:hover .icon {
  background-color: var(--bs-white);
  color: #919932;
}
.service-section .service-row .item .icon {
  border: 2px solid #919932;
  width: 100px;
  height: 100px;
  border-radius: 100%;
  text-align: center;
  display: grid;
  align-items: center;
  justify-content: center;
}
.service-section .service-row .item .icon img {
  height: 60px;
}
.service-section .service-row .item h4 {
  margin-bottom: 15px;
  margin-top: 20px;
}
.service-section {
    background-color: #f5f5f5; /* Optional: Add a background color for better visibility */
  }

  .service-row {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
  }

  /* .service-item {
    flex: 0 0 22%; 
    margin: 15px 0;
    text-align: center; 
  transition: transform 0.3s ease-in-out; 
	border-radius: 20px; 
  }  */

   /* .service-item:hover {
    transform: scale(1.1); 
   }  */

  .icon img {
    max-width: 100%;
    height: auto;
	border-radius: 20px;
  }

.testimonial-section {
  padding: 100px 0px;
}
.testimonial-section h2 {
  color: #474d45;
  text-align: left;
  margin-bottom: 30px;
  font-weight: 600;
  font-size: 3rem;
  border-bottom: 1px solid #474d45;
  padding-bottom: 10px;
  position: relative;
}
.testimonial-section h2 small {
  display: block;
  font-size: 1.3rem;
  color: rgb(163, 163, 163);
}
.testimonial-section h2::after {
  content: "";
  height: 4px;
  background-color: #2f2395;
  position: absolute;
  width: 100px;
  bottom: -2px;
  left: 0;
  z-index: 10;
  border-radius: 50px;
}
.testimonial-section .testimonial {
  background-color: rgb(241, 241, 241);
  padding: 50px 150px;
  border-radius: 20px;
}
.testimonial-section .testimonial .item {
  text-align: center;
}
.testimonial-section .testimonial .item img {
  height: 130px;
  width: auto;
  display: inline;
  border: 3px solid rgb(120, 120, 120);
  border-radius: 100%;
}

.applyloan-section {
  padding: 100px 0px;
  background-repeat: no-repeat;
  position: relative;
  background-attachment: fixed;
}
.applyloan-section::before {
  content: "";
  background-color: rgba(0, 0, 0, 0.49);
  position: absolute;
  height: 100%;
  width: 100%;
  z-index: 10;
  top: 0;
}
.applyloan-section .container {
  position: relative;
  z-index: 100;
}
.applyloan-section h2 {
  color: #474d45;
  text-align: left;
  margin-bottom: 30px;
  font-weight: 600;
  font-size: 3rem;
  border-bottom: 1px solid #474d45;
  padding-bottom: 10px;
  position: relative;
}
.applyloan-section h2 small {
  display: block;
  font-size: 1.3rem;
  color: rgb(163, 163, 163);
}
.applyloan-section h2::after {
  content: "";
  height: 4px;
  background-color: #2f2395;
  position: absolute;
  width: 100px;
  bottom: -2px;
  left: 0;
  z-index: 10;
  border-radius: 50px;
}
.applyloan-section .loan-box {
  background-color: rgba(255, 255, 255, 0.872);
  padding: 50px;
}
.applyloan-section .loan-box .apply-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 50px;
  row-gap: 15px;
}
.applyloan-section .loan-box .apply-row .item:nth-child(5), .applyloan-section .loan-box .apply-row .item:nth-child(6) {
  grid-column: 1/-1;
}

footer {
  padding: 70px 0px;
  background-color: #474d45;
  color: #fff;
}
footer .footer-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 100px;
}
footer .footer-row .item-map {
  position: relative;
}
footer .footer-row .item-map iframe {
  width: 100%;
  height: 350px;
  left: 0;
}
footer .bi-buildings {
  font-size: 4rem;
}
footer hr {
  margin: 40px 0px;
}
footer .copy-right-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
footer .copy-right-row .item {
  font-size: 0.8rem;
}
footer .copy-right-row .item:nth-child(2) {
  text-align: right;
}
footer .copy-right-row .item:nth-child(2) a {
  text-decoration: none;
  color: #fff;
}

.inside-banner {
  background-color: #66955d;
  padding: 0px 0px;
  color: #fff;
  position: relative;
}
.inside-banner .inside-header {
  position: absolute;
  width: 100%;
  display: grid;
  align-items: center;
  height: 100%;
}
.inside-banner .inside-header h1 {
  margin: 0px;
  color: #000;
  font-weight: 700;
  font-size: 2.5rem;
}

.inside-content {
  padding: 50px 0px;
}

@media only screen and (max-width: 1366px) and (min-width: 769px) {
  .home-slider .carousel-item {
    background: rgb(36,0,0);
    background: linear-gradient(90deg, rgba(36,0,0,1) 0%, rgba(35,15,218,0.8211659663865546) 0%, rgba(9,109,121,1) 100%, rgba(21,70,148,1) 100%);
    padding: 100px 70px;
  }
}
@media all and (max-width: 768px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min-resolution: 192dpi) and (max-width: 1024px), only screen and (min-resolution: 2dppx) and (max-width: 1024px) {
  .header .top-section .header-top-row,
  header .logo-navigation-section .logo-nav-row,
  .home-slider .carousel-item .slider-row,
  .about-section .about-row,
  .service-section .service-row,
  .applyloan-section .loan-box .apply-row,
  footer .footer-row,
  header .top-section .header-top-row {
    grid-template-columns: 1fr;
  }
  .home-slider .carousel-item .slider-row {
    row-gap: 15px;
  }
  .home-slider .carousel-item {
    padding: 15px;
  }
  .applyloan-section .loan-box {
    background-color: rgba(255, 255, 255, 0.872);
    padding: 15px;
  }
  .testimonial-section .testimonial {
    padding: 15px;
  }
  .about-section .about-row .item-pic::after,
  .about-section .about-row .item-pic::before {
    display: none;
  }
  .about-section .about-row {
    row-gap: 15px;
  }
  .about-section,
  .service-section,
  .testimonial-section {
    padding: 20px 0px;
  }
  header .top-section .header-top-row,
  header .logo-navigation-section .logo-nav-row {
    row-gap: 15px;
  }
  header .logo-navigation-section .logo-nav-row .item-navigation {
    background-color: #2f2395;
  }
}