/* ============================================
   JAMALITECH - Main Overrides
   Corporate, bold, full-width design
   ============================================ */

/* ---- Global: Prevent horizontal scroll ---- */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

/* ---- Reset parent theme conflicts ---- */
.page-wrapper {
    overflow-x: hidden;
    max-width: 100%;
}

/* Hide parent theme header & footer (we use our own) */
.header-area,
.mainmenu-area,
.footer-area,
.footer-bottom-area,
.scroll-to-top {
    display: none !important;
}

/* ============================================
   HEADER — 3-Tier Professional Corporate Header
   Tier 1: Dark utility bar (navy)
   Tier 2: Logo + contact (white)
   Tier 3: Product navigation (red)
   ============================================ */

/* --- Tier 1: Top utility bar --- */
#top-bar {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.topbar-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: color 0.2s;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.topbar-link:last-child { border-right: none; }
.topbar-link:hover { color: #fff; }
.topbar-link i { font-size: 11px; color: #c12d28; }

/* --- Tier 2: Brand / contact bar --- */
#top-bar,
#brand-bar,
#site-header {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

#brand-bar {
    background: #fff !important;
}

.brand-logo {
    max-height: 52px !important;
    width: auto !important;
    height: 52px !important;
    object-fit: contain;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
}

.social-icon:hover {
    background: #c12d28;
    border-color: #c12d28;
    color: #fff;
}

/* Header CTA action buttons (Call & WhatsApp) */
.header-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 16px;
    text-decoration: none !important;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.header-cta-call {
    background: #c12d28;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(193,45,40,0.25);
}

.header-cta-call:hover {
    background: #a82420;
    transform: scale(1.08);
    box-shadow: 0 4px 16px rgba(193,45,40,0.35);
}

.header-cta-whatsapp {
    background: #25d366;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(37,211,102,0.25);
}

.header-cta-whatsapp:hover {
    background: #1fb855;
    transform: scale(1.08);
    box-shadow: 0 4px 16px rgba(37,211,102,0.35);
}

/* --- Tier 3: Product navigation bar (red) --- */
#site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 9990 !important;
    background: #c12d28 !important;
    box-shadow: 0 2px 8px rgba(193,45,40,0.3);
    overflow: hidden;
}

#site-header > div {
    overflow: hidden;
}

#site-header.scrolled {
    box-shadow: 0 4px 20px rgba(193,45,40,0.35) !important;
}

/* Product nav — fit all items without overflow */
.product-nav {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    width: 100% !important;
}

.product-nav .menu-item {
    flex: 0 1 auto;
}

.product-nav .menu-item > a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0 14px;
    height: 46px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    color: #fff !important;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: background 0.2s;
    white-space: nowrap;
}

.product-nav .menu-item > a:hover,
.product-nav .current-menu-item > a,
.product-nav .current_page_item > a {
    background: rgba(0,0,0,0.15);
    color: #fff !important;
}

.product-nav .menu-item > a i {
    font-size: 12px;
    opacity: 0.8;
}

/* Product nav dropdowns */
#site-header .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    border-radius: 0 0 6px 6px;
    padding: 6px 0;
    list-style: none;
    margin: 0;
    z-index: 100;
}

#site-header .menu-item:hover > .sub-menu {
    display: block;
}

#site-header .sub-menu .menu-item > a {
    padding: 10px 18px !important;
    height: auto !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #374151 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    background: transparent !important;
}

#site-header .sub-menu .menu-item > a:hover {
    background: #f8f9fa !important;
    color: #c12d28 !important;
}

#site-header .menu-item-has-children {
    position: relative;
}

/* ============================================
   MOBILE MENU — Full-screen Slide Drawer
   ============================================ */

/* Hamburger button */
.jt-hamburger {
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: 4px;
    z-index: 10001;
    position: relative;
}

.jt-hamburger__line {
    display: block;
    width: 24px;
    height: 2.5px;
    background: #1a2332;
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    transform-origin: center;
}

.jt-hamburger__line:nth-child(3) {
    width: 16px;
}

/* Hamburger → X animation */
.jt-hamburger.active .jt-hamburger__line:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
    background: #fff;
}

.jt-hamburger.active .jt-hamburger__line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.jt-hamburger.active .jt-hamburger__line:nth-child(3) {
    width: 24px;
    transform: translateY(-7.5px) rotate(-45deg);
    background: #fff;
}

/* Menu container */
.jt-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 10000;
    pointer-events: none;
    visibility: hidden;
}

.jt-mobile-menu.open {
    pointer-events: auto;
    visibility: visible;
}

/* Dark overlay */
.jt-mobile-menu__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.jt-mobile-menu.open .jt-mobile-menu__overlay {
    opacity: 1;
}

/* Slide panel */
.jt-mobile-menu__panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 85vw;
    height: 100%;
    background: #1a2332;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: -8px 0 30px rgba(0,0,0,0.3);
}

.jt-mobile-menu.open .jt-mobile-menu__panel {
    transform: translateX(0);
}

/* Panel header */
.jt-mobile-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    flex-shrink: 0;
}

.jt-mobile-menu__logo img {
    height: 36px;
    width: auto;
    filter: brightness(0) invert(1);
}

.jt-mobile-menu__close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    border: none;
    border-radius: 8px;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    transition: all 0.2s;
}

.jt-mobile-menu__close:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

/* Scrollable body */
.jt-mobile-menu__body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 0;
    -webkit-overflow-scrolling: touch;
}

/* Quick links row */
.jt-mobile-menu__quick {
    display: flex;
    gap: 0;
    padding: 0 12px;
    margin-bottom: 8px;
}

.jt-mobile-menu__quick-link {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 8px;
    border-radius: 10px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    font-family: 'Plus Jakarta Sans', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.2s;
}

.jt-mobile-menu__quick-link i {
    font-size: 18px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.06);
    border-radius: 10px;
    transition: all 0.2s;
}

.jt-mobile-menu__quick-link:hover,
.jt-mobile-menu__quick-link:active {
    color: #fff;
}

.jt-mobile-menu__quick-link:hover i,
.jt-mobile-menu__quick-link:active i {
    background: #c12d28;
    color: #fff;
}

/* Divider */
.jt-mobile-menu__divider {
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin: 12px 20px;
}

/* Section label */
.jt-mobile-menu__label {
    padding: 0 20px;
    margin: 0 0 8px;
    font-size: 10px;
    font-weight: 700;
    font-family: 'Plus Jakarta Sans', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.35);
}

