/* --- DIRECTORS PAGE SPECIFIC STYLES --- */

/* Section Layout */
.directors-section {
    padding: 60px 0;
    background-color: #ffffff;
}

/* The Container to prevent wall-to-wall stretching */
.directors-section .container {
    max-width: 90%; /* Limits the width for better readability */
    margin: 0 auto;    /* Centers the entire grid on the page */
    padding: 0 25px;   /* Adds a safety gap for smaller screens */
}

.directors-intro {
    text-align: center;
    max-width: 70%;
    margin: 0 auto 60px;
}

.directors-intro p {
    color: #555;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* The Grid */
.directors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 20px;
}

/* Update the Card to be a simple box */
.director-card {
    display: block;
    background: #fdfdfd;
    border: 1px solid #eee;
    border-top: 4px solid var(--light-green);
    border-radius: 12px;
    padding: 35px; /* Generous internal spacing for the text */
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.director-card:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transform: translateY(-12px);
    border-color: var(--light-green);
}

/* Image Container */
.director-img { 
    display: none; 
}

.director-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Text Container */
.director-info {
    padding: 10px; /* Reduced padding since card has it now */
    text-align: left; /* Keep professional left alignment */
}

.director-info h3 {
    margin-bottom: 2px;
    font-size: 1.6rem;
    color: var(--dark-green);
}

.director-info span {
    display: block;
    color: var(--light-green);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.director-info p {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
    text-align: justify; /* This aligns the text to both left and right edges */
    hyphens: auto; /* Optional: helps avoid big gaps between words */
}

/* --- Responsive Adjustments --- */

@media (max-width: 992px) {
    .directors-grid {
        grid-template-columns: 1fr; /* Stack on tablets */
    }
}

@media (max-width: 600px) {
    .director-card {
        flex-direction: column; /* Image on top for mobile */
    }
    .director-img {
        width: 100%;
        height: 250px;
    }
    .director-info {
        padding: 20px;
        text-align: center;
    }
}

/* Keep the 2-column grid for desktop, it looks best for 4 members */
@media (max-width: 768px) {
    .directors-grid {
        grid-template-columns: 1fr;
    }
}