/* Reset default styles */
body, h1, h2, p, a {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Body styling */
body {
    background-color: #f4f4f4;
    color: #333;
    font-family: 'Arial', sans-serif;
    
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.btn-custom, .btn-custom-visi {
    border: 1px solid black;
    color: black;
}
.btn-custom:hover, .btn-custom-visi:hover {
    background-color: white;
    color: #033a2b;
}
.img-container img {
    width: 100%;
    height: auto;
    display: block;
}
.img-container-bottom {
    position: relative;
    left: 30px;
    max-width: calc(100% + 40px);
}
.text-container {
    padding-left: 30px;
}
.section .col-md-6 {
    padding-right: 20px;
}

@media (max-width: 768px) {
    .btn-custom-visi {
        margin-top: 20px;
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Heading */
h1 {
    
    margin-bottom: 20px;
}


.navbar {
    background-color: #ffffff; /* Warna latar */
    position: sticky; /* Tetap pada posisi */
    top: 0; /* Menempel di bagian atas */
    z-index: 1020; /* Supaya di atas elemen lain */
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); /* Tambahkan bayangan jika diinginkan */
}

.navbar-fixed {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1050;
}

.navbar a {
    color: #333;
}

.btn-custom {
    background-color: #f9a825;
    color: #fff;
    border: none;
}

.btn-whatsapp {
    background-color: #25d366;
    color: white;
    border-radius: 50px;
    padding: 12px 20px;
}

.nav-item {
    margin-right: 15px; /* Adjust spacing between nav items */
}

.navbar-nav {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* Center navbar items on desktop */
@media (min-width: 992px) {
    .navbar-nav {
        justify-content: center;
    }
}

/* Stack navbar items vertically on mobile and tablet */
@media (max-width: 991.98px) {
    .navbar-nav {
        flex-direction: column;
        align-items: center;
    }

    .navbar-nav .nav-item {
        margin: 5px 0; /* Add some margin for separation */
    }
}

.navbar-nav.mx-auto {
    flex-grow: 1; /* Membuat menu utama mengambil sisa ruang */
    justify-content: center; /* Pusatkan menu utama */
}

.navbar .btn-whatsapp {
    margin-left: auto; /* Posisikan di kanan */
    align-self: center; /* Pastikan sejajar secara vertikal */
}

.reservasi-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 991.98px) {
    .reservasi-container {
        width: 100%;
        margin-top: 10px;
    }
}

/* General styling for the top menu */
.menu-item {
display: inline-flex;
align-items: center;
padding: 8px 15px;
border-radius: 20px; /* Rounded background */
background-color: #fef5e7; /* Light background color */
font-size: 14px; /* Adjust as needed */
color: transparent; /* Transparent text for stroke effect */
color: #e6a903;
text-transform: uppercase; /* Optional: capitalize all letters */
font-weight: 500; /* Adjust weight for visibility */
text-decoration: none; /* Remove underline */
transition: all 0.3s ease; /* Smooth hover effect */
margin: 5px;
}

.menu-item i {
font-size: 16px; /* Icon size */
margin-right: 8px; /* Space between icon and text */
color: #f9a825; /* Icon color */
}

/* Hover effect for menu items */
.menu-item:hover {
background-color: #292929; /* Change background on hover */
color: #fff; /* Change text color to white */
-webkit-text-stroke: 0px; /* Remove stroke on hover */
}

.menu-item:hover i {
color: #fff; /* Change icon color to white on hover */
}




/* Card Styles */
.card-article {
    background-color: #f9f9f9; /* Warna latar belakang yang lembut */
    border-radius: 12px; /* Sudut membulat yang lebih modern */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1); /* Bayangan yang lebih lembut dan mencolok */
    margin-bottom: 25px; /* Memberikan jarak antar card */
    display: flex;
    flex-direction: row;
    padding: 20px; /* Padding yang lebih besar untuk ruang lebih luas */
    transition: all 0.3s ease-in-out; /* Transisi untuk hover */
    border: 1px solid #e0e0e0; /* Border tipis untuk mempertegas */
}

.card-article:hover {
    transform: translateY(-10px); /* Animasi hover naik */
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15); /* Bayangan lebih dalam saat hover */
    background-color: #fff; /* Latar belakang putih untuk efek pop */
}

/* Card Image */
.card-img {
    max-width: 250px; /* Ukuran gambar yang lebih besar */
    height: auto;
    margin-right: 20px; /* Jarak antara gambar dan konten */
    overflow: hidden; /* Menghindari elemen keluar */
    border-radius: 12px; /* Menyamakan radius dengan card */
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Menjaga gambar tetap proporsional */
    border-radius: 12px; /* Menyamakan radius dengan container */
    transition: transform 0.3s ease; /* Efek zoom saat hover */
}

.card-img img:hover {
    transform: scale(1.1); /* Zoom in gambar saat hover */
}

/* Card Content */
.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-content h2 {
    margin: 0 0 10px 0;
    font-size: 20px; /* Ukuran font yang lebih besar */
    color: #333; /* Warna teks utama */
    font-weight: 600; /* Lebih tebal untuk judul */
    transition: color 0.3s ease;
}

.card-content h2 a {
    color: #007bff; /* Warna link default */
    text-decoration: none; /* Menghilangkan underline */
}

.card-content h2 a:hover {
    color: #0056b3; /* Warna link saat hover */
}

.card-content p {
    margin: 0 0 15px 0; /* Jarak antar elemen */
    font-size: 16px;
    line-height: 1.6; /* Line-height untuk meningkatkan keterbacaan */
    color: #666; /* Warna teks yang lebih halus */
}

.card-content a {
    color: #574964; /* Warna teks tombol */
    font-weight: 500;
    
    padding: 8px 12px; /* Padding tombol */
    border-radius: 6px; /* Membulatkan tombol */
    text-decoration: none;
    display: inline-block;
    align-self: flex-start; /* Agar tombol tetap ke kiri */
}


.counter-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #44484F;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    width: 90%; /* Lebar lebih fleksibel */
    max-width: 1100px;
    margin: auto;
}

