/* =====================================================
   Pharmix Modern UI — Animations, Enhancements & Dynamic Styles
   Applies globally to Pharmix.Web
   ===================================================== */

/* ---- CSS Custom Properties ---- */
:root {
    --px-primary:   #591038;
    --px-dark:      #0a1628;
    --px-blue:      #1a3a6b;
    --px-accent:    #e8523a;
    --px-green:     #2db37a;
    --px-light-bg:  #f5f7fc;
    --px-border:    #e2e8f5;
    --px-text:      #374151;
    --px-muted:     #6b7280;
    --px-white:     #ffffff;
    --px-shadow-sm: 0 4px 20px rgba(10,22,40,0.08);
    --px-shadow-md: 0 10px 40px rgba(10,22,40,0.13);
    --px-shadow-lg: 0 20px 60px rgba(10,22,40,0.18);
    --px-radius:    14px;
    --px-transition: 0.35s cubic-bezier(0.4,0,0.2,1);
}

/* ============================================================
   GLOBAL BASE ENHANCEMENTS
   ============================================================ */

html { scroll-behavior: smooth; }

body {
    font-family: 'Nunito Sans', 'Montserrat', sans-serif;
    color: var(--px-text);
    overflow-x: hidden;
}

/* Smooth image rendering */
img { image-rendering: -webkit-optimize-contrast; }

/* ============================================================
   ANIMATED PRELOADER
   ============================================================ */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--px-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}
.preloader::after {
    content: '';
    width: 52px;
    height: 52px;
    border: 4px solid rgba(255,255,255,0.1);
    border-top-color: var(--px-primary);
    border-radius: 50%;
    animation: px-spin 0.8s linear infinite;
}
@keyframes px-spin {
    to { transform: rotate(360deg); }
}

/* ============================================================
   SCROLL-TO-TOP BUTTON ENHANCEMENT
   ============================================================ */
.scroll-to-top {
    background: var(--px-primary) !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 16px rgba(89,16,56,0.4) !important;
    transition: transform var(--px-transition), box-shadow var(--px-transition) !important;
}
.scroll-to-top:hover {
    transform: translateY(-4px) scale(1.1) !important;
    box-shadow: 0 8px 24px rgba(89,16,56,0.55) !important;
}

/* ============================================================
   HEADER ENHANCEMENTS
   ============================================================ */

/* Frosted sticky header */
.sticky-header {
    backdrop-filter: blur(12px) !important;
    background: rgba(10,22,40,0.88) !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.2) !important;
    transition: background var(--px-transition), box-shadow var(--px-transition) !important;
}
.sticky-header .main-menu .navigation > li > a {
    color: rgba(255,255,255,0.88) !important;
}
.sticky-header .main-menu .navigation > li:hover > a,
.sticky-header .main-menu .navigation > li.current > a {
    color: #ffffff !important;
}
.sticky-header .nav-btn span {
    color: rgba(255,255,255,0.88) !important;
}

/* Nav link hover underline sweep */
.main-menu .navigation > li > a {
    position: relative;
    transition: color var(--px-transition) !important;
}
.main-menu .navigation > li > a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--px-primary);
    border-radius: 2px;
    transition: width var(--px-transition);
}
.main-menu .navigation > li:hover > a::after,
.main-menu .navigation > li.current > a::after {
    width: 100%;
}

/* Dropdown menu animation */
.main-menu .navigation > li > ul {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease !important;
    pointer-events: none;
}
.main-menu .navigation > li:hover > ul {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* CTA button pulse on load */
.header-upper .btn-box .theme-btn {
    animation: px-btn-pulse 3s ease-in-out 2s infinite;
}
@keyframes px-btn-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(89,16,56,0.4); }
    50%       { box-shadow: 0 0 0 10px rgba(89,16,56,0); }
}

/* ============================================================
   PAGE TITLE SECTION — ANIMATED GRADIENT
   ============================================================ */
.page-title {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--px-dark) 0%, var(--px-blue) 50%, var(--px-primary) 100%) !important;
    background-size: 300% 300% !important;
    animation: px-gradient-shift 8s ease infinite;
}
@keyframes px-gradient-shift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.page-title h2 {
    animation: px-fade-up 0.7s ease both;
}
.page-title .page-breadcrumb {
    animation: px-fade-up 0.7s ease 0.15s both;
}
@keyframes px-fade-up {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Animated shimmer overlay on page-title */
.page-title::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 60%;
    height: 200%;
    background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.07) 50%, transparent 70%);
    animation: px-shimmer 4s linear infinite;
    pointer-events: none;
}
@keyframes px-shimmer {
    0%   { left: -100%; }
    100% { left: 200%; }
}

/* ============================================================
   HERO SPLIT — PRODUCT SPOTLIGHT LAYOUT
   ============================================================ */

/* ---- Wrapper ---- */
.px-hero-split {
    position: relative;
    background: linear-gradient(135deg, var(--px-dark) 0%, #0f2244 55%, #1a1030 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: 120px 0 0;
}

/* Animated dot-grid overlay */
.px-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 36px 36px;
    pointer-events: none;
    z-index: 0;
    animation: px-grid-drift 30s linear infinite;
}
@keyframes px-grid-drift {
    from { background-position: 0 0; }
    to   { background-position: 72px 72px; }
}

