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:55px;
margin-right:10px;
}

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

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

.menu a{
    text-decoration:none;
    color:#333;
    font-size:16px;
    font-weight:500;
    padding:10px 14px;
    transition:.3s;
}

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



/* HERO */

.hero{

height:700px;

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

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

position:relative;

}


/* GREEN OVERLAY */

.hero-overlay{

position:absolute;
width:100%;
height:100%;

background:linear-gradient(
rgba(102, 210, 156, 0.245),
rgba(71, 209, 138, 0.227)
);

}


/* HERO CONTENT */

.hero-content{

position:relative;

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

display:flex;
justify-content:center;

}


/* 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:#f3f3f3;

padding:50px;

border-radius:12px;

max-width:520px;

}


.hero-text h2{

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

}

.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 */

.dropdown{
    position:relative;
}

.dropdown-menu{
    position:absolute;
    top:100%;
    left:0;
    min-width:250px;
    
    border-radius:12px;
    box-shadow:0 10px 30px rgba(0,0,0,.15);
    display:none;
    z-index:9999;
    overflow:hidden;
}

.dropdown-menu a{
    display:block;
    padding:12px 18px;
    color:#333;
    text-decoration:none;
    font-weight:500;
    transition:.3s;
}

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

.dropdown:hover .dropdown-menu{
    display:block;
}
/* 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;

}

.page-hero{
background:linear-gradient(rgba(0,0,0,0.55),rgba(0,0,0,0.55)),
url("images/masjidhero.webp");
background-size:cover;
background-position:center;
color:white;
text-align:center;
padding:120px 20px;
}

.page-hero h1{
font-size:48px;
margin-bottom:10px;
}

.page-hero p{
font-size:18px;
opacity:0.9;
}
/* MASJID INTRO */
.masjid-intro{
padding:60px 20px;
background:#f9f9f9;
text-align:center;
}

/* GRID */
.masjid-grid{

display:grid;
grid-template-columns:repeat(auto-fit, minmax(220px,1fr));
gap:25px;

margin-top:40px;

}

/* CARD */
.masjid-card{

background:white;
border-radius:12px;
overflow:hidden;
text-align:center;

text-decoration:none;
color:#333;

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

transition:0.3s;

}

.masjid-card img{

width:100%;
height:160px;
object-fit:cover;

}

.masjid-card h3{

padding:15px;
font-size:16px;

}

/* HOVER */
.masjid-card:hover{

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

}

.masjid-finder{
padding:60px 20px;
background:#f9f9f9;
}

.finder-actions{
display:flex;
gap:15px;
margin-bottom:20px;
flex-wrap:wrap;
}

#masjidTable{
width:100%;
margin-top:20px;
border-collapse:collapse;
background:white;
}

#masjidTable th, #masjidTable td{
padding:12px;
border-bottom:1px solid #eee;
text-align:left;
}

/* BUTTON CONTAINER */
.finder-actions{
display:flex;
gap:15px;
margin-bottom:30px;
flex-wrap:wrap;
}

/* BUTTON BASE */
.finder-btn{
padding:14px 28px;
border-radius:30px;
border:none;
font-weight:600;
cursor:pointer;
transition:0.3s;
font-size:14px;
}

