.celebration-hero {
    position: relative;
    min-height: 500px;
    background: url('../../../assets/images/photos/inicio/img8.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
}

.celebration-hero-content {
    text-align: center;
    color: #ffffff;
    z-index: 2;
    max-width: 550px;
    padding: 28px 32px;
    margin-right: 0;
}

.celebration-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.celebration-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.4;
}

.celebration-content {
    padding: 80px 20px;
    background-color: var(--neutral-100);
}

.celebration-container {
    max-width: 900px;
    margin: 0 auto;
}

.celebration-intro {
    background: #ffffff;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(12, 33, 81, 0.1);
    text-align: center;
    margin-bottom: 60px;
}

.celebration-intro h2 {
    font-size: 2.5rem;
    color: var(--navy-900);
    margin-bottom: 30px;
    font-weight: 700;
}

.celebration-intro p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--neutral-700);
    max-width: 800px;
    margin: 0 auto;
}

/* ============================================
   TIMELINE SECTION
   ============================================ */
.timeline-section {
    padding: 80px 20px;
    background: url('../../../assets/images/photos/Celebracion/Collage.png') center center/cover no-repeat;
    position: relative;
    background-attachment: fixed;
}

.timeline-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.5);
    z-index: 0;
}

.timeline-section > * {
    position: relative;
    z-index: 1;
}

.timeline-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    padding: 60px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #1e3a8a 0%, #3b82f6 50%, #1e3a8a 100%);
    transform: translateX(-50%);
    z-index: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    box-shadow: 0 0 10px rgba(30, 58, 138, 0.3);
}

.timeline-line.animated {
    opacity: 1;
}

.timeline-line::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 12px;
    height: 12px;
    background: #1e3a8a;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 15px rgba(30, 58, 138, 0.5);
}

.timeline-line::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 12px;
    height: 12px;
    background: #1e3a8a;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 15px rgba(30, 58, 138, 0.5);
}

/* Decade Headers */
.decade-header {
    text-align: center;
    margin: 100px 0 60px;
    padding: 40px 20px;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
    z-index: 15;
    background: linear-gradient(180deg, rgba(245, 245, 245, 0.98) 0%, rgba(250, 250, 250, 0.98) 100%);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-left: auto;
    margin-right: auto;
    max-width: 90%;
}

.decade-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.decade-title {
    font-size: 3rem;
    font-weight: 800;
    color: #1e3a8a;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 16;
    padding: 0 20px;
}

.decade-subtitle {
    font-size: 2rem;
    font-weight: 600;
    color: #3b82f6;
    margin-bottom: 8px;
    font-style: italic;
    position: relative;
    z-index: 16;
    padding: 0 20px;
}

.decade-description {
    font-size: 1.2rem;
    color: var(--neutral-600);
    font-style: italic;
    margin-top: 10px;
    position: relative;
    z-index: 16;
    padding: 0 20px;
}

