/*
Theme Name: JSS Power - Enterprise Platform
Theme URI: https://jsspower.com/
Description: Custom child theme for JSS Power, built on Sway.
Author: Antigravity
Template: sway
Version: 2.0.1
Text Domain: jssgroup
*/

/* ================================================================
   JSS POWER — ENTERPRISE DESIGN SYSTEM v2.0
   A complete override built for the Sway child theme.
   ================================================================ */

/* --- FONTS --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;700;800;900&display=swap');

/* --- DESIGN TOKENS --- */
:root {
    --jss-primary: #FF5A1F;
    --jss-primary-dark: #E04D15;
    --jss-primary-light: #FFF0EB;
    --jss-primary-glow: rgba(255, 90, 31, 0.35);
    --jss-navy: #0B132B;
    --jss-navy-mid: #1C2541;
    --jss-navy-light: #3A506B;
    --jss-surface: #FFFFFF;
    --jss-bg: #F7F8FC;
    --jss-bg-alt: #F0F2F8;
    --jss-text: #4A5568;
    --jss-text-light: #718096;
    --jss-border: rgba(0, 0, 0, 0.06);
    --jss-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
    --jss-shadow-md: 0 4px 20px rgba(0, 0, 0, 0.06);
    --jss-shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.08);
    --jss-shadow-xl: 0 25px 60px rgba(0, 0, 0, 0.12);
    --jss-radius: 16px;
    --jss-radius-lg: 24px;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- GLOBAL RESET --- */
body {
    font-family: var(--font-body) !important;
    color: var(--jss-text) !important;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

p,
li,
td,
th,
span,
label,
input,
textarea,
select {
    font-family: var(--font-body) !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading) !important;
    color: var(--jss-navy) !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

/* Force white text in dark contexts */
.jss-hero h1,
.jss-hero h2,
.jss-hero h3,
.jss-hero p,
.jss-hero span,
.jss-hero a,
section.jss-hero h1,
section.jss-hero p {
    color: #ffffff !important;
}

.jss-dark h1,
.jss-dark h2,
.jss-dark h3,
.jss-dark h4,
.jss-dark p,
.jss-dark li,
.jss-dark span,
.jss-dark blockquote,
.jss-dark cite,
section.jss-dark h1,
section.jss-dark h2,
section.jss-dark h3,
section.jss-dark p,
section.jss-dark blockquote,
.jss-testimonial blockquote,
.jss-testimonial h2,
.jss-testimonial h3 {
    color: #ffffff !important;
}

.jss-cta h1,
.jss-cta h2,
.jss-cta h3,
.jss-cta p,
section.jss-cta h2,
section.jss-cta p {
    color: #ffffff !important;
}

a {
    transition: color 0.2s ease, opacity 0.2s ease;
}

/* --- SWAY THEME OVERRIDES --- */

/* 1. Header Transparency & Logo Fix */
body:has(.jss-hero) .navbar:not(.navbar-shrink) {
    background: transparent !important;
    border-bottom: none !important;
}

/* Force all nav links to white on pages with hero images (unscrolled) */
body:has(.jss-hero) .navbar:not(.navbar-shrink) a,
body:has(.jss-hero) .navbar:not(.navbar-shrink) span,
body:has(.jss-hero) .navbar:not(.navbar-shrink) .navbar-nav>li>a,
body:has(.jss-hero) .navbar:not(.navbar-shrink) .navbar-nav>li>a span,
body:has(.jss-hero) .navbar:not(.navbar-shrink) .logo.blog-info-name {
    color: #ffffff !important;
    opacity: 1 !important;
}

/* Remove the white box from active/current menu items */
.navbar-nav>.active>a,
.navbar-nav>.current-menu-item>a,
.navbar-nav>li>a:hover {
    background: transparent !important;
    color: var(--jss-primary) !important;
}

/* Force Image Logo (hiding the text fallback) */
.logo.blog-info-name,
#logo .logo.blog-info-name {
    font-size: 0 !important;
    display: block !important;
    width: 220px !important;
    height: 70px !important;
    background: url('logo-jsspl.png') no-repeat left center !important;
    background-size: contain !important;
    text-indent: -9999px !important;
    position: relative !important;
}

