* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 40px;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-logo {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.header-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #000;
}

.tagline {
    font-size: 0.95rem;
    color: #666;
    font-weight: 400;
}

main {
    background-color: #fff;
    padding: 40px 0;
}

section {
    margin-bottom: 50px;
}

h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #000;
}

.subtitle {
    font-size: 0.95rem;
    color: #999;
    font-weight: 400;
    margin-bottom: 20px;
    margin-top: -8px;
}

p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 15px;
    color: #444;
}

.tagline-small {
    font-size: 0.95rem;
    color: #666;
    margin-top: 20px;
    margin-bottom: 0;
    font-style: italic;
}

a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    color: #0052a3;
}

hr {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 40px 0;
}

/* Subsidiaries Table */
.subsidiaries-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.subsidiaries-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.2s ease;
}

.subsidiaries-table tbody tr:hover {
    background-color: #f9f9f9;
}

.subsidiaries-table tbody tr:last-child {
    border-bottom: none;
}

.logo-cell {
    width: 80px;
    padding: 15px;
    text-align: center;
    vertical-align: middle;
}

.subsidiary-logo {
    width: 60px;
    height: 60px;
}

.info-cell {
    padding: 15px 20px;
    vertical-align: middle;
}

.info-cell h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 5px;
    margin-top: 0;
}

.info-cell .industry {
    font-size: 0.8rem;
    color: #0066cc;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    margin-top: 0;
}

.info-cell .description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.links-cell {
    width: 140px;
    padding: 15px;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}

.links-cell a,
.links-cell span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin: 0 4px;
    color: #0066cc;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 4px;
}

.links-cell a:hover {
    transform: scale(1.15);
    background-color: rgba(0, 102, 204, 0.1);
}

.links-cell span {
    opacity: 0.4;
    cursor: default;
}

.links-cell span.coming-soon {
    color: #999;
}

/* Facts List */
.facts-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 20px;
}

.facts-column h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 15px;
}

.facts ul {
    list-style: none;
    padding-left: 0;
}

.facts li {
    padding: 4px 0;
    padding-left: 20px;
    position: relative;
    color: #444;
    font-size: 0.95rem;
    line-height: 1.4;
}

.facts li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #0066cc;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    margin-top: 30px;
}

.contact-column h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 15px;
    margin-top: 0;
}