.counter-box h1 {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
    text-align: center;
}

@media (max-width: 768px) {
    .counter-box h1 {
        font-size: 1.5rem;
        flex-direction: column;
    }
}

.counter-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #44484F; /* Warna oranye */
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

.counter-box {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    color: white;
    gap: 10px;
}

.counter-box h1 {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    color: white;
}

.counter-number {
    font-size: 3rem;
    font-weight: 900;
}

@media (max-width: 768px) {
    .counter-box h1 {
        font-size: 1.5rem;
        flex-direction: column;
        text-align: center;
    }

    .counter-number {
        font-size: 2.5rem;
    }
}





.animated-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    padding: 10px;
    word-wrap: break-word;
}
@media (max-width: 768px) {
    .counter-text {
        font-size: 1.2rem;
        padding: 10px; /* Reduced padding */
    }
    .counter-value {
        font-size: 2.5rem;
        padding: 10px; /* Reduced padding */
    }
    .animated-text {
        font-size: 1.2rem;
        padding: 5px; /* Reduced padding */
    }
    .counter-container {
        height: auto; /* Adjust container height */
        padding: 5px; /* Reduced padding */
    }
}
@media (max-width: 576px) {
    .counter-text {
        font-size: 1rem;
        padding: 5px; /* Further reduced padding */
    }
    .counter-value {
        font-size: 2rem;
        padding: 5px; /* Further reduced padding */
    }
    .animated-text {
        font-size: 1rem;
        padding: 3px; /* Further reduced padding */
    }
    .counter-container {
        padding: 3px; /* Further reduced padding */
    }
}

/* rekomendasi treatment */

.garis{
    border-bottom: 3px solid #fffffe; /* Garis kuning */
    width: 45%; /* Panjang garis 1/4 lebar elemen */
    margin: 0 auto; /* Memusatkan garis */
    padding-bottom: 10px; /* Memberikan ruang antara teks dan garis */
}

.card-text{
    font-size: 12px;
}

.service-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    transition: transform 0.3s ease-in-out;
}
.service-card img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    transition: opacity 0.3s ease-in-out;
}
.service-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    transition: background 0.3s ease-in-out;
}
.service-card .hover-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}
.service-card:hover .hover-content {
    opacity: 1;
}
.service-card:hover img {
    opacity: 0.3;
}
.service-card .hover-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: #e67e00;
    color: white;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
    padding-left: 20px;
    border-radius: 15px 15px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}
.service-card:hover .hover-header {
    opacity: 1;
}

