html,
body{
    margin:0;
    padding:0;
    overflow-x:hidden;
    width:100%;
}
*{
    box-sizing:border-box;
}
body{
font-family:Arial;
margin:0;
}



/* NAVBAR */

/* ================================= */
/* NAVBAR */
/* ================================= */

.navbar{

display:flex;

align-items:center;

justify-content:space-between;

padding:6px 25px;

background:white;

position:relative;

z-index:1000;

}

/* LOGO AREA */

.logo-area{

display:flex;

align-items:center;

justify-content:flex-start;

flex:1;

}

/* FULL LOGO */

.full-logo{

height:110px;

width:auto;

max-width:520px;

object-fit:contain;

display:block;

}

/* MENU */

.menu{

display:flex;

align-items:center;

margin-left:auto;

}

/* TABLET */

@media(max-width:900px){

.full-logo{

height:85px;

max-width:400px;

}

}

/* MOBILE */

@media(max-width:600px){

.full-logo{

height:68px;

max-width:270px;

}

}


.logo{
width:100px;
margin-right:10px;
}

.logo-text h1{
margin:0;
color:#0F6D3C;
}

.logo-text p{
margin:0;
font-size:12px;
}

.menu a{
margin-left:25px;
text-decoration:none;
color:#333;
}

.menu a:hover{
color:#0F6D3C;
}



/* HERO */

.hero{

height:700px;

background-image:url("images/hero.webp");
background-size:cover;
background-position:center;

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

position:relative;

}


/* GREEN OVERLAY */




/* HERO CONTENT */

.hero-content{
    position:relative;
    max-width:1300px;
    width:100%;
    display:flex;
    justify-content:flex-start;
    padding-left:0px;
}


/* SLIDES */

.hero-slide{

display:none;
align-items:center;
gap:60px;

}

.hero-slide.active{

display:flex;

}


/* BIGGER POSTER */

.hero-poster img{

width:520px;
border-radius:12px;

box-shadow:0 20px 50px rgba(0,0,0,0.4);

}


/* BIGGER GREY BOX */

.hero-text{

background:#f3f3f3a9;

padding:20px;

border-radius:12px;

max-width:520px;

}


.hero-text h2{

margin-top:0;
font-size:36px;
color:#0a4c2a;

}

.hero-text p{

font-size:17px;
line-height:1.6;

}


/* BUTTON */

.btn{

background:#1F8F4E;
padding:14px 30px;
color:white;
border-radius:30px;
text-decoration:none;
display:inline-block;
margin-top:15px;

}


/* FADE INTO NEXT SECTION */

.hero::after{

content:"";

position:absolute;
bottom:0;

width:100%;
height:120px;

background:linear-gradient(
transparent,
white
);

}




/* CONTAINER */

.container{
max-width:1200px;
margin:auto;
}



/* ABOUT */

.about{

padding:100px 20px;
background:white;

}

.about-container{

max-width:1100px;
margin:auto;

}

.about h2{

text-align:center;
font-size:36px;
margin-bottom:30px;

}

.about-intro{

text-align:center;
line-height:1.7;
margin-bottom:60px;
color:#555;

}



/* VISION + MISSION */

.about-grid{

display:flex;
gap:30px;
margin-bottom:60px;

}

.about-card{

flex:1;
background:#f7f7f7;

padding:30px;

border-radius:10px;

border-top:4px solid #1F8F4E;

}

.about-card h3{

margin-top:0;
color:#0F6D3C;

}



/* AIMS */

.aims-section{

margin-bottom:60px;

}

.aims-section h3{

margin-bottom:20px;
color:#0F6D3C;

}

.aims-section ul{

padding-left:20px;
line-height:1.8;

}
.aims-container{

display:flex;

align-items:center;

gap:40px;

margin-top:40px;

}


.aims-text{

flex:1;

}


.aims-image{

flex:1;

}


.aims-image img{

width:100%;

border-radius:10px;

box-shadow:0 10px 30px rgba(0,0,0,0.15);

}
/* AIMS SECTION */

.aims-container{

display:flex;
align-items:center;
gap:50px;
margin-top:80px;

}

.aims-text{

flex:1;

}

.aims-small{

color:#2c8f88;
font-weight:600;
margin-bottom:10px;

}

.aims-title{

font-size:40px;
margin-bottom:15px;

}

.aims-line{

width:120px;
height:4px;
background:#1F8F4E;
margin-bottom:25px;

}


/* BULLET LIST */

.aims-list{

list-style:none;
padding:0;
margin-bottom:30px;

}

.aims-list li{

margin-bottom:15px;
padding-left:35px;
position:relative;

}


/* GREEN CHECK ICON */

.aims-list li::before{

content:"✔";

position:absolute;
left:0;
top:0;

color:white;
background:#1F8F4E;

width:22px;
height:22px;

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

border-radius:50%;

font-size:14px;

}


/* DESCRIPTION */

.aims-desc{

margin-bottom:30px;
line-height:1.6;

}


/* BUTTON */

.aims-btn{

background:#2c8f88;

color:white;

padding:14px 40px;

border-radius:30px;

text-decoration:none;

display:inline-block;

}


/* IMAGE */

.aims-image{

flex:1;

}

.aims-image img{

width:100%;
border-radius:10px;

box-shadow:0 10px 30px rgba(0,0,0,0.15);

}


/* FOUNDATION */

.foundation-section h3{

color:#0F6D3C;

}

.foundation-section ul{

padding-left:20px;
line-height:1.8;

}
.foundation{

padding:100px 20px;
background:#f7f7f7;

}

.foundation-container{

max-width:1100px;
margin:auto;
text-align:center;

}

.foundation-small{

color:#1F8F4E;
font-weight:600;
margin-bottom:10px;

}

.foundation h2{

font-size:36px;
margin-bottom:20px;

}

.foundation-intro{

max-width:700px;
margin:auto;
margin-bottom:50px;
color:#555;
line-height:1.7;

}


/* GRID */

.foundation-grid{

display:flex;
gap:30px;
justify-content:center;

}


/* CARDS */

.foundation-card{

background:white;

padding:30px;

border-radius:10px;

width:250px;

text-align:center;

box-shadow:0 8px 25px rgba(0,0,0,0.08);

transition:0.3s;

}

.foundation-card:hover{

transform:translateY(-6px);
box-shadow:0 12px 30px rgba(0,0,0,0.15);

}

.foundation-card h3{

margin-bottom:5px;
color:#0F6D3C;

}
.foundation-logo{

width:70px;

margin-bottom:15px;

object-fit:contain;

}


/* EVENTS */

.events{

padding:100px 20px;
background:#f7f7f7;

}

/* HEADER */

.events-header{

text-align:center;
margin-bottom:60px;

}

.events-small{

color:#1F8F4E;
font-weight:600;
margin-bottom:10px;

}

.events-header h2{

font-size:36px;
margin-bottom:15px;

}

.events-line{

width:120px;
height:4px;
background:#1F8F4E;
margin:auto;

}



/* LAYOUT */

.events-container{

max-width:1200px;
margin:auto;
display:flex;
gap:40px;
align-items:flex-start;

}



/* LEFT POSTER */

.events-image img{

width:500px;
border-radius:10px;

}



/* RIGHT LIST */

.events-list{

flex:1;
display:flex;
flex-direction:column;
gap:25px;

}



/* EVENT CARD */

.event-card{

background:white;
padding:25px;
border-radius:14px;

display:flex;
justify-content:space-between;
align-items:center;

box-shadow:0 8px 25px rgba(0,0,0,0.08);

transition:all 0.3s ease;

}

.event-card:hover{

transform:translateY(-5px);
box-shadow:0 12px 35px rgba(0,0,0,0.15);

}



.event-info h3{

margin:0 0 10px 0;

}



