:root {
    --primary-navy: #0b132b;
    --accent-orange: #d9531e;
    --accent-gold: #c59b27;
    --accent-purple: #3b1754;
    --accent-red: #a81c1c;
    --bg-light: #f8f6f0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--primary-navy);
    color: #ffffff;
}

/* --- HERO SECTION --- */
.about-hero {
    position: relative;
    background:
        url('../assets/about-us-hero-.webP') center/cover no-repeat;
    padding: 100px 5% 140px;
    text-align: center;
    display: flex;
    justify-content: center;
}

.about-hero-content {
    max-width: 850px;
    margin-top: 130px;
}

.hero-main-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--accent-gold);
    margin-bottom: 12px;
}

.hero-tagline {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 14px;
    color: #d1d5db;
    line-height: 1.6;
}

/* --- VISION & MISSION SECTION --- */
.vision-mission-section {
    background-color: var(--bg-light);
    padding: 50px 4%;
}

.vision-mission-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.vm-card {
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.vision-card {
    background: url('../assets/about-us-ourvision-.png') center/cover;
    border: 2px solid var(--accent-gold);
    color: #ffffff;
}

.mission-card {
    background: url('../assets/about-us-ourmission-.webP') center/cover;
    border: 2px solid var(--accent-gold);
    color: #ffffff;
}

.vm-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.vm-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.vm-header h2 {
    font-size: 26px;
    font-weight: 700;
    color: var(--accent-gold);
}

.vm-card p {
    font-size: 13px;
    line-height: 1.6;
    color: #e2e8f0;
}

/* --- WHO WE ARE SECTION --- */
.who-we-are-section {
    background-color: var(--bg-light);
    color: #222;
    padding: 30px 4% 60px;
}

.who-we-are-container {
    max-width: 1500px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 25px;
    align-items: center;
}

.who-image-box {
    width: 100%;
    height: 220px;
    border-radius: 10px;
    overflow: hidden;
}

.who-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.who-text-box h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 14px;
    text-align: center;
}

.who-text-box p {
    font-size: 13px;
    line-height: 1.65;
    color: #444;
    text-align: justify;
}

/* --- LEADERSHIP STRUCTURE TREE --- */
.leadership-structure-section {
    background-color: #fdf6ed;
    color: #111;
    padding: 60px 4%;
    border-top: 1px solid #ffaa33;
}

.section-title-box {
    text-align: center;
    margin-bottom: 40px;
}

.section-tag {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary-navy);
    letter-spacing: 1px;
}

.tree-chart-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.node {
    background-color: #0d1b3a;
    color: #fff;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--accent-gold);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.node-president {
    background-color: #0b132b;
    padding: 12px 36px;
    font-size: 15px;
}

.dark-node {
    background-color: #2a1140;
}

.tree-level {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    width: 100%;
}

.level-regions {
    gap: 10px;
    margin-top: 10px;
}

.region-pill {
    background-color: #3b1754;
    color: #fff;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tree-line.vertical-stem {
    width: 2px;
    height: 18px;
    background-color: var(--accent-gold);
}

/* --- ROLES & PRESIDENT MESSAGE SECTION --- */
.roles-and-message-section {
    background-color: var(--bg-light);
    color: #222;
    padding: 60px 4%;
}

.rm-grid-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 35px;
}

.roles-table-box,
.president-message-box {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    border: 3px solid #ffaf38;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    height: 400px;
    overflow: scroll;
    overflow-x: hidden;
}

.rm-box-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--primary-navy);
}

.rm-box-title i {
    font-size: 20px;
    color: var(--accent-orange);
}

.rm-box-title h3 {
    font-size: 20px;
    font-weight: 700;
}

.table-responsive {
    overflow-x: auto;
}

.roles-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.roles-table th {
    background-color: #0b132b;
    color: #ffffff;
    padding: 10px 14px;
    text-align: left;
    font-weight: 700;
}

.roles-table td {
    padding: 8px 14px;
    border-bottom: 1px solid #edf2f7;
    color: #333;
}

.roles-table td i {
    color: var(--accent-gold);
    margin-right: 6px;
}

.roles-table tr:nth-child(even) {
    background-color: #f8fafc;
}

.president-message-box {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 400px;
    overflow: scroll;
    overflow-x: hidden;
}

.president-avatar-frame {
    width: 110px;
    height: 140px;
    flex-shrink: 0;
    border-radius: 50px;
    border: 3px solid var(--accent-gold);
    overflow: hidden;
    margin: 10px 0 20px;
}

.president-avatar-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.message-paragraph {
    font-size: 13px;
    line-height: 1.6;
    color: #444;
    font-style: italic;
    margin-bottom: 20px;
}

.president-signoff h4 {
    font-size: 16px;
    font-weight: 800;
    color: var(--primary-navy);
}

