.capella-history-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.capella-history-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.capella-history-hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.capella-history-hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,102,204,0.8), rgba(108,92,231,0.6));
}

.capella-history-hero-content {
    text-align: center;
    color: var(--background-white);
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.capella-history-hero-title {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.capella-history-hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

.capella-history-overview {
    padding: 5rem 0;
    background: var(--background-white);
}

.capella-history-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.capella-history-intro h2 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.capella-history-intro p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-medium);
}

.capella-timeline-detailed {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--text-light), #f8f9fa);
}

.capella-timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.capella-timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-purple));
    transform: translateX(-50%);
    z-index: 1;
}

.capella-timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 6rem;
    position: relative;
    z-index: 2;
}

.capella-timeline-item:nth-child(odd) {
    flex-direction: row;
}

.capella-timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.capella-timeline-year {
    background: var(--accent-gold);
    color: var(--text-dark);
    padding: 1.5rem 2.5rem;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    min-width: 140px;
    text-align: center;
    position: relative;
    z-index: 3;
    box-shadow: var(--shadow-soft);
    border: 4px solid var(--background-white);
}

.capella-timeline-content {
    background: var(--background-white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    margin: 0 3rem;
    flex: 1;
    position: relative;
    border-left: 4px solid var(--primary-color);
}

.capella-timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 0;
    height: 0;
    border: 20px solid transparent;
}

.capella-timeline-item:nth-child(odd) .capella-timeline-content::before {
    right: -40px;
    border-left-color: var(--background-white);
    transform: translateY(-50%);
}

.capella-timeline-item:nth-child(even) .capella-timeline-content::before {
    left: -40px;
    border-right-color: var(--background-white);
    transform: translateY(-50%);
}

.capella-timeline-content h3 {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.capella-timeline-image {
    margin: 1.5rem 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.capella-timeline-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.capella-timeline-content p {
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.capella-timeline-achievements {
    list-style: none;
    padding: 0;
}

.capella-timeline-achievements li {
    background: linear-gradient(135deg, var(--text-light), #f8f9fa);
    padding: 0.75rem 1.5rem;
    margin-bottom: 0.5rem;
    border-radius: 25px;
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    padding-left: 2.5rem;
}

.capella-timeline-achievements li::before {
    content: '✓';
    position: absolute;
    left: 1rem;
    color: var(--secondary-green);
    font-weight: 700;
}

.capella-milestones {
    padding: 5rem 0;
    background: var(--background-white);
}

.capella-milestones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.capella-milestone-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-purple));
    color: var(--background-white);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.capella-milestone-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gold);
}

.capella-milestone-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0,102,204,0.3);
}

.capella-milestone-number {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.capella-milestone-label {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--background-white);
}

.capella-milestone-description {
    font-size: 0.875rem;
    opacity: 0.9;
    line-height: 1.5;
}

.capella-awards-recognition {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--text-light), #f8f9fa);
}

.capella-awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.capella-award-item {
    background: var(--background-white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border-left: 4px solid var(--accent-gold);
}

.capella-award-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

.capella-award-year {
    background: var(--accent-gold);
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.875rem;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.capella-award-content h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.capella-award-content p {
    color: var(--text-medium);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.capella-award-category {
    background: var(--primary-color);
    color: var(--background-white);
    padding: 0.25rem 1rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.capella-leadership-evolution {
    padding: 5rem 0;
    background: var(--background-white);
}

.capella-leadership-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.capella-leadership-item {
    background: var(--background-white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
    position: relative;
}

.capella-leadership-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.capella-leadership-period {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-purple));
    color: var(--background-white);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.875rem;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.capella-leadership-content h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.capella-leadership-content p {
    color: var(--text-medium);
    line-height: 1.6;
}

.capella-future-vision {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-purple));
    color: var(--background-white);
}

.capella-future-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.capella-future-content h2 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--background-white);
}

.capella-future-content p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.6;
}

.capella-future-initiatives {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.capella-future-item {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.capella-future-item h4 {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--background-white);
}

.capella-future-item p {
    font-size: 0.875rem;
    opacity: 0.9;
    line-height: 1.5;
    margin: 0;
}

.capella-contact-cta {
    padding: 5rem 0;
    background: var(--text-light);
    text-align: center;
}

.capella-cta-content h2 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.capella-cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--text-medium);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.capella-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .capella-history-hero-title {
        font-size: 2.25rem;
    }
    
    .capella-history-hero-subtitle {
        font-size: 1.125rem;
    }
    
    .capella-history-intro h2 {
        font-size: 2rem;
    }
    
    .capella-timeline-container::before {
        left: 2rem;
    }
    
    .capella-timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: 4rem;
    }
    
    .capella-timeline-year {
        position: absolute;
        left: 0;
        transform: translateX(-50%);
        z-index: 3;
        font-size: 1.25rem;
        padding: 1rem 2rem;
        min-width: 120px;
    }
    
    .capella-timeline-content {
        margin: 0;
        margin-top: 2rem;
        padding: 2rem;
    }
    
    .capella-timeline-content::before {
        display: none;
    }
    
    .capella-timeline-image img {
        height: 200px;
    }
    
    .capella-milestones-grid,
    .capella-awards-grid,
    .capella-leadership-timeline,
    .capella-future-initiatives {
        grid-template-columns: 1fr;
    }
    
    .capella-future-content h2 {
        font-size: 2rem;
    }
    
    .capella-cta-content h2 {
        font-size: 2rem;
    }
    
    .capella-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .capella-history-hero-title {
        font-size: 1.875rem;
    }
    
    .capella-history-hero-subtitle {
        font-size: 1rem;
    }
    
    .capella-history-intro h2 {
        font-size: 1.75rem;
    }
    
    .capella-timeline-item {
        padding-left: 3rem;
    }
    
    .capella-timeline-year {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
        min-width: 100px;
    }
    
    .capella-timeline-content {
        padding: 1.5rem;
    }
    
    .capella-timeline-content h3 {
        font-size: 1.5rem;
    }
    
    .capella-milestone-card {
        padding: 2rem 1.5rem;
    }
    
    .capella-milestone-number {
        font-size: 2.5rem;
    }
    
    .capella-future-content h2 {
        font-size: 1.75rem;
    }
    
    .capella-cta-content h2 {
        font-size: 1.75rem;
    }
    
    .capella-cta-content p {
        font-size: 1.125rem;
    }
}