/* video */
.video-container {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 500px;
}
.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.garis{
    border-bottom: 3px solid #fffffe; /* Garis kuning */
    width: 25%; /* Panjang garis 1/4 lebar elemen */
    margin: 0 auto; /* Memusatkan garis */
    padding-bottom: 10px; /* Memberikan ruang antara teks dan garis */
}
.testimonial-card {
    background-color: #EAF2FF;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.testimonial-card img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    display: block;
}
.swiper-button-prev, .swiper-button-next {
    color: black;
}
/* .card-title{
    margin-right: 8px;
}
.card-text{
    padding-right: 8px;
} */




/* .card-img-overlay {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    
    color: #fef5e7;
    opacity: 0;
    transition: opacity 0.3s;
}

.swiper-slide-active .card-img-overlay {
    opacity: 1;
}

.swiper-button-next,
.swiper-button-prev {
    display: none;
} */

/* visi and misi */
.visi-misi {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}
.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ffd966;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    margin-right: 15px;
}

.custom-section {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    text-align: left;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.custom-section:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}
.custom-section img {
    display: block;
    margin: 0 auto;
    border-radius: 10px;
    max-width: 100%;
    height: auto;
}
.custom-title {
    font-weight: bold;
    color: #000;
    margin-top: 15px;
}
.custom-text {
    color: #555;
    margin: 10px 0;
}
.custom-link {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}
.custom-link:hover {
    text-decoration: underline;
}



 

/* book */
.book {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}
.page {
    width: 45%;
    max-width: 600px;
    height: auto;
    aspect-ratio: 3 / 4;
    background-color: white;
    margin: 5px;
    border: 1px solid #ccc;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}
.icons {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}
canvas {
    width: 100%;
    height: 100%;
}

.location-button {
    position: absolute;
    right: 90px;
    border-radius: 50px;
}

/* our location */

.location-title {
    background: url('/assets/img/clinic/Website Location Banner copy.jpg') no-repeat center center/cover;
    padding: 20px 20px;
    color: #44484F;
    text-align: center;
    width: 100%;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    font-size: 3rem; /* Ukuran default untuk desktop */
    font-weight: bold;
}

@media (max-width: 768px) {
    .card-location {
        flex-direction: column !important; /* Susun elemen secara vertikal */
        align-items: center; /* Pusatkan item di dalam flexbox */
        text-align: center;
    }

    .card-location img {
        width: 100%; /* Gambar memenuhi lebar kartu */
        height: auto;
        border-radius: 8px 8px 0 0; /* Memberikan sudut membulat di atas */
    }

    .card-body {
        text-align: center; /* Pusatkan teks */
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 1rem;
    }

    .card-body a.arrow-icon {
        display: block;
        margin: 10px auto;
        font-size: 20px;
    }
}


/* Responsive untuk layar HP */
@media (max-width: 480px) {
    .location-title {
        font-size: 1.5rem; /* Lebih kecil lagi */
        padding: 20px 10px;
    }
}



.card-location {
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    padding: 10px;
    height: 100%;
}
.card-location img {
    border-radius: 10px;
    width: 170px;
    height: 170px;
   transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: pointer; /* Menjadikan kursor berbentuk tangan saat hover */
}

/* Efek hover */
.card-location img:hover {
    transform: scale(1.05); /* Memperbesar sedikit */
    opacity: 0.9; /* Sedikit transparan untuk efek elegan */
}
.card-body {
    flex: 1;
}
.card-title {
    font-weight: bold;
}
.card-body a {
    color: #44484F;
    text-decoration: none;
    font-weight: bold;
}
.arrow-icon {
            text-align: right;
            font-size: 1.5rem;
            color: orange;
            transition: transform 0.3s ease, color 0.3s ease;
            cursor: pointer;
        }

        /* Efek hover */
        .arrow-icon:hover {
            transform: translateX(5px);
            /* Geser sedikit ke kanan */
            color: darkorange;
            /* Warna lebih gelap saat hover */
        }
.card-body i {
    color: orange;
}

.modal-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.modal-body img {
    width: 40%; /* Sesuaikan ukuran yang diinginkan */
    max-width: 300px; /* Agar tidak terlalu besar di layar lebar */
    border-radius: 10px;
    display: block;
    margin: 0 auto; /* Agar gambar tetap berada di tengah */
}
.modal-content-body {
    width: 45%;
}
.modal-content-body p, h5 {
    color: black;
}
.modal-header {
    color: black;
}

h5 {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-style: italic;
  }


@media (max-width: 768px) {
    .page {
        width: 90%;
    }
}

@media (max-width: 768px) {
    .page {
        width: 90%;
    }
}

@media (max-width: 480px) {
    .book {
        flex-direction: column;
    }
    .page {
        width: 100%;
    }
    #rightPage {
        display: none;
    }
    .header {
        margin-bottom: 20px;
    }
}

