/* =========================================================
   CHAIRMAN PAGE
   P.T. LEE CHENGALVARAYA NAICKER TRUST
========================================================= */


/* =========================================================
   PAGE
========================================================= */

.chairman-page {

    background:
        linear-gradient(
            180deg,
            #f7f9fc 0%,
            #ffffff 100%
        );

    min-height: 100vh;

}


/* =========================================================
   PAGE TITLE
========================================================= */

.chairman-title-section {

    position: relative;

    padding:
        65px 20px
        55px;

    text-align: center;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #082b5c 0%,
            #075ca8 48%,
            #0b86a5 100%
        );

}


.chairman-title-section::before {

    content: "";

    position: absolute;

    width: 450px;
    height: 450px;

    border-radius: 50%;

    top: -300px;
    left: -120px;

    background:
        rgba(255,255,255,0.08);

    animation:
        chairmanFloatOne
        7s
        ease-in-out
        infinite;

}


.chairman-title-section::after {

    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    right: -180px;
    bottom: -350px;

    background:
        rgba(255,145,0,0.15);

    animation:
        chairmanFloatTwo
        8s
        ease-in-out
        infinite;

}


.chairman-title-content {

    position: relative;

    z-index: 2;

    max-width: 1000px;

    margin: auto;

}


.chairman-title-content .eyebrow {

    display: inline-block;

    margin-bottom: 12px;

    padding:
        7px 18px;

    border:
        1px solid
        rgba(255,255,255,0.45);

    border-radius: 50px;

    color: #ffffff;

    font-size: 13px;

    font-weight: 600;

    letter-spacing: 2px;

    text-transform: uppercase;

    background:
        rgba(255,255,255,0.08);

    backdrop-filter:
        blur(8px);

}


.chairman-title-content h1 {

    margin: 0;

    color: #ffffff;

    font-size:
        clamp(32px, 5vw, 58px);

    font-weight: 800;

    line-height: 1.15;

    text-shadow:
        0 5px 20px
        rgba(0,0,0,0.25);

}


/* =========================================================
   CHAIRMAN TITLE COLOR ANIMATION
========================================================= */

.chairman-title-content h1 span {

    display: inline-block;

    background: linear-gradient(
    90deg,
    #ffffff,
    #ffd1e1,
    #f467a7,
    #e2134f,
    #ff8a65,
    #ffd54f,
    #ffffff
);

background-size: 400% 100%;

    -webkit-background-clip: text;

    background-clip: text;

    -webkit-text-fill-color:
        transparent;

    animation:
        chairmanTitleColor
        4s
        ease-in-out
        infinite;

}


@keyframes chairmanTitleColor {

    0% {

        background-position:
            0% 50%;

    }

    50% {

        background-position:
            100% 50%;

    }

    100% {

        background-position:
            0% 50%;

    }

}


.chairman-title-content p {

    max-width: 750px;

    margin:
        18px auto 0;

    color:
        rgba(255,255,255,0.9);

    font-size: 17px;

    line-height: 1.8;

}


/* =========================================================
   PROFILE SECTION
========================================================= */

.chairman-profile-section {

    padding:
        75px 20px
        90px;

}


.chairman-container {

    max-width: 1300px;

    margin: auto;

}


/* =========================================================
   PROFILE CARD
========================================================= */

.chairman-profile-card {

    position: relative;

    display: grid;

    grid-template-columns:
        430px 1fr;

    overflow: hidden;

    background: #ffffff;

    border-radius: 25px;

    box-shadow:
        0 20px 60px
        rgba(15,50,90,0.12);

    border:
        1px solid #e7edf5;

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;

}


.chairman-profile-card:hover {

    transform:
        translateY(-8px);

    box-shadow:
        0 30px 75px
        rgba(15,50,90,0.18);

}


/* =========================================================
   IMAGE AREA
========================================================= */

.chairman-image-area {

    position: relative;

    min-height: 520px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 40px;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #062c60,
            #075ca8,
            #0b839d
        );

}


.chairman-image-area::before {

    content: "";

    position: absolute;

    width: 330px;
    height: 330px;

    border-radius: 50%;

    border:
        2px solid
        rgba(255,255,255,0.18);

    animation:
        chairmanImageRing
        7s
        linear
        infinite;

}


