/* ==========================================================================
   True Investment Services - Compliance Stylesheet
   Theme-consistent styling matching Rovix Dark/Navy (#0F172A), Gold/Orange (#E8720C)
   ========================================================================== */

.compliance-section {
    padding: 50px 0 90px;
    background: #ffffff;
}

.compliance_hub_section {
    background-color: #f8fafc;
    padding: 80px 0 100px;
}

.compliance_hub_section .pxn_service_item {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 35px 30px !important;
    box-shadow: 0 6px 25px rgba(46, 36, 130, 0.05) !important;
    transition: all 0.35s ease !important;
}

.compliance_hub_section .pxn_service_item:hover {
    border-color: #fbd819 !important;
    box-shadow: 0 12px 35px rgba(46, 36, 130, 0.12) !important;
    transform: translateY(-5px) !important;
}

.compliance-wrapper,
.page-container,
.pw {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
}

/* Hero Box inside Page */
.compliance-hero {
    background: linear-gradient(135deg, #0F172A 0%, #1E3A5F 100%);
    padding: 40px 35px;
    text-align: center;
    color: #ffffff;
    position: relative;
}

.compliance-hero h1 {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.compliance-hero .comp-tagline {
    font-size: 14px;
    color: #E8720C;
    font-weight: 600;
    font-style: italic;
    margin-bottom: 10px;
}

.compliance-hero .comp-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 16px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.comp-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.comp-badge {
    background: rgba(232, 114, 12, 0.18);
    border: 1.5px solid rgba(232, 114, 12, 0.5);
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 12px;
    color: #ffffff;
    font-weight: 600;
}

/* Compliance Body Content */
.compliance-body {
    padding: 40px 45px;
    color: #374151;
    font-size: 14px;
    line-height: 1.75;
}

@media (max-width: 768px) {
    .compliance-body {
        padding: 25px 20px;
    }
    .compliance-hero {
        padding: 30px 20px;
    }
}

/* Headings */
h2.comp-sh {
    font-size: 15px;
    font-weight: 700;
    color: #C5600A;
    margin: 28px 0 14px;
    border-bottom: 2px solid #FEF0E4;
    padding-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 8px;
}

h3.comp-subsh {
    font-size: 14px;
    font-weight: 700;
    color: #0F172A;
    margin: 20px 0 10px;
}

/* Alert / Info Boxes */
.comp-ibox {
    background: #FEF0E4;
    border-left: 4px solid #E8720C;
    padding: 14px 18px;
    font-size: 13px;
    color: #374151;
    margin-bottom: 22px;
    border-radius: 0 8px 8px 0;
    line-height: 1.7;
}

.comp-gbox {
    background: #EBF5E9;
    border-left: 4px solid #4A8A3F;
    padding: 14px 18px;
    font-size: 13px;
    color: #2D6B28;
    border-radius: 0 8px 8px 0;
    line-height: 1.7;
    margin: 16px 0;
}

.comp-bbox {
    background: #DBEAFE;
    border-left: 4px solid #1D4ED8;
    padding: 14px 18px;
    font-size: 13px;
    color: #1E40AF;
    border-radius: 0 8px 8px 0;
    margin: 16px 0;
    line-height: 1.6;
}

.comp-wbox {
    background: #FFFBEB;
    border-left: 4px solid #D97706;
    padding: 14px 18px;
    font-size: 13px;
    color: #92400E;
    border-radius: 0 8px 8px 0;
    margin: 16px 0;
    line-height: 1.6;
}

/* Tables */
table.comp-table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0 20px;
    font-size: 13px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

table.comp-table th {
    background: #0F172A;
    color: #ffffff;
    padding: 12px 14px;
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

table.comp-table th.th-orange {
    background: #E8720C;
}

table.comp-table th.th-green {
    background: #4A8A3F;
}

table.comp-table td {
    padding: 11px 14px;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
    color: #374151;
}

table.comp-table tr:nth-child(even) td {
    background: #fdfaf6;
}

table.comp-table tr:last-child td {
    border-bottom: none;
}

/* Info key-value table */
table.comp-info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 8px 0 18px;
    font-size: 13.5px;
}

table.comp-info-table tr {
    border-bottom: 1px solid #F3F4F6;
}

table.comp-info-table tr:last-child {
    border-bottom: none;
}

table.comp-info-table td:first-child {
    padding: 10px 14px 10px 0;
    font-weight: 700;
    color: #6B7280;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    width: 220px;
    vertical-align: top;
}

table.comp-info-table td:last-child {
    padding: 10px 0;
    color: #1a1a2e;
}

/* Bullet list */
ul.comp-bl {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}

ul.comp-bl li {
    font-size: 13.5px;
    color: #374151;
    padding: 6px 0 6px 22px;
    position: relative;
    border-bottom: 1px solid #F3F4F6;
    line-height: 1.6;
}

ul.comp-bl li:last-child {
    border-bottom: none;
}

ul.comp-bl li:before {
    content: "•";
    position: absolute;
    left: 4px;
    color: #E8720C;
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
}

/* Partners Grid */
.comp-partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
    margin: 14px 0 24px;
}

.comp-partner-card {
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    padding: 14px 16px;
    background: #F9FAFB;
    border-left: 4px solid #E8720C;
    transition: transform 0.2s, box-shadow 0.2s;
}

.comp-partner-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.05);
}