/* Nav items */
.jt-mobile-menu__item {
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.jt-mobile-menu__item-header {
    display: flex;
    align-items: center;
}

.jt-mobile-menu__link {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: #fff;
    text-decoration: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s;
}

.jt-mobile-menu__link i {
    width: 20px;
    text-align: center;
    color: #c12d28;
    font-size: 16px;
}

.jt-mobile-menu__link:hover,
.jt-mobile-menu__link:active {
    background: rgba(255,255,255,0.04);
    color: #c12d28;
}

/* Expand/collapse button */
.jt-mobile-menu__expand {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    border-left: 1px solid rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
}

.jt-mobile-menu__expand:hover {
    color: #fff;
}

.jt-mobile-menu__expand svg {
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.jt-mobile-menu__expand.expanded svg {
    transform: rotate(180deg);
}

/* Sub-menu */
.jt-mobile-menu__sub {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    background: rgba(0,0,0,0.15);
}

.jt-mobile-menu__sub.open {
    max-height: 600px;
}

.jt-mobile-menu__sub-link {
    display: block;
    padding: 10px 20px 10px 52px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    font-family: 'Plus Jakarta Sans', sans-serif;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    transition: all 0.2s;
    position: relative;
}

.jt-mobile-menu__sub-link::before {
    content: '';
    position: absolute;
    left: 36px;
    top: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    transform: translateY(-50%);
    transition: background 0.2s;
}

.jt-mobile-menu__sub-link:hover,
.jt-mobile-menu__sub-link:active {
    color: #fff;
    background: rgba(255,255,255,0.03);
}

.jt-mobile-menu__sub-link:hover::before {
    background: #c12d28;
}

/* CTA buttons */
.jt-mobile-menu__cta {
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.jt-mobile-menu__cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 20px;
    border-radius: 10px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: all 0.3s;
}

.jt-mobile-menu__cta-btn--primary {
    background: #c12d28;
    color: #fff;
}

.jt-mobile-menu__cta-btn--primary:hover {
    background: #a82520;
    color: #fff;
}

.jt-mobile-menu__cta-btn--call {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.12);
}

.jt-mobile-menu__cta-btn--call:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

.jt-mobile-menu__cta-btn--wa {
    background: #25d366;
    color: #fff;
}

.jt-mobile-menu__cta-btn--wa:hover {
    background: #1fb855;
    color: #fff;
}

/* Panel footer */
.jt-mobile-menu__footer {
    padding: 14px 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.jt-mobile-menu__contact {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: color 0.2s;
}

.jt-mobile-menu__contact:hover {
    color: #fff;
}

.jt-mobile-menu__contact i {
    margin-right: 6px;
    color: #c12d28;
}

.jt-mobile-menu__socials {
    display: flex;
    gap: 10px;
}

.jt-mobile-menu__socials a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.jt-mobile-menu__socials a:hover {
    background: #c12d28;
    color: #fff;
}

/* Body scroll lock when menu is open */
body.mobile-menu-open {
    overflow: hidden !important;
}

/* Hide header logo (logo is in brand-bar now) */
#site-header img {
    display: none !important;
}

/* Preloader logo should NOT be affected */
#jamalitech-preloader img {
    max-height: none !important;
    height: auto !important;
    width: 320px !important;
    max-width: 80vw !important;
    display: block !important;
}

/* ============================================
   TYPOGRAPHY — Refined Corporate Sizes
   Montserrat headings + Inter body (bhd.co.ke style)
   ============================================ */
body.jamalitech-theme {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #2d3748;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.01em;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', 'Montserrat', -apple-system, sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: #1a202c;
}

h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; line-height: 1.15; }
h2 { font-size: clamp(1.625rem, 3.5vw, 2.25rem); font-weight: 700; line-height: 1.2; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); font-weight: 700; line-height: 1.3; }
h4 { font-size: 1.125rem; font-weight: 600; line-height: 1.35; }

p {
    font-size: 1rem;
    line-height: 1.7;
    color: #4a5568;
}

/* ---- Full-Width Containers ---- */
.tw-max-w-7xl {
    max-width: 1280px !important;
}

/* (Nav styles moved to header tier section above) */

/* ---- Top bar dark bg ---- */
.tw-bg-dark {
    background: #1a202c !important;
}

/* Brand bar logo constraint */
#brand-bar img {
    max-height: 52px !important;
    height: 52px !important;
    width: auto !important;
    object-fit: contain;
}

/* ---- Service card hover effects ---- */
.service-card {
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: #c12d28;
    transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 0 0 8px 8px;
}

.service-card:hover::before {
    width: 100%;
}

/* ---- Hamburger animation ---- */
#mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

#mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

#mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    width: 24px;
    transform: rotate(-45deg) translate(4px, -4px);
}

/* ---- Scroll to top visibility ---- */
#scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ---- Selection color ---- */
::selection {
    background: #c12d28;
    color: #fff;
}

/* ---- Focus styles for accessibility ---- */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #c12d28;
    outline-offset: 2px;
}

/* ---- Image lazy load ---- */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.4s ease;
}

img[loading="lazy"].loaded,
img[loading="lazy"][complete] {
    opacity: 1;
}

img[loading="eager"] {
    opacity: 1;
}

/* ---- Remove parent theme breadcrumbs ---- */
body.home .breadcrumb-area,
body.home .breadcrumb-bottom-area,
body .breadcrumb-area,
body .breadcrumb-bottom-area {
    display: none !important;
}

/* ============================================
   INNER PAGE TEMPLATE STYLES
   ============================================ */

/* Page hero banner — softer dark gradient */
.page-hero {
    background: linear-gradient(135deg, #1a2332 0%, #2d3748 100%);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(193, 45, 40, 0.1));
}

/* Inner page content typography */
.page-content {
    font-size: 1.125rem;
    line-height: 1.85;
    color: #333;
}

.page-content h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); margin-bottom: 1.25rem; }
.page-content h2 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 1rem; margin-top: 2.5rem; }
.page-content h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.875rem; margin-top: 2rem; }
.page-content h4 { font-size: 1.375rem; margin-bottom: 0.75rem; margin-top: 1.5rem; }

.page-content p {
    font-size: 1.125rem;
    line-height: 1.85;
    margin-bottom: 1.25rem;
    color: #444;
}

.page-content ul, .page-content ol {
    font-size: 1.125rem;
    line-height: 1.85;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.page-content li {
    margin-bottom: 0.5rem;
}

.page-content img {
    border-radius: 12px;
    max-width: 100%;
    height: auto;
    margin: 1.5rem 0;
}

.page-content a {
    color: #c12d28;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.page-content a:hover {
    color: #a02420;
}

.page-content blockquote {
    border-left: 4px solid #c12d28;
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background: #f8f9fa;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    font-size: 1.125rem;
}

.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 1.063rem;
}

.page-content th, .page-content td {
    padding: 12px 16px;
    border: 1px solid #e5e5e5;
    text-align: left;
}

.page-content th {
    background: #1a1a1a;
    color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
}

/* ============================================
   KingComposer / Parent Theme Inner Page Overrides
   Fix jammed content, spacing, typography
   ============================================ */

/* Main content area spacing + WHITE backgrounds */
.page-content-area,
.site-content,
.content-area,
#content,
.entry-content,
.kc-css-system {
    padding-top: 2rem !important;
    padding-bottom: 3rem !important;
    background: #fff !important;
}

/* Force white background on ALL inner page elements (exclude footer) */
body:not(.home) .kc_row,
body:not(.home) .kc-css-system .kc_row,
body:not(.home) section.kc_row,
body:not(.home) .kc-row-container,
body:not(.home) .kc-col-container,
body:not(.home) .page-content,
body:not(.home) .kc_text_block,
body:not(.home) #solution-single-area,
body:not(.home) .choosing-area,
body:not(.home) .kc_column,
body:not(.home) .kc-elm,
body:not(.home) .single-solution-content,
body:not(.home) .widget-area {
    background-color: #fff !important;
    color: #1a1a1a !important;
}

/* Ensure page body itself is white */
body.jamalitech-theme:not(.home) {
    background: #fff !important;
}

/* Reset KC inline dark backgrounds */
body:not(.home) [style*="background"] .kc-col-container,
body:not(.home) [style*="background"] .kc-row-container {
    background-color: #fff !important;
}

