/* ==========================================
   WAKF AND TRUST COMMISSION
   MAIN STYLESHEET
========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    background:#74b2ef;
    font-family:Arial, sans-serif;
    padding-top:150px;
}

/* ================= HEADER ================= */

.sticky-header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:1050;
}

.top-header{
    background:whitesmoke;
    padding:4px;
}

.logo{
    height:45px;
}

.title{
    font-size:20px;
    font-weight:500;
}

/* ================= NAVBAR ================= */

.navbar-custom{
    background:#64c1db;
}

.navbar-custom a{
    color:#021b19;
    text-decoration:none;
    margin-right:50px;
}

.menu-row{
    background:#64c1db;
    padding:10px 0;
    text-align:center;
}

.menu-row a{
    color:#fff;
    text-decoration:none;
    font-weight:500;
}

.menu-row a:hover{
    color:#ffd700;
}

/* Dropdown */

.dropdown-toggle{
    cursor:pointer;
}

.dropdown-menu{
    background:#fff;
    border-radius:8px;
    padding:8px;
    box-shadow:0 5px 15px rgba(0,0,0,.15);
    z-index:2000;
}

.dropdown-item{
    color:#000;
    font-weight:500;
}

.dropdown-item:hover{
    background:#0b5d2a;
    color:#fff;
}

/* ================= TICKER ================= */

.ticker-bar{
    background:#dbf7db;
    color:#000;
    overflow:hidden;
    white-space:nowrap;
}

.ticker-content{
    display:inline-block;
    padding-left:100%;
    animation:tickerMove 100s linear infinite;
}

.ticker-content span{
    margin-right:60px;
}

@keyframes tickerMove{

    from{
        transform:translateX(0);
    }

    to{
        transform:translateX(-100%);
    }

}/* ==========================================
   SLIDER SECTION
========================================== */

.container-fluid.p-0{
    margin:0;
    padding:0;
}

.carousel-item{
    position:relative;
}

.carousel-item img{
    width:100%;
    height:500px;
    object-fit:cover;
    object-position:center;
}

.carousel-caption{
    bottom:20px;
    background:rgba(62, 181, 224, 0.55);
    padding:12px 20px;
    border-radius:10px;
    max-width:70%;
    margin:auto;
}

.carousel-caption h2{
    font-size:15px;
    font-weight:500;
    line-height:1.4;
    color:#0c100a;
    margin:0;
}

/* ==========================================
   NEWS / PDF SECTION
========================================== */

.news-section{
    width:100%;
    max-width:1200px;
    margin:50px auto;
    display:grid;
    grid-template-columns:1fr;
    gap:20px;
}

.pdf-card{
    width:100%;
    background:#fff;
    padding:10px;
    border-radius:10px;
    box-shadow:0 2px 10px rgba(0,0,0,0.15);
}

.pdf-card iframe{
    width:100%;
    height:1000px;
    border:none;
    display:block;
}

/* ==========================================
   CARDS (GENERAL)
========================================== */

.card{
    background:#fff;
    border-radius:15px;
    padding:8px;
    box-shadow:0 30px 25px rgba(0,0,0,.08);
    max-width:800px;
    margin:auto;
}

.card h2{
    color:#14365d;
    margin-top:0;
}

.card p{
    color:#666;
}
/* ==========================================
   SERVICES SECTION
========================================== */

.services-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
    gap:20px;
}

.service-card{
    text-decoration:none;
    background:rgba(255,255,255,0.6);
    padding:25px;
    border-radius:12px;
    color:#0b5d2a;
    transition:0.3s;
    border:1px solid rgba(0,0,0,0.08);
}

.service-card:hover{
    transform:translateY(-6px);
    background:#fff;
    border-left:4px solid #0b5d2a;
    box-shadow:0 8px 20px rgba(0,0,0,0.08);
}

.service-card .icon{
    font-size:32px;
    margin-bottom:10px;
}

.service-card h5{
    margin:0 0 5px;
    font-weight:600;
}

.service-card p{
    font-size:13px;
    color:#555;
    margin:0;
}

/* ==========================================
   GALLERY SECTION
========================================== */

.gallery{
    width:100%;
    overflow:hidden;
    padding:20px 0;
    background:#74b2ef;
}

.gallery-track{
    display:flex;
    width:max-content;
    animation:scroll 15s linear infinite;
}

.gallery-track img{
    width:300px;
    height:200px;
    object-fit:cover;
    margin-right:15px;
    border-radius:10px;
    flex-shrink:0;
}

.gallery:hover .gallery-track{
    animation-play-state:paused;
}

@keyframes scroll{
    from{
        transform:translateX(0);
    }
    to{
        transform:translateX(-50%);
    }
}
/* ==========================================
   DASHBOARD GRID (VISITORS / CENTER / SIDE)
========================================== */

.dashboard-grid{
    display:grid;
    grid-template-columns:1fr 1.4fr 1fr;
    gap:25px;
    align-items:stretch;
}

/* BOXES */
.dash-box{
    background:rgba(255,255,255,0.4);
    padding:20px;
    border-radius:15px;
    overflow:hidden;
}

/* LEFT & RIGHT PANELS */
.dash-box.left,
.dash-box.right{
    display:flex;
    flex-direction:column;
    justify-content:center;
    min-height:260px;
    background:rgba(255,255,255,0.45);
    border:1px solid rgba(0,0,0,0.06);
}

/* CENTER PANEL */
.dash-box.center{
    display:flex;
    justify-content:center;
    align-items:center;
    min-height:260px;
}

