@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700;800;900&display=swap");

html {
	scroll-behavior: smooth;
	overflow-x: hidden;
}

body {
	font-family: 'Inter', sans-serif;
	font-weight: 400;
	color: #161817;
	line-height: 28px;
	background-color: #fff;
}

.py-7 {
	padding-top: 5rem;
	padding-bottom: 5rem;
}

@media(max-width:991px) {
	.py-7 {
		padding-top: 3rem;
		padding-bottom: 3rem;
	}
}

/*start navbar*/
.navbar-light .nav-item .nav-link {
	font-size: 18px;
	font-weight: 500;
	color: #000;
}

.navbar-light .nav-item:hover .nav-link {
	color: #d21c1c;
}

@media (min-width: 992px) {
	.navbar-expand-lg .navbar-nav .nav-link {
		padding-right: 1rem;
		padding-left: 1rem;
	}
}


.navbar-light .dropdown-item:focus, .navbar-light .dropdown-item:hover {
  color: #d21c1c;
  background-color: #fbebeb;
  overflow: hidden;
}

/*end header*/

/*Start Footer*/
.footer {
	background-color: #222;
}

.footer .copyright {
	background-color: #111;
}

.footer a {
	color: #ccc;
	text-decoration: none;
}

.footer a:hover {
	color: #fff;
}

ul.list_footer {
	list-style: none;
	padding: 0;
	margin: 0;
	padding-left: 5px;
}

ul.list_footer li {
	position: relative;
	color: #31313c;
	font-size: 18px;
	letter-spacing: 0;
	line-height: 30px;
	margin-bottom: 10px;
	transition: .3s ease-in-out;
}

ul.list_footer li:hover {
	margin-left: 7px;
	transition: .3s ease-in-out;
}

/*End Footer*/
/*Start Background*/
.bg_header {
	background: #000 url(../img/insurance.webp);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: right center;
}
.bg_calc {
	background: #051718 url(../img/calc.png);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: right center;
}
.bg_machinery-loan{
	background: #051718 url(../img/machinery-loan.webp);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: right center;
}
.bg_personal-loan{
	background: #051718 url(../img/personal-loan.webp);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: right center;
}
.bg_business-loan{
	background: #051718 url(../img/business-loan.webp);
	background-size: cover;
	background-repeat: no-repeat;
	background-position:center;
}
.bg_home-loan{
	background: #051718 url(../img/home-loan.webp);
	background-size: cover;
	background-repeat: no-repeat;
	background-position:top center;
}
.bg_car-loan{
	background: #051718 url(../img/car-loan.webp);
	background-size: cover;
	background-repeat: no-repeat;
	background-position:top center;
}
.bg_partnership{
	background: #051718 url(../img/partnership.webp);
	background-size: cover;
	background-repeat: no-repeat;
	background-position:top center;
}
.bg_overdraft{
	background: #051718 url(../img/overdraft.webp);
	background-size: cover;
	background-repeat: no-repeat;
	background-position:center;
}
.bg_property_loan{
	background: #051718 url(../img/property-loan.webp);
	background-size: cover;
	background-repeat: no-repeat;
	background-position:center;
}

@media(max-width: 991px){
	.bg_header {
         background: #000 url(../img/insurance-sm.jpg);
         background-size: cover;
       	background-repeat: no-repeat;
       	background-position: right center;
}
.bg_calc {
	background: #051718;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: right center;
}
}

.bg_red {
	background-color: #cc1632;
}
.bg_red20 {
	background-color: #efe9e9;
}

.bg_red_grad300 {
	background: linear-gradient(147deg, rgb(255, 227, 229) 9%, rgb(207, 226, 255) 78%);
}

/*End Background*/

/*Start Button*/
.btn{
	padding: 10px 30px;
  border-radius: 10px;
  font-weight: 700;
/*  font-size: 14px;
  line-height: 20px;*/
}
.btn_red{
  background-color: #e31837;
  border: 2px solid #e31837;
  color: #fff;
}
.btn_red:hover{
  background-color: #be001d;
  border: 2px solid #be001d;
  color: #fff;
}


.card_shadow {
	background-color: #fff;
	border: 2px solid #fff;
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.zoom_up {
	transition: transform 0.5s, box-shadow 0.5s;
}

.zoom_up:hover {
	transform: translateY(-15px);
}

.container-overlay {
	position: relative;
	width: 100%;
	overflow: hidden;
	border-radius: 12px;
}

.overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 100%;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.7) 100%);
	color: white;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 20px;
	transition: all 0.5s ease;
}

