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

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f4f6f9;
    color: #1e293b;
    line-height: 1.7;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* ===== NAVBAR ===== */
header {
    background: #ffffff;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 18px;
    color: #0f172a;
}

.logo img {
    width: 45px;
    margin-right: 10px;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    text-decoration: none;
    color: #334155;
    font-weight: 500;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #2563eb;
}

/* ===== HERO ===== */
.hero {
    padding: 180px 0 120px;
    text-align: center;
    background: linear-gradient(to right, #0f172a, #1e3a8a);
    color: white;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    opacity: 0.9;
}

.btn-primary {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 28px;
    background: #2563eb;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #1d4ed8;
}

/* ===== SECTIONS ===== */
.section-light {
    padding: 100px 0;
    background: #ffffff;
}

.section-dark {
    padding: 100px 0;
    background: #f1f5f9;
}

.center {
    text-align: center;
    margin-bottom: 50px;
}

/* ===== ABOUT ===== */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 50px;
}

.urdu {
    direction: rtl;
    text-align: right;
    font-size: 17px;
}

/* ===== LEADERSHIP ===== */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.leader-card {
    background: #ffffff;
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.leader-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.leader-card img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 4px solid #e2e8f0;
}

.designation {
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 8px;
}

/* ===== SERVICES ===== */
.section-dark p {
    margin-bottom: 25px;
}

/* ===== DONATION ===== */
.donation-box {
    text-align: center;
}

.bank-details {
    margin-top: 30px;
    padding: 30px;
    background: #f8fafc;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.bank-details p {
    margin-bottom: 8px;
}

/* VIDEOS SECTION */
#videos {
    padding: 80px 0;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.video-grid video {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    background: #000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-grid video:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

/* ===== CONTACT ===== */
#contact p {
    margin-bottom: 10px;
}

/* ===== FOOTER ===== */
footer {
    background: #0f172a;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 14px;
}

/* ===== MODAL FIXED ===== */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,0.8);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-content-image {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
}

.modal-content-image img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 12px;
}

.close {
    position: absolute;
    top: -15px;
    right: -15px;
    background: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}


/* ===== MOBILE NAV ===== */
.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

@media (max-width: 900px) {

    nav ul {
        position: absolute;
        top: 70px;
        right: 0;
        background: white;
        flex-direction: column;
        width: 220px;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        display: none;
    }

    nav ul li {
        margin: 15px 0;
    }

    .menu-toggle {
        display: block;
    }
}

/* ===== VIDEOS ===== */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.video-grid video {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* ===== MOBILE HERO FIX ===== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 28px;
    }

    .hero {
        padding: 150px 0 80px;
    }

    .about-grid,
    .leadership-grid {
        gap: 30px;
    }
}
