

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-family: sans-serif;
}
a{
    text-decoration: none;
    color: black;
}

html, body{
    height: 100%;
    width: 100%;
}
#banner{
    background-image: url("assets/images/quickpay-desktop.jpg");
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 40vh;
    position: relative;
}
#banner #banner-ctnt{
    text-transform: capitalize;
    width: 35%;
    margin: 5% auto;
    margin-left: 5%;
    position: absolute;
}
#banner #banner-ctnt h1{
    font-size: 2rem;
    font-weight: 800;
    color: black;
    position: relative;
}

#banner #banner-ctnt p{
    margin-top: 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: rgb(61, 61, 61);
}
.breadcrumb{
    margin: 1rem 5%;
}
.breadcrumb .breadcrumb-item{
    font-size: 1rem;
    cursor: pointer;
}
#hero-part{
    padding: 5rem 5%;
    height: 100%;
    width: 100%;
    position: relative;
}
#hero-part .loan-intro h2{
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
}
#hero-part .loan-intro p{
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 5rem;
}
#hero-part .loan-types{
    padding-top: 3rem;
    background: #ababab1a;
    width: 100%;
}
#hero-part .loan-types h2{
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
}
#hero-part .loan-types h2 span{
    color: greenyellow;
    font-size: 2.6rem;
    font-weight: 800;
}

#card-container{
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start;
    justify-content: center;
    padding-top: 5rem;
}
#card-container .card{
    padding: 1.2rem;
    border-radius: 1rem;
    border: none;
    color: #7b7b7b;
    width: 100%;
}
 #card-container .card .card-title{
    font-size: 1.5rem;
    text-align: left;
 }
#card-container .card img{
   border-radius: 1rem;
   max-width: 500px;
   height: 150px;
   scale: 1.1;
   transition: all ease .3s;
}
#card-container .card img:hover{
    scale: 1;
}
#card-container .card .card-text{
    font-size: 1rem;
    color: black;
}

.card-body{
    width: 70%;
    float: right;
}
@media (max-width: 600px){
    .card-body{
        width: 100%;
        text-align: left;
        margin-top: 2rem;
    }
    #card-container .card .card-title {
        font-size: 2rem;
        text-align: left;
        margin-bottom: 1.5rem;
    }
    #card-container .card img {
        width: 100%;
        border-radius: 1rem;
        scale: 1;
        transition: all ease .3s;
    }
    #contact-det{
        display: none;
    }
}
#contact-det h2{
    text-align: center;
    text-transform: capitalize;
    /* color: green; */
    font-size: 2.5rem;
    font-weight: 600;
    word-spacing: .01rem;
}
#contact-det h2 span{
    color: greenyellow;
    font-size: 2.6rem;
}

#contact-det .det-icons{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4rem;
    margin-bottom: 2rem;
    gap: 10rem;
}
.det-icons .circle{
    height: 100px;
    width: 100px;
    border: 1px solid #ababab;
    border-radius: 50%;
    position: relative;
}
.circle i{
    font-size: 3rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: darkslategrey;
}
.det{
    margin-bottom: 5rem;
}
.det p{
    font-size: 2rem;
    font-weight: 700;
    position: absolute;
    color: darkslategrey;
    margin: 1rem 1.5rem;
}
.la-flex{
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    align-items: center;
}
.la-flex div:last-of-type{
    width: 80% !important;
}
@media only screen and (max-width: 768px){
    .la-flex {
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    align-items: center;
    flex-direction: column;
}
.la-flex div:last-of-type {
    width: 95% !important;
    margin-top: 20px;
}
}
@media only screen and (max-width: 500px){
    #hero-part .loan-intro p {
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 0rem;
}
#hero-part .loan-intro h2 {
    font-size: 1.3rem;
    margin-bottom: 1.4rem;
}
#hero-part {
    padding: 1rem 5%;
}
#hero-part .loan-types h2 {
    font-size: 1.5rem;
}
#hero-part .loan-types h2 span {
    font-size: 1.6rem;
}
#card-container {
    gap: 1rem;
    padding-top: 1rem;
}
}
