/*--------------------------------------------------------------
# Custom Section
--------------------------------------------------------------*/
.nopad {
    padding: 0 0 0 0 !important;
}

.nomg {
    margin: 0 0 0 0 !important;
    ;
}

.bg {
    background-color: #fff;
}

.bd {
    border: solid 1px #ddd;
}

.bd-blue {
    border: solid 1px #407588;
}

.bd-green {
    border: solid 1px #45a37f;
}

.bd-yellow {
    border: solid 1px #dfb600;
}

.bd-red {
    border: solid 1px #940b0b;
}

.card-front {
    /* Location of the image */
    background-image: url(../../res/neapay-card-front.png);
    background-size: auto 100%;
    background-repeat: no-repeat;
    width: 500px;
    max-width: 550px;
    height: 300px;
    max-height: 350px;
    overflow: hidden;
    width: 500px;
}

.card-back {
    /* Location of the image */
    background-image: url(../../res/neapay-card-back.png);
    background-size: auto 100%;
    background-repeat: no-repeat;
    width: 500px;
    max-width: 550px;
    height: 300px;
    max-height: 350px;
    overflow: hidden;
    width: 500px;
}

.roundedc {
    border-radius: 15px 15px 15px 15px;
}

.pill-border {
    border-radius: 50px;
}

.bgdot {
    background: url(../../res/dot.png) no-repeat;
    padding: 20px 0 0 20px;
}

.bgdot-right {
    background: url(../../res/dot.png) no-repeat right top;
    padding: 20px 20px 0px 0;
}

.bgdotr {
    background: url(../../res/dot.png) no-repeat right top;
    padding: 20px 20px 0px 0;
}

.img-50 {
    width: 50%;
}

.shadow {
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
}

.pad {
    padding: 30px;
}

.contentSeparator {
    height: 90px;
}

.content {
    background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    padding: 30px;
    border-radius: 10px;
}

@media (max-width: 1468px) {
    .btn-mobile {
        padding: 6px 12px;
        font-size: 0.875rem;
        line-height: 1.25;
    }
}

.btn-offer {
    background-color: var(--flash-color);
}

.btn-offer:hover {
    background-color: color-mix(in srgb, var(--flash-color), transparent 30%);
}

.btn-lg {
    padding: 8px 16px;
}

.account {
    padding: 40px;
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
}

.help-block {
    text-align: left;
    font-size: 0.8em;
    font-weight: 700;
    color: #b80000;
}

.has-error input {
    border-color: #b80000;
    color: #901111;
}

.em-8 {
    font-size: 8em;
}

.em-4 {
    font-size: 4em;
}

.em-3 {
    font-size: 3em;
}

.em-2 {
    font-size: 2em;
}

.em-08 {
    font-size: 0.8em;
}

.em-06 {
    font-size: 0.6em;
}

div.plus {
    height: 300px;
    overflow: hidden;
}


.wrapper {
    overflow: hidden;
    padding: 0;

}

.marquee {
    display: inline-flex;
    animation: marquee 60s linear infinite;
}

.marquee img {
    border-radius: 15px 15px 15px 15px;
    max-width: 200px;
    max-height: 100px;
}

@keyframes marquee {
    from {
        transform: translateX(0%);
    }

    to {
        transform: translateX(-50%);
    }
}



.lines-spaced h1,
.lines-spaced h2,
.lines-spaced h3,
.lines-spaced h4,
.lines-spaced h5,
.lines-spaced h6 {
    line-height: 2em;
}

.btn-min {
    padding: 6px 6px;
}

.shoptitle {
    padding-top: 5px;
}

.round {
    border-radius: 50% !important;
}

.right {
    text-align: right;
}

.center {
    text-align: center;
}



/*--------------------------------------------------------------
  # backgrounds
  --------------------------------------------------------------*/
.bg-hero-cu {
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 1)), url('../../assets/img/hero-bg-light.webp') no-repeat scroll 0px 100% / cover transparent;

}

.bg-cardhand {
    position: relative;
    background: url('../../res/neapay-hand.png') no-repeat right top / auto 100%;
}




/*
  .gradient-section {
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.2)), url('../../res/bg/Designer (55).jpeg') no-repeat scroll 0px 100% / contain transparent;
  
  }*/


