/* Auxiliary Pages Specific Styles */

/* Content with Image Layout */
.content-with-image {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 2rem;
}

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

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

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

.content-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-image img:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
}

/* Page Content Layout */
.page-content {
    padding-top: 120px;
    padding-bottom: 80px;
    background: #ffffff;
}

.page-header {
    text-align: center;
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e2e8f0;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    font-style: italic;
}

/* Content Sections */
.content-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
}

.content-section:not(:last-child) {
    border-bottom: 1px solid #f1f5f9;
}

.content-section h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.content-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.content-section h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 0.5rem;
    margin-top: 1.5rem;
}

.content-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 1rem;
}

.content-section ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.content-section li {
    font-size: 1rem;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 0.5rem;
}

/* Values Grid (About Page) */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.value-card {
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.value-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.value-card p {
    font-size: 0.9rem;
    color: #475569;
    margin-bottom: 0;
}

/* Contact Information */
.contact-info-simple {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    margin-top: 1rem;
}

.contact-info-simple p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

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

.contact-info-simple a {
    color: #1e40af;
    text-decoration: none;
    font-weight: 500;
}

.contact-info-simple a:hover {
    text-decoration: underline;
}

/* Links Styling */
.content-section a {
    color: #1e40af;
    text-decoration: none;
    font-weight: 500;
}

.content-section a:hover {
    text-decoration: underline;
}

/* Responsive Design for Auxiliary Pages */
@media (max-width: 768px) {
    .page-content {
        padding-top: 100px;
        padding-bottom: 60px;
    }
    
    .page-header {
        margin-bottom: 3rem;
        padding-bottom: 1.5rem;
    }
    
    .page-header h1 {
        font-size: 2.25rem;
    }
    
    .page-subtitle {
        font-size: 1.125rem;
    }
    
    .content-section {
        margin-bottom: 2.5rem;
        padding-bottom: 1.5rem;
    }
    
    .content-section h2 {
        font-size: 1.75rem;
        margin-bottom: 1.25rem;
    }
    
    .content-section h3 {
        font-size: 1.375rem;
        margin-bottom: 0.75rem;
        margin-top: 1.5rem;
    }
    
    .content-section h4 {
        font-size: 1.125rem;
        margin-bottom: 0.5rem;
        margin-top: 1.25rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .value-card {
        padding: 1.25rem;
    }
    
    .contact-info-simple {
        padding: 1.25rem;
    }
    
    .content-with-image,
    .content-with-image.reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .content-with-image.reverse .content-text,
    .content-with-image.reverse .content-image {
        order: unset;
    }
}

@media (max-width: 480px) {
    .page-content {
        padding-top: 90px;
        padding-bottom: 50px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .content-section h2 {
        font-size: 1.5rem;
    }
    
    .content-section h3 {
        font-size: 1.25rem;
    }
    
    .content-section h4 {
        font-size: 1.125rem;
    }
    
    .content-section p,
    .content-section li {
        font-size: 0.95rem;
    }
    
    .value-card {
        padding: 1rem;
    }
    
    .contact-info-simple {
        padding: 1rem;
    }
    
    .content-with-image {
        gap: 1.5rem;
    }
    
    .content-image img {
        height: 220px;
    }
}

@media (max-width: 360px) {
    .page-header {
        margin-bottom: 2.5rem;
        padding-bottom: 1.25rem;
    }
    
    .content-section {
        margin-bottom: 2rem;
        padding-bottom: 1.25rem;
    }
    
    .content-section h2 {
        margin-bottom: 1rem;
    }
    
    .content-section ul {
        padding-left: 1.25rem;
    }
    
    .content-image img {
        height: 200px;
    }
}