/* Radial glow blobs */
.px-hero-split::before,
.px-hero-split::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}
.px-hero-split::before {
    width: 600px; height: 600px;
    top: -180px; left: -180px;
    background: radial-gradient(circle, rgba(89,16,56,0.22), transparent 70%);
    animation: px-blob-drift 18s ease-in-out infinite alternate;
}
.px-hero-split::after {
    width: 500px; height: 500px;
    bottom: -120px; right: -100px;
    background: radial-gradient(circle, rgba(45,179,122,0.12), transparent 70%);
    animation: px-blob-drift 22s ease-in-out infinite alternate-reverse;
}
@keyframes px-blob-drift {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(40px, 30px) scale(1.08); }
}

/* ---- Inner layout ---- */
.px-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 48px;
    align-items: start;
    padding-top: 20px;
    padding-bottom: 60px;
}

/* ---- Left: Headline ---- */
.px-hero-headline {
    animation: px-fade-in-left 0.9s ease 0.1s both;
    padding-top: 12px;
}

.px-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 22px;
}
.px-eyebrow-dot {
    display: inline-block;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--px-accent);
    animation: px-dot-pulse 2s ease-in-out infinite;
}
.px-eyebrow-dot:last-child { animation-delay: 0.4s; }
@keyframes px-dot-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.4; transform: scale(0.6); }
}