#logo .logo.blog-info-name img,
.logo.blog-info-name img {
    display: none !important;
    opacity: 0 !important;
}

/* Kill all default Sway page titles/headers */
.page-header,
.entry-header,
.entry-header.single-page-header,
.sway-page-title,
#single-page>.container>.row>.entry-header,
.home .entry-title {
    display: none !important;
}

/* Full-width template: remove Sway's container constraints */
.jss-fullwidth-wrap {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
}

.jss-fullwidth-wrap .site-main {
    padding: 0;
    margin: 0;
}

/* Also override Sway's front-page .container .row */
.home #primary .section>.container,
.home .section>.container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
}

.home .section>.container>.row {
    margin: 0 !important;
    padding: 0 !important;
}


/* --- HERO SECTION --- */
.jss-hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.jss-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(11, 19, 43, 0.92) 0%,
            rgba(11, 19, 43, 0.75) 50%,
            rgba(11, 19, 43, 0.85) 100%);
    z-index: 1;
}

.jss-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--jss-surface), transparent);
    z-index: 2;
}

/* Deep Tech Gradients (Mesh Backgrounds) */
.jss-mesh-1::before, .jss-mesh-2::before, .jss-mesh-3::before, .jss-mesh-4::before { display: none !important; }

/* 1. Deep Navy & Tech Hex/Square Grid */
.jss-mesh-1 {
    background: 
        radial-gradient(ellipse at top, rgba(26, 41, 92, 0.6), transparent 70%),
        linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px) 0 0 / 50px 50px,
        linear-gradient(0deg, rgba(255,255,255,0.06) 1px, transparent 1px) 0 0 / 50px 50px,
        linear-gradient(135deg, #0B132B 0%, #050a17 100%);
    background-color: #0B132B;
}

/* 2. Deep Charcoal & Accent Glow */
.jss-mesh-2 {
    background: 
        radial-gradient(circle at 80% 20%, rgba(255, 90, 31, 0.25), transparent 50%),
        radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px) 0 0 / 30px 30px,
        linear-gradient(180deg, #111 0%, #000 100%);
    background-color: #050a17;
}

/* 3. Blueprint Diagonal Lines */
.jss-mesh-3 {
    background: 
        radial-gradient(circle at 20% 80%, rgba(26, 41, 92, 0.8), transparent 60%),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.04) 0px, rgba(255, 255, 255, 0.04) 1px, transparent 1px, transparent 20px),
        repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.04) 0px, rgba(255, 255, 255, 0.04) 1px, transparent 1px, transparent 20px),
        linear-gradient(45deg, #0B132B 0%, #050a17 100%);
    background-color: #0B132B;
}

/* 4. Indigo / Subtle Glow */
.jss-mesh-4 {
    background: 
        radial-gradient(circle at top right, rgba(255, 90, 31, 0.15), transparent 50%),
        repeating-linear-gradient(0deg, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 1px, transparent 1px, transparent 60px),
        repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 1px, transparent 1px, transparent 60px),
        linear-gradient(to right, #0B132B, #1a295c);
    background-color: #0B132B;
}

.jss-hero-content {
    position: relative;
    z-index: 3;
    max-width: 950px;
    padding: 0 30px;
}