/* KC rows need breathing room */
.kc-css-system .kc_row,
.kc_row {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
    font-size: 1rem !important;
    line-height: 1.7 !important;
}

.kc-css-system .kc_row + .kc_row,
.kc_row + .kc_row {
    margin-top: 10px !important;
}

/* KC column LAYOUT — WooCommerce-style sidebar + content */
.kc-wrap-columns {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-left: -15px !important;
    margin-right: -15px !important;
}

.kc-wrap-columns > [class*="kc_col-"] {
    float: none !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    font-size: 1rem !important;
    line-height: 1.7 !important;
    box-sizing: border-box !important;
}

/* Explicit KC column widths */
.kc-wrap-columns > .kc_col-sm-3 { width: 25% !important; flex: 0 0 25% !important; }
.kc-wrap-columns > .kc_col-sm-4 { width: 33.33% !important; flex: 0 0 33.33% !important; }
.kc-wrap-columns > .kc_col-sm-6 { width: 50% !important; flex: 0 0 50% !important; }
.kc-wrap-columns > .kc_col-sm-8 { width: 66.66% !important; flex: 0 0 66.66% !important; }
.kc-wrap-columns > .kc_col-sm-9 { width: 75% !important; flex: 0 0 75% !important; }
.kc-wrap-columns > .kc_col-sm-12 { width: 100% !important; flex: 0 0 100% !important; }

@media (max-width: 768px) {
    .kc-wrap-columns > [class*="kc_col-"] {
        width: 100% !important;
        flex: 0 0 100% !important;
    }
}

/* KC container max-width */
.kc-container,
.kc-row-container {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* KC headings - proper font, size, spacing */
.kc-css-system h1, .kc-css-system h2, .kc-css-system h3,
.kc-css-system h4, .kc-css-system h5, .kc-css-system h6,
.kc_title, .kc_title a {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin-bottom: 16px !important;
}

.kc-css-system h1 { font-size: clamp(1.75rem, 4vw, 2.5rem) !important; }
.kc-css-system h2 { font-size: clamp(1.5rem, 3.5vw, 2rem) !important; }
.kc-css-system h3 { font-size: clamp(1.125rem, 2.5vw, 1.375rem) !important; }
.kc-css-system h4 { font-size: 1.125rem !important; }

/* KC paragraphs */
.kc-css-system p,
.kc-elm p {
    font-size: 1.14rem !important;
    line-height: 1.7 !important;
    margin-bottom: 1rem !important;
}

/* KC links in content */
.kc-css-system a:not(.btn):not([class*="kc_button"]) {
    color: #c12d28;
}

/* KC images */
.kc-css-system img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 8px;
}

/* Product sidebar / left nav styling */
.kc-css-system .kc_row .kc_col-sm-4,
.kc-css-system .kc_row .kc_col-sm-3 {
    margin-bottom: 20px !important;
}

/* KC buttons */
.kc_button,
.kc-css-system .kc_button,
.kc-css-system a.kc_button {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    padding: 12px 28px !important;
    border-radius: 6px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
}

/* Testimonial section in KC */
.kc-css-system .kc-carousel-testimonial,
.kc-css-system blockquote {
    font-size: 1.063rem !important;
    line-height: 1.8 !important;
    padding: 20px !important;
}

/* Product category sidebar links */
body:not(.home) .page-content ul,
body:not(.home) .kc-css-system ul {
    list-style: none;
    padding-left: 0 !important;
}

body:not(.home) .page-content ul li,
body:not(.home) .kc-css-system ul li {
    padding: 12px 16px !important;
    margin-bottom: 4px !important;
    font-size: 1.063rem !important;
    border-bottom: 1px solid #f0f0f0;
}

body:not(.home) .page-content ul li a,
body:not(.home) .kc-css-system ul li a {
    color: #1a1a1a;
    text-decoration: none !important;
    font-weight: 500;
    font-size: 1.063rem !important;
    display: block;
}

body:not(.home) .page-content ul li a:hover,
body:not(.home) .kc-css-system ul li a:hover {
    color: #c12d28;
}

/* Parent theme section headings on inner pages */
body:not(.home) .section-title,
body:not(.home) .widget-title,
body:not(.home) .sidebar .widget-title {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    line-height: 1.3 !important;
}