.px-hero-h1 {
    font-size: clamp(34px, 4.5vw, 58px);
    font-weight: 900;
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    line-height: 1.12;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}
.px-hero-h1-accent {
    background: linear-gradient(90deg, #e8523a, #ff9a6c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.px-hero-subtext {
    font-size: 16px;
    color: rgba(255,255,255,0.62);
    line-height: 1.75;
    max-width: 440px;
    margin-bottom: 36px;
}

.px-hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.px-hero-link {
    font-size: 14px;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: color var(--px-transition), gap var(--px-transition);
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.04em;
}
.px-hero-link:hover {
    color: #fff;
    gap: 12px;
}

/* ---- Right: Product cards — 3×2 grid ---- */
.px-hero-cards {
    animation: px-fade-in-right 0.9s ease 0.25s both;
}
.px-hero-cards--grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    align-items: stretch;
}
@keyframes px-fade-in-right {
    from { opacity: 0; transform: translateX(35px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes px-fade-in-left {
    from { opacity: 0; transform: translateX(-35px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* ---- Product card base ---- */
.px-product-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(14px);
    padding: 20px 16px 56px;   /* bottom pad reserves room for the SVG bg strip */
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    min-height: 240px;
    transition: transform var(--px-transition), box-shadow var(--px-transition), border-color var(--px-transition);
}
.px-product-card:hover {
    transform: translateY(-5px) scale(1.015);
    box-shadow: 0 20px 50px rgba(0,0,0,0.38);
    border-color: rgba(255,255,255,0.2);
    text-decoration: none;
}

/* Animated SVG background decoration */
.px-product-card-bg {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 52px;
    pointer-events: none;
    opacity: 0.2;
}

/* ECG line — Aseptic card */
.px-ecg-line { width: 100%; height: 100%; }
.px-ecg-polyline {
    fill: none;
    stroke: #2db37a;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 900;
    stroke-dashoffset: 900;
    animation: px-ecg-draw 3s ease 0.6s forwards, px-ecg-loop 4s linear 3.6s infinite;
}
@keyframes px-ecg-draw { to { stroke-dashoffset: 0; } }
@keyframes px-ecg-loop {
    0%  { stroke-dashoffset: 0;    opacity: 1; }
    80% { opacity: 1; }
    100%{ stroke-dashoffset: -900; opacity: 0.4; }
}

/* Sine wave — AI / semantic card */
.px-wave-line { width: 100%; height: 100%; }
.px-wave-path {
    fill: none;
    stroke: #7c5cbf;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 700;
    stroke-dashoffset: 0;
    animation: px-wave-flow 5s linear infinite;
}
@keyframes px-wave-flow {
    from { stroke-dashoffset: 0; }
    to   { stroke-dashoffset: -700; }
}

/* Step/inventory line — orange card */
.px-step-line { width: 100%; height: 100%; }
.px-step-polyline {
    fill: none;
    stroke: #f97316;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 800;
    stroke-dashoffset: 800;
    animation: px-step-draw 2.5s ease 0.4s forwards;
}
@keyframes px-step-draw { to { stroke-dashoffset: 0; } }

/* Bar chart SVG — cyan card */
.px-bar-line { width: 100%; height: 100%; }
.px-bar-rect {
    fill: #06b6d4;
    opacity: 0;
    animation: px-bar-rise 0.5s ease forwards;
}
.px-bar-rect:nth-child(1) { animation-delay: 0.1s; }
.px-bar-rect:nth-child(2) { animation-delay: 0.2s; }
.px-bar-rect:nth-child(3) { animation-delay: 0.3s; }
.px-bar-rect:nth-child(4) { animation-delay: 0.4s; }
.px-bar-rect:nth-child(5) { animation-delay: 0.5s; }
.px-bar-rect:nth-child(6) { animation-delay: 0.6s; }
.px-bar-rect:nth-child(7) { animation-delay: 0.7s; }
.px-bar-rect:nth-child(8) { animation-delay: 0.8s; }
@keyframes px-bar-rise {
    from { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
    to   { opacity: 0.7; transform: scaleY(1); transform-origin: bottom; }
}

/* Node graph — rose card */
.px-node-line { width: 100%; height: 100%; }
.px-node-dot {
    fill: #fb7185;
    animation: px-node-pop 0.4s ease forwards;
    opacity: 0;
}
.px-node-dot:nth-child(1) { animation-delay: 0.1s; }
.px-node-dot:nth-child(2) { animation-delay: 0.25s; }
.px-node-dot:nth-child(3) { animation-delay: 0.4s; }
.px-node-dot:nth-child(4) { animation-delay: 0.55s; }
.px-node-dot:nth-child(5) { animation-delay: 0.7s; }
@keyframes px-node-pop {
    from { opacity: 0; transform: scale(0); }
    to   { opacity: 1; transform: scale(1); }
}
.px-node-edge {
    stroke: #fb7185;
    stroke-width: 1.5;
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: px-edge-draw 1s ease 0.8s forwards;
}
@keyframes px-edge-draw { to { stroke-dashoffset: 0; } }

/* Ticket lines — amber card */
.px-dash-line { width: 100%; height: 100%; }
.px-dash-seg {
    stroke: #f59e0b;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 80;
    stroke-dashoffset: 80;
    animation: px-dash-in 0.6s ease forwards;
}
.px-dash-seg:nth-child(1) { animation-delay: 0.05s; }
.px-dash-seg:nth-child(2) { animation-delay: 0.15s; }
.px-dash-seg:nth-child(3) { animation-delay: 0.25s; }
.px-dash-seg:nth-child(4) { animation-delay: 0.35s; }
.px-dash-seg:nth-child(5) { animation-delay: 0.45s; }
.px-dash-seg:nth-child(6) { animation-delay: 0.55s; }
.px-dash-seg:nth-child(7) { animation-delay: 0.65s; }
.px-dash-seg:nth-child(8) { animation-delay: 0.75s; }
.px-dash-seg:nth-child(9) { animation-delay: 0.85s; }
@keyframes px-dash-in { to { stroke-dashoffset: 0; } }

/* ---- Card content layout (compact for grid) ---- */
.px-product-card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

/* Icon */
.px-product-card-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: #fff;
    flex-shrink: 0;
    transition: transform var(--px-transition);
}
.px-product-card:hover .px-product-card-icon {
    transform: scale(1.1) rotate(-6deg);
}

/* Icon colour themes */
.px-product-card-icon--teal   { background: linear-gradient(135deg, #1aa87a, #2db37a); box-shadow: 0 5px 16px rgba(45,179,122,0.35); }
.px-product-card-icon--violet { background: linear-gradient(135deg, #5a3a9a, #8b5cf6); box-shadow: 0 5px 16px rgba(139,92,246,0.35); }
.px-product-card-icon--orange { background: linear-gradient(135deg, #c2410c, #f97316); box-shadow: 0 5px 16px rgba(249,115,22,0.35); }
.px-product-card-icon--cyan   { background: linear-gradient(135deg, #0891b2, #06b6d4); box-shadow: 0 5px 16px rgba(6,182,212,0.35); }
.px-product-card-icon--rose   { background: linear-gradient(135deg, #be123c, #fb7185); box-shadow: 0 5px 16px rgba(251,113,133,0.35); }
.px-product-card-icon--amber  { background: linear-gradient(135deg, #b45309, #f59e0b); box-shadow: 0 5px 16px rgba(245,158,11,0.35); }

/* Body text */
.px-product-card-body { flex: 1; }
.px-product-card-tag {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 4px;
    display: block;
}

/* Tag colours per theme */
.px-product-card--clinical .px-product-card-tag { color: #2db37a; }
.px-product-card--ai       .px-product-card-tag { color: #a78bfa; }
.px-product-card--orange   .px-product-card-tag { color: #fb923c; }
.px-product-card--cyan     .px-product-card-tag { color: #22d3ee; }
.px-product-card--rose     .px-product-card-tag { color: #fb7185; }
.px-product-card--amber    .px-product-card-tag { color: #fbbf24; }

.px-product-card-title {
    font-size: 15px;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    margin: 0 0 6px;
    line-height: 1.25;
}
.px-product-card-desc {
    font-size: 12.5px;
    color: rgba(255,255,255,0.54);
    line-height: 1.6;
    margin: 0 0 10px;
}

/* Feature pill list */
.px-product-pill-list {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.px-product-pill-list li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    color: rgba(255,255,255,0.65);
}
.px-product-pill-list li .fa { font-size: 10px; }

/* Per-theme check-icon colour */
.px-product-card--clinical .px-product-pill-list li .fa { color: #2db37a; }
.px-product-card--ai       .px-product-pill-list li .fa { color: #a78bfa; }
.px-product-card--orange   .px-product-pill-list li .fa { color: #fb923c; }
.px-product-card--cyan     .px-product-pill-list li .fa { color: #22d3ee; }
.px-product-card--rose     .px-product-pill-list li .fa { color: #fb7185; }
.px-product-card--amber    .px-product-pill-list li .fa { color: #fbbf24; }

/* Metrics strip — horizontal row at bottom of card */
.px-product-card-metrics {
    display: flex;
    flex-direction: row;
    gap: 12px;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 10px;
    margin-top: auto;
}
.px-metric { text-align: left; }
.px-metric-val {
    display: block;
    font-size: 17px;
    font-weight: 900;
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    line-height: 1;
    margin-bottom: 2px;
}
.px-metric-unit {
    font-size: 11px;
    font-weight: 700;
    opacity: 0.65;
}
.px-metric-label {
    display: block;
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    color: rgba(255,255,255,0.38);
}

/* Arrow */
.px-product-card-arrow {
    position: absolute;
    top: 18px; right: 16px;
    font-size: 15px;
    color: rgba(255,255,255,0.2);
    transition: color var(--px-transition), transform var(--px-transition);
}
.px-product-card:hover .px-product-card-arrow {
    color: rgba(255,255,255,0.65);
    transform: translateX(4px);
}

/* Top accent border per theme */
.px-product-card--clinical { border-top: 2px solid rgba(45,179,122,0.5); }
.px-product-card--ai       { border-top: 2px solid rgba(139,92,246,0.5); }
.px-product-card--orange   { border-top: 2px solid rgba(249,115,22,0.5); }
.px-product-card--cyan     { border-top: 2px solid rgba(6,182,212,0.5);  }
.px-product-card--rose     { border-top: 2px solid rgba(251,113,133,0.5); }
.px-product-card--amber    { border-top: 2px solid rgba(245,158,11,0.5); }

/* ---- Bottom trust bar ---- */
.px-hero-trust {
    position: relative;
    z-index: 1;
    background: rgba(255,255,255,0.04);
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 14px 0;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.4);
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
}
.px-hero-trust .fa {
    color: var(--px-accent);
    margin-right: 5px;
}

/* ---- Responsive ---- */
@media (max-width: 1280px) {
    .px-hero-inner {
        grid-template-columns: 340px 1fr;
        gap: 32px;
    }
}
@media (max-width: 1100px) {
    .px-hero-inner {
        grid-template-columns: 1fr;
        gap: 36px;
        padding-bottom: 48px;
        padding-top: 0;
    }
    .px-hero-headline { text-align: center; padding-top: 0; }
    .px-hero-subtext  { margin: 0 auto 36px; }
    .px-hero-actions  { justify-content: center; }
    .px-hero-cards    { max-width: 900px; margin: 0 auto; width: 100%; }
}
@media (max-width: 767px) {
    .px-hero-cards--grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}
@media (max-width: 480px) {
    .px-hero-split { padding-top: 100px; }
    .px-hero-cards--grid {
        grid-template-columns: 1fr;
    }
    .px-product-card { padding: 18px 16px 48px; }
    .px-product-card-arrow { top: 14px; right: 14px; }
}

/* ============================================================
   STAT / COUNTER NUMBERS — ANIMATED GRADIENT TEXT
   ============================================================ */
.fact-counter .count-outer {
    background: linear-gradient(135deg, var(--px-primary), var(--px-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900 !important;
    font-family: 'Montserrat', sans-serif;
}
.fact-counter .count-outer.alternate {
    background: linear-gradient(135deg, var(--px-blue), var(--px-green));
    -webkit-background-clip: text;
    background-clip: text;
}

/* Counter column hover lift */
.fact-counter .column.counter-column {
    transition: transform var(--px-transition);
}
.fact-counter .column.counter-column:hover {
    transform: translateY(-6px);
}

/* ============================================================
   ABOUT SECTION — Modern redesign
   ============================================================ */
.px-about-section {
    background: var(--px-white);
    padding: 90px 0 70px;
}

/* Main two-column grid */
.px-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 64px;
}

/* ---- Image collage ---- */
.px-about-images {
    position: relative;
    min-height: 440px;
}
.px-about-img-main {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--px-shadow-lg);
    width: 80%;
}
.px-about-img-main img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.px-about-images:hover .px-about-img-main img {
    transform: scale(1.04);
}
.px-about-img-accent {
    position: absolute;
    bottom: -32px;
    right: 0;
    width: 52%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--px-shadow-md);
    border: 4px solid var(--px-white);
}
.px-about-img-accent img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.px-about-images:hover .px-about-img-accent img {
    transform: scale(1.06);
}
.px-about-badge {
    position: absolute;
    top: 24px;
    right: 0;
    background: linear-gradient(135deg, var(--px-primary), var(--px-accent));
    color: #fff;
    border-radius: 14px;
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    box-shadow: 0 8px 28px rgba(89,16,56,0.35);
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    min-width: 80px;
}
.px-about-badge .fa {
    font-size: 22px;
    margin-bottom: 4px;
}
.px-about-badge strong {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1;
}
.px-about-badge span:last-child {
    font-size: 10px;
    font-weight: 600;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ---- Content side ---- */
.px-about-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--px-primary);
    font-family: 'Montserrat', sans-serif;
    background: rgba(89,16,56,0.07);
    padding: 5px 14px;
    border-radius: 30px;
    margin-bottom: 18px;
}
.px-about-title {
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    color: var(--px-dark);
    line-height: 1.2;
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}
.px-about-lead {
    font-size: 16px;
    color: var(--px-muted);
    line-height: 1.8;
    margin-bottom: 32px;
}

/* Pillar rows */
.px-about-pillars {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 36px;
}
.px-about-pillar {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.px-about-pillar-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--px-primary), var(--px-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 17px;
    box-shadow: 0 4px 14px rgba(89,16,56,0.22);
    transition: transform var(--px-transition);
}
.px-about-pillar:hover .px-about-pillar-icon {
    transform: scale(1.1) rotate(-5deg);
}
.px-about-pillar h6 {
    font-size: 15px;
    font-weight: 700;
    color: var(--px-dark);
    font-family: 'Montserrat', sans-serif;
    margin: 0 0 4px;
}
.px-about-pillar p {
    font-size: 13.5px;
    color: var(--px-muted);
    line-height: 1.65;
    margin: 0;
}

/* CTA row */
.px-about-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.px-about-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--px-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: gap var(--px-transition), color var(--px-transition);
    font-family: 'Montserrat', sans-serif;
}
.px-about-link:hover {
    gap: 12px;
    color: var(--px-accent);
}

/* ---- Bottom 3-column feature strip ---- */
.px-about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    border-top: 1px solid var(--px-border);
    padding-top: 48px;
}
.px-about-feature {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 28px 24px;
    border-radius: var(--px-radius);
    border: 1px solid var(--px-border);
    background: var(--px-light-bg);
    transition: transform var(--px-transition), box-shadow var(--px-transition), border-color var(--px-transition);
    position: relative;
    overflow: hidden;
}
.px-about-feature::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--px-primary), var(--px-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--px-transition);
    border-radius: 0 0 var(--px-radius) var(--px-radius);
}
.px-about-feature:hover::before {
    transform: scaleX(1);
}
.px-about-feature:hover {
    transform: translateY(-6px);
    box-shadow: var(--px-shadow-md);
    border-color: rgba(89,16,56,0.15);
}
.px-about-feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--px-primary), var(--px-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    box-shadow: 0 5px 16px rgba(89,16,56,0.22);
    transition: transform var(--px-transition);
}
.px-about-feature:hover .px-about-feature-icon {
    transform: scale(1.1) rotate(-6deg);
}
.px-about-feature h6 {
    font-size: 16px;
    font-weight: 700;
    color: var(--px-dark);
    font-family: 'Montserrat', sans-serif;
    margin: 0;
}
.px-about-feature p {
    font-size: 13.5px;
    color: var(--px-muted);
    line-height: 1.65;
    margin: 0;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .px-about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .px-about-images {
        min-height: 360px;
        max-width: 520px;
        margin: 0 auto;
    }
    .px-about-features {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .px-about-section { padding: 60px 0 50px; }
    .px-about-features { grid-template-columns: 1fr; }
    .px-about-img-main { width: 100%; }
    .px-about-img-accent { display: none; }
    .px-about-badge { top: 16px; right: 16px; }
}

/* ============================================================
   PROJECTS / CASES SECTION
   ============================================================ */
.case-block .inner-box {
    border-radius: var(--px-radius);
    overflow: hidden;
    box-shadow: var(--px-shadow-sm);
    transition: transform var(--px-transition), box-shadow var(--px-transition);
}
.case-block .inner-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--px-shadow-lg);
}
.case-block .image {
    overflow: hidden;
}
.case-block .image img {
    transition: transform 0.6s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.case-block .inner-box:hover .image img {
    transform: scale(1.06);
}
.case-block .overlay-box {
    background: linear-gradient(to top, rgba(89,16,56,0.9) 0%, rgba(10,22,40,0.5) 100%) !important;
    transition: opacity var(--px-transition) !important;
}
.case-block .overlay-box .content h4 a {
    transition: color var(--px-transition);
}
.case-block .overlay-box .content h4 a:hover {
    color: #ffcce0;
}

/* Cases section title counter chip */
.cases-section .sec-title::after {
    content: 'View All ?';
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--px-primary);
    letter-spacing: 0.05em;
    margin-top: 6px;
    opacity: 0.7;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.service-block .inner-box {
    border-radius: var(--px-radius);
    overflow: hidden;
    transition: transform var(--px-transition), box-shadow var(--px-transition);
    border: 1px solid transparent;
    position: relative;
}
.service-block .inner-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--px-primary), var(--px-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--px-transition);
    border-radius: 3px 3px 0 0;
}
.service-block .inner-box:hover::before {
    transform: scaleX(1);
}
.service-block .inner-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--px-shadow-md);
    border-color: rgba(89,16,56,0.12);
}
.service-block .inner-box .icon-box {
    transition: transform var(--px-transition);
}
.service-block .inner-box:hover .icon-box {
    transform: scale(1.15) rotate(-5deg);
}

/* ============================================================
   FEATURED NUMBERS SECTION
   ============================================================ */
.feature-block-two .inner-box {
    border-radius: var(--px-radius);
    overflow: hidden;
    position: relative;
    transition: transform var(--px-transition), box-shadow var(--px-transition);
}
.feature-block-two .inner-box::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(89,16,56,0.55), rgba(10,22,40,0.65));
    transition: opacity var(--px-transition);
}
.feature-block-two .inner-box:hover {
    transform: scale(1.02);
    box-shadow: var(--px-shadow-lg);
}
.feature-block-two .inner-box:hover::after {
    opacity: 0.7;
}
.feature-block-two .inner-box .number,
.feature-block-two .inner-box h4,
.feature-block-two .inner-box .text {
    position: relative;
    z-index: 1;
}
.feature-block-two .inner-box .number {
    font-size: 80px;
    font-weight: 900;
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
    background: linear-gradient(135deg, #fff 30%, rgba(255,255,255,0.6));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================================
   SPONSORS / CLIENTS CAROUSEL
   ============================================================ */
.sponsors-section {
    background: var(--px-light-bg);
    border-top: 1px solid var(--px-border);
    border-bottom: 1px solid var(--px-border);
}
.sponsors-carousel .image-box img {
    filter: grayscale(100%);
    opacity: 0.55;
    transition: filter var(--px-transition), opacity var(--px-transition), transform var(--px-transition);
    max-height: 60px;
    object-fit: contain;
}
.sponsors-carousel .image-box img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.08);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-section {
    background: var(--px-light-bg);
    position: relative;
}
.testimonial-block .inner-box {
    border-radius: var(--px-radius);
    border: 1px solid var(--px-border);
    box-shadow: var(--px-shadow-sm);
    transition: transform var(--px-transition), box-shadow var(--px-transition), border-color var(--px-transition);
    position: relative;
    overflow: hidden;
}
.testimonial-block .inner-box::before {
    content: '\201C';
    font-size: 140px;
    line-height: 1;
    font-family: Georgia, serif;
    color: var(--px-primary);
    opacity: 0.06;
    position: absolute;
    top: -10px;
    left: 16px;
    pointer-events: none;
}
.testimonial-block .inner-box:hover {
    transform: translateY(-6px);
    box-shadow: var(--px-shadow-md);
    border-color: var(--px-primary);
}
.testimonial-block .inner-box .upper-box h4 {
    color: var(--px-primary);
    font-family: 'Montserrat', sans-serif;
}
/* Star rating glow */
.img-star-rating {
    filter: drop-shadow(0 2px 6px rgba(255,200,0,0.5));
    transition: transform var(--px-transition);
}
.testimonial-block .inner-box:hover .img-star-rating {
    transform: scale(1.08);
}
/* Testimonials page — stacked blocks */
.testimonial-page-section .testimonial-block .inner-box {
    margin-bottom: 28px;
}

/* ============================================================
   CALL TO ACTION SECTION
   ============================================================ */
.call-to-action-section {
    position: relative;
    overflow: hidden;
}
.call-to-action-section::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.06), transparent 70%);
    pointer-events: none;
}
.call-to-action-section h2 {
    animation: px-fade-in-left 0.7s ease both;
}

/* ============================================================
   TEAM SECTION
   ============================================================ */
.team-block .inner-box {
    border-radius: var(--px-radius);
    overflow: hidden;
    box-shadow: var(--px-shadow-sm);
    transition: transform var(--px-transition), box-shadow var(--px-transition);
}
.team-block .inner-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--px-shadow-md);
}
.team-block .inner-box .image {
    overflow: hidden;
}
.team-block .inner-box .image img {
    transition: transform 0.5s ease;
    width: 100%;
    object-fit: cover;
}
.team-block .inner-box:hover .image img {
    transform: scale(1.07);
}
/* Social links slide-up reveal */
.team-block .inner-box .lower-box {
    position: relative;
    overflow: hidden;
}
.team-block .inner-box .social-box {
    transition: transform var(--px-transition), opacity var(--px-transition);
}
.team-block .inner-box:hover .social-box a {
    color: var(--px-primary) !important;
}

/* ============================================================
   PROCESS / STEPS SECTION
   ============================================================ */
.process-block .inner-box {
    border-radius: var(--px-radius);
    border: 1px solid var(--px-border);
    padding: 32px 28px;
    transition: transform var(--px-transition), box-shadow var(--px-transition), border-color var(--px-transition);
    background: var(--px-white);
    position: relative;
    overflow: hidden;
}
.process-block .inner-box::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--px-primary), var(--px-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--px-transition);
}
.process-block .inner-box:hover::after {
    transform: scaleX(1);
}
.process-block .inner-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--px-shadow-md);
    border-color: rgba(89,16,56,0.2);
}
.process-block .inner-box .number-box {
    transition: transform var(--px-transition), color var(--px-transition);
}
.process-block .inner-box:hover .number-box {
    transform: scale(1.12);
    color: var(--px-primary);
}

/* ============================================================
   SKILLS / PROGRESS BARS — ANIMATED
   ============================================================ */
.skill-bar .bar-inner {
    background: var(--px-border);
    border-radius: 6px;
    overflow: hidden;
}
.skill-bar .bar-inner .bar {
    border-radius: 6px;
    background: linear-gradient(90deg, var(--px-primary), var(--px-accent));
    position: relative;
    overflow: hidden;
}
.skill-bar .bar-inner .bar::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
    animation: px-bar-shimmer 2.5s linear infinite;
}
@keyframes px-bar-shimmer {
    0%   { left: -100%; }
    100% { left: 200%; }
}

/* ============================================================
   CONTACT / INFO SECTIONS
   ============================================================ */
.contact-info-section .info-column .inner-column {
    border-radius: var(--px-radius);
    border: 1px solid var(--px-border);
    transition: transform var(--px-transition), box-shadow var(--px-transition), border-color var(--px-transition);
    background: var(--px-white);
    overflow: hidden;
    position: relative;
}
.contact-info-section .info-column .inner-column::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--px-primary), var(--px-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--px-transition);
}
.contact-info-section .info-column .inner-column:hover::before {
    transform: scaleX(1);
}
.contact-info-section .info-column .inner-column:hover {
    transform: translateY(-6px);
    box-shadow: var(--px-shadow-md);
    border-color: var(--px-primary);
}
.contact-info-section .icon-box {
    transition: transform var(--px-transition);
}
.contact-info-section .info-column .inner-column:hover .icon-box {
    transform: scale(1.15) rotate(-8deg);
}

/* Contact form modern inputs */
.contact-form input,
.contact-form textarea,
.contact-form select {
    border: 1.5px solid var(--px-border) !important;
    border-radius: 8px !important;
    transition: border-color var(--px-transition), box-shadow var(--px-transition) !important;
    font-family: 'Nunito Sans', sans-serif !important;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--px-primary) !important;
    box-shadow: 0 0 0 3px rgba(89,16,56,0.12) !important;
    outline: none !important;
}

/* ============================================================
   BUTTONS — GLOBAL ENHANCEMENT
   ============================================================ */
.theme-btn {
    border-radius: 50px !important;
    overflow: hidden;
    position: relative;
    transition: transform var(--px-transition), box-shadow var(--px-transition) !important;
}
.theme-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
    transition: left 0.5s ease;
}
.theme-btn:hover::before {
    left: 100%;
}
.theme-btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 24px rgba(89,16,56,0.3) !important;
}
.theme-btn:active {
    transform: translateY(-1px) !important;
}

/* ============================================================
   SIDEBAR SERVICES LIST
   ============================================================ */
.sidebar-widget .sidebar-list li a {
    border-radius: 8px;
    transition: padding-left var(--px-transition), background var(--px-transition), color var(--px-transition);
    position: relative;
}
.sidebar-widget .sidebar-list li a:hover {
    padding-left: 22px;
    background: rgba(89,16,56,0.06);
    color: var(--px-primary);
}

/* ============================================================
   FOOTER ENHANCEMENTS
   ============================================================ */
.main-footer {
    position: relative;
    overflow: hidden;
}
.main-footer::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(89,16,56,0.08), transparent 70%);
    pointer-events: none;
}
.main-footer .footer-widget.links-widget ul.list-link li a {
    position: relative;
    transition: padding-left var(--px-transition), color var(--px-transition);
    display: inline-block;
}
.main-footer .footer-widget.links-widget ul.list-link li a::before {
    content: '?';
    position: absolute;
    left: -18px;
    opacity: 0;
    transition: opacity var(--px-transition), left var(--px-transition);
}
.main-footer .footer-widget.links-widget ul.list-link li a:hover::before {
    opacity: 1;
    left: -14px;
}
.main-footer .footer-widget.links-widget ul.list-link li a:hover {
    padding-left: 6px;
}