/* DATE + LOCATION */

.event-meta{

display:flex;
gap:20px;
font-size:14px;
color:#555;

}



/* BUTTON */

.event-btn{

background:#2c8f88;
color:white;
padding:12px 24px;
border-radius:30px;
text-decoration:none;

}




/* CONTACT */

.contact{

padding:100px 20px;
background:#f7f7f7;

}


/* HEADER */

.contact-header{

text-align:center;
margin-bottom:50px;

}

.contact-small{

color:#1F8F4E;
font-weight:600;
margin-bottom:10px;

}

.contact-header h2{

font-size:36px;
margin-bottom:15px;

}

.contact-line{

width:120px;
height:4px;
background:#1F8F4E;
margin:auto;

}



/* LAYOUT */

.contact-container{
display:flex;
justify-content:space-between;
align-items:flex-start;
gap:60px;
max-width:1100px;
margin:auto;
}



/* CONTACT CARDS */

.contact-info{
display:flex;
justify-content:center;
gap:30px;
margin-bottom:40px;
}

.contact-card{
background:white;
padding:25px;
border-radius:12px;
width:220px;
text-align:center;
box-shadow:0 6px 20px rgba(0,0,0,0.08);
}



/* FORM */

.contact-form{
flex:2;
background:white;
padding:40px;
border-radius:12px;
box-shadow:0 8px 25px rgba(0,0,0,0.08);
}

.contact-form input,
.contact-form textarea{
width:100%;
padding:14px;
margin-bottom:18px;
border-radius:6px;
border:1px solid #ddd;
font-size:15px;
}

.contact-form textarea{
height:120px;
}

.contact-form button{
width:180px;
padding:12px;
border-radius:30px;
background:#1F8F4E;
color:white;
border:none;
}



/* SOCIAL */

.contact-social{
flex:1;
}

.contact-social h3{
margin-bottom:20px;
color:#0F6D3C;
}

.social-item{
display:flex;
align-items:center;
gap:12px;
margin-bottom:15px;
}

.social-item img{
width:26px;
height:26px;
}

.contact-detail{
display:flex;
align-items:center;
gap:10px;
margin-bottom:15px;
}

.contact-detail span{
font-size:18px;
color:#1F8F4E;
}

.follow-title{
margin-top:30px;
}

/* FOOTER */

footer{
width:100%;
background:#166c3a;
color:white;
text-align:center;
padding:25px 0;
margin-top:80px;
}
.page-hero{
background:#0F6D3C;
color:white;
text-align:center;
padding:80px 20px;
}
.members-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:15px;
}
.section-title{

font-size:34px;

color:#0F6D3C;

margin-bottom:10px;

}

.section-line{

width:80px;

height:4px;

background:#1F8F4E;

margin-bottom:30px;

border-radius:2px;

}
.grid-2{

display:grid;

grid-template-columns:1fr 1fr;

gap:40px;

}

.info-card{

background:white;

padding:35px;

border-radius:12px;

box-shadow:0 8px 25px rgba(0,0,0,0.08);

}

.info-card h3{

color:#1F8F4E;

margin-bottom:15px;

}
.aim-list{

list-style:none;

padding:0;

}

.aim-list li{

margin-bottom:15px;

padding-left:25px;

position:relative;

}

.aim-list li::before{

content:"✔";

position:absolute;

left:0;

color:#1F8F4E;

font-weight:bold;

}
.members-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

gap:20px;

}

.member-box{

background:white;

padding:15px 20px;

border-radius:8px;

box-shadow:0 6px 20px rgba(0,0,0,0.06);

}
/* DROPDOWN */

.dropdown{
position:relative;
display:inline-block;
}

.dropdown-menu{

position:absolute;

top:100%;
margin-top:8px;

left:0;

background:white;

min-width:220px;

border-radius:8px;

box-shadow:0 10px 25px rgba(0,0,0,0.15);

display:none;

flex-direction:column;

z-index:1000;

}

.dropdown-menu a{

display:block;

padding:12px 18px;

text-decoration:none;

color:#333;

}

.dropdown-menu a:hover{



color:#0F6D3C;

}
/* HERO CTA */

.hero-cta{

position:absolute;

bottom:-30px;

left:50%;

transform:translateX(-50%);

background:white;

padding:18px 30px;

border-radius:12px;

box-shadow:0 10px 30px rgba(0,0,0,0.15);

display:flex;

align-items:center;

gap:20px;

z-index:10;

}


/* PROFESSIONAL HERO CTA */

.hero-cta{

position:absolute;

bottom:-40px;

left:50%;

transform:translateX(-50%);

background:rgba(255,255,255,0.95);

backdrop-filter:blur(8px);

padding:25px 35px;

border-radius:14px;

box-shadow:0 15px 40px rgba(0,0,0,0.15);

display:flex;

align-items:center;

justify-content:space-between;

gap:40px;

max-width:750px;

width:90%;

z-index:10;

}


/* TEXT */

.hero-cta-text h3{

margin:0;

color:#0F6D3C;

font-size:22px;

}

.hero-cta-text p{

margin:5px 0 0;

color:#555;

font-size:14px;

}


/* BUTTON */

