:root {
    --text-color: #000;
}

html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    height: 100vh;
}

html {
    overflow-y: hidden;

}

body {
    overflow-y: scroll;
    /* scroll-snap-type: y mandatory; */
}

/* section{
    scroll-snap-align: start;
} */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

.absolute {
    position: absolute;
}

.relative {
    position: relative;
}

.horizontal {
    left: 50%;
    translate: -50% 0%;
}

.vertical {
    top: 50%;
    translate: 0% -50%;
}

.center {
    display: flex;
    left: 50%;
    top: 50%;
    translate: -50% -50%;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a {
    color: var(--text-color);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 20px;
}

p {
    font-weight: lighter;
}


/* HEADER */
header {
    height: 100px;
    width: 100vw;
    scale: 1;
    display: flex;
    justify-content: center;
    flex-direction: row;
    position: absolute;
    background-color: #ffffff82;
    transition: .5s;
    z-index: 2;
}

#Logo {
    width: 200px;
    height: 100%;
    scale: 2;
    transition: .5s;
}

.nav-menu {
    width: 30%;
    position: relative;
}

li {
    display: inline;
    width: 33%;
    height: auto;
}

ul {
    width: 100%;
    display: flex;
    flex-direction: row;
    height: 100%;
}

.nav-link {
    text-decoration: none;
    transition: .5s;
}

.nav-link:hover {
    text-decoration: underline;
}

.active.nav-link {
    color: #2900f1;
    scale: 1.1;
    text-decoration: underline;
}

.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #fff;
    border-bottom: #000 solid 1px;
    box-shadow: 0px -10px 10px 10px #0005;
}

@keyframes Redraw {
    0% {
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dashoffset: 1370.738769531250;
    }

    100% {
        stroke-dashoffset: 0;
    }
}


/*  Section id */
section {
    padding-left: 15%;
    padding-right: 15%;
    width: 100vw;
}

#home {
    height: 100vh;

}

#Home-Background {
    background-image: url("Assets/imgs/Backgrounds/Template3.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 75%;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    position: fixed;
    z-index: -1;
}

#title-container {
    width: 50%;
    height: 50%;
    display: grid;
    justify-content: center;
    position: relative;
}

#title-container>div>h1 {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 70px;
    font-weight: bold;
    color: aliceblue;
}

#title-container>div>h2 {
    font-size: 20px;
    font-weight: bold;
    color: aliceblue;
}

#contact-button {
    width: 200px;
    height: auto;
    font-size: 20px;
    color: aliceblue;
    padding: 20px;
    background-color: #2900f1d1;
    border-radius: 10px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-weight: bold;
    transition: .5s;
}

#contact-button:hover {
    background-color: #2900f1;
}

#contact-button-container {
    height: fit-content;
    width: fit-content;
    padding: 20px;
    padding-left: 0px;
    position: absolute;
    bottom: 0;
}



#about {
    background-color: white;
    height: 100vh;
    display: flex;
}

#about-text-container {
    width: 50%;
    transition: .5s;

    opacity: 0;
    translate: -100px 0px;
}

#about-text-container>div>h3 {
    font-size: 30px;
    color: #2900f1;
}

#about-image-container {
    width: 60%;
    background-image: url("Assets/imgs/About/About2.webp");
    background-size: cover;
    translate: 15vw 0;
    transition: .5s;
    opacity: 0;
}

#about-text-container.inview {
    opacity: 1;
    translate: 0 0;
}

#about-image-container.inview {
    opacity: 1;
}



#services {
    min-height: 600px;
    background-image: url(Background.svg);
    background-repeat: repeat;
    background-color: white;

}

#services>h3 {
    font-size: 30px;
    color: #2900f1;
    text-align: center;
    margin-bottom: 50px;
    padding-top: 50px;

}

.service-card {
    width: 33%;
    min-height: fit-content;
    padding: 10px;
    border-radius: 10px;
    /* background-color: #32487396; */

}

.service-card-inner {
    height: fit-content;
    width: 90%;
    display: flex;
    flex-direction: column;
}

.service-card-inner>h4 {
    height: fit-content;
    text-align: center;
    border-bottom: #000 solid 2px;
    padding: 10px;
}

.service-card-inner>p {
    text-align: left;
    padding: 20px;
}

.service-card-container {
    display: flex;
    justify-content: space-evenly;
    height: 90%;
    opacity: 0;
    translate: 0 -100px;
    transition: .5s;
}

.service-card-container.inview {
    opacity: 1;
    translate: 0 0px;

}

.service-card-image-container {
    height: 100px !important;
    margin: 15px;
    width: 100%;
    position: relative;
}

.service-card-image {
    height: 100px;
}

#whyus {
    height: 100vh;
    width: 100vw;
    display: flex;

}

#whyus-text-container>h3 {
    font-size: 30px;
    color: #2900f1;
}

#whys-image-container {
    width: 50%;
    height: 100%;
    background-image: url("Assets/imgs/Whyus/Whyus1.jpg");
    background-size: cover;
    translate: -15vw;
    background-repeat: no-repeat;
    opacity: 0;
    transition: .5s;

}

#whys-image-container.inview {
    opacity: 1;
}

#whyus-text-container-outer {
    width: 50%;
    height: 100%;
    position: relative;
    opacity: 0;
    translate: 100px;
    transition: .5s;
}