/* Footer social icons */
.main-footer .social-box li a {
    transition: transform var(--px-transition), color var(--px-transition) !important;
    display: inline-block !important;
}
.main-footer .social-box li a:hover {
    transform: translateY(-4px) scale(1.15) !important;
    color: var(--px-primary) !important;
}

/* ============================================================
   HOME PAGE — STATS STRIP (new)
   ============================================================ */
.px-stats-strip {
    background: var(--px-white);
    border-top: 1px solid var(--px-border);
    border-bottom: 1px solid var(--px-border);
    padding: 44px 0;
}
.px-stats-strip .px-stat {
    text-align: center;
    padding: 16px 12px;
    position: relative;
}
.px-stats-strip .px-stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0; top: 50%;
    transform: translateY(-50%);
    height: 50px; width: 1px;
    background: var(--px-border);
}
.px-stats-strip .px-stat-number {
    font-size: 44px;
    font-weight: 900;
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, var(--px-primary), var(--px-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 4px;
    display: block;
}
.px-stats-strip .px-stat-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--px-muted);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-family: 'Montserrat', sans-serif;
}
.px-stats-strip .px-stat-icon {
    font-size: 20px;
    color: var(--px-primary);
    margin-bottom: 6px;
    display: block;
}

/* ============================================================
   HOME PAGE — TECH BADGES STRIP (new)
   ============================================================ */
