/* Page-specific styles for About, Privacy, Terms, etc. */

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

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="70" cy="70" r="2.5" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    color: white;
}

.page-hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.breadcrumb a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* About Main Content */
.about-main {
    background: white;
}

/* Section Styles */
.story-section {
    padding: 80px 0;
    background: white;
}

.mission-section {
    padding: 80px 0;
    background: #f8fafc;
}

.experience-section {
    padding: 80px 0;
    background: white;
}

.technology-section {
    padding: 80px 0;
    background: #f8fafc;
}

/* Content Wrapper */
.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

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

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

/* Text Content */
.text-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.text-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 1.5rem;
}

/* Image Content */
.image-content {
    position: relative;
}

.section-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.section-image:hover {
    transform: translateY(-5px);
}

/* SVG Content */
.svg-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.svg-container {
    background: #f8fafc;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.svg-container svg {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 2rem;
}

.value-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.value-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 0.75rem;
}

.value-card p {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

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

.legal-intro {
    background: #f8fafc;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 40px;
    border-left: 4px solid #2563eb;
}

.legal-intro p {
    margin-bottom: 1rem;
}

.legal-intro p:last-child {
    margin-bottom: 0;
}

.policy-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e2e8f0;
}

.policy-section:last-child {
    border-bottom: none;
}

.policy-section h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 1rem;
}

.policy-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 1rem;
}

.contact-details {
    background: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    margin-top: 1rem;
}

.contact-details p {
    margin-bottom: 0.5rem;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .content-wrapper {
        gap: 40px;
    }
    
    .page-hero h1 {
        font-size: 3rem;
    }
    
    .text-content h2 {
        font-size: 2.25rem;
    }
    
    .section-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 100px 0 60px;
    }
    
    .page-hero h1 {
        font-size: 2.5rem;
    }
    
    .story-section,
    .mission-section,
    .experience-section,
    .technology-section {
        padding: 60px 0;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .content-wrapper.reverse {
        direction: ltr;
    }
    
    .text-content h2 {
        font-size: 2rem;
    }
    
    .section-image {
        height: 280px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .value-card {
        padding: 20px;
    }
    
    .svg-container {
        padding: 15px;
    }
    
    .svg-container svg {
        width: 100%;
        max-width: 350px;
    }
}

@media (max-width: 480px) {
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .page-hero p {
        font-size: 1.1rem;
    }
    
    .text-content h2 {
        font-size: 1.75rem;
    }
    
    .text-content p {
        font-size: 1rem;
    }
    
    .section-image {
        height: 220px;
    }
    
    .value-card {
        padding: 16px;
    }
    
    .svg-container {
        padding: 10px;
    }
    
    .svg-container svg {
        max-width: 300px;
    }
    
    .breadcrumb {
        flex-wrap: wrap;
    }
    
    .legal-content {
        padding: 20px 0;
    }
    
    .legal-intro {
        padding: 20px;
    }
    
    .policy-section {
        margin-bottom: 30px;
        padding-bottom: 20px;
    }
}