.chairman-image-area::after {

    content: "";

    position: absolute;

    width: 230px;
    height: 230px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255,193,7,0.35),
            transparent 70%
        );

    filter:
        blur(10px);

    animation:
        chairmanImageGlow
        3s
        ease-in-out
        infinite alternate;

}


.chairman-image-frame {

    position: relative;

    z-index: 3;

    width: 310px;

    height: 390px;

    padding: 9px;

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            #ffd54f,
            #ffffff,
            #ff9800,
            #ffffff,
            #ffd54f
        );

    background-size:
        300% 300%;

    animation:
        chairmanFrameColor
        6s
        ease-in-out
        infinite;

    box-shadow:
        0 20px 45px
        rgba(0,0,0,0.3);

}


.chairman-image-frame img {

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center;

    border-radius: 12px;

    background: #ffffff;

}


/* =========================================================
   CONTENT
========================================================= */

.chairman-content {

    padding:
        25px 25px;

    display: flex;

    flex-direction: column;

    justify-content: center;

}


.chairman-label {

    display: inline-flex;

    align-items: center;

    gap: 2px;

    width: fit-content;

    margin-bottom: 17px;

    padding:
        8px 16px;

    border-radius: 25px;

    background:
        linear-gradient(
            90deg,
            #fff3e0,
            #e3f2fd
        );

    color: #075ca8;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;

}


.chairman-label i {

    color: #ff9800;

}
.chairman-content h2 span {

    color: #10028f;

}

.chairman-content h2 {

    margin:
        0 0 0px;

    color: #102a43;

    font-size:
        clamp(28px, 3vw, 40px);

    line-height: 1.25;

    font-weight: 800;
    

}


.chairman-content h3 {

    margin:
        0 0 0px;

    color: #e47700;

    font-size: 18px;

    line-height: 1.6;

    font-weight: 600;

}


.chairman-content p {

    margin:
        0 0 18px;

    color: #617286;

    font-size: 16px;

    line-height: 1.85;

}


/* =========================================================
   DECORATIVE LINE
========================================================= */

.chairman-divider {

    width: 180px;

    height: 4px;

    margin:
        5px 0 25px;

    border-radius: 50px;

    background:
        linear-gradient(
            90deg,
            #ff9800,
            #e91e63,
            #1565c0
        );

    background-size:
        200% 100%;

    animation:
        chairmanDivider
        4s
        linear
        infinite;

}


/* =========================================================
   POSITION BADGE
========================================================= */

.chairman-position {

    display: flex;

    align-items: center;

    gap: 14px;

    margin-top: 10px;

    padding:
        15px 18px;

    border-radius: 14px;

    background:
        #f5f8fc;

    border-left:
        4px solid
        #ff9800;

}


.chairman-position-icon {

    width: 45px;
    height: 45px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 12px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #ff9800,
            #e91e63
        );

}


.chairman-position strong {

    display: block;

    color: #183b56;

    font-size: 15px;

}


.chairman-position span {

    display: block;

    margin-top: 3px;

    color: #718096;

    font-size: 13px;

}


/* =========================================================
   FORMER CHAIRMEN
========================================================= */

.former-chairman-section {

    padding:
        0 20px
        80px;

}


.former-chairman-card {

    max-width: 900px;

    margin: auto;

    padding:
        35px 40px;

    text-align: center;

    border-radius: 20px;

    background:
        linear-gradient(
            135deg,
            #f7faff,
            #fff9f2
        );

    border:
        1px solid #e4eaf2;

    box-shadow:
        0 12px 35px
        rgba(0,0,0,0.06);

}


.former-chairman-card i {

    font-size: 20px;

    color: #1565c0;

    margin-bottom: 12px;

}


.former-chairman-card h3 {

    margin:
        0 0 10px;

    color: #183b56;

    font-size: 13px;

}


.former-chairman-card p {

    margin:
        0 0 20px;

    color: #718096;

    line-height: 1.7;

}


.former-chairman-card a {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding:
        12px 22px;

    border-radius: 50px;

    color: #ffffff;

    background:
        linear-gradient(
            90deg,
            #140537,
            #140537,
            #140537
        );

    text-decoration: none;

    font-weight: 600;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;

}


.former-chairman-card a:hover {

    transform:
        translateY(-3px);

    box-shadow:
        0 10px 25px
        rgba(21,101,192,0.25);

}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes chairmanFloatOne {

    0%,
    100% {

        transform:
            translate(0,0);

    }

    50% {

        transform:
            translate(80px,40px);

    }

}


