@import url('https://fonts.googleapis.com/css2?family=Prompt: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&display=swap');

* {
    font-family: 'Prompt', sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Prompt', sans-serif !important;
    font-weight: 400 !important;
}

.text-main {
    color: #1c75bc !important;
}

.text-sub {
    color: #05c3de !important;
}

.border-main {
    border: 1px solid #1c75bc !important;
}

.border-sub {
    border: 1px solid #05c3de !important;
}

.bg-sub {
    background-color: #f9f9f9 !important;
}

body {
    /* background: #05C3DE; */
    /* background: linear-gradient(0deg, #479FD5 0%, #05C3DE 100%); */
    color: #58595b;
}

.bg-white {
    background: linear-gradient(0deg, #fff 0%, #fff 100%);

}

a,
a:hover,
a:active {
    text-decoration: none;
}

.nav-logo {
    height: 25px;
    margin-right: 15px;
}

.myBanner {
    position: relative;
}

.myBanner .swiper-slide .banner-content {
    position: absolute;
    top: 25%;
    left: 0;
    width: 100%;
    font-size: 10px;
}

.btn-banner-more {
    border-radius: 12px;
    border: 2px solid #fff;
    background-color: rgba(255, 255, 255, 0.39);
    color: #fff;
    text-align: center;
    padding: 0 12px;
    font-size: 20px;
}

.banner-image {
    width: 100%;
    height: 50vh;
    object-fit: cover;
}

.card-service {
    border-radius: 47px;
    background: linear-gradient(175deg, #FFFFFF 50%, rgb(124, 209, 221) 100%);
}

.service-title {
    color: #05C3DE;
    font-size: 20px;
}

.service-content {
    color: #9A9B9D;
    font-size: 9px;
}

.icon-service-1 {
    width: 53px;
}

.icon-service-2 {
    width: 53px;
}

.card-box {
    width: 100%;
    background-color: #fff;
    color: #9A9B9D;
    transition: .3s;
    font-size: 10px;
    box-shadow: 4px 4px 4px #1952b44a;
    border-radius: 29px;
    padding: 48px 24px 24px 24px;
}

.card-box .box-title {
    font-size: 16px;
}

.card-box:hover,
.card-box:hover .text-main {
    background-color: #0A8CD2;
    color: white;
}

.title-box {
    font-size: 20px;
}

.card-content {
    box-shadow: 9px 9px 30px #1952b44a;
    border-radius: 29px;
    background-color: #fff;

}

.custom-arrow {
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    color: #4a90e2;
}

.swiper-button-prev {
    left: -40px;
    /* ด้านซ้ายออกนอก */
}

.swiper-button-next {
    right: -40px;
    /* ด้านขวาออกนอก */
}

.myContentSlide {
    /* overflow: visible; */
    position: relative;
}

.myContentSlide .swiper-slide {
    position: relative;
}

.content-slide-hover {
    opacity: 0;
    transition: .3s;
    border-radius: 37px;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgb(10, 140, 210, 0.7);
    padding: 36px;
    color: white;
    font-size: 12px;
}

.content-slide-image {
    width: 100%;
    border-radius: 37px;
}

.content-slide-hover:hover {
    opacity: 1;
}

.article-box {
    display: flex;
    border: 2px solid #0A8CD2;
    border-radius: 10px;
    align-items: center;
    margin-bottom: 12px;
    cursor: pointer;
}

.article-box.active,
.article-box:hover {
    background: #d5e2e9cb;
    border: 2px solid #8ac7e9;
}

.article-box.active .article-title,
.article-box:hover .article-title {
    color: #ffffff;
}

.article-box:hover {
    display: flex;
    border: 2px solid #0A8CD2;
    border-radius: 10px;
    align-items: center;
    margin-bottom: 12px;
}

.article-box img {
    width: 55px;
    height: 55px;
    object-fit: cover;
    padding: 12px;
}

.article-box .article-title {
    font-size: 20px;
    color: #0A8CD2;
}

.border-contact {
    border-right: none;
    border-top: 7px solid #0A8CD2;
}

footer {
    background-image: url('../web_images/Footer-01.jpg');
    background-repeat: no-repeat;
    background-position: right;
    font-size: 10px;
    background-size: cover;
}

.navbar.slide {
    background-color: rgba(255, 255, 255) !important;
    transition: .3s;
}

.navbar {
    background-color: rgba(255, 255, 255, 0) !important;
}

.lang-menu,
.lang-menu a {
    color: white !important;
}

.navbar.slide .lang-menu,
.navbar.slide .lang-menu a {
    color: black !important;
    z-index: 9;
    position: relative;

}

.index-card {
    margin-top: -200px;
    position: relative;
    z-index: 9;
    border-radius: 0 0 29px 29px;
}

@media (min-width:451px) {
    .myBanner .swiper-slide .banner-content {
        font-size: 20px;
    }

    .btn-banner-more {
        font-size: 24px;
    }

    .banner-image {
        height: auto;
    }

    .icon-service-1 {
        width: 176px;
    }

    .icon-service-2 {
        width: 176px;
    }

    .service-title {
        font-size: 64px;
    }

    .service-content {
        font-size: 16px;
    }

    .title-box {
        font-size: 64px;
    }

    .card-box {
        font-size: 16px;
        padding: 48px 24px 24px 24px;
    }

    .card-box .box-title {
        font-size: 48px;
    }

    .content-slide-hover {
        padding: 32px;
        font-size: 18px;
    }

    .article-box img {
        width: 100px;
        height: 100px;
        padding: 18px;
    }

    .article-box .article-title {
        font-size: 48px;
    }

    .border-contact {
        border-right: 7px solid #0A8CD2;
        border-top: none;
    }

    footer {
        font-size: 13px;
    }
}

@media (max-width:764px) {
    .navbar-collapse.justify-content-between.collapse.show {
        padding: 12px;
        background-color: white !important;
    }

    .navbar-collapse.justify-content-between.collapse.show a {
        color: black !important;
    }

    .index-card {
        margin-top: 0;
        border-radius: 0;
    }
}

.blog-card {
    display: none;
}

.blog-card.show {
    display: block;
}

.banner-about-content {
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translate(0%, -50%);
    -ms-transform: translate(-0%, -50%);
    width: 100%
}

strong {
    font-weight: 500;
}

.box-event {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.box-event img {
    width: 100%;
    height: auto;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.box-event::after {
    content: 'View More';
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 4px 12px;
    background-color: #1c75bc;
    border-radius: 16px;
    color: white;
    font-size: 12px;
}

.social-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    margin-left: 8px;
    background-size: contain;
    background-repeat: no-repeat;
    transition: 0.3s;
}

/* Facebook */
.social-icon.fb {
    background-image: url("https://aesthetic.paragoncareth.com/asset/images/socials/FB02.png");
}

.social-icon.fb:hover {
    background-image: url("https://aesthetic.paragoncareth.com/asset/images/socials/FB01.png");
}

/* Instagram */
.social-icon.ig {
    background-image: url("https://aesthetic.paragoncareth.com/asset/images/socials/IG02.png");
}

.social-icon.ig:hover {
    background-image: url("https://aesthetic.paragoncareth.com/asset/images/socials/IG01.png");
}

/* X */
.social-icon.x {
    background-image: url("https://aesthetic.paragoncareth.com/asset/images/socials/X02.png");
}

.social-icon.x:hover {
    background-image: url("https://aesthetic.paragoncareth.com/asset/images/socials/X01.png");
}

/* YouTube */
.social-icon.yt {
    background-image: url("https://aesthetic.paragoncareth.com/asset/images/socials/YT02.png");
}

.social-icon.yt:hover {
    background-image: url("https://aesthetic.paragoncareth.com/asset/images/socials/YT01.png");
}