body {
    margin: 0%;
    padding: 0%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;

}

#landing {
    
    width: 100vw;
    max-width: 1800px;
    height: 100vh;
    max-height: 800px;
    display: flex;
    text-align: left;
    flex-direction: column;
    overflow: hidden;

}

#navbar {
    height: 50px;
    width: 90%;
    background-color: white;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    border-radius: 100px;
    border-top: 3px solid black;
    border-left: 3px solid black;
    border-bottom: 7px solid black;
    border-right: 7px solid black;
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: 1fr 1fr 1fr;

}

#navbar .grid-item {
    display: flex;
    align-items: center;
    height: 60px;
}

#navbar .grid-item:nth-child(2) {
    justify-content: center;
}
#navbar .grid-item:nth-child(2) img {
    
    align-self: first baseline;
}

#navbar .grid-item:nth-child(3) {
    justify-content: end;
}

#navbar .grid-item:nth-child(3)>p {
    margin-right: 20px;
}
#navbar .grid-item:nth-child(3) p:nth-child(1) {
    display: none ;
}
#navbar .grid-item  a {
    color: black;
    text-decoration: none;
}

#navbar .grid-item>p {
    display: inline;
    margin-left: 20px;
    font-size: larger;
    font-weight: bolder;
}

@media only screen and (max-width: 1000px) {
    #navbar {
        grid-template-columns: 1fr 1fr;
    }

    #navbar .grid-item:nth-child(2) {
        display: none;
    }
}
#landing-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 100%;
    


}
#landing-content > img {
    object-fit: cover;
    height: 90%;
    width: 50%;
}


#landing-content1 {
    display: flex;
    flex-direction: column;
    width: 100%;
}

#landing-content1 > p:nth-child(1) {

    font-size: 500%;
    font-weight: 900;
    margin-top: 5%;
    margin-bottom: 0%;
    min-height: fit-content;
    margin-bottom: 0%;
    padding-left: 4%;
    line-height: 100%;

}

#landing-content1 > p:nth-child(2) {
    margin-top: 0%;
    font-size: 200%;
    font-weight: 900;
    margin-top: 2%;
    padding-left: 4%;

}
/* Section 2 */

#section-2 {
    background-color: #4d7bfa;
    width: 100vw;
    height: max-content;
    max-width: 1800px;
    max-height: 820px;
    align-self: center;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    padding-bottom: 8%;
}

#section-2>h1 {
    text-align: center;
    color: white;
    margin-top: 3%;
    font-weight: 600;
    font-size: 250%;
}

#section-2>#fixed {
    width: 75%;
    padding-right: 2%;
    align-self: flex-end;
    flex: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, auto);


}

.skill-box {
    background-color: white;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px;
    height: 200px;
    border-radius: 15px;
    border-top: 2px solid black;
    border-left: 2px solid black;
    border-bottom: 6px solid black;
    border-right: 6px solid black;

}  

#section-2>img {
    float: left;
    width: 40%;
    position: absolute;
    bottom: 0%;
    left: -3%;
    z-index: 2;
}


 
/* Section - 3  */

#section-3 {

    width: 100vw;
    max-width: 1800px;
    max-height: fit-content;
    align-self: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#section-3>h1 {
    text-align: center;
    font-size: 300%;
    font-weight: 700;
}

#section-3>p {
    text-align: center;
    font-size: 150%;
    font-weight: 600;
    padding-left: 2%;
    padding-right: 2%;
}

.slide {
    display: flex;
    flex-direction: row;
    width: 80%;
    margin: auto;
    justify-content: space-around;
    
}

.slide>img {
    width: 25%;
}

.slide-content>p:nth-child(1) {

    font-size: 800%;
    font-weight: 900;
    margin-top: 10%;
    margin-bottom: 0%;
}

.slide-content>p:nth-child(2) {

    font-size: 200%;
    font-weight: 600;
    margin-top: 0%;
    margin-bottom: 5%;
}
    

#section-4 {
    height: max-content;
}
#section-4 > h1 {
    font-size: 400%;
    font-weight: 700;
    text-align: center;

}

#section-4>#grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 0%;

}
.div-content{
    flex-direction: column;
}
.div-content h1 {
    font-weight: 700;
}
.div-content p {
    font-size: 130%;
}



#section-4>#grid>.div-content:nth-child(2) {
    background-color: #fe724f;
    text-align: left;
    color: white;
    padding: 2%;
    display: flex;
    align-items: left;
  
    
}
#section-4>#grid>.div-content:nth-child(1) {
    display: flex;
    align-items: center;
}
#section-4>#grid>.div-content:nth-child(1) img {
    
    width: 60%;
    justify-self: center;
}

#section-4>#grid>.div-content:nth-child(3) {
    background-color: #4d7bfa;
    text-align: left;
    color: white;
    padding: 2%;
    display: flex;
    align-items: left;

}
#section-4>#grid>.div-content:nth-child(4) {
    justify-content: center;
    align-items: center;
}