@keyframes chairmanFloatTwo {

    0%,
    100% {

        transform:
            translate(0,0);

    }

    50% {

        transform:
            translate(-60px,-30px);

    }

}


@keyframes chairmanImageRing {

    0% {

        transform:
            rotate(0deg)
            scale(0.9);

    }

    50% {

        transform:
            rotate(180deg)
            scale(1.08);

    }

    100% {

        transform:
            rotate(360deg)
            scale(0.9);

    }

}


@keyframes chairmanImageGlow {

    from {

        opacity: 0.35;

        transform:
            scale(0.85);

    }

    to {

        opacity: 0.8;

        transform:
            scale(1.15);

    }

}


@keyframes chairmanFrameColor {

    0% {

        background-position:
            0% 50%;

    }

    50% {

        background-position:
            100% 50%;

    }

    100% {

        background-position:
            0% 50%;

    }

}


@keyframes chairmanDivider {

    0% {

        background-position:
            0% 50%;

    }

    50% {

        background-position:
            100% 50%;

    }

    100% {

        background-position:
            0% 50%;

    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .chairman-profile-card {

        grid-template-columns:
            1fr;

    }


    .chairman-image-area {

        min-height: 470px;

    }


    .chairman-content {

        padding:
            45px 35px;

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .chairman-title-section {

        padding:
            45px 15px;

    }


    .chairman-title-content p {

        font-size: 14px;

    }


    .chairman-profile-section {

        padding:
            45px 15px
            55px;

    }


    .chairman-image-area {

        min-height: 390px;

        padding: 25px;

    }


    .chairman-image-area::before {

        width: 270px;
        height: 270px;

    }


    .chairman-image-frame {

        width: 250px;

        height: 315px;

    }


    .chairman-content {

        padding:
            35px 25px;

    }


    .chairman-content h2 {

        font-size: 27px;

    }


    .chairman-content h3 {

        font-size: 16px;

    }


    .chairman-content p {

        font-size: 14px;

    }


    .former-chairman-section {

        padding:
            0 15px
            55px;

    }


    .former-chairman-card {

        padding:
            30px 20px;

    }

}

/* =========================================================
   P.T. LEE CHENGALVARAYA NAICKER TRUST
   FORMER CHAIRMEN PAGE
========================================================= */

.former-chairmen-page {
    --blue-dark: #082b5c;
    --blue: #075ca8;
    --blue-light: #0b86a5;
    --primary: #e2134f;
    --rose: #f467a7;
    --orange: #ff9800;
    --violet: #7047d7;
    --text-dark: #12243a;
    --text: #40536a;
    --text-light: #718096;
    --border: #e3eaf3;
    --white: #ffffff;

    font-family: "Poppins", sans-serif;
    color: var(--text-dark);

    background: linear-gradient(
        180deg,
        #f8fbff 0%,
        #ffffff 45%,
        #f7faff 100%
    );

    min-height: 100vh;
    overflow: hidden;
}


/* =========================================================
   HERO
========================================================= */

.former-chairmen-hero {
    position: relative;
    padding: 75px 20px 70px;
    text-align: center;
    overflow: hidden;

    background: linear-gradient(
        135deg,
        #082b5c 0%,
        #075ca8 45%,
        #356ce2 72%,
        #e2134f 120%
    );

    color: #ffffff;
    isolation: isolate;
}


.former-chairmen-hero::before {
    content: "";
    position: absolute;

    width: 450px;
    height: 450px;

    top: -250px;
    left: -150px;

    border-radius: 50%;

    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.18),
        transparent 68%
    );

    pointer-events: none;
    z-index: -1;
}


.former-chairmen-hero::after {
    content: "";
    position: absolute;

    width: 500px;
    height: 500px;

    right: -200px;
    bottom: -300px;

    border-radius: 50%;

    background: radial-gradient(
        circle,
        rgba(242, 103, 167, 0.28),
        transparent 68%
    );

    pointer-events: none;
    z-index: -1;
}


/* =========================================================
   HERO CIRCLES
========================================================= */

.former-hero-circle {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;

    border: 1px solid rgba(255, 255, 255, 0.15);

    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}