.px-tech-strip {
    background: linear-gradient(135deg, var(--px-dark) 0%, var(--px-blue) 100%);
    padding: 28px 0;
    overflow: hidden;
    position: relative;
}
.px-tech-strip::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url(/images/background/pattern-16.png);
    background-size: cover;
    opacity: 0.04;
    pointer-events: none;
}
.px-tech-badge-list {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
    padding: 0; margin: 0;
}
.px-tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 30px;
    padding: 7px 18px;
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    transition: background var(--px-transition), border-color var(--px-transition), transform var(--px-transition);
    white-space: nowrap;
}
.px-tech-badge .fa {
    color: var(--px-accent);
    font-size: 14px;
}
.px-tech-badge:hover {
    background: rgba(255,255,255,0.13);
    border-color: rgba(255,255,255,0.28);
    transform: translateY(-3px);
}

/* ============================================================
   HOME PAGE — CTA BANNER CARD (new)
   ============================================================ */
.px-cta-card {
    background: linear-gradient(135deg, var(--px-primary) 0%, #8b1a56 50%, var(--px-accent) 100%);
    border-radius: 20px;
    padding: 56px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--px-shadow-lg);
}
.px-cta-card::before {
    content: '';
    position: absolute;
    top: -40%; right: -10%;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.10), transparent 70%);
    pointer-events: none;
}
.px-cta-card h2 {
    color: #fff;
    font-size: 32px;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 14px;
}
.px-cta-card p {
    color: rgba(255,255,255,0.82);
    font-size: 16px;
    margin-bottom: 28px;
}
.px-cta-card .theme-btn {
    background: #fff !important;
    color: var(--px-primary) !important;
    font-weight: 700 !important;
}
.px-cta-card .theme-btn:hover {
    background: var(--px-light-bg) !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2) !important;
}

