/*** Spinner Start ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/*** Spinner End ***/

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-xl-square {
    width: 66px;
    height: 66px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary {
    color: var(--bs-white);
    border: none;
}

.btn.btn-primary:hover {
    background: var(--bs-dark);
    color: var(--bs-white);
}

.btn.btn-light {
    color: var(--bs-primary);
    border: none;
}

.btn.btn-light:hover {
    color: var(--bs-white);
    background: var(--bs-dark);
}

.btn.btn-dark {
    color: var(--bs-white);
    border: none;
}

.btn.btn-dark:hover {
    color: var(--bs-primary);
    background: var(--bs-light);
}

.logo-img {
    width: 100px;
    /* Atur ukuran logo sesuai kebutuhan */
}

/*** Navbar Start ***/
.nav-bar {
    background: #ffffff;
    transition: 0.1s;

}

.navbar-light .navbar-brand img {
    max-height: 40px;
    transition: .5s;
}

.nav-bar .navbar-light .navbar-brand img {
    max-height: 40px;
}

.navbar .navbar-nav .nav-item .nav-link {
    padding: 5px 10px;
    color: #573727;
    margin-right: 15px;
}

.navbar .navbar-nav .nav-item {
    display: flex;
    align-items: center;
    padding: 5px;
    color: #573727;
}

/* Posisi menu navigasi condong ke kanan */
.navbar .navbar-nav {
    margin-left: auto;
    /* Mendorong menu ke kanan */
    margin-right: 20px;
    /* Tambahkan jarak agar tidak terlalu dekat ke login */
}

.navbar-light .navbar-nav .nav-item:hover,
.navbar-light .navbar-nav .nav-item.active,
.navbar-light .navbar-nav .nav-item:hover .nav-link,
.navbar-light .navbar-nav .nav-item.active .nav-link {
    color: var(--bs-orange);
}

.navbar .nav-link.active {
    /* Ganti dengan warna aktif yang sesuai */
    font-weight: bold;
    /* Menebalkan teks agar menonjol */
    border-bottom: 3px solid #573727;
    /* Menambahkan garis bawah berwarna putih */
}

@media (max-width: 991px) {
    .navbar {
        padding: 10px 0;
    }

    .navbar .navbar-nav .nav-link {
        padding: 8px 12px;
        /* 🔧 Ukuran tombol menu */
        width: 100%;
        color: var(--bs-primary);
        border-radius: 8px;
    }

    .navbar .navbar-nav .nav-item {
        padding: 0;
        /* 🔧 Hilangkan padding berlebihan */
        margin: 4px 0;
        /* 🔧 Jarak vertikal antar menu */
        width: 100%;
        align-items: flex-start;
    }

    .navbar .navbar-nav .nav-btn {
        display: flex;
        justify-content: start;
    }

    .navbar .navbar-nav {
        width: 100%;
        display: flex;
        flex-direction: column;
        margin-top: 5px;
        padding: 15px;
        background: var(--bs-light);
        border-radius: 10px;
        gap: 10px;
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 8px 15px;
        border: 1px solid var(--bs-primary);
        color: var(--bs-primary);
    }

    /* Menambahkan warna teks untuk menu responsif */
    .navbar .navbar-nav .nav-link {
        color: var(--bs-primary);
        /* Ganti dengan warna coklat jika diperlukan */
    }

    /* Menambahkan warna teks pada menu aktif di responsif */
    .navbar .navbar-nav .nav-item.active .nav-link {
        color: var(--bs-light);
        /* Ganti dengan warna coklat jika diperlukan */
    }
}

@media (min-width: 992px) {
    .navbar {
        padding: 20px 0;
    }

    .navbar .nav-btn {
        display: flex;
        align-items: center;
        justify-content: end;
    }

    .navbar .navbar-nav {
        margin-left: auto;
        /* Memindahkan menu ke kanan */
        margin-right: 20px;
        /* Memberikan jarak dengan login */
        display: flex;
        justify-content: flex-end;
        /* Menu tetap condong ke kanan */
        align-items: center;
    }

    .navbar .navbar-nav .nav-btn {
        width: 100%;
        display: flex;
        margin-left: auto;
        background: var(--bs-light);
    }
}

/* Styling dasar untuk dropdown */
.navbar .dropdown-menu {
    border-radius: 10px;
    /* Membuat sudut melengkung */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    /* Efek bayangan */
    background-color: var(--bs-light);
    /* Warna latar belakang */
    border: none;
    /* Menghilangkan border default */
    transition: all 0.3s ease-in-out;
    /* Animasi transisi */
    opacity: 0;
    /* Awalnya tidak terlihat */
    visibility: hidden;
    /* Awalnya tersembunyi */
    transform: translateY(10px);
    /* Posisi awal lebih rendah */
}

/* Efek saat dropdown terbuka */
.navbar .nav-item.show .dropdown-menu {
    opacity: 1;
    /* Membuat dropdown terlihat */
    visibility: visible;
    /* Menampilkan dropdown */
    transform: translateY(0);
    /* Mengembalikan ke posisi awal */
}

/* Styling item dalam dropdown */
.navbar .dropdown-menu .dropdown-item {
    font-size: 14px;
    /* Ukuran font */
    color: var(--bs-primary);
    /* Warna teks default */
    padding: 10px 15px;
    /* Spasi lebih nyaman */
    border-radius: 8px;
    /* Sudut melengkung */
    transition: all 0.3s ease-in-out;
    /* Animasi transisi */
}

/* Efek hover pada item dropdown */
.navbar .dropdown-menu .dropdown-item:hover {
    background-color: var(--bs-primary);
    /* Warna latar belakang saat hover */
    color: var(--bs-white) !important;
    /* Warna teks putih */
}

/* Mengubah warna teks dan ikon saat dropdown diklik */
.navbar .nav-item.show .nav-link,
.navbar .nav-item.show .nav-link i {
    color: var(--bs-white) !important;
    /* Ubah warna teks dan ikon menjadi putih */
}

/* Styling khusus untuk ikon dalam dropdown */
.navbar .dropdown-menu .dropdown-item i {
    margin-right: 10px;
    /* Memberikan jarak antara ikon dan teks */
    transition: color 0.3s ease-in-out;
    /* Animasi perubahan warna */
}

/* Efek hover pada ikon */
.navbar .dropdown-menu .dropdown-item:hover i {
    color: var(--bs-white) !important;
    /* Ubah warna ikon menjadi putih saat hover */
}

/* Animasi dropdown saat muncul */
@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: 0.5s ease-in-out;
        opacity: 0;
        margin-top: 10px;
    }

    .navbar .nav-item:hover .dropdown-menu,
    .navbar .nav-item.show .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        opacity: 1;
        margin-top: 10px;
    }
}

/* Tambahan CSS navbar responsif agar tampil seperti floating panel */
@media (max-width: 991px) {
    .navbar-collapse {
        position: absolute;
        top: 70px;
        left: 5%;
        width: 90%;
        background: #ffffff;
        border-radius: 15px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        padding: 20px;
        z-index: 2;
    }

    .navbar-collapse.collapsing,
    .navbar-collapse.show {
        transition: all 0.3s ease;
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 15px;
        margin: 5px 0;
        color: #573727;
    }

    .navbar .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-item.dropdown {
        width: 100%;
        margin-top: 1rem;
    }
}

/* Badge Notifikasi */
.navbar .fa-bell {
    color: #573727;
    transition: 0.3s;
}

.navbar .fa-bell:hover {
    color: var(--bs-orange);
}

.navbar .badge {
    font-size: 0.65rem;
    padding: 3px 6px;
}