.former-circle-one {
    width: 260px;
    height: 260px;

    top: -135px;
    right: 8%;

    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.08),
        transparent 70%
    );

    animation: formerCircleFloat 8s ease-in-out infinite;
}


.former-circle-two {
    width: 180px;
    height: 180px;

    bottom: -100px;
    left: 10%;

    background: radial-gradient(
        circle,
        rgba(255, 152, 0, 0.12),
        transparent 70%
    );

    animation: formerCircleFloat 10s ease-in-out infinite reverse;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.former-hero-content {
    position: relative;
    z-index: 2;

    max-width: 900px;
    margin: 0 auto;
}


/* =========================================================
   EYEBROW
========================================================= */

.former-eyebrow {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    padding: 8px 17px;
    margin-bottom: 20px;

    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;

    background: rgba(255, 255, 255, 0.10);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    font-size: 13px;
    font-weight: 600;

    letter-spacing: 1px;
    text-transform: uppercase;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.12);
}


.former-eyebrow i {
    font-size: 14px;
    color: #ffcc66;
}

/* =========================================================
   HERO TITLE — CLEAN GRAND LOOK
========================================================= */

.former-hero-content h1 {
    margin: 0;

    font-size: clamp(38px, 6vw, 70px);

    line-height: 1.1;

    font-weight: 800;

    letter-spacing: -1.5px;

    color: #ffffff;

    text-shadow:
        0 5px 18px rgba(0, 0, 0, 0.20);

    animation: formerTitleIn 0.9s ease both;
}


/* =========================================================
   HIGHLIGHTED TITLE
========================================================= */

.former-hero-content h1 span {
    display: inline-block;

    background: linear-gradient(
    90deg,
    #ffffff,
    #ffd1e1,
    #f467a7,
    #e2134f,
    #ff8a65,
    #ffd54f,
    #ffffff
);

background-size: 400% 100%;

    -webkit-background-clip: text;

    background-clip: text;

    -webkit-text-fill-color:
        transparent;

    animation:
        chairmanTitleColor
        4s
        ease-in-out
        infinite;

}


@keyframes chairmanTitleColor {

    0% {

        background-position:
            0% 50%;

    }

    50% {

        background-position:
            100% 50%;

    }

    100% {

        background-position:
            0% 50%;

    }

}


/* =========================================================
   HERO DESCRIPTION
========================================================= */

.former-hero-content p {
    max-width: 720px;

    margin: 22px auto 0;

    font-size: 16px;

    line-height: 1.8;

    font-weight: 400;

    color: rgba(255, 255, 255, 0.88);

    animation:
        formerFadeUp 1s ease 0.2s both;
}


/* =========================================================
   MAIN SECTION
========================================================= */

.former-chairmen-section {
    position: relative;

    padding: 75px 20px 90px;
}


.former-chairmen-container {
    width: 100%;
    max-width: 1250px;

    margin: 0 auto;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.former-section-heading {
    display: flex;

    align-items: center;

    gap: 20px;

    margin-bottom: 32px;

    animation:
        formerFadeUp 0.8s ease both;
}


/* =========================================================
   SECTION ICON
========================================================= */

.former-section-icon {
    flex-shrink: 0;

    width: 68px;
    height: 68px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 20px;

    color: #ffffff;

    font-size: 25px;

    background: linear-gradient(
        135deg,
        #082b5c,
        #075ca8,
        #356ce2
    );

    box-shadow:
        0 14px 30px rgba(8, 43, 92, 0.20);

    transform: rotate(-3deg);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}


.former-section-heading:hover .former-section-icon {
    transform:
        rotate(0deg)
        translateY(-4px);

    box-shadow:
        0 18px 38px rgba(8, 43, 92, 0.26);
}


/* =========================================================
   SECTION TEXT
========================================================= */

.former-small-title {
    display: block;

    margin-bottom: 5px;

    color: #075ca8;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}


.former-section-heading h2 {
    margin: 0;

    color: #12243a;

    font-size: clamp(25px, 4vw, 38px);

    line-height: 1.2;

    font-weight: 800;
}


.former-section-heading p {
    margin: 7px 0 0;

    color: #718096;

    font-size: 14px;

    font-weight: 400;
}


/* =========================================================
   TABLE CARD
========================================================= */

.former-table-card {
    position: relative;

    overflow: hidden;

    border: 1px solid #e3eaf3;

    border-radius: 24px;

    background: #ffffff;

    box-shadow:
        0 12px 35px rgba(15, 50, 90, 0.08);

    transition:
        transform 0.45s ease,
        box-shadow 0.45s ease,
        border-color 0.45s ease;

    isolation: isolate;
}


/* =========================================================
   TABLE CARD HOVER
========================================================= */

.former-table-card:hover {
    transform: translateY(-12px);

    border-color:
        rgba(53, 108, 226, 0.45);

    box-shadow:
        0 10px 25px rgba(8, 43, 92, 0.10),
        0 25px 50px rgba(53, 108, 226, 0.20),
        0 45px 80px rgba(8, 43, 92, 0.14),
        0 0 35px rgba(53, 108, 226, 0.10);
}


/* =========================================================
   MASK GRADIENT BORDER
========================================================= */

.former-table-card::before {
    content: "";

    position: absolute;

    inset: 0;

    padding: 2px;

    border-radius: 24px;

    background: linear-gradient(
        90deg,
        #075ca8,
        #356ce2,
        #e2134f,
        #ff9800,
        #075ca8
    );

    background-size: 300% 100%;

    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);

    -webkit-mask-composite: xor;

    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);

    mask-composite: exclude;

    pointer-events: none;

    opacity: 0;

    z-index: 5;

    transition:
        opacity 0.45s ease;
}


