/* Auxiliary Pages Styles */
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color System */
    --primary-blue: #2563eb;
    --primary-blue-light: #3b82f6;
    --primary-blue-dark: #1d4ed8;
    
    --secondary-purple: #7c3aed;
    --secondary-purple-light: #8b5cf6;
    --secondary-purple-dark: #6d28d9;
    
    --accent-cyan: #06b6d4;
    --accent-cyan-light: #0891b2;
    
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    
    --neutral-50: #f8fafc;
    --neutral-100: #f1f5f9;
    --neutral-200: #e2e8f0;
    --neutral-300: #cbd5e1;
    --neutral-400: #94a3b8;
    --neutral-500: #64748b;
    --neutral-600: #475569;
    --neutral-700: #334155;
    --neutral-800: #1e293b;
    --neutral-900: #0f172a;
    
    --white: #ffffff;
    --black: #000000;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Spacing */
    --space-1: 8px;
    --space-2: 16px;
    --space-3: 24px;
    --space-4: 32px;
    --space-5: 40px;
    --space-6: 48px;
    --space-8: 64px;
    --space-10: 80px;
    --space-12: 96px;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--neutral-700);
    background: linear-gradient(135deg, var(--neutral-50) 0%, rgba(37, 99, 235, 0.02) 100%);
    min-height: 100vh;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-2);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    color: var(--neutral-900);
}

h1 {
    font-size: 3rem;
    margin-bottom: var(--space-3);
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: var(--space-4);
    color: var(--primary-blue);
    position: relative;
    padding-bottom: var(--space-2);
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-purple));
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-2);
    color: var(--neutral-800);
}

h4 {
    font-size: 1.25rem;
    margin-bottom: var(--space-2);
    color: var(--neutral-800);
}

p {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: var(--space-3);
}

ul, ol {
    margin-bottom: var(--space-3);
    padding-left: var(--space-4);
}

li {
    margin-bottom: var(--space-1);
    line-height: 1.6;
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    transition: all 0.2s ease;
}

a:hover {
    text-decoration: underline;
    color: var(--primary-blue-dark);
}

strong {
    font-weight: var(--font-weight-semibold);
    color: var(--neutral-800);
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--neutral-200);
    padding: var(--space-3) 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    transition: transform 0.2s ease;
}

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

.logo {
    height: 48px;
    width: auto;
}

.brand-name {
    font-size: 1.75rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-blue);
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
    padding: var(--space-8) 0;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: var(--space-10);
    padding: var(--space-8) 0 var(--space-6);
    background: linear-gradient(135deg, var(--white) 0%, rgba(37, 99, 235, 0.05) 100%);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.pexels.com/photos/3861969/pexels-photo-3861969.jpeg?auto=compress&cs=tinysrgb&w=1200&h=400&fit=crop') center/cover;
    opacity: 0.1;
    z-index: -1;
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--neutral-600);
    margin-bottom: 0;
    font-weight: var(--font-weight-medium);
}

/* Content Sections */
.content-section {
    margin-bottom: var(--space-8);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    background-color: var(--white);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--neutral-100);
    position: relative;
    transition: all 0.3s ease;
}

.content-section:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

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

/* Features Grid (About Page) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-6);
}

.feature-card {
    background: linear-gradient(135deg, var(--white) 0%, rgba(37, 99, 235, 0.02) 100%);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    text-align: center;
    border: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-purple));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: var(--space-3);
}

.feature-card h3 {
    color: var(--primary-blue);
    margin-bottom: var(--space-2);
}

.feature-card p {
    color: var(--neutral-600);
    margin-bottom: 0;
}

/* Hero Image for About Page */
.about-hero {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    margin-bottom: var(--space-6);
    transition: transform 0.3s ease;
}

.about-hero:hover {
    transform: scale(1.02);
}

/* Team Images */
.team-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin: var(--space-4) 0;
    transition: transform 0.3s ease;
}

.team-image:hover {
    transform: scale(1.02);
}

/* Success Stories Images */
.success-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin: var(--space-3) 0;
    transition: transform 0.3s ease;
}

.success-image:hover {
    transform: scale(1.02);
}

