/* About Page Styles */

/* Page Header */
.page-header {
    text-align: center;
    padding: 2rem 0;
    margin-bottom: 2rem;
    background-color: var(--bg-light);
    border-radius: var(--border-radius-lg);
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.page-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 0;
    line-height: 1.5;
}

/* About Content */
.about-content {
    max-width: 800px;
    margin: 0 auto 3rem auto;
    line-height: 1.7;
}

.about-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
}

.about-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.about-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 2rem 0 1rem 0;
}

.about-section p {
    color: var(--text-color);
    margin-bottom: 1rem;
    text-align: justify;
}

.about-section p:last-child {
    margin-bottom: 0;
}

/* Introduction Section */
.intro-section {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
    border: 1px solid var(--border-color);
}

.intro-text {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.intro-section strong {
    color: var(--primary-color);
    font-weight: 600;
}

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

.background-content h3:first-child {
    margin-top: 0;
}

/* Values Grid */
.values-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.value-item {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.value-item h3 {
    font-size: 1.125rem;
    color: var(--primary-color);
    margin: 0 0 0.75rem 0;
}

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

/* Mission Section */
.mission-section {
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--white) 100%);
    border: 1px solid var(--accent-color);
}

/* Personal Note Section */
.personal-note {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--white) 100%);
    border: 1px solid var(--primary-color);
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
    border: 1px solid var(--border-color);
}

.contact-info {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin: 1rem 0;
}

.contact-info p {
    margin-bottom: 0.5rem;
    text-align: left;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-info a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Responsive Design */
@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

/* Mobile Responsiveness */
@media (max-width: 767px) {
    .page-header {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
    }
    
    .page-title {
        font-size: 1.75rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .about-content {
        margin-bottom: 2rem;
    }
    
    .about-section {
        margin-bottom: 2rem;
        padding: 1.5rem;
    }
    
    .about-section h2 {
        font-size: 1.375rem;
    }
    
    .about-section h3 {
        font-size: 1.125rem;
        margin: 1.5rem 0 0.75rem 0;
    }
    
    .about-section p {
        text-align: left;
    }
    
    .intro-text {
        font-size: 1rem;
    }
    
    .value-item {
        padding: 1.25rem;
    }
    
    .contact-info {
        padding: 1.25rem;
    }
    
    .values-grid {
        gap: 1.25rem;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 1rem;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
    
    .about-section {
        padding: 1.25rem;
    }
    
    .about-section h2 {
        font-size: 1.25rem;
    }
    
    .about-section h3 {
        font-size: 1rem;
    }
    
    .value-item {
        padding: 1rem;
    }
    
    .values-grid {
        gap: 1rem;
    }
}

/* Print Styles */
@media print {
    .page-header {
        background-color: transparent;
        border: 1px solid #000;
    }
    
    .about-section {
        background-color: transparent;
        border: 1px solid #ccc;
        margin-bottom: 1rem;
        page-break-inside: avoid;
    }
    
    .about-section h2 {
        color: #000;
        border-bottom-color: #000;
    }
    
    .contact-info {
        background-color: transparent;
        border: 1px solid #ccc;
    }
    
    .value-item {
        background-color: transparent;
        border: 1px solid #ccc;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
    }
    
    .value-item:hover {
        transform: none;
        box-shadow: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .about-section {
        border: 2px solid var(--text-color);
    }
    
    .about-section h2 {
        border-bottom-width: 3px;
    }
    
    .contact-info,
    .value-item {
        border: 1px solid var(--text-color);
    }
}

/* Focus Styles for Accessibility */
.contact-info a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Enhanced Typography */
.about-section strong {
    font-weight: 600;
    color: var(--primary-color);
}

/* Section Transitions */
.about-section {
    transition: var(--transition);
}

.about-section:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

@media (prefers-reduced-motion: reduce) {
    .about-section:hover {
        transform: none;
        box-shadow: none;
    }
}

/* Content Spacing */
.about-section p + h3 {
    margin-top: 2rem;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}