.former-table-card:hover::before {
    opacity: 1;

    animation:
        formerMaskBorderMove 3s linear infinite;
}


@keyframes formerMaskBorderMove {

    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 150% 50%;
    }

    100% {
        background-position: 300% 50%;
    }
}


/* =========================================================
   TABLE HEADER
========================================================= */

.former-table-header {
    position: relative;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;

    padding: 30px 32px;

    background: linear-gradient(
        135deg,
        #f7fbff,
        #ffffff
    );

    border-bottom:
        1px solid #e8eef6;
}


.former-table-header span {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: #075ca8;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 0.7px;

    text-transform: uppercase;
}


.former-table-header span i {
    color: #e2134f;
}


.former-table-header h3 {
    margin: 7px 0 0;

    color: #12243a;

    font-size: clamp(20px, 3vw, 27px);

    font-weight: 700;
}


/* =========================================================
   COUNT
========================================================= */

.former-count {
    min-width: 105px;

    padding: 14px 20px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    border-radius: 18px;

    color: #ffffff;

    background: linear-gradient(
        135deg,
        #082b5c,
        #075ca8,
        #356ce2
    );

    box-shadow:
        0 12px 28px rgba(8, 43, 92, 0.18);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}


.former-table-card:hover .former-count {
    transform:
        translateY(-4px)
        scale(1.04);

    box-shadow:
        0 18px 35px rgba(8, 43, 92, 0.25);
}


.former-count strong {
    font-size: 28px;

    line-height: 1;

    font-weight: 800;
}


.former-count span {
    margin-top: 5px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 10px;

    letter-spacing: 1px;

    text-transform: uppercase;
}


/* =========================================================
   TABLE WRAPPER
========================================================= */

.former-table-wrapper {
    width: 100%;

    overflow-x: auto;

    -webkit-overflow-scrolling: touch;
}


/* =========================================================
   TABLE
========================================================= */

.former-chairmen-table {
    width: 100%;

    min-width: 720px;

    border-collapse: collapse;

    table-layout: fixed;
}


/* =========================================================
   TABLE HEAD
========================================================= */

.former-chairmen-table thead th {
    padding: 19px 24px;

    text-align: left;

    color: #ffffff;

    background: linear-gradient(
        135deg,
        #082b5c,
        #075ca8
    );

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 0.8px;

    text-transform: uppercase;

    border: none;
}


.former-chairmen-table thead th:first-child {
    width: 100px;

    text-align: center;
}


.former-chairmen-table thead th:last-child {
    width: 250px;
}


.former-chairmen-table thead th i {
    margin-right: 7px;

    color: #ffcc66;
}


/* =========================================================
   TABLE ROW
========================================================= */

.former-chairmen-table tbody tr {
    position: relative;

    background: #ffffff;

    transition:
        background 0.35s ease,
        transform 0.35s ease,
        box-shadow 0.35s ease;
}


.former-chairmen-table tbody tr:nth-child(even) {
    background: #f9fbfe;
}