.jss-hero h1 {
    font-size: clamp(42px, 6vw, 80px) !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    line-height: 1.05;
    margin-bottom: 28px;
    letter-spacing: -3px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.jss-hero h1 span {
    background: linear-gradient(135deg, #FF7B00, #FF5A1F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.jss-hero p {
    font-size: clamp(16px, 2vw, 21px);
    color: rgba(255, 255, 255, 0.75) !important;
    max-width: 700px;
    margin: 0 auto 45px;
    font-weight: 400;
    line-height: 1.7;
}

.jss-hero-btns {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- BUTTONS --- */
.jss-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 17px 38px;
    border-radius: 60px;
    font-family: var(--font-heading) !important;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    text-decoration: none !important;
    cursor: pointer;
    transition: all 0.35s var(--ease-spring);
    border: none;
    position: relative;
    overflow: hidden;
}

.jss-btn-primary {
    background: linear-gradient(135deg, #FF7B00 0%, #FF5A1F 100%);
    color: #fff !important;
    box-shadow: 0 8px 25px var(--jss-primary-glow);
}

.jss-btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 35px var(--jss-primary-glow);
    background: #e04d15;
    color: #fff !important;
}

.jss-btn-whatsapp {
    background: #25D366;
    color: #fff !important;
    border: none;
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.3);
}

.jss-btn-whatsapp i {
    color: #ffffff !important;
    font-size: 22px;
    margin-right: 6px;
    vertical-align: middle;
}

.jss-btn-whatsapp:hover {
    background: #128C7E;
    color: #fff !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 35px rgba(37, 211, 102, 0.4);
}

/* --- STATS STRIP --- */
.jss-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
    padding: 90px 40px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.jss-stat-number {
    font-family: var(--font-heading) !important;
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 900;
    background: linear-gradient(135deg, #FF7B00 0%, #FF5A1F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 12px;
    display: block;
}

.jss-stat-label {
    font-family: var(--font-body) !important;
    text-transform: uppercase;
    font-weight: 700 !important;
    letter-spacing: 2px;
    font-size: 12px;
    color: var(--jss-text-light) !important;
}

.jss-stat-orbit-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.jss-stat-orbit-circle {
    position: relative;
    width: 420px;
    height: 420px;
    border: 2px solid rgba(255, 90, 31, 1);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 10px auto;
}

.jss-orbit-badge {
    position: absolute;
    font-size: 10px;
    font-weight: 800;
    color: var(--jss-navy);
    background: #fff;
    padding: 6px 14px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(11,19,43,0.1);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    cursor: default;
    transform: translate(-50%, -50%);
    white-space: nowrap;
}
.jss-orbit-badge i {
    color: #FF5A1F;
}
.jss-orbit-badge:hover {
    background: #FF5A1F;
    color: #fff;
    border-color: #FF5A1F;
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 90, 31, 0.3);
    z-index: 10;
}
.jss-orbit-badge:hover i {
    color: #fff;
}

/* Orbit exact positions (Pentagon layout on the boundary) */
.badge-1 { top: 0%; left: 50%; }
.badge-2 { top: 9.5%; left: 79.4%; }
.badge-3 { top: 34.5%; left: 97.6%; }
.badge-4 { top: 65.5%; left: 97.6%; }
.badge-5 { top: 90.5%; left: 79.4%; }
.badge-6 { top: 100%; left: 50%; }
.badge-7 { top: 90.5%; left: 20.6%; }
.badge-8 { top: 65.5%; left: 2.4%; }
.badge-9 { top: 34.5%; left: 2.4%; }
.badge-10 { top: 9.5%; left: 20.6%; }

/* --- SECTIONS --- */
.jss-section {
    padding: 120px 40px;
}

.jss-section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.jss-section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 80px;
}

.jss-section-header h2 {
    font-size: clamp(32px, 4vw, 52px);
    margin-bottom: 20px;
}

.jss-section-header p {
    font-size: 18px;
    color: var(--jss-text-light);
}

.jss-section-label {
    display: inline-block;
    font-family: var(--font-heading) !important;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--jss-primary);
    margin-bottom: 18px;
    position: relative;
    padding-left: 50px;
}

.jss-section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 2px;
    background: var(--jss-primary);
}

/* --- CARDS --- */
.jss-card {
    background: var(--jss-surface);
    border-radius: var(--jss-radius-lg);
    padding: 48px 40px;
    box-shadow: var(--jss-shadow-sm);
    border: 1px solid var(--jss-border);
    transition: all 0.4s var(--ease-spring);
    position: relative;
    overflow: hidden;
}

.jss-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FF7B00, #FF5A1F);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-smooth);
}

.jss-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--jss-shadow-lg);
}

.jss-card:hover::after {
    transform: scaleX(1);
}

.jss-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--jss-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    transition: all 0.3s ease;
}

.jss-card:hover .jss-card-icon {
    background: var(--jss-primary);
}