#section-4>#grid>.div-content:nth-child(4) img {
    width: 60%;
}

#section-4>#grid>.div-content:nth-child(5) {
    display: flex;
    justify-content: center;
    align-items: center;
}

#section-4>#grid>.div-content:nth-child(5) img {
    width: 60%;
}

#section-4>#grid>.div-content:nth-child(6) {
    background-color: #4d7bfa;
    text-align: left;
    color: white;
    padding: 2%;
    display: flex;
    align-items: left;
}

/*  Testimonials  */

.testimonial-slider {
    background-color: #32d583;
    padding: 2em 2em 3em;
}

.testimonial-title {
    color: #fff;
}

.testimonial-title h2 {
    padding-left: 0.2em;
}

.card {
    margin: 0 0.5em;
    box-shadow: 2px 6px 8px 0 rgba(22, 22, 26, 0.18);
    border: none;
    height: 100%;
    border-radius: 20px;
}

.carousel-control-prev,
.carousel-control-next {
    background-color: #fff;
    width: 3em;
    height: 3em;
    border-radius: 50%;
    top: 60%;
    transform: translateY(-50%);
}

@media (min-width: 576px) {
    .carousel-item {
        margin-right: 0;
        flex: 0 0 50%;
        display: block;
    }

    .carousel-inner {
        display: flex;
    }
}

@media (min-width: 768px) {
    .carousel-inner {
        padding: 1em;
    }

    .carousel-control-prev,
    .carousel-control-next {
        opacity: 1;
        position: absolute;
        left: 1em;
        top: 90%;
        transform: translateY(-50%);
    }

    .carousel-control-next {
        left: 5em;
    }
}

/*  faq */
#faq {
    display: flex;

    justify-content: center;
}

.faq-section {
    max-width: 90%;
    margin: 0 auto;
}

.faq-section header {
    margin-bottom: 70px;
    text-align: center;
}

.faq-section header>p {
    font-size: 22px;
    color: #AEB9C6;


}

.faq-section h2 {
    font-size: 52px;
    color: black;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: bold;
}

.faq-section details {
    cursor: pointer;
}

.faq-section summary:focus-visible {
    outline: 2px solid orange;
    outline-offset: 8px;
    border-radius: 4px;
}

.faq-section h4 {
    width: 760px;
}

.faq-section summary {
    font-size: 20px;
    color: black;
    display: flex;
    justify-items: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.faq-section summary::marker {
    display: none;
    content: "";
}

.faq-section span {
    margin-top: 4px;
    color: #f4f4f6;
}

.faq-section details>p {
    max-width: 650px;
    color: #AEB9C6;
    font-size: 18px;
    line-height: 155%;
    letter-spacing: .1px;
    margin-bottom: 40px;
    padding-left: 10px;
}

.faq-section hr {
    border: 1px solid #404E5C;
    margin-block-end: 30px;
}

.footer {

            color: black;
            text-align: center;
            padding: 10px 0;
            font-size: 14px;
            width: 100%;
            border-top: 2px solid #D0E957;

        }
        
.footer button {
   border: none;
   background-color: transparent;
}
.footer a {
    text-decoration: none;
}
@media only screen and (min-width: 671px) {
    #section-4  .div-content:nth-child(4){
        order: 3;
        display: flex;
        justify-content: center;
    }
    #section-4  .div-content:nth-child(3){
        order: 4;
    }
}

