@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Lao:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    text-transform: capitalize;
    transition: all 0.2s linear;
    /* font-family: 'Fira Sans', sans-serif; */
    font-family: 'Noto Sans Lao', sans-serif;
}

:root {
    --min-color: #fff;
    --sc-color: #3ec1d5;
    --th-color: #333;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 0.5rem;
    font-size: 66%;
}

.btn {
    display: inline-block;
    padding: 0.8rem 3.8rem;
    font-size: 1.8rem;
    border: 0.1rem solid var(--sc-color);
    outline: 0;
    background: var(--sc-color);
    border-radius: 1rem;
    cursor: pointer;
    text-align: center;
    color: var(--th-color);
    /* color: var(--min-color);*/
}

.btn:hover {
    background: none;
    color: var(--sc-color);
}

.heading {
    margin: 7rem auto;
    font-size: 2.5rem;
    text-align: center;
    color: var(--th-color);
}

.heading:hover {
    color: black;
}

.heading div {
    display: inline-block;
    border-bottom: 0.2rem solid var(--th-color);
    width: 15rem;
}

.heading div:hover {
    width: 25rem;
}

section {
    padding: 3rem 9%;
}

header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 3%;
    background: rgba(253, 253, 247, 0.6);
    /*  background: rgba(10, 10, 9, 0.6);*/
    z-index: 1001;
}

header .logo img {
    width: 60px;
    position: relative;
    display: flex;
    margin-right: 10px;
}



header .navbar a {
    margin: 0 0.9rem;
    font-size: 2.1rem;
    color: black;
    padding: 0.4rem;
}

header .navbar a:hover,
header .fa-bars:hover {
    color:#03002e;
    font-size: 2.2rem bold;
}

header .fa-bars {
    font-size: 3.8rem;
    color: var(--min-color);
    cursor: pointer;
    display: none;

}

.home .home-slid .box {
    position: relative;

}

.home .home-slid .box::before {
    content: "";
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
}

.home .home-slid .box .content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--min-color);
    text-align: center;
}

.home .home-slid .box .content h3 {
    font-size: 4rem;
}

.home .home-slid .box .content p {
    font-size: 2.5rem;
    margin: 1rem 0;
}

.about {
    background: #eee;
}

.about .box {
    display: flex;
    align-items: center;
    justify-content:space-between;
    gap: 4rem;
    margin-top: 7rem;
}

.about .box .image img {
    width: 60rem;
    height: 100%;
    object-fit: cover;
    border-radius: 1.5%;
}

.about .box .content h3 {
    color: var(--th-color);
    font-size: 2.5rem;
}

.about .box .content h3:hover {
    color: black;
}

.about .box .content p {
    color: var(--th-color);
    font-size: 1.9rem;
    margin: 2rem 0;
    justify-content: safe;
}

.about .box .content div {
    color: var(--th-color);
    font-size: 2.2rem;
}

.services .row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30%, 1fr));
    gap: 0.8rem;
    margin-top: 5rem;
}

.services .row .box {
    text-align: center;
    color: var(--th-color);
    padding: 4rem;
    border-radius: 0.8rem;
}

.services .row .box:hover {
    box-shadow: 0.5rem 0.5rem 0.5rem rgba(0, 0, 0, 0.2);
    background: #d9ecf1;
}

.services .row .box i {
    font-size: 5rem;
}

.services .row .box img {

    width: 320px;
    height: 186px;
    object-fit: cover;
    border-radius: 3%;
}

.services .row .box:hover img {
    box-shadow: 0.5rem 0.5rem 0.5rem rgba(57, 141, 162, 1.0);
    background: #d9ecf1;
}

.services .row .box h3 {
    font-size: 2.5rem;
    margin: 1.5rem 0;
}

.services .row .box p {
    font-size: 2rem;
}

.partner {
    width: 100%;
    height: 50vh;
    display: grid;
    align-items: center;
    background: #d9ecf1;

}