.former-chairmen-table tbody tr:hover {
    background: linear-gradient(
        90deg,
        rgba(7, 92, 168, 0.045),
        rgba(226, 19, 79, 0.025)
    );

    box-shadow:
        inset 5px 0 0 #356ce2;
}


/* =========================================================
   TABLE CELLS
========================================================= */

.former-chairmen-table tbody td {
    padding: 20px 24px;

    border-bottom:
        1px solid #e8eef5;

    vertical-align: middle;

    color: #40536a;

    font-size: 14px;
}


.former-chairmen-table tbody tr:last-child td {
    border-bottom: none;
}


/* =========================================================
   SERIAL NUMBER
========================================================= */

.serial-number {
    width: 44px;
    height: 44px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #075ca8;

    background: linear-gradient(
        135deg,
        #eef6ff,
        #f7faff
    );

    border:
        1px solid #d8e8f8;

    font-size: 13px;

    font-weight: 800;

    transition:
        transform 0.35s ease,
        color 0.35s ease,
        background 0.35s ease,
        box-shadow 0.35s ease;
}


.former-chairmen-table tbody tr:hover .serial-number {
    transform: scale(1.10);

    color: #ffffff;

    background: linear-gradient(
        135deg,
        #075ca8,
        #356ce2
    );

    box-shadow:
        0 8px 18px rgba(53, 108, 226, 0.25);
}


/* =========================================================
   NAME
========================================================= */

.former-name {
    display: flex;

    align-items: center;

    gap: 15px;
}


.former-name-icon {
    flex-shrink: 0;

    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 14px;

    color: #075ca8;

    background: linear-gradient(
        135deg,
        #eef6ff,
        #f8fbff
    );

    border:
        1px solid #dceafa;

    font-size: 18px;

    transition:
        transform 0.35s ease,
        background 0.35s ease,
        color 0.35s ease,
        box-shadow 0.35s ease;
}


.former-chairmen-table tbody tr:hover .former-name-icon {
    transform:
        translateY(-3px)
        rotate(-4deg);

    color: #ffffff;

    background: linear-gradient(
        135deg,
        #075ca8,
        #356ce2
    );

    box-shadow:
        0 9px 20px rgba(53, 108, 226, 0.22);
}


.former-name strong {
    display: block;

    color: #172b42;

    font-size: 14px;

    line-height: 1.5;

    font-weight: 700;

    transition:
        color 0.3s ease;
}


.former-chairmen-table tbody tr:hover .former-name strong {
    color: #075ca8;
}


.former-name span {
    display: block;

    margin-top: 4px;

    color: #8795a6;

    font-size: 11px;

    font-weight: 500;

    text-transform: uppercase;

    letter-spacing: 0.5px;
}


/* =========================================================
   PERIOD BADGE
========================================================= */

.period-badge {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 125px;

    padding: 9px 16px;

    border-radius: 50px;

    color: #075ca8;

    background: linear-gradient(
        135deg,
        #edf6ff,
        #f5f9ff
    );

    border:
        1px solid #d9e9f8;

    font-size: 12px;

    font-weight: 700;

    white-space: nowrap;

    transition:
        transform 0.35s ease,
        color 0.35s ease,
        background 0.35s ease,
        box-shadow 0.35s ease;
}


.former-chairmen-table tbody tr:hover .period-badge {
    transform: translateY(-2px);

    color: #ffffff;

    background: linear-gradient(
        135deg,
        #075ca8,
        #356ce2
    );

    border-color: transparent;

    box-shadow:
        0 8px 18px rgba(53, 108, 226, 0.20);
}


/* =========================================================
   CURRENT PERIOD
========================================================= */

.period-current {
    min-width: 55px;

    color: #e2134f;

    background: linear-gradient(
        135deg,
        #fff1f5,
        #fff8fa
    );

    border-color:
        #f7d5df;
}


/* =========================================================
   BACK CARD
========================================================= */

.former-back-card {
    position: relative;

    display: flex;

    align-items: center;

    gap: 20px;

    margin-top: 35px;

    padding: 24px 28px;

    border:
        1px solid #e0e8f2;

    border-radius: 22px;

    background: linear-gradient(
        135deg,
        #ffffff,
        #f8fbff
    );

    box-shadow:
        0 12px 30px rgba(15, 50, 90, 0.07);

    overflow: hidden;

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease,
        border-color 0.4s ease;
}


