/* Auxiliary Pages Styles */

/* Enhanced Styles for Expanded Content */
.recognition-list {
    margin-top: 2rem;
}

.recognition-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #1E3A8A;
}

.recognition-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1E293B;
    margin-bottom: 0.5rem;
}

.recognition-item p {
    color: #64748B;
    line-height: 1.6;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #1E3A8A 0%, #3730A3 100%);
    color: white;
    padding: 4rem 0 3rem;
    text-align: center;
}

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

.page-header p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Content Sections */
.content-section {
    padding: 4rem 0;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1E293B;
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: #64748B;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.team-member {
    text-align: center;
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.member-photo {
    margin-bottom: 1.5rem;
}

.member-photo img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

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

.team-member .role {
    font-size: 1rem;
    font-weight: 500;
    color: #1E3A8A;
    margin-bottom: 1rem;
}

.team-member p {
    color: #64748B;
    line-height: 1.6;
}

/* Values List */
.values-list {
    margin-top: 2rem;
}

.value-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.value-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1E293B;
    margin-bottom: 0.5rem;
}

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

/* Tech Features */
.tech-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tech-feature {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.tech-feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.tech-icon {
    margin-bottom: 1rem;
}

.tech-feature h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1E293B;
    margin-bottom: 0.75rem;
}

.tech-feature p {
    color: #64748B;
    line-height: 1.6;
}

/* Achievements Grid */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.achievement-card {
    text-align: center;
    padding: 2.5rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #F1F5F9;
}

.achievement-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.achievement-number {
    font-size: 3rem;
    font-weight: 700;
    color: #1E3A8A;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.achievement-label {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1E293B;
    margin-bottom: 1rem;
}

.achievement-card p {
    color: #64748B;
    line-height: 1.6;
}

/* Legal Content */
.legal-content {
    padding: 3rem 0 5rem;
    background: white;
}

.legal-section {
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.legal-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #E2E8F0;
}

.legal-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1E293B;
    margin: 2rem 0 1rem;
}

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

.legal-section ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.legal-section li {
    font-size: 1rem;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 0.75rem;
}

.legal-section li strong {
    color: #1E293B;
    font-weight: 600;
}

.contact-details {
    background: #F8FAFC;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    margin: 2rem 0;
}

.contact-details p {
    margin-bottom: 0.5rem;
    color: #1E293B;
}

.contact-details p:first-child {
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

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

.footer-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.footer-links a:hover {
    opacity: 1;
    color: #93C5FD;
}

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

/* Header Link Styles */
.brand-name a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.brand-name a:hover {
    opacity: 0.9;
}

.logo-section a {
    display: inline-block;
    transition: all 0.3s ease;
}

.logo-section a:hover {
    transform: scale(1.05);
}

/* Responsive Design for Auxiliary Pages */
@media (max-width: 1024px) {
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .team-grid,
    .tech-features,
    .achievements-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 3rem 0 2rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1.125rem;
    }
    
    .content-section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .team-grid,
    .tech-features,
    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .team-member,
    .tech-feature,
    .achievement-card {
        padding: 2rem;
    }
    
    .achievement-number {
        font-size: 2.5rem;
    }
    
    .legal-section h2 {
        font-size: 1.75rem;
    }
    
    .legal-section h3 {
        font-size: 1.25rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 1.75rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .team-member,
    .tech-feature,
    .achievement-card {
        padding: 1.5rem;
    }
    
    .member-photo svg {
        width: 150px;
        height: 150px;
    }
    
    .member-photo img {
        width: 150px;
        height: 150px;
    }
    
    .achievement-number {
        font-size: 2rem;
    }
    
    .legal-section {
        padding: 0 1rem;
    }
    
    .contact-details {
        padding: 1.5rem;
    }
}

/* Animation Enhancements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.team-member,
.tech-feature,
.achievement-card,
.legal-section {
    animation: fadeInUp 0.6s ease-out;
}

.team-member:nth-child(1) { animation-delay: 0.1s; }
.team-member:nth-child(2) { animation-delay: 0.2s; }
.team-member:nth-child(3) { animation-delay: 0.3s; }

.tech-feature:nth-child(1) { animation-delay: 0.1s; }
.tech-feature:nth-child(2) { animation-delay: 0.2s; }
.tech-feature:nth-child(3) { animation-delay: 0.3s; }

.achievement-card:nth-child(1) { animation-delay: 0.1s; }
.achievement-card:nth-child(2) { animation-delay: 0.2s; }
.achievement-card:nth-child(3) { animation-delay: 0.3s; }
.achievement-card:nth-child(4) { animation-delay: 0.4s; }

/* Accessibility Enhancements */
@media (prefers-reduced-motion: reduce) {
    .team-member,
    .tech-feature,
    .achievement-card,
    .legal-section {
        animation: none;
    }
    
    .team-member:hover,
    .tech-feature:hover,
    .achievement-card:hover {
        transform: none;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .team-member,
    .tech-feature,
    .achievement-card,
    .value-item {
        border: 2px solid #000;
    }
    
    .legal-section h2 {
        border-bottom-color: #000;
    }
}

/* Print Styles */
@media print {
    .page-header {
        background: none;
        color: #000;
    }
    
    .team-member,
    .tech-feature,
    .achievement-card {
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .footer {
        display: none;
    }
}