/* product */
.hero-section {
    background-image: url('../img/clinic/clinic (1).jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 50px 20px;
    text-align: center;
    color: white;
}
.hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}
.hero-section p {
    font-size: 1.2rem;
}
.product-card {
    text-align: left;
}
.product-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}
.product-card h5 {
    font-size: 1.1rem;
    margin-top: 10px;
    font-weight: bold;
}
.product-card p {
    color: #666;
}
.product-card a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}
.product-card a:hover {
    color: #007bff;
}
.btn {
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 25px;
    transition: background-color 0.3s, color 0.3s;
}
.btn-outline-primary {
    background-color: transparent;
    border: 2px solid #007bff;
    color: #007bff;
}
.btn-outline-primary:hover {
    background-color: #007bff;
    color: #fff;
}

/* Product Detail */
.product-container {
    padding: 20px;
}
.price {
    color: #f9a825;
}
.product-details {
    padding-top: 20px;
}
.product-title {
    color: #6b6a6a;
    font-weight: bold;
}
.divider {
    border-top: 1px solid #ccc;
    margin: 20px 0;
}
.icon {
    margin-right: 10px;
    color: #6b6a6a;
}
.btn-row {
    margin-top: 20px;
    text-align: center;
}
.btn-row .btn {
    margin: 5px;
    background-color: rgba(128, 128, 128, 0.5);
    color: black;
    border: none;
}
.btn-row .btn:hover {
    background-color: rgba(128, 128, 128, 0.7);
    color: white;
}

/* artikel */
.banner {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 60vh;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}
.banner-content h1 {
    font-size: 3rem;
}

.content-left {
    padding: 1rem;
  }

  .content-right {
    padding: 1rem;
    border-left: 1px solid #ddd;
    position: sticky;
    top: 20px;
    height: fit-content;
  }

  .sticky {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: white;
  }

  .card {
    margin-bottom: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
  }

  .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }

  .card img {
    max-width: 100%;
    height: 170px;
    object-fit: cover;
  }

  .list-group-item img {
    width: 100%;
    max-height: 100px;
    object-fit: cover;
    margin-bottom: 0.5rem;
  }

  .pagination {
    justify-content: center;
    margin-top: 1.5rem;
    padding: 10px 0;
  }

  .pagination .page-item {
    margin: 0 5px;
  }

  .pagination .page-link {
    color: #000;
    border-radius: 50px;
    padding: 8px 16px;
    font-weight: bold;
    transition: color 0.2s, background-color 0.2s;
  }

  .pagination .page-item.active .page-link {
    background-color: #000;
    border-color: #fff;
    color: white;
  }

  .pagination .page-link:hover {
    color: white;
    background-color: #0d6efd;
  }

  .pagination .page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
  }

  .card-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
  }

  .card-title a:hover {
    color: #44484F;
  }

  #search-input {
    background-color: #e6e6e6; /* Warna latar belakang gelap */
    color: white; /* Warna teks putih */
    border: 1px solid #555; /* Warna border lebih terang */
  }

  #search-input::placeholder {
    color: #bbb; /* Warna placeholder yang lebih terang */
  }

/* artikel left */
/* Gaya untuk Menampilkan Artikel */
.article-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    gap: 15px;
}

.article-img-container {
    width: 30%;
    max-width: 200px; /* Atur ukuran maksimal */
    flex-shrink: 0; /* Pastikan gambar tidak menyusut */
    overflow: hidden;
    border-radius: 8px; /* Tambahkan sudut melengkung */
}

.article-img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3; /* Menjaga proporsi gambar */
    object-fit: cover;
    border-radius: 8px;
}

.article-content {
    flex: 1; /* Biarkan teks mengambil sisa ruang */
}

  
  /* Konten Artikel */
  /* Konten Artikel */
.article-content {
    width: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    text-align: justify;
    margin-bottom: 0;
    word-break: keep-all; /* Mencegah pemisahan kata yang tidak alami */
}

