@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@100..900&display=swap');

:root {
    --primary-color: #007672;
    --secondary-color: #A8E6CF;
    --accent-color: #ffa300;
}

body {
    font-family: 'Noto Sans Thai', sans-serif;
    line-height: 1.6;
    position: relative;
}

a:link,
a:visited {
    text-decoration: none;
    color: inherit;
}

.bg-primary-custom {
    background-color: var(--primary-color);
}

.bg-secondary-custom {
    background-color: var(--secondary-color);
}

.text-primary-custom {
    color: var(--primary-color);
}

.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
    transition: all .3s;
}

.header.sticky {
    position: sticky;
    background-color: #fff;
    box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.header img {
    transition: all .3s;
    width: 120px;
}

.header.sticky img {
    width: 100px;
}

.hero-section {
    /* background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); */
    /* padding: 100px 0; */
    min-height: 300px;
    /* 
     display: flex;
     align-items: center; */
}

.mySwiperHero .swiper-slide img {
    width: 100%;
    height: auto;
    object-fit: cover !important;
    aspect-ratio: 1;
}



.hero-heading span {
    font-weight: bold;
    line-height: 0.75;
}

.hero-heading span:first-of-type {
    font-size: 20px;
    color: var(--accent-color);
    font-weight: 500;
}

.hero-heading span:last-of-type {
    font-size: 48px;
    color: var(--primary-color);
}



.service-card {
    background-color: var(--primary-color);
    border-radius: 15px;
    padding: 40px;
    margin: 15px;
    color: white;
    text-align: center;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-grid {
    margin: 50px 0;
}

.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 0;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
}

.footer img {
    width: 100px;
}

.map-container {
    height: 100%;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.clinic-features {
    padding: 60px 0;
}

.about-section {
    padding: 80px 30px;
    font-size: 20px;
}

.about-section .fa-quote-left,
.about-section .fa-quote-right {
    position: absolute;

    color: rgba(255, 163, 0, 0.5);
    font-size: 64px;
}

.about-section .fa-quote-left {
    top: 0;
    left: 0;
    transform: translate(0, -75%);
}

.about-section .fa-quote-right {
    bottom: 0;
    right: 0;
    transform: translate(0, 75%);
}

.feature-item {
    margin-bottom: 15px;
}

.feature-item i {
    color: var(--primary-color);
    margin-right: 10px;
}

.package-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;

}

.package-card img {
    transition: all .3s;
}

.package-body {
    position: absolute;
    left: 0;
    bottom: 0;

    background-color: var(--secondary-color);
    padding: 16px 12px 10px;
    border-radius: 20px;
    width: 100%;
}

.package-card h3 {
    font-size: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0;
}

.package-card:hover img {
    transform: scale(1.2);
}

.news-section {
    padding: 60px 0;
}

.news-card {
    position: relative;
    transition: all .3s;
}

.news-card h3 {
    font-size: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;

}

.news-card:hover {
    transform: translateY(-5px);
}

.news-card a {
    color: var(--primary-color);
    transition: all .3s;
}

.news-card:hover a {
    color: var(--accent-color);
}

.swiper-button-prev-custom,
.swiper-button-next-custom {
    appearance: none;
    -webkit-appearance: none;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-weight: bold;
    border-radius: 50%;
    border: 0;
    width: 40px;
    height: 40px;
}

.swiper-pagination-bullet {
    width: var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 15px));
    height: var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 15px));
    background: var(--primary-color);

}

.autoplay-progress {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 10;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--primary-color);
}

.autoplay-progress svg {
    --progress: 0;
    position: absolute;
    left: 0;
    top: 0px;
    z-index: 10;
    width: 100%;
    height: 100%;
    stroke-width: 4px;
    stroke: var(--accent-color);
    fill: none;
    stroke-dashoffset: calc(125.6px * (1 - var(--progress)));
    stroke-dasharray: 125.6;
    transform: rotate(-90deg);
}