.timeline-item {
    position: relative;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    clear: both;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Desktop layout - alternate sides with proper spacing */
@media (min-width: 969px) {
    .timeline-container {
        padding: 60px 40px;
    }

    .timeline-container > .timeline-item:nth-of-type(odd) .timeline-content {
        margin-left: calc(50% + 80px);
        margin-right: 0;
        text-align: left;
        width: calc(45% - 80px);
        max-width: 500px;
    }

    .timeline-container > .timeline-item:nth-of-type(even) .timeline-content {
        margin-left: 0;
        margin-right: calc(50% + 80px);
        text-align: right;
        width: calc(45% - 80px);
        max-width: 500px;
    }

    .timeline-dot {
        z-index: 10;
    }

    .timeline-content {
        z-index: 5;
        position: relative;
    }

    /* Adjust connecting lines */
    .timeline-container > .timeline-item:nth-of-type(odd)::before {
        left: calc(50% + 40px);
        width: 40px;
    }

    .timeline-container > .timeline-item:nth-of-type(even)::before {
        left: calc(50% - 40px);
        width: 40px;
    }
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 30px;
    width: 28px;
    height: 28px;
    background: #1e3a8a;
    border: 5px solid #ffffff;
    border-radius: 50%;
    transform: translateX(-50%) scale(0);
    z-index: 10;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.4), 0 0 0 8px rgba(59, 130, 246, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.timeline-item.visible .timeline-dot {
    transform: translateX(-50%) scale(1);
    box-shadow: 0 6px 25px rgba(30, 58, 138, 0.6), 0 0 0 12px rgba(59, 130, 246, 0.15);
    animation: dotPulse 2s ease-in-out infinite;
}

.timeline-dot:hover {
    transform: translateX(-50%) scale(1.4) !important;
    box-shadow: 0 8px 30px rgba(30, 58, 138, 0.8), 0 0 0 16px rgba(59, 130, 246, 0.2);
}

@keyframes dotPulse {
    0%, 100% {
        box-shadow: 0 6px 25px rgba(30, 58, 138, 0.6), 0 0 0 12px rgba(59, 130, 246, 0.15);
    }
    50% {
        box-shadow: 0 6px 25px rgba(30, 58, 138, 0.8), 0 0 0 18px rgba(59, 130, 246, 0.1);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 6px 25px rgba(30, 58, 138, 0.6), 0 0 0 12px rgba(59, 130, 246, 0.15);
    }
    50% {
        box-shadow: 0 6px 25px rgba(30, 58, 138, 0.8), 0 0 0 18px rgba(59, 130, 246, 0.1);
    }
}

.timeline-content {
    width: 45%;
    max-width: 550px;
    background: #ffffff;
    padding: 36px 40px 40px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(12, 33, 81, 0.15);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 0;
    z-index: 5;
    border: 2px solid transparent;
}

/* Ensure content doesn't overlap with timeline line on desktop */
@media (min-width: 969px) {
    .timeline-content {
        min-width: 300px;
    }
}

.timeline-item.visible .timeline-content {
    box-shadow: 0 12px 48px rgba(12, 33, 81, 0.2);
    transform: translateY(-2px);
    animation: slideIn 0.6s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(-2px) scale(1);
    }
}

.timeline-content:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 60px rgba(12, 33, 81, 0.3);
    border-color: rgba(30, 58, 138, 0.2);
}

.timeline-content::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 0;
    height: 0;
    border-style: solid;
    transition: all 0.3s ease;
}

.timeline-container > .timeline-item:nth-of-type(odd) .timeline-content::after {
    right: 100%;
    border-width: 12px 15px 12px 0;
    border-color: transparent #ffffff transparent transparent;
    transform: translateY(-50%);
}

.timeline-container > .timeline-item:nth-of-type(even) .timeline-content::after {
    left: 100%;
    border-width: 12px 0 12px 15px;
    border-color: transparent transparent transparent #ffffff;
    transform: translateY(-50%);
}

/* Hide arrows on smaller screens */
@media (max-width: 968px) {
    .timeline-content::after {
        display: none;
    }
}

.timeline-content:hover::after {
    filter: drop-shadow(2px 0 4px rgba(0, 0, 0, 0.1));
}

.timeline-year {
    display: inline-block;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.timeline-year::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.timeline-content:hover .timeline-year::before {
    left: 100%;
}

.timeline-content:hover .timeline-year {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.4);
}

.timeline-title {
    font-size: 1.75rem;
    color: var(--navy-900);
    margin-bottom: 24px;
    font-weight: 700;
    line-height: 1.3;
    position: relative;
    padding-bottom: 12px;
    z-index: 6;
}

.timeline-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #1e3a8a 0%, #3b82f6 100%);
    border-radius: 2px;
}

.timeline-item:nth-of-type(even) .timeline-content .timeline-title::after {
    left: auto;
    right: 0;
}

.timeline-details {
    color: var(--neutral-700);
    line-height: 1.8;
    font-size: 1.05rem;
}

.timeline-details p {
    margin-bottom: 16px;
}

.timeline-details p:last-child {
    margin-bottom: 0;
}

.timeline-details strong {
    color: var(--navy-900);
    font-weight: 700;
}

