*, ::after, ::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    min-width: 100%;
}

body{
    background-color: white;
    width: 100%;
    overflow-x: hidden;
    font-family: "Poppins", sans-serif;
    min-height: 100vh;
    padding: 0;  
}

/* ----------- The first section or the page-title section ----------- */
.page-title-section{
    background: url(../images/about-us-img.jpg) center center / cover no-repeat local;
    background-color: rgba(0, 0, 0, 0.3);
    background-blend-mode: multiply;
    width: 100%;
    height: 15.625rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-title-section .contact-container h1{
    font-size: 3.2rem;
    font-weight: 800;
    color: white;
}

.page-title-section .contact-container a{
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
}

.page-title-section .contact-container a:hover{
    color:black;
}
.page-title-section .contact-container span{
    font-size: 1.2rem;
    font-weight: bold;
}

/* ----------- The Second section or the Contact form section ----------- */

.contact-form-section{
    width: 100%;
    height: 43.75rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-form-section .form-container{
    width: 40vw;
    height: 34.375rem; 
}

.contact-form-section .form-container h2{
    font-size: 2.4rem;
    font-weight: bold;
    position: relative;
    text-align: center;
    margin-bottom: 3.1rem;
}

.contact-form-section .form-container h2::after{
    content: "";
    background-color: #000000;
    width: 1.875rem;
    height: 0.3125rem;
    border-radius: 0.3125rem;
    position: absolute;
    left: 50%; 
    top: 120%; 
}

.contact-form-section .form-container input,
.contact-form-section .form-container textarea,
.contact-form-section .form-container button{
    width: 100%;
    border-radius: 0.625rem;
    margin: 0rem 0rem 0.9375rem 0rem;  
}

.contact-form-section .form-container input{
    height: 2.5rem;
    border: 1px solid #7f7f7f;
    font-size: 1rem; 
    padding-left: 1.25rem;
}

.contact-form-section .form-container button{
    height: 1.875rem;
    padding: 0.94rem 0px 2.0125rem 0px;
    background-color: rgb(76, 26, 155);
    border: 0;
    color: white;
    font-weight: bold;
    cursor: pointer;
    font-size: 1.2rem; 
}

.contact-form-section .form-container button:hover{
    background-color: black;
}

.contact-form-section .form-container textarea{
    height: 9.375rem;
    padding: 0.625rem 0px 0px 1.25rem;
    border: 1px solid #7f7f7f;
    font-size: 1rem; 
    resize: none;
    font-family: inherit;
}

.contact-alert-danger{
    width: 100%;
    height: 3.4375rem;
    border: 1px solid rgb(102, 7, 7);
    background-color: rgba(255, 0, 0, 0.349);
    color: rgb(102, 7, 7);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1rem;
    border-radius: 0.625rem;
}

.contact-alert-success{
    width: 100%;
    height: 3.4375rem;
    border: 1px solid rgb(20, 77, 20);
    background-color:rgba(60, 158, 60, 0.521);
    color: rgb(20, 77, 20);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1rem;
    border-radius: 0.625rem;
}

/* ----------- The Third section or partners section ----------- */

.contact-partners-section{
    background-color: #ddd3d3;
    width: 100%;
    height: 12.5rem;
    display: flex;
    gap: 3.125rem;
    justify-content: center;
    align-items: center;
}

/* --------- This is the Fourth section or the bank-story section ------- */
.contact-last-section{
    background-color: #ddd3d3;
    width: 100%;
    min-height: 31.25rem;
    position: relative;
    margin-top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-last-section .cont-ls-con{
    max-width: 62.5rem;
    height: 18.75rem;
    display: flex;
    gap: 6.25rem;
    align-items: start;
}

.contact-last-section .cont-ls-con .logo-story-wrapper{
    display: inline-block;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-last-section .cont-ls-con .logo-story-wrapper .ls-logo{
    height: 5rem;
    width: 5rem;
}

.contact-last-section .cont-ls-con .logo-story-wrapper .bank-story{
    display: inline-block;
    width: 21.875rem;
    line-height: 1.5rem;
    color: rgba(0, 0, 0, 0.5);
    font-size: 0.90rem; 
}

.contact-last-section .cont-ls-con .links-wrapper{
    max-width: 9.375rem;
}

.contact-last-section .cont-ls-con .links-wrapper .links{
    display: inline-block;
    max-width: 6.25rem ;
    color: #696f73;
    font-size: 1.5rem; 
    font-weight: bold;
    position: relative;   
}

.contact-last-section .cont-ls-con .links-wrapper .links::after{
    content: '';
    height: 0.1875rem;
    width: 1.875rem;
    background-color: #0000009c;
    position: absolute;
    top: 120%;
    left: 0;  
}

.contact-last-section .cont-ls-con .links-wrapper ul {
    margin-top: 2.1875rem;
    line-height: 3.125rem;
    list-style-type: none;
    font-size: 0.90rem; 
    color: rgba(0, 0, 0, 0.5);
}

.contact-last-section .cont-ls-con .links-wrapper ul li a{
    text-decoration: none;
    color: rgba(0, 0, 0, 0.5);
}

.contact-last-section .cont-ls-con .links-wrapper ul li a:hover{
    color: black;
}

.contact-last-section .cont-ls-con .contact-info-wrapper{
    width: 21.875rem;
    height: 12.5rem;
}

.contact-last-section .cont-ls-con hr{
    color: black;
    border-bottom: 1px solid black;
    margin-bottom: 0.625rem;
}

.contact-last-section .cont-ls-con .contact-info-wrapper ul{
    list-style: none;
    color: grey;
    margin-top: 3.125rem;
}

.contact-last-section .cont-ls-con .contact-info-wrapper ul li{
    margin-bottom: 0.625rem;
}

.contact-last-section .cont-ls-con .contact-info-wrapper h2{
    color: #696f73;  
    font-size: 1.5rem;
    position: relative; 
    font-weight: bold;  
}

.contact-last-section .cont-ls-con .contact-info-wrapper h2::after{
    content: '';
    height: 0.1875rem;
    width: 1.875rem;
    background-color: #0000009c;
    position: absolute;
    top: 120%;
    left: 0;    
}


/* --------- This is the beginning of all the Media queries --------- */


@media (max-width: 430px){
    /*  This is the styling of the mobile navigation nav-bar */

    html{
        width: 100%;
        overflow-x: hidden;
    }


    /* --- The first section or the page-title section ---*/

    .page-title-section{
        width: 100%;
        height: 30vh;
    }

    .page-title-section .contact-container {
        position: relative;
    }

    .page-title-section .contact-container a{
        position: absolute;
        left: -1.875rem;
    }

    .page-title-section .contact-container span{
        position: absolute;
        right: 0.3125rem;
    }

    .page-title-section .contact-container h1{
        font-size: 2rem;
        text-align: center;
    }
    
    .page-title-section .contact-container a{
        font-size: 1rem;
    }
    
    .page-title-section .contact-container span{
        font-size: 1rem;
    }

    /* ----The Second section or the Contact form section ----- */

    .contact-form-section .form-container{
        width: 80vw;
    }

    .contact-form-section .form-container h2{
        font-size: 1.66667rem;
        margin-bottom: 3rem;
    }

    input{
        font-size: 0.93333rem; 
    }

    button{
        font-size: 0.93333rem; 
    }

    textarea{
        font-size:0.93333rem; 
    }

    .contact-alert-danger, .contact-alert-success{
        width: 80vw;
        font-size: 0.875rem;
    }
   

    /* -- The third section or partners section --- */

    .contact-partners-section{
        width: 100%;
        height: 15vh;
        gap: 10px;
    }

    .contact-partners-section img{ 
        width: 3.125rem;
        height: 1.875rem;
    }

    /*--- styling of the story and Link section(last section)---- */

    .contact-last-section{
        width: 100%;
        min-height: 50rem;
        padding-top: 3rem;
        justify-content: start;
        align-items: start;
    }
    
    .contact-last-section .cont-ls-con{
        width: inherit;
        height: 37.5rem;
        flex-direction: column;
        gap: 2.5rem;
        align-items: start;
        justify-content: start;
    }
    
    .contact-last-section .cont-ls-con .logo-story-wrapper{
        margin-left: 1rem;
    }
    
    .contact-last-section .cont-ls-con .logo-story-wrapper .ls-logo{
        height: 2.5rem;
        width: 2.5rem;
    }
    
    .contact-last-section .cont-ls-con .logo-story-wrapper .bank-story{
        width: 90%;
        font-size: 0.875rem; 
    }
    
    .contact-last-section .cont-ls-con .links-wrapper{
        margin-left: 1rem;
    }
    
    .contact-last-section .cont-ls-con .links-wrapper .links{
        font-size: 1rem;    
    }
    
    .contact-last-section .cont-ls-con .links-wrapper .links::after{
        content: '';
        width: 1.5625rem;
    }
    
    .contact-last-section .cont-ls-con .links-wrapper ul {
        line-height: 2rem;
        font-size: 0.875rem; 
    }
    
    .contact-last-section .cont-ls-con .contact-info-wrapper{
        margin-left: 1rem;
    }
    
    .contact-last-section .cont-ls-con hr{
       width: 80%;
    }
    
    .contact-last-section .cont-ls-con .contact-info-wrapper ul{
        line-height: 2rem;
    }
    
    .contact-last-section .cont-ls-con .contact-info-wrapper ul li{
        list-style: none;
    }
    
    .contact-last-section .cont-ls-con .contact-info-wrapper h2{  
        font-size: 1rem;
    }
    
    .contact-last-section .cont-ls-con .contact-info-wrapper h2::after{
        content: '';
        width: 1.5625rem;  
    }    
   
}


/* ---------- This is the styling of the screen size between 431px to 820px ------- */

@media (min-width: 431px) and (max-width: 820px){

    /*  This is the styling of the mobile navigation nav-bar */

    html{
        width: 100%;
        overflow-x: hidden;
    }

     /* --- The first section or the page-title section ---*/

     .page-title-section{
        width: 100%;
        height: 30vh;
    }

    .page-title-section .contact-container {
        position: relative;
    }

    .page-title-section .contact-container a{
        position: absolute;
        left: -0.9375rem;
    }

    .page-title-section .contact-container span{
        position: absolute;
        right: 0.9375rem;
    }

    .page-title-section .contact-container h1{
        font-size: 2.33333rem;
        text-align: center;
    }
    
    .page-title-section .contact-container a{
        font-size: 1rem;
    }
    
    .page-title-section .contact-container span{
        font-size: 1rem;
    }

    /* ----The Second section or the Contact form section ----- */

    .contact-form-section .form-container{
        width: 80vw;
    }

    .contact-form-section .form-container h2{
        font-size: 2rem;
        margin-bottom: 3rem;
    }

    input{
        font-size: 1rem; 
    }

    button{
        font-size: 1rem; 
    }

    textarea{
        font-size: 1rem; 
    }

    /* -- The third section or partners section --- */
    .contact-partners-section{
        width: 100%;
        height: 15vh;
        gap: 0.625rem;
        margin-bottom: 0;
    }

    .contact-partners-section img{ 
        width: 6.25rem;
        height: 4.6875rem;
    }

    /* -- styling of the story and Link section(last section)--- */
    
    .contact-last-section{
        width: 100%;
        min-height: 37.5rem;
        padding-top: 3rem;
    }
    
    .contact-last-section .cont-ls-con{
        width: 40.625rem;
        height: 18.75rem;
        gap: 2rem;
        align-items: start;
        justify-content: start;
    }
    
    .contact-last-section .cont-ls-con .logo-story-wrapper{
        width: 21.875rem;
    }
    
    .contact-last-section .cont-ls-con .logo-story-wrapper .ls-logo{
        height: 2.5rem;
        width: 2.5rem;
    }
    
    .contact-last-section .cont-ls-con .logo-story-wrapper .bank-story{
        width: 100%;
        font-size: 0.875rem; 
    }
    
    .contact-last-section .cont-ls-con .links-wrapper{
        max-width: 7.5rem;
        width: 7.5rem;
    }
    
    .contact-last-section .cont-ls-con .links-wrapper .links{
        font-size: 1rem;    
    }
    
    .contact-last-section .cont-ls-con .links-wrapper .links::after{
        content: '';
        width: 1.5625rem;
    }
    
    .contact-last-section .cont-ls-con .links-wrapper ul {
        line-height: 2rem;
        font-size: 0.875rem; 
    }
    
    .contact-last-section .cont-ls-con .contact-info-wrapper{
        width: 18.75rem;
    }
    
    .contact-last-section .cont-ls-con hr{
       width: 80%;
    }
    
    .contact-last-section .cont-ls-con .contact-info-wrapper ul{
        line-height: 2rem;
        margin-top: 2.0625rem;
    }
    
    .contact-last-section .cont-ls-con .contact-info-wrapper ul li{
        list-style: none;
    }
    
    .contact-last-section .cont-ls-con .contact-info-wrapper h2{  
        font-size: 1rem;
    }
    
    .contact-last-section .cont-ls-con .contact-info-wrapper h2::after{
        content: '';
        width: 1.5625rem;  
    }    
}

/* ---------- This is the styling of the 1024px screen size ------- */

@media (min-width: 821px) and (max-width: 1300px){

    /* ----- The Fourth section or partners section ------ */

    .contact-partners-section{
        height: 20vw;
        display: flex;
        gap: 3.125rem;
        justify-content: center;
        align-items: center;
    }

    .contact-partners-section img{
        height: 3.125rem;
        width: 6.25rem;
    }

    /* ----- The Fift section or Last section ------ */

    .contact-last-section{
        width: 100%;
        min-height: 37.5rem;
        padding-top: 3rem;
    }
    
    .contact-last-section .cont-ls-con{
        width: 750px;
        height: 18.75rem;
        gap: 3rem;
        align-items: start;
        justify-content: start;
    }
    
    .contact-last-section .cont-ls-con .logo-story-wrapper{
        width: 25rem;
    }
    
    .contact-last-section .cont-ls-con .logo-story-wrapper .ls-logo{
        height: 2.5rem;
        width: 2.5rem;
    }
    
    .contact-last-section .cont-ls-con .logo-story-wrapper .bank-story{
        width: 100%;
        font-size: 0.875rem; 
    }
    
    .contact-last-section .cont-ls-con .links-wrapper{
        max-width: 7.5rem;
        width: 7.5rem;
    }
    
    .contact-last-section .cont-ls-con .links-wrapper .links{
        font-size: 1rem;    
    }
    
    .contact-last-section .cont-ls-con .links-wrapper .links::after{
        content: '';
        width: 1.5625rem;
    }
    
    .contact-last-section .cont-ls-con .links-wrapper ul {
        line-height: 2rem;
        font-size: 0.875rem; 
    }
    
    .contact-last-section .cont-ls-con .contact-info-wrapper{
        width: 18.75rem;
    }
    
    .contact-last-section .cont-ls-con hr{
       width: 80%;
    }
    
    .contact-last-section .cont-ls-con .contact-info-wrapper ul{
        line-height: 2rem;
        margin-top: 2.0625rem;
    }
    
    .contact-last-section .cont-ls-con .contact-info-wrapper ul li{
        list-style: none;
    }
    
    .contact-last-section .cont-ls-con .contact-info-wrapper h2{  
        font-size: 1rem;
    }
    
    .contact-last-section .cont-ls-con .contact-info-wrapper h2::after{
        content: '';
        width: 1.5625rem;  
    }    
}