/* PRIMARY */
.finder-btn.primary{
background:linear-gradient(135deg,#1F8F4E,#0F6D3C);
color:white;
box-shadow:0 6px 15px rgba(0,0,0,0.15);
}

.finder-btn.primary:hover{
transform:translateY(-3px);
box-shadow:0 10px 25px rgba(0,0,0,0.2);
}

/* SECONDARY */
.finder-btn.secondary{
background:white;
color:#1F8F4E;
border:2px solid #1F8F4E;
}

.finder-btn.secondary:hover{
background:#1F8F4E;
color:white;
}

.masjid-filter{
margin-bottom:30px;
text-align:center;
}

.masjid-filter input{
width:300px;
max-width:100%;
padding:12px 15px;
border-radius:25px;
border:1px solid #ccc;
outline:none;
font-size:14px;
}
.dropdown-menu{
display:none;
position:absolute;
top:40px;
right:0;   /* 🔥 CHANGE THIS */
left:auto; /* 🔥 ADD THIS */


min-width:220px;
border-radius:10px;
box-shadow:0 8px 20px rgba(0,0,0,0.1);
z-index:1000;
}
/* FILTER AREA */

.masjid-filter{

display:flex;

justify-content:center;

align-items:center;

gap:15px;

flex-wrap:wrap;

margin-bottom:35px;

}


/* SEARCH INPUT */

.masjid-filter input{

width:320px;

padding:14px 18px;

border-radius:30px;

border:1px solid #ddd;

font-size:15px;

outline:none;

background:white;

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

transition:0.3s;

}


.masjid-filter input:focus{

border-color:#1F8F4E;

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

}


/* LOCATION DROPDOWN */

.masjid-filter select{

padding:14px 18px;

border-radius:30px;

border:1px solid #ddd;

font-size:15px;

outline:none;

background:white;

cursor:pointer;

min-width:180px;

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

transition:0.3s;

}


.masjid-filter select:focus{

border-color:#1F8F4E;

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

}
/* ================================= */
/* MODERN MASJID CARDS */
/* ================================= */

/* ================================= */
/* COMPACT MASJID GRID */
/* ================================= */

.masjid-grid{
display:grid;

grid-template-columns:
repeat(5,minmax(0,1fr));

gap:20px;

margin-top:40px;
}



/* CARD */

.masjid-card{

background:white;

border-radius:18px;

overflow:hidden;

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

transition:0.3s;

display:flex;
flex-direction:column;

min-width:0;

}

.masjid-card:hover{

transform:translateY(-6px);

box-shadow:0 12px 30px rgba(0,0,0,0.14);

}



/* IMAGE */

.masjid-card img{

width:100%;
height:150px;
object-fit:cover;

}



/* CONTENT */

.masjid-card-content{

padding:18px;

}



/* PROVINCE */

.province-tag{

display:inline-block;

padding:6px 12px;

background:#e8f7ee;

color:#0F6D3C;

border-radius:20px;

font-size:11px;

font-weight:700;

margin-bottom:12px;

}



/* TITLE */

.masjid-card h3{

font-size:18px;

line-height:1.4;

margin-bottom:12px;

color:#0F6D3C;

}



/* DESCRIPTION */

.masjid-desc{

font-size:13px;

line-height:1.7;

color:#555;

margin-bottom:18px;

display:-webkit-box;

-webkit-line-clamp:4;

-webkit-box-orient:vertical;

overflow:hidden;

}



/* META */

.masjid-meta{

display:flex;

flex-direction:column;

gap:10px;

margin-bottom:18px;

}

.masjid-meta div{

background:#f7f7f7;

padding:12px;

border-radius:12px;

font-size:12px;

line-height:1.6;

}



/* BUTTONS */

.card-buttons{

display:flex;

flex-direction:column;

gap:10px;

}

.map-btn{

display:block;

text-align:center;

padding:11px 16px;

border-radius:30px;

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

color:white;

font-size:13px;
font-weight:700;

text-decoration:none;

transition:0.3s;

}

.map-btn:hover{

transform:translateY(-2px);

}



/* ================================= */
/* LARGE TABLET */
/* ================================= */

@media(max-width:1400px){

.masjid-grid{

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

}

}



/* ================================= */
/* TABLET */
/* ================================= */

@media(max-width:1100px){

.masjid-grid{

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

}

}



/* ================================= */
/* SMALL TABLET */
/* ================================= */

@media(max-width:800px){

.masjid-grid{

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

gap:18px;

}

}

/* ================================= */
/* MOBILE MASJID GRID */
/* ================================= */

@media(max-width:700px){

/* GRID */

.masjid-grid{

display:grid;

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

gap:10px;

margin-top:25px;

}

/* CARD */

.masjid-card{

border-radius:12px;

overflow:hidden;

}

/* IMAGE */

.masjid-card img{

width:100%;

height:85px;

object-fit:cover;

}

/* CONTENT */

.masjid-card-content{

padding:10px;

}

/* PROVINCE */

.province-tag{

font-size:8px;

padding:4px 8px;

margin-bottom:8px;

}

/* TITLE */

.masjid-card h3{

font-size:11px;

line-height:1.3;

margin-bottom:8px;

/* PREVENT WRAPPING */

display:-webkit-box;

-webkit-line-clamp:2;

-webkit-box-orient:vertical;

overflow:hidden;

min-height:28px;

}

/* DESCRIPTION */

.masjid-desc{

font-size:9px;

line-height:1.5;

margin-bottom:10px;

-webkit-line-clamp:3;

}

/* META */

.masjid-meta{

gap:6px;

margin-bottom:10px;

}

.masjid-meta div{

padding:7px;

font-size:8px;

line-height:1.4;

border-radius:8px;

}

/* BUTTON */

.map-btn{

padding:8px 10px;

font-size:9px;

border-radius:20px;

}

/* FILTERS */

/* ================================= */
/* MOBILE SEARCH + FILTER */
/* ================================= */

.masjid-filter{

display:flex;

flex-direction:column;

align-items:center;

gap:14px;

margin-bottom:22px;

width:100%;

}

/* SEARCH */

.masjid-filter input{

width:100%;

max-width:420px;

padding:13px 18px;

font-size:14px;

border-radius:30px;

border:1px solid #ddd;

background:white;

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

}

/* FILTER */

.masjid-filter select{

width:100%;

max-width:420px;

padding:13px 18px;

font-size:14px;

border-radius:30px;

border:1px solid #ddd;

background:white;

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

appearance:none;

}

/* FOCUS */

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

outline:none;

border-color:#1F8F4E;

box-shadow:0 6px 18px rgba(31,143,78,0.15);

}

/* HERO */

.page-hero{

padding:80px 15px;

}

.page-hero h1{

font-size:30px;

}

.page-hero p{

font-size:14px;

}

}