.corner-div {
    width: 100%;
    height: 200px;
    position: relative;
    background-color: transparent;
}

.corner-div::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;

    border-right: 50px solid transparent;
}

.corner-div.green::before {

    border-top: 50px solid rgb(43, 117, 43);
    /* 10% of 200px */

}

.corner-div.red::before {
    border-top: 50px solid rgb(173, 36, 36);
    /* 10% of 200px */

}

.corner-div.yellow::before {
    border-top: 50px solid rgb(228, 200, 44);
    /* 10% of 200px */

}

.smaller {
    font-size: 0.7em;
}

/*s
  #form
  */
.form-inline {
    display: inline;
    width: auto;
}


@media (max-width: 1200px) {
    .section .container .content {
        margin: 0px;
        padding: 5px;
    }



    .pad {
        padding: 10px;
    }
}


.tr50 {
    color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.n {
    display: none;
}

@media (min-width: 992px) {
    .section .container .content-header h2 {
        font-size: 3em;
    }
}

.glow {
    text-shadow: 1px 1px 1px rgb(255, 255, 255);
    /* Adjust glow effect */
}

@media (max-width: 992px) {
    .nobg-mobile {
        background: none;
    }

    .nobg-mobile::before {
        background: none;
    }
}

.titletag {
    display: block;
    margin: 0 0 1rem 0;
    letter-spacing: .15rem;
    color: #0b1016;
    text-transform: uppercase;
    position: relative;
    padding-left: 2.5rem;
    font-size: .85rem;
    font-weight: 400;
}

@media all and (max-width:768px) {
    .table-media-resp tr {
        display: table;
        width: 100%;
    }

    .table-media-resp td {
        display: table-row;
        table-layout: fixed;
        overflow-wrap: break-word;
    }
}

table {
    width: 100%;
    table-layout: fixed;
    overflow-wrap: break-word;
}


.card-e {
    /* Use linear-gradient for the 10% colored section */
    /*background: linear-gradient(to bottom right, #f3f9ff 0%, white 50%);*/
    background: #EFF7FF;
    /* Add border */
    border: 0px solid #efefe0;

    /* Add rounded corners */
    border-radius: 20px;
    /* You can adjust the pixel value for the roundness */

    /* Optional: Add padding/height for visibility with content */
    padding: 20px;
    min-height: 50px;
}

video {
    object-fit: fill;
}

.lightblue {
    color: #637981;
}

.content {
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
}

.inv-blue {
    background-color: #08538c !important;
    color: #fff !important;
}

.inv-blue .img {
    border-radius: 25px;
    margin: 0 25px;
}

.inv-blue .content {
    background: #08538c !important;
    color: #fff !important;
}

.inv-blue h1,
.inv-blue h2,
.inv-blue h3,
.inv-blue h4,
.inv-blue h5,
.inv-blue h6 {
    color: #add8e6;
}

.linkedin-share {
    background-color: #0a66c2;
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
}

.fitting-image,
.img-fitting {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.img-w {
    width: 100%;

    object-fit: cover;
}

h4,
h5,
h6 {
    font-weight: bold;
}

/* hero image */
#hero .bgdot {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

#hero .bgdot img {
    width: auto;
    max-width: 100%;
    max-height: 720px;
    object-fit: contain;
    display: block;
}

@media (max-width: 991.98px) {
    #hero .bgdot img {
        max-height: 340px;
    }
}

@media (max-width: 575.98px) {
    #hero .bgdot img {
        max-height: 260px;
    }
}

/* badges */
.bg-primary-soft {
    background-color: rgba(13, 110, 253, 0.1);
    font-size: 0.75rem;
    font-weight: 700;

}

.bg-success-soft {
    background-color: rgba(13, 253, 161, 0.1);
    font-size: 0.75rem;
    font-weight: 700;
}

.text-darkred {
    color: #790303;
}

.text-darkblue {
    color: #004f8b;
}

.text-lightblue {
    color: #66b5d4;
}

.icon-box {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
}

.custom-hover-card {
    transition: all 0.3s ease-in-out;
    border: 1px solid transparent;
}

