/*** Spinner Start ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-out, visibility 0s linear 0.5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity 0.8s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
}
/*** Spinner End ***/

.map-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.map-box {
    width: 100%;
    max-width: 1000px; /* Atur lebar maksimum */
    height: 400px; /* Atur tinggi peta */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Efek shadow */
    border-radius: 10px; /* Opsional: sudut melengkung */
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: 0.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-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.border-secondary {
    transition: 0.5s;
}

.btn.border-secondary:hover {
    background: var(--bs-secondary) !important;
    color: var(--bs-white) !important;
}

/*** Topbar Start ***/
.container-fluid.page-header.py-5 {
    height: 300px;
}

.btn-outline-light.me-3 {
    margin-right: 20px; /* Atur sesuai kebutuhan */
    padding-top: 10px;
}

.container-head {
    margin-top: 90px;
}

.topbar {
    padding: 20px;
    border-radius: 230px 100px;
}

.topbar .top-info {
    font-size: 15px;
    line-height: 0;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.topbar .top-link {
    font-size: 15px;
    line-height: 0;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.topbar .top-link a {
    letter-spacing: 1px;
}

.topbar .top-link a small:hover {
    color: var(--bs-secondary) !important;
    transition: 0.5s;
}

.topbar .top-link a small:hover i {
    color: var(--bs-primary) !important;
}
/*** Topbar End ***/

/*** Navbar Start ***/
.navbar .navbar-nav .nav-link {
    padding: 10px 15px;
    font-size: 15px;
    transition: 0.5s;
    color: white;
}
.family-icon {
    width: 150px; /* Ukuran standar untuk setiap ikon */
    height: auto;
}

.logo-img img {
    display: block;
    max-width: 100%;
    height: auto;
}

.logo-family {
    max-width: 11%;
    height: auto;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.col-lg-4.text-start {
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    color: black;
    font-size: 28px;
    margin-bottom: 10px ;
    margin-top:50px;
}
@media (max-width:767px) {
    .tab-info.col-md-6 {
        text-align: center;
    }

    .item-link.col-md-4 {
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
        text-align: center;
    }

    .container.footer-detail.mb-2 {
        font-family: sans-serif;
        align-items: center;
    }

    .container-fluid.copyright.btn-toska.py-4 {
        text-align: center;
    }
    .infocimahi-group.pb-4{
        display: flex;
        align-items: center;
    }
}

.container-fluid.vesitable {
    background-color: #ddf1f3; 
}

.logo-family.kuliner {
    width:7%;
}
.logo-family.merch{
    width:6%;
}

.img-fluid.kuliner{
    width:68%;
}

.img-fluid.merch{
    width:60%;
}
.navbar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.fixed-top.bg-white .navbar .navbar-nav .nav-link:hover,
.fixed-top.bg-white .navbar .navbar-nav .nav-link.active {
    color: #ffc107;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    vertical-align: middle;
    margin-left: 8px;
}


@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        transition: 0.5s;
        opacity: 0;
    }
}

.dropdown .dropdown-menu a:hover {
    background: transparent;
    color: var(--bs-secondary);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light) !important;
    border-radius: 10px !important;
    transition: 0.5s;
    opacity: 1;
}

#searchModal .modal-content {
    background: rgba(255, 255, 255, 0.8);
}
/*** Navbar End ***/

img.image-home {
    width: 100%;
    height: 600px;
    object-fit: cover;
    position: absolute;
    top: 0px;
    left: 0px;
    border-radius: 0px 0px 30px 30px;
}

.image-shadow {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 600px;
    background-color: rgb(0 0 0 / 40%);
    border-radius: 0px 0px 30px 30px;
    padding: 70px;
}
.image-shadow {
    z-index: 1;
}
.hero-header .container {
    position: relative;
    z-index: 2;
}

/*** Hero Header ***/

.carousel-item {
    position: relative;
}

