:root {
    --body: #c1d4ec;
    --highlight: #142830;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;

}

body {
    background-color: var(--body);
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 500 !important;

    color: #3a3a3a;

}

a,
.a {
    text-decoration: none;
    color: var(--highlight);
}

p,
li,
label {
    margin: .8rem 0;
    font-size: 1.3rem;
}

aside {
    width: 50%;
    padding: 2.2rem;
    position: fixed;

    left: 0;
}

.img-container {
    width: 15rem;
    height: 15rem;
    border-radius: 50%;

    background-color: var(--highlight);
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 1.2rem;
    margin-left: 18%;
}

aside img {
    width: 95%;

    /* margin-top: 10px; */
}

aside h1 {
    font-size: 3rem;
    color: var(--highlight);
}

aside span {
    color: #011aff;
}


aside a {

    margin-top: 8.rem !important;
    margin-right: 1.2rem !important;
    padding: 1.2rem 2.1rem !important;

    transition: all .5s;

}

aside a:hover {

    transform: translateY(-10px);
}

aside p {
    font-size: 1.3rem;
    padding-top: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--highlight);
}

aside .box-container {
    margin-top: 0;
}



main {
    width: 50%;
    margin-left: 50%;
    padding-right: 3.1rem;
    overflow: hidden;

}

.main-body {
    padding-top: 3.1rem;
    display: flex;
    flex-direction: row;

}

.main-btn {
    width: 80%;
    display: flex;
    justify-content: start;
}


main h1 {
    font-size: 2.7rem;
    padding-bottom: 1.2rem;
    color: var(--highlight);
}

main li {
    padding: .7rem;
margin-left: 1.5rem;
}


.hr {
    width: 80%;
    display: flex;
    justify-self: center;
    height: 0.01px;
    color: #421ad1;
    background-color: #421ad1;
    padding-bottom: .1rem;
    margin-bottom: .8rem;
}

.skill-p {
    font-size: 1.1rem;
    margin: 1.3rem 0;
}

.block {
    display: block;
}

/* #############################           form        ################ */

form {
    padding: 0;
}

form label {
    font-size: 1rem;
}

.form-2,
.form-name {

    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 0 1.3rem;
    width: 48%;
}

input {
    max-width: 100%;
    height: 2rem;
    background-color: #def4ff;
    outline: none ;
    border: none;
    border-radius: .2rem;
    padding: .5rem;
}
textarea{
    max-width: 100%;
    height: 6rem;
    background-color: #def4ff;
    outline: none ;
    border: none;
    border-radius: .2rem;
    padding: .5rem;
}

.form-name {

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
}

.form-1 {
    width: 100%;
}

/* ######################      Testimonials          ###################### */

.testimonial-container{
    width: 100%;
    position: relative;

    height: 100%;
    text-align: center;
    padding-top: 1rem;
    text-transform: capitalize;
}
.testimonial img{
    width: 7rem;
    height: 7rem;
    border-radius: 50%;
    background-size: contain;
}
.card-rating{
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}
span img{
    width: 20px !important;
    height: 20px !important;
    object-fit: contain;
}
.testimonial p{
    margin-bottom: 0px;
}


.cap{
    text-transform: capitalize;
}

.container{
    /* width: ; */
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    overflow: hidden;

}
.wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 300%; /* Adjust according to the number of testimonials */
  }
  
  /* Ensure each card takes full width of the container */
  .card {
    min-width: 100%;
    max-width: 100%;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  /* Indicator styles */
  .indicators {
    margin-top: 1rem !important;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
  }
  .indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #ccc;
  }
  .indicators button.active {
    background: #3a3a3a;
  }

  .testimonial-container button{
    margin-left: 1rem;
}

/* ######################      containers          ###################### */
.box-container {
    margin-top: 3.1rem;
    padding: 2rem;

    border-radius: .7rem;
    /* background: var(--body);
    box-shadow: 8px 8px 16px #a9b1d3,
        -8px -8px 16px #a6aac2; */

    background: #C1D4EC;
    box-shadow: inset 1.2rem 1.2rem 3.5rem #a4b4c9,
        inset -1.2rem -1.2rem 3.5rem #def4ff;
}

.skill-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;

}

.mini-container {
    margin: 1rem 1.5rem;
    width: 3.5rem;
    height: 3.5rem;
    padding: .3rem;
    background: #C1D4EC;
    box-shadow: inset 1.2rem 1.2rem 3rem #a4b4c9,
        inset -1.2rem -1.2rem 3rem #def4ff;


    border-radius: .2rem;
    display: flex;
    justify-content: center;
    align-items: center;

}

.mini-container img {
    padding: .2rem !important;
    width: 100%;

}


main li:hover {
    color: #421ad1;
}