/* Hover Effect: Lift, Glow, and Border */
.custom-hover-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
    border-color: rgba(13, 110, 253, 0.3) !important;
    background-color: #ffffff;
    /* Turns white on hover if it was tinted */
}

.tracking-wider {
    letter-spacing: 0.08em;
    font-size: 0.75rem;
}

@media (max-width: 768px) {
    .tracking-wider {
        letter-spacing: 0.02em !important;
    }
}


.bd-left {
    border-left: 3px solid #506f86;

}




/* 
1. Blueprint Technical Background Linear Roadmap



*/
.linear-pipeline-bg {
    background-color: #ffffff;
    background-image:
        radial-gradient(rgba(13, 110, 253, 0.05) 1.5px, transparent 1.5px);
    background-size: 30px 30px;
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* 2. Horizontal Container & Line */
.pipeline-horizontal-wrapper {
    position: relative;
    padding: 40px 0;
}

.data-bus-line {
    position: absolute;
    top: 80px;
    /* Perfectly aligned with the center of the 80px icons */
    left: 50px;
    right: 50px;
    height: 2px;
    background: #e9ecef;
    z-index: 0;
}

/* 3. The Icon Nodes (80px) */
.pipeline-item {
    z-index: 1;
    min-width: 180px;
}

.node-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: #ffffff;
    border: 2px solid #f1f4f9;
    border-radius: 24px;
    /* Modern "Squircle" shape */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: #0d6efd;
    margin-bottom: 1.5rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.pipeline-item:hover .icon-circle {
    transform: translateY(-10px) scale(1.1);
    border-color: #0d6efd;
    box-shadow: 0 15px 30px rgba(13, 110, 253, 0.15) !important;
}

/* 4. Text & Labels */
.step-title {
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.step-desc {
    font-size: 0.75rem;
    line-height: 1.3;
    color: #6c757d;
    margin: 0;
}

/* 5. Accents */
.shadow-glow {
    box-shadow: 0 0 25px rgba(13, 110, 253, 0.35);
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .roadmap-scroll-container {
        overflow-x: auto;
        padding-bottom: 2rem;
    }

    .data-bus-line {
        display: none;
    }
}

/* END Blueprint Technical Background Linear Roadmap 
*/


/* Background: Technical Blueprint Grid */
.showcase-bg {
    background-color: #f8fbff;
    background-image:
        radial-gradient(rgba(13, 110, 253, 0.05) 1.5px, transparent 1.5px),
        linear-gradient(rgba(13, 110, 253, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 110, 253, 0.02) 1px, transparent 1px);
    background-size: 30px 30px;
}

/* The Main Showcase Container */
.card-showcase {
    background: #fff;
    border-radius: 24px;
}

.bg-tech-dark {
    background: #0a192f;
    /* Deep Navy for technical contrast */
}

/* Feature Nodes on the left */
.feature-node {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.node-icon-sm {
    font-size: 1.25rem;
    color: #0d6efd;
    background: rgba(13, 110, 253, 0.15);
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

/* Video Styling */
.video-container-premium {
    position: relative;
    z-index: 1;
}

.videoWrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    border-radius: 12px;
    overflow: hidden;
    z-index: 2;
}

.videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-accent {
    position: absolute;
    top: 20px;
    right: -20px;
    bottom: -20px;
    left: 20px;
    background: rgba(13, 110, 253, 0.05);
    border-radius: 12px;
    z-index: 0;
}

/* Typography & Helpers */
.h-divider-long {
    width: 100px;
    height: 4px;
    background: #0d6efd;
    border-radius: 2px;
}

.x-small {
    font-size: 0.75rem;
}

.bg-primary-soft {
    background-color: rgba(13, 110, 253, 0.08);
}

@media (max-width: 991px) {
    .video-accent {
        display: none;
    }

    .card-showcase {
        border-radius: 12px;
    }
}

/* END Background: Technical Blueprint Grid */



.bg-primary-soft {
    background-color: rgba(13, 110, 253, 0.08);
    color: #0d6efd;
}

/* 4. List Styling */
.adapter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.adapter-list li {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 1rem;
    padding-left: 20px;
    position: relative;
}

.adapter-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: #0d6efd;
    font-weight: bold;
}

.adapter-list a {
    text-decoration: none;
    font-weight: 600;
    color: #0d6efd;
}

.adapter-list a:hover {
    text-decoration: underline;
}

/* 5. Helpers */
.h-divider {
    width: 60px;
    height: 3px;
    background: #0d6efd;
    border-radius: 2px;
}

.py-6 {
    padding: 6rem 0;
}

/* END Technical Hub Background */


/* Code Window */
.code-window {
    background: #1e1e2e;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid #30363d;
}

.terminal-header {
    background: #252535;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #30363d;
}

.dot {
    height: 12px;
    width: 12px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
}

.dot-red {
    background: #ff5f56;
}

.dot-yellow {
    background: #ffbd2e;
}

.dot-green {
    background: #27c93f;
}

.nav-pills .nav-link {
    color: #8b949e;
    border-radius: 6px;
    transition: all 0.3s;
}

.nav-pills .nav-link.active {
    background: rgba(88, 166, 255, 0.1) !important;
    color: #58a6ff !important;
    border: 1px solid #58a6ff;
}

pre.code-display {
    color: #d1d5db;
    font-size: 0.8rem;
    line-height: 1.6;
    height: 420px;
    margin: 0;
}

.keyword {
    color: #ff7b72;
}

.variable {
    color: #79c0ff;
}

.string {
    color: #a5d6ff;
}

.code-window {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.code-window:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(13, 110, 253, 0.15);
    /* Subtle blue glow */
}

.copy-btn {
    opacity: 0.6;
    transition: opacity 0.2s;
    background: none;
    border: none;
    color: #fff;
}

.copy-btn:hover {
    opacity: 1;
}


.required {
    color: #ef4444;
    /* Red 500 */
    font-size: 1.2rem;
    font-weight: 600;
    margin-left: 4px;
}


/*--------------------------------------------------------------
# Top-navigation dropdown visual enhancements
# Renders icons + descriptions on menu entries. Structural rules
# (positioning, hover, visibility) remain controlled by main.css so
# existing behavior is preserved.
#
# The PHP renderer always emits the same "rich" markup:
#   <a>
#     <span class="menu-icon"><i class="bi ..."></i></span>
#     <span class="menu-body">
#       <span class="menu-title">...</span>
#       <span class="menu-desc">...</span>   (optional)
#     </span>
#     <i class="bi bi-chevron-down toggle-dropdown"></i> (dropdowns only)
#   </a>
#
# All colors come from CSS variables declared in main.css so the menu
# automatically follows theme changes.
--------------------------------------------------------------*/

/* Menu body is a vertical stack (title + optional description).
   Works both at top-level and inside dropdowns. */
.navmenu .menu-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.3;
    text-align: left;
}

.navmenu .menu-title {
    font-weight: 500;
    color: inherit;
}

/* At the top level (bar) the description would crowd the layout; hide it.
   It still exists in the DOM as an accessible label. */
.navmenu>ul>li>a .menu-desc {
    display: none;
}

/* Reset main.css's `line-height: 0; margin-left: 5px` for icons that live
   inside our structured spans (otherwise bootstrap-icon glyphs collapse). */
.navmenu .menu-icon i,
.navmenu .menu-body i {
    line-height: 1;
    margin-left: 0;
}

/* ---------- DESKTOP ---------- */
@media (min-width: 1200px) {

    /* Top-level: icon is just a small inline glyph in front of the label */
    .navmenu>ul>li>a .menu-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 0.95em;
        color: var(--accent-color);
        margin-right: 6px;
        opacity: 0.9;
    }

    /* -------- Dropdown panel (any depth) -------- */

    .navmenu .dropdown ul {
        min-width: 340px;
        padding: 10px 8px;
        border-radius: 12px;
        border: 1px solid color-mix(in srgb, var(--accent-color), transparent 92%);
        background:
            radial-gradient(color-mix(in srgb, var(--accent-color), transparent 96%) 1px,
                transparent 1px) 0 0 / 14px 14px,
            var(--nav-dropdown-background-color);
        box-shadow:
            0 20px 40px rgba(10, 25, 47, 0.10),
            0 2px 6px rgba(10, 25, 47, 0.04);
    }

    /* Accent stripe along the top of the dropdown panel.
       main.css already sets `position: absolute` on .dropdown ul, so it
       establishes its own positioning context for this pseudo-element. */
    .navmenu .dropdown>ul::before {
        content: "";
        position: absolute;
        top: 0;
        left: 12px;
        right: 12px;
        height: 2px;
        border-radius: 2px;
        background: linear-gradient(90deg,
                color-mix(in srgb, var(--accent-color), transparent 40%),
                transparent);
    }

    .navmenu .dropdown ul li {
        min-width: 0;
    }

    /* Leaf / trigger anchor inside the dropdown: flex row with an icon chip */
    .navmenu .dropdown ul>li>a {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        padding: 10px 12px;
        border-radius: 10px;
        white-space: normal;
        justify-content: flex-start;
        color: var(--nav-dropdown-color);
        transition: background-color 0.2s ease, color 0.2s ease,
            transform 0.2s ease;
    }

    .navmenu .dropdown ul>li>a:hover,
    .navmenu .dropdown ul>li>a:focus {
        background: color-mix(in srgb, var(--accent-color), transparent 92%);
        color: var(--nav-dropdown-hover-color);
        transform: translateX(2px);
    }

    /* Sub-dropdown trigger (e.g. Products > Payments Integration) */
    .navmenu .dropdown ul>li.dropdown>a {
        font-weight: 600;
        color: var(--heading-color);
        justify-content: space-between;
    }

    /* Icon "chip" in dropdown rows */
    .navmenu .dropdown ul .menu-icon {
        width: 34px;
        height: 34px;
        flex: 0 0 34px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 9px;
        color: var(--accent-color);
        background: color-mix(in srgb, var(--accent-color), transparent 88%);
        font-size: 1rem;
        margin: 1px 0 0 0;
        transition: background-color 0.2s ease, color 0.2s ease,
            box-shadow 0.2s ease;
    }

    .navmenu .dropdown ul>li>a:hover .menu-icon,
    .navmenu .dropdown ul>li>a:focus .menu-icon {
        background: var(--accent-color);
        color: var(--surface-color);
        box-shadow: 0 6px 14px color-mix(in srgb, var(--accent-color), transparent 70%);
    }

    /* Title + description typography inside dropdowns */
    .navmenu .dropdown ul .menu-title {
        font-size: 0.9rem;
        font-weight: 600;
    }

    .navmenu .dropdown ul .menu-desc {
        display: block;
        font-size: 0.75rem;
        color: color-mix(in srgb, var(--default-color), transparent 35%);
        margin-top: 2px;
        font-weight: 400;
        line-height: 1.35;
    }

    .navmenu .dropdown ul>li>a:hover .menu-desc,
    .navmenu .dropdown ul>li>a:focus .menu-desc {
        color: color-mix(in srgb, var(--nav-dropdown-hover-color), var(--default-color) 40%);
    }
}