.container {
    width: 100%;
    height: 10vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    overflow: hidden;
}

.imgContainer {
    width: 100%;
    height: 140px;
    position: absolute;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 1s;
}
/*
.imgContainer:hover img{
    background-color: var(--sc-color);
    box-shadow: 0.5rem 0.5rem 0.5rem rgba(57, 141, 162, 1.0);
}
*/
.slide_div {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px 0 5px;
}

.img {
    position: relative;
    height: 140px;
    width: 100%;
    border-radius: 5px;
    /*filter: saturate(10%);*/
    transition: 0.7s;
    background-color: rgba(0, 0, 0, 0.4);
    object-fit: cover;
}
.img:hover{
    background-color: var(--sc-color);
    box-shadow: 0.5rem 0.5rem 0.5rem rgba(57, 141, 162, 1.0);
}
/*
.button {
    position: absolute;
    width: 100%;
    height: 140px;
    transition: 0.7s;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.button:hover {
    background-color: rgba(0, 0, 0, 0.2);
}

#slider1:target~.imgContainer #img1,
#slider1:target~.imgContainer #button1 {
    width: 100%;
    height: 140px;
    background-color: transparent;
    filter: saturate(100%);
}

#slider2:target~.imgContainer #img2,
#slider2:target~.imgContainer #button2 {
    width: 100%;
    height: 140px;
    background-color: transparent;
    filter: saturate(100%);
}

#slider3:target~.imgContainer #img3,
#slider3:target~.imgContainer #button3 {
    width: 100%;
    height: 140px;
    background-color: transparent;
    filter: saturate(100%);
}

#slider4:target~.imgContainer #img4,
#slider4:target~.imgContainer #button4 {
    width: 100%;
    height: 140px;
    background-color: transparent;
    filter: saturate(100%);
}

#slider5:target~.imgContainer #img5,
#slider5:target~.imgContainer #button5 {
    width: 100%;
    height: 140px;
    background-color: transparent;
    filter: saturate(100%);
}

#slider6:target~.imgContainer #img5,
#slider6:target~.imgContainer #button6 {
    width: 100%;
    height: 140px;
    background-color: transparent;
    filter: saturate(100%);
}

#slider1:target~.imgContainer {
    left: 60%;
}

#slider2:target~.imgContainer {
    left: 40%;
}

#slider3:target~.imgContainer {
    left: 0%;
}

#slider4:target~.imgContainer {
    left: -20%;
}

#slider5:target~.imgContainer {
    left: -40%;
}
#slider6:target~.imgContainer {
    left: -60%;
}

*/

.team {
    width: 100%;
}

.team .row {

    background: url(../img/background/teamsworkbackground.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    min-height: 70vh;
}

.row::before {
    content: "";
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
}

.team .row .team-slider .box {
    padding: 0 3%;
}

.team .team-slider .box .content {
    background: #222;
    box-shadow: 0 0.5 0.5 rgba(0, 0, 0, 0.6);
    text-align: center;
    padding: 4rem;
    border-radius: 1rem;
    height: 30rem;
}

.team .team-slider .box .image img {
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    position: absolute;
    top: 22rem;
    left: 1rem;
    border: 0.3rem solid var(--sc-color);

}

.team .team-slider .box .content h3 {
    font-size: 3.5rem;
    color: var(--sc-color);
    margin: 1rem;

}

.team .team-slider .box .content p {
    color: #fff;
    font-size: 2.2rem;
}

.blog .row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25%, 1fr));
    gap: 2rem;
    margin: 6rem 0;
}

.blog .row img {
    width: 100%;
    object-fit: cover;
    border-radius: 2%
}

.blog .row h3 {
    color: var(--th-color);
    font-size: 3rem;
    margin: 1.5rem 0;
}

.blog .row p {
    color: var(--th-color);
    font-size: 1.9rem;
    margin: 1rem 0;
}