/* ============================================================
   HOME PAGE — WHY CHOOSE US CARDS (new)
   ============================================================ */
.px-why-section {
    background: var(--px-light-bg);
    padding: 80px 0;
}
.px-why-card {
    background: var(--px-white);
    border-radius: var(--px-radius);
    padding: 32px 26px;
    border: 1px solid var(--px-border);
    box-shadow: var(--px-shadow-sm);
    height: 100%;
    transition: transform var(--px-transition), box-shadow var(--px-transition), border-color var(--px-transition);
    position: relative;
    overflow: hidden;
}
.px-why-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--px-primary), var(--px-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--px-transition);
    border-radius: 3px 3px 0 0;
}
.px-why-card:hover::before {
    transform: scaleX(1);
}
.px-why-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--px-shadow-md);
    border-color: rgba(89,16,56,0.15);
}
.px-why-card-icon {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, var(--px-primary), var(--px-accent));
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; color: #fff;
    margin-bottom: 18px;
    box-shadow: 0 6px 20px rgba(89,16,56,0.25);
    transition: transform var(--px-transition);
}
.px-why-card:hover .px-why-card-icon {
    transform: scale(1.12) rotate(-6deg);
}
.px-why-card h5 {
    font-size: 17px;
    font-weight: 700;
    color: var(--px-dark);
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 10px;
}
.px-why-card p {
    font-size: 14px;
    color: var(--px-muted);
    line-height: 1.7;
    margin: 0;
}