/* Container on inner pages */
body:not(.home) .container {
    max-width: 1400px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* Fix parent theme's tight row spacing */
body:not(.home) .row {
    margin-left: -10px !important;
    margin-right: -10px !important;
}

body:not(.home) .row > [class*="col-"] {
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin-bottom: 20px !important;
}

/* WHY CHOOSE US, IN STOCK headings from parent */
body:not(.home) .kc-css-system h2[style],
body:not(.home) .kc-css-system h3[style] {
    margin-top: 24px !important;
    margin-bottom: 16px !important;
    padding-bottom: 12px !important;
}

/* Download catalog buttons */
body:not(.home) .kc-css-system .kc_button,
body:not(.home) .kc-css-system a[class*="btn"] {
    margin-top: 8px !important;
    margin-bottom: 16px !important;
}

/* ============================================
   Parent Theme Inner Page Content Overrides
   .single-solution-content, .experts-provide, etc.
   ============================================ */

/* Solution content layout */
.single-solution-content {
    padding: 20px 0 !important;
}

.single-solution-content .row {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-left: -15px !important;
    margin-right: -15px !important;
    margin-bottom: 30px !important;
}

.single-solution-content .row .top,
.single-solution-content .row .bottom {
    display: flex !important;
    flex-wrap: wrap !important;
    width: 100% !important;
}

.single-solution-content .col-md-5,
.single-solution-content .col-md-7,
.single-solution-content .col-md-6,
.single-solution-content .col-md-12 {
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin-bottom: 20px !important;
}

.single-solution-content .col-md-5 { width: 41.66% !important; }
.single-solution-content .col-md-7 { width: 58.33% !important; }
.single-solution-content .col-md-6 { width: 50% !important; }
.single-solution-content .col-md-12 { width: 100% !important; }

@media (max-width: 768px) {
    .single-solution-content .col-md-5,
    .single-solution-content .col-md-7,
    .single-solution-content .col-md-6 {
        width: 100% !important;
    }
}

/* Image holders */
.single-solution-content .img-holder {
    margin-bottom: 20px;
}

.single-solution-content .img-holder img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Hide empty KC elements (empty image src, empty accordion) */
.single-solution-content .img-holder img[src=""],
.single-solution-content .img-holder img:not([src]) {
    display: none !important;
}
.single-solution-content .img-holder:has(img[src=""]),
.single-solution-content .img-holder:has(img:not([src])) {
    display: none !important;
}
.single-solution-content .accordion-box:empty {
    display: none !important;
}
.single-solution-content .row .bottom:has(.img-holder:empty, .accordion-box:empty) {
    display: none !important;
}
/* Collapse the bottom row when both children are empty */
.single-solution-content .row .bottom:has(img[src=""]):has(.accordion-box:empty) {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Text content in solution pages */
.single-solution-content .text-holder {
    padding: 10px 0;
}

.single-solution-content .text-holder h2 {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: clamp(1.875rem, 4vw, 2.5rem) !important;
    font-weight: 800 !important;
    color: #1a1a1a !important;
    margin-bottom: 16px !important;
    line-height: 1.25 !important;
}

.single-solution-content .text-holder h3 {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 1.375rem !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin-bottom: 12px !important;
    line-height: 1.35 !important;
}

.single-solution-content .text-holder p {
    font-size: 1.125rem !important;
    line-height: 1.85 !important;
    color: #444 !important;
    margin-bottom: 1rem !important;
}

.single-solution-content .text-holder a {
    color: #c12d28 !important;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.125rem !important;
    transition: color 0.3s;
}

.single-solution-content .text-holder a:hover {
    color: #a02420 !important;
    text-decoration: underline;
}

/* Section title two (parent theme heading pattern) */
.sec-title-two {
    margin-bottom: 24px !important;
    padding-bottom: 16px !important;
    border-bottom: 2px solid #f0f0f0;
}

.sec-title-two h2 {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: clamp(1.75rem, 4vw, 2.25rem) !important;
    font-weight: 800 !important;
    color: #1a1a1a !important;
    margin-bottom: 8px !important;
    line-height: 1.25 !important;
}

.sec-title-two .border {
    display: block;
    width: 50px;
    height: 3px;
    background: #c12d28;
    border-radius: 2px;
    margin-top: 8px;
}

/* Experts provide section (Why Choose Us) */
.experts-provide {
    padding: 30px 0 !important;
}

.single-experts-provide {
    display: flex !important;
    align-items: flex-start !important;
    gap: 16px !important;
    padding: 20px !important;
    margin-bottom: 16px !important;
    background: #f8f9fa !important;
    border-radius: 12px !important;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.single-experts-provide:hover {
    border-color: rgba(193, 45, 40, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
}

.single-experts-provide .icon-holder {
    flex-shrink: 0;
    width: 48px !important;
    height: 48px !important;
    background: #c12d28 !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
    font-size: 20px !important;
}

.single-experts-provide .icon-holder span::before {
    color: #fff !important;
    font-size: 20px !important;
}

.single-experts-provide .text-holder h3 {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin-bottom: 6px !important;
}

.single-experts-provide .text-holder p {
    font-size: 1rem !important;
    line-height: 1.7 !important;
    color: #555 !important;
    margin-bottom: 0 !important;
}

/* Caption box (CTA bar) */
.caption-box {
    background-size: cover !important;
    background-position: center !important;
    border-radius: 12px !important;
    padding: 40px 30px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    position: relative !important;
    overflow: hidden !important;
    margin-top: 30px !important;
}

.caption-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.9), rgba(45, 55, 72, 0.85));
    border-radius: 12px;
}

.caption-box .title,
.caption-box .button {
    position: relative;
    z-index: 2;
}

.caption-box .title h3 {
    color: #fff !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 1.375rem !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    margin: 0 !important;
}

.caption-box .thm-btn,
.caption-box a {
    display: inline-flex !important;
    align-items: center !important;
    padding: 14px 32px !important;
    background: #c12d28 !important;
    color: #fff !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    border: none !important;
}

.caption-box .thm-btn:hover,
.caption-box a:hover {
    background: #a02420 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(193, 45, 40, 0.3) !important;
}

/* Sidebar styling */
.single-sidebar {
    margin-bottom: 24px !important;
    padding: 24px !important;
    background: #f8f9fa !important;
    border-radius: 12px !important;
    border: 1px solid #e5e7eb;
}

.sidebar-title {
    margin-bottom: 16px !important;
    padding-bottom: 12px !important;
    border-bottom: 2px solid #f0f0f0 !important;
}

.sidebar-title h1 {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin: 0 !important;
    line-height: 1.3 !important;
}

.sidebar-title .border {
    display: block;
    width: 40px;
    height: 3px;
    background: #c12d28;
    border-radius: 2px;
    margin-top: 8px;
}

/* Sidebar nav menu */
.single-sidebar .menu {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.single-sidebar .menu li {
    padding: 0 !important;
    margin: 0 !important;
    border-bottom: 1px solid #e5e7eb !important;
}

.single-sidebar .menu li:last-child {
    border-bottom: none !important;
}

.single-sidebar .menu li a {
    display: block !important;
    padding: 12px 0 !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #333 !important;
    text-decoration: none !important;
    transition: color 0.3s, padding-left 0.3s !important;
}

.single-sidebar .menu li a:hover {
    color: #c12d28 !important;
    padding-left: 8px !important;
}

/* Testimonial sidebar */
.client-testimonial-item {
    margin-top: 12px;
}

.single-client-testimonial-item .text {
    padding: 16px !important;
    background: #fff !important;
    border-radius: 10px !important;
    border: 1px solid #e5e7eb;
    position: relative;
    margin-bottom: 16px !important;
}

.single-client-testimonial-item .text p {
    font-size: 0.938rem !important;
    line-height: 1.7 !important;
    color: #555 !important;
    font-style: italic;
    margin: 0 !important;
}

.single-client-testimonial-item .text .arrow {
    color: #c12d28;
    margin-top: 8px;
}

.single-client-testimonial-item .client-info {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.single-client-testimonial-item .client-info .ing-box img {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    object-fit: cover;
}

.single-client-testimonial-item .client-info h4 {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 0.938rem !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    margin: 0 !important;
}

.single-client-testimonial-item .client-info h4 span {
    font-weight: 400 !important;
    color: #888 !important;
    font-size: 0.875rem !important;
}

/* Download catalog buttons (raw HTML in KC) */
.kc-raw-code button,
.kc-raw-code button a {
    display: inline-flex !important;
    align-items: center !important;
    padding: 12px 28px !important;
    background: #c12d28 !important;
    color: #fff !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin-bottom: 12px !important;
}

.kc-raw-code button:hover,
.kc-raw-code button a:hover {
    background: #a02420 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(193, 45, 40, 0.25) !important;
}

.kc-raw-code h3 {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin-bottom: 8px !important;
}

/* ============================================
   Product Page — Table & Content Styling
   ============================================ */

/* Product tables — modern design */
.page-content table,
.kc-raw-code table,
.kc-css-system table,
.single-solution-content table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 15px !important;
    margin: 24px 0 32px !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04) !important;
    border: 1px solid #e5e7eb !important;
}

.page-content th,
.kc-raw-code th,
.kc-css-system th,
.single-solution-content th {
    background: #1a2332 !important;
    color: #fff !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    padding: 14px 20px !important;
    text-align: left !important;
    border: none !important;
}

.page-content td,
.kc-raw-code td,
.kc-css-system td,
.single-solution-content td {
    padding: 12px 20px !important;
    font-size: 15px !important;
    color: #333 !important;
    border-bottom: 1px solid #f0f0f0 !important;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    background: #fff !important;
}

.page-content tr:nth-child(even) td,
.kc-raw-code tr:nth-child(even) td,
.kc-css-system tr:nth-child(even) td,
.single-solution-content tr:nth-child(even) td {
    background: #f8f9fa !important;
}

.page-content tr:hover td,
.kc-raw-code tr:hover td,
.kc-css-system tr:hover td,
.single-solution-content tr:hover td {
    background: rgba(193, 45, 40, 0.04) !important;
}

.page-content tr:last-child td,
.kc-raw-code tr:last-child td {
    border-bottom: none !important;
}

/* Product table headings (h2 above tables) */
.kc-raw-code h2,
.kc-css-system .kc-raw-code h2 {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: clamp(1.5rem, 3vw, 2rem) !important;
    font-weight: 800 !important;
    color: #1a1a1a !important;
    margin: 32px 0 8px !important;
    padding-bottom: 12px !important;
    border-bottom: 2px solid #f0f0f0 !important;
    position: relative !important;
}

.kc-raw-code h2::after {
    content: '' !important;
    position: absolute !important;
    bottom: -2px !important;
    left: 0 !important;
    width: 50px !important;
    height: 2px !important;
    background: #c12d28 !important;
}

/* Product images in KC */
.kc_single_image img,
.kc-css-system .kc_single_image img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
    margin: 16px 0 !important;
    display: block !important;
}

