﻿body {
    font-family: 'Poppins', sans-serif;
    background: #f8f9fa;
}

/* ===== TOP STRIP ===== */
.top-strip {
    background: #1e3a8a;
    color: #e5e7eb;
    font-size: 13px;
    padding: 6px 0;
}

/* ===== HEADER / NAVBAR ===== */
.main-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.logo-img {
    height: 50px;
}

.brand-title {
    font-size: 20px;
    font-weight: 600;
    color: #1e3a8a;
    line-height: 1.2;
}

.brand-subtitle {
    font-size: 12px;
    color: #64748b;
}

.navbar .nav-link {
    color: #334155 !important;
    margin: 0 12px;
    font-weight: 500;
}

    .navbar .nav-link:hover,
    .navbar .nav-link.active {
        color: #2563eb !important;
    }

.login-btn {
    background: #facc15;
    color: #1e293b;
    padding: 8px 26px;
    border-radius: 25px;
    font-weight: 600;
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(rgba(15,23,42,.65), rgba(15,23,42,.65)), url('https://images.unsplash.com/photo-1584515933487-779824d29309');
    background-size: cover;
    background-position: center;
    height: 480px;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
}

    .hero h1 {
        font-size: 42px;
        font-weight: 700;
    }

    .hero p {
        max-width: 800px;
        margin: 16px auto 0;
        color: #e5e7eb;
    }

/* ===== SECTIONS ===== */
section {
    padding: 70px 0;
}

.card {
    border-radius: 14px;
}

/* ===== FOOTER ===== */
footer {
    background: #1e3a8a;
    color: #e5e7eb;
    padding: 35px 0;
    text-align: center;
}

.leader-card img {
    width: 100%;
    height: 320px; /* Increased height */
    object-fit: cover;
    object-position: top; /* 👈 VERY IMPORTANT */
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    background: #f1f5f9;
}

.leader-card {
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
}

    .leader-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 14px 30px rgba(0,0,0,0.12);
    }

.navbar .nav-link {
    position: relative;
    padding-bottom: 6px;
    font-weight: 500;
    color: #334155 !important;
    transition: color 0.3s ease;
}

    .navbar .nav-link::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 0;
        width: 0;
        height: 3px;
        background: linear-gradient(90deg, #2563eb, #1e40af);
        border-radius: 2px;
        transition: all 0.3s ease;
        transform: translateX(-50%);
    }

    .navbar .nav-link:hover::after,
    .navbar .nav-link.active::after {
        width: 100%;
    }

    .navbar .nav-link:hover,
    .navbar .nav-link.active {
        color: #2563eb !important;
    }
/* ===== OFFICIAL UPDATES SECTION ===== */
.updates-section {
    background: #f8fafc;
    padding: 60px 0;
}

/* Section title */
.updates-title {
    display: inline-block;
    background: #e6ecff;
    color: #3730a3;
    padding: 15px 100px;
    border-radius: 30px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 40px;
}

/* Update card */
.update-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 26px 24px;
    height: 100%;
    border-left: 5px solid #2563eb;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

    /* Card heading */
    .update-card h5 {
        font-weight: 600;
        margin-bottom: 18px;
        color: #0f172a;
    }

/* List */
.update-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .update-list li {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        padding: 12px 0;
        border-bottom: 1px dashed #e5e7eb;
        font-size: 14px;
    }

        .update-list li:last-child {
            border-bottom: none;
        }

    .update-list i {
        color: #2563eb;
        font-size: 15px;
        margin-top: 2px;
    }

    .update-list a {
        color: #1e40af;
        text-decoration: none;
        font-weight: 500;
    }

        .update-list a:hover {
            text-decoration: underline;
        }
