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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #334155;
    background-color: #FFFFFF;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 600;
    color: #1E293B;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: #1E293B;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
    color: #64748B;
    line-height: 1.7;
    font-size: 1rem;
}

/* Logo and Branding */
.logo {
    width: 40px;
    height: 40px;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1E293B;
    margin-left: 12px;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-link:hover .brand-name {
    color: #4F46E5;
}

/* Header */
.header {
    background-color: #FFFFFF;
    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;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-link {
    color: #4F46E5;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: #4338CA;
}

.back-link {
    color: #64748B;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: #1E293B;
}

/* Main Content */
.main-content {
    min-height: 60vh;
    padding: 40px 0 80px;
}

.page-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 0;
    background: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%);
    border-radius: 16px;
}

.page-header h1 {
    color: #1E293B;
    margin-bottom: 16px;
}

.page-subtitle {
    font-size: 1.125rem;
    color: #64748B;
    margin-bottom: 0;
}

/* Content Sections */
.content-section {
    margin-bottom: 50px;
}

.content-section h2 {
    color: #1E293B;
    border-left: 4px solid #4F46E5;
    padding-left: 20px;
    margin-bottom: 30px;
}

.text-content {
    max-width: 800px;
}

.text-content p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.8;
}

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

.text-content em {
    color: #94A3B8;
    font-style: italic;
    display: block;
    text-align: center;
    padding: 40px 20px;
    background-color: #F8FAFC;
    border-radius: 8px;
    border: 2px dashed #E2E8F0;
}

/* Section Content Layout for About Page */
.section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 20px;
}

.section-content.reverse {
    grid-template-columns: 1fr 1fr;
}

.section-content.reverse .content-text {
    order: 2;
}

.section-content.reverse .content-image {
    order: 1;
}

.content-text {
    max-width: none;
}

.content-image {
    display: flex;
    justify-content: center;
}

.content-image .placeholder-image {
    background: linear-gradient(135deg, #E2E8F0, #CBD5E1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748B;
    font-weight: 500;
    text-align: center;
    padding: 20px;
    min-height: 200px;
    width: 100%;
    max-width: 350px;
}

.content-image svg {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 12px;
    background: white;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Footer */
.footer {
    background-color: #1E293B;
    color: #94A3B8;
    padding: 50px 0 20px;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-links {
    display: flex;
    gap: 40px;
}

.footer-column {
    flex: 1;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

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

.footer-section h4 {
    color: white;
    margin-bottom: 16px;
    font-size: 1rem;
}

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

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

.footer-section ul li a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 20px;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .header-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .header-contact {
        flex-direction: column;
        gap: 12px;
    }

    .page-header {
        margin-bottom: 40px;
        padding: 30px 20px;
    }

    .content-section {
        margin-bottom: 40px;
    }

    .section-content,
    .section-content.reverse {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section-content.reverse .content-text,
    .section-content.reverse .content-image {
        order: initial;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 20px;
    }

    .main-content {
        padding: 30px 0 60px;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 1.75rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .content-section h2 {
        font-size: 1.5rem;
        padding-left: 16px;
    }
    
    .text-content p {
        font-size: 0.95rem;
    }

    .section-content {
        gap: 20px;
    }
}