/* ================================= */
/* EXTRA SMALL DEVICES */
/* ================================= */

@media(max-width:420px){

.masjid-grid{

gap:8px;

}

.masjid-card img{

height:75px;

}

.masjid-card-content{

padding:8px;

}

.masjid-card h3{

font-size:10px;

min-height:24px;

}

.masjid-desc{

font-size:8px;

}

.map-btn{

font-size:8px;

padding:7px;

}

}
/* ================================= */
/* MOBILE NAVBAR */
/* ================================= */

.menu-toggle{

display:none;

font-size:30px;

cursor:pointer;

color:#0F6D3C;

}


/* TABLET + MOBILE */

@media(max-width:900px){

/* NAVBAR */

.navbar{

padding:14px 18px;

flex-wrap:wrap;

position:relative;

}

/* SHOW HAMBURGER */

.menu-toggle{
display:block;
}

/* MOBILE MENU */

.menu{

display:none;

flex-direction:column;

width:100%;



padding:15px 0;

margin-top:15px;

border-top:1px solid #eee;

animation:fadeMenu 0.3s ease;

}

/* SHOW MENU */

.menu.show-menu{
display:flex;
}

/* LINKS */

.menu a{

margin:12px 20px;

display:block;

font-size:15px;

}

/* DROPDOWN */

.dropdown{

width:100%;

}

.dropdown-menu{

position:static;

display:none;

box-shadow:none;

border-radius:0;

padding-left:10px;

margin-top:8px;



}

/* LOGO */

.logo{

width:45px;

}

.logo-area h1{

font-size:24px;

}

/* HERO */

.page-hero{

padding:75px 15px;

}

}

/* ANIMATION */

