.button-wa {
    position: fixed; 
    bottom: 10%; 
    right: 5%; 
    z-index: 99999999;
}
.button-wa img {
    width: 70px !important;
}
.button-wa a {
    color: #ffffff;
    text-decoration: none;
    background: #003399; 
    padding: 5px 0 5px 10px; 
    border-radius: 20px;
}

.site-footer-primary-section-3 a {
    text-decoration: none;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.card-wrapper {
    width: calc(33.333% - 20px);
    max-width: 350px;
    padding: 10px 10px 20px 10px;
    background-color: #ffffffc9;
    border-radius: 15px;
    text-align: center;
}

@media (max-width: 1024px) {
    .card-wrapper {
        width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .card-wrapper {
        width: 100%;
    }
}

.card-container .card-wrapper img {
    border-radius: 10px 10px 0 0;
}

.card-container .card-wrapper p b {
    margin-top: 10px;
    text-align: center;
    display: block;
}

.card-container .card-wrapper a {
    background-color: #fad00f;
    border-radius: 10px;
    padding: 8px 18px;
    box-shadow: 0 3px #094d9e;
    transition: all 0.1s;
}

.card-container .card-wrapper a:active {
  box-shadow: 0 1px 0 #094d9e;
  top: 4px;
}

p, b, strong, ol li, ul li {
    font-family: "Poppins", sans-serif !important;
}

#subtitle {
    color: #ffffff !important;
    font-weight: 600;
    font-size: 22px;
}

#hero-text p {
    color: #ffffff !important;
    font-weight: 600;
}

#kebijakan {
    padding-bottom: 0;
}

#mitra-brand, #media, #proses-maklon {
    padding: 80px 0;
}

#proses-maklon img {
    width: 60%;
    margin: auto;
    display: block;
}

.slider {
    overflow: hidden;
    width: 100%;
    max-width: 1000px;
    margin: auto;
}

#mitra-brand .track {
    display: flex;
    gap: 40px;
    animation: scroll 180s linear infinite;
    width: max-content;
}

#mitra-brand .slider img {
    height: 170px;
}

#media .track {
    display: flex;
    gap: 60px;
    animation: scroll 30s linear infinite;
    width: max-content;
}

#sertifikat {
    padding: 30px 0;
}

#sertifikat .track {
    display: flex;
    animation: scroll 10s linear infinite;
    gap: 30px;
    width: max-content;
}

.slide {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide img {
    height: 100px;
    width: auto;
    display: block;
}

.slider:hover .track {
    animation-play-state: paused;
}

#kontak-kami-home {
    background-color: #094d9e !important;
}

#image-tentang-cmm-1,
#image-tentang-cmm-2 {
    display: none;
}

#hero-section {
    display: flex;
    position: relative;
}

#hero-section img {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 800px;
    max-width: none;
    right: calc((100vw - 1140px) / -2); 
    border-radius: 15px;
    z-index: 1;
}

#hero-text {
    max-width: 520px;
    padding-right: 0;
    position: relative;
    z-index: 2;
}

#foto-hero-mobile {
    display: none;
}

#text-sales-page {
    font-size: 34px !important;
    margin-bottom: 30px !important;
}

h2, h3, h4, h5, h6, #title-about-product, #title-about-product-2 {
    line-height: 1.5 !important;
    font-size: 26px !important;
    font-family: 'Rubik', sans-serif !important;
    text-transform: uppercase !important;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media only screen and (min-width: 991px) {
    #image-cmm-1 {
        margin-top: 220px;
    }
}
@media only screen and (max-width: 768px) {
    h2, h3, h4, h5, h6, #title-about-product, #title-about-product-2 {
        font-size: 24px !important;
    }
    p, ol li, ul li {
        font-size: 14px !important;
    }
    ol li, ul li {
        margin-left: -20px;
    }
    .button-wa img {
        width: 45px !important;
    }

    .button-wa a {
        font-size: 14px;
    }
    #tentang-cmm {
        margin-top: 10px;
        margin-bottom: 10px;
    }
    #tentang-maklon {
        margin-bottom: 0;
        padding-bottom: 0;
    }
    #subtitle {
        font-size: 16px;
    }
    #mitra-brand, #media, #proses-maklon {
        padding: 50px 0;
    }
    #proses-maklon img {
        width: 90%;
    }
    #sertifikat {
        padding: 20px 0;
    }
    .track {
        gap: 30px;
    }
    .slide img {
        height: 65px;
    }
    #title-visi-misi, #list-menu-footer {
        display: none;
    }
    #section-about-product {
        background-color: #fad00f;
    }
    #section-about-product-2 {
        background-color: #094d9e;
        color: #ffffff;
    }
    #section-about-quality {
        background-color: #f1f1f1;
    }
    #section-kebijakan-halal {
        background-color: #fad00f;
    }
    #text-kebijakan-halal {
        margin-left: -20px;
    }
    footer #deskripsi-footer {
        margin-left: -10px;
        padding-right: 10px;
    }
    #image-tentang-cmm-1,
    #image-tentang-cmm-2 {
        display: block;
    }
    #hero-section {
        display: block;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    #hero-text {
        width: 100%;
    }
    #hero-section img {
        display: none;
    }
    #hero-section h1 {
        margin-top: 20px;
    }
    #foto-hero-mobile {
        margin-top: -85px;
        display: block;
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(-50vw + 50%);
        height: auto;
    }
    #image-cmm-1 {
        margin-top: 20px;
    }
}

.why-us-wrapper {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

.why-us-card {
    flex: 0 0 100%;
    max-width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    padding: 25px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);

    transition: 0.3s;
}

@media (min-width: 1024px) {
    .why-us-card {
        flex: 0 0 calc(33.333% - 20px) !important;
        max-width: calc(33.333% - 20px) !important;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .why-us-card {
        flex: 0 0 calc(50% - 20px) !important;
        max-width: calc(50% - 20px) !important;
    }
}

@media (max-width: 767px) {
    .why-us-card {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

.why-us-icon {
    font-size: 28px;
    margin-bottom: 12px;
}

.why-us-card-title {
    font-weight: 600;
    margin-bottom: 8px;
}

.why-us-desc {
    font-size: 14px;
    color: #666;
}

.why-us-section {
    margin: 40px 0;
}

.why-us-container, .address-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

@media (min-width: 576px) {
    .why-us-container, .address-container { max-width: 540px; }
}

@media (min-width: 768px) {
    .why-us-container, .address-container { max-width: 720px; }
}

@media (min-width: 992px) {
    .why-us-container, .address-container { max-width: 960px; }
}

@media (min-width: 1200px) {
    .why-us-container, .address-container { max-width: 1140px; }
}