*, ::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;
}

/* ----------- 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 .about-us-container h1{
    font-size: 3.2rem;
    font-weight: 800;
    color: white;
}

.page-title-section .about-us-container a{
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
}

.page-title-section .about-us-container a:hover{
    color:black;
}
.page-title-section .about-us-container span{
    font-size: 1.2rem;
    font-weight: bold;
}

/* -----------This is the Second section or the About us section----------- */

.about-us-section{
    width: 100%;
    min-height: 37.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-us-section .about-sec-con{
    max-width: 75rem;
    height: 32.5rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 5rem;
}

.about-us-section .about-sec-con .about-us-container{
    max-width: 60%;
    height: inherit;
}

.about-us-section .about-sec-con .about-us-container h2{
    font-size: 2.4rem;
    font-weight: bold;
    position: relative;
}

.about-us-section .about-sec-con .about-us-container h2::after{
    content: "";
    background-color: #000000;
    width: 1.875rem;
    height: 0.3125rem;
    border-radius: 0.3125rem;
    position: absolute;
    left: 0; 
    top: 120%; 
}

.about-us-section .about-sec-con .about-us-container p{
    color: rgb(74, 74, 74);
    line-height: 1.8em;
    font-size: 0.93333rem;
    text-align: justify;
    padding-top: 1.875rem;
}

.about-us-section .about-sec-con .about-us-img-container{
    width: 31.25rem;
    height: 28.125rem;
    box-shadow: 0rem 0rem 0.625rem 0.3125rem rgba(0, 0, 0, 0.411);
}

.about-us-section .about-sec-con .about-us-img-container img{
    width: 100%;
    height: 100%;
}

/* ----------- The third section or peformance section ----------- */

.performance-section{
    background-color: #ddd3d3;
    width: 100%;
    min-height: 37.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.performance-section .perform-sec-con{
    max-width: 75rem;
    height: 31.25rem;
}

.performance-section .perform-sec-con .perform-h2{
    font-size: 2.4rem;
    width: 60%;
    font-weight: bold;
    position: relative;
}

.performance-section .perform-sec-con .perform-h2::after{
    content: "";
    background-color: #000000;
    width: 1.8rem;
    height: 0.3125rem;
    border-radius: 0.3125rem;
    position: absolute;
    left: 0; 
    top: 120%; 
}

.performance-section .perform-sec-con .performance-container{
    display: flex;
    gap: 1.8rem;
    justify-content: start;
    margin-top: 3.6rem;
}

.performance-section .perform-sec-con .performance-container .img-con{
    height: 18.75rem;
    width: 28.125rem;
    box-shadow: 0rem 0rem 0.625rem 0.3125rem rgba(0, 0, 0, 0.116);
}

.performance-section .perform-sec-con .performance-container .img-con img{
    height: 100%;
    width: 100%;
}

.performance-section .perform-sec-con .performance-container .child-container{
    height: 20.625rem;
    width: 40.625rem;
}

.performance-section .perform-sec-con .performance-container .child-container p{
    color: rgb(74, 74, 74);
    line-height: 1.5em;
    font-size: 0.93333rem;
    margin-bottom: 1.8rem; 
}

.performance-section .perform-sec-con .performance-container .child-container .grand-child-container h6{
    font-size: 1.2rem;
    margin-bottom: 0.625rem;
} 

.performance-section .perform-sec-con .performance-container .child-container .grand-child-container
.progress-bar{
    height: 0.3125rem;
    width: 0.625rem;
    background-color: black;
    margin-bottom: 1.25rem;
}

@keyframes performance-1 {
    from {width: 10px;}
    to {width: 85%;}
  }

.performance-section .perform-sec-con .performance-container .child-container .grand-child-container
.bar-1{
    animation-name: performance-1;
    animation-duration: 4s;
    animation-fill-mode: forwards;
    position: relative;
}

.performance-section .perform-sec-con .performance-container .child-container .grand-child-container
.bar-1::after{
    content: '85%';
    background-color: black;
    color: white;
    height: 3.1rem;
    width: 3.1rem;
    border-radius: 50%;
    padding: 0.9375rem 0rem 0rem 0.4375rem;
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;
    top: -1.25rem;
    right: 0;
}

@keyframes performance-2 {
    from {width: 10px;}
    to {width: 98%;}
  }

.performance-section .perform-sec-con .performance-container .child-container .grand-child-container
.bar-2{
    animation-name: performance-2;
    animation-duration: 4s;
    animation-fill-mode: forwards;
    position: relative;
}

.performance-section .perform-sec-con .performance-container .child-container .grand-child-container
.bar-2::after{
    content: '98%';
    background-color: black;
    color: white;
    height: 3.1rem;
    width: 3.1rem;
    border-radius: 50%;
    padding: 0.9375rem 0rem 0rem 0.4375rem;
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;
    top: -1.25rem;
    right: 0;
}

@keyframes performance-3 {
    from {width: 10px;}
    to {width: 92%;}
  }

.performance-section .perform-sec-con .performance-container .child-container .grand-child-container
.bar-3{
    animation-name: performance-3;
    animation-duration: 4s;
    animation-fill-mode: forwards;
    position: relative;
}

.performance-section .perform-sec-con .performance-container .child-container .grand-child-container
.bar-3::after{
    content: '92%';
    background-color: black;
    color: white;
    height: 3.1rem;
    width: 3.1rem;
    border-radius: 50%;
    padding: 0.9375rem 0rem 0rem 0.4375rem;
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;
    top: -1.25rem;
    right: 0;
}

/* ----------- The Fourth section or partners section ----------- */

.about-partners-section{
    background-color: #ddd3d3;
    width: 100%;
    height: 12.5rem;
    display: flex;
    gap: 3.125rem;
    justify-content: center;
    align-items: center;
}


/* ----------styling of the back-to-the-top button-------------------  */

.back-to-top{
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.205);
    border-radius: 5px;
    border: 2px solid black;
    padding: 0.625rem 0.3125rem 0rem 0.3125rem;
    position: fixed;
    bottom: 6.25rem;
    right: 0.9375rem;
    z-index: 1200;
    scroll-behavior: smooth;
    transition: all 0.2s;
    line-height: 2.8125rem;
}

.back-to-top:hover{
    background-color: pink;
    color: #000;
}

.back-to-top img{
    height: 2.1875rem;
    width: 2.5rem;
}


/* --------- 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;
    }

    header .navbar{
        width: 100%;
    }

    .toggle-button .bar{
        height: 0.3125rem;
        width: 70%;
    }

    .toggle-button{
        width: 3.125rem;
        height: 1.5625rem;
    } 
    
    .anchor-logo-mobile img{
        width: 2.1875rem;
        height: 2.1875rem;
        position: absolute;
        top: 1.25rem;
        left: 0.75rem;
    }
    
    .anchor-logo-mobile span{
        font-size: 0.75rem;
        position: absolute;
        top: 1.5625rem;
        left: 3.25rem;
    }

     /* The first section or the page-title section */

    .page-title-section{
        width: 100vw;
        height: 30vh;
    }

    .page-title-section .about-us-container {
        position: relative;
    }

    .page-title-section .about-us-container a{
        position: absolute;
        left: -1.875rem;
    }

    .page-title-section .about-us-container span{
        position: absolute;
        right: 0.3125rem;
    
    }

    .page-title-section .about-us-container h1{
        font-size: 2rem;
        text-align: center;
    }
    
    .page-title-section .about-us-container a{
        font-size: 1rem;
    }
    
    .page-title-section .about-us-container span{
        font-size: 1rem;
    }
    
    /*  This is the Second section or the About us section */
 
    .about-us-section{
        width: 100%;
        min-height: 62.5rem;
        display: flex;
        gap: 1rem;
        padding: 3.1rem 1rem;
        overflow: hidden;
    }

    .about-us-section .about-sec-con{
        width: 100%;
        width: inherit;
        height: inherit;
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: start;
        gap: inherit;
        padding: 2.5rem 1rem;
    }
     
    .about-us-section .about-sec-con .about-us-container{
        width: 100%;
        height: inherit;
    }

    .about-us-section .about-sec-con .about-us-container h2{
        font-size: 1.66667rem;
        position: relative;
        text-wrap: nowrap;
    }

    .about-us-section .about-sec-con .about-us-container p{
        font-size: 0.9rem;
        width: 80vw;
    }

    .about-us-section .about-sec-con .about-us-img-container{
        width: 80vw;
        height: 70vw;
        margin-top: 1.8rem;
    }

    /*  The third section or peformance section */

    .performance-section{
        width: 100vw;
        height: 53.125rem;
        padding: 2rem 0 0 1rem;
        justify-content: start;
        align-items: start;
    }

    .performance-section .perform-sec-con{
        width: inherit;
        height: initial;
    }
    
    .performance-section .perform-sec-con .perform-h2{
        font-size: 1.6rem;
        width: 70vw;
    }

    .performance-section .perform-sec-con .perform-h2::after{
        height: 0.25rem;
        top: 110%; 
    }
    
    .performance-section .perform-sec-con .performance-container{
        width: 80vw;
        flex-direction: column;
        margin-top: 1rem;
    }
    
    .performance-section .perform-sec-con .performance-container .img-con{
        width: 60vw;
        height: 45vw;
        margin-top: 1.8rem; 
    }
    
    .performance-section .perform-sec-con .performance-container .child-container{
        height: 25vw;
        width: 80vw;
    }
    
    .performance-section .perform-sec-con .performance-container .child-container .grand-child-container h6{
        font-size: 1rem;
    }

    /* ----------- The Fourth section or partners section ----------- */

    .about-partners-section{
        width: 100vw;
        height: 15vh;
        gap: 0.625rem;
    }

    .about-partners-section img{ 
        width: 3.125rem;
        height: 1.875rem;
    }

    
}

