
:root {
    --top: #174A96;
    --main: #1497D4;
    --orange: #F9A21B;
    --text: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f6f8;
    color: #333;
    padding-bottom:40px;
}

.container {
    max-width: 1300px;
    margin: auto;
    padding: 0 20px
}


/*  topbar    */


.topbar{
    background:var(--top);
    color:#dfefff;
    font-size:14px;
    padding:8px 0;
}

.topwrap{

    display:flex;

    justify-content:space-between;

    align-items:center;

    flex-wrap:wrap;

    gap:8px 20px;

}

.top-left,
.top-center,
.top-right{

    display:flex;

    align-items:center;

    gap:10px;

}

.top-center{

    flex:1;

    justify-content:center;

}

.top-right{

    justify-content:flex-end;

}

@media(max-width:991px){

    .topwrap{
        flex-direction:column;
        align-items:center;
        gap:0.5px;
    }

    .top-left,
    .top-center,
    .top-right{
        width:100%;
        justify-content:center;
        margin:0;
        padding:0;
        line-height:0.5;
    }

}

/*  topbar    */









/* NAV */
header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: var(--main);
    box-shadow: 0 4px 15px rgba(0, 0, 0, .15)
}

.nav {
    height: 95px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 80px;
    width: auto;
    display: block;
}



.donate {
    background: var(--orange);
    display: flex;
    justify-content: center;
    /* horizontal */
    align-items: center;
    /* vertical */
    border-radius: 20px;
    width: 100px;
    bottom: 0;
    height: 40px;
}/* HERO */
.hero {
    height: 520px;
    background: linear-gradient(rgba(0, 0, 0, .45), rgba(0, 0, 0, .45)), url("https://picsum.photos/1600/900") center/cover;
    color: #fff;
    display: flex;
    align-items: center
}

.hero h1 {
    font-size: 70px;
    max-width: 650px
}/* STICKY DONATION BAR */

.donation{
    position:fixed;
    left:50%;
    transform:translateX(-50%);
    bottom:15px;
    width:calc(100% - 60px);
    max-width:1300px;
    z-index:9999;
}

.donation .inner{
    background:var(--top);
    padding:6px 8px;
    border-radius:18px;
    display:flex;
    gap:10px;
    align-items:center;
    box-shadow:0 10px 20px rgba(0,0,0,.25);
}

.donation select,
.donation input{
    flex:1;
    height:32px;
    padding:0 14px;
    border:none;
    border-radius:8px;
    font-size:15px;
}

.donation button{
    height:32px;
    padding:0 28px;
    border:none;
    border-radius:18px;
    background:var(--orange);
    color:#fff;
    font-size:16px;
    font-weight:600;
    cursor:pointer;
}

/* CONTENT */
section.content {
    padding: 70px 20px;
    max-width: 1100px;
    margin: auto;
    line-height: 1.8
}
/* FOOTER */
footer {
    margin:30px 20px 0;
    background:#1497D4;
    color: #fff;
    border-radius:28px;
    padding:30px 10px;
}

.copy-wrap{
    background:#f4f6f8;
    padding:18px 0 30px;
}