.jss-card-icon i,
.jss-card-icon svg {
    font-size: 26px;
    color: var(--jss-primary);
    transition: all 0.3s var(--ease-spring);
}

.jss-card:hover .jss-card-icon i,
.jss-card:hover .jss-card-icon svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
    transform: scale(1.15);
}

.jss-card h3 {
    font-size: 22px;
    margin-bottom: 14px;
}

.jss-card p {
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

/* --- GRID LAYOUTS --- */
.jss-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.jss-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.jss-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

/* --- DARK SECTIONS --- */
.jss-dark {
    background: var(--jss-navy) !important;
}

.jss-dark h1,
.jss-dark h2,
.jss-dark h3,
.jss-dark h4,
.jss-dark h5,
.jss-dark h6 {
    color: #ffffff !important;
}

.jss-dark p,
.jss-dark li,
.jss-dark span,
.jss-dark blockquote {
    color: rgba(255, 255, 255, 0.85) !important;
}

.jss-testimonial blockquote {
    color: #ffffff !important;
}

/* --- TESTIMONIAL --- */
.jss-testimonial {
    text-align: center;
    padding: 140px 40px;
}

.jss-testimonial blockquote {
    font-family: var(--font-heading) !important;
    font-size: clamp(24px, 3.5vw, 44px);
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.95) !important;
    line-height: 1.35;
    font-style: italic;
    margin: 0 auto 40px;
    max-width: 900px;
    border: none;
    padding: 0;
}

.jss-testimonial-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.jss-testimonial-divider::before,
.jss-testimonial-divider::after {
    content: '';
    width: 50px;
    height: 2px;
    background: var(--jss-primary);
}

.jss-testimonial cite {
    font-family: var(--font-heading) !important;
    font-weight: 800 !important;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--jss-primary) !important;
    font-style: normal;
}