.overlay:hover {
	background-color: rgba(0, 0, 0, 0.40);
	background-blend-mode: darken;
}

/* Initially hide extra-info */
.extra-info {
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transition: all 0.5s ease;
}

/* Reveal extra-info on hover */
.container-overlay:hover .extra-info {
	max-height: 100px;
	opacity: 1;
}

/* Move content upward on hover */
.container-overlay:hover .overlay {
	justify-content: bottom;
}



.owl-carousel .owl-item img {
  display: block;
  width: auto;
}

.owl-nav .owl-next {
	right: -40px
}

.owl-nav .owl-prev {
	left: -40px
}

.owl-nav .owl-next,
.owl-nav .owl-prev {
	position: absolute;
	top: 0;
	bottom: 25px;
	margin-top: auto;
	margin-bottom: auto;
	font-size: 50px !important;
	line-height: 0;
	color: #cc1632 !important;
	z-index: 3
}

.owl-nav .owl-next:before,
.owl-nav .owl-prev:before {
	content: "";
	position: absolute;
	width: 45px;
	height: 45px;
	background-color: #fff;
	border: 1px solid #cecece;
	top: -100px;
	bottom: -110px;
	margin: auto;
	border-radius: 50%;
	z-index: -1
}

.owl-nav .owl-next:before {
	right: -100px;
	left: -100px
}

.owl-nav .owl-prev:before {
	left: -100px;
	right: -102px
}

.owl-nav .disabled {
	color: #e3e5e8 !important
}

@media(max-width:991px) {
	.owl-nav .owl-next {
		right: calc(50% - 40px);
		top: 100%;
	}

	.owl-nav .owl-prev {
		left: calc(50% - 40px);
		top: 100%;
	}

	.owl-nav .owl-next,
	.owl-nav .owl-prev {
		bottom: -25px;
	}
}

.back-to-top {
	background-color: #e31837;
	color: #fff;
	width: 40px;
	height: 40px;
	text-align: center;
	border-radius: 4px;
	position: fixed;
	bottom: 100px;
	right: 20px;
	font-size: 20px;
	opacity: 0;
	transition: background-color 0.3s, opacity 0.5s, visibility 0.5s;
	z-index: 1000;
	text-decoration: none;
	border: 2px solid #e31837;
	transition: all 300ms linear 0s;
}

.back-to-top.fadeIn {
	opacity: 1;
}

.back-to-top:hover.fadeIn {
	transform: translateY(-5px);
}
.round50{
	border-radius: 15px;
}

.emi_calculator {
      /*max-width: 450px;*/
      margin: auto;
      background: white;
      padding: 25px;
      border-radius: 10px;
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }
  .emi_calculator label {
   display: block;
   margin-top: 10px;
   font-weight: bold;
  }
  .emi_calculator input {
   width: 100%;
   padding: 8px;
   margin-top: 5px;
   border-radius: 5px;
   border: 1px solid #ccc;
  }
  .emi_calculator button {
   width: 100%;
   padding: 10px;
   background-color: #0066cc;
   color: white;
   border: none;
   margin-top: 20px;
   border-radius: 5px;
   font-size: 16px;
   cursor: pointer;
  }
  .emi_calculator button:hover {
   background-color: #004999;
  }
  .emi_calculator .results {
   margin-top: 20px;
   background: #eef6ff;
   padding: 15px;
   border-radius: 8px;
  }
  .emi_calculator .results div {
   margin-bottom: 10px;
  }
  .emi_calculator #emiChart {
   margin-top: 20px;
  }


.accordion-item{
    border: none;
}
.accordion-button:not(.collapsed){
color: #fff;
background-color: #e31837;
box-shadow: 0px 10px 30px rgba(0,0,0,.06);
margin-bottom: 0 !important;


}
.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='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e");
}
.accordion-button{
font-weight: bold;
background: #fff;
padding: 20px;
box-shadow: 0px 10px 30px rgba(0,0,0,.06);
margin-bottom: 25px;
}

.accordion-body{
box-shadow: -10px 10px 30px rgba(0,0,0,.06);
margin-bottom: 25px;
background: #fff;
}

.red:hover{
	background-color: #fce3e7;
}

 .side_fixed{
   position: fixed;
   right: 0;
   top: 40%;
   background-color: #fff;
  }
  .side_fixed ul{
   width: 50px;
   border-radius: 40px;
   margin-bottom: 0;
  }
  .side_fixed li{
   background-color: #cc1632;
   padding: 10px;
   margin: 1px;
  }