@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+Lao+Looped:wght@400;500;600;700&family=Satisfy&display=swap");

:root {
    --primary: #1f2e88;
    --secondary: #2f66d4;
    --hover: #a2d9f5;
    --black: #333;
    --white: #fff;
    --light-color: #666;
    --light-bg: #eee;
    --border: 0.2rem solid rgba(0, 0, 0, 0.1);
    --box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

* {
    font-family: "Noto Sans Lao Looped", sans-serif !important;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    text-transform: capitalize;
    transition: 0.2s linear;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Noto Sans Lao Looped", sans-serif !important;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-padding-top: 9rem;
    scroll-behavior: smooth;
}

html::-webkit-scrollbar {
    width: 0.8rem;
}

html::-webkit-scrollbar-track {
    background: transparent;
}

html::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5rem;
}

section {
    padding: 5rem 7%;
}

.heading {
    font-size: 4rem;
    text-align: center;
    color: var(--black);
    text-transform: uppercase;
    font-weight: bolder;
    margin-bottom: 3rem;
}

.btn {
    margin-top: 1rem;
    display: inline-block;
    padding: 1rem 3rem;
    border-radius: 0.5rem;
    background: var(--primary);
    cursor: pointer;
    font-size: 1.7rem;
    color: var(--white);
}

.btn:hover {
    background: var(--secondary);
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #0e1a60;
    box-shadow: var(--box-shadow);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 9%;
}

.header .logo {
    font-size: 2.5rem;
    font-weight: bolder;
    color: var(--white);
}

.header .logo i {
    color: var(--white);
    padding-right: 0.5rem;
}

.header .navbar a {
    font-size: 1.7rem;
    color: var(--white);
    margin: 0 1rem;
}

.header .d-lg-inline-block a {
    font-size: 1.7rem;
    border-radius: 5px;
}

.header .btn {
    margin-top: 0;
}

#menu-btn {
    font-size: 2.5rem;
    cursor: pointer;
    color: var(--white);
    margin-left: 1.7rem;
    display: none;
}

#menu-btn:hover {
    color: var(--white);
}

/* home */

.home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url(../img/image-01.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.home .content {
    max-width: 80rem;
    padding-left: 6rem;
    padding: 2rem 2rem 5rem 2rem;
    text-align: center;
}

.home .content img {
    text-align: center;
    width: 160px;
    height: 160px;
    margin-bottom: 2rem;
}

.home .content h3 {
    text-align: start;
    font-size: 3rem;
    color: var(--white);
    line-height: 1.2;
    text-shadow: 1px 2px 2px #000000, 0 0 5px #000000;
    margin-bottom: 0.5rem;
}

.home .content p {
    text-align: start;
    line-height: 2;
    font-size: 2rem;
    color: var(--white);
    padding: 0;
    text-shadow: 1px 2px 2px #000000, 0 0 5px #000000;
}

.home .content a {
    font-size: 1.5rem;
}

/* home end */

/* about us */
.about h1 {
    font-size: 3rem;
}

.about .row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.about .row .image {
    flex: 1 1 40rem;
}

.about .row .image img {
    width: 100%;
    height: 100%;
}

.about .row .content {
    flex: 1 1 40rem;
}

.about .row .content h3 {
    color: var(--black);
    font-size: 3rem;
    line-height: 1.5;
}

.about .row .content p {
    font-size: 2rem;
    color: var(--light-color);
    padding: 1rem 0;
    line-height: 2;
    text-indent: 20px;
}

/* about end */

/* services */

.services {
    background: var(--light-bg);
}

.services h1 {
    font-size: 3rem;
}

.services .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 2rem;
}

.services .box-container .box {
    padding: 4rem;
    text-align: center;
    background: var(--white);
    box-shadow: var(--box-shadow);
    border-radius: 2rem;
    cursor: pointer;
}

.services .box-container .box:hover {
    background: var(--hover);
}

.services .box-container .box img {
    margin: 1rem 0;
    height: 10rem;
}

.services .box-container .box h3 {
    font-size: 2rem;
    padding: 1rem 0;
    color: var(--black);
}

.services .box-container .box p {
    font-size: 1.5rem;
    color: var(--light-color);
    line-height: 2;
}

.accordion {
    font-size: 1.5rem;
    margin-top: 5rem;
}

.accordion-button {
    font-size: 1.8rem !important;
    font-weight: bold;
}

.accordion-collapse ul li {
    list-style: none;
    text-indent: 25px;
}

/* services section ends */

/* team section */
.team h3 {
    font-size: 3rem;
}

.team h6 {
    font-size: 1.8rem;
}

.team p {
    font-size: 1.8rem;
}

.team .slide {
    text-align: center;
}

.team .slide .image {
    position: relative;
    overflow: hidden;
}

.team .slide .image img {
    width: 100%;
}

.team .slide .image .share {
    padding: 2rem;
    position: absolute;
    bottom: -30rem;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
}

.team .slide:hover .image .share {
    bottom: 0;
}

.team .slide .image .share p {
    text-indent: 25px;
    text-align: start;
    font-size: 1.5rem;
    color: #ffffff;
    margin-top: 1rem;
}

.team .slide .image .share a {
    font-size: 3rem;
    margin: 0 1rem;
    color: var(--white);
}

.team .slide .image .share a:hover {
    color: var(--secondary);
}