@keyframes fadeMenu{

from{

opacity:0;
transform:translateY(-10px);

}

to{

opacity:1;
transform:translateY(0);

}

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

    .members-grid,
      .masjid-grid{
        grid-template-columns:repeat(2, 1fr);
    }

    .masjid-card{
        padding:8px;
    }

    .masjid-card h3{
        font-size:12px;
    }

    .masjid-location{
        font-size:11px;
    }

}
.extra-info{
    display:none;
}

.masjid-card.active .extra-info{
    display:block;
}
@media(max-width:768px){

    .search-filters{
        display:flex;
        flex-direction:column;
        gap:10px;
    }

    .search-filters input,
    .search-filters select{
        width:100%;
    }

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

    .navbar{
        position:sticky;
        top:0;
        
        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{
    
    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{
        
        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);
    }

}
.masjid-location{
    color:#666;
    font-size:14px;
    margin-bottom:15px;
}

.extra-info{
    display:none;
    margin-top:15px;
    padding-top:15px;
    border-top:1px solid #eee;
}

.masjid-card.active .extra-info{
    display:block;
}

.view-btn{
    width:100%;
    cursor:pointer;
    border:none;
}
.masjid-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
}

.masjid-card{
    background:#fff;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(0,0,0,.1);
    transition:.3s;
}

.masjid-card:hover{
    transform:translateY(-5px);
}

.masjid-card img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.masjid-card-content{
    padding:20px;
}

.masjid-card h3{
    margin-bottom:10px;
    color:#0b5d3b;
}

.masjid-location{
    color:#666;
    margin-bottom:15px;
}

.view-btn,
.map-btn{
    width:100%;
    padding:12px;
    border:none;
    border-radius:8px;
    background:#0b5d3b;
    color:white;
    cursor:pointer;
    text-decoration:none;
    display:block;
    text-align:center;
    margin-top:10px;
}

.extra-info{
    display:none;
    margin-top:15px;
    border-top:1px solid #ddd;
    padding-top:15px;
}

.masjid-card.active .extra-info{
    display:block;
}

@media(max-width:768px){

    .masjid-grid{
        grid-template-columns:repeat(2,1fr);
        gap:15px;
    }

    .masjid-card img{
        height:140px;
    }

    .masjid-card-content{
        padding:12px;
    }

    .masjid-card h3{
        font-size:14px;
    }
}
@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;
    }

}
/* GRID */
.masjid-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}

/* CARD */
.masjid-card{
    background:#fff;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(0,0,0,.12);
    transition:.3s;
}

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

.masjid-card-content{
    padding:15px;
}

.masjid-card h3{
    margin-bottom:8px;
}

.masjid-location{
    margin-bottom:12px;
}

/* TABLET */
@media (max-width:900px){

    .masjid-grid{
        grid-template-columns:repeat(2,1fr);
        gap:15px;
    }

    .masjid-card img{
        height:180px;
    }
}

/* MOBILE */
@media (max-width:600px){

    .masjid-filter{
        display:flex;
        flex-direction:column;
        gap:10px;
        padding:0 12px;
    }

    .masjid-filter input,
    .masjid-filter select{
        width:100%;
    }

    .masjid-grid{
        grid-template-columns:repeat(2,1fr);
        gap:12px;
        padding:0 12px;
    }

    .masjid-card{
        border-radius:12px;
    }

    .masjid-card img{
        height:120px;
    }

    .masjid-card-content{
        padding:10px;
    }

    .masjid-card h3{
        font-size:14px;
        line-height:1.3;
        margin-bottom:5px;
    }

    .masjid-location{
        font-size:12px;
        margin-bottom:8px;
    }

    .view-btn,
    .map-btn{
        width:100%;
        font-size:12px;
        padding:8px;
    }

    .extra-info{
        font-size:12px;
    }
}
html,
body{
    margin:0;
    padding:0;
}

.pro-footer{
    margin-bottom:0;
}

body{
    overflow-x:hidden;
}

.map-modal{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.7);
    z-index:9999;
}