.former-back-card::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 100%;
    height: 3px;

    background: linear-gradient(
        90deg,
        #075ca8,
        #356ce2,
        #e2134f,
        #ff9800
    );

    background-size: 250% 100%;

    transition:
        background-position 0.5s ease;
}


.former-back-card:hover {
    transform: translateY(-7px);

    border-color:
        rgba(53, 108, 226, 0.35);

    box-shadow:
        0 15px 35px rgba(8, 43, 92, 0.10),
        0 25px 55px rgba(53, 108, 226, 0.13);
}


.former-back-card:hover::before {
    background-position: 100% 50%;
}


/* =========================================================
   BACK ICON
========================================================= */

.former-back-icon {
    flex-shrink: 0;

    width: 58px;
    height: 58px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 17px;

    color: #ffffff;

    background: linear-gradient(
        135deg,
        #082b5c,
        #075ca8,
        #356ce2
    );

    font-size: 21px;

    box-shadow:
        0 10px 22px rgba(8, 43, 92, 0.18);

    transition:
        transform 0.35s ease;
}


.former-back-card:hover .former-back-icon {
    transform:
        rotate(-5deg)
        scale(1.06);
}


/* =========================================================
   BACK CONTENT
========================================================= */

.former-back-content {
    flex: 1;
}


.former-back-content h3 {
    margin: 0;

    color: #12243a;

    font-size: 19px;

    font-weight: 700;
}


.former-back-content p {
    margin: 5px 0 0;

    color: #718096;

    font-size: 13px;

    line-height: 1.6;
}


/* =========================================================
   VIEW CHAIRMAN BUTTON
========================================================= */

.former-back-card a {
    flex-shrink: 0;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 12px 20px;

    border-radius: 50px;

    color: #ffffff;

    background: linear-gradient(
        135deg,
        #075ca8,
        #356ce2
    );

    text-decoration: none;

    font-size: 12px;

    font-weight: 700;

    box-shadow:
        0 9px 22px rgba(53, 108, 226, 0.20);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        background 0.35s ease;
}


.former-back-card a i {
    transition:
        transform 0.35s ease;
}


.former-back-card a:hover {
    transform: translateY(-3px);

    box-shadow:
        0 14px 28px rgba(53, 108, 226, 0.30);

    background: linear-gradient(
        135deg,
        #082b5c,
        #075ca8
    );
}


.former-back-card a:hover i {
    transform: translateX(5px);
}


/* =========================================================
   SCROLLBAR
========================================================= */

.former-table-wrapper::-webkit-scrollbar {
    height: 7px;
}


.former-table-wrapper::-webkit-scrollbar-track {
    background: #edf2f7;

    border-radius: 20px;
}


