:root {
    --accent-color: #1e4f9e;
    --accent-light: rgba(30, 79, 158, 0.1);
    --text-color: #1d1d1f;
    --light-text: #86868b;
    --white: #ffffff;
    --light-bg: #f5f5f7;
}

.page-hero {
    background-color: var(--light-bg);
    padding: 100px 20px 60px;
    text-align: center;
}

.page-title {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--text-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-subtitle {
    font-size: 20px;
    font-weight: 400;
    color: var(--light-text);
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.5;
}

.section {
    padding: 80px 20px;
}

.section-content {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 40px;
    text-align: center;
}

.section-subtitle {
    font-size: 18px;
    text-align: center;
    color: var(--light-text);
    max-width: 700px;
    margin: -20px auto 50px;
    line-height: 1.6;
}

.accent-bar {
    width: 100px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 0 auto 40px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
}

.team-member {
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    opacity: 0;
    transform: translateY(30px);
}

.team-member.visible {
    opacity: 1;
    transform: translateY(0);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.member-photo {
    height: 300px;
    background-color: #f0f0f0;
    background-size: cover;
    background-position: center;
}

.member-info {
    padding: 25px;
}

.member-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.member-title {
    font-size: 16px;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.member-bio {
    font-size: 15px;
    line-height: 1.5;
    color: var(--light-text);
}

.hours-map-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

.hours-container {
    flex: 1;
    min-width: 300px;
    background-color: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transform: translateX(-50px);
    opacity: 0;
    transition: transform 0.6s, opacity 0.6s;
}

.hours-container.visible {
    transform: translateX(0);
    opacity: 1;
}

.hours-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.hours-table {
    width: 100%;
    border-collapse: collapse;
}

.hours-table tr {
    border-bottom: 1px solid var(--light-bg);
}

.hours-table tr:last-child {
    border-bottom: none;
}

.hours-table td {
    padding: 12px 0;
}

.hours-table td:last-child {
    text-align: right;
    font-weight: 500;
}

.contact-info {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-icon {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    color: var(--accent-color);
}

.contact-text {
    color: var(--text-color);
}

.contact-text a {
    color: inherit;
    text-decoration: none;
}

.map-container {
    flex: 2;
    min-width: 300px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transform: translateX(50px);
    opacity: 0;
    transition: transform 0.6s, opacity 0.6s;
}

.map-container.visible {
    transform: translateX(0);
    opacity: 1;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    font-size: 18px;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 100px auto 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--accent-light);
}

.timeline-item {
    position: relative;
    margin-bottom: 100px;
    opacity: 0;
    transition: opacity 0.8s;
}

.timeline-item.visible {
    opacity: 1;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-content {
    position: relative;
    width: calc(50% - 40px);
    background-color: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-year {
    position: absolute;
    top: 15px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-color);
    background-color: var(--white);
    padding: 5px 10px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline-item:nth-child(odd) .timeline-year {
    left: -80px;
}

.timeline-item:nth-child(even) .timeline-year {
    right: -80px;
}

.timeline-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.timeline-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--light-text);
}

@media (max-width: 768px) {
    .page-title {
        font-size: 36px;
    }

    .section {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 28px;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
    }

    .timeline-item:nth-child(odd) .timeline-year,
    .timeline-item:nth-child(even) .timeline-year {
        left: -40px;
        top: -30px;
    }

    .hours-map-container {
        flex-direction: column;
    }

    .hours-container,
    .map-container {
        transform: translateX(0);
    }
}