.president-signoff p {
    font-size: 12px;
    color: #666;
}

.organization-sub {
    font-weight: 600;
    color: var(--accent-orange) !important;
}

/* --- STATS BAR --- */
.about-stats-bar {
    background-color: #0b132b;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 35px 3%;
}

.stats-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: 10px;
}

.stat-item:last-child {
    border-right: none;
}

.stat-ico {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.stat-text h3 {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
}

.stat-text p {
    font-size: 11px;
    color: #d1d5db;
    line-height: 1.2;
}

.stat-text p span {
    font-size: 10px;
    color: #9ca3af;
}

/* --- BANNER CTA & RED BANNER --- */
.banner-cta-section {
    background: linear-gradient(rgba(100, 20, 20, 0), rgba(70, 10, 10, 0)),
        url('../assets/services-Join\ the\ movement.webp') center/cover;
    padding: 50px 5%;
    text-align: center;
    border-top: 6px solid rgb(197, 138, 0);
}

.banner-container h2 {
    font-size: 26px;
    color: var(--accent-gold);
    margin-bottom: 20px;
    line-height: 1.3;
}

.banner-btn-group {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-purple-cta {
    background-color: var(--accent-purple);
    color: #fff;
    padding: 10px 22px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-red-cta {
    background-color: var(--accent-red);
    color: #fff;
    padding: 10px 22px;
}

.red-banner {
    border-top: 6px solid rgb(197, 138, 0);
    border-bottom: 6px solid rgb(197, 138, 0);
    background: linear-gradient(rgba(100, 20, 20, 0.433), rgba(70, 10, 10, 0.4)),
        url('../assets/services-Join\ the\ movement.webp') center/cover;
    padding: 16px 3%;
}

.red-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.gold-cta-btn {
    background-color: #f1c40f;
    color: #111;
    border: none;
    padding: 8px 18px;
    font-weight: 700;
    font-size: 12px;
    border-radius: 20px;
    cursor: pointer;
}

/* --- RESPONSIVENESS --- */
@media (max-width: 1024px) {

    .vision-mission-container,
    .rm-grid-container {
        grid-template-columns: 1fr;
    }

    .who-we-are-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .who-image-box {
        height: 200px;
    }

    .stats-wrapper {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .stat-item {
        border-right: none;
    }
}

@media (max-width: 768px) {
    .hero-main-title {
        font-size: 32px;
    }

    .hero-tagline {
        font-size: 16px;
    }

    .stats-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .red-banner-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .stats-wrapper {
        grid-template-columns: 1fr;
    }

    .tree-level {
        flex-direction: column;
        align-items: center;
    }
}

/* =========================================================
   TEAM SECTION
   ========================================================= */

.team-section {
    background: #fff;
    padding: 70px 5%;
}

.team-container {
    max-width: 1400px;
    margin: 0 auto 70px;
}

.team-container:last-child {
    margin-bottom: 0;
}

.team-heading {
    margin-bottom: 35px;
}

.team-heading h2 {
    font-size: 40px;
    font-weight: 800;
    color: #0b132b;
    margin-bottom: 15px;
}

.team-heading span {
    display: block;
    width: 85px;
    height: 5px;
    background: #0b132b;
    border-radius: 20px;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 28px;
}

.team-card {
    width: 200px;
    flex: 0 0 200px;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 11px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.team-card img {
    width: 100%;
    height: 275px;
    object-fit: cover;
    display: block;
}

.team-content {
    padding: 12px;
    display: flex;
    flex-direction: column;
}

.team-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0b132b;
    margin-bottom: 4px;
    line-height: 1.2;
}

.team-role {
    font-size: 13px;
    font-weight: 500;
    color: #6c757d;
    margin: 0;
    line-height: 1.2;
}

/* ---------- Tablet (769px - 992px) ---------- */
@media (max-width: 992px) {
    .team-heading h2 {
        font-size: 34px;
    }

    .team-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        justify-content: start;
    }

    .team-card {
        width: 100%;
        flex: initial;
    }
}

/* ---------- Mobile (<= 768px) ---------- */
@media (max-width: 648px) {
    .team-section {
        padding: 55px 5%;
    }

    .team-heading {
        text-align: center;
    }

    .team-heading span {
        margin: auto;
    }

    .team-heading h2 {
        font-size: 30px;
    }

    .team-grid {
        display: flex;
        flex-direction: column;
    }

    .team-card {
        width: 100%;
        flex: 1 1 100%;
    }

    .team-card img {
        width:100%;
        aspect-ratio:3/4;
        height:auto;
        object-fit:cover;
        object-position:center top;
    }

    .team-content {
        padding: 16px;
        text-align: center;
    }

    .team-content h3 {
        font-size: 20px;
    }

    .team-role {
        font-size: 14px;
    }
}