/* Auxiliary Pages Styles */

/* Page Header */
.page-header {
    background-color: white;
    border-bottom: 1px solid #E2E8F0;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: inherit;
}

.logo-link:hover {
    opacity: 0.8;
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.page-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    filter: blur(1px);
}

.page-hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 16px;
}

.page-hero-subtitle {
    font-size: 1.25rem;
    color: #E2E8F0;
    margin-bottom: 0;
}

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

.content-section.alt-bg {
    background-color: #F7FAFC;
}

/* About Page Specific Styles */
.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.content-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.content-text p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #4A5568;
    margin-bottom: 24px;
}

.content-stats {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.stat-item {
    text-align: center;
    padding: 24px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

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

.stat-label {
    font-size: 1rem;
    color: #718096;
}

/* Approach Grid */
.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.approach-header {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 40px;
}

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

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

.approach-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 24px;
}

.approach-item h3 {
    margin-bottom: 16px;
    color: #2D3748;
}

.approach-item p {
    color: #4A5568;
    line-height: 1.6;
}

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

.values-header {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 40px;
}

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

.value-item {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.value-item h3 {
    color: #2D3748;
    margin-bottom: 16px;
}

.value-item p {
    color: #4A5568;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Why Choose Us */
.why-choose-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

.why-choose-header {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 40px;
}

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

.why-choose-text p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #4A5568;
    margin-bottom: 24px;
}

.why-choose-benefits {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

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

.benefit-content h4 {
    color: #2D3748;
    margin-bottom: 8px;
    font-size: 1.125rem;
}

.benefit-content p {
    color: #4A5568;
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.5;
}

/* Legal Content Styles */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 48px;
}

.legal-section h2 {
    color: #2D3748;
    font-size: 1.75rem;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #E2E8F0;
}

.legal-section h3 {
    color: #4A5568;
    font-size: 1.25rem;
    margin-bottom: 16px;
    margin-top: 24px;
}

.legal-section p {
    color: #4A5568;
    line-height: 1.7;
    margin-bottom: 16px;
}

.legal-section ul {
    margin: 16px 0;
    padding-left: 24px;
}

.legal-section li {
    color: #4A5568;
    line-height: 1.6;
    margin-bottom: 8px;
}

.legal-section a {
    color: #4A5568;
    text-decoration: underline;
}

.legal-section a:hover {
    color: #2D3748;
}

.contact-info {
    background: #F7FAFC;
    padding: 24px;
    border-radius: 8px;
    margin-top: 16px;
}

.contact-info p {
    margin-bottom: 8px;
}

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

/* Image Styles for Pages */
.content-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

/* Footer Updates */
.footer-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.footer-links a {
    color: #A0AEC0;
    text-decoration: none;
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: white;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 40px;
}

.footer-info {
    text-align: right;
}

/* Responsive Design for Auxiliary Pages */
@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2.5rem;
    }
    
    .page-hero-subtitle {
        font-size: 1.125rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .approach-header,
    .values-header,
    .why-choose-header {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .content-stats {
        flex-direction: row;
        justify-content: space-around;
    }
    
    .stat-item {
        flex: 1;
        margin: 0 8px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .why-choose-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .approach-grid,
    .values-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 24px;
    }
    
    .footer-info {
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .content-image {
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 60px 0;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .content-section {
        padding: 60px 0;
    }
    
    .content-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .stat-item {
        margin: 0;
    }
    
    .benefit-item {
        flex-direction: column;
        text-align: center;
    }
    
    .benefit-icon {
        margin-top: 0;
    }
    
    .legal-section h2 {
        font-size: 1.5rem;
    }
    
    .legal-section h3 {
        font-size: 1.125rem;
    }
    
    .content-image {
        max-width: 250px;
    }
}