@font-face {
    font-family: "PhetsarathOT";
    src: url("../fonts/Phetsarath OT.ttf") format("truetype");
}

:root {
    --base-font-family: "PhetsarathOT", "Times New Roman", serif;
    /* --base-font-family: "PhetsarathOT", "NotosanLao", "Times New Roman", serif; */
    --bs-body-font-family: var(--base-font-family);

    scroll-behavior: smooth;

    /* Color */
    --color-primary: #075fac;
    --color-secondary: #e20a17;
    --color-white: #fff;
    --color-black: #333;
    --color-gray: #c0c0c0;
    --color-facebook: #1877f2;
    --color-instagram: #dd2a7b;

    /* Color RGB */
    --color-primary-rgb: 157, 15, 18;
    --color-secondary-rgb: 226, 10, 23;
    --color-white-rgb: 255, 255, 255;
    --color-black-rgb: 51, 51, 51;
    --color-gray-rgb: 192, 192, 192;

    --bg-top: #e9f4fb; /* light */
    --bg-bottom: #9fb8d9; /* darker */
    --color-black: #000;
    --footer-background-color: #075fac;
    --body-background-color: #f5f4f6;
}

* {
    font-family: var(--base-font-family);
}

footer {
    background-color: var(--footer-background-color);
    h6 {
        text-decoration: underline;
        font-weight: bold;
        font-size: large;
    }
    a {
        text-decoration: none;
        color: inherit;
    }
    a.active{
        color: #000;
    }
}
/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    overflow: hidden;
    background: #fff;
}

#preloader:before {
    content: "";
    position: fixed;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    border: 6px solid var(--background-color);
    border-top-color: #bfe0fd;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    -webkit-animation: animate-preloader 1s linear infinite;
    animation: animate-preloader 1s linear infinite;
}

@-webkit-keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 996;
    width: 40px;
    height: 40px;
    transition: all 0.4s;
    text-decoration: none;
    i {
        color: #000;
        font-size: 28px;
        line-height: 0;
    }
}

.back-to-top:hover i {
    color: #03d1fe;
}

.back-to-top.active {
    visibility: visible;
    opacity: 1;
}

h1 {
    font-size: 2.5rem;
} /* ~40px */
h2 {
    font-size: 2rem;
} /* ~32px */
h3 {
    font-size: 1.75rem;
} /* ~28px */
h4 {
    font-size: 1.5rem;
} /* ~24px */
h5 {
    font-size: 1.25rem;
} /* ~20px */
h6 {
    font-size: 1rem;
} /* ~16px */

/*
menu
*/
.menu-bar {
    padding: 0;
    border-top: solid 0.2px #000;
}

.menu-bar a {
    text-decoration: none;
}

.menu-bar a.animated-top-border {
    position: relative;
    color: inherit;
}

/* Animated top line */
.menu-bar a.animated-top-border::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 2px;
    width: 0;
    background-color: #007bff;
    transition: width 0.35s ease;
}

.menu-bar a.animated-top-border:hover::before,
.menu-bar a.animated-top-border.active::before {
    width: 100%;
}

.menu-bar ul {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-bar ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--color-black);
    font-size: 16px;
    font-weight: 600;
    height: 40px;
    padding: 0 16px;
    transition: 0.3s;
    white-space: nowrap;
}

.menu-bar ul li a i {
    font-size: 12px;
    margin-left: 8px;
}

.menu-bar ul li a:hover,
.menu-bar ul li:hover > a {
    color: var(--color-primary);
}

/* Desktop dropdown */
.menu-bar .dropdown ul {
    position: absolute;
    display: block;
    background: var(--color-white);
    border-radius: 4px;
    box-shadow: 0px 0px 16px rgba(var(--color-black-rgb), 0.25);
    top: calc(100% + 30px);
    margin: 0;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;

}

.menu-bar .dropdown:hover > ul {
    top: 100%;
    opacity: 1;
    visibility: visible;
}

.mobile-nav-show,
.mobile-nav-hide {
    display: none;
}