.carousel-item a {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 25px;
    background: linear-gradient(
        rgba(255, 181, 36, 0.7),
        rgba(255, 181, 36, 0.7)
    );
}

.carousel-control-next,
.carousel-control-prev {
    width: 48px;
    height: 48px;
    border-radius: 48px;
    border: 1px solid var(--bs-white);
    background: #ffc10700;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-control-next {
    margin-right: 20px;
}

.carousel-control-prev {
    margin-left: 20px;
}

.page-header {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
        url(../images/cim/foto/cimhi.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (min-width: 992px) {
    .hero-header,
    .page-header,
}

@media (max-width: 992px) {
    .hero-header,
    .page-header {
        margin-top: 97px !important;
    }
}
/*** Hero Header end ***/

/* follower media sosial */
.media-button {
    text-align: center;
    color: #000;
}

#follower-count-ig {
    font-weight: bold;
    color: #ffffff;
}
#follower-count-fb {
    font-weight: bold;
    color: #ffffff;
}
#follower-count-tw {
    font-weight: bold;
    color: #ffffff;
}
#follower-count-yt {
    font-weight: bold;
    color: #ffffff;
}
#follower-count-tt {
    font-weight: bold;
    color: #000000;
}
/* follower media sosial */

.testimonial-container {
    perspective: 1000px;
}

.testimonial-item {
    height: 300px;
    position: relative;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.testimonial-container:hover .testimonial-item {
    transform: rotateY(180deg);
}

.testimonial-front,
.testimonial-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    overflow: hidden;
}
.owl-item {
    width: 400px !important;
}

.testimonial-front {
    background: #f8f9fa;
}

.testimonial-back {
    background: #f9ffff;
    color: rgb(15, 16, 15);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotateY(180deg);
    padding: 20px;
    text-align: center;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    max-height: 400px;
}

.testimonial-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-text {
    position: absolute;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    width: 100%;
    padding: 10px;
    text-align: center;
}

.testimonial-text h4 {
    margin: 0;
    font-size: 1.2em;
}

.testimonial-text p {
    margin: 0;
    font-size: 0.9em;
}

