@media only screen and (min-device-width: 641px) and (max-device-width: 960px) {
    .navbar-img {
        width: 80%;
        margin-top: auto;
        margin-bottom: auto;
    }

    .bg-body-tertiary {
        background-color: #1b1b1b !important;
    }

    .nav-link {
        font-size: 95%;
        font-weight: 600;
        color: #ffffff;
        text-align: center;
        border-bottom: 0px solid #fff;
        transition: all 0.2s ease-in-out;
    }

    .nav-link:hover {
        color: #ffffff;
        border-bottom: 3px solid #fff;
        transition: all 0.2s ease-in-out;
    }

    .nav-underline .nav-link.active {
        color: #ffffff !important;
        font-weight: 600;
        border-bottom: 3px solid #fff;
        transition: all 0.2s ease-in-out;
    }

    .navbar-nav .nav-link.active {
        color: #ffffff;
        border-bottom: 3px solid #fff;
        transition: all 0.2s ease-in-out;
    }

    .navbar-toggler-icon {
        background-color: #8a8a8a43;
        border-radius: 6px;
    }

    .custom-modal-input-footer {
        font-size: 60%;
        width: 100%;
        text-align: center;
        border: 2px solid #000;
        padding: 1%;
        border-radius: 8px;
        border-left: 0px !important;
    }

    .custom-modal-icon-footer {
        background-color: #fff;
        font-size: 115%;
        border: 2px solid #000;
        border-right: 0px !important;
        border-radius: 8px;
    }

    .custom-input-email {
        font-size: 70%;
        width: 70%;
        padding-top: 5% !important;
        text-align: center;
        border: 2px solid #000;
        border-radius: 8px;
        border-left: 0px !important;
        border-right: 0px !important;
    }

    .custom-icon-email {
        background-color: #fff;
        font-size: 115%;
        border: 2px solid #000;
        border-right: 0px !important;
        border-radius: 8px;
    }

    .custom-submit-button {
        border-radius: 8px;
        font-size: 115%;
        padding: 2.1%;
        border: 2px solid #000;
        background-color: #fff;
        border-left: 0px !important;
    }

    .icon-sosmed {
        background-color: #212529;
        border-radius: 10px;
        padding: 3%;
        align-items: center;
        transition: all 0.3s ease-in-out;
    }

    .icon-sosmed img {
        width: 45%;
    }

    .icon-fb:hover {
        background-color: #2951d6;
        transition: all 0.3s ease-in-out;
    }

    .icon-ig:hover {
        background-color: #d62976;
        transition: all 0.3s ease-in-out;
    }

    .icon-yt:hover {
        background-color: #d62929;
        transition: all 0.3s ease-in-out;
    }

    .icon-tt:hover {
        background-color: #29b9d6;
        transition: all 0.3s ease-in-out;
    }

    .carousel-indicators button {
        background-color: #888;
        border: none;
        transition: background-color 0.3s ease;
    }

    .carousel-indicators button.active {
        background-color: #398bcc;
    }

    .button-1 {
        display: inline-block;
        border: 1px solid #000;
        font-size: 80%;
        border-radius: 15px;
        transition: all 0.3s ease-in-out;
        cursor: pointer;
    }

    .button-1:hover {
        background-color: #000;
        color: #fff;
        transition: all 0.3s ease-in-out;
    }

    .button-1-dark {
        display: inline-block;
        border: 1px solid #fff;
        color: #fff;
        font-size: 70%;
        text-align: center;
        border-radius: 15px;
        transition: all 0.3s ease-in-out;
    }

    .button-1-dark:hover {
        background-color: #fff;
        color: #000;
        transition: all 0.3s ease-in-out;
    }

    .btn-select {
        background-color: #fff;
        border-radius: 10px;
        box-shadow: 0px 0px 6px #00000020;
        display: block;
        max-width: 70%;
        padding: 6% 2%;
        font-size: 80%;
        color: #858585;
        transform: scale(1);
        transition: all 0.3s ease-in-out;
        margin-bottom: 8%;
    }

    .btn-select:hover {
        transform: scale(1.1);
        color: #000;
        transition: all 0.3s ease-in-out;
    }

    .btn-check:checked + .btn {
        border: 0px;
        background-color: #398bcc;
        color: #fff;
        font-weight: 600;
    }

    .card-top-product {
        width: 100%;
        height: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .card-top-product img {
        width: inherit;
        border-radius: 15px;
    }

    .caption {
        font-size: 80%;
        font-weight: 500;
    }

    .news-card-header {
        font-weight: 600;
        font-size: 90%;
        padding: 2%;
        color: #fff;
    }

    .news-card-caption {
        font-weight: 300;
        font-size: 70%;
        color: #fff;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 3; /* Number of lines to show */
        -webkit-box-orient: vertical;
    }

    .news-card-photo-frame {
        width: 85%;
        height: 220px;
        margin-left: auto;
        margin-right: auto;
        overflow: hidden; /* Ensures that any overflow is hidden */
        border-radius: 15px; /* Ensure the border-radius is applied to the container */
    }

    .news-card-photo-frame img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Makes the image cover the entire container */
        border-radius: 15px;
    }

    .product-photo-frame {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .product-photo-frame img {
        width: inherit;
        border-radius: 15px;
    }

    .news-card-photo-frame-2 {
        width: 100%;
        height: 180px;
        margin-left: auto;
        margin-right: auto;
        overflow: hidden; /* Ensures that any overflow is hidden */
        border-radius: 15px; /* Ensure the border-radius is applied to the container */
    }

    .news-card-photo-frame-2 img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Makes the image cover the entire container */
        border-radius: 15px; /* Ensure the border-radius is applied to the image */
    }

    .product-card {
        position: relative;
        overflow: hidden; /* Ensures the image does not overflow the card */
        border-radius: 16px;
        transition: all 0.4s ease-in-out;
    }

    .product-img {
        width: 100%;
        border-radius: 16px;
        transition: all 0.4s ease-in-out;
    }

    .product-card:hover .product-img {
        filter: opacity(0.9) brightness(60%) blur(1.8px);
        overflow: hidden;
        border-radius: 16px;
        transition: all 0.4s ease-in-out;
    }

    .product-text-shown {
        font-size: 80%;
        opacity: 1;
        transition: all 0.4s ease-in-out;
    }

    .product-card:hover .product-text-shown {
        opacity: 0;
        transition: all 0.4s ease-in-out;
    }

    .product-text {
        font-size: 80%;
        font-weight: 500;
        position: absolute;
        width: 100%;
        opacity: 0;
        color: #fff;
        transition: all 0.4s ease-in-out;
    }

    .product-card:hover .product-text {
        bottom: 50%; /* Move to the center */
        opacity: 100%;
        font-size: 150%;
        font-weight: 700;
        width: 100%;
        transition: all 0.4s ease-in-out;
    }

    /* Custom styles specific to the custom-carousel class */
    .custom-carousel-product .carousel-inner img {
        max-height: 500px;
        object-fit: contain;
    }

    .custom-carousel-product .carousel-indicators {
        position: absolute;
        bottom: 10px;
        justify-content: center;
        padding-left: 0;
        margin-bottom: 0;
        list-style: none;
    }

    .custom-carousel-product .carousel-indicators li {
        background-color: #fff;
        border-radius: 50%;
        width: 12px;
        height: 12px;
        margin: 0 2px;
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .custom-carousel-product .carousel-indicators .active {
        background-color: #398bcc;
        border-radius: 16px;
        width: 35px;
        height: 12px;
    }

    /* Thumbnail gallery styles */
    .thumbnail-gallery img {
        border: 2px solid transparent;
        transition: border 0.3s ease;
    }

    .thumbnail-gallery img.active,
    .thumbnail-gallery img:hover {
        border: 2px solid #398bcc;
    }

    /* Ensure modals are properly styled */
    .modal-dialog-centered {
        display: flex;
        align-items: center;
        min-height: calc(100% - 1rem);
    }

    .modal-md {
        max-width: 80%;
    }

    .detail-product-card {
        position: relative;
        overflow: hidden;
        border-radius: 16px;
        box-shadow: 0px 0px 6px #00000020;
        transition: all 0.3s ease-in-out;
    }

    .detail-product-card:hover {
        transform: scale(1.05);
        transition: all 0.3s ease-in-out;
    }

    .detail-product-img {
        border-radius: 16px;
        box-shadow: 0px 2px 10px #00000020;
        transition: all 0.3s ease-in-out;
    }

    .detail-product-text {
        font-size: 100%;
        font-weight: 600;
    }

    .breadcrumb {
        display: flex;
        font-size: 80%;
        flex-wrap: wrap;
        padding: 0;
        margin: 0;
        list-style: none;
        background-color: transparent;
    }

    .breadcrumb-item + .breadcrumb-item::before {
        content: "/";
        padding: 0 0.5rem;
        color: #6c757d;
    }

    .breadcrumb-item a {
        text-decoration: none;
        color: #6c757d;
        position: relative;
        display: inline-block;
        transition: color 0.3s ease-in-out;
    }

    .breadcrumb-item a:hover {
        color: #6c757d;
    }

    .breadcrumb-item.active {
        color: #007bff;
    }

    .breadcrumb-item a::after {
        content: "";
        display: block;
        width: 0;
        height: 2px;
        background: #6c757d;
        position: absolute;
        left: 0;
        bottom: -2px; /* Adjust position if needed */
        transition: width 0.3s;
    }

    .breadcrumb-item a:hover::after {
        width: 100%;
        transition: width 0.3s;
    }

    .accordion-button:focus {
        border-color: #fff !important;
    }

    .accordion-button:not(.collapsed) {
        background-color: #fff !important;
        color: #0056b3;
        box-shadow: 0px 2px 5px #00000020;
    }

    #map {
        height: 450px; /* Set a height for the map */
    }

    #carouselAboutUs {
        background-color: #b1b1b11b;
        border-radius: 16px;
    }

    .about-us-text {
        font-size: 85%;
        text-align: start;
        line-height: 200%;
    }

    .custom-input-location {
        font-size: 80%;
        border-radius: 7px 0 0 7px !important;
        border: 1px solid #888;
        border-right: 0px !important;
    }

    .custom-near-location-button {
        border-radius: 0 7px 7px 0 !important;
        border: 1px solid #888;
        background-color: #fff;
        border-left: 0px !important;
        transition: all 0.3s ease-in-out;
    }

    .custom-near-location-button:hover {
        transition: all 0.3s ease-in-out;
        color: #398bcc;
        font-weight: 600;
    }

    .btn-input-location {
        display: inline-block;
        border: 1px solid #398bcc;
        color: #000;
        font-size: 80%;
        text-align: center;
        border-radius: 8px;
        transition: all 0.3s ease-in-out;
    }

    .btn-input-location:hover {
        background-color: #398bcc;
        color: #fff;
        transition: all 0.3s ease-in-out;
    }

    .form-signin {
        width: 100%;
        max-width: 330px;
        padding: 15px;
        margin: auto;
    }

    .form-signin .checkbox {
        font-weight: 400;
    }

    .form-signin .form-floating:focus-within {
        z-index: 2;
    }

    .form-signin input[type="email"] {
        margin-bottom: -1px;
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
    }

    .form-signin input[type="password"] {
        margin-bottom: 10px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

    /* Container to enable horizontal scrolling */
    .scrollable-container {
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 10px; /* Optional: Add padding for better appearance */
    }

    /* Row styling for horizontal scroll */
    .scrollable-container .row {
        display: flex;
        flex-wrap: nowrap;
    }

    /* .scrollable-container::-webkit-scrollbar {
        display: none;
    } */

    /* Individual column styling */
    .photo-column {
        padding: 10px;
        background-color: #fff; /* Optional: Add background color for better visibility */
        border-radius: 8px; /* Optional: Add border-radius for better appearance */
        overflow: hidden; /* Hide overflow for better appearance */
    }

    /* Top photo styling */
    .top-photo img {
        width: 100%;
        border-radius: 16px;
        margin-bottom: 10px;
    }

    /* Bottom photo container styling */
    .bottom-photo-container {
        display: flex;
        gap: 10px; /* Optional: Add space between photos */
    }

    /* Bottom photo styling */
    .bottom-photo {
        flex: 0 0 auto;
        width: 45px; /* Adjust based on your needs */
        height: 45px; /* Adjust based on your needs */
        position: relative; /* Ensure the image fits within this square */
        overflow: hidden; /* Hide any overflow */
    }

    .bottom-photo img {
        width: 100%;
        height: 100%;
        border-radius: 8px;
        object-fit: cover; /* This ensures the image covers the entire container and is centered */
    }

    /* Caption styling */
    .caption-img {
        margin-top: 10px;
        font-size: 100%;
        font-weight: 600;
    }

    .custom-form {
        font-size: 80%;
        text-align: start;
        border: 0px solid #00000080;
        border-radius: 8px;
        box-shadow: 0px 0px 6px #00000020;
    }

    .roadmap-container {
        position: relative;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .mascot-container {
        position: absolute;
        top: -150px;
        left: 0;
        display: flex;
        align-items: center;
    }

    .mascot {
        width: 110px;
        height: auto;
    }

    .speech-bubble {
        background-color: #ffcc00;
        padding: 10px;
        border-radius: 10px;
        margin-left: 20px;
        font-size: 85%;
        max-width: 300px;
        position: relative;
    }

    .speech-bubble::before {
        content: "";
        position: absolute;
        top: 50%;
        left: -20px;
        transform: translateY(-50%);
        border-width: 10px;
        border-style: solid;
        border-color: transparent #ffcc00 transparent transparent;
    }

    .roadmap-wrapper {
        overflow-x: auto;
        margin-top: 200px;
        position: relative;
        padding-bottom: 20px; /* space for scrollbar */
    }

    .roadmap {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        padding: 5%;
        position: relative;
    }

    .roadmap-dot {
        width: 20px;
        height: 20px;
        padding: 1.5%;
        background-color: #398bcc;
        border-radius: 50%;
        position: relative;
        cursor: pointer;
        margin-right: 12%; /* Add spacing between dots */
    }

    .roadmap-dot::before {
        content: attr(data-year);
        position: absolute;
        top: 30px;
        left: 50%;
        transform: translateX(-50%);
        background-color: #fff;
        padding: 5px 10px;
        border-radius: 5px;
        font-size: 0.9rem;
        font-weight: bold;
    }

    .roadmap::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 0;
        width: 1400px;
        height: 4px;
        background-color: #398bcc;
        z-index: -1;
    }

    .carousel-img-promo {
        width: 40%;
    }

    .cerita-bintang {
        font-size: 150%;
    }

    #img-cerita-bintang {
        width: 8%;
        padding: 1%;
    }

    .budaya-perusahaan {
        font-size: 180%;
    }

    .text-footer {
        font-size: 105%;
    }

    #kilas-perjalanan-title {
        font-size: 150%;
    }

    #temukan-toko-title {
        font-size: 150%;
    }

    .section-header {
        font-size: 100%;
    }

    .section-caption {
        font-size: 60%;
    }

    #form-pertanyaan {
        font-size: 170%;
    }

    .form-karir {
        font-size: 90%;
    }

    .swipe-arrow-home {
        font-size: 65%;
    }

    #top-product-radio {
        border-radius: 16px;
        height: 500px;
        overflow-y: auto;
    }

    .label-top-product {
        font-size: 65%;
    }

    .berita-header {
        font-size: 120%;
        font-weight: 600;
    }

    .news-text-2 {
        font-size: 95%;
    }

    .container-footer {
        text-align: start;
    }

    .formToast img {
        width: 7%;
    }

    #budaya-i {
        padding: 0.5% 3.5%;
    }

    #budaya-t {
        padding: 0.5% 2.5%;
    }

    .form-karir-header-download-format {
        font-style: italic;
        font-size: 60%;
        background-color: #ededed;
        transition: all 0.3s ease-in-out;
    }

    .form-karir-header-download-format:hover {
        background-color: #007bff;
        color: #fff;
        transition: all 0.3s ease-in-out;
    }

    .label-form-karir {
        font-size: 70%;
        color: #787878;
    }

    .input-form-karir {
        font-size: 90%;
        font-weight: 600;
        border-width: 0px;
        box-shadow: 0px 0px 10px #1b1b1b18;
        border-radius: 12px;
    }

    .share-button {
        position: absolute;
        top: 25px;
        right: 25px;
        z-index: 10;
        background-color: #ffffff63;
        border-radius: 10px;
        box-shadow: 0px 0px 6px #0000002f;
        transition: all 0.3s ease-in-out;
    }

    .share-button:hover {
        transition: all 0.3s ease-in-out;
        transform: scale(1.05);
        box-shadow: 0px 0px 10px #0000002f;
    }

    .share-button i {
        background-color: transparent;
        font-size: 120%;
        font-weight: 700;
        border: none;
        color: #398BCC; /* Adjust color as needed */
    }
}
