/* ========================
   QazaqNews - Pages Styles
   ======================== */

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

.page-header h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    font-weight: 300;
    margin: 0 auto;
}

/* Mission Section */
.mission-section {
    padding: 80px 0;
    background: var(--bg-white);
}

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

.section-label {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(45, 106, 79, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.mission-text h2 {
    font-size: 36px;
    margin-bottom: 25px;
    color: var(--text-color);
}

.mission-text p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.mission-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 12px;
}

.stat-item h3 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

.mission-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

/* Values Section */
.values-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.section-header-center {
    text-align: center;
    margin-bottom: 60px;
}

.section-header-center h2 {
    font-size: 36px;
    color: var(--text-color);
    margin-bottom: 15px;
}

.section-header-center p {
    font-size: 16px;
    color: var(--text-light);
    margin: 0 auto;
}

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

.value-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--bg-white);
    border-radius: 12px;
    transition: var(--transition);
}

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

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

.value-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.value-card p {
    color: var(--text-light);
    margin: 0 auto;
    line-height: 1.7;
}

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

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

.team-card {
    text-align: center;
    background: var(--bg-light);
    border-radius: 12px;
    padding: 30px;
    transition: var(--transition);
}

.team-card:hover {
    background: var(--bg-white);
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.team-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid white;
    box-shadow: var(--shadow);
}

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

.team-card h3 {
    font-size: 22px;
    margin-bottom: 8px;
    color: var(--text-color);
}

.team-role {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.team-bio {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.team-social a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.team-social a:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
}

/* Timeline Section */
.timeline-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-year {
    flex: 0 0 100px;
    text-align: right;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    padding-top: 5px;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 10px;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border: 4px solid white;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-content {
    flex: 1;
    background: var(--bg-white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.timeline-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.timeline-content p {
    color: var(--text-light);
    margin: 0;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    font-weight: 300;
    margin: 0 auto 30px;
    max-width: 600px;
}

.cta-content .btn-primary {
    background: white;
    color: var(--primary-color);
}

.cta-content .btn-primary:hover {
    background: var(--bg-light);
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: var(--bg-white);
}

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

.service-card {
    padding: 40px;
    background: var(--bg-light);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.service-card:hover {
    background: var(--bg-white);
    box-shadow: var(--shadow-hover);
    transform: translateX(5px);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list li i {
    color: var(--primary-color);
    margin-right: 10px;
}

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

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

.contact-info {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 12px;
}

.contact-info h3 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--text-color);
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

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

.contact-item-text h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--text-color);
}

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

.contact-form-wrapper {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.contact-form-wrapper h3 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--text-color);
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    transition: var(--transition);
}

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

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

.form-submit {
    width: 100%;
}

/* Map Section */
.map-section {
    padding: 0;
}

.map-container {
    height: 450px;
    width: 100%;
}

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

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

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

.faq-item {
    background: var(--bg-white);
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    width: 100%;
    padding: 25px;
    background: transparent;
    border: none;
    text-align: left;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

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

.faq-question i {
    font-size: 20px;
    color: var(--primary-color);
    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 25px 25px;
    color: var(--text-light);
    line-height: 1.7;
}

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

/* Privacy & Terms Pages */
.legal-section {
    padding: 80px 0;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 50px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.legal-content h2 {
    font-size: 32px;
    margin: 40px 0 20px;
    color: var(--text-color);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-size: 24px;
    margin: 30px 0 15px;
    color: var(--text-color);
}

.legal-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.legal-content ul {
    margin: 20px 0;
    padding-left: 30px;
}

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

/* Responsive */
@media (max-width: 992px) {
    .mission-content {
        grid-template-columns: 1fr;
    }
    
    .mission-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        padding-left: 80px;
    }
    
    .timeline-item::after {
        left: 30px;
    }
    
    .timeline-year {
        position: absolute;
        left: 0;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 36px;
    }
    
    .section-header-center h2,
    .mission-text h2 {
        font-size: 28px;
    }
    
    .mission-stats {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .legal-content {
        padding: 30px 20px;
    }
}