.star-rating {
    display: flex;
    justify-content: center;
    color: #ffc107;
    padding-top: 5px;
}
/* block-news */
/* Container styling */
.custom-card {
    border-radius: 10px;
    position: relative;
    width: 250px;
    height: 250px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.custom-card img {
    transition: 0.5s;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.logo-top-left {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}

.logo-top-left img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.custom-card:hover img {
    transform: scale(1.3);
}

.overlay-text {
    background: transparent
        linear-gradient(180deg, rgb(13 28 52 / 0) 0, rgb(13 28 52 / 50%) 100%);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    color: white;
    text-align: center;
}
.card-custom:hover {
    transform: translateY(-5px);
}

.card-custom {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    max-width: 500px;
    margin: 0 auto;
    border-radius: 15px;
    text-align: left;
}

.card-news {
    flex-grow: 1;
    background-color: white;
}

.card-news-footer {
    margin-top: auto; /* Menyimpan footer di bawah */
    background-color: #2998a3;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    text-align: left;
}


.news-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #1d1d1d;
    text-align: left;
    margin: 0px;
    margin-bottom: 10px;
}

.news-text {
    font-size: 1rem;
    color: #5f5f5f;
    text-align: left;
}

.btn-more {
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.2s;
}

.btn-more:hover {
    color: #f1f1f1;
}

/* end block news */

/*** featurs Start ***/
.featurs .featurs-item .featurs-icon {
    position: relative;
    width: 120px;
    height: 120px;
}

.featurs .featurs-item .featurs-icon::after {
    content: "";
    width: 35px;
    height: 35px;
    background: var(--bs-secondary);
    position: absolute;
    bottom: -10px;
    transform: translate(-50%);
    transform: rotate(45deg);
    background: var(--bs-secondary);
}
/*** featurs End ***/

/*** service Start ***/
.service .service-item .service-content {
    position: relative;
    width: 250px;
    height: 130px;
    top: -50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/*** service End ***/

/*** Fruits Start ***/
.fruite .tab-class .nav-item a.active {
    background: var(--bs-secondary) !important;
}

.fruite .tab-class .nav-item a.active span {
    color: var(--bs-white) !important;
}

.fruite .fruite-categorie .fruite-name {
    line-height: 40px;
}

.fruite .fruite-categorie .fruite-name a {
    transition: 0.5s;
}

.fruite .fruite-categorie .fruite-name a:hover {
    color: var(--bs-secondary);
}

.fruite .fruite-item {
    height: 100%;
    transition: 0.5s;
}
.fruite .fruite-item:hover {
    box-shadow: 0 0 55px rgba(0, 0, 0, 0.4);
}

.fruite .fruite-item .fruite-img {
    overflow: hidden;
    transition: 0.5s;
    border-radius: 10px 10px 0 0;
}

.fruite .fruite-item .fruite-img img {
    transition: 0.5s;
}

.fruite .fruite-item .fruite-img img:hover {
    transform: scale(1.3);
}
/*** Fruits End ***/

/*** vesitable Start ***/
.vesitable .vesitable-item {
    height: 100%;
    transition: 0.5s;
}

.vesitable .vesitable-item:hover {
    box-shadow: 0 0 55px rgba(0, 0, 0, 0.4);
}

.vesitable .vesitable-item .vesitable-img {
    overflow: hidden;
    transition: 0.5s;
    border-radius: 10px 10px 0 0;
}

.vesitable .vesitable-item .vesitable-img img {
    transition: 0.5s;
}

.vesitable .vesitable-item .vesitable-img img:hover {
    transform: scale(1.2);
}

.vesitable .owl-stage {
    margin: 50px 0;
    position: relative;
}

.vesitable .owl-nav .owl-prev {
    position: absolute;
    top: -13px;
    right: 0;
    color: var(--bs-primary);
    padding: 5px 25px;
    border: 1px solid var(--bs-secondary);
    border-radius: 20px;
    transition: 0.5s;
}

.vesitable .owl-nav .owl-prev:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.vesitable .owl-nav .owl-next {
    position: absolute;
    top: -13px;
    right: 88px;
    color: var(--bs-primary);
    padding: 5px 25px;
    border: 1px solid var(--bs-secondary);
    border-radius: 20px;
    transition: 0.5s;
}

.vesitable .owl-nav .owl-next:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}
/*** vesitable End ***/

/*** Banner Section Start ***/
.banner .banner-btn:hover {
    background: var(--bs-primary);
}
/*** Banner Section End ***/

/*** Facts Start ***/
.counter {
    height: 100%;
    text-align: center;
    box-shadow: 0 0 15px rgb(243 115 42);
}

.counter i {
    font-size: 60px;
    margin-bottom: 25px;
}

.counter h5 {
    color: #2998a3;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: bold;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.counter h1 {
    margin-bottom: 0;
}
/*** Facts End ***/
/* Styling untuk icon */
.item {
    width: 230px;
    flex-direction: column;
}

.konten {
    width: 100%;
    overflow: hidden;
}

.icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    display: inline-block;
    transition: all 0.3s ease;
}

