        /* Vertical Timeline Styles */
        .timeline-section {
            padding: 60px 0;
            background: #f8f9fa;
        }
        
        .timeline-container {
            max-width: 800px;
            margin: 0 auto;
            padding: 20px;
            position: relative;
        }
        
        /* Vertical Line */
        .timeline-container::before {
            content: '';
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            width: 3px;
            height: 100%;
            background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
            top: 0;
        }
        
        .timeline-item {
            display: flex;
            justify-content: space-between;
            margin-bottom: 50px;
            position: relative;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 0.6s ease forwards;
        }
        
        @keyframes fadeInUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        /* Alternate animation delays */
        .timeline-item:nth-child(1) { animation-delay: 0.1s; }
        .timeline-item:nth-child(2) { animation-delay: 0.2s; }
        .timeline-item:nth-child(3) { animation-delay: 0.3s; }
        .timeline-item:nth-child(4) { animation-delay: 0.4s; }
        .timeline-item:nth-child(5) { animation-delay: 0.5s; }
        .timeline-item:nth-child(6) { animation-delay: 0.6s; }
        
        .timeline-left,
        .timeline-right {
            width: 45%;
            position: relative;
        }
        
        .timeline-left {
            text-align: right;
            padding-right: 40px;
        }
        
        .timeline-right {
            padding-left: 40px;
        }
        
        /* Timeline Dot */
        .timeline-dot {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            width: 20px;
            height: 20px;
            background: #fff;
            border: 3px solid #764ba2;
            border-radius: 50%;
            z-index: 10;
            top: 30px;
            box-shadow: 0 0 0 5px rgba(118, 75, 162, 0.2);
            transition: all 0.3s ease;
        }
        
        .timeline-item:hover .timeline-dot {
            background: #764ba2;
            transform: translateX(-50%) scale(1.2);
        }
        
        /* Card Styles */
        .timeline-card {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            position: relative;
        }
        
        .timeline-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
        }
        
        .card-photo {
            position: relative;
            overflow: hidden;
            background: #f0f0f0;
            text-align: center;
            padding: 10px;
        }
        
        .card-photo img {
            width: 50%;
            height: 50%;
            object-fit: cover;
            border: 4px solid #fff;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            transition: transform 0.3s ease;
        }
        
        .timeline-card:hover .card-photo img {
            transform: scale(1.05);
        }
        
        .card-photo .no-photo {
            width: 180px;
            height: 180px;
            margin: 0 auto;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 70px;
            color: white;
        }
        
        .card-content {
            padding: 10px;
            text-align: center;
        }
        
        .director-name {
            font-size: 1.4rem;
            font-weight: 700;
            color: #333;
            margin: 10px;
        }
        
        .current-badge {
            display: inline-block;
            background: #28a745;
            color: white;
            padding: 3px 12px;
            border-radius: 20px;
            font-size: 0.75rem;
            margin-left: 10px;
            font-weight: normal;
        }
        
                /* Container for inline layout */
        .service-period-container {
            display: flex;
            align-items: center;  /* vertically center both */
            gap: 10px;            /* space between period label and dates */
        }

        /* Existing styles */
        .service-period {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 5px 15px;
            border-radius: 25px;
            font-size: 0.85rem;
            margin-bottom: 0; /* remove bottom margin */
        }

        .service-dates {
            color: #fff;
            font-size: 1.2rem;
            margin-top: 0; /* remove top margin */
        }
        
        /* Arrow connectors */
        .timeline-left .timeline-card::after {
            content: '';
            position: absolute;
            right: -20px;
            top: 30px;
            width: 0;
            height: 0;
            border-top: 10px solid transparent;
            border-bottom: 10px solid transparent;
            border-left: 10px solid white;
        }
        
        .timeline-right .timeline-card::before {
            content: '';
            position: absolute;
            left: -20px;
            top: 30px;
            width: 0;
            height: 0;
            border-top: 10px solid transparent;
            border-bottom: 10px solid transparent;
            border-right: 10px solid white;
        }
        
        /* Responsive Design */
        @media (max-width: 768px) {
            .timeline-container::before {
                left: 30px;
            }
            
            .timeline-item {
                flex-direction: column;
                margin-left: 30px;
            }
            
            .timeline-left,
            .timeline-right {
                width: 100%;
                padding-left: 30px;
                text-align: left;
            }
            
            .timeline-left {
                padding-right: 0;
                margin-bottom: 30px;
            }
            
            .timeline-dot {
                left: 30px;
            }
            
            .timeline-left .timeline-card::after,
            .timeline-right .timeline-card::before {
                display: none;
            }
            
            .card-photo img,
            .card-photo .no-photo {
                width: 120px;
                height: 120px;
            }
        }
        
        /* Empty State */
        .empty-state {
            text-align: center;
            padding: 80px 20px;
            background: white;
            border-radius: 15px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        }
        
        .empty-state i {
            font-size: 64px;
            color: #667eea;
            margin-bottom: 20px;
        }
        
        .empty-state h3 {
            font-size: 24px;
            color: #333;
            margin-bottom: 10px;
        }
        
        .empty-state p {
            color: #666;
        }
        
        /* Loading Animation */
        .timeline-loading {
            text-align: center;
            padding: 50px;
        }
        
        .spinner {
            width: 50px;
            height: 50px;
            border: 3px solid #f3f3f3;
            border-top: 3px solid #764ba2;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto;
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
    