/* Global Styles for NMYGlobal Platform */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f4f7f6;
    color: #2c3e50;
    line-height: 1.6;
    padding: 0;
    margin: 0;
}

/* Top Bar & Multilingual Header */
.top-nav {
    background: linear-gradient(135deg, #0f2b48 0%, #1a4971 100%);
    color: #ffffff;
    padding: 18px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.brand-logo h1 {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #ffffff;
    margin: 0;
}

.brand-logo p {
    font-size: 13px;
    color: #a0aec0;
    margin-top: 2px;
}

.lang-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.lang-selector label {
    font-size: 13px;
    color: #ffffff;
    font-weight: 600;
}

.lang-selector select {
    background: #1a4971;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    outline: none;
}

/* Main Container */
.main-container {
    max-width: 1250px;
    margin: 30px auto;
    padding: 0 20px;
}

/* Global Milestones Banner */
.milestone-banner {
    background: #f0f7ff;
    border: 1px solid #cce3fd;
    border-radius: 8px;
    padding: 18px 24px;
    margin-bottom: 25px;
    box-shadow: 0 2px 6px rgba(43, 108, 176, 0.06);
}

.milestone-title {
    font-size: 15px;
    font-weight: 700;
    color: #1a4971;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.milestone-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.milestone-list li {
    font-size: 13.5px;
    color: #4a5568;
    position: relative;
    padding-left: 14px;
    margin-bottom: 4px;
}

.milestone-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #2b6cb0;
    font-weight: bold;
}

/* Section Block */
.section-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 28px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
}

.section-header {
    font-size: 16px;
    font-weight: 800;
    color: #1a4971;
    padding-bottom: 8px;
    margin-bottom: 14px;
    border-bottom: 2px solid #2b6cb0;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 25px;
}

.feature-item {
    background: #ffffff;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.feature-item h4 {
    font-size: 14px;
    color: #1a4971;
    font-weight: 700;
    margin-bottom: 6px;
}

.feature-item p {
    font-size: 12.5px;
    color: #4a5568;
    line-height: 1.5;
}

/* TAB NAVIGATION MENU FOR PRODUCTS */
ul.tabs {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    border-bottom: 2px solid #2b6cb0;
    flex-wrap: wrap;
}

ul.tabs li {
    background: #e2e8f0;
    color: #4a5568;
    display: inline-block;
    padding: 14px 28px;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.2s ease;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    margin-right: 4px;
}

ul.tabs li:hover {
    color: #1a4971;
    background: #edf2f7;
}

ul.tabs li.current {
    background: #ededed;
    color: #0f2b48;
    border-top: 3px solid #2b6cb0;
    border-left: 1px solid #cbd5e0;
    border-right: 1px solid #cbd5e0;
}

/* TAB CONTENT WRAPPER */
.tab-content {
    display: none;
    background: #ededed;
    padding: 22px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    margin-bottom: 30px;
}

.tab-content.current {
    display: block;
}

.tab-intro-box {
    background: #ffffff;
    border-left: 4px solid #2b6cb0;
    padding: 14px 18px;
    border-radius: 4px;
    font-size: 14px;
    color: #2d3748;
    font-weight: 600;
    margin-bottom: 18px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* Product Table */
table.catalog-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    font-size: 13px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 20px;
}

table.catalog-table th {
    background-color: #0f2b48;
    color: #ffffff;
    font-weight: 700;
    text-align: left;
    padding: 12px 14px;
    border: 1px solid #0f2b48;
}

table.catalog-table td {
    padding: 10px 12px;
    border: 1px solid #cbd5e0;
    vertical-align: middle;
    color: #2d3748;
}

table.catalog-table tr:nth-child(even) {
    background-color: #f8fafc;
}

/* Product Name Background Highlighting */
.prod-name-bg {
    background-color: #e0f2fe;
    color: #0369a1;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 800;
    display: inline-block;
    border: 1px solid #bae6fd;
    margin-bottom: 3px;
}

/* Badge Tags in Table */
.badge-tag {
    display: inline-block;
    padding: 1px 4px;
    border-radius: 3px;
    font-size: 11.5px;
    font-weight: 600;
    color: #4a5568;
    background: transparent;
    margin-top: 2px;
}

/* Detail Page Button Style */
.page-link-btn {
    background-color: #2b6cb0;
    color: #ffffff;
    border: none;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 6px;
    transition: background 0.2s ease;
}

.page-link-btn:hover {
    background-color: #1a4971;
}

/* Image Styling */
.img-cell {
    text-align: center;
    width: 85px;
}

.prod-img {
    width: 65px;
    height: 65px;
    object-fit: cover;
    background: #ffffff;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    padding: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: transform 0.2s ease;
}

.prod-img:hover {
    transform: scale(1.1);
}

.spec-box-tab {
    background: #ffffff;
    border-radius: 6px;
    padding: 18px 22px;
    margin-top: 25px;
    border: 1px solid #cbd5e0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.spec-box-tab h3 {
    font-size: 16px;
    font-weight: 800;
    color: #1a4971;
    margin-bottom: 12px;
    border-bottom: 2px solid #2b6cb0;
    padding-bottom: 6px;
}

/* Footer Style */
.footer {
    background: #ffffff;
    border-top: 2px solid #1a365d;
    padding: 24px 30px;
    margin-top: 50px;
    border-radius: 8px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.02);
}

.footer-grid {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}

.footer-grid td {
    padding: 6px 10px;
    vertical-align: top;
    color: #4a5568;
}

.footer-label {
    font-weight: 700;
    color: #1a365d;
    width: 110px;
}

/* Main Navigation Menu */
.main-menu {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-menu li a {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 4px;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.main-menu li a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

/* Product Detail Page Styles */
.red-box-container {
    background: #ffffff;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border: 2px solid #e11d48;
    margin-bottom: 30px;
}

.picxx_nr2 {
    text-align: center;
    font-size: 22pt;
    font-weight: 800;
    color: #0f2b48;
    margin-bottom: 30px;
    border-bottom: 2px solid #cbd5e1;
    padding-bottom: 15px;
}

.back-bar {
    max-width: 1100px;
    margin: 20px auto 0;
    padding: 0 20px;
}

.back-btn {
    display: inline-block;
    background: #00a896;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 10.5pt;
    transition: background 0.2s;
}

.back-btn:hover {
    background: #1a4971;
}

.img-showcase {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: 25px 0 35px 0;
    flex-wrap: wrap;
}

.img-item1 {
    background: #fff;
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    text-align: center;
    width: 60%;
}

.img-item1 img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

.img-caption1 {
    font-size: 9.5pt;
    color: #64748b;
    margin-top: 8px;
    font-weight: 600;
}

.content-text-box {
    text-align: left;
    line-height: 1.8;
}

.content-text-box p {
    margin-bottom: 15px;
}

.prod-detail-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .top-nav {
        flex-direction: column;
        gap: 12px;
        padding: 12px 20px;
    }
    .main-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    .main-menu li a {
        font-size: 11px;
        padding: 4px 8px;
    }
    .lang-selector {
        padding: 4px 10px;
    }
    .main-container {
        padding: 0 10px;
    }
}