﻿/* ==========================================================
   MANAGEMENT COMMITTEE PAGE
========================================================== */


/* ==========================================================
   PAGE SECTION
========================================================== */

.management-section {

    padding: 90px 0 100px;

    background:
        linear-gradient(
            135deg,
            #f5f9fc 0%,
            #fffdf3 100%
        );
}


/* ==========================================================
   INTRODUCTION
========================================================== */

.management-intro {

    max-width: 780px;

    margin: 0 auto 50px;

    text-align: center;
}


/* ==========================================================
   LABEL
========================================================== */

.management-label {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 10px;

    color: var(--primary);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1.8px;

    margin-bottom: 14px;
}


.management-label span {

    width: 32px;

    height: 3px;

    background: var(--yellow);

    border-radius: 5px;
}


/* ==========================================================
   HEADING
========================================================== */

.management-intro h2 {

    color: var(--primary-dark);

    font-family: "Playfair Display", serif;

    font-size: clamp(38px, 4vw, 52px);

    line-height: 1.15;

    font-weight: 800;

    margin-bottom: 17px;
}


.management-intro h2 span {

    color: var(--primary);

    display: inline-block;
}


/* ==========================================================
   INTRO TEXT
========================================================== */

.management-intro p {

    color: #667586;

    font-size: 16px;

    line-height: 1.8;

    margin: 0 auto;

    max-width: 700px;
}


/* ==========================================================
   MAIN COMMITTEE CARD
========================================================== */

.committee-card {

    background: #ffffff;

    border-radius: 10px;

    overflow: hidden;

    border: 1px solid #e2e9ef;

    box-shadow:
        0 12px 40px rgba(20,45,80,.08);
}


/* ==========================================================
   CARD HEADER
========================================================== */

.committee-card-header {

    display: flex;

    align-items: center;

    gap: 18px;

    padding: 25px 30px;

    background:
        linear-gradient(
            135deg,
            #092f61,
            #164f92
        );

    color: #ffffff;
}


/* ==========================================================
   HEADER ICON
========================================================== */

.committee-heading-icon {

    width: 58px;

    height: 58px;

    min-width: 58px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 8px;

    background: var(--yellow);

    color: var(--dark);

    font-size: 24px;
}


/* ==========================================================
   HEADER TEXT
========================================================== */

.committee-small-title {

    color: var(--yellow);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.7px;

    margin-bottom: 4px;
}


.committee-card-header h3 {

    margin: 0;

    color: #ffffff;

    font-family: "Playfair Display", serif;

    font-size: 25px;

    font-weight: 700;

    line-height: 1.25;
}


/* ==========================================================
   TABLE WRAPPER
========================================================== */

.committee-table-wrapper {

    width: 100%;

    overflow-x: auto;

    -webkit-overflow-scrolling: touch;
}


/* ==========================================================
   GRIDVIEW TABLE
========================================================== */

.committee-table {

    width: 100% !important;

    margin: 0 !important;

    border-collapse: collapse;

    background: #ffffff;
}


/* ==========================================================
   TABLE HEADER
========================================================== */

.committee-table th {

    padding: 16px 20px !important;

    background: #edf4fa !important;

    color: var(--primary-dark) !important;

    border: none !important;

    border-bottom: 2px solid var(--yellow) !important;

    font-size: 13px !important;

    font-weight: 800 !important;

    text-transform: uppercase;

    letter-spacing: .7px;

    vertical-align: middle;
}


/* ==========================================================
   TABLE BODY
========================================================== */

.committee-table td {

    padding: 17px 20px !important;

    color: #566677;

    font-size: 15px;

    font-weight: 500;

    border: none !important;

    border-bottom: 1px solid #e7edf2 !important;

    vertical-align: middle;
}


/* ==========================================================
   ZEBRA ROW
========================================================== */

.committee-table tr:nth-child(even) td {

    background: #fafcfd;
}


/* ==========================================================
   HOVER ROW
========================================================== */