/* Approach List (About Page) */
.approach-list {
    background: linear-gradient(135deg, var(--neutral-50) 0%, rgba(37, 99, 235, 0.05) 100%);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    border-left: 4px solid var(--primary-blue);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.approach-list::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.approach-list li {
    margin-bottom: var(--space-2);
    position: relative;
    padding-left: var(--space-3);
}

.approach-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: var(--font-weight-bold);
}

/* Contact Info */
.contact-info {
    background: linear-gradient(135deg, var(--white) 0%, rgba(37, 99, 235, 0.05) 100%);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    border: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.contact-info p {
    margin-bottom: var(--space-2);
    position: relative;
    z-index: 1;
}

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

/* Legal Content Styling */
.legal-section {
    background-color: var(--white);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--neutral-100);
    margin-bottom: var(--space-6);
    position: relative;
    overflow: hidden;
}

.legal-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-blue), var(--secondary-purple));
}

.legal-section h3 {
    color: var(--primary-blue);
    margin-bottom: var(--space-3);
    position: relative;
    padding-left: var(--space-3);
}

.legal-section ul {
    background-color: var(--neutral-50);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    border-left: 3px solid var(--accent-cyan);
}

/* Privacy and Legal Images */
.legal-hero {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    margin: var(--space-4) 0;
    transition: transform 0.3s ease;
}

.legal-hero:hover {
    transform: scale(1.02);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--neutral-900) 0%, var(--neutral-800) 100%);
    color: var(--neutral-300);
    padding: var(--space-8) 0 var(--space-4);
    margin-top: var(--space-12);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-purple), var(--accent-cyan));
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-8);
    margin-bottom: var(--space-6);
}

.footer-brand .logo-section .brand-name {
    color: var(--white);
}

.footer-brand p {
    margin-top: var(--space-2);
    color: var(--neutral-400);
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    margin-bottom: var(--space-3);
    font-size: 1.125rem;
    position: relative;
    padding-bottom: var(--space-1);
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-purple));
    border-radius: 1px;
}

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

.footer-links li {
    margin-bottom: var(--space-2);
}

.footer-links a,
.footer-contact a {
    color: var(--neutral-300);
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--primary-blue-light);
    text-decoration: none;
    transform: translateX(4px);
}

.footer-contact p {
    margin-bottom: var(--space-2);
    color: var(--neutral-400);
}

.footer-bottom {
    border-top: 1px solid var(--neutral-700);
    padding-top: var(--space-4);
    text-align: center;
    color: var(--neutral-400);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 var(--space-3);
    }
    
    .logo {
        height: 44px;
    }
    
    .brand-name {
        font-size: 1.625rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-6);
    }
    
    .content-section {
        padding: var(--space-5);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-2);
    }
    
    .header {
        padding: var(--space-2) 0;
    }
    
    .logo {
        height: 40px;
    }
    
    .brand-name {
        font-size: 1.5rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.375rem;
    }
    
    .main-content {
        padding: var(--space-6) 0;
    }
    
    .page-header {
        margin-bottom: var(--space-8);
        padding: var(--space-6) 0 var(--space-4);
    }
    
    .content-section {
        margin-bottom: var(--space-6);
        padding: var(--space-4);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-6);
    }
    
    .about-hero,
    .team-image,
    .legal-hero {
        height: 200px;
    }
    
    .success-image {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-2);
    }
    
    .logo {
        height: 36px;
    }
    
    .brand-name {
        font-size: 1.375rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    p, li {
        font-size: 1rem;
    }
    
    .main-content {
        padding: var(--space-4) 0;
    }
    
    .page-header {
        margin-bottom: var(--space-6);
        padding: var(--space-4) 0 var(--space-3);
    }
    
    .content-section {
        margin-bottom: var(--space-5);
        padding: var(--space-3);
    }
    
    .feature-card,
    .approach-list,
    .contact-info,
    .legal-section {
        padding: var(--space-4);
    }
    
    .about-hero,
    .team-image,
    .legal-hero {
        height: 180px;
    }
    
    .success-image {
        height: 120px;
    }
}

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

.content-section {
    animation: fadeInUp 0.6s ease-out;
}

.content-section:nth-child(even) {
    animation-delay: 0.1s;
}

.content-section:nth-child(odd) {
    animation-delay: 0.2s;
}

/* Scroll Animations */
@media (prefers-reduced-motion: no-preference) {
    .content-section {
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.6s ease-out;
    }
    
    .content-section.visible {
        opacity: 1;
        transform: translateY(0);
    }
}