/* =========================================
   STEMigo Overseas - Privacy Policy
========================================= */

.privacy-page {
    padding: 40px 0;
    background: #f4f7fb;
    color: #334155;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.7;
}

.privacy-page * {
    box-sizing: border-box;
}

.privacy-page .container {
    width: 100%;
}

/* Header */

.privacy-header {
    margin-bottom: 24px;
}

.privacy-header h1 {
    margin: 0 0 8px;
    color: #102f63;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
}

.privacy-effective {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

.privacy-underline {
    display: block;
    width: 55px;
    height: 4px;
    margin: 12px 0;
    background: #ff6900;
    border-radius: 4px;
}

.privacy-intro {
    margin: 0;
    color: #475569;
    font-size: 14px;
    line-height: 1.7;
}

/* Sections: One full-width card per row */

.privacy-sections {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.privacy-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
    min-width: 0;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #e5eaf1;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(16, 47, 99, 0.04);
    transition: border-color 0.2s ease,
                box-shadow 0.2s ease;
}

.privacy-card:hover {
    border-color: #d5e0ef;
    box-shadow: 0 5px 16px rgba(16, 47, 99, 0.07);
}

/* Section Icons */

.privacy-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    margin: 0;
    border-radius: 10px;
    font-size: 21px;
}

.privacy-icon.orange {
    color: #f05a00;
    background: #fff0e5;
}

.privacy-icon.blue {
    color: #075db6;
    background: #e5f1ff;
}

.privacy-icon.green {
    color: #008f83;
    background: #e2f7f0;
}

.privacy-icon.red {
    color: #d92346;
    background: #ffe8ed;
}

/* Content */

.privacy-content {
    flex: 1;
    min-width: 0;
}

.privacy-content h2 {
    margin: 0 0 10px;
    color: #102f63;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}

.privacy-content p {
    margin: 0 0 10px;
    color: #475569;
    font-size: 14px;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.privacy-content p:last-child {
    margin-bottom: 0;
}

.privacy-content strong {
    color: #102f63;
    font-weight: 700;
}

/* Lists */

.privacy-content ul {
    margin: 0 0 12px;
    padding-left: 20px;
}

.privacy-content li {
    margin-bottom: 6px;
    padding-left: 2px;
    color: #475569;
    font-size: 14px;
    line-height: 1.7;
}

.privacy-content li:last-child {
    margin-bottom: 0;
}

/* Links */

.privacy-content a {
    color: #075db6;
    font-weight: 600;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.privacy-content a:hover {
    color: #ff6900;
    text-decoration: underline;
}

/* Contact Section */

.privacy-contact-card {
    width: 100%;
}

.privacy-contact-card .privacy-content h2 {
    margin-bottom: 0px;
}

.privacy-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 18px;
}

.privacy-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    padding: 0 12px;
    border-right: 1px solid #e5eaf1;
}

.privacy-contact-item:first-child {
    padding-left: 0;
}

.privacy-contact-item:last-child {
    padding-right: 0;
    border-right: none;
}

.privacy-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    color: #ff5b00;
    background: #fff0e5;
    border-radius: 10px;
    font-size: 18px;
}

.privacy-contact-item strong {
    display: block;
    margin-bottom: 4px;
    color: #102f63;
    font-size: 14px;
    font-weight: 700;
}

.privacy-contact-item p {
    margin: 0 0 4px;
    color: #334e70;
    font-size: 14px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.privacy-contact-item small {
    display: block;
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
}

.privacy-contact-item a {
    color: #102f63;
    font-weight: 700;
    text-decoration: none;
}

.privacy-contact-item a:hover {
    color: #ff6900;
}

/* Tablet */

@media (max-width: 991px) {
    .privacy-page {
        padding: 30px 0;
    }

    .privacy-contact-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .privacy-contact-item,
    .privacy-contact-item:first-child,
    .privacy-contact-item:last-child {
        padding: 0 0 14px;
        border-right: none;
        border-bottom: 1px solid #e5eaf1;
    }

    .privacy-contact-item:last-child {
        padding-bottom: 0;
        border-bottom: none;
    }
}

/* Mobile */

@media (max-width: 767px) {
    .privacy-page {
        padding: 24px 0;
    }

    .privacy-header {
        margin-bottom: 18px;
    }

    .privacy-header h1 {
        font-size: 24px;
    }

    .privacy-card {
        gap: 12px;
        padding: 16px;
        border-radius: 10px;
    }

    .privacy-icon {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .privacy-content h2 {
        font-size: 16px;
    }

    .privacy-content p,
    .privacy-content li {
        font-size: 14px;
    }

    .privacy-contact-grid {
        gap: 14px;
    }
}

/* Small Mobile */

@media (max-width: 380px) {
    .privacy-card {
        gap: 10px;
        padding: 12px;
    }

    .privacy-icon {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
        font-size: 16px;
    }
}