@media only screen and (max-width: 670px) {
    body {
        overflow-x: hidden;
    
    }

    #landing {
        overflow: hidden;
        height: fit-content;
    }

    #navbar {
        width: 100%;
        height: 60px;
        border: none;
        border-radius: 0%;
        margin-top: 0%;
        grid-template-columns: 1fr 3fr;
    }
    .grid-item {
        height: 60px;
        
    }
    .grid-item > img {
        height: 60px;
        width: auto !important;
    }
    #navbar .grid-item:nth-child(3) {
        font-size: 90%;
    }
    #navbar .grid-item:nth-child(3) p:nth-child(1) {
        display: flex ;
    }
    #navbar .grid-item:nth-child(3) p {
        margin-left: 0%;
        margin-right: 4%;
        font-weight: 500;
        margin-top: auto;
        margin-bottom: auto;
    }
    #navbar .grid-item:nth-child(3) p:nth-child(2){
        border-left: 2px solid black;
        border-right: 2px solid black;
        padding: 5px;
        background-color: black;
        color: white;
        border-radius: 10px;
    }
    #navbar .grid-item:nth-child(3) p:nth-child(2) a {
        color: white;
    }

    #navbar .grid-item:nth-child(2) {
        display: flex;
    }
    #navbar .grid-item:nth-child(2)>img {
        width: 60px;
        align-self: center;
    }
    #navbar .grid-item:nth-child(2)>p {
        display: none;
    }

    #navbar .grid-item:nth-child(1) {
        display: none;
    }
    #landing-content > img {
        width: 100%;
    }

    #landing-content {
        flex-direction: column;
    }


    #landing-content1 p:nth-child(1) {

        font-size: 350%;
        font-weight: 900;
        margin-top: 5%;
        margin-bottom: 0%;
        min-height: fit-content;
        margin-bottom: 0%;
        padding-left: 4%;
        padding-right: 4%;
        
    }

    #landing-content1 p:nth-child(2){
        margin-top: 0%;
        font-size: 155%;
        font-weight: 900;
        margin-top: 2%;
        padding-left: 4%;
        padding-right: 4%;

    }


    #section-2 {
        background-color: #4d7bfa;
        width: 100vw;
        height: max-content;
        align-self: center;
        padding-bottom: 20px;
        position: relative;

    }

    #section-2>h1 {
        text-align: left;
        color: white;
        font-size: 200%;
        padding: 4%;
        margin-top: 0%;
        font-weight: 700;
    }

    #section-2>div {
        font-size: 85%;
    }

    #section-2 img {
        width: 45%;
        position: absolute;
        bottom: 0%;
        z-index: 2;

    }

    #section-2>#fixed {
        width: 100vw;
        flex: 1;
        display: grid;
        grid-template-columns: repeat(3, 0.1fr) !important;
        gap: 10px;
        justify-content: center;
    }

    .skill-box {
        padding: 10px;
        text-align: center;
        font-weight: bold;
        color: #333;
        height: auto !important;
        background-color: white;
        display: flex;
        align-items: center;
        margin: 0%;
        justify-content: center;
        aspect-ratio: 1/1 ;
        border-radius: 15px;
        border-top: 2px solid black;
        border-left: 2px solid black;
        border-bottom: 3px solid black;
        border-right: 3px solid black;
    }

    .skill-box:nth-child(7) {
        grid-column-start: 2;

    }
    


    #section-3>h1 {
        text-align: left ;
        width: 100%;
        font-size: 250%;
        font-weight: 900;
        padding-left: 4%;
        padding-right: 4%;
        margin-top: 2%;
        margin-bottom: 0%;
    }

    #section-3>p {
        text-align: left;
        font-size: 100%;
        padding-left: 4%;
        padding-right: 4%;
        font-weight: 700;
    }

    .slide {
        display: flex;
        width: 90%;
        margin: auto;
        align-items: center;

    }

    .slide>img {
        width: auto;
        height: 200px;


    }

    .slide-content:nth-child(2) {
        margin-left: auto;

    }

    .slide>img:nth-child(1) {
        height: 150px;
    }

    .slide-content>p:nth-child(1) {

        font-size: 60px;
        margin-top: 10%;
        margin-bottom: 0%;
        text-align: left;
        font-weight: 900;

    }

    .slide-content>p:nth-child(2) {

        font-size: 13px;
        font-weight: 800;
        margin-top: 0%;
        margin-bottom: 5%;

    }

    #section-4 {
        width: 100%;
    }

    #section-4>h1 {
        width: 100%;
        font-size: 200%;
        font-weight: 700;
        color: white;
        text-align: center;
        background-color: #18a263;
        padding-top: 3%;
        padding-bottom: 3%;
        margin-bottom: 0%;

    }

    #section-4>#grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        padding: 0%;


    }
    
    .div-content h1 {
        font-weight: 700;
        font-size: 140%;
        margin-bottom: 10%;
    
    }
    .div-content p {
        font-size: 80%;
    }

    #section-4>#grid>.div-content {
        margin: 0%;
        height: 200px;
    }

    #section-4>#grid>.div-content:nth-child(2) {
        background-color: #fe724f;
        text-align: left;
        font-weight: 900;
        padding: 5%;
        font-size: 90%;
        display: flex;
        align-items: left;
    }
    #section-4>#grid>.div-content:nth-child(1) {
        display: flex;
        justify-content: center;
        align-items: center; 
    }
   
    #section-4>#grid>.div-content:nth-child(1) img {
        width: 60%;
    }

    #section-4>#grid>.div-content:nth-child(3) {
        background-color: #4d7bfa;
        text-align: left;
        font-weight: 900;
        color: white;
        padding: 5%;
        font-size: 90%;
        display: flex;
        align-items: left;

    }
    #section-4>#grid>.div-content:nth-child(4) {
        display: flex;
        justify-content: center;
        align-items: center; 
    }

    #section-4>#grid>.div-content:nth-child(4) img {
        width: 70%;

    }

    #section-4>#grid>.div-content:nth-child(5) {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #section-4>#grid>.div-content:nth-child(5) img {
        width: 50%;
        height: auto;
        justify-self: center;
    }

    #section-4>#grid>.div-content:nth-child(6) {
        background-color: #4d7bfa;
        text-align: left;
        font-weight: 900;
        font-size: 90%;
        color: white;
        padding: 5%;
        display: flex;
        align-items: left;
    }


}