/* ---------- MOBILE ---------- */
@media (max-width: 1199px) {

    .navmenu .menu-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
        flex: 0 0 28px;
        border-radius: 7px;
        color: var(--accent-color);
        background: color-mix(in srgb, var(--accent-color), transparent 88%);
        font-size: 0.9rem;
        margin-right: 10px;
    }

    .navmenu .dropdown ul>li>a {
        display: flex;
        gap: 8px;
        align-items: flex-start;
        white-space: normal;
        padding: 8px 12px;
    }

    .navmenu .dropdown ul .menu-title {
        font-size: 0.9rem;
        font-weight: 600;
    }

    .navmenu .dropdown ul .menu-desc {
        display: block;
        font-size: 0.75rem;
        color: color-mix(in srgb, var(--default-color), transparent 35%);
        margin-top: 2px;
    }
}


.footer-cta {
    position: relative;
    padding: 52px 0;
    color: #fff;
    background:
        radial-gradient(circle at 85% 20%, color-mix(in srgb, #fff, transparent 85%) 0%, transparent 35%),
        radial-gradient(circle at 15% 120%, color-mix(in srgb, #000, transparent 70%) 0%, transparent 45%),
        linear-gradient(135deg,
            var(--accent-color) 0%,
            color-mix(in srgb, var(--accent-color), #000 30%) 100%);
    overflow: hidden;
    isolation: isolate;
}

/* Subtle tech dot-grid on top of the gradient */
.footer-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
    background-size: 18px 18px;
    opacity: 0.7;
    pointer-events: none;
    z-index: -1;
}

.footer-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.footer-cta-copy {
    flex: 1 1 420px;
    min-width: 0;
}

.footer-cta-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    padding: 5px 12px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50px;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.05);
}

.footer-cta-eyebrow i {
    font-size: 12px;
}

.footer-cta-title {
    font-size: 26px;
    line-height: 1.25;
    margin: 0 0 10px;
    color: #fff;
    font-weight: 600;
}

.footer-cta-sub {
    font-size: 15px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
    max-width: 560px;
}

.footer-cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    line-height: 1;
    white-space: nowrap;
    transition: transform 0.2s ease, background-color 0.2s ease,
        color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.footer-cta-btn i {
    font-size: 16px;
}

.footer-cta-btn.primary {
    background: #fff;
    color: var(--accent-color);
    border: 1px solid #fff;
}

.footer-cta-btn.primary:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.footer-cta-btn.ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.55);
}

.footer-cta-btn.ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .footer-cta {
        padding: 40px 0;
    }

    .footer-cta-title {
        font-size: 21px;
    }

    .footer-cta-inner {
        gap: 22px;
    }
}