.team .slide .content {
    display: flex;
    padding-top: 1rem;
    align-items: center;
    justify-content: space-between;
}

.team .slide .content h3 {
    font-size: 2rem;
    color: var(--black);
}

.team .slide .content span {
    font-size: 1.5rem;
    line-height: 2;
    color: var(--light-color);
}

/* team section ends */

/* contact */

.contact {
    background: var(--light-bg);
}

.contact form {
    padding: 2rem;
    background: var(--white);
    max-width: 50rem;
    margin: 0 auto;
    border-radius: 0.5rem;
}

.contact form span {
    font-size: 1.7rem;
    color: var(--primary);
}

.contact form .inputBox {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contact form .inputBox input {
    padding: 1rem;
    margin: 1rem 0;
    font-size: 1.7rem;
    color: var(--black);
    text-transform: capitalize;
    background: var(--light-bg);
    border-radius: 0.5rem;
    width: 49%;
}

.contact form .box {
    margin: 1rem 0;
    width: 100%;
    background: var(--light-bg);
    border-radius: 0.5rem;
    padding: 1rem;
    font-size: 1.7rem;
    color: var(--black);
    text-transform: capitalize;
}

.contact input {
    font-size: 1.5rem;
}

/* contact ends */

/* footer */

.footer {
    text-align: center;
}

.footer .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 2rem;
}

.footer .box-container .box h3 {
    font-size: 2.2rem;
    padding: 1rem 0;
    color: var(--secondary);
}

.footer .box-container .box p {
    font-size: 1.5rem;
    padding: 0.5rem 0;
    line-height: 2;
    color: var(--light-color);
}

.footer .box-container .box .share {
    margin-top: 1rem;
}

.footer .box-container .box .share a {
    height: 4.5rem;
    width: 4.5rem;
    background: var(--primary);
    color: var(--white);
    line-height: 4.5rem;
    border-radius: 10%;
    font-size: 1.7rem;
    margin-right: 0.3rem;
    text-align: center;
}

.footer .box-container .box .share a:hover {
    background: var(--secondary);
}

.footer .box-container .box .link {
    display: block;
    font-size: 1.7rem;
    line-height: 2;
    color: var(--primary);
    padding: 0.5rem 0;
}

.footer .box-container .box .link:hover {
    color: var(--hover);
}

.footer .credit {
    margin-top: 3rem;
    padding-top: 3rem;
    font-size: 2rem;
    text-align: center;
    text-transform: capitalize;
    color: var(--primary);
    border-top: 0.1rem solid var(--secondary);
}

.footer .credit span {
    color: var(--secondary);
}

/* modal  */
.modal-body a {
    font-size: 1.5rem;
    width: 50%;
    margin-left: 25%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 0;
    text-decoration: none;
    color: #696969;
}

.modal-body a:hover {
    background-color: #f0f0f0;
    cursor: pointer;
    color: black;
}

.modal-body a:hover .bxl-facebook-square {
    color: rgb(0, 51, 255);
}

.modal-body a:hover .bxl-messenger {
    color: rgb(238, 0, 191);
}

.modal-body a:hover .bxl-whatsapp-square {
    color: rgb(0, 234, 8);
}

/* blog css start  */
.page-content-frontend {
    font-size: 16px;
    margin-top: 8rem;
}

.card-body-frontend {
    padding: 3% 10% !important;
}

.green_bold {
    color: green;
    font-weight: bold;
}

.topic_div {
    margin: 30px 0;
    width: 100%;
    padding: 0;
}

.main_topic {
    font-size: 16px;
}

.topic {
    font-size: 18px;
    margin: 20px 0 !important;
}

/* media queries */

@media (max-width: 991px) {
    html {
        font-size: 55%;
    }

    .header .btn {
        display: none;
    }

    section {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    #menu-btn {
        display: inline-block;
    }

    #menu-btn.fa-times {
        transform: rotate(180deg);
    }

    .header .navbar {
        position: absolute;
        top: 99%;
        left: 0;
        right: 0;
        background: var(--white);
        border-top: var(--border);
        padding: 1rem 0;
        text-align: center;
        flex-flow: column;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    }

    .header .navbar.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .header .navbar a {
        display: block;
        padding: 1rem 0;
        font-size: 2rem;
        color: var(--black);
    }

    .header .d-lg-inline-block {
        border: 1px solid black;
        border-radius: 5px;
    }

    .header .d-lg-inline-block a {
        color: var(--black);
    }

    .header .d-lg-inline-block a:hover {
        background: none;
    }

    .home {
        background-position: left;
    }

    .home .content {
        max-width: 50rem;
        padding-left: 3rem;
    }

    .home .content h3 {
        font-size: 4rem;
    }

    .page-content-frontend {
        font-size: 12px;
    }

    .card-body-frontend {
        padding: 0;
        margin: 0;
    }

    .topic_div {
        width: 100%;
        padding: 0 !important;
        margin: 0 !important;
    }

    .main_topic {
        font-size: 10px;
    }

    .green_bold {
        color: green;
        font-weight: 500;
    }

    .billno_date {
        text-align: end;
        margin: 10px 0;
    }

    .topic {
        font-size: 14px !important;
        margin: 0 !important;
    }

    .date_time {
        text-align: end;
    }
}

@media (max-width: 450px) {
    html {
        font-size: 50%;
    }

    .home .content h3 {
        font-size: 3rem;
    }
}