/* ---------- This is the styling from 431px to 820px screen size ------- */


@media (min-width: 431px) and (max-width: 820px){

     /*  This is the styling of the mobile navigation nav-bar */

    html{
        width: 100%;
        overflow-x: hidden;
    }

    header .navbar{
        width: 100%;
    }

    /*  This is the Second section or the About us section */
 
    .about-us-section{
        width: 100%;
        min-height: 75rem;
        flex-direction: column;
    }

    .about-us-section .about-sec-con{
        width:inherit;
        max-width: 100vw;
        min-height: inherit;
        flex-direction: column;
        gap: 1rem;
    }
    
    .about-us-section .about-sec-con .about-us-container{
        max-width: 80%;
        width: 43.75rem;
        height: 25rem;
    }

    .about-us-section .about-sec-con .about-us-container h2{
        font-size: 2rem;
        position: relative;
        margin-bottom: 0.625rem;
    }

    .about-us-section .about-sec-con .about-us-container p{
        font-size: 0.9rem;
        width: 80vw;
    }

    .about-us-section .about-sec-con .about-us-img-container{
        width: 80vw;
        height: 70vw;
        margin-top: 1.8rem;
    }

    /* --- The third section or peformance section---*/

    .performance-section{
        width: 100vw;
        min-height: 62.5rem;
        justify-content: start;
        padding-left: 1rem;
    }
    
    .performance-section .perform-sec-con{
        max-width: 100vw;
        width: 80vw;
        height: inherit;
    }
    
    .performance-section .perform-sec-con .perform-h2{
        font-size: 2rem;
        width: 90vw;
    }

    .performance-section .perform-sec-con .perform-h2::after{
        height: 0.25rem;
        top: 110%; 
    }
    
    .performance-section .perform-sec-con .performance-container{
        width: 90vw;
        flex-direction: column;
        margin-top: 1rem;
    }
    
    .performance-section .perform-sec-con .performance-container .img-con{
        width: 18.75rem;
        height: 12.5rem;
        margin-top: 1.8rem; 
    }
    
    .performance-section .perform-sec-con .performance-container .child-container{
        height: 25vw;
        width: 90vw;
    }
    
    .performance-section .perform-sec-con .performance-container .child-container .grand-child-container h6{
        font-size: 1rem;
    }

    /* ----The Fourth section or partners section-----  */

    .about-partners-section{
        width: 100vw;
        height: 6.25rem;
        gap: 0.625rem;
        margin-bottom: 0;
    }

    .about-partners-section img{ 
        width: 6.25rem;
        height: 4.6875rem;
    }

}