/* Product page layout — better spacing between sections */
.page-content > section.kc_row + section.kc_row,
.page-content .kc_row + .kc_row {
    margin-top: 20px !important;
    padding-top: 20px !important;
}

/* Override inline table styles from KC raw HTML */
.kc-raw-code table[style],
.kc-raw-code td[style],
.kc-raw-code th[style],
.kc-raw-code tr[style] {
    font-family: 'Inter', sans-serif !important;
}

/* Center tag override — remove inline centering */
.kc-raw-code center {
    text-align: left !important;
}

/* Remove inline doctype/html/body/head from raw code blocks */
.kc-raw-code html,
.kc-raw-code body {
    all: unset !important;
    display: block !important;
}

.kc-raw-code head,
.kc-raw-code style {
    display: none !important;
}

/* ============================================
   About Us Page — .choosing-area overrides
   ============================================ */

/* Choosing area — remove dark bg, make clean */
.choosing-area {
    background: #fff !important;
    padding: 40px 0 !important;
    color: #1a1a1a !important;
}

.choosing-area .container {
    max-width: 1400px !important;
    padding: 0 20px !important;
}

.choosing-area .row {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-left: -15px !important;
    margin-right: -15px !important;
}

.choosing-area .col-md-4 {
    width: 33.33% !important;
    padding: 0 15px !important;
    margin-bottom: 30px !important;
}

@media (max-width: 991px) {
    .choosing-area .col-md-4 {
        width: 100% !important;
    }
}

/* Section title in choosing area */
.choosing-area .sec-title {
    margin-bottom: 24px !important;
}

.choosing-area .sec-title p {
    color: #c12d28 !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    margin-bottom: 8px !important;
}

.choosing-area .sec-title h1 {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: clamp(1.75rem, 4vw, 2.25rem) !important;
    font-weight: 800 !important;
    color: #1a1a1a !important;
    line-height: 1.25 !important;
    margin: 0 !important;
    position: relative;
    padding-bottom: 16px !important;
}

.choosing-area .sec-title h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #c12d28;
    border-radius: 2px;
}

/* Feature list items */
.choosing-area .content ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.choosing-area .content ul li {
    display: flex !important;
    align-items: flex-start !important;
    gap: 16px !important;
    padding: 20px !important;
    margin-bottom: 12px !important;
    background: #f8f9fa !important;
    border-radius: 12px !important;
    border: 1px solid #e5e7eb !important;
    transition: all 0.3s ease !important;
}

.choosing-area .content ul li:hover {
    border-color: rgba(193, 45, 40, 0.15) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
    transform: translateY(-2px) !important;
}

.choosing-area .content ul li .icon-holder {
    flex-shrink: 0 !important;
    width: 48px !important;
    height: 48px !important;
    background: #c12d28 !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.choosing-area .content ul li .icon-holder span::before {
    color: #fff !important;
    font-size: 20px !important;
}

.choosing-area .content ul li .text-holder h3 {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin-bottom: 2px !important;
    line-height: 1.3 !important;
}

.choosing-area .content ul li .text-holder span {
    color: #c12d28 !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    display: block !important;
    margin-bottom: 6px !important;
}

.choosing-area .content ul li .text-holder p {
    font-size: 0.938rem !important;
    line-height: 1.65 !important;
    color: #555 !important;
    margin: 0 !important;
}

/* Image box in choosing area */
.choosing-area .img-box {
    text-align: center;
}

.choosing-area .img-box img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08) !important;
}

/* Caption box as intro paragraph (About page context) */
.kc_text_block .caption-box {
    background: #f8f9fa !important;
    border-radius: 12px !important;
    padding: 30px !important;
    border: 1px solid #e5e7eb !important;
    margin-top: 16px !important;
    position: relative !important;
    overflow: visible !important;
}

.kc_text_block .caption-box::before {
    display: none !important;
}

.kc_text_block .caption-box p {
    font-size: 1.125rem !important;
    line-height: 1.85 !important;
    color: #444 !important;
    margin-bottom: 12px !important;
}

.kc_text_block .caption-box h4 {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #c12d28 !important;
    margin: 0 !important;
}

.kc_text_block .caption-box a {
    color: #c12d28 !important;
    font-weight: 600 !important;
}

/* ============================================
   Contact Page — Full Redesign
   Parent theme .contact-area override
   ============================================ */
.contact-area {
    padding: 0 !important;
    margin: 0 !important;
    background: #fff !important;
}

.contact-area .container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

.contact-area .row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 30px !important;
    margin: 0 !important;
}

.contact-area .col-md-4 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    float: none !important;
    padding: 0 !important;
}

.contact-area .col-md-8 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    float: none !important;
    padding: 0 !important;
}

@media (min-width: 768px) {
    .contact-area .row {
        flex-wrap: nowrap !important;
    }
    .contact-area .col-md-4 {
        flex: 0 0 35% !important;
        max-width: 35% !important;
    }
    .contact-area .col-md-8 {
        flex: 0 0 calc(65% - 30px) !important;
        max-width: calc(65% - 30px) !important;
    }
}

/* Contact details card */
.contact-details {
    background: #1a202c !important;
    color: #fff !important;
    border-radius: 12px !important;
    padding: 32px !important;
    height: 100% !important;
}

.contact-details h2,
.contact-details h5,
.contact-details-title h5 {
    color: #fff !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    padding-bottom: 12px !important;
    border-bottom: 2px solid rgba(193,45,40,0.5) !important;
}

.contact-info {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.contact-info li {
    display: flex !important;
    align-items: flex-start !important;
    gap: 14px !important;
    padding: 14px 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    font-size: 14px !important;
    color: rgba(255,255,255,0.7) !important;
}

.contact-info li:last-child {
    border-bottom: none !important;
}

.contact-info .icon-box {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    background: rgba(193,45,40,0.15) !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.contact-info .icon-box span::before {
    color: #c12d28 !important;
    font-size: 16px !important;
}

.contact-info .text-box p {
    color: rgba(255,255,255,0.75) !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

.contact-info .text-box p span {
    color: #fff !important;
    font-weight: 600 !important;
    display: block !important;
    margin-bottom: 2px !important;
}

.contact-info .text-box div {
    color: rgba(255,255,255,0.7) !important;
    font-size: 13px !important;
    line-height: 1.7 !important;
    white-space: pre-line !important;
}

/* Contact social links */
.contact-social-links {
    margin-top: 20px !important;
    padding-top: 16px !important;
    border-top: 1px solid rgba(255,255,255,0.1) !important;
}

.contact-social-links ul {
    display: flex !important;
    gap: 10px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.contact-social-links ul li a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,0.1) !important;
    color: #fff !important;
    font-size: 14px !important;
    transition: all 0.2s !important;
}

.contact-social-links ul li a:hover {
    background: #c12d28 !important;
}

/* Send message form area */
.send-message-form {
    background: #fff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    padding: 32px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04) !important;
}

.send-message-form .title h2 {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #1a202c !important;
    margin-bottom: 4px !important;
}

.send-message-form .title .border {
    display: block !important;
    width: 50px !important;
    height: 3px !important;
    background: #c12d28 !important;
    border-radius: 2px !important;
    margin-bottom: 16px !important;
}

.send-message-form h3 {
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    color: #64748b !important;
    margin-bottom: 20px !important;
}

/* Contact form inputs */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea,
.contact-form select {
    width: 100% !important;
    padding: 12px 16px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    color: #1a202c !important;
    background: #f8f9fa !important;
    outline: none !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: #c12d28 !important;
    box-shadow: 0 0 0 3px rgba(193,45,40,0.08) !important;
    background: #fff !important;
}

.contact-form textarea {
    min-height: 120px !important;
    resize: vertical !important;
}

.contact-form .row {
    display: flex !important;
    flex-wrap: wrap !important;
    margin: 0 -8px !important;
}

.contact-form .row > [class*="col-"] {
    padding: 0 8px !important;
    margin-bottom: 14px !important;
    float: none !important;
}

.contact-form .col-md-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
}

.contact-form .col-md-12 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
}