/* Navbar mobile mode */
#navbar.navbar-mobile {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    background: #fff;
    padding: 10px 0;
    z-index: 999;
    transition: all 0.3s;
}

#navbar.navbar-mobile ul {
    display: block;
}

#navbar.navbar-mobile li {
    padding: 12px 20px;
}

/* Dropdown in mobile */
#navbar .dropdown ul {
    display: none;
    padding-left: 20px;
}

#navbar .dropdown .dropdown-active {
    display: block;
}

/* Mobile toggle buttons */
.mobile-nav-toggle {
    font-size: 28px;
    cursor: pointer;
}

/*
    Topbar And Navbar
*/
.topbar {
    background-color: #fff;
    padding-bottom: 20px;
    height: 100px;
    transition: all 0.5s;
}

.topbar .contact-info a img {
    max-width: 100%;
    height: 60px;
}

.topbar .social-links a {
    line-height: 0;
    margin-left: 16px;
    transition: 0.3s;
}

.topbar .social-links a i {
    font-size: var(--font-title);
}

.topbar .social-links a:hover {
    color: var(--color-primary);
}

header {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    padding: 10px 20px;
    z-index: 1000;
}
.logo {
    height: 80px;
    width: auto;
}

.footer-logo {
    height: 50px;
    width: auto;
}
/**
*/
section {
    scroll-margin-top: 40px;
}

#section {
    padding: 60px 0;
}

/******
*
* Card-Fearure
*
*/
.card-feature-wrapper {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 200px;
    display: flex;
    justify-content: center;
}