/* ============================================================
   FLOATING PARTICLES — HERO SECTION DECORATION
   ============================================================ */
.px-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}
.px-particles span {
    position: absolute;
    display: block;
    border-radius: 50%;
    animation: px-float-up linear infinite;
    opacity: 0;
}
.px-particles span:nth-child(1)  { left:5%;   width:5px;  height:5px;  background:rgba(255,255,255,0.18); animation-duration:16s; animation-delay:0s;   }
.px-particles span:nth-child(2)  { left:15%;  width:8px;  height:8px;  background:rgba(232,82,58,0.25);   animation-duration:20s; animation-delay:2s;   }
.px-particles span:nth-child(3)  { left:25%;  width:4px;  height:4px;  background:rgba(255,255,255,0.12); animation-duration:14s; animation-delay:4s;   }
.px-particles span:nth-child(4)  { left:40%;  width:6px;  height:6px;  background:rgba(45,179,122,0.2);   animation-duration:18s; animation-delay:1s;   }
.px-particles span:nth-child(5)  { left:55%;  width:5px;  height:5px;  background:rgba(255,255,255,0.15); animation-duration:22s; animation-delay:3s;   }
.px-particles span:nth-child(6)  { left:65%;  width:7px;  height:7px;  background:rgba(232,82,58,0.2);    animation-duration:17s; animation-delay:5s;   }
.px-particles span:nth-child(7)  { left:75%;  width:4px;  height:4px;  background:rgba(255,255,255,0.1);  animation-duration:19s; animation-delay:0.5s; }
.px-particles span:nth-child(8)  { left:85%;  width:6px;  height:6px;  background:rgba(45,179,122,0.18);  animation-duration:15s; animation-delay:2.5s; }
.px-particles span:nth-child(9)  { left:92%;  width:5px;  height:5px;  background:rgba(255,255,255,0.12); animation-duration:21s; animation-delay:1.5s; }
.px-particles span:nth-child(10) { left:48%;  width:7px;  height:7px;  background:rgba(232,82,58,0.15);   animation-duration:13s; animation-delay:3.5s; }
@keyframes px-float-up {
    0%   { bottom:-10px; opacity:0; transform:translateX(0) rotate(0deg); }
    10%  { opacity:1; }
    90%  { opacity:1; }
    100% { bottom:110%; opacity:0; transform:translateX(50px) rotate(720deg); }
}