/* --- CTA SECTION --- */
.jss-cta {
    background: linear-gradient(135deg, #FF7B00 0%, #FF5A1F 50%, #E04D15 100%);
    padding: 100px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.jss-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.jss-cta h2 {
    color: #fff !important;
    font-size: clamp(28px, 4vw, 48px);
    margin-bottom: 20px;
}

.jss-cta p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 19px;
    margin-bottom: 40px;
}

.jss-cta .jss-btn {
    background: #fff;
    color: var(--jss-primary) !important;
    font-weight: 800;
}

.jss-cta .jss-btn:hover {
    background: var(--jss-navy);
    color: #fff !important;
}

.jss-cta {
    margin-top: -1px;
    /* Ensure no pixel gap */
}

/* --- FOOTER --- */
footer,
footer#footer,
footer#colophon,
.footer-wrapper {
    background: var(--jss-navy) !important;
    color: rgba(255, 255, 255, 0.6) !important;
}

.lower-footer {
    background: rgba(0, 0, 0, 0.15) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0 !important;
}

.lower-footer .container {
    text-align: center !important;
}

.lower-footer span,
.lower-footer a {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 13px;
}

/* Footer Social Icons */
.jss-footer-social {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 15px !important;
    margin-top: 25px !important;
    padding-bottom: 10px !important;
}

.jss-social-icon {
    width: 40px !important;
    height: 40px !important;
    flex: 0 0 40px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    border: 2px solid transparent !important;
}

.jss-social-icon.facebook { background: #1877F2 !important; box-shadow: 0 4px 10px rgba(24, 119, 242, 0.2) !important; }
.jss-social-icon.youtube { background: #FF0000 !important; box-shadow: 0 4px 10px rgba(255, 0, 0, 0.2) !important; }
.jss-social-icon.instagram { background: #E1306C !important; box-shadow: 0 4px 10px rgba(225, 48, 108, 0.2) !important; }

.jss-social-icon i {
    color: #ffffff !important;
    transition: all 0.3s ease !important;
}

.jss-social-icon:hover {
    background: #ffffff !important;
    transform: translateY(-3px) scale(1.05) !important;
}

.jss-social-icon.facebook:hover { border-color: #1877F2 !important; box-shadow: 0 6px 15px rgba(24, 119, 242, 0.3) !important; }
.jss-social-icon.facebook:hover i { color: #1877F2 !important; }

.jss-social-icon.youtube:hover { border-color: #FF0000 !important; box-shadow: 0 6px 15px rgba(255, 0, 0, 0.3) !important; }
.jss-social-icon.youtube:hover i { color: #FF0000 !important; }

.jss-social-icon.instagram:hover { border-color: #E1306C !important; box-shadow: 0 6px 15px rgba(225, 48, 108, 0.3) !important; }
.jss-social-icon.instagram:hover i { color: #E1306C !important; }

/* --- FLOATING WHATSAPP --- */
.jss-whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99999;
    width: 64px;
    height: 64px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
}

.jss-whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}

.jss-whatsapp-float i {
    font-size: 32px;
    color: #fff;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .jss-grid-3 {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .jss-grid-4 {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .jss-stats {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 40px 20px;
    }
    .jss-stat-orbit-container {
        grid-column: 1 / -1;
        grid-row: 1;
        margin: 20px 0 40px;
    }

    .jss-section {
        padding: 80px 24px;
    }
}

@media (max-width: 768px) {

    .jss-grid-3,
    .jss-grid-4,
    .jss-grid-2 {
        grid-template-columns: 1fr !important;
    }

    .jss-stats {
        grid-template-columns: 1fr !important;
        padding: 60px 24px;
        gap: 40px;
    }
    .jss-stat-orbit-container {
        grid-column: 1 / -1;
        grid-row: 1;
        margin: 10px 0 30px;
        transform: scale(0.85); /* scale down on mobile to fit badges */
    }

    .jss-hero {
        min-height: 80vh;
    }

    .jss-hero h1 {
        letter-spacing: -1px;
    }

    .jss-hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .jss-section {
        padding: 60px 20px;
    }

    .jss-card {
        padding: 32px 28px;
    }

    .jss-testimonial {
        padding: 80px 24px;
    }
}

@media (max-width: 480px) {
    .jss-stats {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        padding: 40px 20px;
    }

    .jss-stat-number {
        font-size: 36px;
    }
}

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.jss-animate {
    animation: fadeInUp 0.8s var(--ease-smooth) forwards;
}

.jss-animate-delay-1 {
    animation-delay: 0.1s;
}

.jss-animate-delay-2 {
    animation-delay: 0.2s;
}

.jss-animate-delay-3 {
    animation-delay: 0.3s;
}

/* ================================================================
   PREMIUM AESTHETIC UPGRADES
   ================================================================ */

/* 1. Custom Branded Scrollbar (desktop only) */
@media (min-width: 1025px) {
    ::-webkit-scrollbar {
        width: 12px;
    }

    ::-webkit-scrollbar-track {
        background: var(--jss-navy);
    }

    ::-webkit-scrollbar-thumb {
        background: var(--jss-primary);
        border-radius: 10px;
        border: 3px solid var(--jss-navy);
    }

    ::-webkit-scrollbar-thumb:hover {
        background: var(--jss-primary-dark);
    }
}

/* 2. Glassmorphism Navigation Bar */
.navbar.navbar-shrink {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.4s var(--ease-smooth) !important;
}

/* 3. Subtle Film Grain / Noise Overlay for Dark Sections */
.jss-dark,
.jss-cta,
footer,
footer#colophon {
    position: relative;
}

.jss-dark>*,
.jss-cta>*,
footer>*,
footer#colophon>* {
    position: relative;
    z-index: 2;
}

.jss-dark::before,
.jss-cta::before,
footer::before,
footer#colophon::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.04;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    z-index: 1;
}

/* ================================================================
   CONTACT US - PREMIUM AESTHETICS
   ================================================================ */

.jss-contact-card {
    background: var(--jss-surface);
    border-radius: var(--jss-radius-lg);
    padding: 40px 30px;
    box-shadow: var(--jss-shadow-sm);
    border: 1px solid var(--jss-border);
    transition: all 0.4s var(--ease-spring);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.jss-contact-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--jss-shadow-md);
    border-color: rgba(255, 90, 31, 0.3);
}

.jss-contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FF7B00, #FF5A1F);
}

.jss-contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: var(--jss-primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--jss-primary);
    font-size: 24px;
}

.jss-contact-card h3 {
    font-size: 22px;
    margin-bottom: 5px;
    color: var(--jss-navy) !important;
}

.jss-region {
    display: block;
    font-size: 14px;
    color: var(--jss-text-light);
    font-weight: 600;
    margin-bottom: 25px;
}

.jss-contact-details p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 12px;
    color: var(--jss-text);
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    gap: 12px;
}

