@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800&family=Sarabun:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

* {
    font-family: 'Kanit', sans-serif;
    scroll-behavior: smooth;
}

span {
    font-family: 'Kanit', sans-serif !important;
}

body {
    background-color: white;
}

#NavbarHeader li.nav-item {
    flex: 1 1 auto;
}

h1 {
    font-size: 32px;
}

h2 {
    font-size: 28px;
}

h3 {
    font-size: 24px;
}

h4 {
    font-size: 22px;
}

h5 {
    font-size: 20px;
}

h6 {
    font-size: 18px;
}

p, .about-list li {
    font-size: 22px;
}

textarea {
    height: 250px !important;
}

iframe {
    height: 320px;
}

ul {
    list-style: none;
}

.bg-opacity-90 {
    --bs-bg-opacity: 0.9;
}

.fixed-top {
    top: -1px;
}

.object-fit-cover       {
    object-fit: cover;
}

.bg-about-us {
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('./images/home-stripe-bg.webp');
    background-size: cover;
    background-position: center;
}

.i-guard-usage .card img {
    position: absolute;
    z-index: 1;
}

.i-guard-usage .card .card-body {
    z-index: 2;
    opacity: 0;
    background-color: rgba(0,0,0,0);
}

.i-guard-usage .card .card-body:hover {
    opacity: 1;
    background-color: rgba(0,0,0,0.7);
}

.slide-cover {
    height: 100vh;
    object-fit: cover;
}

section.home-slide #carouselCaptions .carousel-caption {
    bottom: 18vh;
    left: 5%;
    right: 64%;
    padding-left: 25px;
    padding-right: 25px;
    text-align: left;
}

section.home-slide #carouselCaptions .carousel-caption img {
    width: 100%;
    padding: 25px;
}

section.home-slide #carouselCaptions .carousel-caption a.btn {
    width: 60%;
}

section.home-our-clients {
    background-image: linear-gradient(rgb(255,255,255), rgb(255,255,255)), url('./images/home-our-projects.png'), url('./images/bg-home-our-clients.png');
    background-repeat: no-repeat;
    background-size: 100% 21%, 40%, cover;
    background-position: center 101%, 80% 7%, center;
}

section.home-our-clients .rotated-height h3 {
    display: inline-block;
    transform: rotate(-90deg);
}

section.home-our-clients .owl-theme .owl-nav {
    position: absolute;
    bottom: 0;
    font-size: 50px;
    left: -220px;
}

section.home-our-clients .owl-carousel .owl-nav button.owl-next, section.home-our-clients .owl-carousel .owl-nav button.owl-prev {
    margin-left: 10px;
    margin-right: 10px;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

section.promotions .card img {
    height: 250px;
}

section.products-1-header {
    background-image: url('./images/bg-products-1-banner.jpg');
    background-size: cover;
    background-position: center;
    min-height: 70vh;
}

section.products-2-header {
    background-image: url('./images/bg-products-2-banner.jpg');
    background-size: cover;
    background-position: center;
    min-height: 70vh;
}

section.about-us-header {
    background-image: url('./images/about-i-guard.webp');
    background-size: cover;
    background-position: center;
    min-height: 70vh;
}

section.warranty-header {
    background-image: url('./images/warranty-bg.jpeg');
    background-size: cover;
    background-position: center;
    min-height: 70vh;
}

section.partners-header {
    background-image: url('./images/i-guard-bg.jpeg');
    background-size: cover;
    background-position: center;
    min-height: 70vh;
}

section.our-clients-header {
    background-image: url('./images/our-clients.webp');
    background-size: cover;
    background-position: center;
    min-height: 70vh;
}

section.how-it-works-header {
    background-image: url('./images/how-it-works-bg.jpg');
    background-size: cover;
    background-position: center;
    min-height: 70vh;
}

section.lab-header {
    background-image: url('./images/lab-i-guard.webp');
    background-size: cover;
    background-position: center;
    min-height: 70vh;
}

section.articles-header {
    background-image: url('./images/articles-bg.webp');
    background-size: cover;
    background-position: center;
    min-height: 70vh;
}

section.contact-header {
    background-image: url('./images/contact-bg.webp');
    background-size: cover;
    background-position: center;
    min-height: 70vh;
}

section.thank-you-header {
    background-image: url('./images/contact-bg.webp');
    background-size: cover;
    background-position: center;
    min-height: 40vh;
}

section.faq-header {
    background-image: url('./images/faq-bg.webp');
    background-size: cover;
    background-position: center;
    min-height: 70vh;
}

.our-history {
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('./images/about-us-history.jpeg');
    background-size: cover;
}

.content {
    position: absolute;
    bottom: 15px;
    left: 15px;
    text-align: left;
}

@media only screen and (max-width: 768px) {
    section.home-slide #carouselCaptions .carousel-caption {
        bottom: 15vh;
        left: 20%;
        right: 20%;
        text-align: center;
    }

    .content {
        left: 40px;
        text-align: right;
    }

    p {
        font-size: 18px;
    }

    section.home-slide #carouselCaptions .carousel-caption img {
        width: 70%;
        padding: 0px;
    }

    section.home-slide #carouselCaptions .carousel-caption h1 {
        font-size: 18px;
    }

    section.home-slide #carouselCaptions .carousel-caption p {
        font-size: 15px;
    }

    section.home-slide #carouselCaptions .carousel-caption a.btn {
        width: 100%;
    }
}