/* Paragraf di dalam artikel */
/* Konten Artikel */
.article-content {
    width: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    text-align: justify;
    margin-bottom: 0;
    word-break: keep-all; /* Mencegah pemisahan kata yang tidak alami */
}

/* Paragraf dalam artikel */
.article-content p {
    text-align: justify;
    margin-bottom: 15px;
    line-height: 1.8;
    word-spacing: 1px;
    letter-spacing: 0.3px;
    white-space: normal;
    overflow-wrap: break-word;
    hyphens: auto;
    font-size: 16px;
    color: #44484F;
    display: inline-block; /* Mencegah paragraf terpotong otomatis */
    width: 100%; /* Pastikan paragraf tidak dipecah */
}

.article-content h2 a {
    text-decoration: none;
    color: #44484F;
    transition: color 0.3s;
}

.article-content h2 a:hover {
    color: #44484F;
}

/* Gambar dalam artikel */
.article-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* Membuat gambar responsif */
.responsive-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 15px auto;
    border-radius: 10px;
}

/* Section tambahan dengan gambar dan teks */
.section-tengah, .section-akhir {
    margin: 30px 0;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
}

.section-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Gambar dalam section */
.section-image {
    max-width: 250px;
    height: auto;
    border-radius: 8px;
}

/* Teks dalam section */
.section-text {
    flex: 1;
    font-size: 15px;
    line-height: 1.6;
}

/* Media Query untuk tampilan mobile */
@media (max-width: 768px) {
    .section-content {
        flex-direction: column;
        text-align: center;
    }

    .section-image {
        max-width: 100%;
    }

    .article-content p {
        font-size: 14px;
        display: block; /* Tetap mempertahankan aliran teks */
		color: #09122C;
    }
}




  .article-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 10px 0;
    color: #09122C;
  }
  
  .article-title a.article-link {
    text-decoration: none;
    color: #333;
  }
  
  .article-title a.article-link:hover {
    color: #94B4C1;
  }
  
  /* Ringkasan Artikel */
  .article-summary {
    font-size: 14px;
    color: #44484f;
    margin-bottom: 15px;
    line-height: 1.6;
  }
  
  /* Tautan Baca Selengkapnya */
  .read-more-link {
    font-size: 14px;
    font-weight: 500;
    color: #44484f;
    text-decoration: none;
  }
  
  .read-more-link:hover {
    text-decoration: underline;
  }
  
  /* Media Queries untuk Responsivitas */
  @media (max-width: 768px) {
    .article-item {
      flex-direction: column;
    }
  
    .article-img-container {
      width: 100%;
      height: 180px;
    }
  
    .article-content {
      width: 100%;
      padding-left: 0;
    }
  }
/* Gaya untuk Tanggal Artikel */
.article-date {
    font-size: 13px;
    color: #44484f;
    margin-top: 5px;
    font-style: italic;
}

/* banner artikel */
.skincare-banner {
    background: linear-gradient(90deg, rgba(15,32,39,1) 0%, rgba(0,0,0,1) 38%, rgba(44,83,100,1) 85%); /* Warna abu-abu */
    color: white;
    padding: 20px;
    border-radius: 10px;
    position: relative;
  }

  .trending-btn {
    background-color: white;
    color: #4a4a4a;
    font-weight: bold;
    border-radius: 50px;
    padding: 10px 20px;
    display: inline-block;
    text-align: center;
    margin-top: 10px; /* Menambahkan margin untuk mendekatkan tombol ke paragraf */
  }

  .latest-news {
    position: absolute;
    top: -20px;
    right: -30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(15deg);
  }

  .latest-news img {
    width: 80px;
    height: auto;
    animation: blink 1s infinite; /* Animasi berkedip */
  }

  @keyframes blink {
    0%, 100% {
      opacity: 1;
    }
    50% {
      opacity: 0;
    }
  }

  @media (max-width: 768px) {
    .latest-news {
      display: none; /* Hilangkan elemen pada perangkat kecil */
    }
  }

