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

.main-header{
    position:fixed;
    top:0;
    height:72px;
    overflow:visible;
    
    background:rgba(255,255,255,0.72);

    backdrop-filter:blur(20px);
    -webkit-backdrop-filter:blur(20px);

    border-bottom:1px solid rgba(255,255,255,0.45);

    box-shadow:
    0 8px 30px rgba(15,23,42,0.06);

    z-index:9999;

}

.header-inner{
    padding:0 16px;
}

.brand img{
    width:48px;
}

.brand-text span{
    font-size:20px;
}

.brand-text small{
    font-size:14px;
}

.main-nav,
.cta-btn{
    display:none !important;
}

.menu-toggle{
    display:flex !important;

    width:42px;
    height:42px;

    align-items:center;
    justify-content:center;

    border:none;
    background:none;

    font-size:28px;
    cursor:pointer;

    color:#111827;
}

/* Mobile dropdown */

.mobile-menu{
 position:absolute;

    top:62px;

    right:10px;

    width:180px;

    display:none;

    flex-direction:column;

    padding:6px;

    gap:4px;

    background:#ffffff;


    background: rgba(255,255,255,.55)!important;

    backdrop-filter:blur(24px);
    -webkit-backdrop-filter:blur(24px);

    border:1px solid rgba(255,255,255,0.55);

    box-shadow:
    0 12px 40px rgba(15,23,42,0.10);

    border-radius:10px ;

    z-index:9999;
}

.mobile-menu.active{
    display:flex;
}

.mobile-menu a{
   color:#111827;

    text-decoration:none;

    font-size:13px;

    font-weight:600;

    padding:8px 12px;

    border-radius:10px;

    background: rgba(255,255,255,.98)!important; /* lebih solid */
    
}

.mobile-menu a:hover{
    background:#f3f4f6;
}


    
    /*========================================
PENOLONG AMIL
========================================*/

#penolong-amil .about-grid{
    display:flex;
    flex-direction:column;
}

#penolong-amil .about-right{
    order:1;
}

#penolong-amil .about-left{
    order:2;
}

#penolong-amil .penolong-bottom{
    order:3;
}

#penolong-amil .penolong-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:16px;
}

#penolong-amil .resit-box{
    order:2;
    margin-top:20px;
}


  /* SIDDIK sahaja */
    #skim-siddik .about-grid{
        display:flex;
        flex-direction:column;
    }

    #skim-siddik .about-right{
        order:1;
    }

    #skim-siddik .about-left{
        order:2;
    }

    #skim-siddik .about-bottom{
        order:3;
    }

    /* Step jadi 2 kolum */
    #skim-siddik .step-grid{
        width:94%;
        display:grid;
        grid-template-columns:repeat(2,1fr);
        gap:15px;
        margin:20px auto 0;
    }

/*khairat*/
#khairat .about-grid{
        display:flex;
        flex-direction:column;
    }

    #khairat .about-right{
        order:1;
    }

    #khairat .about-left{
        order:2;
    }

    #khairat .about-bottom{
        order:3;
    }

    #khairat .step-grid{
        width:90%;
         display:grid;
        grid-template-columns:repeat(2,1fr);
        gap:15px;
        margin:20px auto 0;
    }



.page-title{
    padding-top: 0px !important;
    margin-top: 80px !important;
    margin-bottom: 0px !important;
    font-size: 18px !important;
    width: 96% !important;
}

.site-canvas{
    width:94%;
    margin:20px auto !important;
    
    border-width:1px;
  
}


.impact-section{
    margin-top:-30px;
}
.about-grid{
    grid-template-columns:1fr;
    gap:25px;
    padding:5px 10px !important;
    margin-top:0px;
}

.about-left{
    order:1;
}

.about-right{
    order:2;
    width: 95% !important;
    
    display:inline-block;

    padding:10px 10px;

    background:#fff ;

    border:1px solid #6b7280;

    border-radius:8px;

    color:#374151;
    font-weight:200;
    letter-spacing:.05em;

    box-shadow:
    0 10px 25px rgba(37,99,235,.12);
}

.about-image{
    width:90%;
    border-width:5px;
    margin-top:10px !important;
    margin-bottom: 10px !important;
}

/* Typography */

.section-label{
    
    font-size:18px;
    padding:10px !important;
    margin-bottom:15px;
    letter-spacing:.04em;
    border-radius: 8px;
    line-height:1 ;
}


.about-right h2,

.impact-header h2,
.about-cta h2{
    font-size:22px !important;
    line-height:1.0;
}