.former-table-wrapper::-webkit-scrollbar-thumb {
    background: linear-gradient(
        90deg,
        #075ca8,
        #356ce2
    );

    border-radius: 20px;
}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes formerTitleIn {

    from {
        opacity: 0;

        transform:
            translateY(25px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }
}


@keyframes formerFadeUp {

    from {
        opacity: 0;

        transform:
            translateY(20px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }
}


@keyframes formerTitleShine {

    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}


@keyframes formerCircleFloat {

    0%,
    100% {
        transform:
            translateY(0)
            rotate(0deg);
    }

    50% {
        transform:
            translateY(-18px)
            rotate(5deg);
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .former-chairmen-hero {
        padding:
            65px 20px
            60px;
    }


    .former-chairmen-section {
        padding:
            60px 18px
            70px;
    }


    .former-table-header {
        padding:
            25px;
    }


    .former-chairmen-table {
        min-width: 680px;
    }


    .former-back-card {
        padding:
            22px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .former-chairmen-hero {
        padding:
            55px 18px
            50px;
    }


    .former-eyebrow {
        font-size: 11px;

        padding:
            7px 13px;
    }


    .former-hero-content h1 {
        font-size:
            clamp(
                34px,
                11vw,
                50px
            );

        letter-spacing:
            -0.8px;
    }


    .former-hero-content p {
        font-size: 13px;

        line-height: 1.7;
    }


    .former-chairmen-section {
        padding:
            48px 14px
            60px;
    }


    .former-section-heading {
        align-items: flex-start;

        gap: 14px;
    }


    .former-section-icon {
        width: 55px;
        height: 55px;

        border-radius: 16px;

        font-size: 20px;
    }


    .former-section-heading h2 {
        font-size: 24px;
    }


    .former-section-heading p {
        font-size: 12px;
    }


    .former-table-card {
        border-radius: 19px;
    }


    .former-table-card::before {
        border-radius: 19px;
    }


    .former-table-header {
        align-items: flex-start;

        padding:
            22px 18px;

        gap: 15px;
    }


    .former-table-header h3 {
        font-size: 18px;
    }


    .former-count {
        min-width: 75px;

        padding:
            11px 13px;

        border-radius: 14px;
    }


    .former-count strong {
        font-size: 22px;
    }


    .former-count span {
        font-size: 8px;
    }


    .former-chairmen-table {
        min-width: 0;

        width: 100%;
    }


    /* =====================================================
       MOBILE TABLE AS CARDS
    ===================================================== */

    .former-chairmen-table thead {
        display: none;
    }


    .former-chairmen-table,
    .former-chairmen-table tbody,
    .former-chairmen-table tr,
    .former-chairmen-table td {
        display: block;

        width: 100%;
    }


    .former-chairmen-table tbody tr {
        position: relative;

        padding:
            18px;

        border-bottom:
            1px solid #e6edf5;

        box-sizing: border-box;

        transition:
            background 0.3s ease,
            box-shadow 0.3s ease;
    }


    .former-chairmen-table tbody tr:last-child {
        border-bottom: none;
    }


    .former-chairmen-table tbody td {
        display: flex;

        align-items: center;

        justify-content: space-between;

        gap: 15px;

        padding:
            7px 0;

        border: none;

        font-size: 13px;
    }


    .former-chairmen-table tbody td::before {
        content:
            attr(data-label);

        flex-shrink: 0;

        color: #8492a3;

        font-size: 10px;

        font-weight: 700;

        letter-spacing: 0.7px;

        text-transform: uppercase;
    }


    .former-chairmen-table tbody td:first-child {
        justify-content: flex-start;
    }


    .former-chairmen-table tbody td:first-child::before {
        display: none;
    }


    .former-name {
        justify-content: flex-end;

        width: 100%;

        gap: 10px;
    }


    .former-name-icon {
        width: 40px;
        height: 40px;

        border-radius: 12px;

        font-size: 15px;
    }


    .former-name strong {
        font-size: 12px;

        text-align: right;

        line-height: 1.45;
    }


    .former-name span {
        font-size: 9px;

        text-align: right;
    }


    .serial-number {
        width: 38px;
        height: 38px;

        font-size: 11px;
    }


    .period-badge {
        min-width: auto;

        padding:
            7px 12px;

        font-size: 10px;

        white-space: normal;

        text-align: center;
    }


    .former-back-card {
        flex-direction: column;

        align-items: center;

        text-align: center;

        padding:
            25px 20px;

        border-radius: 19px;
    }


    .former-back-content p {
        max-width: 420px;
    }


    .former-back-card a {
        width: 100%;

        max-width: 230px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 430px) {

    .former-chairmen-hero {
        padding:
            48px 15px
            45px;
    }


    .former-chairmen-section {
        padding:
            40px 10px
            50px;
    }


    .former-section-heading {
        gap: 11px;
    }


    .former-section-icon {
        width: 48px;
        height: 48px;

        border-radius: 14px;

        font-size: 18px;
    }


    .former-section-heading h2 {
        font-size: 21px;
    }


    .former-section-heading p {
        font-size: 11px;
    }


    .former-table-header {
        padding:
            19px 15px;
    }


    .former-table-header h3 {
        font-size: 16px;
    }


    .former-count {
        min-width: 65px;

        padding:
            9px 10px;
    }


    .former-count strong {
        font-size: 19px;
    }


    .former-count span {
        font-size: 7px;
    }


    .former-chairmen-table tbody tr {
        padding:
            15px;
    }


    .former-chairmen-table tbody td {
        align-items: flex-start;

        padding:
            6px 0;
    }


    .former-name {
        align-items: flex-start;
    }


    .former-name strong {
        max-width: 210px;
    }


    .former-name-icon {
        width: 36px;
        height: 36px;
    }


    .period-badge {
        max-width: 190px;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .former-chairmen-page *,
    .former-chairmen-page *::before,
    .former-chairmen-page *::after {

        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        scroll-behavior: auto !important;

        transition-duration: 0.01ms !important;
    }
}