.hero-cta-btn{

background:linear-gradient(135deg,#1F8F4E,#0F6D3C);

color:white;

padding:12px 28px;

border-radius:30px;

text-decoration:none;

font-weight:600;

transition:all 0.3s ease;

white-space:nowrap;

}

.hero-cta-btn:hover{

transform:translateY(-3px);

box-shadow:0 10px 25px rgba(0,0,0,0.2);

}
/* ================================= */
/* ISLAMIC PATTERN BACKGROUND */
/* ================================= */

.pattern-section{

position: relative;

/* your pattern image */
background-image: url("images/pattern.webp");

/* IMPORTANT: makes it cover full section */
background-size: cover;

/* center the pattern */
background-position: center;

/* no repeating */
background-repeat: no-repeat;

}


/* SOFT WHITE OVERLAY (VERY IMPORTANT) */

.pattern-section::before{

content:"";

position:absolute;

top:0;
left:0;
right:0;
bottom:0;

/* this makes pattern very subtle */
background:rgba(255,255,255,0.96);

}


/* KEEP CONTENT ABOVE OVERLAY */

.pattern-section > *{

position:relative;

z-index:1;

}

/* =============================== */
/* FIND MASJID SECTION */
/* =============================== */

.find-masjid{

padding:100px 20px;

/* standout gradient */
background:linear-gradient(135deg,#0F6D3C,#1F8F4E);

color:white;

}

.find-container{

max-width:1200px;
margin:auto;

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

}

/* TEXT */

.find-text{
flex:1;
}

.find-small{
font-weight:600;
margin-bottom:10px;
opacity:0.9;
}

.find-text h2{
font-size:40px;
margin-bottom:15px;
}

.find-line{
width:120px;
height:4px;
background:white;
margin-bottom:25px;
}

.find-text p{
line-height:1.7;
margin-bottom:25px;
}

/* BUTTON */

.find-btn{

background:white;
color:#0F6D3C;

padding:14px 35px;

border-radius:30px;

text-decoration:none;
font-weight:600;

transition:0.3s;

}

.find-btn:hover{

background:#e6f5ec;
transform:translateY(-3px);

}

/* IMAGE */



/* =============================== */
/* FIND HALAAL SECTION */
/* =============================== */

.find-halal{

padding:100px 20px;

/* different color from masjid */
background:linear-gradient(135deg,#2c8f88,#1f6f6a);

color:white;

}

.find-halal .find-line{
background:white;
}

.find-halal .find-btn{

background:white;
color:#1f6f6a;

}

.find-halal .find-btn:hover{

background:#e6f7f6;

}

/* FILTER AREA */

.masjid-filter{

display:flex;
justify-content:center;
align-items:center;
gap:15px;
flex-wrap:wrap;

margin-bottom:40px;

}

/* SEARCH + SELECT */

.masjid-filter input,
.masjid-filter select{

padding:14px 18px;

border-radius:30px;

border:1px solid #ddd;

background:white;

font-size:14px;

outline:none;

min-width:220px;

box-shadow:0 4px 15px rgba(0,0,0,0.05);

transition:0.3s;

}

/* FOCUS */

.masjid-filter input:focus,
.masjid-filter select:focus{

border-color:#1F8F4E;

box-shadow:0 6px 20px rgba(31,143,78,0.18);

}

/* MOBILE */

@media(max-width:700px){

.masjid-filter{

flex-direction:column;

align-items:stretch;

}

.masjid-filter input,
.masjid-filter select{

width:100%;

min-width:100%;

}

}

/* ===================================== */
/* MOBILE RESPONSIVE */
/* ===================================== */

.menu-toggle{

display:none;
font-size:32px;
cursor:pointer;
color:#0F6D3C;

}


/* MOBILE */

@media(max-width:900px){

/* NAVBAR */

.navbar{

padding:15px 20px;
position:relative;
flex-wrap:wrap;

}

.menu-toggle{

display:block;

}

.menu{

display:none;

flex-direction:column;

width:100%;

background:white;

padding:20px 0;

margin-top:15px;

border-top:1px solid #eee;

}


.show-menu{

display:flex;

}


/* DROPDOWN */

@media(max-width:900px){

    .dropdown{
        width:100%;
    }

    .dropdown-menu{
        position:static;
        display:none;
        margin:8px 0 8px 0;
        padding:8px;
        background:rgba(255,255,255,.12);
        backdrop-filter:blur(10px);
        border-radius:12px;
        box-shadow:none;
    }

    .show-dropdown{
        display:flex;
        flex-direction:column;
        gap:2px;
    }

    .dropdown-menu a{
        color:white !important;
        text-align:center;
        margin:0 !important;
        padding:10px 15px !important;
        border-radius:8px;
        font-size:15px;
        line-height:1.2;
    }

    .dropdown-menu a:hover{
        background:rgba(255,255,255,.15);
    }
}


/* HERO */

.hero{

height:auto;
padding:140px 20px 120px;

}




/* HERO CTA */

/* ================================= */
/* MOBILE HERO LAYOUT */
/* ================================= */

.hero{

height:auto;

padding:120px 15px 60px;

}

/* STACK EVERYTHING */

.hero-content{

display:flex;
flex-direction:column;

align-items:center;

width:100%;
top: 105px;

}

/* EACH SLIDE */

.hero-slide{

flex-direction:column;

align-items:center;

text-align:center;

gap:25px;

width:100%;

}

/* IMAGE FIRST */

.hero-poster{
order:1;
width:100%;
display:flex;
justify-content:center;
}

/* BIG MOBILE IMAGE */

.hero-poster img{

width:100%;
max-width:420px;

border-radius:18px;

}

/* TEXT SECOND */

.hero-text{

order:2;

max-width:100%;

padding:28px 22px;

margin-top:0;

}

/* TEXT */

.hero-text h2{

font-size:28px;
line-height:1.3;

}

.hero-text p{

font-size:15px;
line-height:1.8;

}

/* AFFILIATE BOX LAST */

.hero-cta{

order:3;

position:relative;

bottom:auto;
left:auto;

transform:none;

margin-top:30px;

width:100%;
max-width:420px;

flex-direction:column;

text-align:center;

gap:18px;

padding:24px 20px;

border-radius:18px;

}

/* BUTTON FULL WIDTH */

.hero-cta-btn{

width:100%;

text-align:center;

}

/* ABOUT */

.about-grid{

flex-direction:column;

}

.aims-container{

flex-direction:column;

}

.aims-title{

font-size:32px;

}

@media(max-width:900px){

    .about-card{

        padding:25px;

        border-radius:16px;

        text-align:center;

        margin-bottom:15px;

        border-top:5px solid #1F8F4E;

        box-shadow:0 8px 20px rgba(0,0,0,.08);

    }

    .about-card h3{

        font-size:24px;

        margin-bottom:15px;

    }

}
/* FOUNDATION */

@media(max-width:900px){

    .foundation-grid{
        display:flex;
        overflow-x:auto;
        gap:15px;

        padding:10px 15px 20px;

        justify-content:flex-start;

        scroll-snap-type:x mandatory;

        -webkit-overflow-scrolling:touch;
    }

    .foundation-card{
        min-width:170px;
        width:170px;

        flex-shrink:0;

        scroll-snap-align:start;

        padding:18px;
    }

}


/* FIND MASJID + HALAAL */

.find-container{

flex-direction:column;

text-align:center;

}

.find-text h2{

font-size:32px;

}

.find-line{

margin:auto auto 25px;

}


/* EVENTS */

@media(max-width:900px){

    .events-image{
        display:none;
    }

    .events-list{
        display:flex;
        overflow-x:auto;
        overflow-y:hidden;
        gap:15px;

        padding:10px 15px;

        -webkit-overflow-scrolling:touch;

        scroll-snap-type:x mandatory;
    }

    .event-card{
        flex:0 0 260px;

        scroll-snap-align:start;
    }

}
    .event-btn{
        width:100%;
        text-align:center;
    }

}

/* CONTACT */

@media(max-width:900px){

    .contact-container{

        display:flex;

        flex-direction:column;

        gap:25px;

    }

    .contact-form{

        width:100%;

        padding:25px;

    }

    .contact-social{

        background:white;

        padding:20px;

        border-radius:15px;

        box-shadow:0 8px 20px rgba(0,0,0,.08);

    }

}


/* GENERAL */

.grid-2{

grid-template-columns:1fr;

}

.section-title{

font-size:28px;

}




/* SMALLER PHONES */

@media(max-width:500px){

.hero-text h2{

font-size:24px;

}

.hero-text p{

font-size:15px;

}

.aims-title{

font-size:26px;

}

.find-text h2{

font-size:26px;

}

.events-header h2,
.contact-header h2,
.foundation h2,
.about h2{

font-size:28px;

}

.logo-text h1{

font-size:22px;

}

.logo{

width:45px;

}

}
.show-dropdown{

display:flex !important;

flex-direction:column;

}
/* ================================= */
/* PROFESSIONAL FOOTER */
/* ================================= */

.main-footer{

background:linear-gradient(
135deg,
#0b4d29,
#166c3a
);

color:white;

padding:70px 20px 25px;

margin-top:80px;

}

/* CONTAINER */

.footer-container{

max-width:1200px;

margin:auto;

display:flex;

justify-content:space-between;

align-items:flex-start;

gap:80px;

padding-bottom:40px;

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

}

/* LEFT */

.footer-left{

flex:1;

}

.footer-logo{

width:320px;

max-width:100%;

margin-bottom:20px;

}

.footer-text{

line-height:1.9;

color:rgba(255,255,255,0.85);

max-width:500px;

}

/* RIGHT */

.footer-right{

display:flex;

gap:80px;

}

/* LINKS */

.footer-links{

display:flex;

flex-direction:column;

}

.footer-links h3{

margin-bottom:20px;

font-size:22px;

}

.footer-links a{

color:rgba(255,255,255,0.85);

text-decoration:none;

margin-bottom:14px;

transition:0.3s;

}

.footer-links a:hover{

color:white;

transform:translateX(4px);

}

/* BOTTOM */

.footer-bottom{

max-width:1200px;

margin:auto;

padding-top:30px;

display:flex;

justify-content:space-between;

align-items:center;

gap:20px;

flex-wrap:wrap;

}

/* SOCIALS */

.footer-socials{

display:flex;

align-items:center;

gap:18px;

}

.footer-socials a{

width:46px;
height:46px;

border-radius:50%;

background:rgba(255,255,255,0.10);

display:flex;

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

transition:0.3s;

}

.footer-socials a:hover{

background:white;

transform:translateY(-4px);

}

.footer-socials img{

width:22px;
height:22px;

}

/* COPYRIGHT */

.footer-bottom p{

color:rgba(255,255,255,0.80);

margin:0;

}

/* ================================= */
/* MOBILE */
/* ================================= */

@media(max-width:900px){

.footer-container{

flex-direction:column;

gap:50px;

}

.footer-right{

width:100%;

justify-content:space-between;

gap:40px;

}

}

@media(max-width:600px){

.main-footer{

padding:60px 20px 25px;

}

.footer-logo{

width:240px;

}

.footer-right{

flex-direction:column;

gap:35px;

}

.footer-links{

width:100%;

}

.footer-links a{

margin-bottom:12px;

}

.footer-bottom{

flex-direction:column;

text-align:center;

}

.footer-socials{

justify-content:center;

}

}
/* ================================= */
/* SANHA STYLE FOOTER */
/* ================================= */

.pro-footer{

background:
linear-gradient(
135deg,
#0b3d22,
#14532d,
#1c6b3f
);

color:white;

padding:70px 40px 25px;

margin-top:80px;

border-top:4px solid #d4af37;

position:relative;

overflow:hidden;

}

/* TOP */

.footer-top{

max-width:1300px;

margin:auto;

display:grid;

grid-template-columns:
1.3fr
1fr
1fr
1fr
1fr;

gap:50px;

padding-bottom:40px;

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

}

/* BRAND */

.footer-brand{

display:flex;

flex-direction:column;

align-items:flex-start;

}

.footer-main-logo{

width:220px;

margin-bottom:25px;

}

/* SOCIALS */

.footer-socials{

display:flex;

gap:14px;

}

.footer-socials a{

width:42px;
height:42px;

border-radius:50%;

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

display:flex;

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

transition:0.3s ease;

}

.footer-socials a:hover{

background:#d4af37;

border-color:#d4af37;

transform:translateY(-4px);

}

.footer-socials img{

width:20px;
height:20px;

filter:brightness(0) invert(1);

}

/* COLUMNS */

.footer-column{

display:flex;

flex-direction:column;

}

.footer-column h3{

font-size:32px;

margin-bottom:25px;

font-weight:700;

}

.footer-column a{

color:rgba(255,255,255,0.82);

text-decoration:none;

margin-bottom:18px;

font-size:17px;

transition:0.3s;

line-height:1.6;

}

.footer-column a:hover{

color:#d4af37;

transform:translateX(4px);

}
/* ISLAMIC GLOW */

.pro-footer::before{

content:"";

position:absolute;

top:-120px;
right:-120px;

width:320px;
height:320px;

background:rgba(212,175,55,0.10);

border-radius:50%;

filter:blur(40px);

}

.pro-footer::after{

content:"";

position:absolute;

bottom:-120px;
left:-120px;

width:320px;
height:320px;

background:rgba(31,143,78,0.18);

border-radius:50%;

filter:blur(40px);

}

/* BOTTOM */

.footer-bottom{

max-width:1300px;

margin:auto;

padding-top:22px;

text-align:center;

}

.footer-bottom p{

color:rgba(255,255,255,0.75);

font-size:15px;

line-height:1.8;

}

/* ================================= */
/* MOBILE */
/* ================================= */

@media(max-width:1100px){

.footer-top{

grid-template-columns:
1fr
1fr;

}

}

@media(max-width:700px){

.pro-footer{

padding:60px 20px 25px;

}

.footer-top{

grid-template-columns:1fr;

gap:40px;

}

.footer-brand{

align-items:center;

text-align:center;

}

.footer-main-logo{

width:180px;

}

.footer-column{

text-align:center;

}

.footer-column h3{

font-size:26px;

margin-bottom:18px;

}

.footer-column a{

font-size:15px;

margin-bottom:14px;

}

.footer-socials{

justify-content:center;

}

.footer-bottom p{

font-size:13px;

}

}
.dropdown:last-child .dropdown-menu{
    right:0;
    left:auto;
}
@media (max-width:900px){

    .dropdown-menu{
        width:100%;
        margin-left:0;
        padding-left:15px;
    }

    .dropdown-menu a{
        padding:12px 15px;
    }

}
@media (max-width:700px){

    .event-card{
        flex-direction:column;
        align-items:flex-start;
        gap:15px;
    }

    .event-btn{
        width:100%;
        text-align:center;
    }

}
@media (max-width:700px){

    .contact-card{
        width:100%;
        max-width:350px;
    }

}
@media (max-width:700px){

    .foundation-card{
        width:100%;
    }

}
img{
    max-width:100%;
    height:auto;
}

h1,h2,h3,h4,h5,h6,p,a,span{
    word-wrap:break-word;
}
.table-wrapper{
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
}
.btn,
.find-btn,
.event-btn,
.hero-cta-btn{
    min-height:48px;
    display:flex;
    align-items:center;
    justify-content:center;
}
@media(max-width:900px){

    .footer-top{
        flex-direction:column;
        text-align:center;
        gap:30px;
    }

    .footer-column{
        width:100%;
    }

}
@media(max-width:900px){

    .hero-poster{
        display:none;
    }

    .hero-slide{
        justify-content:center;
    }

    .hero-text{
        max-width:100%;
        width:100%;
    }

}
@media(max-width:900px){

    .contact-info{
        flex-direction:column;
        align-items:center;
    }

    .contact-card{
        width:100%;
        max-width:320px;
    }

}
@media (max-width:900px){

    .navbar{
        position:sticky;
        top:0;
        background:#fff;
        box-shadow:0 2px 15px rgba(0,0,0,.08);
    }

    .menu{
        border-radius:0 0 15px 15px;
        box-shadow:0 8px 25px rgba(0,0,0,.08);
    }

    
    .menu-toggle{
        padding:8px 12px;
        border-radius:8px;
        background:#f5f5f5;
    }

    .dropdown-menu{
        
        border-left:3px solid #1F8F4E;
    }

}
@media (max-width:900px){

    .events-container{
        display:block;
    }

    .events-image{
        display:none;
    }

    .events-list{
        display:flex;
        flex-wrap:nowrap;
        overflow-x:auto;
        overflow-y:hidden;
        scroll-snap-type:x mandatory;
        gap:18px;
        padding:10px 5px 20px;
        scrollbar-width:none;
    }

    .events-list::-webkit-scrollbar{
        display:none;
    }

    .event-card{
        min-width:85%;
        flex:0 0 85%;
        scroll-snap-align:center;
        border-radius:18px;
    }
}


@media(max-width:900px){

    .hero-poster{
        display:flex !important;
    }

    .hero-poster img{
        max-width:320px;
        width:100%;
    }

    .hero-text{
        padding:22px;
    }
}
@media (max-width:900px){

    .menu{

        position:fixed;
        top:0;
        right:-320px;

        width:300px;
        height:100vh;

        display:flex;
        flex-direction:column;
        gap:5px;

        padding:90px 20px 30px;

       background:linear-gradient(
    135deg,
    #0a2540,
    #134074,
    #1d4e89
);
backdrop-filter:blur(15px);
border-left:1px solid rgba(255,255,255,.15);
.menu a{
    color:white;
    padding:14px 16px;
    border-radius:12px;
}

.menu a:hover{
    background:rgba(255,255,255,.12);
}

        box-shadow:-10px 0 30px rgba(0,0,0,.25);

        z-index:9999;

        transition:right .35s ease;

        overflow-y:auto;
    }

    .menu.active{
        right:0;
    }

    .menu a{
        color:white;
        text-decoration:none;
        text-align:center;
        font-size:17px;
        font-weight:600;
        padding:12px 15px;
        border-radius:12px;
        transition:.3s;
        margin:0;
    }

    .menu a:hover{
        background:rgba(255,255,255,.15);
    }

}
.menu,
.menu *{
    text-align:center;
}
.dropdown-menu{
    margin-top:5px;
    border-radius:12px;
    overflow:hidden;
}

.dropdown-menu a{
    display:block;
    padding:8px 15px;
    margin:0;
    line-height:1.3;
    font-size:15px;
}
.dropdown-menu{
    
    border-radius:12px;
    margin:5px 0;
    box-shadow:0 4px 15px rgba(0,0,0,.1);
}

.dropdown-menu a{
    border-bottom:1px solid #eee;
}

.dropdown-menu a:last-child{
    border-bottom:none;
}
@media(max-width:900px){

    .dropdown-menu{
        position:static;
        display:none;
        margin:0;
        padding:0;
        background:none;
        box-shadow:none;
        border:none;
    }

    .show-dropdown{
        display:flex;
        flex-direction:column;
    }

    .dropdown-menu a{
        color:white !important;
        text-align:center;
        margin:0 !important;
        padding:6px 0 !important;
        font-size:15px;
        line-height:1.2;
        background:none !important;
        border:none !important;
    }

    .dropdown-menu a:hover{
        color:#d8f5e3 !important;
        background:none !important;
    }
}

@media(max-width:900px){

    .menu a,
    .dropdown-menu a{
        border-bottom:none !important;
        text-decoration:none !important;
        box-shadow:none !important;
    }

    .menu a{
        margin:0 !important;
        padding:8px 0 !important;
    }

    .dropdown-menu a{
        padding:4px 0 !important;
    }

}
@media(max-width:900px){

    .hero{
        background-image:url("images/mobile.webp") !important;
        min-height:100vh;
        background-size:cover;
        background-position:center top;
    }

    .hero-overlay{
        background:linear-gradient(
            rgba(15,109,60,.75),
            rgba(15,109,60,.55)
        );
    }

}
@media (max-width:900px){

    .hero-poster{
        display:none !important;
    }

}


.logo-group{
    display:flex;
    align-items:center;
    gap:10px;
}

.logo-gif{
    height:45px;
    width:auto;
}

.logo-main{
    height:55px;
    width:auto;
}

@media(max-width:900px){

    .logo-group{
        gap:6px;
    }

    .logo-gif{
        height:30px;
    }

    .logo-main{
        height:40px;
    }

}
@media(max-width:900px){

    .contact-container{
        display:flex;
        flex-direction:column;
        align-items:center;
    }

    .contact-form,
    .contact-social{
        width:100%;
        max-width:400px;
        margin:0 auto;
    }

}
@media(max-width:900px){

    .contact-detail,
    .social-item{
        margin-left:auto;
        margin-right:auto;
    }

}

.hero{
    position:relative;
    overflow:hidden;
}

.hero-logo-spin{
    position:absolute;
    right:8%;
    top:80%;
    transform:translateY(-50%);
    z-index:2;
}

.hero-logo-spin img{
    width:220px;
    height:220px;
    object-fit:contain;
    animation:spinLogo 20s linear infinite;
    opacity:0.95;
}

@keyframes spinLogo{
    from{
        transform:rotate(0deg);
    }
    to{
        transform:rotate(360deg);
    }
}

@media(max-width:900px){

    .hero-logo-spin{
        right:20px;
        top:90px;
        transform:none;
    }

    .hero-logo-spin img{
        width:100px;
        height:100px;
    }

}


/* EVENT CARD IMAGE */

.event-card-img{
    display:none;
}

/* MOBILE VIEW */

@media (max-width:768px){

    .events-image{
        display:none;
    }

    .events-list{
        display:flex;
        overflow-x:auto;
        gap:15px;
        scroll-snap-type:x mandatory;
        -webkit-overflow-scrolling:touch;
        padding-bottom:10px;
    }

    .events-list::-webkit-scrollbar{
        display:none;
    }

    .event-card{
        min-width:280px;
        max-width:280px;
        flex-shrink:0;
        scroll-snap-align:center;
        background:#fff;
        border-radius:15px;
        overflow:hidden;
        box-shadow:0 5px 20px rgba(0,0,0,.12);
        display:block;
    }

    .event-card-img{
        display:block;
        width:100%;
        height:180px;
        object-fit:cover;
    }

    .event-info{
        padding:15px;
    }

    .event-info h3{
        font-size:16px;
        margin-bottom:10px;
        color:#0F6D3C;
    }

    .event-meta{
        display:flex;
        flex-direction:column;
        gap:6px;
        margin-bottom:15px;
    }

    .event-btn{
        width:100%;
        text-align:center;
        display:block;
    }
}
@media (max-width:768px){

    .events-image{
        display:none;
    }

    .events-list{
        display:flex;
        overflow-x:auto;
        scroll-snap-type:x mandatory;
        scroll-behavior:smooth;
        gap:15px;
        padding:10px 5px;
        -webkit-overflow-scrolling:touch;
    }

    .events-list::-webkit-scrollbar{
        display:none;
    }

    .event-card{
        flex:0 0 85%;
        scroll-snap-align:center;
        background:#fff;
        border-radius:15px;
        overflow:hidden;
        box-shadow:0 5px 15px rgba(0,0,0,.12);
    }

    .event-card-img{
        display:block;
        width:100%;
        height:180px;
        object-fit:cover;
    }
}
@media (max-width:768px){

    .events-image{
        display:none !important;
    }

    .events-container{
        display:block !important;
    }

    .events-list{
        display:flex !important;
        flex-direction:row !important;
        flex-wrap:nowrap !important;
        overflow-x:auto !important;
        overflow-y:hidden !important;
        gap:15px !important;
        padding:10px 0 !important;

        scroll-snap-type:x mandatory;
        -webkit-overflow-scrolling:touch;
    }

    .events-list::-webkit-scrollbar{
        display:none;
    }

    .event-card{
        flex:0 0 85% !important;
        min-width:85% !important;
        max-width:85% !important;

        display:block !important;

        scroll-snap-align:center;

        border-radius:15px;
        overflow:hidden;
    }

    .event-card-img{
        display:block !important;
        width:100%;
        height:200px;
        object-fit:cover;
    }

    .event-info{
        padding:15px;
    }

    .event-meta{
        flex-direction:column !important;
        gap:5px !important;
    }

    .event-btn{
        display:block;
        width:100%;
        text-align:center;
        margin-top:15px;
    }
}
.mobile-nav-logo{
    display:none;
}

@media (max-width:900px){

    .mobile-nav-logo{
        display:flex;
        justify-content:center;
        padding:20px 0 10px;
        margin-top:15px;
        border-top:1px solid #eee;
    }

    .mobile-nav-logo img{
        width:120px;
        height:auto;
        opacity:0.95;
    }
}
@media (max-width:900px){

    .mobile-nav-logo{
        display:block !important;
        text-align:center !important;
        padding:20px 0 !important;
        margin-top:15px !important;
    }

    .mobile-nav-logo img{
        display:block !important;
        width:120px !important;
        margin:0 auto !important;
    }

}
.social-item a{
    display:flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
    color:inherit;
}
.foundation-link{
    text-decoration:none;
    color:inherit;
    display:block;
}

.foundation-link:hover{
    text-decoration:none;
}
.find-image{
    position:relative;
    overflow:hidden;
}

.floating-logo{
    position:absolute;
    width:120px;
    right:-200px; /* starts off screen */
    top:50%;
    transform:translateY(-50%);
    opacity:0;
    transition:all 1.5s ease;
    z-index:5;
}

.floating-logo.show{
    right:40px; /* final position */
    opacity:1;
    animation:floatLogo 3s ease-in-out infinite;
}

@keyframes floatLogo{
    0%{
        transform:translateY(-50%) translateY(0);
    }
    50%{
        transform:translateY(-50%) translateY(-12px);
    }
    100%{
        transform:translateY(-50%) translateY(0);
    }
}
.find-image{
    position:relative;
    flex:1;
    overflow:hidden;
}

.main-image{
    width:100%;
    border-radius:12px;
    box-shadow:0 15px 40px rgba(0,0,0,0.25);
}

.floating-logo{
    position:absolute;
    width:200px;
    height:auto;
    top:50%;
    right:-200px;
    transform:translateY(-50%);
    opacity:0;
    z-index:100;
    transition:all 1.5s ease;
}

.floating-logo.show{
    right:30px;
    opacity:1;
}
@media (max-width:768px){

    .foundation-grid{
        grid-template-columns:1fr 1fr;
        gap:15px;
    }

    .foundation-card{
        min-height:220px;
    }

    .foundation-logo{
        width:80px;
        height:80px;
        object-fit:contain;
    }

}
.foundation-link{
    text-decoration:none;
    color:inherit;
    flex:0 0 auto;
}

.foundation-card{
    min-height:240px;
    height:240px;
    box-sizing:border-box;

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
}

/* ==========================================
   HOMEPAGE ZAKAAT INFORMATION PANEL
========================================== */

.hero-zakaat-panel {
    position: absolute;

    z-index: 20;

    top: 25px;
    right: 25px;

    width: 340px;
    max-width: calc(100% - 30px);

    padding: 20px;

    box-sizing: border-box;

    background: rgba(0, 65, 43, 0.92);

    border: 1px solid rgba(218, 190, 111, 0.8);

    border-radius: 18px;

    color: #ffffff;

    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);

    backdrop-filter: blur(10px);
}


/* HEADING */

.zakaat-panel-heading {
    text-align: center;

    padding-bottom: 14px;

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


.zakaat-panel-label {
    display: block;

    color: #e8d39a;

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 1.5px;

    margin-bottom: 10px;
}


.zakaat-update-date {
    font-size: 13px;

    color: #ffffff;

    line-height: 1.6;
}


/* VALUE CARDS */

.zakaat-panel-values {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 10px;

    margin-top: 15px;
}


.zakaat-value-card {
    padding: 15px 8px;

    text-align: center;

    background: rgba(255, 255, 255, 0.09);

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

    border-radius: 12px;

    min-width: 0;
}


.zakaat-value-title {
    font-size: 10px;

    font-weight: 800;

    letter-spacing: 0.7px;

    color: #e8d39a;

    margin-bottom: 10px;
}


.zakaat-value-amount {
    font-size: 24px;

    font-weight: 800;

    color: #ffffff;

    line-height: 1.3;

    overflow-wrap: anywhere;
}


.zakaat-value-description {
    font-size: 11px;

    margin-top: 7px;

    color: rgba(255, 255, 255, 0.8);
}


/* VIEW ZAKAAT LINK */

.zakaat-panel-link {
    display: block;

    margin-top: 16px;

    padding: 11px;

    text-align: center;

    text-decoration: none;

    color: #00412b;

    background: #e8d39a;

    border-radius: 8px;

    font-size: 13px;

    font-weight: 800;

    transition: background 0.25s ease;
}


.zakaat-panel-link:hover {
    background: #ffffff;
}


/* TABLET AND MOBILE */

@media (max-width: 900px) {

    .hero-zakaat-panel {
        top: 15px;

        right: 12px;

        width: 300px;

        padding: 14px;
    }

    .zakaat-panel-values {
        gap: 7px;
    }

    .zakaat-value-card {
        padding: 12px 5px;
    }

    .zakaat-value-amount {
        font-size: 20px;
    }

}


/* SMALL MOBILE */

@media (max-width: 600px) {

    .hero-zakaat-panel {
        position: relative;

        top: auto;
        right: auto;

        width: calc(100% - 30px);

        max-width: 420px;

        margin: 20px auto;

        padding: 16px;
    }

    .zakaat-panel-values {
        grid-template-columns: 1fr 1fr;
    }

    .zakaat-value-amount {
        font-size: 21px;
    }

}
/* =========================================
   MOBILE ZAKAAT PANEL — LANDSCAPE LAYOUT
========================================= */

@media (max-width: 600px) {

    /* Keep the hero as the positioning reference */
    .hero {
        position: relative;
        min-height: 100svh;
        height: auto;
        overflow: hidden;
        padding-bottom: 0;
    }

    /* Keep the hero slides behind the Zakaat panel */
    .hero-content {
        position: relative;
        z-index: 2;
        min-height: 100svh;
        box-sizing: border-box;
        padding-bottom: 270px;
    }

    /* Place the panel at the bottom of the hero */
    .hero-zakaat-panel {
        position: absolute;

        left: 12px;
        right: 12px;
        bottom: 15px;
        top: auto;

        width: auto;
        max-width: none;

        margin: 0;
        padding: 12px 14px;

        border-radius: 16px;

        z-index: 10;

        box-sizing: border-box;
    }

    /* Compact heading and date */
    .zakaat-panel-heading {
        padding-bottom: 8px;
    }

    .zakaat-panel-label {
        font-size: 12px;
        letter-spacing: 1.2px;
        margin-bottom: 4px;
    }

    .zakaat-update-date {
        font-size: 12px;
        line-height: 1.4;
    }

    /* Keep both amounts horizontally aligned */
    .zakaat-panel-values {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;

        margin-top: 10px;
    }

    .zakaat-value-card {
        padding: 9px 6px;
        border-radius: 10px;
    }

    .zakaat-value-title {
        font-size: 10px;
        margin-bottom: 5px;
    }

    .zakaat-value-amount {
        font-size: 21px;
        line-height: 1.25;
    }

    .zakaat-value-description {
        font-size: 10px;
        margin-top: 3px;
    }

    /* Smaller View Zakaat button */
    .zakaat-panel-link {
        margin-top: 9px;
        padding: 9px;
        font-size: 12px;
    }

}


/* EXTRA SMALL PHONES */

@media (max-width: 380px) {

    .hero-content {
        padding-bottom: 260px;
    }

    .hero-zakaat-panel {
        left: 8px;
        right: 8px;
        bottom: 10px;
        padding: 10px;
    }

    .zakaat-value-amount {
        font-size: 18px;
    }

}
/* ==========================================
   ZAFEMU ZAKAAT PANEL — BOTTOM OF HERO
   Desktop, tablet and mobile
========================================== */

/* DESKTOP AND TABLET */

.hero {
    position: relative;
}

.hero-zakaat-panel {
    position: absolute;
    top: auto;
    right: auto;
    bottom: 25px;
    left: 25px;

    width: 365px;
    max-width: calc(100% - 40px);

    margin: 0;

    z-index: 20;
    box-sizing: border-box;
}


/* TABLET */

@media (min-width: 601px) and (max-width: 900px) {

    .hero-zakaat-panel {
       right: auto;
left: 18px;
bottom: 18px;

        width: 330px;
    }

}


/* MOBILE */

@media (max-width: 600px) {

    .hero {
        position: relative;
        height: auto;
        min-height: 100svh;
        overflow: hidden;
    }

    .hero-content {
        position: relative;
        z-index: 2;

        min-height: 100svh;
        box-sizing: border-box;

        padding-bottom: 270px;
    }

    .hero-zakaat-panel {
        position: absolute;

        top: auto;
        right: 10px;
        bottom: 12px;
        left: 10px;

        width: auto;
        max-width: none;

        margin: 0;
        padding: 12px;

        border-radius: 14px;
    }

    .zakaat-panel-heading {
        padding-bottom: 8px;
    }

    .zakaat-panel-label {
        font-size: 12px;
        margin-bottom: 4px;
    }

    .zakaat-update-date {
        font-size: 12px;
    }

    .zakaat-panel-values {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;

        margin-top: 10px;
    }

    .zakaat-value-card {
        padding: 9px 5px;
    }

    .zakaat-value-title {
        font-size: 10px;
        margin-bottom: 5px;
    }

    .zakaat-value-amount {
        font-size: 20px;
    }

    .zakaat-value-description {
        font-size: 10px;
        margin-top: 3px;
    }

    .zakaat-panel-link {
        margin-top: 9px;
        padding: 9px;
        font-size: 12px;
    }

}


/* EXTRA-SMALL MOBILE */

@media (max-width: 380px) {

    .hero-content {
        padding-bottom: 260px;
    }

    .hero-zakaat-panel {
        right: 8px;
        bottom: 8px;
        left: 8px;

        padding: 10px;
    }

    .zakaat-value-amount {
        font-size: 18px;
    }

}
/* ==========================================
   ZAKAAT PANEL — LANDSCAPE BANNER
========================================== */

.hero-zakaat-panel {
    position: absolute;

    top: auto;
    bottom: 22px;
    left: 25px;
    right: auto;

    width: 490px;
    max-width: calc(100% - 50px);

    padding: 14px 18px;
    margin: 0;

    box-sizing: border-box;
    z-index: 20;

    border-radius: 16px;
}


/* COMPACT HEADING */

.zakaat-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    padding-bottom: 9px;
}

.zakaat-panel-label {
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 0;
}

.zakaat-update-date {
    font-size: 11px;
    text-align: right;
}


/* TWO SIDE-BY-SIDE VALUES */

.zakaat-panel-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;

    margin-top: 10px;
}

.zakaat-value-card {
    padding: 10px 8px;
    border-radius: 10px;
}

.zakaat-value-title {
    font-size: 10px;
    margin-bottom: 4px;
}

.zakaat-value-amount {
    font-size: 22px;
    line-height: 1.2;
}

.zakaat-value-description {
    font-size: 10px;
    margin-top: 3px;
}


/* COMPACT BUTTON */

.zakaat-panel-link {
    margin-top: 10px;
    padding: 9px 12px;

    font-size: 12px;
    border-radius: 8px;
}


/* TABLET */

@media (min-width: 601px) and (max-width: 900px) {

    .hero-zakaat-panel {
        left: 15px;
        bottom: 15px;

        width: 410px;
        max-width: calc(100% - 30px);

        padding: 12px;
    }

}


/* MOBILE LANDSCAPE-STYLE PANEL */

@media (max-width: 600px) {

    .hero-zakaat-panel {
        left: 10px;
        right: 10px;
        bottom: 10px;

        width: auto;
        max-width: none;

        padding: 10px 12px;
    }

    .zakaat-panel-heading {
        padding-bottom: 7px;
    }

    .zakaat-panel-label {
        font-size: 11px;
    }

    .zakaat-update-date {
        font-size: 10px;
    }

    .zakaat-panel-values {
        grid-template-columns: 1fr 1fr;
        gap: 8px;

        margin-top: 8px;
    }

    .zakaat-value-card {
        padding: 8px 5px;
    }

    .zakaat-value-title {
        font-size: 9px;
    }

    .zakaat-value-amount {
        font-size: 19px;
    }

    .zakaat-value-description {
        font-size: 9px;
    }

    .zakaat-panel-link {
        margin-top: 8px;
        padding: 8px;
        font-size: 11px;
    }

}

/* Homepage Hijri date card beside the Zakaat values */
.hero-zakaat-panel .zakaat-panel-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-items:stretch}
.homepage-islamic-date{min-width:0;border:1px solid rgba(212,175,55,.6);border-radius:12px;padding:12px 10px;background:linear-gradient(145deg,rgba(8,55,31,.96),rgba(18,91,53,.96));color:#fff;display:flex;flex-direction:column;justify-content:center;text-align:center}
.homepage-islamic-date-title{font-size:10px;letter-spacing:1px;color:#f0d77a;font-weight:800;margin-bottom:8px}
.homepage-hijri-date{font-size:17px;line-height:1.3;font-weight:800}
.homepage-gregorian-date{font-size:12px;line-height:1.4;margin-top:6px;color:rgba(255,255,255,.88)}
.homepage-date-note{font-size:10px;margin-top:7px;color:#f0d77a}
@media(max-width:600px){.hero-zakaat-panel .zakaat-panel-values{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.homepage-islamic-date{padding:9px 5px}.homepage-hijri-date{font-size:13px}.homepage-gregorian-date{font-size:10px}.homepage-islamic-date-title{font-size:8px;letter-spacing:.4px}}



/* === ZAFEMU shared navbar spacing: match the tighter Home page layout === */
header.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}
header.navbar .menu,
header.navbar nav.menu,
nav#mobileMenu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(14px, 1.65vw, 30px);
    flex: 1 1 auto;
    min-width: 0;
    margin-left: auto;
    padding-left: 0;
}
header.navbar .menu > a,
header.navbar nav.menu > a,
nav#mobileMenu > a,
header.navbar .menu > .dropdown > a,
nav#mobileMenu > .dropdown > a {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    margin: 0;
    padding: 8px 0;
    line-height: 1.25;
}
header.navbar .dropdown {
    position: relative;
    flex: 0 0 auto;
}
header.navbar .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 190px;
    z-index: 1000;
}
header.navbar .logo-group,
header.navbar .logo-area {
    flex: 0 0 auto;
}
@media (max-width: 1100px) and (min-width: 769px) {
    header.navbar .menu,
    header.navbar nav.menu,
    nav#mobileMenu {
        gap: clamp(9px, 1.15vw, 16px);
    }
    header.navbar .menu > a,
    header.navbar nav.menu > a,
    nav#mobileMenu > a,
    header.navbar .menu > .dropdown > a,
    nav#mobileMenu > .dropdown > a {
        font-size: 14px;
    }
}



