/* Directors Page Timeline Styles */

.directors-section {
    padding: 60px 0;
    background: linear-gradient(to bottom, #f8fafc 0%, #f0f9ff 100%);
}

.directors-timeline {
    position: relative;
    padding: 40px 0;
}

.directors-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, #3b82f6, #60a5fa, #93c5fd, #dbeafe);
}

.timeline-item {
    margin-bottom: 50px;
    opacity: 0;
    animation: fadeUpTimeline 0.6s ease-out forwards;
}

.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; }

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

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 70px;
    background: white;
    border: 3px solid #3b82f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 0 0 4px #f0f9ff, 0 4px 12px rgba(59, 130, 246, 0.2);
    margin-top: 30px;
    overflow: hidden;
}

.director-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.timeline-dot svg {
    width: 40px;
    height: 40px;
    color: #3b82f6;
}

.director-card {
    padding: 28px 32px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 40px;
    margin-left: 20px;
}

.director-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
}

.director-name {
    font-size: 22px;
    font-weight: 700;
    color: #1e3a8a;
    margin: 0;
    letter-spacing: -0.3px;
}

.director-years {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.director-position {
    font-size: 16px;
    font-weight: 600;
    color: #3b82f6;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.director-info {
    font-size: 15px;
    line-height: 1.6;
    color: #475569;
    margin: 0;
    padding-top: 8px;
    border-top: 1px solid #e2e8f0;
}

.card-photo {
    margin-top: 16px;
    border-radius: 12px;
    overflow: hidden;
    max-height: 300px;
}

.director-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.director-card:hover .director-image {
    transform: scale(1.02);
}

@media (min-width: 768px) {
    .timeline-item:nth-child(odd) .director-card {
        margin-left: auto;
        margin-right: 20px;
        max-width: calc(50% - 50px);
    }

    .timeline-item:nth-child(even) .director-card {
        margin-left: 20px;
        margin-right: auto;
        max-width: calc(50% - 50px);
    }
}

@media (max-width: 768px) {
    .directors-timeline::before {
        left: 35px;
    }

    .timeline-dot {
        left: 35px;
        width: 60px;
        height: 60px;
    }

    .director-card {
        margin-left: 100px;
        margin-right: 0;
    }

    .director-name {
        font-size: 18px;
    }

    .director-position {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .director-name {
        font-size: 16px;
    }

    .director-position {
        font-size: 12px;
    }

    .directors-timeline {
        padding: 20px 0;
    }

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

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
    padding: 60px 40px;
    color: white;
    border-radius: 32px;
}

.cta-section .section-title {
    color: white;
    margin-bottom: 12px;
}

.cta-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 50px;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Fade-up Animation */
.fade-up {
    opacity: 0;
    animation: fadeUp 0.6s ease-out forwards;
}

.fade-up.visible {
    opacity: 1;
}

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

/* Typography */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e3a8a;
    margin: 0 0 16px 0;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Banner Styles */
.hero-banner {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(31, 58, 138, 0.02) 0%, rgba(59, 130, 246, 0.05) 100%);
}

.hero-banner .hero-circle {
    position: absolute;
    border-radius: 50%;
}

.hero-banner .hero-circle-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
}

.hero-banner .hero-circle-2 {
    width: 400px;
    height: 400px;
    bottom: -200px;
    left: -200px;
}

.hero-banner .hero-circle-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
}

.hero-badge {
    color: #1e3a8a;
}

.hero-title {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    color: rgba(30, 58, 138, 0.85);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-banner {
        min-height: 320px;
        padding: 40px 20px;
    }

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

    .hero-description {
        font-size: 1rem;
    }

    .cta-section {
        padding: 40px 20px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .hero-wave,
    .cta-section,
    .timeline-dot {
        display: none;
    }

    .director-card {
        page-break-inside: avoid;
    }
}
