/* Life Plan Page Specific Styles */

/* Timeline styles */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline .card {
    background: rgba(26, 31, 58, 0.95);
    border: 1px solid rgba(0, 212, 255, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.timeline .card-body {
    background: rgba(26, 31, 58, 0.95);
}

.timeline .card h3 {
    color: var(--moon-accent);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 700;
}

.timeline .card p {
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    font-weight: 500;
}

.timeline .card ul li {
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    font-weight: 500;
}

/* Economic Activities headings */
.timeline .card h5 {
    color: var(--moon-gold);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 700;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

/* Section 4 Year headings */
.card h4 {
    color: var(--moon-accent);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 700;
    margin-bottom: 1rem;
}

/* All card headings for better visibility */
.card h3, .card h4, .card h5 {
    color: var(--moon-accent);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 700;
}

/* Ensure all text in cards is visible */
.card p {
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    font-weight: 500;
}

.card ul li {
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    font-weight: 500;
}

.card strong {
    color: var(--moon-gold);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    font-weight: 600;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--moon-accent), var(--moon-gold));
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding-left: 80px;
}

.timeline-marker {
    position: absolute;
    left: 20px;
    top: 20px;
    width: 20px;
    height: 20px;
    background: var(--moon-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 12px;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* Responsive adjustments for timeline */
@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        padding-left: 60px;
    }
    
    .timeline-marker {
        left: 10px;
        width: 18px;
        height: 18px;
        font-size: 10px;
    }
}