.map-container{
    width:90%;
    height:80%;
    max-width:1000px;
    background:#fff;
    margin:auto;
    position:relative;
    top:50%;
    transform:translateY(-50%);
    border-radius:12px;
    overflow:hidden;
}

#mapFrame{
    width:100%;
    height:100%;
    border:none;
}
.dropdown-menu{
    display:none;
}

.dropdown-menu a{
    display:block;
}
/* MOBILE DROPDOWN FIX */
.dropdown-menu.show-dropdown{
    display:block !important;
}

@media(max-width:900px){

    .dropdown{
        width:100%;
    }

    .dropdown-menu{
        position:static;
        display:none;
        margin:8px 0;
        padding:8px;
        background:#ffffff;
        border:1px solid #e5e5e5;
        border-radius:12px;
        box-shadow:0 4px 12px rgba(0,0,0,0.08);
    }

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

    .dropdown-menu a{
        color:#000000 !important;
        text-align:left;
        margin:0 !important;
        padding:12px 15px !important;
        border-radius:8px;
        font-size:15px;
    }

    .dropdown-menu a:hover{
        background:#f2f2f2;
        color:#0F6D3C !important;
    }
}
@media (max-width:900px){

    .menu{
        position:fixed;
        top:0;
        right:-320px;
        width:300px;
        height:100vh;
        background:white;
        flex-direction:column;
        align-items:center;
        padding:80px 20px;
        transition:0.3s;
        overflow-y:auto;
        z-index:9999;
    }

    .menu.show-menu{
        right:0;
    }

    .menu-toggle{
        display:block;
        cursor:pointer;
        font-size:28px;
    }

    .dropdown{
        width:100%;
    }

    .dropdown-menu{
        position:static;
        display:none;
        width:100%;
        box-shadow:none;
        margin-top:5px;
        border-radius:0;
    }

    .dropdown-menu.show-dropdown{
        display:block !important;
    }
}
@media (max-width:900px){

    .menu{

        position:fixed;
        top:0;
        right:-320px;
        text-align: center;
        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);
    }

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

    .menu{
        align-items:center !important;
        text-align:center !important;
    }

    .menu li{
        width:100%;
        text-align:center;
    }

    .menu a{
        display:block;
        width:100%;
        text-align:center;
    }

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

    .dropdown-menu{
        align-items:center;
        text-align:center;
    }

    .dropdown-menu a{
        text-align:center !important;
    }
}
.hero-prayer-times{
    max-width:700px;
    margin:20px auto;
    padding:25px;
    background:rgba(255,255,255,0.15);
    backdrop-filter:blur(10px);
    border-radius:15px;
    text-align:center;
    color:#fff;
}

.hero-prayer-times h3{
    font-size:2rem;
    margin-bottom:10px;
    color:#fff;
}

.hero-prayer-times p{
    font-size:1.1rem;
    line-height:1.7;
    margin-bottom:20px;
}

.hero-buttons{
    display:flex;
    justify-content:center;
    gap:15px;
    flex-wrap:wrap;
}

.hero-btn{
    background:#0F6D3C;
    color:#fff;
    text-decoration:none;
    padding:12px 25px;
    border-radius:30px;
    font-weight:600;
    transition:0.3s;
}

.hero-btn:hover{
    transform:translateY(-3px);
}

.hero-btn.secondary{
    background:#ffffff;
    color:#0F6D3C;
}

@media(max-width:768px){
    .hero-prayer-times{
        padding:20px 15px;
    }

    .hero-prayer-times h3{
        font-size:1.5rem;
    }

    .hero-prayer-times p{
        font-size:1rem;
    }

    .hero-buttons{
        flex-direction:column;
        align-items:center;
    }
}

.taqweem-note{
    margin-top:15px;
    font-size:14px;
    line-height:1.6;
    color:rgba(255,255,255,0.85);
    max-width:700px;
    margin-left:auto;
    margin-right:auto;
}

.taqweem-note strong{
    color:#fff;
}