.about-right p,
.impact-header p,
.resit-box p,
.impact-highlight-content p{
    font-size:15px !important;
    line-height:1;
    font-weight: 100 !important;
}
.resit-box p{
    margin-top:10px !important;
}
.penolong-bottom h2{
    font-size:18px !important;
   
    margin-bottom:20px !important;
    line-height: 1;
    color: #374151;
}


.permohonan-title{
    font-size:14px;
    line-height: 1;
}

/* Penolong */

.penolong-bottom{
    margin-top:-10px;
    
    border:1px solid #6b7280;

    border-radius:8px;

    background-color:#fff;
    font-size:14px;
    font-weight:600;

    box-shadow:
    0 4px 12px rgba(37,99,235,.08);
    padding:10px !important;
    
}

.penolong-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr) !important; 
    gap:8px !important;
    border-radius: 8px !important;
    color: #374151;
}
.penolong-card:last-child{
    grid-column:1 / -1;   /* Span kedua-dua column */
}

.penolong-card{
    min-height:50px;
    font-size:14px !important;
    padding:8px !important;
    border-radius: 8px !important;
}

.resit-box{
    padding:10px !important;
    border-radius: 8px !important;
}

.resit-box h3{
    font-size:20px;
}


.tahfiz-section{
    background: #fff!important;
    border:1px solid #6b7280;

    border-radius:8px;

    background-color:#fff;
    font-size:14px;
    font-weight:600;

    box-shadow:
    0 4px 12px rgba(37,99,235,.08);
    padding:10px !important;
    width:95%;
    
    margin:0px auto 0 !important;
    
    
}
/* Impact */

.impact-header{
    margin-bottom:20px;
    margin-left: 10px !important;
    margin-right: 10px !important;
}



.impact-banner{
    overflow:visible !important;
}

.impact-image{
    width:100% !important;
    height:auto !important;
    object-fit:contain !important;
    margin-bottom: 10px !important;
}

.impact-grid{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:24px;
    margin-top: 20px;
    margin-left:10px;
    margin-right: 10px;
}

.impact-card{
    padding:28px 20px;
}


.impact-line{
    margin-top:6px !important;
    margin-bottom:6px !important ;
    height:1px;
}

.impact-icon{
    width:36px !important;
    height:36px!important;
}

.svg-icon{
    width:36px;
    height:36px;
}

.impact-card h3{
    font-size:17px !important;
    margin-top:6px !important;
    margin-bottom: 5px !important;
}

.impact-card p{
    font-size:14px !important;
}

.impact-highlight{
   
    
    gap:20px;
    padding:30px 20px;
    width: 85% !important;
     margin:20px auto 0 !important;
    
     display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    text-align:center !important;
}

.impact-highlight-circle{
    width:90px;
    height:90px;
}

.highlight-svg{
    width:46px;
    height:46px;
}

.impact-highlight-content h3{
    font-size:20px !important;
}

/* Step */

.step-grid{
    grid-template-columns:1fr;
    gap:20px;
}

.step-card{
    padding:10px 10px;
}

.step-circle{
    width:32px;
    height:32px;
    font-size:24px;
}

.step-card h3{
    font-size:16px;
    line-height:1;
}

.step-card p{
    font-size:13px;
    line-height:1;
}

.download-icon{
    width:30px;
    height:30px;
}

.download-icon svg{
    width:36px;
    height:36px;
}
#info-siddik {
    margin-top:-30px !important;
}
/* CTA */

.about-cta{
    padding:60px 20px;
}

.about-cta p{
    font-size:17px;
}

.hero-buttons{
    flex-direction:column;
    width:100%;
}

.hero-buttons a{
    width:100%;
    justify-content:center;
}

#khairat{
    margin-top:-30px;
}
#khairat .about-grid{
    margin-top: 10px !important;
    padding: 10px 10px !important;
    gap: 15px !important;
}

/* rapatkan container */
#khairat .site-canvas{
    margin: 0 auto !important;
    padding: 10px 0 !important;
}


/* kalau masih longgar, kecilkan section padding */
.about-section{
    padding: 10px 0 20px !important;
    background-color: #fff !important;
}

/*========================================
FLOAT BUTTON
========================================*/

.bayar-float,
.whatsapp-float{

    position:fixed;
    right:20px;

    display:flex;
    align-items:center;
    gap:10px;

    padding:4px 10px 4px 16px;

    text-decoration:none;

    border-radius:999px;

    /* Glass Background */
    background:rgba(255,255,255,.65);

    backdrop-filter:blur(30px) saturate(220%);
    -webkit-backdrop-filter:blur(30px) saturate(220%);

    box-shadow:
        0 12px 35px rgba(18,53,120,.10),
        0 4px 12px rgba(37,99,235,.06),
        inset 0 1px 0 rgba(255,255,255,.95),
        inset 0 -1px 0 rgba(255,255,255,.15);

    border-radius:999px;

    overflow:hidden;

    transition:.25s ease;

    z-index:9999;
}

