/* Leadership & Service Page Specific Styles */

/* Leadership Section */
.leadership-section {
    padding: 3rem 0;
}

.content-section {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 3rem 0 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--primary);
}

.section-title:first-child {
    margin-top: 0;
}

/* Leadership List Container */
.leadership-list {
    position: relative;
    background-color: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    overflow: hidden;
}

/* Leadership Items - Compact List Style */
.leadership-item {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    padding: 0.875rem 1rem;
    margin-bottom: 0;
    transition: none;
    position: relative;
}

.leadership-item:nth-child(even) {
    background-color: var(--bg-light);
}

.leadership-item:last-child {
    border-bottom: none;
}

.leadership-item.leadership-item-hidden {
    display: none;
}

.leadership-header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.leadership-header h3 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.4;
    flex: 1;
    min-width: 200px;
}

.leadership-details {
    font-size: 0.875rem;
    color: var(--text-medium);
    line-height: 1.5;
    margin: 0;
    padding-left: 0.25rem;
}

.leadership-details+.leadership-details {
    margin-top: 0.5rem;
    padding-left: 0.25rem;
}

/* Dropdown Sections */
.dropdown-section {
    margin-bottom: 1rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    overflow: hidden;
    background-color: var(--bg-white);
}

.dropdown-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background-color: var(--bg-light);
    border: none;
    border-radius: 0;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: left;
    transition: background-color 0.2s ease;
}

.dropdown-toggle:hover {
    background-color: var(--border);
}

.dropdown-icon {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
    color: var(--text-medium);
}

.dropdown-section.active .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: var(--bg-white);
}

.dropdown-section.active .dropdown-content {
    max-height: 1000px;
}

.dropdown-content .service-list {
    padding: 1rem 1.25rem 1.25rem;
    margin: 0;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    font-size: 0.9375rem;
    color: var(--text-medium);
    line-height: 1.8;
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-dark);
    font-weight: bold;
}

/* View More Button */
.view-more-btn {
    display: block;
    margin: 1.5rem auto 0;
    padding: 0.75rem 2rem;
    background-color: var(--primary);
    color: var(--text-dark);
    border: 2px solid var(--primary);
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-more-btn:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(240, 238, 115, 0.4);
}

.view-more-btn:active {
    transform: translateY(0);
}

[data-theme="dark"] .view-more-btn {
    color: #000000;
}

/* Experience Links */
.experience-link {
    display: inline-block;
    margin-left: 0.375rem;
    padding: 0.25rem 0.625rem;
    background-color: var(--primary);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 0.25rem;
    font-size: 0.8125rem;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.experience-link:hover:not(.disabled):not(.placeholder) {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
}

.experience-link.placeholder {
    background-color: var(--primary);
    border: 2px dashed var(--primary-dark);
    cursor: pointer;
    opacity: 1;
    font-weight: 600;
}

[data-theme="dark"] .experience-link {
    color: #000000;
}

[data-theme="dark"] .experience-link.placeholder {
    background-color: var(--primary);
    border-color: var(--primary-dark);
    color: #000000;
}

/* Tab Navigation */
.tab-nav {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border);
    position: sticky;
    top: 61px;
    background-color: var(--bg-white);
    z-index: 999;
    padding-top: 0.5rem;
    justify-content: center;
    transition: all 0.3s ease;
}

/* Mobile spacing for sticky tabs */

@media (max-width: 768px) {
    .tab-nav {
        top: 53px;
        padding-top: 1rem;
    }
}

.tab-nav.stuck {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tab-btn {
    background: none;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-medium);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.tab-btn:hover {
    color: var(--primary-dark);
}

[data-theme="dark"] .tab-btn:hover {
    color: var(--primary);
}

.tab-btn.active {
    color: var(--text-dark);
    border-bottom-color: var(--primary);
}

[data-theme="dark"] .tab-btn.active {
    color: var(--text-dark);
}

/* Tab Content */
.tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 640px) {
    .leadership-section {
        padding: 2rem 0;
    }

    .section-title {
        font-size: 1.5rem;
        margin: 2rem 0 1.5rem;
    }

    .leadership-item {
        padding: 0.75rem 0.875rem 0.75rem 1rem;
    }

    .leadership-header h3 {
        font-size: 0.875rem;
        min-width: 100%;
    }

    .leadership-details {
        font-size: 0.8125rem;
    }
}