.card-feature {
    display: flex;
    width: 80%;
    min-width: 60%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.card-container {
    padding: 5px;
    padding-bottom: 10px;
    cursor: pointer;
    width: 220px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-container .card-top {
    background-image: url("../images/feature-card/card-01.png");
    width: 100%;
    min-height: 60px;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: xx-large;
    color: #0880e8;
}

.card-container .card-middle {
    /* background-image: url("../images/feature-card/card-02.png"); */
    background-color: #F2F2F3;
    width: 100%;
    padding-top: 10px;
    padding-left: 20px;
    padding-right: 20px;
    /* background-size: repeat-y; */
    height: calc-size(auto);
    flex-grow: 1;
    h4 {
        color: #007bff;
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
    }
}

.card-container .card-bottom {
    /* background-image: url("../images/feature-card/card-03.png"); */
    background-color: #F2F2F3;
    height: 40px;
    background-size: cover;
    background-repeat: no-repeat;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
}

.card-container:hover .card-top {
    background-image: url("../images/feature-card/card-hover-01.png");
    color: #e9f4fb;
}

.card-container:hover .card-middle {
    /* background-image: url("../images/feature-card/card-hover-02.png"); */
    background-color: #138BD9;
    color: #fff;
    h4 {
        color: #fff;
    }
}

.card-container:hover .card-bottom {
    background-color: #138BD9;
    /* background-image: url("../images/feature-card/card-hover-03.png"); */
}

.img_header {
    height: 100px;
    width: auto;
}

/*---

-----*/
.main-content {
    /* background-color: #307ABB; */
    background: linear-gradient(to bottom, #ffffff 0%, #307abb 100%);
    width: 100%;
}

.main-news {
    background-color: #fff;
    min-height: 100px;
}

.main-faq {
    position: relative;
    /* width: 100%; */
    min-height: 800px;
    overflow: hidden;
    color: white;
}

.main-faq-content {
    height: calc-size(auto);
    border-radius: 40px;
    margin-top: 40px;
    padding: 20px;
    background-color: rgba(196, 216, 233, 0.8);
    transition: all 0.3s ease-in-out, background-color 0.3s linear;
    color: var(--footer-background-color);

    .faq-bullet {
        color: var(--color-primary);
        background-color: #ebfbfe;
        border-radius: 10px;
        padding: 10px;
        margin-right: 20px;
        font-size: large;
        width: 40px;
        height: 40px;
    }
    .faq-arrow {
        color: var(--color-primary);

        border-radius: 10px;
        padding: 10px;
        margin-right: 20px;
        font-size: large;
        width: 40px;
        height: 40px;
    }

    a {
        text-decoration: none;
        margin-top: 30px;
    }
    .faq-header {
        border-bottom: solid 1px;
        margin-bottom: 10px;
        .left {
            width: 90%;
        }
    }
    .fa-angle-down {
        transition: transform 0.3s ease;
    }
}

.main-faq::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../images/faq-bg.png");
    background-size: 150% 100%;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(2px); /* only blur the background */
    z-index: -1; /* behind content */
}

.container {
    padding-top: 30px;
}

.image-hero {
    border-radius: 20px;
    background-color: #0f81cf;
    min-height: 500px;
    margin-bottom: 50px;
}


/***
All pages
*/
.page-header {
    position: relative;
    z-index: 10;
    background-color: var(--footer-background-color);
    color: var(--color-white);
    padding: 30px;
    padding-top: 50px;
    width: 100%;
    a {
        text-decoration: none;
        color: var(--color-white);
    }
    li::before {
        color: var(--color-white) !important;
    }
}

.banner {
    width: 100vw;
    height: 150px;
    margin-left: 0 !important;
    padding-left: 0!important  ;
    background-color: #dd2a7b;
    position: absolute;

}

.page-sidebar{
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    flex-direction: column;
    .page-sidebar-top{
        height: 170px;
        width: 80%;
        border-bottom: 5px var(--footer-background-color) solid;
    }
    .sidebar-link{
        width: 100%;
        text-decoration: none;
    }
    .page-sidebar-bottom{
        width: 80%;
        border-top: 5px var(--footer-background-color) solid;
    }
}

.page-content {
    position: relative;
    z-index: 10;
    margin-top: 50px;
    padding-left: 50px;
    h3 {
        text-decoration: 3px var(--footer-background-color) underline;
        text-underline-offset: 6px;
        color: #000;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    ul {
        padding-left: 20px;
    }

    ul li {
        list-style: none;
        position: relative;
        padding-left: 30px;
    }

    ul li::before {
        content: "";
        position: absolute;
        left: 0;
        top: 6px;
        width: 10px;
        height: 10px;
        background-color: var(--footer-background-color);
        border-radius: 50%; /* makes it a circle */
    }
}

.overlap-content {
    margin-top: 60px; /* 50% of banner height */
}
/*--------------------------------------------------------------
# Media Queries
--------------------------------------------------------------*/

@media (max-width: 1200px) {
    h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    /* Show mobile menu buttons */
    .mobile-nav-show,
    .mobile-nav-hide {
        display: block;
        font-size: 28px;
        cursor: pointer;
        margin-left: 15px;
        z-index: 9999;
    }

    /* Hide desktop menu */
    #navbar ul {
        display: none;
    }

    /* Open mobile menu */
    #navbar.navbar-mobile {
        position: fixed;
        background: #fff;
        left: 0;
        right: 0;
        top: 0;
        padding: 20px;
        z-index: 9999;
    }

    #navbar.navbar-mobile ul {
        display: block !important;
        padding: 0;
        margin-top: 20px;
    }

    #navbar.navbar-mobile li {
        padding: 12px 0;
    }

    #navbar.navbar-mobile a {
        padding: 10px 0;
        height: auto;
    }

    /* MOBILE DROPDOWN */
    #navbar.navbar-mobile .dropdown ul {
        position: static !important;
        display: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        background: none;
        box-shadow: none;
        padding-left: 15px;
    }

    #navbar.navbar-mobile .dropdown .dropdown-active {
        display: block !important;
    }

    /* Disable desktop hover in mobile */
    .menu-bar .dropdown:hover > ul {
        visibility: hidden !important;
        opacity: 1 !important;
    }

    h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    #navbar ul {
        display: none;
    }

    #navbar.navbar-mobile ul {
        display: block !important;
    }
    h1 {
        font-size: 1.8rem;
    }
    .logo {
        height: 60px;
        width: auto;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.6rem;
    }
    .logo {
        height: 40px;
        width: auto;
    }
    #navbar ul {
        display: none;
    }

    #navbar.navbar-mobile ul {
        display: block !important;
    }
}