.comp-pc-role {
    font-size: 10px;
    font-weight: 700;
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 3px;
}

.comp-pc-name {
    font-size: 15px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 4px;
}

.comp-pc-euin {
    font-size: 12px;
    color: #E8720C;
    font-weight: 600;
    margin-bottom: 2px;
}

.comp-pc-nism {
    font-size: 11px;
    color: #4A8A3F;
    font-weight: 500;
}

/* GRO Dark Card */
.comp-gro-card {
    background: #0F172A;
    border-radius: 12px;
    padding: 24px;
    margin: 18px 0;
    color: #ffffff;
}

.comp-gro-card .gb-title {
    font-size: 12px;
    font-weight: 700;
    color: #E8720C;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 14px;
}

.comp-gro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.comp-gr {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.comp-gl {
    font-size: 10.5px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.comp-gv {
    font-size: 13.5px;
    color: #ffffff;
    font-weight: 600;
}

.comp-gv a {
    color: #60A5FA;
    text-decoration: none;
}

/* Escalation Row / Matrix */
.comp-esc-row {
    display: flex;
    gap: 0;
    margin: 18px 0;
    overflow: hidden;
    border-radius: 10px;
}

.comp-esc-step {
    flex: 1;
    padding: 14px 10px;
    text-align: center;
    color: #ffffff;
}

.comp-esc-step .es-n {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 2px;
}

.comp-esc-step h4 {
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2px;
}

.comp-esc-step p {
    font-size: 10.5px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.3;
}

/* Detailed Vertical Escalation */
.comp-esc-container {
    margin: 18px 0;
}

.comp-esc-level {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 0;
    margin-bottom: 8px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #E5E7EB;
}

.comp-esc-num {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    min-height: 70px;
}

.comp-esc-body {
    padding: 12px 18px;
    background: #F9FAFB;
}

.comp-esc-body h4 {
    font-size: 13.5px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 3px;
}

.comp-esc-body .esc-contact {
    font-size: 12px;
    color: #1D4ED8;
    font-weight: 600;
}

.comp-esc-body .esc-time {
    font-size: 11.5px;
    color: #4A8A3F;
    font-weight: 600;
    margin-top: 2px;
}

.comp-esc-body .esc-desc {
    font-size: 11.5px;
    color: #6B7280;
    margin-top: 3px;
    line-height: 1.5;
}

/* Steps Grid */
.comp-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin: 16px 0;
}

.comp-step-card {
    border-radius: 10px;
    padding: 16px 14px;
    text-align: center;
    border: 1px solid #E5E7EB;
    background: #ffffff;
}

.comp-step-card .sn {
    font-size: 24px;
    font-weight: 700;
    color: #E8720C;
    margin-bottom: 4px;
}

.comp-step-card h4 {
    font-size: 13px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 4px;
}

.comp-step-card p {
    font-size: 11.5px;
    color: #6B7280;
    line-height: 1.5;
}

/* AMC Grid */
.comp-amc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 8px;
    margin: 12px 0;
}

.comp-amc-item {
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 12.5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.comp-amc-item .ai-name {
    font-weight: 600;
    color: #0F172A;
}

.comp-amc-item .ai-sebi {
    font-size: 11px;
    color: #4A8A3F;
    font-weight: 600;
}

/* Verification Box */
.comp-verify-box {
    background: linear-gradient(135deg, #0F172A 0%, #1E3A5F 100%);
    border: 2px solid #E8720C;
    border-radius: 14px;
    padding: 22px 24px;
    margin: 22px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
    text-align: center;
}

.comp-vb-title {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    grid-column: 1 / -1;
}

.comp-vi {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 12px 10px;
    transition: background 0.2s;
}

.comp-vi:hover {
    background: rgba(255, 255, 255, 0.14);
}

.comp-vi a {
    color: #60A5FA;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
}

.comp-vi p {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
    margin: 0;
}

/* Social media buttons */
.comp-social-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 14px 0;
}

.comp-soc-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    border: 1.5px solid #E5E7EB;
    background: #ffffff;
    color: #374151;
    transition: all 0.2s;
}

.comp-soc-btn:hover {
    background: #F3F4F6;
    border-color: #CBD5E1;
    color: #0F172A;
}

/* Disclaimer Strip */
.comp-disc-strip {
    background: #080E1A;
    padding: 30px 40px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 12px;
    line-height: 1.8;
}

.comp-disc-strip p {
    margin-bottom: 12px;
    text-align: justify;
}

.comp-disc-strip p:last-child {
    margin-bottom: 0;
}

.comp-disc-strip strong {
    color: rgba(255, 255, 255, 0.9);
}

/* Compliance Hub Directory Cards */
.comp-hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.comp-hub-card {
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 24px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.comp-hub-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(15, 23, 42, 0.08);
    border-color: #E8720C;
}

.comp-hub-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #E8720C;
    opacity: 0;
    transition: opacity 0.3s;
}