/* Phase 4: the footer surface gets layered backgrounds for contrast:
   two accent radial glows, a dotted grid, and a very faint world-map
   silhouette painted with the accent color via ::after + mask. */
.footer {
    position: relative;
    isolation: isolate;
    background:
        radial-gradient(ellipse 60% 70% at 12% 40%,
            color-mix(in srgb, var(--accent-color), transparent 88%) 0%,
            transparent 60%),
        radial-gradient(ellipse 55% 65% at 88% 75%,
            color-mix(in srgb, var(--accent-color), transparent 90%) 0%,
            transparent 55%),
        radial-gradient(color-mix(in srgb, var(--accent-color), transparent 94%) 1px,
            transparent 1px) 0 0 / 20px 20px,
        var(--background-color);
    border-top: 1px solid color-mix(in srgb, var(--accent-color), transparent 88%);
}

/* Top accent-gradient stripe, on top of everything. */
.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
            transparent 0%,
            color-mix(in srgb, var(--accent-color), transparent 50%) 20%,
            color-mix(in srgb, var(--accent-color), transparent 20%) 50%,
            color-mix(in srgb, var(--accent-color), transparent 50%) 80%,
            transparent 100%);
    pointer-events: none;
    z-index: 1;
}

/* World-map silhouette painted with accent color, behind content. */
.footer::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: var(--accent-color);
    -webkit-mask-image: url(../../res/world-map.svg);
    mask-image: url(../../res/world-map.svg);
    -webkit-mask-size: 90% auto;
    mask-size: 90% auto;
    -webkit-mask-position: center 55%;
    mask-position: center 55%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    opacity: 0.09;
    pointer-events: none;
    z-index: -1;
}

