/* Staff Detail Information Styles */
.team-details-info {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    padding: 35px;
    margin-top: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--primary-color, #0066cc);
}

.team-details-info:last-child {
    margin-bottom: 40px;
}

/* Headings */
.team-details-info p strong {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a2b49;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--primary-color, #0066cc);
    position: relative;
}

.team-details-info p strong::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--secondary-color, #ff6b6b);
}

.team-details-info > p {
    margin-bottom: 25px;
    line-height: 1.8;
}

/* Lists */
.team-details-info ul {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.team-details-info ul li {
    position: relative;
    padding: 12px 0 12px 35px;
    margin-bottom: 12px;
    color: #495057;
    font-size: 1rem;
    line-height: 1.7;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.team-details-info ul li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* Custom bullet points - Pure CSS Checkmark (No Font Awesome dependency) */
.team-details-info ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, var(--primary-color, #0066cc), var(--secondary-color, #0052a3));
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 102, 204, 0.3);
}

.team-details-info ul li::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 20px;
    width: 4px;
    height: 9px;
    border: solid white;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
    z-index: 1;
}

/* Alternative Font Awesome version (uncomment if you prefer Font Awesome icons) */
/*
.team-details-info ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free', 'FontAwesome';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 12px;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary-color, #0066cc), var(--secondary-color, #0052a3));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.team-details-info ul li::after {
    display: none;
}
*/

/* Nested paragraphs and content */
.team-details-info > *:last-child {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 991px) {
    .team-details-info {
        padding: 25px;
    }

    .team-details-info p strong {
        font-size: 1.3rem;
    }
}

@media (max-width: 767px) {
    .team-details-info {
        padding: 20px;
        border-radius: 8px;
    }

    .team-details-info p strong {
        font-size: 1.2rem;
    }

    .team-details-info ul li {
        padding: 10px 0 10px 30px;
        font-size: 0.95rem;
    }

    .team-details-info ul li::before {
        width: 20px;
        height: 20px;
        top: 12px;
    }

    .team-details-info ul li::after {
        left: 5px;
        top: 17px;
        width: 3.5px;
        height: 8px;
        border-width: 0 2px 2px 0;
    }
}

/* Print styles */
@media print {
    .team-details-info {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
}

/* Enhanced spacing for better readability */
.team-details-info h3,
.team-details-info h4,
.team-details-info h5 {
    color: #1a2b49;
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 600;
}

.team-details-info a {
    color: var(--primary-color, #0066cc);
    text-decoration: none;
}
