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;
}





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

}
/* ========================= */
/* EVENTS PAGE (NEW DESIGN) */
/* ========================= */

.event-section{
padding:80px 20px;
background:white;
}

.event-section.alt{
background:#f7f7f7;
}

.event-row{
display:flex;
align-items:center;
gap:50px;
}

.event-image{
flex:1;
}

.event-image img{
width:100%;
border-radius:12px;
box-shadow:0 10px 30px rgba(0,0,0,0.15);
}

.event-text{
flex:1;
}

.event-text h2{
font-size:34px;
color:#0F6D3C;
margin-bottom:15px;
}

.event-text p{
line-height:1.7;
color:#555;
margin-bottom:20px;
}

/* RESPONSIVE */

@media(max-width:900px){
.event-row{
flex-direction:column;
}
}
.btn{

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

}
.page-hero{
background:linear-gradient(rgba(0,0,0,0.55),rgba(0,0,0,0.55)),
url("images/event.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;
}
/* ================================= */
/* SMALLER EVENT IMAGE */
/* ================================= */

.event-image{

flex:0.8;

}


.event-text{

flex:1.2;

}


.event-image img{

width:100%;

height:260px;

object-fit:cover;

border-radius:14px;

}


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

.event-more{

max-height:0;

overflow:hidden;

transition:max-height 0.5s ease;

}


.event-more p{

margin-top:15px;

line-height:1.7;

color:#666;

}


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

.event-btn{

margin-top:20px;

border:none;

cursor:pointer;

}
/* ================================= */
/* FILTER AREA */
/* ================================= */

.event-filter-section{

padding:50px 20px;

background:#f8f9fb;

}


/* WRAPPER */

.event-filter-wrapper{

max-width:850px;

margin:auto;

display:flex;

justify-content:center;

align-items:center;

gap:20px;

flex-wrap:wrap;

}


/* SEARCH BOX */

.search-box{

display:flex;

align-items:center;

background:white;

padding:0 18px;

border-radius:50px;

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

width:420px;

max-width:100%;

transition:0.3s;

}


.search-box:focus-within{

transform:translateY(-2px);

box-shadow:0 12px 30px rgba(31,143,78,0.15);

border:1px solid #1F8F4E;

}


.search-icon{

font-size:18px;

margin-right:12px;

color:#1F8F4E;

}


.search-box input{

flex:1;

border:none;

outline:none;

padding:16px 0;

font-size:15px;

background:transparent;

}


/* SELECT BOX */

.select-box{

background:white;

padding:0 18px;

border-radius:50px;

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

transition:0.3s;

}


.select-box:hover{

transform:translateY(-2px);

box-shadow:0 12px 30px rgba(31,143,78,0.12);

}


.select-box select{

border:none;

outline:none;

padding:16px 5px;

font-size:15px;

background:transparent;

cursor:pointer;

min-width:210px;

}


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

.event-btn{

margin-top:25px;

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

color:white;

border:none;

padding:14px 34px;

border-radius:50px;

font-size:15px;

font-weight:600;

cursor:pointer;

transition:all 0.35s ease;

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

letter-spacing:0.3px;

}


/* BUTTON HOVER */

.event-btn:hover{

transform:translateY(-4px);

box-shadow:0 18px 35px rgba(0,0,0,0.18);

background:linear-gradient(135deg,#28a75d,#0F6D3C);

}


/* BUTTON CLICK */

.event-btn:active{

transform:scale(0.97);

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

.menu-toggle{

display:none;

font-size:30px;

cursor:pointer;

color:#0F6D3C;

}


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

@media(max-width:900px){

/* NAVBAR */

.navbar{

display:flex;

justify-content:space-between;

align-items:center;

padding:14px 18px;

position:relative;

flex-wrap:nowrap;

}

/* LOGO */

.logo-area{

display:flex;
align-items:center;

flex:1;

min-width:0;

}

.logo{

width:45px;

}

/* MENU BUTTON */

.menu-toggle{

display:flex;

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

position:absolute;

right:18px;

top:50%;

transform:translateY(-50%);

z-index:2000;

}

/* MOBILE MENU */

.menu{

display:none;

position:absolute;

top:78px;

left:0;

width:100%;

background:white;

flex-direction:column;

padding:12px 0;

border-top:1px solid #eee;

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

z-index:1500;

animation:fadeMenu 0.3s ease;

}

.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;



margin-top:8px;

}

/* HERO */

.page-hero{

padding:100px 20px 80px;

}

.page-hero h1{

font-size:42px;

}

.page-hero p{

font-size:16px;

}

/* FILTERS */

.event-filter-section{

padding:40px 15px;

}

.event-filter-wrapper{

flex-direction:column;

gap:14px;

}

/* SEARCH */

.search-box{

width:100%;

}

/* SELECT */

.select-box{

width:100%;

}

.select-box select{

width:100%;

min-width:auto;

}

/* EVENTS */

.event-section{

padding:60px 15px;

}

.event-row{

flex-direction:column;

gap:30px;

}

/* IMAGE */

.event-image{

width:100%;

}

.event-image img{

width:100%;

height:260px;

object-fit:cover;

}

/* TEXT */

.event-text{

width:100%;

text-align:center;

}

.event-text h2{

font-size:30px;

}

.event-text p{

font-size:15px;

line-height:1.8;

}

/* META */

.event-meta{

justify-content:center;

flex-wrap:wrap;

gap:10px;

}

/* BUTTON */

.event-btn{

width:100%;

max-width:320px;

}

/* FOOTER */

footer{

margin-top:50px;

}

}


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

@media(max-width:600px){

/* HERO */

.page-hero{

padding:85px 15px 70px;

}

.page-hero h1{

font-size:32px;

line-height:1.3;

}

.page-hero p{

font-size:15px;

}

/* FILTER AREA */

.event-filter-section{

padding:35px 12px;

}

/* SEARCH */

.search-box{

padding:0 14px;

border-radius:14px;

}

.search-box input{

font-size:14px;

padding:14px 0;

}

/* SELECT */

.select-box{

border-radius:14px;

padding:0 14px;

}

.select-box select{

font-size:14px;

padding:14px 0;

}

/* EVENT */

.event-section{

padding:50px 12px;

}

/* IMAGE */

.event-image img{

height:220px;

border-radius:12px;

}

/* TITLE */

.event-text h2{

font-size:24px;

line-height:1.3;

}

/* TEXT */

.event-text p{

font-size:14px;

}

/* BUTTON */

.event-btn{

padding:13px 18px;

font-size:14px;

border-radius:30px;

}

/* META */

.event-meta{

font-size:12px;

}

/* LOGO */

.logo-area h1{

font-size:24px;

}

/* FOOTER */

footer{

padding:20px 15px;

font-size:14px;

}

}


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

@media(max-width:400px){

.page-hero h1{

font-size:26px;

}

.event-text h2{

font-size:22px;

}

.event-image img{

height:190px;

}

}


/* ANIMATION */

@keyframes fadeMenu{

from{
opacity:0;
transform:translateY(-10px);
}

to{
opacity:1;
transform:translateY(0);
}

}
/* ================================= */
/* IMAGE POPUP */
/* ================================= */

.popup-image{

cursor:pointer;

transition:0.3s ease;

}

.popup-image:hover{

transform:scale(1.02);

}

/* POPUP BACKGROUND */

.image-popup{

display:none;

position:fixed;

top:0;
left:0;

width:100%;
height:100%;

background:rgba(0,0,0,0.88);

z-index:5000;

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

padding:20px;

animation:fadePopup 0.3s ease;

}

/* POPUP IMAGE */

.image-popup img{

max-width:95%;

max-height:90vh;

border-radius:16px;

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

animation:zoomPopup 0.3s ease;

}

/* ANIMATIONS */

@keyframes fadePopup{

from{
opacity:0;
}

to{
opacity:1;
}

}

@keyframes zoomPopup{

from{

transform:scale(0.8);

opacity:0;

}

to{

transform:scale(1);

opacity:1;

}

}
@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);
    }

}
@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;
    }

}