/* Make sure footer children sit above the world-map ::after. */
.footer .container {
    position: relative;
    z-index: 0;
}

/* Phase 3: small accent underline on each column heading */
.footer h4 {
    color: var(--heading-color);
}

.footer h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg,
            var(--accent-color) 0%,
            color-mix(in srgb, var(--accent-color), transparent 60%) 100%);
}

/* --- Phase 1: about column --- */

/* Small top nav inside the About column (Home · About · Contact) */
.footer .footer-about .footer-about-nav {
    margin-bottom: 20px;
    font-size: 13px;
}

.footer .footer-about .footer-about-nav a {
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    margin-right: 14px;
}

.footer .footer-about .footer-about-nav a:hover {
    color: var(--accent-color);
}

/* Tone down the big headings in the About column so they don't dwarf
   the rest of the footer. */
.footer .footer-about h3 {
    font-size: 17px;
    margin: 14px 0 6px;
    color: var(--heading-color);
}

/* --- Phase 1: menu columns --- */

/* Footer menus: the menus include nested <ul> for sub-dropdowns
   (e.g. Products > Payments Integration > ...). main.css sets
   `display: flex` on every .footer-links ul li, which would place the
   nested <ul> to the right of its parent <a>. Override to keep the
   whole tree in a vertical stack. */
