/* Board of Directors Custom Styles - Theme Color: #0071ac */

/* Chairman Card - Special Styling */
.chairman-card {
    position: relative;
}

.chairman-card::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 4px;
    background: linear-gradient(90deg, #005a8a, #0071ac, #0088cc);
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(0, 113, 172, 0.4);
}

.chairman-card .team-card {
    border: 2px solid rgba(0, 113, 172, 0.2);
}

.chairman-card .team-member-info {
    background: linear-gradient(135deg, rgba(0, 113, 172, 0.03), rgba(0, 136, 204, 0.03));
}

.chairman-card .team-member-info h5 a {
    color: #0071ac;
    font-weight: 700;
}

.chairman-card .team-member-info span {
    color: #0071ac;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 13px;
}

/* Enhanced Team Card Styling */
.team-card {
    transition: all 0.4s ease;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 113, 172, 0.08);
    border: 1px solid rgba(0, 113, 172, 0.1);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 113, 172, 0.15);
    border-color: rgba(0, 113, 172, 0.3);
}

.team-card .team-img-area {
    position: relative;
    display: block;
    overflow: hidden;
}

.team-card .team-img-area::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 90, 138, 0.1), rgba(0, 113, 172, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.team-card:hover .team-img-area::after {
    opacity: 1;
}

.team-card .team-img-area img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.team-card:hover .team-img-area img {
    transform: scale(1.08);
}

.team-card .team-member-info {
    padding: 25px 20px;
    text-align: center;
    background: #ffffff;
    transition: all 0.3s ease;
}

.team-card:hover .team-member-info {
    background: linear-gradient(135deg, rgba(0, 113, 172, 0.02), rgba(0, 136, 204, 0.02));
}

.team-card .team-member-info h5 {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.team-card .team-member-info h5 a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.team-card:hover .team-member-info h5 a {
    color: #0071ac;
}

.team-card .team-member-info span {
    display: block;
    font-size: 14px;
    color: #666;
    font-weight: 500;
    transition: color 0.3s ease;
}

.team-card:hover .team-member-info span {
    color: #0071ac;
}

/* Section Styling */
.team-card-section {
    /* background: linear-gradient(180deg, #f8fbfd 0%, #ffffff 50%, #f8fbfd 100%); */
    padding-top: 40px;
}

/* Industries Content (Description Section) */
.industries-content h4 {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.industries-content h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #005a8a, #0071ac, #0088cc);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 113, 172, 0.3);
}

.industries-content p {
    font-size: 18px;
    color: #666;
    margin-top: 25px;
}

/* Badge for Chairman */
.chairman-card::after {
    content: 'CHAIRMAN';
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #005a8a, #0071ac, #0088cc);
    color: #ffffff;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(0, 113, 172, 0.3);
    z-index: 10;
}

/* Responsive Design */
@media (max-width: 991px) {
    .chairman-card::after {
        top: 10px;
        right: 10px;
        font-size: 10px;
        padding: 5px 12px;
    }

    .industries-content h4 {
        font-size: 36px;
    }
}

@media (max-width: 767px) {
    .chairman-card::before {
        width: 80%;
    }

    .industries-content h4 {
        font-size: 32px;
    }

    .industries-content p {
        font-size: 16px;
    }

    .team-card .team-member-info h5 {
        font-size: 16px;
    }

    .team-card .team-member-info span {
        font-size: 13px;
    }
}

/* Accessibility */
.team-card:focus-within {
    outline: 2px solid #0071ac;
    outline-offset: 4px;
}

/* Print Styles */
@media print {
    .team-card {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .team-card:hover {
        transform: none;
    }

    .chairman-card::before,
    .chairman-card::after {
        display: none;
    }
}
