/* ========================================
   Page Header
   ======================================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 5rem 0 3rem;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.25rem;
    font-weight: 300;
    opacity: 0.95;
}

/* ========================================
   Story Section
   ======================================== */
.story {
    padding: 5rem 0;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.story-content h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.story-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.story-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    width: 100%;
}

/* ========================================
   Mission & Vision
   ======================================== */
.mission-vision {
    background-color: var(--bg-light);
    padding: 5rem 0;
}

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

.mv-card {
    background-color: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
}

.mv-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    color: var(--white);
    font-size: 2rem;
}

.mv-card h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.mv-card p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-light);
}

/* ========================================
   Team Section
   ======================================== */
.team {
    padding: 5rem 0;
}

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

.team-member {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    text-align: center;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.member-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 1.5rem 1rem 0.5rem;
}

.member-role {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.member-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 0 1.5rem 1.5rem;
}

/* ========================================
   Values Detail Section
   ======================================== */
.values-detail {
    background-color: var(--bg-light);
    padding: 5rem 0;
}

.values-list {
    max-width: 900px;
    margin: 0 auto;
}

.value-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    align-items: flex-start;
}

.value-number {
    font-size: 3rem;
    font-weight: 600;
    color: var(--primary-color);
    opacity: 0.3;
    flex-shrink: 0;
}

.value-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.value-content i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.value-content p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-light);
}

/* ========================================
   Achievements Section
   ======================================== */
.achievements {
    padding: 5rem 0;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.achievement-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.achievement-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.achievement-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.achievement-card p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* ========================================
   Resources/Programs Section
   ======================================== */
.programs {
    padding: 5rem 0;
}

.program-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.program-card:hover {
    box-shadow: var(--box-shadow-hover);
}

.program-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.program-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
}

.program-header h3 {
    font-size: 1.75rem;
    font-weight: 600;
}

.program-body {
    padding: 2rem;
}

.program-body p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.program-features {
    margin-top: 1.5rem;
}

.program-features h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.program-features ul {
    list-style: none;
}

.program-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.program-features i {
    color: var(--primary-color);
    font-size: 1.125rem;
}

/* ========================================
   Blog Section
   ======================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.blog-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.blog-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 2rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.blog-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.blog-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.blog-link {
    color: var(--primary-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-link:hover {
    color: var(--primary-dark);
}

/* ========================================
   Blog Article Page
   ======================================== */
.article-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 3rem 0;
}

.article-meta-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.article-meta-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 20px;
}

.article-image {
    width: 100%;
    margin: 2rem 0;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.article-text {
    font-size: 1.125rem;
    line-height: 1.9;
    color: var(--text-dark);
}

.article-text h2 {
    font-size: 2rem;
    font-weight: 600;
    margin: 2.5rem 0 1.5rem;
    color: var(--text-dark);
}

.article-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: var(--text-dark);
}

.article-text p {
    margin-bottom: 1.5rem;
}

.article-text ul,
.article-text ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-text li {
    margin-bottom: 0.75rem;
}

.article-text blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-light);
}

/* ========================================
   Contact Page
   ======================================== */
.contact-section {
    padding: 5rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    background-color: var(--bg-light);
    padding: 2.5rem;
    border-radius: var(--border-radius);
}

.contact-info h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.contact-item-content h4 {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.contact-item-content p {
    color: var(--text-light);
}

.contact-hours h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem;
    background-color: var(--white);
    border-radius: 8px;
}

.hours-item strong {
    color: var(--text-dark);
}

.hours-item span {
    color: var(--text-light);
}

.contact-form-wrapper {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-form-wrapper h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-map {
    margin-top: 3rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.contact-map iframe {
    width: 100%;
    height: 450px;
    border: none;
}

/* ========================================
   FAQ Page
   ======================================== */
.faq-section {
    padding: 5rem 0;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    margin-bottom: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: var(--bg-light);
}

.faq-question h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
}

.faq-question i {
    color: var(--primary-color);
    font-size: 1.25rem;
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* ========================================
   Legal Pages
   ======================================== */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 20px;
}

.legal-content h2 {
    font-size: 2rem;
    font-weight: 600;
    margin: 2.5rem 0 1.5rem;
    color: var(--text-dark);
}

.legal-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: var(--text-dark);
}

.legal-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.legal-content ul,
.legal-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.legal-content li {
    margin-bottom: 0.75rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ========================================
   Responsive Design - Pages
   ======================================== */

/* Tablet */
@media (max-width: 992px) {
    .page-header h1 {
        font-size: 2.5rem;
    }

    .story-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .mv-grid {
        grid-template-columns: 1fr;
    }

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

    .value-item {
        flex-direction: column;
        text-align: center;
    }

    .value-number {
        margin-bottom: 1rem;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

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

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .article-meta-info {
        flex-direction: column;
        gap: 0.5rem;
    }

    .contact-form-wrapper,
    .contact-info {
        padding: 1.5rem;
    }
}