/* $$$$$$$$$$$$$$$$$$$$$$$$$$$         media queries       $$$$$$$$$$$$$$$$$$$$$$$$$ */
/* $$$$$$$$$$$$$$$$$$$$$$$$$$$         media queries       $$$$$$$$$$$$$$$$$$$$$$$$$ */
/* $$$$$$$$$$$$$$$$$$$$$$$$$$$         media queries       $$$$$$$$$$$$$$$$$$$$$$$$$ */
/* $$$$$$$$$$$$$$$$$$$$$$$$$$$         media queries       $$$$$$$$$$$$$$$$$$$$$$$$$ */
/* $$$$$$$$$$$$$$$$$$$$$$$$$$$         media queries       $$$$$$$$$$$$$$$$$$$$$$$$$ */
/* $$$$$$$$$$$$$$$$$$$$$$$$$$$         media queries       $$$$$$$$$$$$$$$$$$$$$$$$$ */


.submit{
    margin-bottom: 1rem;
}

.contact{
    margin-bottom: 1.5rem;
}

/* &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&       tab responsive           &&&&&&&&&&&&&&&&&&& */


@media (max-width: 768px) {

    * {
        padding: 0;
        margin: 0;
        box-sizing: border-box;
    }

    aside {
        padding: 0;
        margin: 0;
        width: 100%;
        position: relative;
        display: flex;
        flex-direction: column;
    }

    .skill-container {
        display: flex;
        justify-content: space-around;
    }

    aside h1 {
        font-size: 2.2rem;
        text-align: center;
    }

    aside p {
        font-size: 1.4rem;
        text-align: center;

    }

    .main-btn {

        padding: 0 !important;
        margin: 0 !important;
        width: 100%;
        display: flex;
        justify-content: space-evenly;
    }

    .main-body {
        width: 100%;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
    }

    aside a {
        margin: 0 !important;
        color: #421ad1;
        font-weight: 600;
    }

    main {
        margin: 0 auto;
        padding: 0;
        width: 80%;
    }

    main p,
    main li {
        font-size: 1rem;
    }

    main p {

        line-height: 1.7rem;

    }

    .img-container {
        width: 10rem;
        height: 10rem;
        border-radius: 50%;

        background-color: #142830;
        display: flex;
        justify-content: space-around;
        align-items: center;
        margin-bottom: 1.5rem !important;
        margin: 0 auto;
    }

    main h1 {
        font-size: 2rem;
    }


    form{
        width: 100%;
    }
    .form-name{
        width: 100%;
    }
    .form-2
    {
        width: 17rem !important;
    }

    .submit{
        display: flex;
        justify-content: center;
    }

    .contact{
        margin-bottom: 2rem;
    }
    .box-container{
        margin-top: 2rem;
        text-align: justify;
        padding: 1rem;
    }
    
    .container{
        min-width: 300px;
    }

    .wrapper{
        width: 100%;
    }
    .testimonial{
        text-align: center;
    }
    .testimonial img{
        width: 60px;
        height: 60px;
    }

    .hr{
        width: 100%;
    }
    .card{
        width: fit-content !important;
    }
    

    .card h1{
        font-size: 1.2rem;
        margin-top: 1rem;
    }
    .card p
    {
        font-size: 15px;
        text-align: justify;
    }
    .testimonial-container button{
        margin-left: 1rem;
    }
    section{
        min-height: 100vh;
    }
}



/* &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&       mobile responsive           &&&&&&&&&&&&&&&&&&& */


@media (max-width: 425px) {
    * {
        padding: 0;
        margin: 0;
        box-sizing: border-box;
    }

    aside {
        padding: 0;
        margin: 0;
        width: 100%;
        position: relative;
        display: flex;
        flex-direction: column;
    }

    .skill-container {
        display: flex;
        justify-content: space-around;
    }

    aside h1 {
        font-size: 2.2rem;
        text-align: center;
    }

    aside p {
        font-size: 1.4rem;
        text-align: center;

    }

    .main-btn {

        padding: 0 !important;
        margin: 0 !important;
        width: 100%;
        display: flex;
        justify-content: space-evenly;
    }

    .main-body {
        width: 100%;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
    }

    aside a {
        margin: 0 !important;
        color: #421ad1;
        font-weight: 600;
    }

    main {
        margin: 0 auto;
        padding: 0;
        width: 80%;
    }

    main p,
    main li {
        font-size: 1rem;
    }

    main p {

        line-height: 1.7rem;

    }

    .img-container {
        width: 10rem;
        height: 10rem;
        border-radius: 50%;

        background-color: #142830;
        display: flex;
        justify-content: space-around;
        align-items: center;
        margin-bottom: 1.5rem !important;
        margin: 0 auto;
    }

    main h1 {
        font-size: 2rem;
    }


    form{
        width: 100%;
    }
    .form-name{
        width: 100%;
    }
    .form-2
    {
        width: 17rem !important;
    }

    .submit{
        display: flex;
        justify-content: center;
    }

    .contact{
        margin-bottom: 2rem;
    }
    .box-container{
        margin-top: 2rem;
        text-align: justify;
        padding: 1rem;
    }
    
    .container{
        width: 300px;
    }

    .wrapper{
        width: 100%;
    }
    .testimonial{
        text-align: center;
    }
    .testimonial img{
        width: 60px;
        height: 60px;
    }

    .card{
        width: fit-content !important;
    }
    

    .card h1{
        font-size: 1.2rem;
        margin-top: 1rem;
    }
    .card p
    {
        font-size: 15px;
        text-align: justify;
    }
    .testimonial-container button{
        margin-left: 1rem;
    }

}