.welcam {
    padding: 7rem 0;
    text-align: center;
    height: 18rem;
    background: var(--th-color);
}

.welcam span {
    font-size: 3rem;
    padding: 3rem;
    color: var(--min-color);
}

.contact .box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30%, 1fr));
    gap: 2rem;
    text-align: center;
}

.contact .box i {
    font-size: 3.8rem;
    color: var(--sc-color);
}

.contact .box div {
    font-size: 2rem;
    color: var(--th-color);
    margin: 1rem 0;
}

.contact .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin: 8rem 0;
}

.contact .row .form-c input,
textarea {
    background: var(--min-color);
    border: 0.1rem solid rgb(160, 160, 160);
    padding: 1rem;
    height: 4.5rem;
    width: 100%;
    margin: 0.7rem 0;
    color: var(--th-color);
    font-size: 1.9rem;
}

.contact .row .form-c input[type="submit"] {
    background: #333;
    cursor: pointer;
    margin-bottom: 2.5rem;
    color: var(--min-color);
    border: 0.2rem solid var(--th-color);
    text-align: center;
    font-size: 20px;

}

.contact .row .form-c input[type="submit"]:hover {
    background: var(--th-color);
    color: var(--min-color);
}

.contact .row .form-c textarea {
    height: 15rem;
    padding: 1rem;
}

.footer {
    background: #222;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20%, 1fr));
    gap: 2rem;
    text-align: center;
    padding: 4rem;
}

.shar {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(4, 50px);
    grid-gap: 10px;
}

.shar li {
    list-style: none;
}

.shar li a {
    display: inline-block;
    width: 52px;
    height: 52px;
    display: grid;
    align-content: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 4px;
}

.shar li a .fa {
    font-size: 20px;
}

.footer h3 {
    font-size: 3.5rem;
    margin: 2rem 0;
    color: var(--min-color);
}

.footer p {
    font-size: 1.6rem;
    margin: 1rem 0;
    color: var(--min-color);
}

.footer i {
    font-size: 2.6rem;
    margin: 1rem 0.5rem;
    color: var(--min-color);
}

.footer i:hover,
.footer a:hover {
    color: var(--sc-color);
}

.footer a {
    display: block;
    font-size: 2rem;
    margin: 0.5rem;
    color: var(--min-color);
}

.copyrightText {
    width: 100%;
    background: var(--min-color);
    padding: 8px 100px;
    text-align: center;
    color: var(--th-color);
    font-size: 18px;
}



































/* media query  */

@media(max-width:850px) {

    header .fa-bars {
        display: block;
    }

    header .navbar {
        position: fixed;
        /* */
        top: 1000rem;
        left: 0;
        text-align: center;
        background: rgba(10, 10, 9, 0.6);
        width: 100%;
    }

    header .navbar.active {
        top: 7.5rem;
    }

    header .navbar a {
        display: block;
        margin: 0.3rem 0;
        padding: 1rem;
        font-size: 2.6rem;
        color: var(--min-color);
    }

    header .navbar a:hover {
        background: var(--min-color);
    }

    .about .box {
        flex-wrap: wrap;
        text-align: center;
    }

    .about .box .image img {
        width: 50%;
    }

    .services .row {

        grid-template-columns: repeat(auto-fit, minmax(80%, 1fr));
    }

    .services .row .box .img {
        width: 30%;
    }

    .blog .row {
        grid-template-columns: repeat(auto-fit, minmax(80%, 1fr));
    }

    .contact .row {
        flex-flow: column;
    }

    .contact .row iframe {
        width: 100%;
    }

    .footer {

        grid-template-columns: repeat(auto-fit, minmax(40%, 1fr));
    }

    .copyrightText {

        padding: 8px 100px;

    }

}

@media(max-width:550px) {
    .portfolio .row {

        grid-template-columns: repeat(auto-fit, minmax(40%, 1fr));
    }
}