/* Dropdown fixes: keep menus inside viewport and make them clickable */
.navbar { position: relative; z-index: 5000; }
.navbar .dropdown { position: relative; }
.navbar .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: auto;
    min-width: 190px;
    width: max-content;
    max-width: min(280px, calc(100vw - 24px));
    z-index: 10000;
    background: #fff;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 10px 28px rgba(0,0,0,.16);
    overflow: visible;
}
.navbar .dropdown-menu a {
    display: block;
    white-space: normal;
    padding: 12px 18px;
    color: #333;
    text-align: left;
    margin: 0;
}
.navbar .dropdown-menu a:hover { background: #f2f7f3; color: #0f6d3c; }
.navbar .dropdown.open > .dropdown-menu { display: block; }
@media (min-width: 901px) {
    .navbar .dropdown:hover > .dropdown-menu,
    .navbar .dropdown:focus-within > .dropdown-menu { display: block; }
}
/* Prevent Connect menu from running off the right edge */
.navbar .dropdown:last-of-type > .dropdown-menu {
    left: auto;
    right: 0;
}


/* FINAL NAV DROPDOWN FIX */
header.navbar { position:relative !important; z-index:9990 !important; overflow:visible !important; }
header.navbar nav#mobileMenu { overflow:visible !important; }
header.navbar .dropdown { position:relative !important; overflow:visible !important; }
header.navbar .dropdown > .dropdown-menu {
  display:none;
  position:absolute !important;
  top:calc(100% + 1px) !important;
  left:0 !important;
  right:auto !important;
  width:220px !important;
  min-width:220px !important;
  max-width:calc(100vw - 24px) !important;
  box-sizing:border-box !important;
  z-index:20000 !important;
  background:#fff !important;
  border-radius:0 0 12px 12px !important;
  box-shadow:0 10px 28px rgba(0,0,0,.18) !important;
  overflow:hidden !important;
}
header.navbar .dropdown.open > .dropdown-menu { display:block !important; }
header.navbar .dropdown > .dropdown-menu a {
  display:block !important;
  width:100% !important;
  box-sizing:border-box !important;
  padding:12px 18px !important;
  white-space:normal !important;
  text-align:left !important;
  color:#222 !important;
}
header.navbar .dropdown > .dropdown-menu a:hover { background:#eef6f0 !important; }
header.navbar .dropdown:has(#connectMenu) > .dropdown-menu {
  left:auto !important;
  right:0 !important;
}
@media (max-width:768px) {
  header.navbar .dropdown > .dropdown-menu {
    position:static !important;
    width:100% !important;
    max-width:100% !important;
    box-shadow:none !important;
    border-radius:8px !important;
  }
}


/* Desktop homepage Zakaat panel: compact top-right card */
@media (min-width: 901px) {
    .hero-zakaat-panel {
        top: 18px;
        right: 24px;
        bottom: auto;
        left: auto;
        width: 390px;
        max-width: calc(100% - 48px);
        padding: 10px 12px;
        border-radius: 12px;
    }

    .hero-zakaat-panel .zakaat-panel-heading {
        gap: 8px;
        padding-bottom: 5px;
    }

    .hero-zakaat-panel .zakaat-panel-label {
        font-size: 10px;
        letter-spacing: 0.7px;
    }

    .hero-zakaat-panel .zakaat-update-date {
        font-size: 10px;
    }

    .hero-zakaat-panel .zakaat-panel-values {
        gap: 6px;
        margin-top: 5px;
    }

    .hero-zakaat-panel .zakaat-value-card,
    .hero-zakaat-panel .homepage-islamic-date {
        padding: 7px 5px;
        border-radius: 8px;
    }

    .hero-zakaat-panel .zakaat-value-title,
    .hero-zakaat-panel .homepage-islamic-date-title {
        font-size: 8px;
        letter-spacing: 0.5px;
        margin-bottom: 4px;
    }

    .hero-zakaat-panel .zakaat-value-amount {
        font-size: 17px;
        line-height: 1.15;
    }

    .hero-zakaat-panel .zakaat-value-description,
    .hero-zakaat-panel .homepage-date-note {
        font-size: 9px;
        margin-top: 2px;
    }

    .hero-zakaat-panel .homepage-hijri-date {
        font-size: 14px;
        line-height: 1.2;
    }

    .hero-zakaat-panel .homepage-gregorian-date {
        font-size: 10px;
        line-height: 1.2;
        margin-top: 3px;
    }

    .hero-zakaat-panel .zakaat-panel-link {
        margin-top: 6px;
        padding: 6px 9px;
        font-size: 10px;
        border-radius: 7px;
    }
}

/* Refined Zakaat and date cards; the hero panel keeps its existing footprint and placement. */
.hero-zakaat-panel .zakaat-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:left;padding-bottom:7px}
.hero-zakaat-panel .zakaat-panel-label{margin:0;color:#f0d993;font-size:10px;letter-spacing:.85px}
.hero-zakaat-panel .zakaat-update-date{font-size:9px;color:rgba(255,255,255,.78);line-height:1.25;text-align:right}
.hero-zakaat-panel .zakaat-panel-values{gap:7px;margin-top:7px}
.hero-zakaat-panel .zakaat-value-card,.hero-zakaat-panel .homepage-islamic-date{background:linear-gradient(145deg,#fffefa,#f5f1e5);border:1px solid rgba(229,207,153,.8);box-shadow:0 3px 10px rgba(0,0,0,.1);color:#183c2e}
.hero-zakaat-panel .zakaat-value-title,.hero-zakaat-panel .homepage-islamic-date-title{color:#54705f;font-size:8px;font-weight:800;letter-spacing:.55px}
.hero-zakaat-panel .zakaat-value-amount{color:#07583d;font-weight:800}
.hero-zakaat-panel .zakaat-value-description,.hero-zakaat-panel .homepage-date-note{color:#758378}
.hero-zakaat-panel .homepage-islamic-date.has-islamic-event{border-color:#c59d3b;box-shadow:inset 0 0 0 1px rgba(197,157,59,.36),0 3px 12px rgba(125,91,20,.15);background:linear-gradient(145deg,#fff9e7,#f5e7bd)}
.homepage-islamic-event{margin-top:5px;padding:4px 6px;border-radius:6px;background:#e9d48d;color:#654d13;font-size:9px;font-weight:800;line-height:1.25}
.homepage-islamic-event[hidden]{display:none}
@media(max-width:600px){.hero-zakaat-panel .zakaat-panel-heading{gap:5px}.hero-zakaat-panel .zakaat-panel-label{font-size:8px}.hero-zakaat-panel .zakaat-update-date{font-size:8px}.homepage-islamic-event{font-size:8px;padding:3px 4px}}
.hero-slide {
    display: none;
    align-items: center;
    gap: 60px;
}

.hero-slide.active {
    display: flex;
}
@media (min-width: 901px) {
    .hero-slide.active {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}
@media (min-width: 901px) {
    .hero-slide.active {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .hero-poster img {
    display: block;
    width: auto;
    height: auto;
    max-width: 450px;
    max-height: 450px;
    object-fit: contain;
}

    .hero-text {
        width: 450px;
        max-width: 100%;
        padding: 14px;
    }

    .hero-text h2 {
        font-size: 18px;
    }

    .hero-text p {
        font-size: 15px;
    }
}
@media (min-width: 901px) {
    #heroSlides {
        position: relative;
        z-index: 5;
    }

    .hero-text .btn {
        position: relative;
        z-index: 6;
        pointer-events: auto;
    }
}
.hero-poster {
    width: 450px;
    max-width: 100%;
    display: flex;
    justify-content: center;
}

.hero-poster img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 450px;
    object-fit: contain;
}

/* ===== HOMEPAGE QUICK LINKS ===== */

.homepage-quick-links {
    width: 100%;
    padding: 35px 5.2% 45px;
    background: #f4f8f5;
    box-sizing: border-box;
}

.quick-links-container {
    max-width: 1700px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.quick-link-card {
    min-height: 260px;
    padding: 35px 22px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    color: #111827;
    background: linear-gradient(145deg, #ffffff, #f3f9f4);
    border: 1px solid #e8f0e9;
    border-radius: 28px;
    box-shadow: 0 12px 35px rgba(0, 65, 35, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.quick-link-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 80, 40, 0.15);
}

.quick-link-icon {
    width: 76px;
    height: 76px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(135deg, #168b3b, #2eae52);
    border-radius: 50%;
    box-shadow: 0 10px 24px rgba(25, 140, 60, 0.2);
    font-size: 29px;
}

.quick-link-card h2 {
    margin: 0 0 18px;
    color: #16833b;
    font-size: clamp(20px, 2.2vw, 32px);
    font-weight: 800;
    line-height: 1.2;
}

.quick-link-card p {
    margin: 0;
    color: #111827;
    font-size: 16px;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .homepage-quick-links {
        padding: 25px 18px 35px;
    }

    .quick-links-container {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .quick-link-card {
        min-height: 200px;
        padding: 28px 18px;
        border-radius: 24px;
    }

    .quick-link-icon {
        width: 64px;
        height: 64px;
        margin-bottom: 16px;
        font-size: 25px;
    }

    .quick-link-card h2 {
        margin-bottom: 10px;
        font-size: 25px;
    }

    .quick-link-card p {
        font-size: 15px;
    }
}

@media (max-width: 420px) {
    .homepage-quick-links {
        padding-right: 12px;
        padding-left: 12px;
    }

    .quick-link-card {
        min-height: 180px;
    }

    .quick-link-card h2 {
        font-size: 21px;
    }
}