/* ============================================================
   SECTION TITLE ENHANCEMENTS
   ============================================================ */
.sec-title .title {
    position: relative;
    display: inline-block;
}
.sec-title .title::before {
    content: '';
    position: absolute;
    bottom: -3px; left: 0;
    width: 100%;
    height: 2px;
    background: var(--px-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}
.sec-title.animated .title::before {
    transform: scaleX(1);
}

/* ============================================================
   GENERIC HOVER CARD EFFECT (re-used throughout)
   ============================================================ */
.px-hover-lift {
    transition: transform var(--px-transition), box-shadow var(--px-transition) !important;
}
.px-hover-lift:hover {
    transform: translateY(-7px) !important;
    box-shadow: var(--px-shadow-md) !important;
}

/* ============================================================
   PAGE TITLE — BREADCRUMBS
   ============================================================ */
.page-breadcrumb li a {
    transition: color var(--px-transition);
}
.page-breadcrumb li a:hover {
    color: #ffcce0;
}

/* ============================================================
   SIDEBAR SERVICE LIST ANIMATION
   ============================================================ */
.services-list-widget li {
    transition: transform var(--px-transition);
}
.services-list-widget li:hover {
    transform: translateX(6px);
}

/* ============================================================
   MOBILE NAV ENHANCEMENT
   ============================================================ */
.mobile-menu .menu-box {
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1) !important;
}

/* ============================================================
   WOW ANIMATION OVERRIDES — faster feels
   ============================================================ */
.wow {
    animation-duration: 0.8s !important;
}

/* ============================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================ */
@media (max-width: 991px) {
    .px-stats-strip .px-stat:not(:last-child)::after { display: none; }
    .px-cta-card { padding: 40px 28px; }
    .px-cta-card h2 { font-size: 24px; }
    .feature-block-two .inner-box .number { font-size: 56px; }
}
@media (max-width: 576px) {
    .px-stats-strip .px-stat-number { font-size: 32px; }
    .px-tech-badge-list { gap: 8px; }
    .px-tech-badge { font-size: 12px; padding: 6px 14px; }
    .px-cta-card { padding: 28px 20px; border-radius: 14px; }
    .px-why-card { margin-bottom: 4px; }
}
