/* Import base styles from main stylesheet */
@import url('style.css');

/* Page-specific styles for auxiliary pages */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #fff8f5 0%, #ffffff 50%, #f8fffe 100%);
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="%23e53e3e" opacity="0.02"/><circle cx="80" cy="40" r="1" fill="%23e53e3e" opacity="0.02"/><circle cx="40" cy="80" r="1" fill="%23e53e3e" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.page-header p {
    font-size: 1.125rem;
    color: #666666;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Content Sections */
.content-section {
    padding: 60px 0;
}

.content-section.alt-bg {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f3f4 100%);
}

/* Content with Image Layout */
.content-with-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.content-with-image.reverse {
    grid-template-columns: 1fr 1fr;
}

.content-with-image.reverse .content-image {
    order: 2;
}

.content-with-image.reverse .content-block {
    order: 1;
}

.content-image {
    display: flex;
    justify-content: center;
}

.section-image {
    width: 100%;
    max-width: 500px;
    height: 300px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-image:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.content-block {
    max-width: 800px;
    margin: 0 auto;
}

.content-block h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 24px;
    border-bottom: 2px solid #e53e3e;
    padding-bottom: 12px;
}

.content-block h3 {
    font-size: 1.375rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 32px 0 16px 0;
}

.content-block p {
    font-size: 1rem;
    line-height: 1.7;
    color: #4a4a4a;
    margin-bottom: 20px;
}

.content-block ul {
    margin: 20px 0;
    padding-left: 24px;
}

.content-block li {
    font-size: 1rem;
    line-height: 1.6;
    color: #4a4a4a;
    margin-bottom: 8px;
}

.content-block li strong {
    color: #1a1a1a;
    font-weight: 600;
}

/* Mission Points */
.mission-points {
    margin-top: 40px;
}

.mission-point {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 32px;
    padding: 24px;
    background: linear-gradient(145deg, #ffffff 0%, #fafbfc 100%);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(229, 62, 62, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-point:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.mission-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.mission-point h3 {
    margin: 0 0 8px 0;
    font-size: 1.25rem;
}

.mission-point p {
    margin: 0;
    font-size: 0.95rem;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.value-item {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    border: 1px solid rgba(229, 62, 62, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.value-item h3 {
    color: #e53e3e;
    margin: 0 0 16px 0;
    font-size: 1.25rem;
}

.value-item p {
    margin: 0;
    font-size: 0.95rem;
}

/* Impact Stats */
.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-top: 40px;
    padding: 40px;
    background: linear-gradient(145deg, #ffffff 0%, #fafbfc 100%);
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(229, 62, 62, 0.1);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #e53e3e;
    display: block;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.875rem;
    color: #666666;
    font-weight: 500;
}

/* Contact Info */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: linear-gradient(145deg, #ffffff 0%, #fafbfc 100%);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(229, 62, 62, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.contact-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    margin-top: 4px;
}

.contact-item h3 {
    margin: 0 0 8px 0;
    font-size: 1.125rem;
    color: #1a1a1a;
}

.contact-link {
    color: #e53e3e;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
}

.contact-link:hover {
    text-decoration: underline;
}

.contact-address {
    font-style: normal;
    color: #666666;
    font-size: 1rem;
    line-height: 1.5;
}

/* Footer Links */
.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin: 32px 0;
    padding: 24px 0;
    border-top: 1px solid #333333;
    border-bottom: 1px solid #333333;
}

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-with-image,
    .content-with-image.reverse {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .content-with-image.reverse .content-image,
    .content-with-image.reverse .content-block {
        order: unset;
    }
    
    .section-image {
        height: 250px;
    }
    
    .page-header {
        padding: 40px 0;
    }
    
    .page-header h1 {
        font-size: 2.25rem;
    }
    
    .content-section {
        padding: 40px 0;
    }
    
    .content-block h2 {
        font-size: 1.75rem;
    }
    
    .mission-point {
        flex-direction: column;
        text-align: center;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .impact-stats {
        grid-template-columns: repeat(2, 1fr);
        padding: 24px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .content-block h2 {
        font-size: 1.5rem;
    }
    
    .impact-stats {
        grid-template-columns: 1fr;
    }
    
    .mission-point,
    .value-item,
    .contact-item {
        padding: 20px;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer {
        display: none;
    }
    
    .page-header {
        background: none;
        border-bottom: 2px solid #000;
    }
    
    .content-section.alt-bg {
        background: none;
    }
    
    .contact-link {
        color: #000;
        text-decoration: underline;
    }
}

/* Footer logo specific styles */
.footer-logo {
    width: 40px;
    height: 40px;
    display: block;
    object-fit: contain;
    /* Remove filter to prevent white square issue */
    /* Logo should be designed for dark backgrounds */
}