/* Base Styles and Typography */
:root {
    --primary-blue: #076abb;
    --dark-blue: #003a6b;
    --light-blue: #eaf4fc;
    --accent-cyan: #38bdf8;
    --accent-blue: #1a85d8;
    --bg-page: #edf2f7;
    --bg-subtle: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #475569;
    --white: #ffffff;
    --border-light: #e2e8f0;
    --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 12px 28px rgba(7, 106, 187, 0.12);
    --shadow-lg: 0 20px 45px rgba(7, 106, 187, 0.14);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 18px;
    margin: 0;
    padding: 36px 20px;
    background: linear-gradient(180deg, #e2ecf5 0%, var(--bg-page) 45%, #f1f5f9 100%);
    color: var(--text-main);
    display: flex;
    justify-content: center;
    line-height: 1.65;
    min-height: 100vh;
}

/* Main Container */
.general-container {
    width: 100%;
    max-width: 1040px;
    background-color: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(7, 106, 187, 0.1);
}

/* Header Section */
.general-header {
    position: relative;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 44px 48px;
    border-bottom: 5px solid var(--accent-cyan);
    overflow: hidden;
}

.general-header::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, rgba(56, 189, 248, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.general-header::after {
    content: "";
    position: absolute;
    bottom: -80px;
    right: 120px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.header-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #e0f2fe;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.general-header h1,
.general-header h3 {
    position: relative;
    margin: 0;
    font-size: 2.35rem;
    letter-spacing: -0.3px;
    font-weight: 700;
    line-height: 1.22;
}

.general-header .subtitle {
    position: relative;
    margin: 12px 0 0;
    font-size: 1.12rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    max-width: 760px;
}

/* Content Sections */
.general-section {
    padding: 40px 48px;
    border-bottom: 1px solid var(--border-light);
}

.general-section.section-tinted {
    background-color: var(--bg-subtle);
}

.general-section:last-child {
    border-bottom: none;
}

.section-heading {
    margin-bottom: 24px;
}

.general-section h2 {
    position: relative;
    color: var(--dark-blue);
    font-size: 1.7rem;
    margin: 0;
    padding-bottom: 12px;
    display: inline-block;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.general-section h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 64px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-cyan));
}

.subsection-heading {
    margin: 34px 0 22px;
}

.subsection-heading h3 {
    color: var(--dark-blue);
    font-size: 1.35rem;
    margin: 0;
    font-weight: 700;
}

/* Paragraphs (No Indentation) */
.general-section > p,
.general-content p,
.lead-text {
    font-size: 1.3rem;
    line-height: 1.78;
    text-align: left;
    margin: 0;
    color: var(--text-muted);
    text-indent: 0;
}

/* Functions & Activities 2-Column Card Grid */
.activities-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.activity-card {
    background-color: var(--white);
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--primary-blue);
    border-radius: 12px;
    padding: 20px 22px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.activity-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-md);
}

.activity-card h3 {
    margin: 0 0 8px 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark-blue);
}

.activity-card p {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-muted);
    text-indent: 0;
}

/* Member Cards Grid (Centered Flex for Symmetrical Rows) */
.member-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.member-card {
    flex: 1 1 280px;
    max-width: 300px;
    background-color: var(--white);
    border: 1px solid var(--border-light);
    border-top: 4px solid var(--primary-blue);
    border-radius: 14px;
    padding: 22px 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.member-card.office-bearer {
    border-top-color: var(--primary-blue);
}

.member-card.committee-member {
    border-top-color: var(--accent-cyan);
    background-color: var(--bg-subtle);
}

.member-card:hover {
    transform: translateY(-5px);
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-blue);
}

.member-role {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: var(--primary-blue);
    background-color: var(--light-blue);
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.member-role.member-role-muted {
    color: #0369a1;
    background-color: #e0f2fe;
}

.member-name {
    font-size: 1.22rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 6px 0;
    line-height: 1.3;
    text-indent: 0;
}

.member-designation {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
    text-align: left;
    text-indent: 0;
}

/* Preserved Shared Classes for Other Pages */
.hero-banner {
    width: 100%;
    height: auto;
    overflow: hidden;
    margin-bottom: 20px;
}

.hero-banner img {
    width: 100%;
    height: auto;
    display: block;
}

.content-area {
    padding: 20px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.ragging-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}

.ragging-text {
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: left;
    text-indent: 0;
}

.ragging-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
}

/* Responsive Design */
@media (max-width: 820px) {
    .activities-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body {
        padding: 16px 12px;
        font-size: 17px;
    }

    .general-header,
    .general-section {
        padding: 28px 20px;
    }

    .general-header h1,
    .general-header h3 {
        font-size: 1.8rem;
    }

    .general-section h2 {
        font-size: 1.45rem;
    }

    .member-card {
        flex: 1 1 100%;
        max-width: 100%;
    }
}