﻿
.card-decaration {
    padding: 20px 85px;
}

.card-box1 {
    padding: 20px 20px;
    width:auto;
    height: auto;
    background-color: aliceblue;
    border-radius: 10px;
}

    .card-box1 h2 {
        color: #2f6db5;
        font-family: "IBM Plex Sans", Sans-serif !important;
        font-size: 36px;
        font-weight: 500;
    }
/* ================= SECTION 3 ================= */
.aboutUs-board {
    background-color: #0b1b2b;
    padding: 0 50px;
    overflow: hidden;
}

    .aboutUs-board .row {
        display: flex;
        align-items: flex-start;
    }

    .aboutUs-board .text-light {
        position: sticky;
        top: 100px;
        height: fit-content;
       
    }
.aboutUs-section p{
    font-size:30px;
    font-weight:600;
    color:#2f6db5
}

.text-light p {
    font-size: 18px;
}

.image-div {
    background-color: white;
    padding: 10px;
    width: 220px;
    border-radius: 5px;
}

/* ================= TIMELINE SECTION ================= */
#timelineSection {
    position: relative;
    min-height: 100vh;
}

/* VARIABLES */
:root {
    --primary-color: #007bff;
    --dot-size: 18px;
    --line-width: 3px;
}

/* TIMELINE ITEM */
.timeline-item {
    display: flex;
    position: relative;
    padding-bottom: 50px;
}

    
    .timeline-item:last-child {
        padding-bottom: 0;
    }
.Members
/* TIMELINE BAR */
.timeline-bar {
    width: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex-shrink: 0; 
}

    /* DOT */
    .timeline-bar .dot {
        width: var(--dot-size);
        height: var(--dot-size);
        background-color: #2f6db5;
        border-radius: 50%;
        border: 3px solid #fff;
        box-shadow: 0 0 0 2px #2f6db5;
        z-index: 2; 
        position: relative;
        margin-top: 10px; 
    }

.timeline-bar .line {
    position: absolute;
    top: 10px;
    bottom: -50px;
    width: var(--line-width);
    background: #ffffff;
    z-index: 1;
    opacity: 0.5;
    margin-left: 6px;
}

.timeline-item:last-child .line {
    display: none;
}

.timeline-content {
    padding-left: 20px;
}


.card-body1 h4 {
    color: #2f6db5;
    font-weight: bold;
}

.card-body p {
    font-size: 18px;
    color: #555;
    margin-bottom: 0;
    font-family: "IBM Plex Sans", Sans-serif;
    font-weight: 400;
}

.timeline-container {
    max-height: 80vh;
    overflow-y: auto;
    padding: 8rem 1.5rem;
    padding-right: 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

    .timeline-container::-webkit-scrollbar {
        display: none;
    }

.timeline-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}


.left-content {
    position: sticky;
    top: 100px;
    width: 40%;
}


@media (max-width: 991px) {
    .timeline-wrapper {
        flex-direction: column;
    }

    .left-content {
        position: relative;
        top: 0;
        width: 100%;
        margin-bottom: 40px;
        margin-left: 0;
    }

    .timeline-container {
        max-height: none;
        
    }
   
}

/* ===== 1. DIRECTORS SECTION (Large Cards) ===== */
.Directors {
    padding: 2rem 8%;
    background-image: url("../images/SVG.png");
    background-size:auto;
}

.team-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

/* THE MAIN CARD */
.member-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    flex: 0 1 calc(33.333% - 30px); /* Desktop lo 3 cards */
    min-width: 300px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

    /* IMAGE BOX (The Light Blue Background you asked for) */
    .member-card > div:first-child {
        background: #dfe9ef; /* Mee light blue color */
        border-radius: 12px;
        padding: 12px;
        position: relative;
        margin-bottom: 10px;
    }

    /* IMAGE STYLE */
    .member-card img {
        width: 100%;
        /* height: 380px;*/
        object-fit: cover;
        border-radius: 10px;
        display: block;
    }

/* LINKEDIN ICON */
        .linkedin-icon::after {
    content: "in";
    position: absolute;
    top: 20px; /* Adjusting to fit inside the blue box */
    right: 20px;
    width: 38px;
    height: 38px;
    background: #0a8f2f;
    color: #fff;
    font-weight: 700;
    font-family: Arial, sans-serif;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 5;
}

/* NAME & DESIGNATION */
.member-name {
    font-size: 28px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--e-global-color-secondary)
}

.member-designation {
    font-size: 0.95rem;
    color: #666;
    margin-top: 5px;
    text-transform: uppercase;
}

/* ===== 2. TEAM MEMBERS SECTION (Repeater Section) ===== */
.team-members {
    padding: 3rem 8%;
}

.member-card1 {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #fff;
    border-bottom: 2px solid #eee;
    flex: 0 1 calc(33.333% - 20px); /* Team members also in 3 columns */
}

.member-img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
}

/* ===== 3. PERFECT RESPONSIVENESS ===== */

/* Tablet (2 Cards per row) */
@media (max-width: 1024px) {
    .member-card, .member-card1 {
        flex: 0 1 calc(50% - 30px);
    }

    .Directors {
        padding: 3rem 5%;
    }
}

/* Mobile (Full Width 1 Card per row) */
@media (max-width: 650px) {
    .member-card, .member-card1 {
        flex: 0 1 100%;
        min-width: 100%;
    }

        .member-card img {
            /* height: 300px;
            */ /* Image height slightly reduced for mobile screens */
        }

    .Directors, .team-members {
        padding: 2rem 1.5rem !important;
    }
}

@media (max-width:576px) and (max-width:992px) {
   
    .aboutUs-section p {
        font-size: 18px !important;
    }
    .btn-gallery.active {
        background-color: #008a2e;
        color: white;
        margin-bottom: 1rem;
    }
    .gallery-container {
        padding:1rem !important;
    }
}
.Members{
    padding:0 8rem;
    margin-bottom:2rem;
}
.row-gap{
    row-gap:20px;
    margin-top:3rem;
}
.Members h1 {
    color: #2f6db5;
}
.contact-col{
    flex-wrap:nowrap;
}