/* About CSS Page Specific Styles */

/* About Section */
.about-section {
    padding: 4rem 0;
    background-color: #ffffff;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-text h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #FF6B00;
    margin-bottom: 1.5rem;
    text-align: center;
}

.about-text p {
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Expandable Text - Hidden on Mobile */
.expandable-text {
    display: block;
}

.view-more-btn {
    display: none;
    margin: 1rem auto 0;
    padding: 0.75rem 2rem;
    background-color: #FF6B00;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.view-more-btn:hover {
    background-color: #e55f00;
}

/* Vision Mission Section */
.vision-mission {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    margin-top: 3rem;
    position: relative;
}

.vision-mission::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    height: 60%;
    width: 1px;
    background-color: #d1d5db;
}

.vision, .mission {
    padding: 2rem;
}

.vision {
    padding-right: 2.5rem;
}

.mission {
    padding-left: 2.5rem;
}

.vision h3, .mission h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #FF6B00;
    margin-bottom: 1rem;
    text-align: center;
    padding-bottom: 1rem;
    position: relative;
}

.vision h3::after, .mission h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 1px;
    background-color: #d1d5db;
}

.vision p, .mission p {
    color: #4b5563;
    line-height: 1.8;
    text-align: center;
    margin-top: 1.5rem;
}

/* Director Message Section */
.director-message-section {
    padding: 4rem 0;
    background-color: #f9fafb;
}

.director-message {
    display: grid;
    grid-template-columns: 1fr 380px;
    grid-template-rows: auto auto;
    gap: 1.5rem 3rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}

.director-title {
    grid-column: 1 / 2;
    grid-row: 1;
}

.director-text {
    grid-column: 1 / 2;
    grid-row: 2;
}

.director-photo {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    margin-top: 2rem;
}

.director-photo img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    object-fit: cover;
    object-position: center center;
}

.director-title h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #FF6B00;
    margin-bottom: 0.5rem;
}

.director-text h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #FF6B00;
    margin-bottom: 0.5rem;
}

.director-text p {
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Team Section on About Page */
.team-section {
    padding: 4rem 0;
    background-color: #ffffff;
}

.team-section h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #FF6B00;
    text-align: center;
    margin-bottom: 1rem;
}

.team-section > .container > p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #4b5563;
    line-height: 1.8;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto 2rem;
}

.team-member {
    text-align: center;
}

.team-member img {
    width: 100%;
    max-width: 200px;
    height: 200px;
    object-fit: cover;
    object-position: center center;
    margin: 0 auto 1rem;
    display: block;
    border: 1px solid #d1d5db;
}

.team-member h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #FF6B00;
    margin-bottom: 0.5rem;
}

.team-member p {
    color: #6b7280;
    font-size: 0.95rem;
}

.view-all-btn {
    text-align: center;
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-section {
        padding: 3rem 0;
    }

    .about-text h2 {
        font-size: 1.75rem;
        padding: 0 15px;
    }

    .about-text p {
        padding: 0 15px;
        font-size: 0.95rem;
    }

    /* Hide expandable text on mobile by default */
    .expandable-text {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .expandable-text.expanded {
        max-height: 1000px;
        transition: max-height 0.5s ease;
    }

    /* Show View More button on mobile */
    .view-more-btn {
        display: block;
    }

    .vision-mission {
        grid-template-columns: 1fr;
        margin-top: 2rem;
    }

    .vision-mission::before {
        display: none;
    }

    .vision, .mission {
        padding: 1.5rem;
    }

    .director-message-section {
        padding: 3rem 0;
    }

    .director-message {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        text-align: center;
        gap: 1.5rem;
    }

    .director-title,
    .director-text,
    .director-photo {
        grid-column: 1;
        grid-row: auto;
    }

    .director-photo {
        margin-top: 0;
    }

    .director-photo img {
        max-width: 300px;
        margin: 0 auto;
    }

    .director-title h2 {
        font-size: 1.5rem;
    }

    .director-text h3 {
        font-size: 1.15rem;
    }

    .director-text p {
        font-size: 0.95rem;
        padding: 0 15px;
    }

    .team-section {
        padding: 3rem 0;
    }

    .team-section h2 {
        font-size: 1.75rem;
        padding: 0 15px;
    }

    .team-section > .container > p {
        padding: 0 15px;
        font-size: 0.95rem;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .team-member h3 {
        font-size: 1rem;
    }

    .team-member p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 2.5rem 0;
    }

    .about-text h2 {
        font-size: 1.5rem;
    }

    .about-text p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .vision h3, .mission h3 {
        font-size: 1.25rem;
    }

    .vision p, .mission p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .director-message-section {
        padding: 2.5rem 0;
    }

    .director-title h2 {
        font-size: 1.35rem;
    }

    .director-text h3 {
        font-size: 1.05rem;
    }

    .director-text p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .director-photo img {
        max-width: 250px;
    }

    .team-section {
        padding: 2.5rem 0;
    }

    .team-section h2 {
        font-size: 1.5rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .team-member img {
        max-width: 180px;
        height: 180px;
    }

    .team-member h3 {
        font-size: 0.95rem;
    }

    .team-member p {
        font-size: 0.85rem;
    }
}