@media (max-width: 480px) {
    .contact-form .col-md-6 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* ============================================
   Contact Form 7 Styling (generic)
   ============================================ */
.wpcf7 {
    background: #fff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 16px !important;
    padding: 32px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 select {
    width: 100% !important;
    padding: 14px 16px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 15px !important;
    color: #1a1a1a !important;
    background: #f8f9fa !important;
    transition: border-color 0.3s, box-shadow 0.3s !important;
    outline: none !important;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
    border-color: #c12d28 !important;
    box-shadow: 0 0 0 3px rgba(193, 45, 40, 0.1) !important;
    background: #fff !important;
}

.wpcf7 textarea {
    min-height: 120px !important;
    resize: vertical !important;
}

.wpcf7 input[type="submit"],
.wpcf7 .thm-btn {
    display: inline-flex !important;
    align-items: center !important;
    padding: 14px 32px !important;
    background: #c12d28 !important;
    color: #fff !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    border-radius: 8px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.wpcf7 input[type="submit"]:hover,
.wpcf7 .thm-btn:hover {
    background: #a02420 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(193, 45, 40, 0.3) !important;
}

/* Form row spacing */
.wpcf7 .row {
    margin-left: -8px !important;
    margin-right: -8px !important;
}

.wpcf7 .row > [class*="col-"] {
    padding-left: 8px !important;
    padding-right: 8px !important;
    margin-bottom: 16px !important;
}

/* Pull-left/right float fixes */
.pull-left { float: left !important; }
.pull-right { float: right !important; }

@media (max-width: 768px) {
    .pull-left, .pull-right {
        float: none !important;
        text-align: center !important;
    }

    .caption-box {
        flex-direction: column !important;
        text-align: center !important;
    }

    .single-experts-provide {
        flex-direction: column !important;
        text-align: center !important;
        align-items: center !important;
    }

    .single-experts-provide .icon-holder {
        margin-bottom: 8px;
    }
}

/* ============================================
   MOBILE RESPONSIVE - No horizontal scroll
   ============================================ */

@media (max-width: 768px) {
    /* Full-width sections on mobile */
    section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    section > div {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    /* Prevent any element from causing overflow */
    img, video, iframe, svg, canvas {
        max-width: 100% !important;
        height: auto;
    }

    /* Fix hero text overflow */
    h1 {
        word-break: break-word;
        hyphens: auto;
    }

    /* Stack flex items on mobile */
    .tw-flex-wrap {
        flex-wrap: wrap !important;
    }

    /* Better mobile spacing */
    .tw-py-20 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
    .tw-py-28 { padding-top: 4rem !important; padding-bottom: 4rem !important; }
    .tw-mb-16 { margin-bottom: 2.5rem !important; }

    /* Mobile nav full width */
    #mobile-menu {
        width: 100vw;
        margin-left: calc(-50vw + 50%);
    }

    /* Footer stacking */
    footer .tw-grid {
        gap: 2rem !important;
    }
}

@media (max-width: 480px) {
    /* Mobile font scaling */
    .tw-text-4xl { font-size: 2rem !important; }
    .tw-text-5xl { font-size: 2.25rem !important; }
    .tw-text-6xl { font-size: 2.5rem !important; }

    body.jamalitech-theme { font-size: 17px; }
    .page-content p, .page-content li { font-size: 1rem !important; }

    /* Full-bleed buttons on small screens */
    #hero .tw-flex-wrap {
        flex-direction: column;
        width: 100%;
    }

    #hero .tw-flex-wrap > a {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

/* ============================================
   FULL-WIDTH DESKTOP
   ============================================ */
@media (min-width: 1400px) {
    .tw-max-w-7xl {
        max-width: 1400px !important;
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* ============================================
   FOOTER SEO - Structured layout
   Protect footer styling on ALL pages (same as homepage)
   ============================================ */
footer {
    font-family: 'Inter', sans-serif;
    background: #1a2332 !important;
    color: #fff !important;
}

footer h4 {
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 20px !important;
    color: #fff !important;
}

footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #c12d28;
}

footer p,
footer span {
    color: inherit !important;
}

footer a {
    text-decoration: none;
}

footer ul {
    list-style: none !important;
    padding-left: 0 !important;
}

footer ul li {
    list-style: none;
    padding: 0 !important;
    margin-bottom: 0 !important;
    border-bottom: none !important;
    font-size: inherit !important;
}

footer ul li a {
    color: rgba(255,255,255,0.6) !important;
    font-size: 15px !important;
    font-weight: 400 !important;
}

footer ul li a:hover {
    color: #c12d28 !important;
}

/* ============================================
   BOLD DESIGN — Al Mansoor-style Enhancements
   Strong visual hierarchy, prominent elements
   ============================================ */

/* Section heading underline accent */
#products .tw-text-center h2,
#about h2,
#featured h2,
#testimonials .tw-text-center h2,
#cta h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 16px;
}

#products .tw-text-center h2::after,
#about h2::after,
#featured h2::after,
#testimonials .tw-text-center h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #c12d28;
    border-radius: 2px;
}

#about h2::after {
    left: 0;
    transform: none;
}

#featured h2::after {
    left: 0;
    transform: none;
}

/* Bold section labels (uppercase tags) */
#products .tw-text-center span[class*="tw-text-primary"],
#about span[class*="tw-text-primary"],
#featured span[class*="tw-text-primary"],
#testimonials span[class*="tw-text-primary"] {
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 3px !important;
    padding: 6px 16px;
    background: rgba(193, 45, 40, 0.08);
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 16px !important;
}

/* Bolder service cards with colored shadow on hover */
.service-card {
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
}

.service-card:hover {
    border-color: rgba(193, 45, 40, 0.2) !important;
    box-shadow: 0 12px 40px rgba(193, 45, 40, 0.08) !important;
    transform: translateY(-6px) !important;
}

/* Product card stronger hover */
a.tw-group[class*="tw-rounded-xl"] {
    border: 1px solid #e5e7eb;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

a.tw-group[class*="tw-rounded-xl"]:hover {
    border-color: rgba(193, 45, 40, 0.15);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08) !important;
    transform: translateY(-6px) !important;
}

/* Testimonial cards — more prominent */
#testimonials > div > div > div[class*="tw-bg-light"] {
    border: 1px solid #e5e7eb;
    transition: all 0.35s ease !important;
}

