/* Experts Page Styles */

.page-header {
    padding: 13rem 0 4rem;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--text-light);
    text-align: center;
    margin-top: 0;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-header p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
}

.experts-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.expert-profile {
    background: var(--text-light);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 3rem;
    overflow: hidden;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 0;
}

.expert-photo {
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.expert-photo img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.expert-info {
    padding: 2.5rem;
}

.expert-name {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.expert-title {
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.expert-contact {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #e8a854 100%);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(223, 150, 58, 0.3);
}

.contact-link svg {
    flex-shrink: 0;
}

.expert-experience {
    margin-bottom: 2rem;
}

.expert-summary {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
    padding: 0;
}

.expert-experience h3,
.expert-capabilities h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.expert-experience p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.expert-experience ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.expert-experience ul li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    color: #555;
    font-size: 1.05rem;
}

.expert-experience ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Company List - Work History */
.company-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.company-list li {
    padding: 0.75rem 0 0.75rem 1.8rem;
    position: relative;
    color: #555;
    font-size: 1.05rem;
    line-height: 1.6;
}

.company-list li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.company-list li strong {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Experience Table */
.experience-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 0.95rem;
}

.experience-table thead {
    background: rgba(223, 150, 58, 0.08);
    border-bottom: 2px solid rgba(223, 150, 58, 0.2);
}

.experience-table th {
    padding: 0.6rem 0.75rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.experience-table tbody tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: background-color 0.2s ease;
}

.experience-table tbody tr:hover {
    background-color: rgba(223, 150, 58, 0.03);
}

.experience-table tbody tr:last-child {
    border-bottom: none;
}

.experience-table td {
    padding: 0.65rem 0.75rem;
    color: #666;
    line-height: 1.5;
}

.experience-table td:first-child {
    font-weight: 600;
    color: var(--secondary-color);
}

.experience-table td:last-child {
    color: #888;
    font-size: 0.88rem;
    white-space: nowrap;
}

/* Stats and Certifications Section */
.expert-stats {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(223, 150, 58, 0.05) 0%, rgba(85, 86, 88, 0.05) 100%);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.expert-stats h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.expert-stats ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.expert-stats ul li {
    padding: 0.6rem 0 0.6rem 1.8rem;
    position: relative;
    color: #555;
    font-size: 1.05rem;
    line-height: 1.7;
}

.expert-stats ul li::before {
    content: "★";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.expert-capabilities {
    margin-top: 2rem;
}

.expert-capabilities h3 {
    margin-top: 1.5rem;
}

.capability-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.capability-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.capability-tag.expert {
    background: var(--primary-color);
    color: var(--text-light);
}

.capability-tag.advanced {
    background: var(--secondary-color);
    color: var(--text-light);
}

.capability-tag.intermediate {
    background: var(--bg-light);
    color: var(--text-dark);
    border: 2px solid var(--primary-color);
}

.capability-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Capability Matrix Section */
.capability-matrix-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(223, 150, 58, 0.03) 0%, rgba(85, 86, 88, 0.03) 100%);
    border-top: 1px solid rgba(223, 150, 58, 0.2);
}

.matrix-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.matrix-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.capability-matrix {
    max-width: 900px;
    margin: 0 auto;
}

.matrix-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    align-items: center;
    padding: 1.5rem 2rem;
    margin-bottom: 1rem;
    background: var(--text-light);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.matrix-row:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.publisher-name h3 {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin: 0;
    font-weight: 600;
}

.expertise-icons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.person-icon {
    width: 36px;
    height: 36px;
    transition: transform 0.2s ease;
}

.person-icon:hover {
    transform: scale(1.1);
}

.person-icon.expert {
    color: var(--primary-color);
}

.person-icon.advanced {
    color: var(--secondary-color);
}

.person-icon.intermediate {
    color: #ccc;
}

.expertise-label {
    margin-left: 1rem;
    font-size: 0.95rem;
    color: #666;
    font-weight: 500;
}

/* Matrix Legend */
.matrix-legend {
    max-width: 900px;
    margin: 3rem auto 0;
    padding: 2rem;
    background: var(--text-light);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.matrix-legend h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.legend-items {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.legend-item .person-icon {
    width: 32px;
    height: 32px;
}

.legend-item span {
    font-size: 1rem;
    color: #555;
    font-weight: 500;
}

/* Active navigation link */
.nav-menu a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-menu a.active::after {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 968px) {
    .expert-profile {
        grid-template-columns: 1fr;
    }
    
    .expert-photo {
        padding: 2rem;
    }
    
    .expert-photo img {
        max-width: 300px;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .page-header p {
        font-size: 1.1rem;
    }
    
    .matrix-row {
        grid-template-columns: 150px 1fr;
        padding: 1.25rem 1.5rem;
    }
    
    .publisher-name h3 {
        font-size: 1.2rem;
    }
    
    .person-icon {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 8rem 0 3rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .expert-info {
        padding: 1.5rem;
    }
    
    .expert-name {
        font-size: 1.8rem;
    }
    
    .expert-title {
        font-size: 1.1rem;
    }
    
    .expert-contact {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .contact-link {
        justify-content: center;
        width: 100%;
        font-size: 0.9rem;
        padding: 0.7rem 1rem;
    }
    
    .capability-tag {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
    
    /* Responsive table for mobile */
    .experience-table {
        font-size: 0.85rem;
    }
    
    .experience-table th,
    .experience-table td {
        padding: 0.5rem 0.4rem;
    }
    
    .experience-table th {
        font-size: 0.75rem;
    }
    
    .experience-table td:last-child {
        font-size: 0.8rem;
    }
    
    /* Capability Matrix Mobile */
    .matrix-title {
        font-size: 1.8rem;
    }
    
    .matrix-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .matrix-row {
        grid-template-columns: 1fr;
        padding: 1.25rem;
        gap: 1rem;
    }
    
    .publisher-name h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    .person-icon {
        width: 28px;
        height: 28px;
    }
    
    .expertise-label {
        font-size: 0.85rem;
        margin-left: 0.5rem;
    }
    
    .matrix-legend {
        padding: 1.5rem;
    }
    
    .legend-items {
        gap: 1.5rem;
    }
    
    .legend-item .person-icon {
        width: 28px;
        height: 28px;
    }
    
    .legend-item span {
        font-size: 0.9rem;
    }
}