/* ===== IMA INFO TIMELINE STYLE ===== */
.ima-info-section {
    background: linear-gradient(180deg, #f1f5ff, #ffffff);
    padding: 80px 0;
}

.ima-info-block {
    position: relative;
    padding: 30px 30px 30px 80px;
    margin-bottom: 40px;
    background: #ffffff;
    border-radius: 12px;
}

    .ima-info-block::before {
        content: "";
        position: absolute;
        left: 30px;
        top: 30px;
        width: 10px;
        height: calc(100% - 60px);
        background: #2563eb;
        border-radius: 6px;
    }

.ima-info-icon {
    position: absolute;
    left: 16px;
    top: 22px;
    width: 36px;
    height: 36px;
    background: #2563eb;
    color: #ffffff;
    border-radius: 50%;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ima-info-block h4 {
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 12px;
}

.ima-info-block p {
    font-size: 14.8px;
    color: #334155;
    line-height: 1.85;
    text-align: justify;
}

.ima-info-highlight {
    font-weight: 600;
    color: #1e40af;
}
/* ===== DOWNLOADS & INFO SECTION ===== */
.downloads-info-section {
    background: #f8fafc;
    padding: 80px 0;
}

.download-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    border: 1px solid #e5e7eb;
}

    .download-box h4 {
        font-weight: 700;
        color: #1e3a8a;
        margin-bottom: 20px;
    }

.download-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .download-list li {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 0;
        font-size: 14.5px;
    }

        .download-list li i {
            font-size: 18px;
            color: #dc2626;
        }

    .download-list a {
        color: #1e40af;
        font-weight: 500;
        text-decoration: none;
    }

        .download-list a:hover {
            text-decoration: underline;
        }

.info-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 32px;
    border: 1px solid #e5e7eb;
}

    .info-box h4 {
        font-weight: 700;
        color: #3730a3;
        margin-bottom: 18px;
        text-align: center;
    }

    .info-box p {
        font-size: 14.5px;
        color: #334155;
        line-height: 1.9;
        text-align: justify;
    }

.info-note {
    margin-top: 20px;
    padding: 14px 18px;
    background: #f1f5ff;
    border-radius: 8px;
    font-size: 13.5px;
    color: #1e3a8a;
    font-weight: 500;
}

.dropdown-menu {
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 8px 0;
}

.dropdown-item {
    font-size: 14px;
    font-weight: 500;
    padding: 10px 18px;
}

    .dropdown-item:hover {
        background-color: #eef2ff;
        color: #1e40af;
    }
/* ===== REFINED OFFICE BEARERS DESIGN ===== */

.office-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 14px;
    height: 100%;
    transition: all 0.35s ease;
    border: 1px solid #e5e7eb;
    position: relative;
}

    /* Hover effect */
    .office-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 18px 35px rgba(37,99,235,0.15);
        border-color: #2563eb;
    }

/* Photo */
.office-photo {
    width: 100%;
    height: 220px; /* 👈 Smaller image */
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
    background: #f1f5f9;
}

    .office-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top;
    }

/* Text */
.office-name {
    font-weight: 600;
    font-size: 14.5px;
    color: #0f172a;
    margin-bottom: 6px;
}

/* Role as badge */
.office-role {
    display: inline-block;
    background: #eef2ff;
    color: #1e40af;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 6px;
}

/* Organization */
.office-org {
    font-size: 12px;
    color: #64748b;
}
/* ===== IMAGE LIGHTBOX ===== */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
}

    .lightbox-overlay img {
        max-width: 90%;
        max-height: 90%;
        border-radius: 16px;
        box-shadow: 0 30px 70px rgba(0,0,0,0.5);
        transform: scale(0.9);
        transition: transform 0.3s ease;
    }

    .lightbox-overlay.active {
        opacity: 1;
        visibility: visible;
    }

        .lightbox-overlay.active img {
            transform: scale(1);
        }

.office-photo {
    cursor: zoom-in;
}


/*CSS form Search Member Page*/
.page-strip {
    height: 160px;
    background: linear-gradient(90deg, #2f6f63, #8bbf8b);
    display: flex;
    align-items: center;
}

.page-title {
    font-size: 36px;
    font-weight: 600;
    margin: 0;
}

.page-subtitle {
    font-size: 16px;
    opacity: 0.9;
}

.breadcrumb-text {
    color: #ffffff;
    font-size: 15px;
}
