/* Auxiliary Pages CSS - One Intellix */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1F2937;
    background-color: #FFFFFF;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 600;
    margin-bottom: 16px;
}

h1 {
    font-size: 2.5rem;
    color: #111827;
}

h2 {
    font-size: 2rem;
    color: #111827;
}

h3 {
    font-size: 1.5rem;
    color: #374151;
}

h4 {
    font-size: 1.25rem;
    color: #374151;
}

p {
    margin-bottom: 16px;
    color: #6B7280;
    font-size: 1rem;
    line-height: 1.5;
}

ul, ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

li {
    margin-bottom: 8px;
    color: #6B7280;
}

a {
    color: #2563EB;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Header */
.header {
    background: #FFFFFF;
    border-bottom: 1px solid #E5E7EB;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-container {
    flex-shrink: 0;
}

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

.brand-name h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.brand-name a {
    color: #111827;
    text-decoration: none;
}

.brand-name a:hover {
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: #6B7280;
    font-weight: 500;
    text-decoration: none;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #2563EB;
    border-bottom-color: #2563EB;
}

.btn-contact {
    background-color: #2563EB;
    color: white !important;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    border: none !important;
    transition: all 0.2s ease;
}

.btn-contact:hover {
    background-color: #1D4ED8;
    transform: translateY(-1px);
    text-decoration: none !important;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%);
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 24px;
}

.page-header p {
    font-size: 1.25rem;
    color: #6B7280;
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 16px 32px;
    background-color: #2563EB;
    color: white;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background-color: #1D4ED8;
    transform: translateY(-1px);
    text-decoration: none;
}

/* Section Spacing */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    margin-bottom: 24px;
}

/* Image Placeholders */
.image-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #E5E7EB 0%, #D1D5DB 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6B7280;
    font-weight: 500;
    border: 2px dashed #9CA3AF;
}

/* Modern Image Styles for About Page */
.mission-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

/* About Page Specific Styles */
.company-overview {
    background-color: #FFFFFF;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.content-text h2 {
    color: #111827;
    margin-bottom: 24px;
}

.content-text p {
    font-size: 1.125rem;
    color: #6B7280;
    margin-bottom: 24px;
}

.company-values {
    background-color: #F8FAFC;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.value-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    text-align: center;
}

.value-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #2563EB 0%, #4F46E5 100%);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.value-icon svg {
    width: 32px;
    height: 32px;
}

.value-card h3 {
    color: #111827;
    margin-bottom: 16px;
}

.value-card p {
    color: #6B7280;
    margin: 0;
}

.leadership-team {
    background-color: #FFFFFF;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.team-member {
    background: #F8FAFC;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    text-align: center;
}

.member-image {
    margin-bottom: 24px;
}

.member-image .image-placeholder {
    height: 200px;
    border-radius: 50%;
    max-width: 200px;
    margin: 0 auto;
}

.member-info h3 {
    color: #111827;
    margin-bottom: 8px;
}

.member-title {
    color: #2563EB;
    font-weight: 600;
    margin-bottom: 16px;
}

.member-info p:last-child {
    color: #6B7280;
    margin: 0;
}

.company-history {
    background-color: #F8FAFC;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
    align-items: flex-start;
}

.timeline-year {
    background: linear-gradient(135deg, #2563EB 0%, #4F46E5 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.125rem;
    flex-shrink: 0;
    min-width: 80px;
    text-align: center;
}

.timeline-content {
    flex: 1;
}

.timeline-content h3 {
    color: #111827;
    margin-bottom: 12px;
}

.timeline-content p {
    color: #6B7280;
    margin: 0;
}

.contact-cta {
    background: linear-gradient(135deg, #2563EB 0%, #4F46E5 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 24px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-content .btn-primary {
    background-color: white;
    color: #2563EB;
}

.cta-content .btn-primary:hover {
    background-color: #F3F4F6;
    color: #1D4ED8;
}

/* Legal Pages Specific Styles */
.legal-content {
    background-color: #FFFFFF;
    padding: 80px 0;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 48px;
}

.legal-section h2 {
    color: #111827;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #E5E7EB;
}

.legal-section h3 {
    color: #374151;
    margin-bottom: 16px;
    margin-top: 32px;
}

.legal-section p {
    color: #6B7280;
    margin-bottom: 16px;
    line-height: 1.7;
}

.legal-section ul {
    margin-bottom: 24px;
}

.legal-section li {
    color: #6B7280;
    margin-bottom: 8px;
    line-height: 1.6;
}

.contact-info {
    background: #F8FAFC;
    padding: 24px;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
    margin-top: 24px;
}

.contact-info p {
    margin-bottom: 12px;
}

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

.contact-info strong {
    color: #374151;
}

.contact-info a {
    color: #2563EB;
    font-weight: 500;
}

/* Footer */
.footer {
    background: #111827;
    color: #9CA3AF;
    padding: 64px 0 32px;
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-brand .logo-container {
    width: 48px;
    height: 48px;
}

.footer-brand .logo {
    width: 48px;
    height: 48px;
}

.footer-brand h3 {
    color: white;
    font-size: 1.5rem;
    margin: 0;
}

.footer-brand p {
    color: #9CA3AF;
    margin: 0;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-column h4 {
    color: white;
    font-size: 1.125rem;
    margin-bottom: 24px;
}

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

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #9CA3AF;
    text-decoration: none;
}

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

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid #374151;
}

.footer-legal {
    text-align: center;
}

.footer-legal p {
    color: #9CA3AF;
    margin: 0;
}

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

    section {
        padding: 64px 0;
    }

    .page-header {
        padding: 64px 0;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .header-content {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .nav-links {
        gap: 16px;
        flex-wrap: wrap;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .values-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        flex-direction: column;
        gap: 16px;
    }

    .timeline-year {
        align-self: flex-start;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .logo-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .brand-name h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .mission-image {
        height: 250px;
    }

    .team-member-photo {
        width: 150px;
        height: 150px;
    }

    .page-header h1 {
        font-size: 1.75rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .value-card,
    .team-member {
        padding: 24px;
    }

    .image-placeholder {
        height: 200px;
    }

    .member-image .image-placeholder {
        height: 150px;
        max-width: 150px;
    }

    .timeline-item {
        margin-bottom: 32px;
    }

    .legal-section {
        margin-bottom: 32px;
    }

    .contact-info {
        padding: 16px;
    }
}