@media (max-width: 991px) {
    .navbar-collapse {
        max-height: 80vh;
        overflow-y: auto;
        padding-bottom: 50px;
    }

    .nav-item.dropdown .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        margin-top: 10px;
        box-shadow: none;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}

/*** Navbar End ***/


/***** Hero Section Styles *****/
.hero-section {
    padding: 40px 0;
    background: linear-gradient(80deg, #E5E5CB, #573727);
    animation: fadeIn 1s ease-in-out forwards;
}

/* Tablet */
@media (max-width: 768px) {
    .hero-section {
        background: linear-gradient(100deg, #E5E5CB 60%, #573727 100%);
    }
}

/* Mobile */
@media (max-width: 480px) {
    .hero-section {
        background: linear-gradient(120deg, #E5E5CB 20%, #573727 100%);
    }
}


@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* Animasi slide-in untuk hero section */
@keyframes slideInUp {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/*** Carousel Header Start  untuk page deteksi***/
.header-carousel .header-carousel-item {
    height: 600px;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 60px;
    background: var(--bs-light);
    color: var(--bs-primary);
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 10;
}

.header-carousel .owl-nav .owl-prev {
    bottom: 30px;
    left: 1%;
    transform: translateX(-50%);
    margin-left: 30px;
}

.header-carousel .owl-nav .owl-next {
    bottom: 30px;
    right: 1%;
    transform: translateX(-50%);
    margin-right: 2px;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 0 0 100px 0 var(--bs-primary);
    color: var(--bs-white);
}

.header-carousel .header-carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .2);
    display: flex;
    align-items: center;
}

@media (max-width: 991px) {
    .header-carousel .header-carousel-item .carousel-caption {
        padding-top: 45px;
    }

    .header-carousel .header-carousel-item {
        height: 1300px;
    }
}

@media (max-width: 767px) {
    .header-carousel .header-carousel-item {
        height: 950px;
    }

    .header-carousel .owl-nav .owl-prev {
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        margin-left: -45px;
    }

    .header-carousel .owl-nav .owl-next {
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        margin-left: 45px;
    }

    .header-carousel .header-carousel-item:nth-child(1) .carousel-img {
        display: none;
        /* Sembunyikan gambar */
    }
}


/*** Carousel Hero Header End ***/
.header-container {
    position: relative;
    display: inline-block;
}

.floating-star {
    position: absolute;
    top: -10px;
    left: 101%;
    /* Gunakan persentase untuk responsivitas */
    transform: translateX(-50%);
    width: 50px;
    height: auto;
    animation: float 2s ease-in-out infinite, slideInUp 1s ease-out forwards;
    /* Animasi bergerak dan meluncur */
    will-change: transform;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.hero-cat {
    position: relative;
    z-index: 3;
    max-width: 250px;
    animation: slideInUp 1s ease-out forwards;
}

.circle-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    background-color: #573727;
    border-radius: 50%;
    z-index: 1;
}

.info-box {
    width: 180px;
    padding: 8px;
    background: #ffffff;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    opacity: 0.9;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    animation: slide-in 2s ease-out, pulse 3s ease-in-out infinite;
    will-change: transform, opacity;
}

/* Teks dengan animasi slide-in */
.header-container h1 {
    animation: slideInUp 1s ease-out forwards;
}

.info-box-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row;
}

.info-box-icon {
    width: 40px;
    height: 40px;
    margin-right: 1px;
}

.info-box h4 {
    font-size: 12px;
    color: #B1613A;
    margin-bottom: 8px;
}

.info-box p {
    font-size: 9px;
    color: #666666;
    margin: 0;
}

.skin-check {
    top: 40%;
    /* Disesuaikan agar lebih responsif */
    right: 15%;
}

.pet-clinic {
    bottom: 17%;
    left: 15%;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .circle-bg {
        width: 200px;
        /* Sesuaikan ukuran lingkaran */
        height: 200px;
        top: 55%;
        /* Tempatkan lingkaran sedikit lebih rendah */
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .hero-cat {
        max-width: 180px;
    }

    .info-box {
        width: 180px;
    }

    .skin-check {
        top: 40%;
        right: 15%;
    }

    .pet-clinic {
        bottom: 17%;
        left: 15%;
    }
}

@media (max-width: 480px) {
    .circle-bg {
        width: 250px;
        /* Ukuran lingkaran lebih kecil untuk layar kecil */
        height: 250px;
        top: 60%;
        /* Sesuaikan posisi agar tetap di bawah kucing */
        left: 50%;
        transform: translate(-50%, -50%);
    }


    .floating-star {
        top: -5px;
        width: 40px;
    }

    .info-box {
        width: 160px;
        font-size: 12px;
    }

    .skin-check {
        top: 34%;
        right: 50%;
        transform: translateX(50%);
    }

    .pet-clinic {
        bottom: 17%;
        left: 52%;
        transform: translateX(-50%);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* Pulse effect */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Slide-in effect */
@keyframes slide-in {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/***** Desc Section Styles *****/
.desc-section {
    position: relative;
    padding-top: -150px;
    width: 100%;
    height: 120vh;
    /* Tinggi penuh layar */
    overflow: hidden;
}

.desc-background-cat {
    position: absolute;
    top: -120px;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Menjaga gambar tetap proporsional */
    z-index: 1;
}

.desc-overlay {
    position: absolute;
    top: 25%;
    /* Penyesuaian jarak teks dari atas */
    left: 10%;
    /* Penyesuaian jarak teks dari kiri */
    z-index: 2;
    color: #333333;
    /* Warna teks */
    text-align: left;
    /* Teks rata kiri */
}

.desc-title-container {
    max-width: 600px;
    /* Lebar maksimum kontainer teks */
}

.desc-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

.desc-highlight {
    color: #573727;
    /* Warna emas untuk kata tertentu */
}

.desc-text {
    font-size: 16px;
    line-height: 1.5;
    color: #444444;
    text-align: justify;
    /* Warna teks abu-abu gelap */
}

.desc-floating-star {
    position: absolute;
    top: -2px;
    /* Atur posisi vertikal */
    left: 180px;
    /* Atur posisi horizontal */
    width: 20px;
    height: auto;
    animation: float-desc 2s ease-in-out infinite;
    /* Animasi melayang */
}

/* Animasi melayang */
@keyframes float-desc {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Responsivitas untuk tablet dan mobile */
@media (max-width: 1024px) {
    .desc-title {
        font-size: 40px;
    }

    .desc-text {
        font-size: 14px;
    }

    .desc-floating-star {
        left: 70px;
        width: 20px;
    }

    .desc-overlay {
        top: 20%;
        /* Menurunkan sedikit posisi teks */
        left: 5%;
    }
}

/* Responsivitas untuk perangkat mobile */
@media (max-width: 768px) {
    .desc-background-cat {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .desc-section {
        height: 40vh;
        /* Mengurangi tinggi section pada mobile */
        margin-bottom: 10px;
        /* Mengurangi jarak bawah */
    }

    .desc-title {
        font-size: 36px;
    }

    .desc-text {
        font-size: 14px;
    }

    .desc-floating-star {
        left: 50px;
        width: 18px;
    }

    .desc-overlay {
        left: 5%;
        right: 20%;
        text-align: center;
    }

    .desc-title-container {
        max-width: 100%;
    }
}

/* Responsivitas untuk ponsel kecil */
@media (max-width: 480px) {
    .desc-background-cat {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .desc-section {
        height: 48vh;
        /* Mengurangi tinggi lebih kecil untuk ponsel kecil */
        margin-bottom: 5px;
        /* Mengurangi jarak bawah untuk ponsel kecil */
    }

    .desc-title {
        font-size: 28px;
    }

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

    .desc-floating-star {
        left: 260px;
        width: 15px;
    }

    .desc-overlay {
        top: 5%;
        left: 10%;
        right: 10%;
        text-align: center;
    }
}

/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(1, 95, 201, 0.9), rgba(0, 0, 0, 0.2)), url(../img/bg-breadcrumb.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 60px 0 60px 0;
    transition: 0.5s;
}

.bg-breadcrumb .breadcrumb {
    position: relative;
}

.bg-breadcrumb .breadcrumb .breadcrumb-item a {
    color: var(--bs-white);
}

/*** Single Page Hero Header End ***/


.feature .feature-item {
    border-radius: 10px;
    background: var(--bs-white);
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: all 0.3s ease;
}

.feature .feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature .feature-item .feature-icon {
    width: 80px;
    height: 80px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bs-light);
    color: var(--bs-primary);
    transition: 0.3s;
}

.feature .feature-item:hover .feature-icon {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.feature .feature-item h4,
.feature .feature-item p {
    transition: 0.3s;
}

.feature .feature-item:hover h4,
.feature .feature-item:hover p {
    color: #2b2d42 !important;
}

.feature .feature-item a.btn {
    background: var(--bs-primary);
    color: var(--bs-white);
    transition: 0.3s;
}

.feature .feature-item:hover a.btn {
    background: var(--bs-white);
    color: var(--bs-primary);
}

/* Agar fitur tetap sejajar di layar kecil */
@media (max-width: 992px) {
    .feature .row {
        flex-wrap: wrap;
        justify-content: center;
    }
}





/*** BLOG SECTION ***/
.blog .blog-item {
    border-radius: 10px;
    transition: 0.5s;
}

.blog .blog-item:hover {
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.1);
}

.blog .blog-item .blog-img {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 250px;
    /* Tinggi gambar seragam */
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.blog .blog-item .blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Menjaga proporsi gambar */
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.2);
}

.blog .blog-item .blog-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: rgba(1, 95, 201, 0.2);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: 0.5s;
    z-index: 1;
}

.blog .blog-item:hover .blog-img::after {
    height: 100%;
}

.blog .blog-item .blog-img .blog-categiry {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 5px 10px;
    border-top-left-radius: 10px;
    z-index: 2;
}

/*** BLOG CONTENT ***/
.blog .blog-item .blog-content {
    background: var(--bs-light);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    padding: 20px;
}

/* Judul Blog */
.blog-content h4 {
    font-size: 22px;
    /* Ukuran lebih besar dari isi */
    font-weight: bold;
    color: #333;
}

/* Isi konten blog */
.blog-content p {
    font-size: 16px;
    /* Lebih kecil dari judul */
    color: #555;
    line-height: 1.8;
    /* Spasi antar baris lebih nyaman */
    text-align: justify;
    max-width: 90%;
    /* Membatasi lebar teks agar tidak lebih besar dari judul */
    margin-bottom: 15px;
    text-align: justify !important;
}

/* Info tambahan (user, tanggal, komentar) */
.blog-comment {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #666;
}

/* Efek Hover Tombol */
.blog .blog-item .blog-content a.btn {
    color: var(--bs-dark);
    font-weight: bold;
    transition: 0.3s;
}

.blog .blog-item:hover .blog-content a.btn:hover {
    color: var(--bs-primary);
}

/* Blockquote (Kutipan di blog jika ada) */
.blockquote {
    border-left: 4px solid #007bff;
    padding-left: 15px;
    color: #6c757d;
    font-style: italic;
}

.blog-description {
    font-size: 0.95rem;
    /* Lebih kecil dari judul */
    color: #555;
    line-height: 1.6;
}

/*** RESPONSIVE DESIGN ***/
@media (max-width: 768px) {
    .blog-content {
        font-size: 14px;
    }

    .blog-content h4 {
        font-size: 18px;
    }
}


/*** Blog End ***/

/* Feedback Section Styling */
.feedback-section {
    background-color: #ffffff;
}

.feedback-section h2 {
    font-size: 2.5rem;
    color: #333;
}

.feedback-section .form-control {
    border-radius: 10px;
    padding: 15px;
    font-size: 1rem;
    border: 1px solid #ddd;
}

.feedback-section .btn-submit {
    background-color: var(--bs-primary);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 1rem;
    border: none;
    transition: background-color 0.3s ease;
}

.feedback-section .btn-submit:hover {
    background-color: #8e44ad;
}

.feedback-section .feedback-cat-img {
    max-width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .feedback-section .row {
        flex-direction: column-reverse;
    }

    .feedback-section h2 {
        font-size: 2rem;
    }

    /* Hide cat image on mobile */
    .feedback-section .feedback-cat-img {
        display: none;
    }
}


/* Copyright tetap berada di bawah */
.copyright {
    background: var(--bs-primary);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 0;
    padding: 10px 0;
    text-align: center;
}

/*** copyright end ***/

.tutor-section {
    padding: 20px 0;
    background: linear-gradient(80deg, #E5E5CB, #573727);
    animation: fadeIn 1s ease-in-out forwards;
}

/* General Styles */


/* ===== MODERN CHATBOT STYLES - COKLAT SUSU ===== */
.modern-chatbot-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Tombol Toggle Floating */
.modern-chat-toggle {
    position: relative;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, #F5DEB3 0%, #DEB887 30%, #D2B48C 60%, #CD853F 100%);
    border: 3px solid rgba(255, 255, 255, 0.9);
    cursor: pointer;
    box-shadow:
        0 8px 32px rgba(205, 133, 63, 0.25),
        0 4px 16px rgba(139, 69, 19, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.modern-chat-toggle::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-chat-toggle:hover {
    transform: scale(1.08) rotate(5deg);
    box-shadow:
        0 12px 40px rgba(205, 133, 63, 0.35),
        0 6px 20px rgba(139, 69, 19, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    background: linear-gradient(135deg, #F5DEB3 0%, #DEB887 25%, #D2B48C 50%, #A0522D 100%);
}

.modern-chat-toggle:hover::before {
    opacity: 1;
}

.modern-chat-toggle.active {
    background: linear-gradient(135deg, #CD853F 0%, #A0522D 50%, #8B4513 100%);
    transform: scale(1.05);
}

.toggle-icon-wrapper {
    position: relative;
    color: white;
    font-size: 26px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-icon-wrapper .close-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(90deg) scale(0);
    opacity: 0;
}

.modern-chat-toggle.active .toggle-icon-wrapper .chat-icon {
    transform: rotate(-90deg) scale(0);
    opacity: 0;
}

.modern-chat-toggle.active .toggle-icon-wrapper .close-icon {
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
    opacity: 1;
}

/* Badge Notifikasi */
.pulse-notification {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #FF6B6B, #FF5252);
    color: white;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    border: 3px solid white;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
    animation: pulseNotification 2s infinite;
}

@keyframes pulseNotification {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
    }

    50% {
        transform: scale(1.15);
        box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
    }
}

/* Jendela Chat */
.modern-chat-window {
    position: absolute;
    bottom: 88px;
    right: 0;
    width: 440px;
    height: 600px;
    /* Dikurangi dari 680px ke 600px */
    background: linear-gradient(180deg, #FFF8DC 0%, #F5E6D3 100%);
    border-radius: 24px;
    box-shadow:
        0 24px 64px rgba(139, 69, 19, 0.15),
        0 12px 32px rgba(160, 82, 45, 0.1),
        0 0 0 1px rgba(245, 222, 179, 0.5);
    display: none;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(40px) scale(0.85);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(20px);
    max-height: calc(100vh - 150px);
    /* Tambahkan max-height untuk mencegah overflow */
}

.modern-chat-window.active {
    display: flex;
    transform: translateY(0) scale(1);
    opacity: 1;
}

.modern-chat-window.minimized {
    height: 88px;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
}

/* Header Chat */
.modern-chat-header {
    background: linear-gradient(135deg, #D2B48C 0%, #CD853F 50%, #A0522D 100%);
    color: white;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 24px 24px 0 0;
    position: relative;
    box-shadow:
        0 4px 16px rgba(160, 82, 45, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.modern-chat-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.chat-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.bot-avatar-wrapper {
    position: relative;
}

.modern-bot-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
    object-fit: cover;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.modern-bot-avatar:hover {
    transform: scale(1.08);
}

.status-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #4CAF50, #45A049);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 6px rgba(76, 175, 80, 0.4);
    animation: statusPulse 2.5s infinite;
}

@keyframes statusPulse {
    0%, 70% {
        opacity: 1;
        transform: scale(1);
    }

    35% {
        opacity: 0.7;
        transform: scale(0.95);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.bot-info .bot-name {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.5px;
}

.bot-status {
    font-size: 14px;
    opacity: 0.9;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.chat-header-actions {
    display: flex;
    gap: 8px;
}

.modern-action-btn {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.modern-action-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.modern-action-btn.close-btn:hover {
    background: linear-gradient(135deg, #FF6B6B, #FF5252);
}

/* Area Pesan */
.modern-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 28px 24px;
    background: linear-gradient(180deg, #FFF8DC 0%, #F5E6D3 100%);
    scroll-behavior: smooth;
}

.modern-message-wrapper {
    margin-bottom: 28px;
    display: flex;
    align-items: flex-end;
}

.user-wrapper {
    flex-direction: row-reverse;
    justify-content: flex-start;
}

.user-wrapper .modern-message {
    flex-direction: row-reverse;
    /* Avatar di kanan */
}

.user-wrapper .message-avatar-container {
    margin-left: 12px;
    /* Jarak dari bubble ke avatar */
    margin-right: 0;
}

.bot-wrapper .message-avatar-container {
    margin-right: 12px;
    /* Jarak dari avatar ke bubble */
    margin-left: 0;
}

/* Perbaikan bubble positioning */
.user-wrapper .modern-message-bubble {
    background: linear-gradient(135deg, #D2B48C 0%, #CD853F 100%);
    color: white;
    border-bottom-right-radius: 8px;
    /* Tail di kanan */
    border-bottom-left-radius: 20px;
    /* Rounded di kiri */
    border: 1px solid rgba(160, 82, 45, 0.2);
    margin-left: 0;
    text-align: left;
    /* Text tetap align left untuk readability */
}

/* Perbaikan tail pointer untuk user bubble */
.user-wrapper .modern-message-bubble::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: -8px;
    /* Tail di kanan */
    left: auto;
    width: 0;
    height: 0;
    border: 8px solid transparent;
    border-left-color: rgba(160, 82, 45, 0.2);
    /* Border tail */
    border-bottom: 0;
}

.user-wrapper .modern-message-bubble::after {
    content: '';
    position: absolute;
    bottom: 1px;
    right: -6px;
    /* Inner tail di kanan */
    left: auto;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-left-color: #D2B48C;
    /* Warna bubble */
    border-bottom: 0;
}

/* Perbaikan timestamp positioning */
.user-wrapper .message-timestamp {
    text-align: left;
    /* Timestamp di kiri untuk user */
    color: rgba(255, 255, 255, 0.8);
}

.bot-wrapper .message-timestamp {
    text-align: right;
    /* Timestamp di kanan untuk bot */
    color: rgba(160, 82, 45, 0.7);
}

/* Perbaikan content wrapper alignment */
.user-wrapper .message-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    /* Align bubble ke kanan */
}

.bot-wrapper .message-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Align bubble ke kiri */
}

/* Perbaikan untuk bot bubble (memastikan konsistensi) */
.bot-wrapper .modern-message-bubble::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: -8px;
    /* Tail di kiri untuk bot */
    right: auto;
    width: 0;
    height: 0;
    border: 8px solid transparent;
    border-right-color: rgba(210, 180, 140, 0.2);
    border-bottom: 0;
}

.bot-wrapper .modern-message-bubble::after {
    content: '';
    position: absolute;
    bottom: 1px;
    left: -6px;
    /* Inner tail di kiri untuk bot */
    right: auto;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-right-color: #F5E6D3;
    border-bottom: 0;
}

/* Perbaikan avatar styling */
.message-avatar-container {
    flex-shrink: 0;
    display: flex;
    align-items: flex-end;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(210, 180, 140, 0.3);
    box-shadow: 0 2px 8px rgba(139, 69, 19, 0.1);
    transition: all 0.3s ease;
}

.user-wrapper .message-avatar {
    border-color: rgba(160, 82, 45, 0.3);
    /* Border coklat untuk user avatar */
}

.bot-wrapper .message-avatar {
    border-color: rgba(210, 180, 140, 0.3);
    /* Border coklat muda untuk bot avatar */
}

/* Hover effects */
.message-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.15);
}

/* Responsive adjustments */
@media (max-width: 768px) {

    .user-wrapper .message-avatar-container,
    .bot-wrapper .message-avatar-container {
        margin-left: 8px;
        margin-right: 8px;
    }

    .message-avatar {
        width: 36px;
        height: 36px;
    }

    .user-wrapper .modern-message-bubble::before,
    .user-wrapper .modern-message-bubble::after {
        right: -6px;
    }

    .bot-wrapper .modern-message-bubble::before,
    .bot-wrapper .modern-message-bubble::after {
        left: -6px;
    }
}

@media (max-width: 480px) {

    .user-wrapper .message-avatar-container,
    .bot-wrapper .message-avatar-container {
        margin-left: 6px;
        margin-right: 6px;
    }

    .message-avatar {
        width: 32px;
        height: 32px;
    }

    .user-wrapper .modern-message-bubble::before,
    .user-wrapper .modern-message-bubble::after {
        right: -5px;
    }

    .bot-wrapper .modern-message-bubble::before,
    .bot-wrapper .modern-message-bubble::after {
        left: -5px;
    }
}

/* Perbaikan untuk welcome message (tetap bot style) */
.welcome-message-wrapper {
    flex-direction: row;
    /* Bot style - avatar di kiri */
}

.welcome-message-wrapper .message-avatar-container {
    margin-right: 12px;
    margin-left: 0;
}

.welcome-message-wrapper .message-content-wrapper {
    align-items: flex-start;
}

.welcome-message-wrapper .message-timestamp {
    text-align: right;
    color: rgba(160, 82, 45, 0.7);
}

/* Animasi untuk message positioning */
@keyframes slideInRight {
    from {
        transform: translateX(30px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-30px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.user-wrapper {
    animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.bot-wrapper {
    animation: slideInLeft 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Perbaikan untuk memastikan text alignment yang proper */
.modern-message-bubble {
    text-align: left;
    /* Semua text align left untuk readability */
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Perbaikan spacing antar messages */
.modern-message-wrapper {
    margin-bottom: 20px;
    width: 100%;
}

.modern-message-wrapper:last-child {
    margin-bottom: 0;
}

/* Perbaikan untuk max-width messages */
.modern-message {
    max-width: 85%;
    width: fit-content;
}

.user-wrapper .modern-message {
    margin-left: auto;
    /* Push user message ke kanan */
    margin-right: 0;
}

.bot-wrapper .modern-message {
    margin-left: 0;
    margin-right: auto;
    /* Push bot message ke kiri */
}

.modern-message {
    display: flex;
    align-items: flex-end;
    max-width: 88%;
    gap: 14px;
}

.message-avatar-container {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
}

.message-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(210, 180, 140, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.message-content-wrapper {
    flex: 1;
}

.modern-message-bubble {
    padding: 18px 22px;
    border-radius: 20px;
    font-size: 15px;
    line-height: 1.6;
    word-wrap: break-word;
    position: relative;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.modern-message-bubble:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

/* Bubble Bot */
.bot-bubble {
    background: linear-gradient(135deg, #FFFFFF 0%, #FEFEFE 50%, #F8F8FF 100%);
    color: #5D4037;
    border: 1px solid rgba(210, 180, 140, 0.2);
    border-bottom-left-radius: 8px;
    box-shadow:
        0 4px 16px rgba(93, 64, 55, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.bot-bubble::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: -8px;
    width: 0;
    height: 0;
    border: 8px solid transparent;
    border-right-color: rgba(210, 180, 140, 0.2);
    border-bottom: 0;
}

.bot-bubble::after {
    content: '';
    position: absolute;
    bottom: 1px;
    left: -6px;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-right-color: #FFFFFF;
    border-bottom: 0;
}

/* Bubble User */
.user-wrapper .modern-message-bubble {
    background: linear-gradient(135deg, #D2B48C 0%, #CD853F 50%, #A0522D 100%);
    color: white;
    border-bottom-right-radius: 8px;
    border: 1px solid rgba(160, 82, 45, 0.3);
    box-shadow:
        0 4px 16px rgba(160, 82, 45, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.user-wrapper .modern-message-bubble::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: -8px;
    width: 0;
    height: 0;
    border: 8px solid transparent;
    border-left-color: rgba(160, 82, 45, 0.3);
    border-bottom: 0;
}

.user-wrapper .modern-message-bubble::after {
    content: '';
    position: absolute;
    bottom: 1px;
    right: -6px;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-left-color: #D2B48C;
    border-bottom: 0;
}

/* Pesan Selamat Datang */
.welcome-content {
    text-align: center;
}

.welcome-intro {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.wave-hello {
    font-size: 20px;
    animation: waveAnimation 2s infinite;
}

@keyframes waveAnimation {
    0%, 100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(20deg);
    }

    75% {
        transform: rotate(-20deg);
    }
}

.welcome-intro h5 {
    margin: 0;
    color: #8B4513;
    font-weight: 700;
    font-size: 20px;
}

.welcome-subtitle {
    color: #6D4C41;
    margin-bottom: 18px;
    font-size: 14px;
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 12px 0;
}

.service-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px;
    background: linear-gradient(135deg, #F5E6D3 0%, #E6D3A3 100%);
    border-radius: 12px;
    color: #6D4C41;
    font-size: 11px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(205, 133, 63, 0.1);
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(205, 133, 63, 0.15);
    background: linear-gradient(135deg, #E6D3A3 0%, #D2B48C 100%);
}

.service-icon {
    color: #CD853F;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.welcome-cta {
    border-top: 1px solid rgba(205, 133, 63, 0.2);
}

.welcome-cta p {
    margin: 0;
    color: #8B4513;
    font-size: 14px;
}

/* Waktu Pesan */
.message-timestamp {
    font-size: 11px;
    color: rgba(160, 82, 45, 0.7);
    margin-top: 8px;
    text-align: right;
    font-weight: 500;
}

.user-wrapper .message-timestamp {
    text-align: left;
    color: rgba(255, 255, 255, 0.8);
}

/* Indikator Mengetik */
.modern-typing-wrapper {
    padding: 0 24px 12px;
    background: linear-gradient(180deg, #FFF8DC 0%, #F5E6D3 100%);
}

.modern-typing-bubble {
    background: linear-gradient(135deg, #F5E6D3 0%, #E6D3A3 50%, #DEB887 100%);
    /* Coklat susu gradient */
    border: 1px solid rgba(210, 180, 140, 0.3);
    border-radius: 20px;
    border-bottom-left-radius: 8px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow:
        0 4px 16px rgba(139, 69, 19, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
}

/* Tambahkan tail pointer untuk typing bubble */
.modern-typing-bubble::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: -8px;
    width: 0;
    height: 0;
    border: 8px solid transparent;
    border-right-color: rgba(210, 180, 140, 0.3);
    border-bottom: 0;
}

.modern-typing-bubble::after {
    content: '';
    position: absolute;
    bottom: 1px;
    left: -6px;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-right-color: #F5E6D3;
    border-bottom: 0;
}

.typing-dots {
    display: flex;
    gap: 4px;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #CD853F, #A0522D);
    /* Warna coklat yang lebih gelap */
    animation: typingDots 1.4s infinite ease-in-out;
    box-shadow: 0 2px 4px rgba(160, 82, 45, 0.2);
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingDots {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.6;
        background: linear-gradient(135deg, #CD853F, #A0522D);
    }

    30% {
        transform: translateY(-8px);
        opacity: 1;
        background: linear-gradient(135deg, #D2B48C, #CD853F);
    }
}

.typing-label {
    font-size: 13px;
    color: #8B4513;
    font-style: italic;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

/* Perbaikan untuk tema gelap */
@media (prefers-color-scheme: dark) {
    .modern-typing-wrapper {
        background: linear-gradient(180deg, #2C1810 0%, #3D2817 100%);
    }

    .modern-typing-bubble {
        background: linear-gradient(135deg, #3D2817 0%, #4A3728 50%, #5D4037 100%);
        border-color: rgba(93, 64, 55, 0.3);
        box-shadow:
            0 4px 16px rgba(0, 0, 0, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }

    .modern-typing-bubble::before {
        border-right-color: rgba(93, 64, 55, 0.3);
    }

    .modern-typing-bubble::after {
        border-right-color: #3D2817;
    }

    .typing-dots span {
        background: linear-gradient(135deg, #DEB887, #CD853F);
    }

    .typing-label {
        color: #F5E6D3;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    }

    @keyframes typingDots {
        0%, 60%, 100% {
            transform: translateY(0);
            opacity: 0.6;
            background: linear-gradient(135deg, #DEB887, #CD853F);
        }

        30% {
            transform: translateY(-8px);
            opacity: 1;
            background: linear-gradient(135deg, #F5DEB3, #DEB887);
        }
    }
}

.typing-dots {
    display: flex;
    gap: 4px;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #CD853F, #A0522D);
    animation: typingDots 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingDots {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }

    30% {
        transform: translateY(-8px);
        opacity: 1;
    }
}

.typing-label {
    font-size: 13px;
    color: #8B4513;
    font-style: italic;
    font-weight: 500;
}

/* Area Input */
.modern-chat-input {
    background: linear-gradient(180deg, #F5E6D3 0%, #E6D3A3 100%);
    border-top: 1px solid rgba(210, 180, 140, 0.3);
    padding: 6px 20px 0 20px;
    border-radius: 0 0 24px 24px;
}

.input-field-wrapper {
    margin-bottom: 16px;
}

.input-field-container {
    background: white;
    border-radius: 24px;
    border: 2px solid rgba(210, 180, 140, 0.2);
    padding: 6px;
    display: flex;
    align-items: flex-end;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.input-field-container:focus-within {
    border-color: #CD853F;
    box-shadow:
        0 0 0 4px rgba(205, 133, 63, 0.1),
        0 4px 16px rgba(205, 133, 63, 0.15);
    transform: translateY(-1px);
}

.modern-input-field {
    flex: 1;
    border: none;
    background: transparent;
    padding: 14px 18px;
    font-size: 14px;
    outline: none;
    resize: none;
    max-height: 120px;
    min-height: 24px;
    font-family: inherit;
    color: #5D4037;
    line-height: 1.5;
    font-weight: 500;
}

.modern-input-field::placeholder {
    color: rgba(160, 82, 45, 0.6);
    font-weight: 400;
}

.input-actions-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.character-count {
    font-size: 11px;
    color: rgba(160, 82, 45, 0.6);
    font-weight: 500;
    transition: color 0.3s ease;
}

.character-count.warning {
    color: #FF9800;
}

.character-count.danger {
    color: #FF5722;
}

.modern-send-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #D2B48C 0%, #CD853F 50%, #A0522D 100%);
    color: white;
    cursor: pointer;
    position: relative;
    /* penting agar spinner di tengah */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow:
        0 4px 16px rgba(205, 133, 63, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-send-btn:hover:not(:disabled) {
    transform: scale(1.08);
    background: linear-gradient(135deg, #DEB887 0%, #D2691E 50%, #8B4513 100%);
    box-shadow:
        0 6px 24px rgba(205, 133, 63, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.modern-send-btn:active {
    transform: scale(0.95);
}

.modern-send-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.send-icon-wrapper,
.loading-spinner-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-spinner-wrapper .spinner {
    font-size: 20px;
    animation: spinLoader 1s linear infinite;
}


@keyframes spinLoader {
    to {
        transform: rotate(360deg);
    }
}


/* Scrollbar Custom */
.modern-chat-messages::-webkit-scrollbar {
    width: 6px;
}

.modern-chat-messages::-webkit-scrollbar-track {
    background: rgba(245, 230, 211, 0.5);
    border-radius: 3px;
}

.modern-chat-messages::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #D2B48C, #CD853F);
    border-radius: 3px;
    transition: background 0.3s ease;
}

.modern-chat-messages::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #DEB887, #D2691E);
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-chatbot-container {
        bottom: 20px;
        right: 20px;
    }

    .modern-chat-window {
        width: calc(100vw - 40px);
        height: calc(100vh - 180px);
        /* Dikurangi dari 120px ke 180px untuk memberi ruang lebih */
        right: -20px;
        bottom: 88px;
        border-radius: 20px;
        max-height: calc(100vh - 180px);
    }

    .modern-chat-toggle {
        width: 64px;
        height: 64px;
    }

    .toggle-icon-wrapper {
        font-size: 24px;
    }

    .modern-chat-header {
        padding: 18px 20px;
        /* Dikurangi padding untuk menghemat ruang */
        border-radius: 20px 20px 0 0;
    }

    .modern-bot-avatar {
        width: 44px;
        /* Dikurangi dari 48px */
        height: 44px;
    }

    .bot-info .bot-name {
        font-size: 18px;
        /* Dikurangi dari 20px */
    }

    .modern-chat-messages {
        padding: 20px 16px;
        /* Dikurangi padding */
    }

    .modern-message-bubble {
        padding: 14px 16px;
        /* Dikurangi padding */
        font-size: 14px;
    }

    .modern-chat-input {
        padding: 16px;
        /* Dikurangi dari 20px */
        border-radius: 0 0 20px 20px;
    }

    .modern-quick-suggestions {
        gap: 6px;
    }

    .suggestion-chip {
        font-size: 11px;
        padding: 8px 12px;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .service-card {
        padding: 10px;
        font-size: 12px;
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    .modern-chat-window {
        height: calc(100vh - 120px);
        max-height: calc(100vh - 120px);
    }
}

/* Perbaikan untuk tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .modern-chat-window {
        width: 400px;
        height: 550px;
        max-height: calc(100vh - 130px);
    }
}

/* Perbaikan untuk desktop kecil */
@media (min-width: 1025px) and (max-width: 1366px) {
    .modern-chat-window {
        height: 580px;
        max-height: calc(100vh - 120px);
    }
}

/* Perbaikan untuk layar sangat besar */
@media (min-width: 1920px) {
    .modern-chat-window {
        height: 650px;
        max-height: calc(100vh - 100px);
    }
}

@media (max-width: 480px) {
    .modern-chat-window {
        width: calc(100vw - 30px);
        height: calc(100vh - 200px);
        /* Lebih banyak ruang untuk layar kecil */
        right: -15px;
        max-height: calc(100vh - 200px);
    }

    .modern-message {
        max-width: 92%;
    }

    .welcome-intro {
        flex-direction: column;
        gap: 8px;
    }

    .welcome-intro h5 {
        font-size: 16px;
        /* Dikurangi dari 18px */
    }

    .service-card {
        padding: 8px;
        font-size: 11px;
    }

    .service-icon {
        font-size: 14px;
    }

    .modern-chat-header {
        padding: 16px 18px;
        /* Lebih kecil lagi untuk layar sangat kecil */
    }

    .modern-chat-messages {
        padding: 16px 14px;
    }

    .modern-chat-input {
        padding: 14px;
    }
}

/* Animasi Masuk */
@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeInScale {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modern-message-wrapper {
    animation: fadeInScale 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Tema Gelap (Opsional) */
@media (prefers-color-scheme: dark) {
    .modern-chat-window {
        background: linear-gradient(180deg, #2C1810 0%, #3D2817 100%);
        border-color: rgba(74, 55, 40, 0.5);
    }

    .modern-chat-messages {
        background: linear-gradient(180deg, #2C1810 0%, #3D2817 100%);
    }

    .bot-bubble {
        background: linear-gradient(135deg, #3D2817 0%, #4A3728 100%);
        color: #F5E6D3;
        border-color: rgba(93, 64, 55, 0.3);
    }

    .modern-chat-input {
        background: linear-gradient(180deg, #3D2817 0%, #4A3728 100%);
        border-color: rgba(93, 64, 55, 0.3);
    }

    .input-field-container {
        background: #4A3728;
        border-color: rgba(93, 64, 55, 0.3);
    }

    .modern-input-field {
        color: #F5E6D3;
    }

    .modern-input-field::placeholder {
        color: rgba(160, 82, 45, 0.7);
    }

    .suggestion-chip {
        background: linear-gradient(135deg, #4A3728 0%, #5D4037 100%);
        color: #F5E6D3;
        border-color: rgba(93, 64, 55, 0.3);
    }

    .service-card {
        background: linear-gradient(135deg, #4A3728 0%, #5D4037 100%);
        color: #F5E6D3;
        border-color: rgba(93, 64, 55, 0.3);
    }
}

/* Efek Khusus */
.modern-chat-window::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    z-index: 1;
}

.modern-message-bubble::selection {
    background: rgba(205, 133, 63, 0.2);
}

.modern-input-field::selection {
    background: rgba(205, 133, 63, 0.2);
}

/* Animasi Loading */
@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }

    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.loading-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
}

/* Perbaikan Border Radius Header */
.modern-chat-header {
    border-radius: 24px 24px 0 0 !important;
    overflow: hidden;
}

.modern-chat-window.minimized .modern-chat-header {
    border-radius: 24px 24px 0 0 !important;
}

/* Perbaikan untuk memastikan border radius konsisten */
.modern-chat-window,
.modern-chat-window.active,
.modern-chat-window.minimized {
    border-radius: 24px !important;
    overflow: hidden;
}

.modern-chat-window.minimized {
    border-radius: 24px 24px 0 0 !important;
}

/* Transisi yang lebih smooth */
.modern-chat-window * {
    box-sizing: border-box;
}

/* Perbaikan z-index untuk elemen header */
.modern-chat-header {
    position: relative;
    z-index: 2;
}

.modern-chat-messages,
.modern-chat-input {
    position: relative;
    z-index: 1;
}

/* deteksii*/
/* CSS for Deteksi Section */
#deteksi {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
}

.d-none {
    display: none !important;
}

#imageInput,
#cameraButton {
    display: inline-block;
    margin-top: 1rem;
}

#deteksi h4 {
    font-size: 1.5rem;
    color: #343a40;
}

#deteksi .btn {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
}

#videoStream,
#canvas,
#previewImage,
#resultImage {
    max-height: 300px;
    border: 1px solid #ced4da;
}

#resultInfo {
    font-size: 1rem;
    line-height: 1.5;
}

.d-none {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    #deteksi h4 {
        font-size: 1.25rem;
    }

    #deteksi .btn {
        font-size: 0.9rem;
    }

    #resultInfo {
        font-size: 0.9rem;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .msger {
        width: 90%;
        height: 70vh;
        margin: 0 auto;
        margin-top: 10%;
    }

    .msg-bubble {
        max-width: 80%;
    }

    .chatbot_button {
        right: 10px;
        bottom: 10px;
    }

    .chatbot_button button {
        width: 40px;
        height: 40px;
    }
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    transform: translateX(150%);
    animation: slideIn 0.5s forwards, fadeOut 0.5s 3s forwards;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 10px;
}

.notification i {
    font-size: 20px;
}

.notification.success {
    background: linear-gradient(to right, #28a745, #20c997);
}

.notification.error {
    background: linear-gradient(to right, #dc3545, #ff4d4d);
}

.notification.info {
    background: linear-gradient(to right, #17a2b8, #4dc9e6);
}

@keyframes slideIn {
    from {
        transform: translateX(150%);
    }

    to {
        transform: translateX(0);
    }
}

/* logout pop up */
.modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 9999;
}

.modal-header {
    padding: 1.5rem 1.5rem 0.5rem;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 0.5rem 1.5rem 1.5rem;
}

.modal .btn {
    border-radius: 50px;
    padding: 8px 24px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.modal .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.modal .fa-sign-out-alt,
.modal .fa-user-shield {
    color: #573727;
}



.modal.fade .modal-dialog {
    transform: scale(0.8);
    transition: transform 0.3s ease-out;
}

.modal.show .modal-dialog {
    transform: scale(1);
}

.btn-outline-secondary:focus,
.btn-outline-secondary:active {
    box-shadow: none !important;
    outline: none !important;
}

.btn-outline-secondary {
    color: #6c757d;
    background-color: #fff;
    border: 1px solid #6c757d;
    transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn-brown {
    color: #fff;
    background-color: #573727;
    border-color: #573727;
}

.btn-brown:hover {
    color: #fff;
    background-color: #462c1f;
    border-color: #462c1f;
}

body {
    overflow-x: hidden;
}

.container-fluid {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}

/* Enhanced Dropdown Styling */
.navbar .dropdown-menu {
    right: 0;
    left: auto;
    min-width: 280px;
    padding: 0;
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background: white;
    margin-top: 10px;
}

.navbar .dropdown-header {
    background: #f8f9fa;
    padding: 15px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.navbar .dropdown-item {
    padding: 12px 20px;
    color: #573727;
    transition: all 0.3s ease;
}

.navbar .dropdown-item:hover {
    background: #f8f9fa;
    color: #B1613A;
    transform: translateX(5px);
}

.navbar .dropdown-item i {
    width: 20px;
    color: #B1613A;
}

.navbar .dropdown-divider {
    margin: 0;
    opacity: 0.1;
}

/* Animation for dropdown */
@keyframes slideIn {
    0% {
        transform: translateY(1rem);
        opacity: 0;
    }

    100% {
        transform: translateY(0rem);
        opacity: 1;
    }
}

.animate.slideIn {
    animation: slideIn 0.3s ease-in-out;
}

.navbar .nav-link.dropdown-toggle {
    color: #333 !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar .nav-link.dropdown-toggle:hover {
    color: #B1613A !important;
}

.navbar .dropdown-header h6 {
    color: #333;
    font-weight: 600;
}

.navbar .dropdown-header small {
    color: #666;
}

.navbar .dropdown-menu {
    display: none;
}

.navbar .nav-item.show .dropdown-menu {
    display: block;
}

.navbar .dropdown-divider {
    height: 2px;
    background-color: #333;
    opacity: 0.2;
    margin: 8px 0;
}

@media (max-width: 991px) {
    .navbar .dropdown-menu {
        position: relative;
        width: 100%;
        margin-top: 10px;
        background-color: #fff;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .navbar .nav-item.dropdown {
        width: 100%;
    }

    .navbar .dropdown-menu.show {
        display: block !important;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .navbar .dropdown-item {
        padding: 12px 20px;
        white-space: normal;
    }

    .navbar .dropdown-header {
        background: #f8f9fa;
        padding: 15px;
    }
}

/* index blog style */
/* Enhanced Blog Styling */
.blog-item {
    background: #fff;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.blog-item:hover {
    transform: translateY(-5px);
}

.blog-img {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.blog-date {
    background: #B1613A;
    color: #fff;
    text-align: center;
    padding: 10px;
    right: 20px;
    top: 20px;
    border-radius: 8px;
}

.blog-date .date {
    display: block;
    font-size: 20px;
    font-weight: 700;
}

.blog-date .month {
    font-size: 14px;
}

.blog-meta {
    font-size: 14px;
    color: #666;
}

.blog-title a {
    font-size: 20px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-title a:hover {
    color: #B1613A;
}

.blog-excerpt {
    color: #666;
    line-height: 1.6;
}

.read-more {
    color: #B1613A;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #573727;
    padding-left: 5px;
}

.transform-scale {
    transition: transform 0.5s ease;
}

.blog-img:hover .transform-scale {
    transform: scale(1.1);
}

.hover-translate {
    transition: transform 0.3s ease;
}

.hover-translate:hover {
    transform: translateY(-10px);
}

/* about style */
:root {
    --milk-chocolate: #B4846C;
    --light-milk: #E5CDB3;
    --dark-chocolate: #7D5A50;
    --cream: #FDF6EC;
}

.about {
    background-color: var(--milk-chocolate);
    position: relative;
    overflow: hidden;
    padding: 7rem 0;
}

/* Dekorasi Background Elements */
.background-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
}

.circle-2 {
    width: 200px;
    height: 200px;
    bottom: 50px;
    right: 10%;
}

.circle-3 {
    width: 150px;
    height: 150px;
    top: 30%;
    right: -50px;
}

.dot-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

.wave-pattern {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(45deg, transparent 33.33%, var(--light-milk) 33.33%, var(--light-milk) 66.66%, transparent 66.66%);
    background-size: 30px 30px;
    opacity: 0.1;
}

/* Styles konten about*/
.content-card {
    background: var(--cream);
    padding: 3rem;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.section-badge {
    display: inline-block;
    margin-bottom: 1.5rem;
}

.badge-text {
    background: linear-gradient(135deg, var(--dark-chocolate), var(--milk-chocolate));
    color: var(--cream);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
}

.title {
    color: var(--dark-chocolate);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.description {
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}


.cta-button {
    margin-top: 15px;
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--dark-chocolate), var(--milk-chocolate));
    color: var(--cream);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(125, 90, 80, 0.2);
    color: var(--cream);
}

.button-arrow {
    margin-left: 0.8rem;
    transition: transform 0.3s;
}

.cta-button:hover .button-arrow {
    transform: translateX(5px);
}

/* Foto HP Styles */
.phone-showcase {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.phone-slider {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-slide.active {
    opacity: 1;
}

.phone-slide img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.slider-dots {
    display: flex;
    gap: 0.8rem;
    margin-top: 2rem;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--cream);
    transform: scale(1.2);
}

/* Animasi HP pada About section */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wow {
    animation: fadeIn 1s ease-out;
}

/* Petshop style */
.petshop-section {
    background-color: var(--milk-chocolate);
    position: relative;
    overflow: hidden;
    padding: 7rem 0;
}

.petshop-section .background-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.petshop-section .circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.petshop-section .circle-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
}

.petshop-section .circle-2 {
    width: 200px;
    height: 200px;
    bottom: 50px;
    right: 10%;
}

.petshop-section .circle-3 {
    width: 150px;
    height: 150px;
    top: 30%;
    right: -50px;
}

.petshop-section h1,
.petshop-section p {
    color: var(--cream);
}

.petshop-section .map-container {
    background: var(--cream);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.petshop-section #map {
    width: 100%;
    height: 400px;
    border-radius: 10px;
}

.petshop-section .search-box {
    margin-bottom: 20px;
    position: relative;
}

.petshop-section .search-input {
    width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    background: var(--cream);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}


/* footer style */
.footer-new {
    background: var(--milk-chocolate);
    position: relative;
    padding: 80px 0 20px;
    color: var(--cream);
    overflow: hidden;
}

.footer-new .wave-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(45deg, transparent 33.33%, var(--cream) 33.33%, var(--cream) 66.66%, transparent 66.66%);
    background-size: 30px 30px;
    opacity: 0.1;
}

.footer-new .footer-logo {
    margin-bottom: 30px;
}

.footer-new .footer-logo img {
    height: 50px;
    filter: brightness(0) invert(1);
}

.footer-new .footer-desc {
    color: var(--cream);
    opacity: 0.9;
    line-height: 1.8;
    margin-bottom: 30px;
}

.footer-new .social-links {
    display: flex;
    gap: 15px;
}

.footer-new .social-links a {
    width: 40px;
    height: 40px;
    background: var(--cream);
    color: var(--milk-chocolate);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-new .social-links a:hover {
    transform: translateY(-5px);
    background: var(--dark-chocolate);
    color: var(--cream);
}

.footer-new .footer-links h5 {
    color: var(--cream);
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-new .footer-links h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--cream);
}

.footer-new .footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-new .footer-links ul li {
    margin-bottom: 15px;
}

.footer-new .footer-links ul li a {
    color: var(--cream);
    opacity: 0.9;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-new .footer-links ul li a:hover {
    opacity: 1;
    padding-left: 10px;
    color: var(--dark-chocolate);
}

.footer-new .contact-info li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-new .contact-info li i {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-copyright {
    background: var(--dark-chocolate);
    padding: 20px 0;
    color: var(--cream);
    text-align: center;
}

/* testimoni style */
.testimonial-section {
    background-color: var(--milk-chocolate);
    position: relative;
    overflow: hidden;
}

.testimonial-card {
    background: var(--cream);
    border-radius: 20px;
    padding: 30px;
    margin: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}


.quote-icon {
    color: var(--dark-chocolate);
    font-size: 30px;
    opacity: 0.2;
    margin-bottom: 15px;
}


.testimonial-user {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 20px;
}

.user-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--milk-chocolate);
}

.user-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info {
    flex: 1;
}

.user-name {
    color: var(--dark-chocolate);
    font-size: 18px;
    margin-bottom: 5px;
}

.user-email {
    color: #666;
    font-size: 14px;
    margin: 0;
}

@media (max-width: 768px) {
    .testimonial-card {
        margin: 10px;
        padding: 20px;
    }
}

/* Testimonial Styling */
.testimonial-item {
    background: var(--milk-chocolate);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin: 10px;
    min-height: 350px;
}

.testimonial-name {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.testimonial-email {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}


.testimonial-text {
    font-size: 16px;
    line-height: 1.8;
    color: #fff;
    padding-left: 30px;
    text-align: justify;
}

/* Navigation Button Testimoni */
.testimonial .owl-nav {
    position: absolute;
    top: -20px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    /* Memisahkan tombol ke kiri dan kanan */
    align-items: center;
}


.testimonial .owl-nav .owl-prev {
    position: absolute;
    left: 0;
    /* Posisi di ujung kiri */
}

.testimonial .owl-nav .owl-next {
    position: absolute;
    right: 0;
    /* Posisi di ujung kanan */
}

.testimonial .owl-nav button {
    width: 50px !important;
    height: 50px !important;
    border-radius: 15px !important;
    background: linear-gradient(145deg, var(--milk-chocolate), var(--dark-chocolate)) !important;
    color: #fff !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.1) !important;
}

.testimonial .owl-nav button:hover {
    transform: translateY(-3px);
    background: linear-gradient(145deg, var(--dark-chocolate), var(--milk-chocolate)) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.testimonial .owl-nav button span {
    font-size: 28px;
    line-height: 1;
    font-weight: 300;
}

.testimonial-item {
    background: linear-gradient(145deg, var(--milk-chocolate), #B4846C);
    border-radius: 25px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(87, 55, 39, 0.15);
    transition: all 0.4s ease;
    margin: 15px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-height: 350px;
    /* Pastikan tinggi minimal */
    display: flex;
    flex-direction: column;
}

.testimonial-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.05));
    pointer-events: none;
}

.testimonial-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(87, 55, 39, 0.2);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    position: relative;
}

.testimonial-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    /* agar selalu bulat sempurna */
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    /* menjaga proporsi gambar */
    object-position: center;
}

.testimonial-content {
    position: relative;
    padding: 25px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(5px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-content p {
    font-size: smaller;
}

.testimonial-content::before {
    content: '"';
    font-family: serif;
    font-size: 80px;
    position: absolute;
    top: -20px;
    left: 20px;
    color: rgba(255, 255, 255, 0.15);
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.8;
    color: #fff;
    padding-left: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-name {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.testimonial-email {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 300;
}

.testimonial-info {
    margin-left: 20px;
    position: relative;
}

.testimonial-info::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
}



.forum-header {
    background: linear-gradient(135deg, var(--dark-chocolate), var(--milk-chocolate));
    color: white;
    padding: 50px 20px;
}

.forum-banner h1 {
    margin-bottom: 20px;
    font-size: 24px;
}

.forum-search {
    display: flex;
    justify-content: center;
    align-items: center;
}

.forum-search input {
    width: 300px;
    padding: 10px;
    border-radius: 20px;
    border: none;
    outline: none;
}

.forum-search button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    margin-left: -40px;
}

.forum-filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

/* Ukuran teks lebih kecil di mobile */
@media (max-width: 576px) {
    .text-muted-responsive small {
        font-size: 12px !important;
    }
}


.filter-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.apply-button {
    background: #ff007f;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.create-forum {
    background: #5c1c96;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    margin: 20px 0;
}

/* Tombol Shopee */
.produk-deskripsi {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
    text-align: justify;
    background-color: #fdfdfd;
    padding: 1rem 1.2rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.produk-deskripsi ul {
    padding-left: 1.2rem;
    margin-bottom: 0.5rem;
}

.produk-deskripsi ul li {
    margin-bottom: 0.4rem;
    list-style: none;
    position: relative;
    padding-left: 1.2rem;
}

.produk-deskripsi ul li::before {
    content: "✔️";
    position: absolute;
    left: 0;
    font-size: 0.9rem;
    color: #28a745;
}

.btn-shopee {
    background-color: #f53d2d;
    color: white;
    font-weight: 600;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    transition: all 0.2s ease-in-out;
}

.btn-shopee:hover {
    background-color: #e03e2f;
    box-shadow: 0 4px 12px rgba(245, 61, 45, 0.3);
    color: white;
    transform: translateY(-1px);
}

/* Gambar tetap proporsional dan rapi */
.object-fit-cover {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

img {
    border-radius: 0.5rem;
}