/* artikel terbaru */
/* Container Artikel Terbaru */
.latest-articles {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

/* Heading untuk Artikel Terbaru */
.latest-articles h4 {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

/* List Item Artikel Terbaru */
.list-group-item {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    border: none;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.list-group-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Judul Artikel */
.list-group-item h6 {
    margin: 0;
    font-size: 16px;
    color: #007bff;
    font-weight: bold;
    text-decoration: none;
}

/* Hover effect pada judul artikel */
.list-group-item h6:hover {
    text-decoration: underline;
}

/* Tanggal dan Informasi Waktu */
.list-group-item small {
    font-size: 12px;
    color: #777;
}

/* Styling untuk Button Baca Selengkapnya (jika ada) */
.list-group-item a {
    font-size: 14px;
    color: #007bff;
    font-weight: bold;
    text-decoration: none;
}

.list-group-item a:hover {
    text-decoration: underline;
}


/* promo */
.hero-promo {
    background-color: #09122C;
    background-image: url('assets/images/bg/bg-promo.jpg');
    background-size: cover;
    background-position: center;
    padding: 50px 15px;
    text-align: center;
    position: relative; /* Tambahkan posisi relatif */
    height: 320px; /* Pastikan ada tinggi spesifik */
}

.hero-promo img {
    position: absolute; /* Tambahkan posisi absolut */
    bottom: 0; /* Tempelkan ke bawah */
    left: 75%; /* Agar tetap di tengah */
    transform: translateX(-50%); /* Pusatkan gambar secara horizontal */
    max-width: 100%;
    height: auto;
}


.hero-promo h1 {
    font-size: 2rem;
    color: #F8FAFC;
}

.hero-promo p {
    font-size: 1.25rem;
    color: #F8FAFC;
}
@media (max-width: 768px) {
    .hero-promo {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .hero-promo img {
        order: 2; /* Pindahkan gambar di bawah teks */
        margin-top: 20px; /* Tambahkan margin untuk jarak */
    }
}

@media (max-width: 576px) {
    .hero-promo h1 {
        font-size: 1.5rem;
    }
    .hero-promo p {
        font-size: 1rem;
    }
}

.modal-body-one {
    display: flex;
    align-items: center;
    flex-direction: row;
}

.modal-body-one img {
    margin-left: 12px;
    width: 50px;
    height: 50px;
}

.modal-body-one p {
    margin: 0;
    margin-left: 10px;
}



.promo-section {
    margin: 20px 0;
}

.promo-image {
    border-radius: 40px 0 40px 0; /* Rounded only on vertical sides */
    cursor: pointer;
}



/* media */
.custom-section-one {
    text-align: center;
    padding: 50px 20px;
  }
  
  .custom-section-one img {
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }
  
  .tilted-left {
    transform: rotate(-5deg);
  }
  
  .tilted-right {
    transform: rotate(5deg);
  }
  
  .gallery img {
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
    cursor: pointer;
  }
  
  .gallery img:hover {
    transform: scale(1.05);
  }

/* doctors */
.card-img-top {
    width: 350px;
    height: 150px;
    object-fit: cover;
    margin: 0 auto;
}
.hero-docter {
    background: linear-gradient(90deg, rgba(15,32,39,1) 0%, rgba(0,0,0,1) 38%, rgba(44,83,100,1) 85%);
    color: white;
    text-align: left;
    padding: 50px 20px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    min-height: 20vh; /* Pastikan hero section penuh di layar */
}
.hero-docter img {
    max-width: 100%;
    height: auto;
    position: absolute;
    bottom: 0;
    right: 0;
    
}

/* Mobile view adjustments */
@media (max-width: 768px) {
    .hero-docter img {
        position: absolute;
        bottom: 0; /* Tempelkan ke tepi bawah */
        right: 0; /* Tempelkan ke tepi kanan */
        left: 100px;
        width: 100%; /* Buat gambar memenuhi lebar layar */
        max-width: none; /* Hindari batasan ukuran gambar */
    }
    .hero-docter p{
        margin-top: 10px;
    }
}

#map-container {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
}

#map {
    height: 100%;
}

.carousel-container {
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px;
    border-radius: 10px;
    margin-top: 20px;
    text-align: center;
}

.carousel-item img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 10px;
}

.carousel-caption {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform: translate(-50%, 50%);
    width: auto;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 10px;
    text-align: center;
    white-space: nowrap;
}

.btn-reservasi {
    display: block;
    margin-top: 10px;
    padding: 5px 10px;
    background-color: #ff9800;
    color: black;
    border-radius: 5px;
    text-decoration: none;
}

.owner {
    color: #44484F;
}