/* ---------- This is the styling of the 1024 screen size ------- */

@media (min-width: 821px) and (max-width: 1024px){
    
    /* ---This is the Second section or the About us section---- */
    
    .about-us-section{
        width: 100%;
        min-height: 37.5rem;
    }

    .about-us-section .about-sec-con{
        width: 90vw;
        height: 37.5rem;
        min-height: inherit;
        gap: 3.5rem;
    }

    .about-us-section .about-sec-con .about-us-container{
        max-width: 50%;
        height: 31.25rem;
    }

    .about-us-section .about-sec-con .about-us-container h2{
        font-size: 2.4rem;
    }

    .about-us-section .about-sec-con .about-us-img-container{
        width: 31.25rem;
        height: 25.125rem;
    }

    /* ---- The third section or peformance section ---- */
    
    .performance-section{
        width: 100%;
        min-height: 42rem;
        align-items: center;
    }

    .performance-section .perform-sec-con{
        max-width: 100vw;
        width: 90vw;
        height: 35rem ;
    }

    .performance-section .perform-sec-con .perform-h2{
        width: 80%;
    }

    .performance-section .perform-sec-con .performance-container .child-container{
        height: 20.625rem;
        width: 40.625rem;
    }

    .performance-section .perform-sec-con .performance-container .child-container p{
        color: rgb(74, 74, 74);
        line-height: 1.5em;
        font-size: 0.93333rem;
        margin-bottom: 1.8rem; 
    }

    .performance-section .perform-sec-con .performance-container .child-container .grand-child-container h6{
        font-size: 1.2rem;
        margin-bottom: 0.625rem;
    } 

    .performance-section .perform-sec-con .performance-container .child-container .grand-child-container
    .progress-bar{
        height: 0.3125rem;
        width: 0.625rem;
        background-color: black;
        margin-bottom: 1.25rem;
    }
   
    /* ----- The Fourth section or partners section ------ */

    .about-partners-section{
        height: 6.25rem;
        display: flex;
        gap: 3.125rem;
        justify-content: center;
        align-items: center;
    }

    .about-partners-section img{
        height: 3.125rem;
        width: 6.25rem;
    }

}