#testimonials > div > div > div[class*="tw-bg-light"]:hover {
    border-color: rgba(193, 45, 40, 0.15);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06) !important;
    transform: translateY(-4px);
}

/* Bolder CTA buttons — lift + shadow + ensure white text */
a[class*="tw-bg-primary"],
.dsn-slider__btn--primary {
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 4px 15px rgba(193, 45, 40, 0.25);
    color: #fff !important;
}

a[class*="tw-bg-primary"]:hover,
.dsn-slider__btn--primary:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 35px rgba(193, 45, 40, 0.35) !important;
}

/* Stats counter — bigger and bolder */
[data-counter] {
    font-size: clamp(3rem, 6vw, 4rem) !important;
    font-weight: 800 !important;
    letter-spacing: -0.03em;
}

/* Nav active state — bold underline */
#site-header .current-menu-item > a,
#site-header .current_page_item > a {
    color: #c12d28 !important;
    position: relative;
}

#site-header .current-menu-item > a::after,
#site-header .current_page_item > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 18px;
    right: 18px;
    height: 3px;
    background: #c12d28;
    border-radius: 2px;
}

/* Page hero — bolder with red accent line */
.page-hero h1 {
    position: relative;
    padding-bottom: 20px;
}

.page-hero h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: #c12d28;
    border-radius: 2px;
}

/* Breadcrumb — bolder styling */
.page-hero nav[aria-label="Breadcrumb"] a {
    font-weight: 500;
    transition: color 0.3s ease;
}

/* Inner page hero — slightly taller for impact */
.page-hero {
    padding-top: 5rem !important;
    padding-bottom: 6rem !important;
}

@media (min-width: 768px) {
    .page-hero {
        padding-top: 7rem !important;
        padding-bottom: 8rem !important;
    }
}

/* WhatsApp floating button style */
a[href*="wa.me"] {
    transition: all 0.3s ease !important;
}

a[href*="wa.me"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3) !important;
}

/* Icon boxes in About section — stronger hover */
#about .tw-flex.tw-gap-5 .tw-flex-shrink-0 {
    transition: all 0.3s ease;
}

#about .tw-flex.tw-gap-5:hover .tw-flex-shrink-0 {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(193, 45, 40, 0.2);
}

/* Make "Browse Range" and "View Details" arrows bolder */
span[class*="tw-inline-flex"][class*="tw-text-primary"] {
    font-weight: 700 !important;
    font-size: 14px !important;
    letter-spacing: 0.03em;
}

/* ============================================
   PRODUCT TEMPLATE — tpl-product.php
   ============================================ */

/* --- Page Hero Banner --- */
.jt-page-hero {
    background: linear-gradient(135deg, #1a2332 0%, #2d3748 100%);
    padding: 3.5rem 0 2.5rem;
    color: #fff;
}

.jt-page-hero__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.jt-page-hero h1 {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin: 0.5rem 0 0;
    color: #fff;
}

/* Breadcrumb */
.jt-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
}

.jt-breadcrumb a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.jt-breadcrumb a:hover {
    color: #fff;
}

.jt-breadcrumb span {
    color: rgba(255,255,255,0.5);
}

.jt-breadcrumb__current {
    color: #fff !important;
    font-weight: 600;
}

/* --- Product Section Layout --- */
.jt-product-section {
    background: #f5f7fa;
    padding: 3rem 0 4rem;
}

.jt-product-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    align-items: start;
}

/* --- Sidebar --- */
.jt-product-sidebar {
    position: sticky;
    top: 80px;
}

.jt-sidebar-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    margin-bottom: 1.25rem;
}

.jt-sidebar-title {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #1a2332;
    margin: 0 0 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #c12d28;
}

.jt-sidebar-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.jt-sidebar-nav li {
    border-bottom: 1px solid #f0f0f0;
}

.jt-sidebar-nav li:last-child {
    border-bottom: none;
}

.jt-sidebar-nav li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 0.5rem;
    font-size: 14px;
    font-weight: 500;
    color: #4a5568;
    text-decoration: none;
    transition: all 0.2s;
    border-radius: 6px;
}

.jt-sidebar-nav li a:hover {
    color: #c12d28;
    background: #fef5f5;
    padding-left: 0.75rem;
}

.jt-sidebar-nav li a svg {
    opacity: 0.3;
    transition: opacity 0.2s;
}

.jt-sidebar-nav li a:hover svg {
    opacity: 0.7;
}

.jt-sidebar-nav li.active a {
    color: #c12d28;
    font-weight: 700;
    background: #fef5f5;
}

.jt-sidebar-nav li.active a svg {
    opacity: 1;
}

.jt-sidebar-nav__overview {
    font-weight: 600 !important;
    color: #1a2332 !important;
}

/* Sidebar CTA */
.jt-sidebar-cta {
    background: linear-gradient(135deg, #1a2332 0%, #2d3748 100%);
    color: #fff;
    text-align: center;
}

.jt-sidebar-cta h4 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.4rem;
    color: #fff;
}

.jt-sidebar-cta p {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin: 0 0 1rem;
}

.jt-sidebar-btn {
    display: block;
    width: 100%;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: all 0.2s;
}

.jt-sidebar-btn:last-child {
    margin-bottom: 0;
}

.jt-sidebar-btn--call {
    background: #c12d28 !important;
    color: #fff !important;
}

.jt-sidebar-btn--call:hover {
    background: #a82520 !important;
    color: #fff !important;
}

.jt-sidebar-btn--wa {
    background: #25d366 !important;
    color: #fff !important;
}

.jt-sidebar-btn--wa:hover {
    background: #1fb855 !important;
    color: #fff !important;
}

/* Force white text on ALL red/green CTA buttons globally */
a[class*="btn--primary"],
a[class*="btn--call"],
a[class*="cta-btn--primary"],
.jt-btn--primary,
.jt-btn--outline,
.header-cta-call,
.header-cta-whatsapp,
.kc_button,
a.kc_button,
.jt-mobile-menu__cta-btn {
    color: #fff !important;
}

/* --- Main Content Area --- */
.jt-product-content {
    min-width: 0;
}

.jt-product-hero-img {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.jt-product-hero-img img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 420px;
}

.jt-product-body {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    margin-bottom: 2rem;
}

.jt-product-body h2,
.jt-product-body h3,
.jt-product-body h4 {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    color: #1a2332;
    margin-top: 1.5rem;
}

.jt-product-body h2:first-child,
.jt-product-body h3:first-child {
    margin-top: 0;
}

.jt-product-body p {
    color: #4a5568;
    line-height: 1.7;
    font-size: 1.14rem;
}

.jt-product-body ul,
.jt-product-body ol {
    color: #4a5568;
    padding-left: 1.25rem;
    line-height: 1.8;
}

.jt-product-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

/* KC content inside product body — hide KC sidebar, full-width main */
.jt-product-body .kc_row,
.jt-product-body .kc-wrap-columns {
    margin: 0 !important;
    padding: 0 !important;
}

/* All KC columns stack full-width within product body */
.jt-product-body .kc_col-sm-3,
.jt-product-body .kc_col-sm-4,
.jt-product-body .kc_col-sm-6,
.jt-product-body .kc_col-sm-8,
.jt-product-body .kc_col-sm-9,
.jt-product-body .kc_col-sm-12 {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
}

/* KC rows stack vertically */
.jt-product-body .kc-wrap-columns {
    display: block !important;
}

