@media (max-width:768px){

/* GLOBAL */

html,
body{
    overflow-x:hidden;
}

*{
    box-sizing:border-box;
}

.site-width,
.site-canvas,
.site-canvas4,
.site-canvas5{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 ;
}

/* 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,0.82);

    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:18px;

    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:12px;

    background:
    rgba(79,70,255,0.08);
}

.mobile-menu a:hover{
    background:#f3f4f6;
}



/* HERO */

.hero-section{
    min-height:700px;
    padding:50px 16px 0px !important ;
    margin:0;
    
    background-position:center bottom !important;
}

.hero-section::before{


    background-position:center bottom !important;
    background: url('../images/hero-mobile.webp');
    min-width:0 !important;
    background-size: 110% !important;
}

.hero-section::after{
    background:none !important;
}

.hero-title{
    font-size:34px !important;
    line-height:1.1;
    
}

.hero-subheading{
    margin-top:0px;
    font-size:20px !important;
    line-height:1.2;
}

.hero-description{
    font-size:15px;
    background:rgba(255,255,255,0.18);
    padding-left:16px;
    padding-right:16px;
    backdrop-filter:blur(46px);
    -webkit-backdrop-filter:blur(26px);

    border:1px solid rgba(255,255,255,0.25);

    border-radius:8px;

    box-shadow:
    0 8px 24px rgba(15,23,42,0.08);

}


.logo-amil{
    width:60px !important;
    height:auto !important;
    margin-left:10px;
    
}

.logo-tahfiz{
    width:70px !important;
    height:auto !important;
}

.logo-lzs{
    width: auto !important;
    height:55px !important;
}

.hero-org-logos
    {

    display:flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    gap:5px !important;

    margin-top:-30px;
    
    }

.logo-bottom {

    width:38px !important;
    height:auto !important;
    display:block;

    margin-left:4px;
    margin-top:-8px;

    }

.hero-btn{
    width:70% !important;
    margin-top:180px !important;
    height:42px;
    font-size:15px !important;
    padding:0 !important;
}


/* SERVICES */

.service-grid{
    display:flex;
    flex-direction:column;
    gap:16px;
    align-items:center;
}

.service-card{
    width:70%;
    min-height:auto !important;
    height:auto !important;
    

}

.service-card img{
    height:100%;
}

.service-title h2{
    font-size:28px !important;
    margin-top:  -30px;
}

.service-content{
    padding:10px 12px 12px !important;

}
.service-content p{
    font-size:15px;
}

 .service-btn{
    width:100%;
    height:32px !important;
font-size:14px !important;
    padding:0 !important;
    margin-top:8px;
    border-radius:8px;
}


/* ZAKAT GRID */

.zakat-grid
    {
        display:grid;
        grid-template-columns:repeat(4,1fr) !important;
        gap:8px;
        margin-top:26px;
        margin-left: 10px;
        margin-right: 10px;
    }
.zakat-card
    {
        max-height:100px;
        width: 100%;
        padding:12px 6px;
        border-radius:18px;
    }
.zakat-icon
    {
        width:35px;
        height:35px;
        margin-bottom:8px;
    }
.zakat-card h3
    {
        font-size:11px;
        line-height:1.3;
    }

/* PAYMENT */

.payment-wrapper{
    display:flex !important;
    flex-direction:column !important;
}

.payment-left{
    padding-top:20px;
    margin-top:0 !important;
}

.payment-left h2{
    padding-left:8px;
    padding-right: 8px;
    font-size:26px;
    text-align: center;
    line-height: 1.1;
}

.payment-features li{
    font-size:14px;
    line-height: 0.3;
    text-align: center;
}

.payment-card{
    
    width:90% !important;
    margin:15px auto !important;
    padding:20px;
    margin:20px 0;
    background:#ffffff;

    border:1px solid #e5e7eb;

    box-shadow:
    0 10px 30px rgba(15,23,42,0.08),
    0 4px 12px rgba(15,23,42,0.04);

    border-radius:24px;
}

.payment-card h2{
    font-size:23px;
    line-height: 1.1;
    
}



.payment-section .nisab-card{
    grid-template-columns:1fr;
}

.form-progress
    {
        display:flex;
        align-items:flex-start;
        justify-content:space-between;
        width:100%;
        gap:6px;
        margin-bottom:16px;
    }
.progress-step
    {
        flex:1;
        min-width:0;
        font-size: 13px;
        text-align: center;
    }
.progress-line
    {
        flex:0 0 60px;
    margin-top:35px !important;

    }

.form-title
    {
        font-size:18px;
        text-align:center;
        margin-top:18px;
        margin-bottom: 18px;
    }

.radio-group
    {
        display:flex;
        gap:30px;
        margin-top: -20px !important;
    }

.payment-card input,
.payment-card select,
.payment-card textarea
    {
        width:100%;
        font-size:13px;
        border-radius:10px;
        position:relative;
        height:38px;
        font-family:'Poppins',sans-serif !important;
        font-size: 16px !important;
        padding-left:5px !important;
    }
    
    .payment-card label{
        margin-top: 7px;

    font-size:15px;

}

.payment-card input
{   
    overflow: hidden;
    text-overflow: ellipsis;
   
    margin-bottom: 2px;   
}

.zakat-row,
.form-row,
.income-row{

    display:flex;
    align-items:center;
    gap:10px;

    width:100%;
    overflow:hidden;

}

.zakat-row label,
.form-row label,
.income-row label{

    flex:1;
    min-width:0;

    font-size:16px !important;
    line-height:1.35;

}

.zakat-row .input-wrapper,
.form-row .input-wrapper,
.income-row .input-wrapper{

    width:120px;
    min-width:120px;
    flex-shrink:0;

}

.zakat-row input,
.form-row input,
.income-row input{

    width:100% !important;
    min-width:0 !important;

}

.zakat-row .amount,
.form-row .amount,
.income-row .amount{

    width:auto !important;
    min-width: 0 !important;
    font-size: 16px;
    overflow: hidden;
    text-align:right;
    flex-shrink:0;

}


.next-btn,
.submit-btn,
.back-btn{
    height:45px !important;
    min-height:45px !important;
    padding:0 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    font-size:17px !important;
    font-weight: 400 !important;
    letter-spacing: 2px !important;
    line-height:1 !important;
    box-sizing:border-box;
    border-radius: 8px;
    margin-top:10px;
    gap: 10px;
    border:2px solid #cbd5e1 !important;
    box-shadow:0 2px 8px rgba(15,23,42,0.08);

}
    
    .progress-step span{

        width:36px;

        height:36px;

        font-size:16px !important;
        

    }
    
    .progress-step p
    {

    font-size:11px;
    text-align:center;
    line-height:1.3;
    }

.step-buttons
    {
    display:flex;
    align-items: center;
    gap:4px !important;
    width: 100%;

    }

.payment-note
    {
        font-size:14px !important;
        line-height:1.1;
        text-align:center;
        padding:8px;
        margin: 4px;
    }

.akad-box
    {
    padding:22px 18px !important;
    border-radius:24px;
    min-height:auto;
    }
.akad-arabic
    {
    font-size:25px !important;
    margin-bottom:18px !important;
    line-height:1.6;
    }
.akad-text
    {
    font-size:16px !important;
    line-height:1.3 !important;
    }



/* TAULIAH */

@media (max-width:768px){

    .tauliah-section{
        padding:40px 20px;
    }

    .site-canvas4{
        margin:0 auto !important;
        width:100%;
    }

    .tauliah-grid{
        display:flex;
        flex-direction:column;
        gap:30px;
        min-width:unset;
    }

    .tauliah-text{
        flex:none;
        max-width:100%;
        padding-left:0 !important;
        text-align:center;
    }

    .tauliah-text h2{
        font-size:24px !important;
        line-height:1.1;
        letter-spacing:1.1 !important;
    }

    .tauliah-description{
        font-size:16px !important;
        line-height:1.1 !important;
    }

    .tauliah-link{
        display:inline-block;
        padding:12px 20px !important;
        font-size:16px !important;
    }

    .tauliah-image{
        width:100%;
        text-align:center;
    }

    .tauliah-image img{
        margin-top:-40px !important;
        width:100% !important;
        max-width:400px;
        height:auto;
        border-radius: 8px !important;
    }

}

/* FOOTER */

.main-footer{
    margin:0px !important;
}

.footer-container{
    flex-direction:column;
    padding:10px 10px !important;
}

.footer-left,
.footer-right{
    width:100%;
}

.footer-left h3{
    font-size:22px;
    margin-top: -80px !important;
    margin-left:-80px !important;
}

.footer-left p,
.footer-right p{
    font-size:14px;
    margin-left:-80px !important;
    line-height: 1 !important;
}

.footer-right p{
    margin-top: -100px !important;
    
}
.error-label{
    color:#b91c1c !important;
}

.error-field{
    border:1.5px solid #fca5a5 !important;
    background:#fef2f2 !important;
}

}