/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 80px 0 60px;
    text-align: center;
    color: var(--light-color);
    margin-bottom: 0;
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
}

.page-subtitle {
    font-size: 20px;
    font-weight: 300;
    opacity: 0.95;
}

/* Content Sections */
.mission-section,
.history-section {
    padding: 80px 0;
}

.history-section {
    background: var(--light-gray);
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.content-wrapper.reverse {
    direction: rtl;
}

.content-wrapper.reverse > * {
    direction: ltr;
}

.content-text {
    padding: 20px 0;
}

.content-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 24px;
}

.content-paragraph {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-color);
    margin-bottom: 20px;
}

.content-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

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

/* Timeline */
.timeline {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.timeline-item {
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: 20px;
    background: var(--light-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.timeline-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.timeline-year {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.timeline-desc {
    font-size: 14px;
    color: var(--gray-color);
}

/* Values Section */
.values-section {
    padding: 80px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.value-card {
    background: var(--light-color);
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.value-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--light-color);
}

.value-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark-color);
}

.value-description {
    font-size: 15px;
    color: var(--gray-color);
    line-height: 1.6;
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.team-card {
    background: var(--light-color);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.team-image {
    width: 100%;
    height: 320px;
    overflow: hidden;
}

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

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-info {
    padding: 24px;
    text-align: center;
}

.team-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.team-position {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 12px;
}

.team-description {
    font-size: 14px;
    color: var(--gray-color);
    line-height: 1.6;
}

/* Resources Page */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.resource-card {
    background: var(--light-color);
    border-radius: var(--radius);
    padding: 40px 32px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

.resource-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--secondary-color);
}

.resource-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.resource-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--light-color);
    flex-shrink: 0;
}

.resource-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--dark-color);
}

.resource-description {
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-color);
    margin-bottom: 20px;
}

.resource-features {
    list-style: none;
    margin-bottom: 24px;
}

.resource-features li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    font-size: 15px;
    color: var(--gray-color);
}

.resource-features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* Blog Page */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px;
}

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

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

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

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

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

.blog-content {
    padding: 28px;
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--gray-color);
}

.blog-meta i {
    margin-right: 6px;
    color: var(--primary-color);
}

.blog-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 16px;
    line-height: 1.4;
}

.blog-excerpt {
    font-size: 15px;
    color: var(--gray-color);
    line-height: 1.7;
    margin-bottom: 20px;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.blog-link:hover {
    color: var(--secondary-color);
    gap: 12px;
}

/* Blog Article Page */
.article-header {
    background: var(--light-gray);
    padding: 60px 0 40px;
    text-align: center;
}

.article-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 15px;
    color: var(--gray-color);
}

.article-meta i {
    margin-right: 8px;
    color: var(--primary-color);
}

.article-content {
    padding: 60px 0;
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
}

.article-image {
    width: 100%;
    height: 450px;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: var(--shadow-md);
}

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

.article-body h2 {
    font-size: 32px;
    font-weight: 600;
    color: var(--dark-color);
    margin-top: 40px;
    margin-bottom: 20px;
}

.article-body h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--dark-color);
    margin-top: 32px;
    margin-bottom: 16px;
}

.article-body p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--gray-color);
    margin-bottom: 20px;
}

.article-body ul,
.article-body ol {
    margin: 24px 0;
    padding-left: 24px;
}

.article-body li {
    font-size: 17px;
    line-height: 1.8;
    color: var(--gray-color);
    margin-bottom: 12px;
}

.article-body blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 20px 28px;
    margin: 32px 0;
    background: var(--light-gray);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
}

/* Contact Page */
.contact-section {
    padding: 80px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    padding: 20px 0;
}

.contact-info h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 24px;
}

.contact-info p {
    font-size: 16px;
    color: var(--gray-color);
    line-height: 1.7;
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-item-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    font-size: 20px;
    flex-shrink: 0;
}

.contact-item-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 6px;
}

.contact-item-content p {
    font-size: 15px;
    color: var(--gray-color);
    margin: 0;
}

.contact-form {
    background: var(--light-gray);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    font-family: var(--font-primary);
    transition: var(--transition);
    background: var(--light-color);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 175, 239, 0.1);
}

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

.form-button {
    width: 100%;
    padding: 16px;
    background: var(--accent-color);
    color: var(--light-color);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.form-button:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.map-section {
    padding: 0;
    margin-top: 60px;
}

.map-container {
    width: 100%;
    height: 450px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Legal Pages */
.legal-content {
    padding: 60px 0;
}

.legal-body {
    max-width: 900px;
    margin: 0 auto;
}

.legal-body h2 {
    font-size: 28px;
    font-weight: 600;
    color: var(--dark-color);
    margin-top: 40px;
    margin-bottom: 20px;
}

.legal-body h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--dark-color);
    margin-top: 32px;
    margin-bottom: 16px;
}

.legal-body p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-color);
    margin-bottom: 20px;
}

.legal-body ul {
    margin: 20px 0;
    padding-left: 28px;
}

.legal-body li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-color);
    margin-bottom: 12px;
}

/* FAQ Page */
.faq-section {
    padding: 80px 0;
}

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

.faq-item {
    background: var(--light-color);
    border-radius: var(--radius);
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 24px 28px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-color);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-icon {
    font-size: 20px;
    color: var(--primary-color);
    transition: var(--transition);
}

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

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

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

.faq-answer-content {
    padding: 0 28px 24px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-color);
}

/* Responsive Design for Pages */
@media (max-width: 768px) {
    .page-title {
        font-size: 36px;
    }
    
    .content-wrapper,
    .content-wrapper.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
        direction: ltr;
    }
    
    .content-title {
        font-size: 28px;
    }
    
    .timeline {
        flex-direction: column;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .article-title {
        font-size: 32px;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 12px;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form {
        padding: 28px;
    }
    
    .map-container {
        height: 350px;
    }
}