/* Page-specific styles for About Us */

/* Page Header */
.page-header {
    background: var(--bg-secondary);
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: clamp(2.25rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* About Intro Section */
.about-intro .content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 3vw, 3rem);
    align-items: center;
}

.about-intro .content-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.about-intro .content-text .lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.about-intro .content-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

/* Foundation Details Section */
.foundation-details {
    background: var(--bg-light);
}

.foundation-details .details-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(1.25rem, 2.5vw, 2rem);
}

.foundation-details .detail-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.foundation-details .detail-card h3 {
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Core Values Section */
.core-values .values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.core-values .value-card {
    background: var(--bg-primary);
    padding: 2.5rem 2rem;
    text-align: center;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.core-values .value-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.core-values .value-card h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* Leadership Section */
.leadership {
    background: var(--bg-secondary);
}

.leadership .leader-profile {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: clamp(1.5rem, 3vw, 3rem);
    align-items: center;
    background: var(--bg-primary);
    padding: clamp(1.25rem, 3vw, 3rem);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.leadership .leader-image img {
    width: 100%;
    display: block;
    border-radius: var(--radius-xl);
    border: 4px solid var(--primary);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

.leadership .leader-info h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.leadership .leader-title {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.leadership .leader-activities ul {
    list-style: disc;
    padding-left: 20px;
}

/* Headquarters & Orphanage Sections */
.headquarters-content,
.orphanage-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 3vw, 3rem);
    align-items: center;
    margin-bottom: clamp(1.5rem, 3vw, 3rem);
}

.headquarters-info h3,
.orphanage-content .content-text h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.headquarters-image img,
.orphanage-content .content-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

/* Video Section */
.video-section {
    margin-top: 4rem;
    text-align: center;
}

.video-section h3 {
    font-size: 1.75rem;
    color: var(--primary);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: var(--radius-lg);
    cursor: pointer;
    margin-top: 1.5rem;
}

.video-container .video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: opacity 0.3s ease;
}

.video-container .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-container .play-button::after {
    content: '▶';
    font-size: 2rem;
    color: white;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-container.loaded .video-thumbnail,
.video-container.loaded .play-button {
    opacity: 0;
    pointer-events: none;
}

.video-container.loaded iframe {
    opacity: 1;
}


/* CTA Section */
.cta-section {
    background: var(--primary);
    color: white;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cta-buttons .btn-secondary {
    background: white;
    color: var(--primary);
    border-color: white;
}

.cta-buttons .btn-secondary:hover {
    background: var(--bg-light);
}


/* Responsive adjustments */
@media (max-width: 992px) {
    .about-intro .content-grid,
    .foundation-details .details-grid,
    .headquarters-content,
    .orphanage-content {
        grid-template-columns: 1fr;
    }

    .about-intro .content-image {
        order: -1;
    }
    
    .leadership .leader-profile {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .leadership .leader-image {
        margin: 0 auto;
        width: 200px;
        height: 200px;
    }
}

/* Ensure any generic responsive image class behaves correctly */
.img-responsive,
img {
    max-width: 100%;
    height: auto;
}