/* ==========================
   Gradient Border
========================== */

.bayar-float::after,
.whatsapp-float::after{

    content:"";

    position:absolute;

    inset:0;

    border-radius:inherit;

    padding:2px;

    background:linear-gradient(
        90deg,
        #123578,
        #2563eb,
        #c8a650
    );

    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);

    -webkit-mask-composite:xor;
    mask-composite:exclude;

    pointer-events:none;
}

/* ==========================
   Glass Reflection
========================== */

.bayar-float::before,
.whatsapp-float::before{

    content:"";

    position:absolute;

    top:2px;
    left:8px;
    right:8px;

    height:45%;

    border-radius:999px;

    background:linear-gradient(
        180deg,
        rgba(255,255,255,.95),
        rgba(255,255,255,.45),
        transparent
    );

    pointer-events:none;
}

/* Position */

.bayar-float{
    bottom:20px;
}


/* Text */

.float-text{
    font-size:14px;
    font-weight:700;
    color:#123578;
    white-space:nowrap;
    letter-spacing:.2px;
}

/* Icon */

.float-icon{
    width:46px;
    height:46px;
    object-fit:contain;
    display:block;
    flex-shrink:0;
}

/* Tap */

.bayar-float:active,
.whatsapp-float:active{

    transform:scale(.96);

}

/*========================================
PERKHIDMATAN ZAKAT BERKAITAN (MOBILE ONLY)
========================================*/

#related{

    margin-top:0px !important;
    background-color: white !important;

}

.related-ribbon{

    width:94%;
    margin:0 auto !important;
    justify-content: center !important;
    padding:10px;

    background:#fff;

    border:1px solid #E9EEF7;

    border-radius:22px;

    box-shadow:
        0 10px 30px rgba(15,23,42,.06);

}

.related-ribbon h2{

    font-size:20px !important;

    font-weight:800;
    justify-items: center !important;

    text-align:center !important;

    color:#13294B;

    margin-bottom:20px;

    letter-spacing:-.02em;

}

/*==============================
GRID
==============================*/

.ribbon-nav{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:8px;

    align-items:stretch;

}

/*==============================
CARD
==============================*/

.ribbon-nav a{

    position:relative;

    display:flex;

    align-items:center;

    gap:8px;

    padding:10px;

    height:40px !important;

    background:#F8FAFD;

    border:1px solid #E7EDF7;

    border-radius:18px;

    text-decoration:none;

    overflow:hidden;

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease,
        background .18s ease;

}

/* Gradient Accent */

.ribbon-nav a::before{

    content:"";

    position:absolute;

    left:0;
    top:0;

    width:4px;
    height:100%;

    border-radius:18px 0 0 18px;

    background:linear-gradient(
        180deg,
        #2563EB,
        #123578,
        #C8A650
    );

    opacity:0;

    transition:.18s;

}

/* Arrow */

.ribbon-nav a::after{

    content:"›";

    margin-left:auto;

    font-size:20px;

    font-weight:700;

    color:#C8A650;

}

/*==============================
TAP EFFECT
==============================*/

.ribbon-nav a:active{

    transform:scale(.97);

    background:#fff;

    border-color:#2563EB;

    box-shadow:
        0 8px 18px rgba(37,99,235,.12);

}

.ribbon-nav a:active::before{

    opacity:1;

}

/* Accessibility */

.ribbon-nav a:focus-visible{

    outline:none;

    border-color:#2563EB;

    box-shadow:
        0 0 0 3px rgba(37,99,235,.12);

}

.ribbon-nav a:focus-visible::before{

    opacity:1;

}

/*==============================
ICON
==============================*/

.ribbon-nav svg{

    width:28px !important;

    height:28px !important;

    color:#2563EB;

    flex-shrink:0;

}

/*==============================
TEXT
==============================*/

.ribbon-nav span{

    font-size:15px !important;

    font-weight:700;

    line-height:1.3;

    color:#13294B;

}

/*==============================
REMOVE HTML ARROW
==============================*/

.ribbon-arrow{

    display:none !important;

}

/*==============================
LAYOUT
==============================*/

/* Kalkulator */

.ribbon-nav a[href="kira-zakat.php"]{

    grid-column:1 / -1;

    width:84%;

    justify-self:center;

}

/* Penolong Amil */

.ribbon-nav a[href="info.php#penolong-amil"]{

    grid-column:1 / -1;

    width:84%;

    justify-self:center;

}

/* Skim Khairat */

.ribbon-nav a[href="info.php#khairat"]{

    grid-column:1 / -1;

    width:84%;

    justify-self:center;

}
}
