@charset "utf-8";
/* ============================================================
   NPL World News — Inner Pages (About Us, Unicode Converter, ...)
   Loaded via registerCssFile('@web/css/pages.css') from each view.
   Reuses --npl-navy / --npl-orange / --npl-red / --npl-line /
   --npl-bg-soft / --npl-ink / --npl-grey declared in
   header-redesign.css — fallback hex values included too.
   ============================================================ */

/* ---------- Page hero ---------- */
.page-hero{
    position: relative;
    background: var(--npl-navy, #1c1677);
    background-image:
        radial-gradient(circle at 90% 0%, rgba(235,141,2,.18), transparent 45%),
        radial-gradient(circle at 0% 100%, rgba(255,255,255,.06), transparent 40%);
    padding: 34px 0 38px;
    overflow: hidden;
}
.page-hero-inner{
    position: relative;
}
.page-breadcrumb{
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font: 500 13px 'Open Sans', sans-serif;
}
.page-breadcrumb li{
    color: #b9b4f2;
    display: flex;
    align-items: center;
    gap: 8px;
}
.page-breadcrumb li:not(:last-child)::after{
    content: '/';
    color: rgba(255,255,255,.3);
}
.page-breadcrumb li a{
    color: #b9b4f2;
    text-decoration: none;
}
.page-breadcrumb li a:hover{
    color: #ffffff;
}
.page-breadcrumb li:last-child{
    color: #ffffff;
}
.page-hero h1{
    font: 800 32px 'Mukta', sans-serif;
    color: #ffffff;
    margin: 0 0 10px;
}
.page-hero-sub{
    font: 400 16px/26px 'Open Sans', sans-serif;
    color: #c7c3f6;
    margin: 0;
    max-width: 640px;
}

/* ---------- About: intro paragraph ---------- */
.about-intro{
    font: 400 17px/30px 'Open Sans', sans-serif;
    color: var(--npl-ink, #242424);
    max-width: 820px;
    margin: 36px auto 40px;
    text-align: center;
}

/* ---------- About: value cards ---------- */
.about-values{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-bottom: 44px;
}
.value-card{
    background: #ffffff;
    border: 1px solid var(--npl-line, #e6e6e6);
    border-radius: 10px;
    padding: 26px 20px;
    text-align: center;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.value-card:hover{
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(20,16,88,.1);
    border-color: transparent;
}
.value-icon{
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--npl-bg-soft, #f6f7fb);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--npl-orange, #eb8d02);
}
.value-card h3{
    font: 700 17px 'Mukta', sans-serif;
    color: var(--npl-navy, #1c1677);
    margin: 0 0 10px;
}
.value-card p{
    font: 400 14px/23px 'Open Sans', sans-serif;
    color: var(--npl-grey, #5f5f5f);
    margin: 0;
}

/* ---------- About: contact CTA ---------- */
.about-contact-cta{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    background: var(--npl-navy, #1c1677);
    border-radius: 12px;
    padding: 30px 34px;
    margin-bottom: 50px;
}
.about-contact-cta h3{
    font: 700 20px 'Mukta', sans-serif;
    color: #ffffff;
    margin: 0 0 6px;
}
.about-contact-cta p{
    font: 400 14px 'Open Sans', sans-serif;
    color: #c7c3f6;
    margin: 0;
}
.cta-actions{
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.cta-btn{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--npl-orange, #eb8d02);
    color: #ffffff;
    font: 700 14px 'Mukta', sans-serif;
    padding: 11px 20px;
    border-radius: 24px;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s ease, transform .15s ease;
}
.cta-btn:hover{
    background: #d17e00;
    transform: translateY(-2px);
    color: #ffffff;
}
.cta-btn.outline{
    background: transparent;
    border: 1px solid rgba(255,255,255,.35);
    color: #ffffff;
}
.cta-btn.outline:hover{
    background: rgba(255,255,255,.1);
    border-color: #ffffff;
}

/* ---------- Unicode converter page ---------- */
.unicodeSection{
    padding: 36px 0 50px;
}
.uni-note{
    font: 400 15px/26px 'Open Sans', sans-serif;
    color: var(--npl-grey, #5f5f5f);
    max-width: 720px;
    margin: 0 auto 28px;
    text-align: center;
}
.uni-tabs{
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 24px;
}
.uni-tab-btn{
    border: 1px solid var(--npl-line, #e6e6e6);
    background: #ffffff;
    color: var(--npl-ink, #242424);
    font: 600 15px 'Mukta', sans-serif;
    padding: 11px 24px;
    border-radius: 24px;
    cursor: pointer;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.uni-tab-btn:hover{
    border-color: var(--npl-navy, #1c1677);
    color: var(--npl-navy, #1c1677);
}
.uni-tab-btn.is-active{
    background: var(--npl-navy, #1c1677);
    border-color: var(--npl-navy, #1c1677);
    color: #ffffff;
}
.uni-panel{
    display: none;
    max-width: 760px;
    margin: 0 auto;
}
.uni-panel.is-active{
    display: block;
}
.uni-card{
    background: #ffffff;
    border: 1px solid var(--npl-line, #e6e6e6);
    border-radius: 10px;
    padding: 8px;
    box-shadow: 0 10px 26px rgba(20,16,88,.06);
}
.uni-card iframe{
    width: 100%;
    height: 420px;
    border: 0;
    display: block;
    border-radius: 6px;
}
.uni-attrib{
    font: 400 12px 'Open Sans', sans-serif;
    color: #9a9a9a;
    text-align: right;
    margin: 10px 4px 0;
}
.uni-attrib a{
    color: var(--npl-grey, #5f5f5f);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 991px){
    .about-values{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px){
    .page-hero{ padding: 26px 0 30px; }
    .page-hero h1{ font-size: 26px; }
    .about-values{ grid-template-columns: 1fr; }
    .about-contact-cta{ padding: 24px; }
    .about-contact-cta > div:first-child{ text-align: center; width: 100%; }
    .cta-actions{ width: 100%; justify-content: center; }
    .uni-tabs{ flex-wrap: wrap; }
    .uni-card iframe{ height: 380px; }
}

/* ---------- Contact page ---------- */
.contact-grid{
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 28px;
    margin: 36px 0 50px;
}
.contact-info-card{
    background: #ffffff;
    border: 1px solid var(--npl-line, #e6e6e6);
    border-radius: 12px;
    padding: 30px;
}
.contact-info-card h3{
    font: 700 19px 'Mukta', sans-serif;
    color: var(--npl-navy, #1c1677);
    margin: 0 0 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--npl-line, #e6e6e6);
}
.contact-info-list{
    list-style: none;
    margin: 0 0 26px;
    padding: 0;
}
.contact-info-list li{
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    font: 400 15px 'Open Sans', sans-serif;
    color: var(--npl-ink, #242424);
}
.contact-info-list li i{
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--npl-bg-soft, #f6f7fb);
    color: var(--npl-orange, #eb8d02);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
}
.contact-info-list li a{
    color: var(--npl-ink, #242424);
    text-decoration: none;
}
.contact-info-list li a:hover{
    color: var(--npl-navy, #1c1677);
}
.contact-social{
    display: flex;
    gap: 10px;
}
.contact-social a{
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--npl-bg-soft, #f6f7fb);
    color: var(--npl-navy, #1c1677);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s ease, color .15s ease;
}
.contact-social a:hover{
    background: var(--npl-navy, #1c1677);
    color: #ffffff;
}
.contact-map-card{
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--npl-line, #e6e6e6);
    min-height: 360px;
}
.contact-map-card iframe{
    width: 100%;
    height: 100%;
    min-height: 360px;
    border: 0;
    display: block;
}
@media (max-width: 900px){
    .contact-grid{ grid-template-columns: 1fr; }
    .contact-map-card{ min-height: 300px; }
    .contact-map-card iframe{ min-height: 300px; }
}

/* ============================================================
   SETUP NOTES (delete once applied)
   ------------------------------------------------------------
   1. Save this file at web/css/pages.css (matches the
      registerCssFile('@web/css/pages.css') call already in
      about-us.php and unicode.php — no AppAsset change needed,
      it's registered per-view).

   2. Load order: it depends on header-redesign.css's :root
      variables for exact brand colors, but every rule also has
      a fallback hex value, so it still renders correctly even
      if loaded on its own or before header-redesign.css.
   ============================================================ */