.projects-list h4 {
    color: var(--navy-900);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.projects-list ul {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.projects-list li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
}

.projects-list li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--navy-900);
    font-weight: bold;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
    border-radius: 12px;
    color: #ffffff;
    transition: transform 0.3s ease;
}

.timeline-item.visible .stat-item {
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: calc(var(--index, 0) * 0.1s);
    opacity: 0;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
    from {
        opacity: 0;
        transform: translateY(20px);
    }
}

.stat-item:hover {
    transform: translateY(-4px);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.missionary-works {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.work-item {
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border-left: 4px solid var(--navy-900);
}

.work-item h4 {
    color: var(--navy-900);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.work-item p {
    color: var(--neutral-700);
    margin: 4px 0;
    font-size: 1rem;
}

.pastors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.pastor-item {
    padding: 16px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    text-align: center;
    color: var(--navy-900);
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.pastor-item:hover {
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
    color: #ffffff;
    transform: translateY(-4px);
    border-color: var(--navy-900);
    box-shadow: 0 4px 12px rgba(12, 33, 81, 0.3);
}

.supervisor-badge,
.worker-badge,
.missionary-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 8px 8px 0 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.supervisor-badge {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: #ffffff;
}

.worker-badge {
    background: linear-gradient(135deg, #50c878 0%, #3da85a 100%);
    color: #ffffff;
}

.missionary-badge {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: #ffffff;
    margin-top: 16px;
    padding: 12px 20px;
    font-size: 0.95rem;
}

/* Baptized List */
.baptized-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin: 20px 0;
}

.baptized-item {
    padding: 14px 18px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid #1e3a8a;
    border-radius: 8px;
    font-weight: 600;
    color: var(--navy-900);
    transition: all 0.3s ease;
}

.baptized-item:hover {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: #ffffff;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

/* Quote Box */
.quote-box {
    margin-top: 24px;
    padding: 24px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border-radius: 12px;
    color: #ffffff;
    text-align: center;
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.3);
}

.quote-box p {
    font-size: 1.2rem;
    font-style: italic;
    font-weight: 500;
    margin: 0;
    line-height: 1.6;
}

.spirit-quote {
    margin-top: 20px;
    padding: 16px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-left: 4px solid #3b82f6;
    border-radius: 8px;
    font-style: italic;
    color: var(--navy-900);
    font-weight: 500;
}

/* Anniversary Logo */
.anniversary-logo {
    margin-top: 30px;
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 20px;
    border: 3px solid #f59e0b;
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.3);
}

.logo-text {
    font-size: 3rem;
    font-weight: 800;
    color: #1e3a8a;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.logo-years {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.logo-motto {
    font-size: 2.5rem;
    font-weight: 900;
    color: #f59e0b;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Timeline Continues Section */
.timeline-continues {
    margin-top: 100px;
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border-radius: 20px;
    color: #ffffff;
    box-shadow: 0 10px 40px rgba(30, 58, 138, 0.4);
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}

.timeline-continues.visible {
    opacity: 1;
    transform: translateY(0);
}

.continues-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-style: italic;
}

.continues-text {
    font-size: 1.3rem;
    margin-bottom: 30px;
    line-height: 1.8;
    font-weight: 400;
}

.bible-verse {
    font-size: 1.1rem;
    font-style: italic;
    margin: 30px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    border-left: 4px solid #ffffff;
    line-height: 1.8;
}

.final-motto {
    margin-top: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.final-motto p {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.timeline-item-final .timeline-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 3px solid #f59e0b;
    box-shadow: 0 12px 50px rgba(245, 158, 11, 0.3);
}

/* Improve spacing and readability */
.timeline-details p {
    text-align: justify;
}

.timeline-item:nth-of-type(even) .timeline-content .timeline-details p {
    text-align: justify;
}

/* Better visual hierarchy with animated border */
.timeline-content::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.1), rgba(59, 130, 246, 0.1));
    border-radius: 18px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.timeline-item.visible .timeline-content::before {
    opacity: 1;
    animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

/* Desktop specific improvements */
@media (min-width: 969px) {
    .timeline-item {
        margin-bottom: 100px;
    }

    .timeline-content {
        min-height: 200px;
    }

    /* Add connecting line animation */
    .timeline-item.visible::before {
        content: '';
        position: absolute;
        left: 50%;
        top: 30px;
        width: 2px;
        height: 0;
        background: linear-gradient(180deg, #3b82f6, #1e3a8a);
        transform: translateX(-50%);
        z-index: 1;
        animation: connectLine 0.8s ease-out forwards;
        animation-delay: 0.3s;
    }

    .timeline-container > .timeline-item:nth-of-type(odd)::before {
        left: calc(50% + 25px);
        transform: translateX(-50%) rotate(45deg);
        width: 50px;
        height: 2px;
    }

    .timeline-container > .timeline-item:nth-of-type(even)::before {
        left: calc(50% - 25px);
        transform: translateX(-50%) rotate(-45deg);
        width: 50px;
        height: 2px;
    }

    @keyframes connectLine {
        to {
            width: 50px;
            height: 2px;
        }
    }
}

@media (min-width: 901px) {
    .celebration-hero-content {
        margin-left: 480px;
        max-width: fit-content;
    }
    
    .celebration-hero-content h1 {
        white-space: nowrap;
    }
    
    .celebration-subtitle {
        text-align: center;
    }
}

@media (max-width: 900px) {
    .celebration-hero {
        min-height: 400px;
        padding: 60px 40px 60px 20px;
        justify-content: flex-end;
    }

    .celebration-hero-content {
        max-width: 45%;
        text-align: center;
        padding: 20px 24px;
        margin-right: 0;
    }

    .celebration-hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 12px;
    }

    .celebration-subtitle {
        font-size: 1.25rem;
    }

    .celebration-content {
        padding: 40px 20px;
    }

    .celebration-text {
        padding: 40px 24px;
    }

    .celebration-text h2 {
        font-size: 2rem;
    }

    .celebration-text p {
        font-size: 1rem;
    }
}

@media (max-width: 640px) {
    .celebration-hero {
        min-height: 350px;
        padding: 40px 24px 40px 16px;
        justify-content: flex-end;
    }

    .celebration-hero-content {
        max-width: 50%;
        text-align: center;
        padding: 16px 18px;
        margin-right: 0;
    }

    .celebration-hero-content h1 {
        font-size: 1.75rem;
        margin-bottom: 10px;
        line-height: 1.2;
    }

    .celebration-subtitle {
        font-size: 1rem;
        line-height: 1.3;
    }

    .celebration-intro {
        padding: 32px 20px;
    }

    .celebration-intro h2 {
        font-size: 1.75rem;
        margin-bottom: 20px;
    }

    .celebration-intro p {
        font-size: 1rem;
    }
}

/* Timeline Responsive Styles */
@media (max-width: 1400px) and (min-width: 969px) {
    .timeline-container {
        max-width: 100%;
        padding: 50px 30px;
    }

    .timeline-container > .timeline-item:nth-of-type(odd) .timeline-content {
        margin-left: calc(50% + 70px);
        width: calc(45% - 70px);
        max-width: 480px;
    }

    .timeline-container > .timeline-item:nth-of-type(even) .timeline-content {
        margin-right: calc(50% + 70px);
        width: calc(45% - 70px);
        max-width: 480px;
    }
}

@media (max-width: 1200px) and (min-width: 969px) {
    .timeline-container {
        padding: 50px 20px;
    }

    .timeline-container > .timeline-item:nth-of-type(odd) .timeline-content {
        margin-left: calc(50% + 60px);
        width: calc(45% - 60px);
        max-width: 450px;
    }

    .timeline-container > .timeline-item:nth-of-type(even) .timeline-content {
        margin-right: calc(50% + 60px);
        width: calc(45% - 60px);
        max-width: 450px;
    }
}

@media (max-width: 968px) {
    .timeline-section {
        padding: 60px 16px;
        background-attachment: scroll;
    }
    
    .timeline-section::before {
        background: rgba(255, 255, 255, 0.6);
    }

    .timeline-container {
        padding: 40px 0;
    }

    .timeline-line {
        left: 30px;
        width: 3px;
    }

    .timeline-line::before,
    .timeline-line::after {
        width: 10px;
        height: 10px;
    }

    .timeline-item {
        margin-bottom: 60px;
    }

    .timeline-item::before {
        display: none;
    }

    .timeline-container > .timeline-item:nth-of-type(odd) .timeline-content,
    .timeline-container > .timeline-item:nth-of-type(even) .timeline-content {
        margin-left: 80px !important;
        margin-right: 0 !important;
        width: calc(100% - 80px) !important;
        text-align: left !important;
        max-width: none;
    }

    .timeline-container > .timeline-item:nth-of-type(odd) .timeline-content::after,
    .timeline-container > .timeline-item:nth-of-type(even) .timeline-content::after {
        display: none;
    }

    .timeline-dot {
        left: 30px;
        width: 24px;
        height: 24px;
        border-width: 4px;
    }

    .timeline-content {
        width: 100%;
        padding: 32px;
    }

    .decade-header {
        margin: 80px 0 50px;
        padding: 35px 20px;
        z-index: 15;
        background: linear-gradient(180deg, rgba(245, 245, 245, 0.98) 0%, rgba(250, 250, 250, 0.98) 100%);
        backdrop-filter: blur(10px);
        border-radius: 20px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        max-width: calc(100% - 140px);
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        position: relative;
        left: 0;
        transform: none;
    }

    .decade-title {
        font-size: 2rem;
        position: relative;
        z-index: 16;
        padding: 0;
        text-align: center;
    }

    .decade-subtitle {
        font-size: 1.5rem;
        position: relative;
        z-index: 16;
        padding: 0;
        text-align: center;
    }

    .decade-description {
        font-size: 1rem;
        position: relative;
        z-index: 16;
        padding: 0;
        text-align: center;
    }

    .baptized-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .pastors-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }

    .logo-text {
        font-size: 2rem;
    }

    .logo-motto {
        font-size: 1.8rem;
        letter-spacing: 3px;
    }

    .continues-title {
        font-size: 2rem;
    }

    .timeline-continues {
        padding: 50px 30px;
        margin-top: 80px;
    }
}

@media (max-width: 768px) {
    .timeline-section {
        padding: 50px 12px;
    }

    .timeline-container {
        padding: 30px 0;
    }

    .timeline-line {
        left: 20px;
        width: 3px;
    }

    .timeline-line::before,
    .timeline-line::after {
        width: 8px;
        height: 8px;
    }

    .timeline-item {
        margin-bottom: 50px;
    }

    .timeline-container > .timeline-item:nth-of-type(odd) .timeline-content,
    .timeline-container > .timeline-item:nth-of-type(even) .timeline-content {
        margin-left: 60px !important;
        margin-right: 0 !important;
        width: calc(100% - 60px) !important;
        text-align: left !important;
    }

    .timeline-dot {
        left: 20px;
        width: 20px;
        height: 20px;
        border-width: 4px;
    }

    .timeline-content {
        padding: 24px 20px;
        border-radius: 12px;
    }

    .timeline-year {
        padding: 8px 18px;
        font-size: 0.9rem;
    }

    .timeline-title {
        font-size: 1.4rem;
        margin-bottom: 18px;
        z-index: 6;
        position: relative;
    }

    .timeline-details {
        font-size: 1rem;
        line-height: 1.7;
    }

    .decade-header {
        margin: 60px 0 40px;
        padding: 30px 15px;
        z-index: 15;
        background: linear-gradient(180deg, rgba(245, 245, 245, 0.98) 0%, rgba(250, 250, 250, 0.98) 100%);
        backdrop-filter: blur(10px);
        border-radius: 16px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        max-width: calc(100% - 100px);
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        position: relative;
        left: 0;
        transform: none;
    }

    .decade-title {
        font-size: 1.6rem;
        letter-spacing: 1px;
        position: relative;
        z-index: 16;
        padding: 0;
        text-align: center;
    }

    .decade-subtitle {
        font-size: 1.3rem;
        position: relative;
        z-index: 16;
        padding: 0;
        text-align: center;
    }

    .decade-description {
        font-size: 0.95rem;
        position: relative;
        z-index: 16;
        padding: 0;
        text-align: center;
    }

    .baptized-list {
        grid-template-columns: 1fr;
        gap: 10px;
        margin: 16px 0;
    }

    .baptized-item {
        padding: 12px 16px;
        font-size: 0.9rem;
    }

    .quote-box {
        padding: 20px;
        margin-top: 20px;
    }

    .quote-box p {
        font-size: 1rem;
    }

    .spirit-quote {
        padding: 14px;
        font-size: 0.95rem;
    }

    .anniversary-logo {
        padding: 30px 20px;
        margin-top: 24px;
    }

    .logo-text {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }

    .logo-years {
        font-size: 1.1rem;
    }

    .logo-motto {
        font-size: 1.4rem;
        letter-spacing: 2px;
    }

    .missionary-badge {
        padding: 10px 16px;
        font-size: 0.85rem;
        margin-top: 12px;
    }

    .timeline-continues {
        padding: 40px 20px;
        margin-top: 60px;
        border-radius: 16px;
    }

    .continues-title {
        font-size: 1.6rem;
        letter-spacing: 1px;
    }

    .continues-text {
        font-size: 1.1rem;
        margin-bottom: 24px;
    }

    .bible-verse {
        font-size: 0.95rem;
        padding: 16px;
        margin: 24px 0;
    }

    .final-motto {
        padding: 20px;
        margin-top: 30px;
    }

    .final-motto p {
        font-size: 1.1rem;
        letter-spacing: 0.5px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-top: 20px;
    }

    .stat-item {
        padding: 16px 12px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .pastors-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .pastor-item {
        padding: 12px;
        font-size: 0.9rem;
    }

    .work-item {
        padding: 16px;
    }

    .work-item h4 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .timeline-section {
        padding: 40px 10px;
    }

    .timeline-container {
        padding: 25px 0;
    }

    .timeline-line {
        left: 15px;
    }

    .timeline-container > .timeline-item:nth-of-type(odd) .timeline-content,
    .timeline-container > .timeline-item:nth-of-type(even) .timeline-content {
        margin-left: 50px !important;
        width: calc(100% - 50px) !important;
    }

    .timeline-dot {
        left: 15px;
        width: 18px;
        height: 18px;
        border-width: 3px;
    }

    .timeline-content {
        padding: 20px 16px;
    }

    .timeline-year {
        padding: 6px 16px;
        font-size: 0.85rem;
    }

    .timeline-title {
        font-size: 1.25rem;
        margin-bottom: 16px;
        z-index: 6;
        position: relative;
    }

    .timeline-details {
        font-size: 0.95rem;
    }

    .decade-header {
        margin: 50px 0 35px;
        padding: 25px 12px;
        z-index: 15;
        background: linear-gradient(180deg, rgba(245, 245, 245, 0.98) 0%, rgba(250, 250, 250, 0.98) 100%);
        backdrop-filter: blur(10px);
        border-radius: 16px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        max-width: calc(100% - 80px);
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        position: relative;
        left: 0;
        transform: none;
    }

    .decade-title {
        font-size: 1.4rem;
        position: relative;
        z-index: 16;
        padding: 0;
        text-align: center;
    }

    .decade-subtitle {
        font-size: 1.1rem;
        position: relative;
        z-index: 16;
        padding: 0;
        text-align: center;
    }

    .decade-description {
        font-size: 0.85rem;
        position: relative;
        z-index: 16;
        padding: 0;
        text-align: center;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .logo-text {
        font-size: 1.5rem;
    }

    .logo-motto {
        font-size: 1.2rem;
    }

    .continues-title {
        font-size: 1.4rem;
    }

    .continues-text {
        font-size: 1rem;
    }
}