#whyus-text-container-outer.inview {
    opacity: 1;
    translate: 0px;
}

#team {
    height: 75vh;
    width: 100vw;
    position: relative;
}

.team-card-outer {
    position: absolute;
    top: 30%;
    left: 50%;
    translate: -50% -50%;
    height: auto;
    width: 225px;
    opacity: 0;
    transition: .5s;
}

.team-card-outer.inview {
    top: 50%;
    opacity: 1;
}

.team-card-inner {
    text-align: center;
}

.team-card-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    position: relative;
    margin-bottom: 10px;
}

.team-card-info {}

.team-card-name {
    border-bottom: #000 solid 1px;
}

.team-card-text {
    margin-top: 15px;
    font-size: 17px;
}


#contact {
    width: 100%;
    display: flex;
    margin-bottom: 200PX;
}

.contact-section {
    width: 50%;
    padding: 20px;
}

#contact-form {
    display: flex;
    height: fit-content;
    width: 500px;
    flex-direction: column;

}

#contact-text {
    translate: -200px;
    opacity: 0;
    transition: .5s;
}

#contact-form-container {
    translate: 200px;
    opacity: 0;
    transition: .5s;

}

#contact-text.inview {
    translate: 0;
    opacity: 1;
}

#contact-form-container.inview {
    translate: 0;
    opacity: 1;

}

#contact-form>input,
#contact-form>textarea {
    width: 100%;
    padding: 10px;
    height: 50px;
    font-size: 20px;
    margin-bottom: 20px;
    border: none;
    border-bottom: grey solid 1px;
}

#contact-form>input:focus,
#contact-form>textarea:focus {
    border: none;
    outline: none;
    border-bottom: #2900f1 solid 2px;
}

#contact-form>textarea {
    height: 200px;
    font-size: 15px;
}

#sendbtn {
    background-color: #2900f1d1;
    color: aliceblue;
    border-radius: 5px;
    transition: .4s;
}

#sendbtn:hover {
    cursor: pointer;
    background-color: #2800f1;

}

#contact-text>h4,
#contact-text>h3,
#contact-text>h2 {
    margin-top: 10px;
    margin-bottom: 10px;
}

#contact-text>h3 {
    font-size: 30px;
    font-weight: lighter;

}

#contact-text>h2 {
    font-size: 35px;
    margin-bottom: 30px;


}

#contact-text>h4 {
    font-size: 25px;
    font-weight: lighter;

}

#contact-text>p {
    font-size: 20px;
    font-weight: lighter;

}

@media (orientation: portrait) {
    #Logo {
        width: 100px !important;
        height: 100% !important;
        scale: 1 !important;
        transition: .5s;
        margin: 0 !important;
    }

    .nav-menu {
        width: 30%;
        position: relative;
    }

    .nav-link {
        font-size: 10px;
    }

    section {
        padding-left: 10px;
        padding-right: 10px;
    }

    #home {
        height: 100vh;

    }

    #title-container {
        width: 100%;
    }



    #about {
        height: 100vh;
        display: inline-block;
        width: 100vw;
        padding: 0;
    }

    #about-text-container {
        width: calc(100%);
        opacity: 0;
        height: 100%;
        translate: 0 0px;
        z-index: 1;
        background-color: #f0f8ff91;
        padding: 20px;
    }

    #about-text-container>div>h3 {
        width: calc(100% - 40px);
    }

    #about-text-container>div>p {

        width: calc(100% - 40px);
    }

    #about-image-container {
        width: 100%;
        translate: 0 0;
        opacity: 1;
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
        left: 0;
    }

    #services {
        min-height: 600px;
        background-image: url(Background.svg);
        background-repeat: repeat;
        background-color: white;

    }

    #services>h3 {
        font-size: 30px;
        color: #2900f1;
        text-align: center;
        margin-bottom: 50px;
        padding-top: 50px;

    }

    .service-card {
        width: 100%;
        /* background-color: #32487396; */

    }

    .service-card-inner {
        width: 100%;
    }

    .service-card-container {
        flex-direction: column;
    }

    #whyus {
        height: 130vh;
        width: 100vw;
        position: relative;
        padding: 0;
    }

    #whyus-text-container>h3 {
        font-size: 30px;
        color: #2900f1;

    }

    #whyus-text-container>p {
        width: calc(100% - 40px);
    }

    #whys-image-container {
        width: 100%;
        height: 100%;
        translate: 0;
        opacity: 0;
        transition: .5s;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;

    }

    #whys-image-container.inview {
        opacity: 1;
    }

    #whyus-text-container-outer {
        width: 100%;
        height: 100%;
        position: relative;
        opacity: 0;
        translate: 100px;
        transition: .5s;
        background-color: #f0f8ffde;
        padding: 20px;

    }

    #whyus-text-container-outer.inview {
        opacity: 1;
        translate: 0px;
    }

    #contact {
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    
    .contact-section {
        width: 100%;
        padding: 20px;
    }
    
    #contact-form {
        display: flex;
        height: fit-content;
        width: 100%;
        flex-direction: column;
    
    }
    
    #contact-text {
        translate: -200px;
        opacity: 0;
        transition: .5s;
    }
    
    #contact-form-container {
        translate: 200px;
        opacity: 0;
        transition: .5s;
    
    }
}