/* Directors Page Modern Styles */

/* Directors Section */
.directors-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
    position: relative;
}

.directors-section h2 {
    font-size: 42px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 50px;
    line-height: 1.2;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Director Card */
.director-card {
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.director-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 1;
}

.director-card:hover::before {
    transform: scaleX(1);
}

.director-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}

.director-card img {
    border-radius: 0;
    height: 320px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.4s ease, filter 0.4s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.director-card:hover img {
    transform: scale(1.05);
    filter: brightness(1.05);
}

.director-card .card-body {
    padding: 25px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
}

.director-card .card-title {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.director-card:hover .card-title {
    color: #667eea;
}

.director-card .text-muted {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Modal Styling */
.modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    padding: 25px 30px;
    border-bottom: none;
}

.modal-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.btn-close:hover {
    opacity: 1;
}

.modal-body {
    padding: 30px;
    color: #2c3e50;
}

.modal-body img {
    border-radius: 16px;
    object-fit: cover;
    width: 100%;
    max-height: 350px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.modal-body img:hover {
    transform: scale(1.02);
}

.modal-body p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in-up-delay-1 {
    animation-delay: 0.1s;
}

.fade-in-up-delay-2 {
    animation-delay: 0.2s;
}

.fade-in-up-delay-3 {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 991px) {
    .directors-section {
        padding: 60px 0;
    }

    .directors-section h2 {
        font-size: 36px;
        margin-bottom: 40px;
    }

    .director-card img {
        height: 280px;
    }
}

@media (max-width: 767px) {
    .directors-section {
        padding: 50px 0;
    }

    .directors-section h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .director-card img {
        height: 250px;
    }

    .modal-body {
        padding: 20px;
    }

    .modal-body .row {
        flex-direction: column;
    }

    .modal-body .col-md-5 {
        margin-bottom: 20px;
    }

    .modal-title {
        font-size: 20px;
    }
}


