/* Auxiliary Pages Styles */

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

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

.logo-section a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e293b;
}

.page-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.page-nav a {
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    transition: color 0.3s ease;
}

.page-nav a:hover,
.page-nav a.active {
    color: #2563eb;
}

.nav-cta {
    background: #2563eb;
    color: white !important;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.nav-cta:hover {
    background: #1d4ed8 !important;
}

/* Page Title Section */
.page-title {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 80px 0 60px;
    text-align: center;
}

.page-title h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 15px;
}

.page-title p {
    font-size: 1.2rem;
    color: #64748b;
}

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

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

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

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

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

.content-text h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 25px;
}

.content-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 20px;
}

.approach-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.approach-list li {
    padding: 15px 0;
    border-bottom: 1px solid #e2e8f0;
    color: #475569;
    line-height: 1.6;
}

.approach-list li:last-child {
    border-bottom: none;
}

.approach-list strong {
    color: #2563eb;
    font-weight: 600;
}

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

.image-placeholder {
    background: #e2e8f0;
    height: 350px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    border: 2px dashed #cbd5e1;
    font-size: 1rem;
}

/* Story Content */
.story-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.story-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 30px;
}

.story-content p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 25px;
}

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

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

.value-icon {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
}

.value-item h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 15px;
}

.value-item p {
    color: #64748b;
    line-height: 1.6;
}

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

.team-member {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.member-image {
    margin-bottom: 25px;
}

.member-image img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.member-image .image-placeholder {
    height: 200px;
    border-radius: 50%;
    width: 200px;
    margin: 0 auto;
}

.team-member h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 5px;
}

.member-role {
    color: #2563eb;
    font-weight: 600;
    margin-bottom: 15px;
}

.team-member p:last-child {
    color: #64748b;
    line-height: 1.6;
}

/* Legal Content */
.legal-content {
    padding: 60px 0 80px;
}

.legal-text {
    max-width: 800px;
    margin: 0 auto;
}

.legal-text h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e293b;
    margin: 40px 0 20px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

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

.legal-text h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #374151;
    margin: 25px 0 15px;
}

.legal-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 20px;
}

.legal-text ul {
    margin: 20px 0;
    padding-left: 25px;
}

.legal-text li {
    font-size: 1rem;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 8px;
}

.legal-text a {
    color: #2563eb;
    text-decoration: none;
}

.legal-text a:hover {
    text-decoration: underline;
}

.legal-text strong {
    color: #1f2937;
    font-weight: 600;
}

/* Footer Updates */
.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin: 30px 0;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 8px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Responsive Design for Pages */
@media (max-width: 768px) {
    .page-header {
        padding: 15px 0;
    }
    
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .page-nav {
        gap: 20px;
    }
    
    .page-title h1 {
        font-size: 2.2rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .content-grid.reverse {
        direction: ltr;
    }
    
    .content-text h2 {
        font-size: 1.8rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .member-image .image-placeholder {
        width: 150px;
        height: 150px;
    }
    
    .member-image img {
        width: 150px;
        height: 150px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .nav-cta {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .page-title {
        padding: 60px 0 40px;
    }
    
    .page-title h1 {
        font-size: 1.8rem;
    }
    
    .content-section {
        padding: 60px 0;
    }
    
    .legal-content {
        padding: 40px 0 60px;
    }
    
    .legal-text h2 {
        font-size: 1.5rem;
    }
    
    .story-content h2 {
        font-size: 2rem;
    }
    
    .value-item,
    .team-member {
        padding: 25px 20px;
    }
    
    .content-image img {
        height: 250px;
    }
}