        /* --- General Timeline Styles --- */
        .timeline-section {
            padding: 50px 0;
            background-color: #f8f9fa;
        }
        .timeline-container {
            max-width: 1200px;
            margin: auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            align-items: stretch; /* Ensures all items in a row have the same height */
        }
        .timeline-item {
            background: #fff;
            border-radius: 10px;
            box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            display: flex;
            flex-direction: column;
            text-align: left;
            padding: 0;
            height: 100%; /* Important for equal height in grid/flex */
        }
        .timeline-image {
            width: 100%;
            overflow: hidden;
            display: flex;
            align-items: center;
            position: relative; /* Essential for positioning the caption */
            height: 100%; /* Make image container fill its parent */
        }
        .timeline-image img {
            width: 100%;
            height: 100%; /* Image should fill the container */
            object-fit: cover; /* Ensures image covers the area, cropping if necessary */
            display: block;
        }
        .timeline-caption {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            background: rgba(0, 0, 0, 0.6); /* Semi-transparent black background */
            color: white;
            padding: 5px 10px;
            font-size: 0.85rem;
            text-align: left;
            box-sizing: border-box;
            z-index: 1;
        }
        .timeline-content {
            padding: 20px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            flex-grow: 1;
        }
        .timeline-title {
            font-size: 1.5rem;
            font-weight: bold;
        }
        .timeline-text {
            margin-top: 10px;
            color: #555;
        }
        .timeline-button {
            display: flex;
            align-items: center;
            justify-content: flex-start;
            gap: 5px;
            margin-top: 15px;
            color: var(--primary_color);
            text-decoration: none;
            font-weight: bold;
        }
        .timeline-button i {
            font-size: 1.2rem;
        }

        /* --- Leaders Section Styles --- */
        .leaders-card {
            overflow: hidden;
            display: block; /* Ensures <a> tag behaves as a block for layout */
            position: relative;
            width: 100%;
        }
        .leader-image-container {
            position: relative;
            display: block;
            width: 100%;
            height: 0;
            padding-bottom: 56.25%; /* 16:9 Aspect Ratio (9 / 16 * 100) */
            background-color: #333; /* Fallback color */
            overflow: hidden;
        }
        .leader-image-container .big-img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: contain; /* Scales image to fit without cropping */
            object-position: center center;
            border: none;
            outline: none;
        }
        .leader-overlay-content {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            padding: 20px 25px; /* Desktop padding */
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            background: rgba(0, 0, 0, 0.4);
            color: #ffffff;
            box-sizing: border-box;
            overflow: hidden;
        }
        .leader-top-section {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 20px;
        }
        .leader-identity-left {
            flex: 1 1 40%;
            min-width: 0;
        }
        .leader-position-title {
            font-size: 0.9rem;
            font-weight: 300;
            opacity: 0.9;
            margin-bottom: 0.25rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .leader-name {
            font-size: 1.8rem;
            font-weight: bold;
            margin-bottom: 1rem;
            line-height: 1.2;
        }
        .leader-tasks-right {
    margin-left: auto;        /* Push it to the right */
    width: fit-content;       /* Only as wide as content */
    flex: 0 0 auto;           /* Don't grow or shrink */
    min-width: unset;         /* Remove previous constraint */
}
        .leader-tasks-right h6 {
            font-weight: bold;
            margin-bottom: 0.75rem;
            font-size: 1.1rem;
        }
        .leader-tasks-right .task-list {
            padding-left: 0;
            list-style: none;
            margin-bottom: 0;
        }
        .leader-tasks-right .task-list li {
            margin-bottom: 0.6rem;
            font-size: 0.9rem;
            display: flex;
            align-items: flex-start;
            line-height: 1.4;
        }
        .leader-tasks-right .task-list li i.fa-solid {
            margin-right: 8px;
            margin-top: 0.15em;
            font-size: 0.8em;
            opacity: 0.8;
        }
        .no-tasks-message {
            font-size: 0.85rem;
            font-style: italic;
            opacity: 0.7;
        }
        .leader-bottom-section {
            /*padding-top: 15px;*/
        }
        .leader-bottom-section h5 {
            font-size: 1.1rem;
            font-style: italic;
            font-weight: 500;
            margin-bottom: 0.75rem;
            opacity: 0.95;
        }
        .leader-bottom-section .left-border {
            border-left: 3px solid rgba(255, 255, 255, 0.6);
            margin-left: 20px;
            padding-left: 15px;
        }
        .leader-bottom-section .left-border p {
            font-size: 0.9rem;
            opacity: 0.85;
            line-height: 1.5;
            margin-bottom: 0;
        }
        .leaders-card > i.fa-arrow-right {
            position: absolute;
            bottom: 15px;
            right: 20px;
            color: #fff;
            font-size: 1.5rem;
            z-index: 10;
        }

        /* Specific styles for the "small" timeline cards */
        .timeline-card.timeline-second {
            position: relative; /* Ensure child absolute positioning works */
            display: flex;
            flex-direction: column; /* Stack image and content */
            height: 100%; /* Ensure it fills parent height */
            background-color: #000; /* Fallback for transparency */
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
        }

        .timeline-card.timeline-second .timeline-image {
            position: relative; /* Needed for caption */
            height: 100%; /* Image should fill the card height */
        }

        .timeline-card.timeline-second .second-card-content { /* New class for the content block */
            position: absolute; /* Position content over the image */
            bottom: 0;
            left: 0;
            right: 0;
            z-index: 2; /* Ensure it's above the image */
            color: white;
            padding: 20px 25px; /* Adjust padding as needed */
            /* Add a subtle gradient from transparent to black at the bottom */
            background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.0) 100%);
            display: flex;
            flex-direction: column;
            justify-content: flex-end; /* Push content to the bottom */
            align-items: flex-start;
        }

        .timeline-card.timeline-second .second-card-content .content-group {
            width: 100%; /* Ensure content takes full width */
            margin-bottom: 15px; /* Space between text and icon */
        }

        .timeline-card.timeline-second .second-card-content h5 {
            font-size: 1.2rem;
            margin-bottom: 0.5rem;
        }

        .timeline-card.timeline-second .second-card-content p {
            font-size: 0.85rem;
            line-height: 1.4;
        }

        .timeline-card.timeline-second .second-card-content .icon {
            position: static; /* Remove absolute positioning from the icon within this new structure */
            margin-left: auto; /* Push icon to the right if using flexbox for content group */
            color: #fff; /* Ensure icon color is white */
            font-size: 1.5rem;
            align-self: flex-end; /* Align icon to the bottom right */
        }


        /* --- Responsive Adjustments --- */
        @media (max-width: 768px) {
            .timeline-caption {
                font-size: 0.75rem;
                padding: 4px 8px;
            }

            .leader-overlay-content {
                padding: 10px 12px;
            }
            .leader-top-section {
                gap: 10px;
            }
            .leader-identity-left {
                flex-basis: 45%;
            }
            .leader-tasks-right {
                flex-basis: 50%;
            }
            .leader-name {
                font-size: 1.1rem;
                margin-bottom: 0.4rem;
            }
            .leader-position-title {
                font-size: 0.7rem;
                margin-bottom: 0.1rem;
            }
            .leader-tasks-right h6 {
                font-size: 0.85rem;
                margin-bottom: 0.4rem;
            }
            .leader-tasks-right .task-list li {
                font-size: 0.7rem;
                margin-bottom: 0.25rem;
                line-height: 1.3;
            }
            .leader-tasks-right .task-list li i.fa-solid {
                margin-right: 4px;
                font-size: 0.7em;
            }
            .no-tasks-message {
                font-size: 0.7rem;
            }
            .leader-bottom-section {
                padding-top: 10px;
            }
            .leader-bottom-section h5 {
                font-size: 0.8rem;
                margin-bottom: 0.4rem;
            }
            .leader-bottom-section .left-border {
                margin-left: 10px;
                padding-left: 8px;
                border-left-width: 2px;
            }
            .leader-bottom-section .left-border p {
                font-size: 0.7rem;
                line-height: 1.3;
            }
            .leaders-card > i.fa-arrow-right {
                font-size: 1.1rem;
                bottom: 8px;
                right: 10px;
            }

            /* Responsive adjustments for timeline-second */
            .timeline-card.timeline-second .second-card-content {
                padding: 15px 20px;
            }
            .timeline-card.timeline-second .second-card-content h5 {
                font-size: 1rem;
            }
            .timeline-card.timeline-second .second-card-content p {
                font-size: 0.75rem;
            }
            .timeline-card.timeline-second .second-card-content .icon {
                font-size: 1.2rem;
            }

        }

        @media (max-width: 480px) {
            .leader-overlay-content {
                padding: 8px 10px;
            }
            .leader-name {
                font-size: 0.9rem;
            }
            .leader-position-title {
                font-size: 0.6rem;
            }
            .leader-tasks-right h6 {
                font-size: 0.75rem;
            }
            .leader-tasks-right .task-list li {
                font-size: 0.6rem;
                letter-spacing: -0.25px;
            }
            .no-tasks-message {
                font-size: 0.6rem;
            }
            .leader-bottom-section h5 {
                font-size: 0.7rem;
            }
            .leader-bottom-section .left-border p {
                font-size: 0.6rem;
            }

            /* Further responsive adjustments for timeline-second */
            .timeline-card.timeline-second .second-card-content {
                padding: 10px 15px;
            }
            .timeline-card.timeline-second .second-card-content h5 {
                font-size: 0.9rem;
            }
            .timeline-card.timeline-second .second-card-content p {
                font-size: 0.65rem;
            }
            .timeline-card.timeline-second .second-card-content .icon {
                font-size: 1rem;
            }
        }
        table {
        width: 70%;
        border-collapse: collapse;
        font-size: 0.7rem; /* very small text */
        margin-left: auto;
        margin-right: 0;
    }

    table th,
    table td {
        border: 1px solid #ccc;
        padding: 1px 2px; /* minimal padding */
        text-align: left;
        vertical-align: top;
    }

    table th {
        font-weight: bold;
        color: #000;
        background: none;
    }

    table tr:nth-child(even),
    table tr:hover {
        background: none;
    }