.footer .footer-links ul li {
    display: block;
    padding: 6px 0;
}

/* Sub-dropdown parent label ("Payments Integration", "Cryptography
   Tools", "EMV Tools"): render as a small heading above its children
   instead of a clickable toggle. */
.footer .footer-links ul .dropdown>a {
    font-weight: 600;
    color: var(--heading-color);
    cursor: default;
}

.footer .footer-links ul .dropdown>a:hover {
    color: var(--heading-color);
}

/* The dropdown-toggle chevron has no behavior inside the footer */
.footer .footer-links ul .dropdown>a .toggle-dropdown {
    display: none;
}

/* Indent the children of a sub-dropdown with a subtle accent rule */
.footer .footer-links ul .dropdown>ul {
    padding-left: 12px;
    margin: 2px 0 10px;
    border-left: 1px solid color-mix(in srgb, var(--accent-color), transparent 88%);
}

/* --- Phase 2: circular social buttons ---
   main.css already defines 40x40 circular .footer .social-links a; we
   just add subtle breathing room and a small lift on hover. */
.footer .social-links {
    gap: 10px;
    margin-bottom: 22px;
}

.footer .social-links a {
    margin-right: 0;
    transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease,
        background-color 0.2s ease, box-shadow 0.2s ease;
}

.footer .social-links a:hover {
    transform: translateY(-2px);
    background: color-mix(in srgb, var(--accent-color), transparent 92%);
    box-shadow: 0 6px 16px color-mix(in srgb, var(--accent-color), transparent 75%);
}

/* --- Phase 1: legal row inside the copyright block --- */
.footer .copyright .footer-legal {
    text-align: center;
    margin: 0 0 10px;
    font-size: 13px;
}

.footer .copyright .footer-legal a {
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    margin: 0 4px;
}

.footer .copyright .footer-legal a:hover {
    color: var(--accent-color);
}

.footer .copyright .footer-legal a+a::before {
    content: "·";
    display: inline-block;
    margin-right: 8px;
    color: color-mix(in srgb, var(--default-color), transparent 70%);
}


/*--------------------------------------------------------------
# viewposts.php — tech-style upgrades
# Uses the existing design tokens (--accent-color, --default-color,
# --heading-color, --surface-color) so the page tracks the site theme.
# Sidebar styles are intentionally minimal — col-lg-2 is narrow, so
# items use no horizontal padding/borders that would shrink the
# usable text width further.
--------------------------------------------------------------*/

/* Active filter chip in the page header strip */
.active-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 50px;
    background-color: color-mix(in srgb, var(--accent-color), transparent 92%);
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    border: 1px solid color-mix(in srgb, var(--accent-color), transparent 82%);
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.active-filter-chip:hover {
    background-color: color-mix(in srgb, var(--accent-color), transparent 86%);
    border-color: color-mix(in srgb, var(--accent-color), transparent 65%);
    transform: translateY(-1px);
}

/* Article cards — lift, soft border, rounded image.
   Scoped to the shared .blog-posts class so the main listing on viewposts.php
   (#posts) and the footer-injected related-articles strip (#articles) render
   identically. */
.blog-posts article {
    background: var(--surface-color);
    border: 1px solid color-mix(in srgb, var(--accent-color), transparent 92%);
    border-radius: 16px;
    padding: 14px;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.blog-posts article:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: color-mix(in srgb, var(--accent-color), transparent 70%);
}

.blog-posts .post-img {
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 12px;
}

.blog-posts .post-img img {
    border-radius: 12px;
    transition: transform 0.4s ease;
}

.blog-posts article:hover .post-img img {
    transform: scale(1.03);
}

.blog-posts .post-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 4px 0 6px;
}

.blog-posts .post-category a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 700;
}

.blog-posts article h4.title {
    font-size: 1.05rem;
    line-height: 1.35;
    margin: 4px 0 8px;
}

.blog-posts article h4.title:hover {
    color: var(--accent-color);
}

