body{
margin:0;
font-family:Arial, sans-serif;
background:#fff;
color:#222;
}


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

.navbar{

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

padding:6px 25px;

background:white;

position:relative;

z-index:1000;

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

}

/* LOGO */

.logo-area{

display:flex;
align-items:center;

}

.full-logo{

height:110px;

width:auto;

max-width:520px;

object-fit:contain;

display:block;

}

/* MENU */

.menu{

display:flex;
align-items:center;
margin-left:auto;

}

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

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


/* ================================= */
/* 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:#413cdb;
}

.dropdown:hover .dropdown-menu{
    display:block;
}

/* ================================= */
/* HERO */
/* ================================= */

.page-hero{

position:relative;

background:
linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6)),
url("images/support.webp");

background-size:cover;

background-position:center;

padding:140px 20px;

text-align:center;

color:white;

}

.hero-overlay{

position:absolute;

top:0;
left:0;

width:100%;
height:100%;

}

.hero-content{

position:relative;

max-width:850px;

margin:auto;

z-index:2;

}

.hero-small{

font-weight:600;

letter-spacing:1px;

margin-bottom:10px;

color:#8de0b0;

}

.page-hero h1{

font-size:54px;

line-height:1.2;

margin-bottom:20px;

}

.page-hero p{

font-size:18px;

line-height:1.8;

margin-bottom:35px;

opacity:0.95;

}

/* BUTTON */

.hero-btn{

display:inline-block;

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

color:white;

padding:15px 40px;

border-radius:40px;

text-decoration:none;

font-weight:600;

transition:0.3s;

}

.hero-btn:hover{

transform:translateY(-3px);

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

}


/* ================================= */
/* PATTERN */
/* ================================= */

.pattern-section{

position:relative;

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

background-size:cover;

background-position:center;

background-repeat:no-repeat;

}

.pattern-section::before{

content:"";

position:absolute;

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

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

}

.pattern-section > *{

position:relative;

z-index:1;

}


/* ================================= */
/* DONATE SECTION */
/* ================================= */

.donate-section{

padding:100px 20px;

}

.donate-container{

max-width:1200px;

margin:auto;

}

/* HEADER */

.donate-header{

text-align:center;

margin-bottom:60px;

}

.section-small{

color:#1F8F4E;

font-weight:600;

margin-bottom:10px;

}

.section-title{

font-size:40px;

color:#0F6D3C;

margin-bottom:15px;

}

.section-line{

width:100px;

height:4px;

background:#1F8F4E;

margin:auto auto 25px;

border-radius:5px;

}

.section-text{

max-width:750px;

margin:auto;

line-height:1.8;

color:#555;

}


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

.bank-card{

display:flex;

gap:40px;

background:white;

padding:45px;

border-radius:18px;

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

margin-bottom:70px;

}

/* LEFT */

.bank-left{

flex:1;

}

.bank-left h3{

font-size:30px;

color:#0F6D3C;

margin-bottom:15px;

}

.bank-left p{

line-height:1.8;

color:#555;

}

/* LIST */

.donation-list{

list-style:none;

padding:0;

margin-top:25px;

}

.donation-list li{

margin-bottom:18px;

padding-left:35px;

position:relative;

line-height:1.7;

}

.donation-list li::before{

content:"✔";

position:absolute;

left:0;

top:0;

width:22px;
height:22px;

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

background:#1F8F4E;

color:white;

border-radius:50%;

font-size:13px;

}


/* RIGHT */

.bank-right{

flex:1;

display:flex;

flex-direction:column;

gap:18px;

}

/* ROW */

.bank-row{

background:#f8f9fb;

padding:18px 20px;

border-radius:12px;

display:flex;

justify-content:space-between;

align-items:center;

gap:20px;

flex-wrap:wrap;

border-left:5px solid #1F8F4E;

}

.bank-row span{

font-weight:600;

color:#555;

}

.bank-row strong{

font-size:17px;

color:#0F6D3C;

}


/* ================================= */
/* CONTACT */
/* ================================= */

.contact-card{

text-align:center;

}

.contact-grid{

display:grid;

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

gap:25px;

margin-top:50px;

}

/* BOX */

.contact-box{

background:white;

padding:35px 25px;

border-radius:16px;

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

transition:0.3s;

}

.contact-box:hover{

transform:translateY(-5px);

}

.contact-icon{

width:75px;
height:75px;

margin:auto auto 20px;

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

border-radius:50%;

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

font-size:32px;

color:white;

}

.contact-box h3{

margin-bottom:12px;

color:#0F6D3C;

}

.contact-box p{

line-height:1.8;

color:#555;

}


/* ================================= */
/* FOOTER */
/* ================================= */

footer{

background:#166c3a;

color:white;

text-align:center;

padding:25px 20px;

margin-top:80px;

}


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

.menu-toggle{

display:none;

font-size:32px;

cursor:pointer;

color:#0F6D3C;

}


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

@media(max-width:900px){

/* NAVBAR */

.navbar{

padding:14px 18px;

flex-wrap:nowrap;

}

.menu-toggle{

display:flex;

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

position:absolute;

right:18px;

top:50%;

transform:translateY(-50%);

}

/* MENU */

@media (max-width:900px){

    .menu{
        display:none;
        flex-direction:column;

        position:absolute;
        top:100%;
        left:0;
        right:0;

        width:auto;
        max-width:100%;

        box-sizing:border-box;

        background:#0f3d73;
    }

}

.menu.show-menu{

display:flex;

}

.menu a{

margin:12px 20px;

display:block;

}

/* DROPDOWN */

.dropdown{

width:100%;

}

.dropdown-menu{

position:static;

display:none;

box-shadow:none;

border-radius:0;



margin-top:8px;

}

/* HERO */

.page-hero{

padding:110px 20px 90px;

}

.page-hero h1{

font-size:42px;

}

/* BANK */

.bank-card{

flex-direction:column;

}

/* CONTACT */

.contact-grid{

grid-template-columns:1fr;

}

}


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

@media(max-width:600px){

.full-logo{

height:68px;

max-width:270px;

}

/* HERO */

.page-hero{

padding:90px 15px 80px;

}

.page-hero h1{

font-size:32px;

}

.page-hero p{

font-size:15px;

line-height:1.8;

}

/* BUTTON */

.hero-btn{

width:100%;

max-width:300px;

padding:14px 20px;

}

/* SECTION */

.donate-section{

padding:70px 15px;

}

/* TITLE */

.section-title{

font-size:30px;

}

/* BANK */

.bank-card{

padding:25px 20px;

border-radius:16px;

}

.bank-left h3{

font-size:24px;

}

.bank-row{

padding:15px;

}

.bank-row strong{

font-size:15px;

}

/* CONTACT */

.contact-box{

padding:30px 20px;

}

.contact-icon{

width:65px;
height:65px;

font-size:26px;

}

/* FOOTER */

footer{

padding:20px 15px;

font-size:14px;

}

}
/* 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;
}
/* ===================================== */
/* 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{

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

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

    background:linear-gradient(
        135deg,
        #0a2540,
        #134074,
        #1d4e89
    );

    backdrop-filter:blur(15px);

    border-left:1px solid rgba(255,255,255,.15);

    box-shadow:-10px 0 40px rgba(0,0,0,.35);

    transition:right .35s ease;

    z-index:9999;

    padding:90px 20px 30px;
}

    .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{
    background:white;
    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;
    }

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

}

.mobile-nav-logo{
    display:none;
}
/* Prevent horizontal scrolling */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Prevent page sections from extending beyond the screen */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Prevent images from exceeding the screen width */
img,
video,
iframe {
    max-width: 100%;
}


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