.newsletter {
    background: var(--top);
    border-radius: 16px;
    padding: 25px;
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.newsletter input {
    flex: 1;
    padding: 16px;
    border: none;
    border-radius: 8px;
}

.newsletter button {
    background: var(--orange);
    border: none;
    color: #fff;
    padding: 16px 34px;
    border-radius: 35px;
    font-weight: bold;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.footer-grid h3 {
    margin-bottom: 18px
}

.footer-grid a {
    display: block;
    color: #fff;
    text-decoration: none;
    margin: 10px 0;
    opacity: .95;
}

.footer-grid a:hover {
    opacity: 1;
    text-decoration: underline
}

.social {
    margin-top: 25px
}

.social span {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, .45);
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    margin-right: 8px;
}

.copy {
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-size:15px;
    color:#174A96;
}

@media (max-width: 900px) {
    .menu {
        display: none
    }

    .footer-grid {
        grid-template-columns: 1fr
    }

    .newsletter, .donation .inner, .copy {
        flex-direction: column;
        display: flex
    }

    .hero h1 {
        font-size: 42px
    }
}









/* ==========================================
   INNER PAGE TEMPLATE
   Privacy Policy / Terms / About / Contact
   ========================================== */

.page-hero{

    background:linear-gradient(rgba(0,0,0,.45),
    rgba(0,0,0,.45)),
    url("https://storage.googleapis.com/wp-static/wp-orphansinneed/2023/12/f37c671a-zakat-fitra-ramadan.jpg") center/cover;

    color:#fff;

    padding:70px 0;

}

.page-hero h1{

    margin:0;

    font-size:48px;

    font-weight:700;

}

.page-breadcrumb{

    margin-top:12px;

    font-size:16px;

    color:rgba(255,255,255,.9);

}

.page-main{

    max-width:1300px;

    margin:40px auto;

    padding:0 20px;

    display:grid;

    grid-template-columns:280px 1fr;

    gap:30px;

}

.page-sidebar{

    background:#fff;

    border-radius:20px;

    padding:25px;

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

    height:fit-content;

}

.page-sidebar h3{

    color:var(--top);

    margin-bottom:20px;

    font-size:24px;

}

.page-sidebar a{

    display:block;

    padding:14px 18px;

    margin-bottom:8px;

    text-decoration:none;

    color:#333;

    border-radius:10px;

    transition:.25s;

}

.page-sidebar a:hover{

    background:var(--main);

    color:#fff;

}

.page-sidebar a.active{

    background:var(--orange);

    color:#fff;

    font-weight:bold;

}

.page-content{

    background:#fff;

    border-radius:20px;

    padding:40px;

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

    line-height:1.9;

}

.page-content h2{

    color:var(--top);

    margin-top:35px;

    margin-bottom:15px;

}

.page-content h2:first-child{

    margin-top:0;

}

.page-content p{

    margin-bottom:18px;

}

.page-content ul{

    margin:20px 0 20px 25px;

}

.page-content li{

    margin-bottom:10px;

}

.page-content table{

    width:100%;

    border-collapse:collapse;

    margin:25px 0;

}

.page-content th{

    background:var(--main);

    color:#fff;

    padding:14px;

    text-align:left;

}

.page-content td{

    padding:14px;

    border:1px solid #e6e6e6;

}

.page-content tr:nth-child(even){

    background:#f8f8f8;

}

/* Responsive */

@media(max-width:900px){

    .page-main{

        grid-template-columns:1fr;

    }

    .page-hero{

        padding:50px 0;

    }

    .page-hero h1{

        font-size:36px;

    }

    .page-content{

        padding:25px;

    }

    .page-sidebar{

        padding:20px;

    }

}



.pdf-download{

    display:inline-block;

    background:var(--orange);

    color:#fff;

    text-decoration:none;

    padding:2px 10px;

    border-radius:30px;

    font-weight:300;

    transition:.25s;

}

.pdf-download:hover{

    background:#e48f00;

}




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

.heroslide{

    position:relative;

    height:520px;

    overflow:hidden;

}

.heroslide .slides{

    position:absolute;

    inset:0;

}

.heroslide .slide{

    position:absolute;

    inset:0;

    background-size:cover;

    background-position:center;

    background-repeat:no-repeat;

    opacity:0;

    transition:opacity 1s ease;

}

.heroslide .slide.active{

    opacity:1;

}

.heroslide .overlay{

    position:absolute;

    inset:0;

    background:rgba(0,0,0,.45);

    z-index:1;

}

.heroslide-content{

    position:relative;

    z-index:2;

    height:100%;

    display:flex;

    align-items:center;

    color:#fff;

}

.heroslide h1{

    font-size:70px;

    max-width:650px;

    line-height:1.1;

}


/* Tablet */

@media (max-width:991px){

    .heroslide{

        height:440px;

    }

    .heroslide h1{

        font-size:52px;

    }

}

/* Phone */

@media (max-width:768px){

    .heroslide{

        height:380px;

    }

    .heroslide h1{

        font-size:40px;

        line-height:1.1;

    }

}

/* Small phone */

@media (max-width:480px){

    .heroslide{

        height:340px;

    }

    .heroslide .slide{

        background-position:70% center;

    }

    .heroslide h1{

        font-size:34px;

        line-height:1.15;

    }

}

.desktop-title{display:block;}
.mobile-title{display:none;}

@media(max-width:768px){
    .desktop-title{display:none;}
    .mobile-title{display:block;}
}

@media (max-width:768px){

    .donation{
        display:none;
    }

}

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

.video-box{
    max-width:900px;
    margin:auto;
    margin-top:35px;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.2);
}