/* Pagination — pill group */
.tech-pager {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px;
    border: 1px solid color-mix(in srgb, var(--accent-color), transparent 85%);
    border-radius: 50px;
    background: var(--surface-color);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--accent-color), transparent 94%);
}

.tech-pager-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.2s ease;
}

.tech-pager-btn:hover {
    background: color-mix(in srgb, var(--accent-color), transparent 90%);
}

.tech-pager-btn.disabled {
    color: color-mix(in srgb, var(--default-color), transparent 65%);
    pointer-events: none;
    opacity: 0.6;
}

.tech-pager-indicator {
    padding: 0 14px;
    font-size: 0.9rem;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    white-space: nowrap;
}

.tech-pager-indicator b {
    color: var(--accent-color);
    font-weight: 700;
}

/* Sidebar — minimal, optimised for the narrow col-lg-2 width */
/* Sidebar search — single input with the icon sitting inside on the right.
   The button is a transparent submit so Enter and click both work. */
.tech-sidebar .sidebar-search {
    position: relative;
}

.tech-sidebar .sidebar-search-input {
    width: 100%;
    padding: 8px 36px 8px 12px;
    border-radius: 10px;
    border: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%);
    background: var(--surface-color);
    color: var(--default-color);
    font-size: 0.9rem;
    line-height: 1.3;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tech-sidebar .sidebar-search-input::placeholder {
    color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.tech-sidebar .sidebar-search-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color), transparent 85%);
}

.tech-sidebar .sidebar-search-btn {
    position: absolute;
    top: 50%;
    right: 4px;
    transform: translateY(-50%);
    background: transparent;
    border: 0;
    padding: 4px 8px;
    color: color-mix(in srgb, var(--default-color), transparent 35%);
    cursor: pointer;
    transition: color 0.2s ease;
}

.tech-sidebar .sidebar-search-btn:hover,
.tech-sidebar .sidebar-search-btn:focus {
    color: var(--accent-color);
    outline: none;
}

.tech-sidebar .docs-home-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--surface-color);
    border-radius: 10px;
    padding: 8px 10px;
    font-weight: 600;
    margin-bottom: 20px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.tech-sidebar .docs-home-btn:hover {
    transform: translateY(-2px);
    background: color-mix(in srgb, var(--accent-color), #000 15%);
    color: var(--surface-color);
}

.tech-sidebar .sidebar-heading {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--heading-color);
    margin: 0 0 6px;
}

/* Categories — flat text rows, no chrome eating horizontal space */
.tech-sidebar .sidebar-categories .btn {
    display: block;
    width: 100%;
    text-align: left;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 4px 0;
    font-size: 0.85rem;
    line-height: 1.3;
    color: color-mix(in srgb, var(--default-color), transparent 15%);
    transition: color 0.2s ease;
}

.tech-sidebar .sidebar-categories .btn:hover {
    background: transparent;
    color: var(--accent-color);
}

/* Top read articles — text rows with an inline view-count after the title.
   No padding/border on the row itself so the narrow column stays usable. */
.tech-sidebar .sidebar-toparticles .top-article {
    display: block;
    padding: 4px 0;
    text-decoration: none;
    line-height: 1.35;
    color: color-mix(in srgb, var(--default-color), transparent 15%);
    border-bottom: 1px solid color-mix(in srgb, var(--accent-color), transparent 94%);
    transition: color 0.2s ease;
}

.tech-sidebar .sidebar-toparticles .top-article:last-child {
    border-bottom: 0;
}

.tech-sidebar .sidebar-toparticles .top-article:hover {
    color: var(--accent-color);
}

.tech-sidebar .sidebar-toparticles .top-article-title {
    font-size: 0.85rem;
}

.tech-sidebar .sidebar-toparticles .top-article-views {
    display: inline;
    margin-left: 4px;
    color: color-mix(in srgb, var(--default-color), transparent 50%);
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
}

.tech-sidebar .sidebar-toparticles .top-article-views i {
    font-size: 0.7rem;
    margin-right: 1px;
}

@media (max-width: 991px) {
    .tech-sidebar {
        margin-top: 32px;
    }

    .tech-pager {
        flex-wrap: wrap;
        justify-content: center;
    }
}