
/* ============================
   MEDIA QUERY UNTUK 320px
=============================== */
@media (max-width: 320px) {

    /* ======== NAVBAR ======== */
    .navbar-brand img {
        width: 120px; /* perkecil logo */
    }

    .navbar-nav .nav-link {
        font-size: 12px;
        padding: 6px 0;
    }

    /* ======== CAROUSEL ======== */
    .carousel-inner {
        margin-top: 70px; /* sesuaikan ruang */
    }

    .carousel-item img {
        height: 150px;
        object-fit: cover;
    }

    /* ======== PRODUK KAMI ======== */
    h3 {
        font-size: 18px !important;
        margin: 20px 0 !important;
    }

    .card-produk {
        width: 100% !important;
    }

    .card-produk img {
        width: 100%;
        height: auto;
    }

    .card-produk .card-title {
        font-size: 18px;
    }

    .card-produk .card-text {
        font-size: 12px;
        line-height: 1.4;
    }

    /* ======== MENGAPA BPR SUAR ======== */
    .card-carousel {
        padding: 20px 10px;
    }

    .card-carousel svg {
        width: 50px;
    }

    .card-carousel h3 {
        font-size: 12px !important;
    }

    /* ======== PARALLAX ======== */
    .parallax-section {
        padding: 40px 10px;
    }

    .card-carousel-interest {
        height: 100px !important;
    }

    .card-carousel-interest .display-4 {
        font-size: 60px !important;
    }

    /* ======== INFORMASI TERBARU ======== */
    .swiper-slide {
        width: 230px !important;
    }

    .swiper-slide img {
        width: 220px !important;
    }

    .swiper-slide p {
        font-size: 12px !important;
    }

    /* ======== FOOTER ======== */
    footer h3 {
        font-size: 18px !important;
    }

    footer p,
    footer a {
        font-size: 12px !important;
    }

    table td {
        font-size: 12px !important;
    }

    .footer-icon a i {
        font-size: 18px !important;
    }

    /* ======== BUTTON BACK TO TOP ======== */
    #btn-back-to-top {
        width: 35px;
        height: 35px;
        bottom: 20px;
        right: 20px;
    }

    #btn-back-to-top svg {
        width: 18px;
    }
}


/* 768px */
@media (min-width: 768px) {
    .swiper-slide {
        min-width: 350px;
    }

    .timeline::before {
        left: 50px;
    }
    .timeline .timeline-img {
        left: 50px;
    }
    .timeline .timeline-content {
        max-width: 100%;
        width: auto;
        margin-left: 70px;
    }
    .timeline .timeline-item:nth-child(even) .timeline-content {
        float: none;
    }
    .timeline .timeline-item:nth-child(odd) .timeline-content::after {
        content: "";
        position: absolute;
        border-style: solid;
        width: 0;
        height: 0;
        top: 30px;
        left: -15px;
        border-width: 10px 15px 10px 0;
        border-color: transparent #f5f5f5 transparent transparent;
    }
}


/* 425px */
@media (max-width: 425px) {
    .card-produk{
        border: none;
        margin-left: 30px !important;
        margin-right: 30px !important;
        text-align: center;
    }
    .card-produk{
        background: transparent;
        margin-top: 100px;
    }
    .produk-img{
        max-width: 250px;
        height: auto;
        display: block;
        margin: 0 auto;
    }
    .slide{
        display: none;
    }
}

/* 1024px */
@media (max-width: 1024px) {
    .nav-link{
        margin: 0 !important;
    }
}