.video-box iframe{
    width:100%;
    aspect-ratio:16/9;
    border:0;
}


.board-frame{

    background:#fff;

    padding:25px;

    border-radius:20px;

    border:1px solid #ddd;

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

    text-align:center;

}

.board-image{
    width:100%;
    max-width:1100px;
    border-radius:12px;
    cursor:zoom-in;
    transition:.3s;
}

.board-image:hover{
    transform:scale(1.01);
}










/* =============================== */
/* =============================== */
/* =============================== */
/* =============================== */
/* =============================== */
/* ===============================
   MOBILE HAMBURGER
 display:block !important;
   =============================== */

.navbar{

    background:#1497D4;

    padding:0;

    min-height:95px;

}

.navbar-brand img{

    height:100px;
    border-radius: 20px;
    overflow: hidden;
}

.nav-link{

    color:#fff !important;

    font-size:18px;

    font-weight:600;

    padding:32px 18px !important;

}

.nav-link:hover{

    color:#F9A21B !important;

}

.dropdown-menu{
    background:#1497D4 !important;
    border:0;
    border-radius:0 0 12px 12px;
}

.navbar-nav .nav-link{
    color:#fff !important;
    border-bottom:4px solid transparent;
    transition:.25s;
}

.navbar-nav .nav-link:hover{
    border-bottom:4px solid #F9A21B;
}

.dropdown-item{
    color:#fff !important;
}

.dropdown-item:hover{
    background:#1189C4 !important;
    color:#fff !important;
}






.btn-warning{

    background:#F9A21B;

    border:0;

    color:#fff;

    font-weight:bold;

}


/* Desktop - open dropdown on hover */
@media (min-width: 992px) {

    .navbar .dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }

    .navbar .dropdown-toggle::after{
        transition:.2s;
    }

    .navbar .dropdown:hover .dropdown-toggle::after{
        transform:rotate(180deg);
    }

}


@media (min-width:992px){

    .dropdown-menu{
        display:block;
        opacity:0;
        visibility:hidden;
        transform:translateY(12px);
        transition:.25s;
    }

    .dropdown:hover>.dropdown-menu{
        opacity:1;
        background:#1497D4;
        visibility:visible;
        transform:translateY(0);
    }

    .dropdown-menu .dropdown-item{
        color:#fff !important;
    }

    .dropdown-menu .dropdown-item:hover{
        background:#1189C4 !important;
        color:#fff !important;
    }


}





.easyfundraising-banner {
    padding: 28px 15px;
    background: #f5f8fb;
}

.easyfundraising-box {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px 28px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(0,0,0,.10);
    border-left: 5px solid #1b9bd1;
}

.easyfundraising-icon {
    font-size: 38px;
    flex-shrink: 0;
}

.easyfundraising-text {
    flex: 1;
}

.easyfundraising-text h3 {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 700;
    color: #164f8b;
}

.easyfundraising-text p {
    margin: 0 0 5px;
    font-size: 16px;
    color: #333;
}

.easyfundraising-text small {
    color: #666;
}

.easyfundraising-button a {
    display: inline-block;
    white-space: nowrap;
    padding: 12px 22px;
    background: #ffb600;
    color: #111;
    font-weight: 700;
    text-decoration: none;
    border-radius: 25px;
    transition: .2s;
}

.easyfundraising-button a:hover {
    background: #f0a800;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .easyfundraising-box {
        flex-direction: column;
        text-align: center;
        padding: 22px 18px;
    }

    .easyfundraising-button {
        width: 100%;
    }

    .easyfundraising-button a {
        width: 100%;
    }
}