.comp-hub-card:hover::before {
    opacity: 1;
}

.comp-hub-badge {
    align-self: flex-start;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 14px;
}

.badge-legal { background: #FEF3C7; color: #B45309; }
.badge-protection { background: #DCFCE7; color: #15803D; }
.badge-licence { background: #DBEAFE; color: #1D4ED8; }
.badge-policy { background: #F3E8FF; color: #7E22CE; }
.badge-disclosure { background: #FFEDD5; color: #C2410C; }

.comp-hub-title {
    font-size: 17px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 8px;
}

.comp-hub-desc {
    font-size: 13px;
    color: #64748B;
    line-height: 1.6;
    margin-bottom: 18px;
    flex-grow: 1;
}

.comp-hub-link {
    font-size: 13px;
    font-weight: 700;
    color: #E8720C;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: gap 0.2s;
}

.comp-hub-link:hover {
    gap: 10px;
    color: #C5600A;
}

/* Compliance Navigation Sidebar / Pills */
.comp-nav-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #E2E8F0;
}

.comp-nav-pills a {
    padding: 6px 14px;
    border-radius: 20px;
    background: #F1F5F9;
    color: #475569;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.comp-nav-pills a:hover,
.comp-nav-pills a.active {
    background: #0F172A;
    color: #ffffff;
}

/* Footer Mobile App Store Badges */
.footer_store_badge {
    display: inline-block;
    transition: transform 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease;
    border-radius: 7px;
    line-height: 0;
    text-decoration: none;
}

.footer_store_badge img {
    height: 42px;
    width: auto;
    display: block;
    border-radius: 7px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: all 0.25s ease;
}

.footer_store_badge:hover {
    transform: translateY(-2px);
}

.footer_store_badge:hover img {
    border-color: rgba(251, 216, 25, 0.6);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

/* ==========================================================================
   Modern Wealth Products Section (Home & Small Screens)
   ========================================================================== */
.ti-wealth-products-section {
    position: relative;
    padding: 100px 0;
    background-color: #f8fafc;
}

.ti-wealth-product-card {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-shadow: 0 6px 25px rgba(46, 36, 130, 0.05) !important;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease !important;
    position: relative;
}

.ti-wealth-product-card:hover {
    transform: translateY(-6px) !important;
    border-color: #2e2482 !important;
    box-shadow: 0 16px 40px rgba(46, 36, 130, 0.12) !important;
}

.ti-wealth-product-img {
    position: relative;
    width: 100%;
    height: 230px;
    overflow: hidden;
    background-color: #e2e8f0;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.ti-wealth-product-img a {
    display: block;
    width: 100%;
    height: 100%;
}

.ti-wealth-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.ti-wealth-product-card:hover .ti-wealth-product-img img {
    transform: scale(1.06);
}

.ti-wealth-product-badges {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    z-index: 2;
    pointer-events: none;
}

.ti-badge-reg {
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.ti-badge-reg i {
    color: #fbd819;
    font-size: 11px;
}

.ti-badge-cat {
    background: rgba(34, 168, 56, 0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(34, 168, 56, 0.25);
}

.ti-badge-cat.alt {
    background: rgba(46, 36, 130, 0.92);
    box-shadow: 0 2px 8px rgba(46, 36, 130, 0.25);
}

.ti-wealth-product-body {
    padding: 24px 26px 26px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.ti-wealth-product-title {
    font-size: 21px;
    font-weight: 800;
    line-height: 1.35;
    color: #2e2482;
    margin: 0 0 10px 0;
}

.ti-wealth-product-title a {
    color: #2e2482;
    text-decoration: none;
    transition: color 0.25s ease;
}

.ti-wealth-product-title a:hover {
    color: #e8720c;
}

.ti-wealth-product-desc {
    font-size: 14.5px;
    color: #64748b;
    line-height: 1.65;
    margin-bottom: 18px;
    flex-grow: 1;
}

.ti-wealth-product-meta {
    list-style: none;
    padding: 14px 0 0 0;
    margin: 0 0 20px 0;
    border-top: 1px solid #f1f5f9;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
}

.ti-wealth-product-meta li {
    font-size: 12.5px;
    color: #334155;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ti-wealth-product-meta li i {
    color: #22a838;
    font-size: 13px;
    flex-shrink: 0;
}

.ti-wealth-product-footer {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.ti-wealth-product-footer .service_btn {
    width: 100%;
    justify-content: space-between;
}

/* Tablet & Mobile Responsiveness */
@media (max-width: 991px) {
    .ti-wealth-products-section {
        padding: 70px 0;
    }
}

@media (max-width: 767px) {
    .ti-wealth-product-meta {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

@media (max-width: 575px) {
    .ti-wealth-products-section {
        padding: 50px 0;
    }
    .ti-wealth-product-img {
        height: 180px;
    }
    .ti-wealth-product-body {
        padding: 18px 16px 20px;
    }
    .ti-wealth-product-title {
        font-size: 19px;
    }
    .ti-wealth-product-desc {
        font-size: 13.5px;
        margin-bottom: 14px;
    }

}