/* RADIAL FIX (if used) */
.radial{
    position:relative;
    width:380px;
    height:380px;
    margin:auto;
    --radius:150px;
}

/* ==========================================
   NEWS LIST STYLING
========================================== */

.news-list{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.news-item{
    display:flex;
    align-items:center;
    gap:15px;
    padding:12px 15px;
    border-left:4px solid #0b5d2a;
    background:rgba(255,255,255,0.6);
    border-radius:10px;
    transition:0.3s;
}

.news-item:hover{
    transform:translateX(6px);
    background:#fff;
}

.news-text h5{
    margin:4px 0;
    font-size:16px;
    color:#0b5d2a;
}

.news-date{
    font-size:12px;
    color:#666;
    font-weight:600;
}

.news-text a{
    text-decoration:none;
    color:#198754;
    font-weight:600;
    font-size:14px;
}

.news-text a:hover{
    text-decoration:underline;
}
/* ==========================================
   PARTNERS SECTION
========================================== */
.partners-showcase{
    background:#f8f9fa;
}

.partner-links{
    display:flex;
    flex-direction:column;
    gap:15px;
}

.partner-links a{
    text-decoration:none;
    color:#198754;
    font-weight:600;
    padding:12px 0;
    border-bottom:1px solid #e5e5e5;
    transition:.3s;
}

.partner-links a:last-child{
    border-bottom:none;
}

.partner-links a:hover{
    color:#145c32;
    padding-left:12px;
}

.card{
    border-radius:15px;
}

.progress{
    border-radius:30px;
    overflow:hidden;
}

.progress-bar{
    font-weight:600;
}
/* ==========================================
   FOOTER
========================================== */
.footer {
    background: #222;
    color: #fff;
    padding: 40px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin: 15px;
}

.footer-section h3 {
    color: #00bcd4;
    margin-bottom: 15px;
}

.footer-section p {
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.footer-section ul li a:hover {
    color: #00bcd4;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #555;
    margin-top: 30px;
    padding-top: 20px;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-section {
        margin: 20px 0;
    }
}

/* ==========================================
   RESPONSIVE DESIGN
========================================== */

@media(max-width:992px){

    .dashboard-grid{
        grid-template-columns:1fr;
    }

    .radial{
        width:320px;
        height:320px;
        --radius:120px;
    }
}

@media(max-width:768px){

    .carousel-item img{
        height:300px;
    }

    .pdf-card iframe{
        height:600px;
    }

    .partner-row{
        gap:30px;
    }

    .partner-row a{
        width:110px;
        height:110px;
    }
}

/* ==========================================
   GLOBAL FIXES / CLEANUP
========================================== */

iframe{
    width:100%;
    border:none;
    border-radius:12px;
}

img{
    max-width:100%;
}

/* remove unwanted spacing conflicts */
body{
    margin:0;
}
/* ==========================================
   PARTNERS SECTION
========================================== */

.partners-showcase{
    padding:80px 0;
    background:#74b2ef;
    border-top:1px solid rgba(0,0,0,0.1);
    border-bottom:1px solid rgba(0,0,0,0.1);
}

.partners-title{
    text-align:center;
    margin-bottom:50px;
}

.partners-title h2{
    color:#74b2ef;
    font-weight:700;
    margin-bottom:10px;
}

.partners-title p{
    color:#666;
}

.partner-row{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    align-items:center;
    gap:60px;
}

.partner-row a{
    display:flex;
    align-items:center;
    justify-content:center;
    width:140px;
    height:140px;
    border-radius:50%;
    background:#74b2ef;
    box-shadow:0 8px 25px rgba(0,0,0,0.08);
    transition:0.4s ease;
}

.partner-row a:hover{
    transform:translateY(-10px) scale(1.08);
    box-shadow:0 15px 35px rgba(0,128,0,0.25);
}

.partner-row img{
    max-width:85px;
    max-height:85px;
    object-fit:contain;
    filter:grayscale(100%);
    transition:0.4s;
}

.partner-row a:hover img{
    filter:none;
}

/* ==========================================
   FOOTER
========================================== */

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* FOOTER FULL WIDTH */
.footer {
    width: 100%;
    background: #74b2ef;
    color: #080101;
    padding-top: 40px;
}

/* CONTENT INSIDE FOOTER */
.footer-inner {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0 20px;
}

.box {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
}

.box h3 {
    margin-bottom: 15px;
    color: #74b2ef;
}

.box p {
    line-height: 1.8;
}

.box ul {
    list-style: none;
}

.box ul li {
    margin-bottom: 10px;
}

.box ul li a {
    color: #fff;
    text-decoration: none;
}

.box ul li a:hover {
    color: #00bcd4;
}

/* BOTTOM COPYRIGHT */
.bottom {
    text-align: center;
    padding: 15px;
    margin-top: 20px;
    border-top: 1px solid #444;
    font-size: 14px;
}

/* MOBILE */
@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================
   RESPONSIVE DESIGN
========================================== */

@media(max-width:992px){

    .dashboard-grid{
        grid-template-columns:1fr;
    }

    .radial{
        width:320px;
        height:320px;
        --radius:120px;
    }
}

@media(max-width:768px){

    .carousel-item img{
        height:300px;
    }

    .pdf-card iframe{
        height:600px;
    }

    .partner-row{
        gap:30px;
    }

    .partner-row a{
        width:110px;
        height:110px;
    }
}

/* ==========================================
   GLOBAL FIXES / CLEANUP
========================================== */

iframe{
    width:100%;
    border:none;
    border-radius:12px;
}

img{
    max-width:100%;
}

/* remove unwanted spacing conflicts */
body{
    margin:0;
}