.easyfundraising-sticky {
    position: fixed;
    right: 22px;
    bottom: 102px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px;
    background: #ffb600;
    color: #111;
    text-decoration: none;
    border-radius: 30px;
    box-shadow: 0 5px 18px rgba(0,0,0,.25);
    transition: .2s;
}

.easyfundraising-sticky:hover {
    color: #111;
    transform: translateY(-3px);
    box-shadow: 0 7px 22px rgba(0,0,0,.30);
}

.easyfundraising-sticky .ef-icon {
    font-size: 24px;
}

.easyfundraising-sticky strong,
.easyfundraising-sticky small {
    display: block;
    line-height: 1.15;
}

.easyfundraising-sticky strong {
    font-size: 14px;
}

.easyfundraising-sticky small {
    font-size: 11px;
    font-weight: normal;
}

@media (max-width: 768px) {
    .easyfundraising-sticky {
        right: 12px;
        bottom: 12px;
        padding: 9px 14px;
    }
}






.ght-news-card {
    display:flex;
    gap:24px;
    margin:20px 4%;
    padding:30px 40px;
    background:#fff;
    border-left:6px solid #1ca4d7;
    border-radius:18px;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
}

.ght-news-icon {
    font-size:38px;
}

.ght-news-content {
    flex:1;
    color:#333;
    font-size:17px;
    line-height:1.6;
}

.ght-news-content h3 {
    margin:0 0 12px;
    color:#19538e;
    font-size:26px;
}

.ght-news-content p {
    margin:8px 0 14px;
}

.ght-next-event {
    display:flex;
    flex-wrap:wrap;
    gap:10px 25px;
    margin:18px 0;
    padding:16px 20px;
    background:#f2f8fc;
    border-radius:12px;
}

.ght-next-event strong {
    width:100%;
    color:#19538e;
    font-size:19px;
}

.ght-news-footer {
    color:#555;
}




.desktop-donatebar {
    display: block;
}

@media (max-width: 768px) {
    .desktop-donatebar {
        display: none;
    }
}

/* ============================================================ */
/* POLICY PDF VIEWER */
/* ============================================================ */

.policy-section {
    display:none;
}

.pdf-toolbar {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;
    padding:12px 15px;
    margin-bottom:12px;
    background:#f8f9fa;
    border:1px solid #ddd;
    border-radius:8px;
}

.pdf-title {
    font-size:16px;
    font-weight:600;
    color:#333;
}

.pdf-actions {
    display:flex;
    gap:8px;
    flex-shrink:0;
}

.pdf-viewer {
    display:block;
    width:100%;
    height:850px;
    border:1px solid #ddd;
    border-radius:8px;
    background:#fff;
}

.pdf-mobile-viewer {
    display:none;
}

/* ============================================================ */
/* POLICY PDF - MOBILE */
/* ============================================================ */

@media (max-width:768px) {
    .page-main {
        display:block;
        margin:20px auto;
        padding:0 15px;
    }

    .page-sidebar {
        width:100%;
        margin-bottom:20px;
    }

    .page-sidebar a {
        padding:10px 12px;
    }

    .pdf-toolbar {
        display:block;
        padding:18px;
    }

    .pdf-title {
        display:block;
        margin-bottom:15px;
        font-size:18px;
    }

    .pdf-actions {
        display:flex;
        width:100%;
        gap:10px;
    }

    .pdf-actions .btn {
        flex:1;
    }

    .pdf-viewer {
        display:none;
    }

    .pdf-mobile-viewer {
        display:block;
        width:100%;
        padding:12px;
        background:#e9ecef;
        border-radius:8px;
    }

    .pdf-mobile-page {
        margin-bottom:15px;
        background:#fff;
        box-shadow:0 2px 8px rgba(0,0,0,.15);
    }

    .pdf-mobile-page canvas {
        display:block;
        width:100%;
        height:auto;
    }

    .pdf-loading,
    .pdf-error {
        padding:40px 15px;
        text-align:center;
        color:#555;
    }
}