.jss-contact-details p i {
    color: var(--jss-primary);
    margin-top: 5px;
}

/* Quick Connect Banner */
.jss-quick-connect-banner {
    background: var(--jss-bg);
    border-radius: var(--jss-radius-lg);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.02);
    margin-top: 20px;
}

.jss-connect-col {
    flex: 1;
    text-align: center;
}

.jss-connect-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--jss-navy);
}

.jss-connect-divider {
    width: 1px;
    height: 80px;
    background: var(--jss-border);
    margin: 0 40px;
}

.jss-connect-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.jss-btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: #fff !important;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
}

.jss-btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

.jss-social-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.jss-social-btn {
    width: 38px !important;
    height: 38px !important;
    flex: 0 0 38px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 15px !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    border: 2px solid transparent !important;
}

.jss-social-btn.facebook { background: #1877F2 !important; box-shadow: 0 4px 10px rgba(24, 119, 242, 0.2) !important; }
.jss-social-btn.youtube { background: #FF0000 !important; box-shadow: 0 4px 10px rgba(255, 0, 0, 0.2) !important; }
.jss-social-btn.instagram { background: #E1306C !important; box-shadow: 0 4px 10px rgba(225, 48, 108, 0.2) !important; }

.jss-social-btn i {
    color: #ffffff !important;
    transition: all 0.3s ease !important;
}

.jss-social-btn:hover {
    background: #ffffff !important;
    transform: translateY(-3px) scale(1.05) !important;
}

.jss-social-btn.facebook:hover { border-color: #1877F2 !important; box-shadow: 0 6px 15px rgba(24, 119, 242, 0.3) !important; }
.jss-social-btn.facebook:hover i { color: #1877F2 !important; }

.jss-social-btn.youtube:hover { border-color: #FF0000 !important; box-shadow: 0 6px 15px rgba(255, 0, 0, 0.3) !important; }
.jss-social-btn.youtube:hover i { color: #FF0000 !important; }

.jss-social-btn.instagram:hover { border-color: #E1306C !important; box-shadow: 0 6px 15px rgba(225, 48, 108, 0.3) !important; }
.jss-social-btn.instagram:hover i { color: #E1306C !important; }

@media (max-width: 992px) {
    .jss-quick-connect-banner {
        flex-direction: column;
        gap: 30px;
    }

    .jss-connect-divider {
        width: 80%;
        height: 1px;
        margin: 0 auto;
    }
}

/* ================================================================
   MOBILE RESPONSIVE OVERHAUL (Only affects < desktop widths)
   Desktop layout stays COMPLETELY untouched.
   ================================================================ */

/* ── Global: prevent horizontal scroll on mobile ── */
html,
body {
    overflow-x: hidden;
}

/* ── Mobile Navigation — Premium Dark Panel (Sway uses 1270px breakpoint) ── */
@media (max-width: 1270px) {

    /* Kill white gap above header */
    body {
        background-color: var(--jss-navy, #0B132B) !important;
    }

    #wrapper {
        background: #fff;
    }

    /* Dark premium slide-in panel */
    .navbar-collapse {
        background: var(--jss-navy, #0B132B) !important;
        padding: 10px 0 15px !important;
        border-top: 3px solid var(--jss-primary, #FF5A1F) !important;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3) !important;
        max-height: none !important;
        overflow-y: visible !important;
    }

    .navbar-nav {
        max-height: none !important;
        overflow: visible !important;
    }

    /* Menu items — compact, white text on dark bg */
    .navbar-nav {
        padding-left: 0 !important;
        margin: 0 !important;
    }

    #main-menu .navbar-nav .menu-item a,
    .navbar-default .nav li a {
        padding: 12px 20px !important;
        margin: 0 !important;
        font-size: 17px !important;
        font-weight: 600 !important;
        letter-spacing: 0.5px !important;
        color: rgba(255, 255, 255, 0.85) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
        transition: all 0.25s ease !important;
        display: block !important;
    }

    #main-menu .navbar-nav .menu-item:last-child a {
        border-bottom: none !important;
    }

    /* Hover & active states — orange accent */
    #main-menu .navbar-nav .menu-item a:hover,
    .navbar-default .nav li a:hover {
        color: #fff !important;
        background: rgba(255, 90, 31, 0.15) !important;
        padding-left: 38px !important;
        border-left: 3px solid var(--jss-primary, #FF5A1F) !important;
    }

    #main-menu .navbar-nav .current-menu-item a,
    .navbar-default .navbar-nav>.active>a {
        color: var(--jss-primary, #FF5A1F) !important;
        background: rgba(255, 90, 31, 0.08) !important;
        border-left: 3px solid var(--jss-primary, #FF5A1F) !important;
    }

    /* Hamburger / close button — subtle, clean */
    .navbar-default .navbar-toggle {
        border: none !important;
        border-radius: 4px !important;
        padding: 10px 12px !important;
        margin-right: 15px !important;
        background: transparent !important;
    }

    .navbar-default .navbar-toggle .icon-bar,
    .navbar-toggle .icon-bar:before,
    .navbar-toggle .icon-bar:after {
        background-color: #fff !important;
        width: 24px !important;
        height: 2px !important;
    }

    .navbar-default .navbar-toggle:hover,
    .navbar-default .navbar-toggle:focus {
        background: rgba(255, 255, 255, 0.1) !important;
    }

    /* Header bar itself */
    .navbar-header {
        background: var(--jss-navy, #0B132B) !important;
        padding-right: 15px !important;
    }

    /* Remove ALL white gaps above/below header */
    nav,
    nav.navbar,
    nav.navbar-default,
    nav.navbar-fixed-top,
    .navbar,
    .navbar-default,
    .navbar-fixed-top {
        margin: 0 !important;
        padding: 0 !important;
        border: 0 none !important;
        border-width: 0 !important;
        border-style: none !important;
        background: var(--jss-navy, #0B132B) !important;
        box-shadow: none !important;
        min-height: 0 !important;
        outline: none !important;
    }

    body,
    html {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    #wrapper,
    .site-content,
    #content,
    main,
    #main {
        padding-top: 0 !important;
        margin-top: 0 !important;
        border-top: none !important;
    }

    /* Hide any spacer/topbar elements */
    .topbar,
    .top-bar,
    .topbar-wrapper,
    .header-spacer,
    header.entry-header,
    .entry-header.single-page-header,
    .sway-page-title,
    .page-header {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
    }

    /* Kill container padding that indents menu items */
    .navbar .container,
    .navbar-default .container,
    .navbar-fixed-top .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .navbar-collapse .container,
    .navbar-collapse.in,
    .navbar-collapse.collapse.in {
        padding-left: 0 !important;
    }
}

/* ── Tablet Landscape (≤ 900px) ── */
@media (max-width: 900px) {
    .jss-hero {
        min-height: 65vh;
    }

    .jss-hero h1 {
        font-size: 36px !important;
    }

    .jss-hero p {
        font-size: 16px !important;
    }

    .jss-grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .jss-grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .jss-section-inner {
        padding-left: 30px;
        padding-right: 30px;
    }

    .jss-stats {
        gap: 20px;
        flex-wrap: wrap;
    }

    /* Prevent any wide element overflow */
    .jss-section,
    section,
    .entry-content {
        overflow-x: hidden;
    }

    img {
        max-width: 100%;
        height: auto;
    }
}

/* ── Tablet Portrait (≤ 768px) ── */
@media (max-width: 768px) {
    .jss-hero {
        min-height: 55vh;
    }

    .jss-hero h1 {
        font-size: 30px !important;
        line-height: 1.25;
    }

    .jss-hero p {
        font-size: 15px !important;
    }

    .jss-hero-btns {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .jss-hero-btns .jss-btn {
        width: 80%;
        text-align: center;
    }

    .jss-grid-4,
    .jss-grid-3,
    .jss-grid-2 {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .jss-section-header h2 {
        font-size: 26px !important;
    }

    .jss-section-header p {
        font-size: 15px !important;
    }

    .jss-section-inner {
        padding: 40px 20px;
    }

    .jss-stats {
        flex-direction: column;
        text-align: center;
    }

    .jss-stat-number {
        font-size: 36px !important;
    }

    .jss-card {
        padding: 25px 20px;
    }

    .jss-contact-card {
        padding: 25px 20px;
    }

    .jss-quick-connect-banner {
        flex-direction: column;
        gap: 25px;
        padding: 25px;
    }

    .jss-connect-divider {
        width: 80%;
        height: 1px;
        margin: 0 auto;
    }

    .jss-btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    /* Testimonial section */
    .jss-testimonial blockquote {
        font-size: 18px !important;
        padding: 0 15px;
    }

    /* Gallery: 2-col on tablet */
    .jss-gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
    }

    /* Footer */
    .jss-footer-grid {
        grid-template-columns: 1fr !important;
        text-align: center;
    }

    footer .container {
        padding: 30px 20px !important;
    }
}

/* ── Mobile (≤ 480px) ── */
@media (max-width: 480px) {
    .jss-hero {
        min-height: 50vh;
    }

    .jss-hero h1 {
        font-size: 24px !important;
    }

    .jss-hero p {
        font-size: 14px !important;
    }

    .jss-hero-btns .jss-btn {
        width: 100%;
    }

    .jss-section-header h2 {
        font-size: 22px !important;
    }

    .jss-section-inner {
        padding: 30px 15px;
    }

    .jss-card {
        padding: 20px 15px;
    }

    .jss-card h3 {
        font-size: 18px !important;
    }

    .jss-contact-card {
        padding: 20px 15px;
    }

    .jss-contact-card h3 {
        font-size: 18px !important;
    }

    .jss-contact-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .jss-btn-whatsapp {
        padding: 10px 18px;
        font-size: 13px;
    }

    .jss-social-btn {
        width: 38px !important;
        height: 38px !important;
        flex: 0 0 38px !important;
        font-size: 15px !important;
    }

    .jss-stat-number {
        font-size: 28px !important;
    }

    .jss-stat-label {
        font-size: 12px !important;
    }

    .jss-connect-col h4 {
        font-size: 16px;
    }

    /* Gallery: single column on phones */
    .jss-gallery-grid {
        grid-template-columns: 1fr !important;
    }

    /* Testimonial */
    .jss-testimonial blockquote {
        font-size: 16px !important;
    }

    /* CTA section */
    .jss-cta h2 {
        font-size: 22px !important;
    }

    .jss-cta p {
        font-size: 14px !important;
    }
}

/* ── END RESPONSIVE ── */


/* --- LOGO TICKER --- */
.jss-logo-ticker-wrap {
    background: #fafafa;
    width: 100%;
}

.jss-logo-ticker {
    overflow: hidden;
    padding: 40px 0 10px;
    white-space: nowrap;
    position: relative;
    width: 100%;
}

.jss-logo-ticker::before,
.jss-logo-ticker::after {
    content: "";
    position: absolute;
    top: 0;
    width: 300px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.jss-logo-ticker::before {
    left: 0;
    background: linear-gradient(to right, #fafafa 0%, rgba(250, 250, 250, 0) 100%);
}

.jss-logo-ticker::after {
    right: 0;
    background: linear-gradient(to left, #fafafa 0%, rgba(250, 250, 250, 0) 100%);
}

.jss-logo-track {
    display: inline-block;
    animation: jssScroll 45s linear infinite;
}

.jss-brand {
    display: inline-block;
    margin: 0 40px;
    padding: 15px 40px;
    font-family: var(--font-heading), sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #bbb;
    letter-spacing: 3px;
    text-transform: uppercase;
    border: 1px solid #eee;
    border-radius: 4px;
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    transition: all 0.4s ease;
}

.jss-brand:hover {
    color: var(--jss-primary);
    border-color: var(--jss-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 90, 31, 0.1);
}

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

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