/* Auxiliary Pages Styles */

/* Import base variables from main stylesheet */
:root {
    --primary-color: #4338CA;
    --secondary-color: #E53E3E;
    --background-color: #FEFCFB;
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --border-color: #E5E7EB;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --border-radius: 8px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
}

/* Base styles for auxiliary pages */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Header styles */
.header {
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--background-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.logo {
    filter: drop-shadow(0 2px 4px rgba(67, 56, 202, 0.1));
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    text-decoration: none;
}

.nav-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius);
    transition: all 0.2s ease;
}

.nav-link:hover {
    background-color: rgba(67, 56, 202, 0.1);
}

/* Main content area */
.main-content {
    min-height: 60vh;
    padding: var(--spacing-2xl) 0;
}

.page-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Content blocks for About Us page */
.content-block {
    background: white;
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    text-align: center;
}

.content-block h2 {
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.content-block p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.content-block p:last-child {
    margin-bottom: 0;
}

/* Block icons */
.block-icon {
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

/* Grid layout for About Us blocks */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-lg);
}

/* About Us specific sections */
.about-hero {
    margin-bottom: var(--spacing-2xl);
}

.about-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.about-hero-text h2 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.about-hero-text p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.about-hero-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

/* Team section */
.team-section {
    margin: var(--spacing-2xl) 0;
}

.team-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.team-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.team-text h2 {
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.team-text p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.approach-highlights {
    margin-top: var(--spacing-lg);
}

.highlight-item {
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.highlight-item:last-child {
    border-bottom: none;
}

.highlight-item strong {
    color: var(--primary-color);
}

/* Values section */
.values-section {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    margin: var(--spacing-2xl) 0;
    text-align: center;
}

.values-section h2 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xl);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

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

.value-icon {
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.value-item h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.value-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #312E81 100%);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius);
    text-align: center;
    color: white;
    margin: var(--spacing-2xl) 0;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    color: white;
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-lg);
    color: rgba(255, 255, 255, 0.9);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 120px;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #DC2626;
    transform: translateY(-1px);
}

/* Empty content placeholder */
.empty-content {
    background: #F9FAFB;
    border: 2px dashed var(--border-color);
    padding: var(--spacing-2xl);
    text-align: center;
    border-radius: var(--border-radius);
}

.empty-content h3 {
    color: var(--text-secondary);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

.empty-content p {
    color: var(--text-secondary);
    font-style: italic;
}

/* Footer styles */
.footer {
    background-color: var(--text-primary);
    color: white;
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    margin-top: var(--spacing-2xl);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.footer-logo .brand-name {
    color: white;
    text-decoration: none;
}

.footer-nav {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.875rem;
}

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

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin: 0;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .content-block {
        padding: var(--spacing-lg);
    }
    
    .about-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .team-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
    
    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .header-content {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
}