/* =====================================================
   MASJID PAGE NAVBAR — CONSOLIDATED MOBILE OVERRIDES
   These rules intentionally override older conflicting
   mobile navbar declarations earlier in this stylesheet.
===================================================== */
.logo-group {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.logo-gif {
    display: block;
    width: auto;
    height: 54px;
    object-fit: contain;
}
.logo-main {
    display: block;
    width: auto;
    height: 58px;
    max-width: 190px;
    object-fit: contain;
}
.mobile-nav-logo { display: none; }
.menu-toggle {
    display: none;
    border: 0;
    background: #f1f7f3;
    color: #0F6D3C;
    border-radius: 10px;
    padding: 8px 12px;
    line-height: 1;
    font-size: 29px;
    cursor: pointer;
    z-index: 10002;
}

@media (max-width: 900px) {
    .navbar {
        position: sticky;
        top: 0;
        z-index: 10000;
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        width: 100%;
        box-sizing: border-box;
        padding: 8px 14px;
        background: #fff;
        box-shadow: 0 3px 16px rgba(0,0,0,.09);
    }
    .logo-group { gap: 7px; flex: 1 1 auto; }
    .logo-gif { height: 38px; max-width: 42px; }
    .logo-main { height: 42px; max-width: min(42vw, 155px); }
    .menu-toggle { display: block; flex: 0 0 auto; }

    .navbar .menu {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 5px;
        width: min(84vw, 340px);
        height: 100dvh;
        box-sizing: border-box;
        margin: 0;
        padding: 112px 22px 28px;
        overflow-y: auto;
        overscroll-behavior: contain;
        background: linear-gradient(160deg, #12365f 0%, #174a80 100%);
        border-left: 1px solid rgba(255,255,255,.12);
        border-radius: 0;
        box-shadow: -12px 0 35px rgba(0,0,0,.22);
        transform: translateX(110%);
        visibility: hidden;
        pointer-events: none;
        transition: transform .28s ease, visibility .28s ease;
        z-index: 10001;
    }
    .navbar .menu.show-menu {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
    }
    .navbar .menu > a,
    .navbar .menu > .dropdown > a {
        display: block;
        width: 100%;
        box-sizing: border-box;
        margin: 0;
        padding: 13px 10px;
        border-radius: 9px;
        color: #fff !important;
        text-align: center;
        text-decoration: none;
        font-size: 15px;
        font-weight: 600;
        line-height: 1.35;
    }
    .navbar .menu > a:hover,
    .navbar .menu > .dropdown > a:hover {
        background: rgba(255,255,255,.10);
        color: #fff !important;
    }
    .navbar .dropdown {
        display: block;
        width: 100%;
        flex: 0 0 auto;
    }
    .navbar .dropdown-menu {
        position: static;
        display: none;
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
        margin: 3px 0 7px;
        padding: 5px;
        background: rgba(255,255,255,.10);
        border: 1px solid rgba(255,255,255,.16);
        border-left: 3px solid #66c995;
        border-radius: 9px;
        box-shadow: none;
        overflow: hidden;
    }
    .navbar .dropdown-menu.show-dropdown {
        display: block !important;
    }
    .navbar .dropdown-menu a {
        display: block;
        width: 100%;
        box-sizing: border-box;
        margin: 0;
        padding: 11px 12px;
        color: #fff !important;
        text-align: center !important;
        font-size: 14px;
        font-weight: 500;
        border-radius: 6px;
    }
    .navbar .dropdown-menu a:hover { background: rgba(255,255,255,.14); }
    .navbar .mobile-nav-logo {
        display: flex !important;
        justify-content: center;
        align-items: center;
        width: 100%;
        box-sizing: border-box;
        margin: 14px auto 0;
        padding: 18px 0 5px;
        max-width: 180px;
        border-top: 1px solid rgba(255,255,255,.35);
    }
    .navbar .mobile-nav-logo img {
        display: block;
        width: 112px !important;
        max-width: 60%;
        height: auto;
        margin: 0 auto;
        object-fit: contain;
    }
    body.mobile-menu-open { overflow: hidden; }
}

@media (max-width: 380px) {
    .navbar { padding: 7px 10px; gap: 8px; }
    .logo-gif { height: 33px; max-width: 35px; }
    .logo-main { height: 37px; max-width: 39vw; }
    .menu-toggle { font-size: 26px; padding: 7px 10px; }
}

/* FINAL MOBILE NAV ALIGNMENT OVERRIDE */
@media (max-width: 900px) {
    .navbar .menu {
        align-items: stretch !important;
        text-align: center !important;
    }

    .navbar .menu > a,
    .navbar .menu > .dropdown,
    .navbar .menu > .dropdown > a {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        text-align: center !important;
        align-self: stretch !important;
    }

    .navbar .menu > .dropdown > a {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 7px;
    }

    .navbar .menu > .dropdown .dropdown-menu,
    .navbar .menu > .dropdown .dropdown-menu a {
        text-align: center !important;
    }

    .navbar .mobile-nav-logo {
        margin-left: auto !important;
        margin-right: auto !important;
        align-self: center !important;
    }
}


/* FINAL FIX: CENTER MOBILE NAVIGATION */
@media (max-width: 900px) {
    .navbar .menu.show-menu {
        display: flex !important;
        flex-direction: column;
        align-items: center !important;
        justify-content: flex-start;
        text-align: center !important;
        width: 100%;
        box-sizing: border-box;
        background: linear-gradient(180deg, #12385f, #1b4b7d) !important;
        padding: 100px 0 30px !important;
        gap: 0;
    }

    .navbar .menu.show-menu > a,
    .navbar .menu.show-menu > .dropdown {
        width: 100%;
        box-sizing: border-box;
        margin: 0 !important;
        text-align: center !important;
    }

    .navbar .menu.show-menu > a,
    .navbar .menu.show-menu > .dropdown > a {
        display: flex !important;
        align-items: center;
        justify-content: center !important;
        width: 100%;
        box-sizing: border-box;
        margin: 0 !important;
        padding: 15px 10px !important;
        color: #fff !important;
        text-align: center !important;
    }

    .navbar .menu.show-menu > .dropdown {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .navbar .menu.show-menu .dropdown-menu {
        position: static !important;
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
        text-align: center;
        background: rgba(0, 0, 0, 0.12);
        padding: 0 !important;
        margin: 0 !important;
    }

    .navbar .menu.show-menu .dropdown-menu a {
        display: flex !important;
        justify-content: center !important;
        width: 100%;
        box-sizing: border-box;
        margin: 0 !important;
        padding: 12px 10px !important;
        color: #fff !important;
        text-align: center !important;
    }

    .navbar .menu.show-menu .mobile-nav-logo {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        box-sizing: border-box;
        margin-top: 20px;
        padding: 20px 0 0;
        border-top: 1px solid rgba(255, 255, 255, 0.25);
    }

    .navbar .menu.show-menu .mobile-nav-logo img {
        display: block;
        width: 110px;
        max-width: 40%;
        height: auto;
        margin: 0 auto;
        object-fit: contain;
    }
}
/* MOBILE DROPDOWN BACKGROUND FIX */
@media (max-width: 900px) {
    /* Keep the masjid menu the same right-side drawer used by the other pages. */
    .navbar .menu.show-menu {
        width: min(84vw, 340px) !important;
        right: 0 !important;
        left: auto !important;
        padding: 112px 22px 28px !important;
        gap: 5px !important;
    }

    .navbar .menu.show-menu .dropdown-menu {
        background: #173f69 !important;
        background-color: #173f69 !important;
        box-shadow: none !important;
        border: none !important;
    }

    .navbar .menu.show-menu .dropdown-menu a {
        background: transparent !important;
        color: #ffffff !important;
        text-align: center !important;
    }

    .navbar .menu.show-menu .dropdown-menu a:hover {
        background: #245580 !important;
        color: #ffffff !important;
    }
}