/* KC banner rows inside content */
.jt-product-body .kc_row[style*="background"] {
    border-radius: 10px;
    overflow: hidden;
    margin: 1.5rem 0 !important;
}

/* --- Child Products Grid --- */
.jt-product-children {
    margin-top: 2rem;
}

.jt-product-children h2 {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a2332;
    margin: 0 0 1.25rem;
}

.jt-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
}

.jt-product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.jt-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.jt-product-card__img {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f5f7fa;
}

.jt-product-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.jt-product-card:hover .jt-product-card__img img {
    transform: scale(1.05);
}

.jt-product-card__body {
    padding: 1rem 1.25rem;
}

.jt-product-card__body h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a2332;
    margin: 0 0 0.4rem;
}

.jt-product-card__link {
    font-size: 13px;
    font-weight: 600;
    color: #c12d28;
}

/* --- Bottom CTA --- */
.jt-cta-section {
    padding: 4rem 0;
    text-align: center;
}

.jt-cta-inner {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.jt-cta-inner h2 {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.75rem;
}

.jt-cta-inner p {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    margin: 0 0 2rem;
}

.jt-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.jt-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.85rem 2rem;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.jt-btn--primary {
    background: #c12d28;
    color: #fff;
}

.jt-btn--primary:hover {
    background: #a82520;
    color: #fff;
    transform: translateY(-2px);
}

.jt-btn--outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.4);
}

.jt-btn--outline:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
    color: #fff;
}

/* --- Product Template Responsive --- */
@media (max-width: 768px) {
    .jt-product-container {
        grid-template-columns: 1fr;
    }

    .jt-product-sidebar {
        position: static;
        order: 2;
    }

    .jt-product-content {
        order: 1;
    }

    .jt-product-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }

    .jt-page-hero {
        padding: 2.5rem 0 1.5rem;
    }

    .jt-product-body {
        padding: 1.25rem;
    }

    .jt-cta-section {
        padding: 3rem 0;
    }
}

/* ============================================
   PORTFOLIO / PROJECTS SHOWCASE
   ============================================ */

/* --- Hero Subtitle --- */
.jt-portfolio-hero-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    margin-top: 0.5rem;
    font-weight: 400;
}

/* --- Portfolio Section (Grid View) --- */
.jt-portfolio-section {
    padding: 3rem 0 4rem;
    background: #f8f9fa;
}

.jt-portfolio-section__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Filter Buttons --- */
.jt-portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.jt-portfolio-filter {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0.6rem 1.4rem;
    border: 2px solid #dde1e6;
    border-radius: 50px;
    background: #fff;
    color: #4a5568;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.jt-portfolio-filter:hover {
    border-color: #c12d28;
    color: #c12d28;
    background: #fff5f5;
}

.jt-portfolio-filter.active {
    background: #c12d28;
    border-color: #c12d28;
    color: #fff;
}

.jt-portfolio-filter i {
    font-size: 0.85rem;
}

/* --- Project Grid --- */
.jt-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.75rem;
}

/* --- Project Card --- */
.jt-portfolio-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.jt-portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.12);
}

.jt-portfolio-card__img {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #e2e8f0;
}

.jt-portfolio-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.jt-portfolio-card:hover .jt-portfolio-card__img img {
    transform: scale(1.06);
}

.jt-portfolio-card__tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #c12d28;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 5px 12px;
    border-radius: 4px;
}

.jt-portfolio-card__body {
    padding: 1.25rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.jt-portfolio-card__body h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a2332;
    margin: 0 0 0.5rem;
    line-height: 1.35;
}

.jt-portfolio-card__body p {
    font-size: 0.92rem;
    color: #4a5568;
    line-height: 1.6;
    margin: 0 0 0.75rem;
    flex: 1;
}

.jt-portfolio-card__location {
    font-size: 0.82rem;
    color: #718096;
    margin-bottom: 0.75rem;
    display: block;
}

.jt-portfolio-card__location i {
    color: #c12d28;
    margin-right: 4px;
}

.jt-portfolio-card__link {
    font-size: 0.88rem;
    font-weight: 700;
    color: #c12d28;
    margin-top: auto;
    transition: gap 0.2s;
}

.jt-portfolio-card:hover .jt-portfolio-card__link {
    letter-spacing: 0.02em;
}

/* --- Empty State --- */
.jt-portfolio-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: #718096;
}

.jt-portfolio-empty i {
    font-size: 3rem;
    color: #cbd5e0;
    margin-bottom: 1rem;
    display: block;
}

.jt-portfolio-empty h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.4rem;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

/* --- Single Project View --- */
.jt-portfolio-single {
    padding: 2.5rem 0 4rem;
    background: #f8f9fa;
}

.jt-portfolio-single__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.jt-portfolio-single__hero-img {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.jt-portfolio-single__hero-img img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 500px;
    object-fit: cover;
}

.jt-portfolio-single__layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 2rem;
    align-items: start;
}

/* --- Detail Card --- */
.jt-portfolio-detail-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.75rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    margin-bottom: 1.5rem;
}

.jt-portfolio-detail-card h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: #1a2332;
    margin: 0 0 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f0f0f0;
}

.jt-portfolio-detail-row {
    padding: 0.6rem 0;
    border-bottom: 1px solid #f5f5f5;
}

.jt-portfolio-detail-row:last-child {
    border-bottom: none;
}

.jt-portfolio-detail-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #718096;
    margin-bottom: 4px;
}

.jt-portfolio-detail-label i {
    color: #c12d28;
    width: 16px;
    text-align: center;
    margin-right: 4px;
}

.jt-portfolio-detail-value {
    display: block;
    font-size: 0.95rem;
    color: #2d3748;
    font-weight: 500;
    line-height: 1.5;
}

/* --- Single Content --- */
.jt-portfolio-single__content {
    background: #fff;
    border-radius: 12px;
    padding: 2rem 2.25rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.jt-portfolio-single__content h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: #1a2332;
    margin: 0 0 1rem;
}

.jt-portfolio-single__content h2:not(:first-child) {
    margin-top: 2rem;
}

.jt-portfolio-single__desc p,
.jt-portfolio-single__body p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #4a5568;
    margin-bottom: 1rem;
}

/* --- Gallery --- */
.jt-portfolio-gallery {
    margin-top: 2rem;
}

.jt-portfolio-gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.jt-portfolio-gallery__item {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
    display: block;
}

.jt-portfolio-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.jt-portfolio-gallery__item:hover img {
    transform: scale(1.05);
}

/* --- Related Projects --- */
.jt-portfolio-related {
    margin-top: 3rem;
}

.jt-portfolio-related h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a2332;
    margin-bottom: 1.5rem;
}

/* --- Portfolio Responsive --- */
@media (max-width: 992px) {
    .jt-portfolio-single__layout {
        grid-template-columns: 1fr;
    }

    .jt-portfolio-single__details {
        order: 2;
    }

    .jt-portfolio-single__content {
        order: 1;
    }
}

@media (max-width: 768px) {
    .jt-portfolio-grid {
        grid-template-columns: 1fr;
    }

    .jt-portfolio-filters {
        gap: 8px;
    }

    .jt-portfolio-filter {
        padding: 0.5rem 1rem;
        font-size: 0.82rem;
    }

    .jt-portfolio-single__content {
        padding: 1.25rem;
    }

    .jt-portfolio-gallery__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .jt-portfolio-gallery__grid {
        grid-template-columns: 1fr;
    }
}