.counter-ig {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 250px;
    background: linear-gradient(175deg, #9b00ff, #db02fb, #f34e56, #faac21);
    color: white;
    padding: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    margin: 0px 10px;
}

.counter-fb {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 250px;
    background: linear-gradient(175deg, #5c63f7, #000ce8);
    color: white;
    padding: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    margin: 0px 10px;
}

.counter-x {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 250px;
    background: linear-gradient(175deg, #47474d, #000000);
    color: white;
    padding: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    margin: 0px 10px;
}

.counter-yt {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 250px;
    background: linear-gradient(175deg, #fb7070, #ff0000);
    color: white;
    padding: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    margin: 0px 10px;
}
.counter-tiktok {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 250px;
    background: linear-gradient(175deg, white, white);
    color: black;
    padding: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    margin: 0px 10px;
}

.follower-count {
    font-size: clamp(20px, 5vw, 20px);
    font-weight: bold;
    margin-right: 40px;
    margin-left: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.social-name {
    font-size: 8px;
    font-family: sans-serif;
    margin: 0px;
}

.social-info {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}
.social-info i {
    font-size: 20px;
}

.social-info h6 {
    margin: 0;
    font-size: 12px;
}

.social-name,
.follower-count,
.social-info {
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
}

.counter-ig:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.counter-fb:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}
.counter-x:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}
.counter-yt:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.counter-tiktok:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.counter:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Button effect saat ditekan */
.button:active {
    transform: scale(0.95);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Menambahkan efek hover ke seluruh div button */
a {
    text-decoration: none;
    color: inherit;
}
.owl-carousel .owl-stage {
    display: flex;
    align-items: stretch;
}

.owl-carousel .item {
    display: flex;
    flex-direction: column;
}

/*** testimonial Start ***/
.testimonial .owl-nav .owl-prev {
    position: absolute;
    top: -58px;
    right: 0;
    color: #2998a3;
    padding: 5px 25px;
    border: 1px solid var(--bs-secondary);
    border-radius: 20px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-prev:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}
.owl-prev {
    margin-top: 20px;
}
.owl-next {
    margin-top: 20px;
}
.fruiite-item {
    position: relative; /* Pastikan posisi relatif untuk elemen absolut di dalamnya */
}

.fruiite-img {
    height: 200px; /* Atur tinggi gambar */
}

.footer .btn {
    flex: 1 0 auto; /* Membuat tombol lebih responsif */
    min-width: 120px; /* Minimal lebar tombol */
}

.testimonial .owl-nav .owl-next {
    position: absolute;
    top: -58px;
    right: 88px;
    color: #2998a3;
    padding: 5px 25px;
    border: 1px solid var(--bs-secondary);
    border-radius: 20px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-next:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}
/*** testimonial End ***/

.news-image {
    width: 100%;
    height: 120px;
    overflow: hidden;
    margin-top: 30px;
}
.news-image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.card-title-min h6 {
    font-size: 16px;
    margin-bottom: 0;
    margin-top: 30px;
}

.card-title-min small {
    margin: 0;
    display: block;
}

/* span sumber */
span.sumber {
    font-size: clamp(13px, 5vw, 10px);
}
/* span sumber end */

/*** Single Page Start ***/
.pagination {
    display: inline-block;
}

.pagination a {
    color: var(--bs-dark);
    padding: 10px 16px;
    text-decoration: none;
    transition: 0.5s;
    border: 1px solid #2998a3;
    margin: 0 4px;
}

.pagination a.active {
    background-color: #ffc107;
    color: var(--bs-light);
    border: 1px solid #2998a3;
}

.content {
    max-width: 800px; /* Anda bisa menyesuaikan ini sesuai kebutuhan */
    margin: 0 auto; /* Memastikan konten berada di tengah */
}

.row.g-1.mb-5.justify-content-center {
    justify-content: center; /* Memastikan semua kolom dalam baris terpusat */
}

.pagination a:hover:not(.active) {
    background-color: #ffc107;
}

.nav.nav-tabs .nav-link.active {
    border-bottom: 2px solid var(--bs-secondary) !important;
}
/*** Single Page End ***/

/*** Footer Start ***/
.footer .footer-item .btn-link {
    line-height: 35px;
    color: rgba(255, 255, 255, 0.5);
    transition: 0.5s;
}

.footer .footer-item .btn-link:hover {
    color: var(--bs-secondary) !important;
}

.footer .footer-item p.mb-4 {
    line-height: 35px;
}
/*** Footer End ***/