.committee-table tr:hover td {

    background: #f5f9fc;

    color: var(--primary-dark);
}


/* ==========================================================
   FIRST COLUMN
========================================================== */

.committee-table th:first-child,
.committee-table td:first-child {

    width: 100px;

    text-align: center;
}


/* ==========================================================
   NUMBER CIRCLE
========================================================== */

.committee-number {

    width: 38px;

    height: 38px;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #edf5fb;

    color: var(--primary);

    font-size: 13px;

    font-weight: 800;

    transition: .3s;
}


.committee-table tr:hover .committee-number {

    background: var(--yellow);

    color: var(--dark);

    transform: scale(1.05);
}


/* ==========================================================
   NAME COLUMN
========================================================== */

.committee-table td:nth-child(2) {

    color: var(--primary-dark);

    font-weight: 750;

    font-size: 16px;
}


/* ==========================================================
   DESIGNATION
========================================================== */

.committee-table td:nth-child(3) {

    color: #657384;

    font-size: 14px;

    font-weight: 600;
}


/* ==========================================================
   ERROR MESSAGE
========================================================== */

.committee-error {

    padding: 0 25px;

    color: #dc3545;

    font-size: 13px;
}


.committee-error:empty {

    display: none;
}


/* ==========================================================
   BOTTOM NOTE
========================================================== */

.committee-note {

    display: flex;

    align-items: center;

    gap: 16px;

    margin-top: 25px;

    padding: 20px 25px;

    background: #ffffff;

    border-left: 4px solid var(--yellow);

    border-radius: 6px;

    box-shadow:
        0 5px 20px rgba(20,45,80,.05);
}


/* ==========================================================
   NOTE ICON
========================================================== */

.committee-note-icon {

    width: 45px;

    height: 45px;

    min-width: 45px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #edf5fb;

    color: var(--primary);

    font-size: 18px;
}


/* ==========================================================
   NOTE CONTENT
========================================================== */

.committee-note strong {

    display: block;

    color: var(--primary-dark);

    font-size: 14px;

    margin-bottom: 3px;
}


.committee-note p {

    margin: 0;

    color: #6a7888;

    font-size: 13px;

    line-height: 1.6;
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 991px) {

    .management-section {

        padding: 75px 0 80px;
    }

    .committee-card-header {

        padding: 22px 25px;
    }

}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 767px) {

    .management-section {

        padding: 60px 0 65px;
    }


    .management-intro {

        margin-bottom: 35px;
    }


    .management-intro h2 {

        font-size: 36px;
    }


    .management-intro p {

        font-size: 15px;
    }


    .committee-card-header {

        padding: 20px;

        gap: 13px;
    }


    .committee-heading-icon {

        width: 50px;

        height: 50px;

        min-width: 50px;

        font-size: 20px;
    }


    .committee-card-header h3 {

        font-size: 21px;
    }


    .committee-small-title {

        font-size: 9px;
    }


    .committee-table th {

        padding: 14px 15px !important;

        font-size: 11px !important;
    }


    .committee-table td {

        padding: 14px 15px !important;

        font-size: 13px;
    }


    .committee-table td:nth-child(2) {

        font-size: 14px;
    }


    .committee-table td:nth-child(3) {

        font-size: 12px;
    }


    .committee-note {

        align-items: flex-start;

        padding: 17px;

    }

}


/* ==========================================================
   SMALL MOBILE
========================================================== */

@media (max-width: 480px) {

    .management-intro h2 {

        font-size: 32px;
    }


    .committee-card-header {

        align-items: flex-start;
    }


    .committee-heading-icon {

        width: 44px;

        height: 44px;

        min-width: 44px;
    }


    .committee-card-header h3 {

        font-size: 19px;
    }


    .committee-table th {

        white-space: nowrap;
    }


    .committee-table td {

        min-width: 140px;
    }


    .committee-table th:first-child,
    .committee-table td:first-child {

        min-width: 80px;
    }

}