.contact-column p {
    margin: 10px 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-note {
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
    margin: 0 0 12px 0;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.contact-list li {
    padding: 3px 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.contact-list a {
    font-weight: 500;
}

.contact-phone {
    margin: 15px 0 0 0;
    font-size: 0.95rem;
}

.contact-address {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.8;
}

.contact a {
    word-break: break-all;
}

/* Legal Pages */
.legal-nav {
    margin-bottom: 30px;
}

.legal-nav a {
    font-size: 0.9rem;
    color: #0066cc;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto 60px;
}

.legal-content h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #000;
}

.last-updated {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 30px;
}

.legal-links {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.legal-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    background-color: #f0f4f8;
    border: 1px solid #d0dce6;
    border-radius: 6px;
    color: #0066cc;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
}

.legal-links a:hover {
    background-color: #e0ecf7;
    border-color: #0066cc;
    color: #0052a3;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.15);
}

.legal-content section {
    margin-bottom: 30px;
}

.legal-content h2 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 15px;
}

.legal-content ul {
    margin-left: 20px;
    color: #444;
}

.legal-content li {
    margin-bottom: 10px;
    line-height: 1.6;
}

footer {
    background-color: #f5f5f5;
    padding: 30px 0;
    margin-top: 40px;
    border-top: 1px solid #e0e0e0;
    font-size: 0.9rem;
    color: #666;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-socials {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: #0066cc;
    transition: all 0.2s ease;
}

.footer-socials a:hover {
    color: #0052a3;
    transform: scale(1.1);
}

.footer-content {
    text-align: center;
}

.copyright {
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #0066cc;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    header {
        padding: 20px 0;
        margin-bottom: 35px;
    }

    .header-logo {
        width: 50px;
        height: 50px;
    }

    header h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 0.9rem;
    }

    h2 {
        font-size: 1.4rem;
        margin-bottom: 18px;
    }

    p {
        font-size: 0.95rem;
    }

    section {
        margin-bottom: 35px;
    }

    hr {
        margin: 35px 0;
    }

    /* Table improvements */
    .subsidiaries-table {
        font-size: 0.9rem;
    }

    .subsidiaries-table th {
        padding: 12px 10px;
        font-size: 0.85rem;
    }

    .subsidiaries-table td {
        padding: 12px 10px;
    }

    .company-cell {
        gap: 10px;
    }

    .logo-cell {
        width: 70px;
        padding: 12px;
    }

    .subsidiary-logo {
        width: 50px;
        height: 50px;
    }

    .info-cell {
        padding: 12px 15px;
    }

    .info-cell h3 {
        font-size: 1rem;
    }

    .links-cell {
        width: 120px;
        padding: 12px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .facts-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    footer {
        padding: 25px 0;
        font-size: 0.85rem;
    }

    .footer-links {
        gap: 15px;
    }

    .footer-links a {
        font-size: 0.8rem;
    }

    .legal-links {
        gap: 10px;
        margin-bottom: 35px;
    }

    .legal-links a {
        padding: 7px 14px;
        font-size: 0.85rem;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 15px;
    }

    header {
        padding: 15px 0;
        margin-bottom: 30px;
    }

    .header-content {
        gap: 15px;
    }

    .header-logo {
        width: 45px;
        height: 45px;
    }

    header h1 {
        font-size: 1.6rem;
    }

    h2 {
        font-size: 1.2rem;
        margin-bottom: 16px;
    }

    p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    section {
        margin-bottom: 30px;
    }

    hr {
        margin: 25px 0;
    }

    /* Mobile table card layout */
    .subsidiaries-table {
        font-size: 0.85rem;
        display: block;
        width: 100%;
    }

    .subsidiaries-table thead {
        display: none;
    }

    .subsidiaries-table tbody {
        display: block;
    }

    .subsidiaries-table tr {
        display: block;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        margin-bottom: 15px;
        overflow: hidden;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }

    .subsidiaries-table td {
        display: block;
        padding: 12px;
        border: none;
        border-bottom: 1px solid #e0e0e0;
        text-align: left;
    }

    .subsidiaries-table td:last-child {
        border-bottom: none;
    }

    .subsidiaries-table td::before {
        display: block;
        font-weight: 600;
        color: #0066cc;
        font-size: 0.8rem;
        margin-bottom: 4px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .subsidiaries-table td:first-child::before {
        content: "Company";
    }

    .subsidiaries-table td:nth-child(2)::before {
        content: "Industry";
    }

    .subsidiaries-table td:nth-child(3)::before {
        content: "Description";
    }

    .company-cell {
        gap: 10px;
        margin-bottom: 8px;
    }

    .company-cell a strong {
        font-size: 1rem;
    }

    .subsidiaries-table {
        font-size: 0.85rem;
    }

    .logo-cell {
        width: 60px;
        padding: 10px;
    }

    .subsidiary-logo {
        width: 45px;
        height: 45px;
    }

    .info-cell {
        padding: 10px 12px;
    }

    .info-cell h3 {
        font-size: 0.95rem;
        margin-bottom: 3px;
    }

    .info-cell .industry {
        font-size: 0.75rem;
        margin-bottom: 5px;
    }

    .info-cell .description {
        font-size: 0.85rem;
        display: none;
    }

    .links-cell {
        width: 100px;
        padding: 10px;
    }

    .links-cell a,
    .links-cell span {
        font-size: 1rem;
        margin: 0 2px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-column h3 {
        font-size: 0.95rem;
    }

    .facts-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .facts-column h3 {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    .facts-column h3::before {
        content: "→ ";
        color: #0066cc;
        font-weight: 700;
    }

    .facts li {
        padding: 5px 0;
        padding-left: 16px;
        font-size: 0.9rem;
    }

    footer {
        padding: 20px 0;
        font-size: 0.8rem;
    }

    .footer-links {
        gap: 12px;
        flex-direction: column;
    }

    .footer-links a {
        font-size: 0.75rem;
    }

    .legal-links {
        gap: 8px;
        margin-bottom: 30px;
    }

    .legal-links a {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}
