/* Auxiliary Pages Styles */

.page-header {
    background: linear-gradient(135deg, #1a2332 0%, #2d3748 100%);
    padding: 40px 0;
    border-bottom: 3px solid #14b8a6;
}

.page-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-header .brand .brand-name {
    color: white;
}

.back-link {
    color: #cbd5e0;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.back-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border-color: #14b8a6;
}

.page-main {
    padding: 80px 0;
    min-height: 60vh;
}

.page-hero {
    text-align: center;
    margin-bottom: 60px;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.3rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

.content-section {
    margin-bottom: 60px;
}

.content-section h2 {
    margin-bottom: 2rem;
    color: #1a2332;
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

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

.feature-item {
    padding: 30px;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid #14b8a6;
}

.feature-item h3 {
    color: #1a2332;
    margin-bottom: 1rem;
}

.feature-item p {
    color: #6b7280;
    margin: 0;
}

.legal-content {
    max-width: 800px;
    background: #f8fafc;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    text-align: left;
}

.legal-content h2 {
    color: #1a2332;
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-top: 1.5rem;
    border-top: 2px solid #e2e8f0;
}

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

.legal-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* About page specific styles */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

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

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

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

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

.capability-item {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.capability-icon {
    width: 80px;
    height: 80px;
    background: #f0fdfa;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.capability-item h3 {
    margin-bottom: 1rem;
    color: #1a2332;
}

.commitment-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 40px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 16px;
}

.commitment-section h2 {
    margin-bottom: 2rem;
}

.commitment-section p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header .container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .page-hero h1 {
        font-size: 2.5rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .legal-content {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .page-main {
        padding: 60px 0;
    }
    
    .page-hero {
        margin-bottom: 40px;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .content-section {
        margin-bottom: 40px;
    }
    
    .feature-item {
        padding: 20px;
    }
}