:root {
    --primary-color: #1C3571;
    --secondary-color: #F58120;
    --text-color: #000000;
    --white: #ffffff;
    --light-bg: #f8f9fc;
    --border-color: #e4e8f0;
}

.committee-wrapper {
    width: 100%;
    color: var(--text-color);
}

.committee-section {
    margin-bottom: 40px;
}

.committee-section .committee-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

.committee-wrapper .committee-section .committee-card .section-heading h2 {
    color: var(--white);
}

.section-heading h2 {
    color: var(--white);
}

.committee-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-color);
}

.section-heading {
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 25px;
    position: relative;
}

.section-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
}

.section-content {
    padding: 30px;
}

.committee-intro {
    line-height: 1.9;
    text-align: justify;
}

.highlight-box {
    background: var(--light-bg);
    border-left: 5px solid var(--secondary-color);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.vm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.vm-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.vm-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.committee-list {
    padding-left: 20px;
    margin: 0;
}

.committee-list li {
    margin-bottom: 12px;
    line-height: 1.8;
}

.custom-table-wrapper {
    overflow-x: auto;
}

.committee-table {
    width: 100%;
    border-collapse: collapse;
}

.committee-table thead {
    background: var(--primary-color);
    color: var(--white);
}

.committee-table th,
.committee-table td {
    padding: 14px 12px;
    border: 1px solid var(--border-color);
    text-align: left;
    vertical-align: top;
}

.committee-table tbody tr:nth-child(even) {
    background: #fafafa;
}

.committee-table tbody tr:hover {
    background: #f4f7ff;
}

.committee-table td a {
    padding: 10px;
    background-color: #F58120;
    border-radius: 5px;
    color: var(--white);
}

.activity-card {
    background: var(--light-bg);
    padding: 25px;
    border-radius: 12px;
    border-left: 5px solid var(--secondary-color);
    line-height: 1.9;
}

.sub-section-title {
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary-color);
}

@media(max-width:768px) {

    .section-content {
        padding: 20px;
    }

    .vm-grid {
        grid-template-columns: 1fr;
    }

}

/* anti ragging */
.meeting-box {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-left: 5px solid var(--secondary-color);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
}

.meeting-box h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.meeting-meta {
    background: rgba(28, 53, 113, 0.08);
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.meeting-point {
    margin-bottom: 20px;
}

.meeting-point h5 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* audit cell */
.contact-card {
    background: var(--light-bg);
    border-left: 5px solid var(--secondary-color);
    padding: 25px;
    border-radius: 12px;
    line-height: 1.9;
}

.contact-card a {
    color: var(--primary-color);
    word-break: break-word;
}

/* career advancement */
.mapping-table td:first-child {
    font-weight: 600;
    color: var(--primary-color);
    width: 280px;
}

/* iicc */
.message-card {
    background: var(--light-bg);
    border-left: 5px solid var(--secondary-color);
    padding: 25px;
    border-radius: 12px;
}

.message-author {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    color: var(--primary-color);
    font-weight: 600;
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.activity-item {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.activity-item img {
    width: 100%;
    display: block;
}

.activity-item-content {
    padding: 20px;
}

/* ncc */
/* NCC Special Sections */
.ncc-info-box {
    background: var(--light-bg);
    border-left: 5px solid var(--secondary-color);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    line-height: 1.9;
}

.ncc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.ncc-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.ncc-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.activity-card p {
    margin-bottom: 15px;
}

.highlight-box h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.committee-list li a {
    margin-left: 10px;
}

/* science club */
/* Science Club */

.quote-box {
    background: #f8f9fc;
    border-left: 5px solid var(--primary-color);
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    font-style: italic;
}

.gallery-caption {
    padding: 15px;
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
}

.photo-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .05);
}

.photo-card img {
    width: 100%;
    display: block;
}

.two-column-list {
    columns: 2;
    column-gap: 40px;
}

@media(max-width:768px) {
    .two-column-list {
        columns: 1;
    }
}

/* tlc */
/* Community PDF Files */

.pdf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}


.pdf-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.pdf-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}


.pdf-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
}


.pdf-card p {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
}


.pdf-card a {
    display: inline-block;
    padding: 5px 20px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 6px;
    text-decoration: none;
    transition: 0.3s ease;
}


.pdf-card a:hover {
    background: var(--primary-color);
}


/* Mobile */

@media(max-width:768px) {

    .pdf-grid {
        grid-template-columns: 1fr;
    }

    .pdf-card {
        padding: 20px;
    }

}