/* ============================================
   JOCRA HOMEPAGE - MOBILE FIRST RESPONSIVE
   ============================================ */

:root {
    /* Brand Colors */
    --jocra-green: #2D5A3D;
    --jocra-green-deep: #1E3D2F;
    --jocra-green-muted: #3D6B4D;
    --jocra-green-light: #4A7C59;
    --jocra-red: #E63946;
    --jocra-red-dark: #C1121F;
    --jocra-red-glow: rgba(230, 57, 70, 0.3);
    --jocra-dark: #0F1419;
    --jocra-charcoal: #1A1F2E;
    --jocra-slate: #2A3441;
    --jocra-gray: #6B7280;
    --jocra-light: #F0F2F5;
    --jocra-cream: #FAFBFC;
    --jocra-white: #FFFFFF;

    /* Functional */
    --touch-target: 44px;
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 20px var(--jocra-red-glow);
}

/* Reset & Base */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #f8fafc;
    color: #0f172a;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.jocra-homepage {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--jocra-dark);
    overflow-x: hidden;
}

.capability-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease, text-decoration 0.15s ease;
}
.capability-link:hover {
    color: var(--jocra-green);
    text-decoration: underline;
}

.service-quick-tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: #FFFFFF;
    border: 1px solid rgba(45, 90, 61, 0.2);
    border-radius: 20px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--jocra-green);
    text-decoration: none;
    transition: all 0.2s ease;
}
.service-quick-tag:hover {
    background: var(--jocra-green);
    color: #FFFFFF;
    border-color: var(--jocra-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(45, 90, 61, 0.15);
}
.service-quick-tag.highlight-tag {
    background: var(--jocra-green);
    color: #FFFFFF;
}
.service-quick-tag.highlight-tag:hover {
    background: var(--jocra-green-deep);
}

.container-xl {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ============================================
   HERO SLIDER - MOBILE FIRST
   ============================================ */

:root {
    --jocra-header-offset: 118px;
}

@media (min-width: 1025px) {
    :root {
        --jocra-header-offset: 132px;
    }
}

.hero-slider {
    position: relative;
    height: calc(100vh - var(--jocra-header-offset, 118px));
    height: calc(100dvh - var(--jocra-header-offset, 118px));
    min-height: 480px;
    overflow: hidden;
    background: var(--jocra-dark);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s var(--ease-out-expo), visibility 0.8s;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: contrast(105%) brightness(0.75) saturate(0.8);
    transform: scale(1.1);
    transition: transform 6s ease;
}

.hero-slide.active .hero-bg img {
    transform: scale(1);
    animation: slowZoom 8s ease-in-out infinite alternate;
}

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(15,20,25,0.98) 0%,
        rgba(15,20,25,0.85) 40%,
        rgba(15,20,25,0.7) 100%);
    z-index: 1;
}

.hero-noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.04;
    pointer-events: none;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 24px 0 76px;
    text-align: center;
}

.hero-content .container-xl {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 auto 16px;
    padding: 6px 14px;
    background: rgba(230, 57, 70, 0.1);
    border: 1px solid rgba(230, 57, 70, 0.3);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--jocra-red);
    min-height: auto;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s var(--ease-out-expo) 0.3s;
}

.hero-slide.active .hero-badge {
    opacity: 1;
    transform: translateY(0);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--jocra-red);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

.hero-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    line-height: 1.25;
    margin: 0 auto 18px;
    letter-spacing: -0.02em;
    color: var(--jocra-white);
    text-wrap: balance;
    max-width: 860px;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-out-expo) 0.4s;
    min-height: 3.6em;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .hero-title {
        min-height: 2.6em;
    }
}

.hero-slide.active .hero-title {
    opacity: 1;
    transform: translateY(0);
}

.hero-title .highlight {
    color: var(--jocra-red);
    display: inline;
    margin: 0;
}

.typewriter-cursor {
    display: inline-block;
    width: 3px;
    height: 0.85em;
    background-color: var(--jocra-red, #e63946);
    margin-left: 4px;
    vertical-align: -0.05em;
    border-radius: 1px;
    animation: typewriterBlink 0.75s infinite;
}

@keyframes typewriterBlink {
    0%, 49% {
        opacity: 1;
    }
    50%, 100% {
        opacity: 0;
    }
}

.hero-subtext {
    font-size: clamp(0.9375rem, 1.8vw, 1.0625rem);
    line-height: 1.6;
    color: rgba(255,255,255,0.78);
    margin: 0 auto 26px;
    max-width: 580px;
    text-wrap: pretty;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s var(--ease-out-expo) 0.5s;
}

.hero-slide.active .hero-subtext {
    opacity: 1;
    transform: translateY(0);
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 auto 24px;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s var(--ease-out-expo) 0.6s;
}

.hero-slide.active .hero-cta {
    opacity: 1;
    transform: translateY(0);
}

.hero-cta .btn-primary,
.hero-cta .btn-secondary {
    padding: 12px 20px;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 8px;
    min-height: 44px;
    width: 100%;
    max-width: 320px;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
    min-height: var(--touch-target);
    border: 2px solid transparent;
    cursor: pointer;
    width: 100%;
}

.btn-primary {
    background: var(--jocra-red);
    color: var(--jocra-white);
    box-shadow: 0 10px 30px rgba(230,57,70,0.3);
}

.btn-secondary {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.2);
    color: var(--jocra-white);
}

/* Slider Controls */
.slider-controls {
    position: absolute;

    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 20px;
}

.slider-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--jocra-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.slider-arrow:hover {
    background: var(--jocra-red);
    border-color: var(--jocra-red);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.dot.active {
    background: var(--jocra-red);
    transform: scale(1.3);
}

/* Progress Bar */
.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255,255,255,0.1);
    z-index: 20;
}

.progress-bar {
    height: 100%;
    background: var(--jocra-red);
    width: 0%;
    transition: width 0.1s linear;
}

/* Trust Indicators */
.hero-trust {
    position: absolute;
    bottom: 80px;
    left: 0;
    right: 0;
    z-index: 10;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}

.hero-trust .container-xl {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.hero-trust i {
    color: var(--jocra-red);
    margin-right: 6px;
}

.hero-trust .dot {
    display: none;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.5);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px;
    min-height: var(--touch-target);
    z-index: 10;
}

.mouse {
    width: 22px;
    height: 34px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 11px;
    position: relative;
}

.wheel {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 6px;
    background: var(--jocra-red);
    border-radius: 2px;
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; top: 6px; }
    100% { opacity: 0; top: 14px; }
}

/* ============================================
   SECTION HEADERS - MOBILE FIRST
   ============================================ */

.section-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 8px;
}

.section-header.light {
    color: var(--jocra-white);
}

.section-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--jocra-red);
    margin-bottom: 12px;
    padding: 6px 14px;
    background: rgba(230, 57, 70, 0.1);
    border-radius: 20px;
    min-height: var(--touch-target);
}

.section-header.light .section-label {
    background: rgba(230, 57, 70, 0.2);
}

.section-title {
    font-size: clamp(1.75rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--jocra-dark);
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-wrap: balance;
}

.section-header.light .section-title {
    color: var(--jocra-white);
}

.section-title .highlight {
    color: var(--jocra-red);
}

.section-subtitle {
    font-size: 1rem;
    color: var(--jocra-gray);
    max-width: 600px;
    margin: 12px auto 0;
    line-height: 1.6;
    text-wrap: pretty;
}

/* ============================================
   ABOUT SECTION - EXECUTIVE REDESIGN
   ============================================ */

.about {
    padding: 80px 0;
    background: #FFFFFF;
    position: relative;
}

.about-grid {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.about-header-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    background: rgba(45, 90, 61, 0.08);
    border: 1px solid rgba(45, 90, 61, 0.15);
    border-radius: 100px;
    margin-bottom: 16px;
}

.about-header-pill .pill-dot {
    width: 8px;
    height: 8px;
    background: var(--jocra-green);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(45, 90, 61, 0.2);
}

.about-header-pill .pill-text {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--jocra-green);
}

.about-main-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--jocra-dark);
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin: 0 0 20px;
}

.about-lead {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--jocra-dark);
    line-height: 1.6;
    margin-bottom: 16px;
    text-wrap: pretty;
}

.about-body {
    font-size: 0.95rem;
    color: var(--jocra-gray);
    line-height: 1.7;
    margin-bottom: 16px;
}

.about-history-card {
    background: #F8F9FA;
    border: 1px solid rgba(45, 90, 61, 0.14);
    border-left: 4px solid var(--jocra-green);
    border-radius: 14px;
    padding: 22px 24px;
    margin: 24px 0;
}

.history-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--jocra-green);
    margin-bottom: 12px;
}

.about-history-card p {
    font-size: 0.9375rem;
    color: var(--jocra-charcoal);
    line-height: 1.65;
    margin-bottom: 10px;
}

.about-history-card p:last-child {
    margin-bottom: 0;
}

.about-history-card .history-note a {
    color: var(--jocra-green);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.about-history-card .history-note a:hover {
    color: var(--jocra-red);
}

.about-value-banner {
    display: flex;
    align-items: center;
    gap: 18px;
    background: #0F1419;
    color: #FFFFFF;
    border-radius: 14px;
    padding: 20px 24px;
    margin: 24px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 20, 25, 0.12);
}

.about-value-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--jocra-green) 0%, var(--jocra-green-light) 50%, var(--jocra-red) 100%);
}

.about-value-banner .value-icon {
    font-size: 24px;
    color: var(--jocra-red);
    flex-shrink: 0;
    opacity: 0.9;
}

.about-value-banner .value-content p {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.9);
}

.about-value-banner .accent-text {
    color: #FFFFFF;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: var(--jocra-red);
    text-underline-offset: 3px;
}

.about-pillars-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 24px 0;
}

@media (min-width: 577px) {
    .about-pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.pillar-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: #F9FAF8;
    border: 1px solid rgba(45, 90, 61, 0.12);
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.pillar-card:hover {
    background: #FFFFFF;
    border-color: var(--jocra-green);
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(45, 90, 61, 0.1);
}

.pillar-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--jocra-green) 0%, var(--jocra-green-deep) 100%);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.pillar-card:hover .pillar-icon {
    transform: scale(1.08);
}

.pillar-info {
    flex: 1;
    min-width: 0;
}

.pillar-info h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--jocra-dark);
    margin: 0 0 3px;
    line-height: 1.3;
}

.pillar-info p {
    font-size: 12px;
    color: var(--jocra-gray);
    margin: 0;
    line-height: 1.4;
}

.pillar-arrow {
    font-size: 12px;
    color: var(--jocra-red);
    opacity: 0.6;
    transition: all 0.25s ease;
    transform: translateX(0);
}

.pillar-card:hover .pillar-arrow {
    opacity: 1;
    transform: translateX(4px);
}

.about-action-group {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 28px;
}

@media (min-width: 577px) {
    .about-action-group {
        flex-direction: row;
        align-items: center;
    }
}

/* Visual Column */
.about-visual-column {
    position: relative;
}

.visual-wrapper {
    position: relative;
    max-width: 540px;
    margin: 0 auto;
}

.main-image-frame {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(15, 20, 25, 0.15);
    background: var(--jocra-slate);
}

.main-image-frame img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.main-image-frame:hover img {
    transform: scale(1.04);
}

.image-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 20, 25, 0.05) 0%, rgba(15, 20, 25, 0.4) 100%);
    pointer-events: none;
}

.secondary-inset-frame {
    display: none;
    position: absolute;
    bottom: -24px;
    right: -16px;
    width: 200px;
    height: 140px;
    border-radius: 16px;
    overflow: hidden;
    border: 4px solid #FFFFFF;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.secondary-inset-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 768px) {
    .secondary-inset-frame {
        display: block;
    }
    .main-image-frame img {
        height: 480px;
    }
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(45, 90, 61, 0.14);
    border-radius: 14px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
    z-index: 3;
    transition: transform 0.3s ease;
}

.floating-badge:hover {
    transform: translateY(-2px);
}

.badge-top {
    top: 20px;
    left: -12px;
}

.badge-bottom {
    bottom: 24px;
    left: -12px;
}

@media (max-width: 576px) {
    .badge-top {
        top: 12px;
        left: 12px;
    }
    .badge-bottom {
        bottom: 12px;
        left: 12px;
    }
}

.badge-icon-wrap {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.badge-icon-wrap.green-glow {
    background: rgba(45, 90, 61, 0.12);
    color: var(--jocra-green);
}

.badge-icon-wrap.red-glow {
    background: rgba(230, 57, 70, 0.12);
    color: var(--jocra-red);
}

.badge-text-wrap {
    display: flex;
    flex-direction: column;
}

.badge-title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--jocra-dark);
    line-height: 1.25;
}

.badge-sub {
    font-size: 11px;
    color: var(--jocra-gray);
    line-height: 1.3;
}

.floating-exp-pill {
    position: absolute;
    top: -16px;
    right: 16px;
    background: linear-gradient(135deg, var(--jocra-green) 0%, var(--jocra-green-deep) 100%);
    color: #FFFFFF;
    padding: 10px 18px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 24px rgba(45, 90, 61, 0.35);
    z-index: 4;
}

.floating-exp-pill .exp-number {
    font-size: 22px;
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
    line-height: 1;
    color: #FFFFFF;
}

.floating-exp-pill .exp-text {
    display: flex;
    flex-direction: column;
}

.floating-exp-pill .exp-text strong {
    font-size: 12px;
    line-height: 1.2;
}

.floating-exp-pill .exp-text span {
    font-size: 10.5px;
    opacity: 0.8;
}


/* ============================================
   SERVICES SECTION - WITH IMAGES
   ============================================ */

.services {
    padding: 64px 0;
    background: var(--jocra-dark);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.service-card {
    position: relative;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(45, 90, 61, 0.3);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.service-card.featured {
    border-color: rgba(230, 57, 70, 0.3);
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.05), rgba(255,255,255,0.03));
}

.service-card.featured:hover {
    border-color: rgba(230, 57, 70, 0.5);
}

.featured-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 14px;
    background: var(--jocra-red);
    color: var(--jocra-white);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 20px;
    z-index: 10;
}

/* Service Image */
.service-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.service-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.08);
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 14, 19, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.view-btn {
    padding: 12px 24px;
    background: var(--jocra-red);
    color: white;
    font-weight: 700;
    font-size: 14px;
    border-radius: 8px;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.service-card:hover .image-overlay {
    opacity: 1;
}

.service-card:hover .view-btn {
    transform: translateY(0);
}

/* Card Content */
.card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-number {
    font-size: 36px;
    font-weight: 800;
    color: rgba(255,255,255,0.08);
    line-height: 1;
    margin-bottom: 12px;
    font-family: 'JetBrains Mono', monospace;
}

.card-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    min-height: 52px;
    background: rgba(45, 90, 61, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--jocra-green-light);
    font-size: 20px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.service-card.featured .card-icon {
    background: rgba(230, 57, 70, 0.2);
    color: var(--jocra-red);
}

.service-card:hover .card-icon {
    background: var(--jocra-green);
    color: var(--jocra-white);
    transform: scale(1.1);
}

.service-card.featured:hover .card-icon {
    background: var(--jocra-red);
}

.service-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--jocra-white);
    margin-bottom: 10px;
    line-height: 1.3;
}

.service-card p {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
    margin-bottom: 16px;
}

.card-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.card-meta-row .card-number {
    margin-bottom: 0;
}

.category-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-capabilities {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
}

.capabilities-title {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: var(--jocra-green-light);
    margin-bottom: 10px;
}

.capability-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.capability-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.45;
}

.capability-list li i {
    color: var(--jocra-green-light);
    font-size: 13px;
    margin-top: 3px;
    flex-shrink: 0;
}

.category-cta-row {
    margin-top: auto;
    padding-top: 8px;
}

.btn-category-explore {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 20px;
    background: rgba(45, 90, 61, 0.25);
    border: 1px solid rgba(45, 90, 61, 0.45);
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-category-explore i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.btn-category-explore:hover {
    background: var(--jocra-green);
    border-color: var(--jocra-green);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(45, 90, 61, 0.4);
}

.btn-category-explore:hover i {
    transform: translateX(5px);
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--jocra-green-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    min-height: var(--touch-target);
}

.service-card.featured .card-link {
    color: var(--jocra-red);
}

.card-link i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.service-card:hover .card-link i {
    transform: translateX(4px);
}

.services-footer {
    text-align: center;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.2);
    color: var(--jocra-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: var(--touch-target);
}

.btn-outline:hover {
    background: var(--jocra-white);
    color: var(--jocra-dark);
    border-color: var(--jocra-white);
}

/* ============================================
   WHY JOCRA SECTION - MOBILE FIRST
   ============================================ */

.why {
    padding: 64px 0;
    background: var(--jocra-light);
}

.why-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.why-content .section-label {
    margin-bottom: 12px;
}

.why-content .section-title {
    margin-bottom: 8px;
    font-size: clamp(1.5rem, 5vw, 2.5rem);
}

.why-tagline {
    font-size: 1rem;
    font-weight: 600;
    color: var(--jocra-green);
    margin: 0 0 32px;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.why-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--jocra-white);
    border-radius: 16px;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}

.item-number {
    font-size: 20px;
    font-weight: 800;
    color: var(--jocra-red);
    line-height: 1;
    font-family: 'JetBrains Mono', monospace;
    flex-shrink: 0;
}

.item-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--jocra-dark);
    margin-bottom: 6px;
    line-height: 1.3;
}

.item-content p {
    font-size: 13px;
    color: var(--jocra-gray);
    line-height: 1.6;
    margin: 0;
}

.visual-card {
    background: var(--jocra-dark);
    border-radius: 20px;
    padding: 28px;
    color: var(--jocra-white);
    position: relative;
    overflow: hidden;
}

.visual-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(230,57,70,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--jocra-green-light);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.card-header i {
    font-size: 20px;
}

.visual-card h3 {
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 24px;
    position: relative;
}

.guarantee-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
}

.guarantee-list span {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}

.guarantee-list i {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    background: rgba(45, 90, 61, 0.3);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--jocra-green-light);
    font-size: 12px;
}

/* ============================================
   PROCESS SECTION - MOBILE FIRST
   ============================================ */

.process {
    padding: 64px 0;
    background: var(--jocra-white);
}
.process {
    position: relative;
    overflow: hidden;
}

.process-bg-image {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    z-index: 0;
}

.process-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.process .container-xl {
    position: relative;
    z-index: 1;
}
.process-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-line {
    display: none;
}

.process-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.step-card {
    display: block;
    text-align: center;
    padding: 24px 20px;
    background: var(--jocra-light);
    border-radius: 20px;
    position: relative;
    text-decoration: none;
    transition: all 0.3s ease;
}

.step-number {
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
    background: var(--jocra-white);
    border: 2px solid rgba(0,0,0,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    color: var(--jocra-dark);
    margin: 0 auto 16px;
    font-family: 'JetBrains Mono', monospace;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.step-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    background: rgba(45, 90, 61, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--jocra-green);
    font-size: 20px;
    margin: 0 auto 16px;
}

.step-card h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--jocra-dark);
    margin-bottom: 10px;
}

.step-card p {
    font-size: 0.875rem;
    color: var(--jocra-gray);
    line-height: 1.6;
    margin: 0;
}




/* ============================================
   TESTIMONIALS SLIDER - HOMEPAGE
   ============================================ */

.testimonials {
    padding: 64px 0;
    background: var(--jocra-dark, #0F1419);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}

/* ---- Slider Wrapper ---- */
.testimonials-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 4px;
}

/* ---- Track Container ---- */
.testimonials-track-container {
    flex: 1;
    overflow: hidden;
    border-radius: 20px;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
}

.testimonials-track {
    display: flex;
    gap: 16px;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

/* ---- Individual Slide ---- */
.testi-slide {
    flex: 0 0 100%;
    min-width: 0;
}

/* ---- Testimonial Card ---- */
.testi-card {
    position: relative;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 28px 22px 22px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testi-slide:hover .testi-card {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.05);
    border-color: rgba(45, 90, 61, 0.2);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.card-quote-icon {
    position: absolute;
    top: 18px;
    right: 20px;
    font-size: 26px;
    color: rgba(45, 90, 61, 0.12);
    line-height: 1;
    transition: color 0.3s ease;
}

.testi-slide:hover .card-quote-icon {
    color: rgba(45, 90, 61, 0.25);
}

.card-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 14px;
}

.card-stars i {
    font-size: 12px;
    color: #F59E0B;
}

.card-message {
    margin: 0 0 20px;
    padding: 0;
    border: none;
    flex: 1;
}

.card-message p {
    font-size: 0.875rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.7);
    margin: 0;
    font-style: italic;
}

/* ---- Card Footer ---- */
.card-footer {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.card-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

/* Text Avatar */
.text-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--jocra-green, #2D5A3D) 0%, #1e3d2a 100%);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 2px 8px rgba(45, 90, 61, 0.25);
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.author-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.author-role {
    font-size: 11px;
    color: rgba(255,255,255,0.45);
    line-height: 1.3;
}

/* ---- Contact Chips ---- */
.author-contact-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.contact-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    cursor: pointer;
    line-height: 1;
}

.contact-chip .chip-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.contact-chip .chip-icon i {
    font-size: 10px;
}

.contact-chip .chip-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 130px;
}

.email-chip {
    background: rgba(59, 130, 246, 0.08);
    color: #3b82f6;
    border-color: rgba(59, 130, 246, 0.12);
}

.email-chip:hover {
    background: #3b82f6;
    color: #fff;
    border-color: #3b82f6;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(59, 130, 246, 0.25);
}

.whatsapp-chip {
    background: rgba(37, 211, 102, 0.08);
    color: #22c55e;
    border-color: rgba(37, 211, 102, 0.12);
}

.whatsapp-chip:hover {
    background: #22c55e;
    color: #fff;
    border-color: #22c55e;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(34, 197, 94, 0.25);
}

/* ---- Navigation Arrows ---- */
.slider-nav {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 13px;
    flex-shrink: 0;
    z-index: 5;
}

.slider-nav:hover {
    background: var(--jocra-red, #E63946);
    border-color: var(--jocra-red, #E63946);
    color: #fff;
    transform: scale(1.1);
}

.slider-nav:active {
    transform: scale(0.95);
}

.slider-nav:disabled,
.slider-nav.disabled {
    opacity: 0.25;
    cursor: not-allowed;
    pointer-events: none;
}

/* ---- Dots Bar ---- */
.slider-dots-bar {
    position: absolute;
    bottom: -32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    align-items: center;
}

.slider-dots-bar .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
    position: relative;
}

.slider-dots-bar .dot::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
}

.slider-dots-bar .dot.active {
    background: var(--jocra-red, #E63946);
    width: 24px;
    border-radius: 4px;
}

/* ---- Footer ---- */
.testimonials-footer {
    text-align: center;
    margin-top: 52px;
}

/* ============================================
   TABLET (577px+)
   ============================================ */

@media (min-width: 577px) {
    .testimonials {
        padding: 80px 0;
    }

    .testimonials-slider-wrapper {
        gap: 16px;
        padding: 0 8px;
    }

    .testimonials-track {
        gap: 20px;
    }

    .testi-slide {
        flex: 0 0 calc(50% - 10px);
    }

    .testi-card {
        padding: 32px 26px 24px;
    }

    .card-quote-icon {
        font-size: 28px;
        top: 20px;
        right: 24px;
    }

    .card-message p {
        font-size: 0.9375rem;
    }

    .author-avatar {
        width: 48px;
        height: 48px;
    }

    .text-avatar {
        font-size: 15px;
    }

    .author-name {
        font-size: 0.9375rem;
    }

    .author-role {
        font-size: 12px;
    }

    .contact-chip {
        padding: 7px 12px;
        font-size: 12px;
    }

    .contact-chip .chip-icon {
        width: 16px;
        height: 16px;
    }

    .contact-chip .chip-icon i {
        font-size: 11px;
    }

    .contact-chip .chip-text {
        max-width: 180px;
    }

    .slider-nav {
        display: flex;
    }

    .slider-dots-bar {
        bottom: -36px;
    }

    .testimonials-footer {
        margin-top: 56px;
    }
}

/* ============================================
   DESKTOP (1025px+)
   ============================================ */

@media (min-width: 1025px) {
    .testimonials {
        padding: 120px 0;
    }

    .testimonials-slider-wrapper {
        gap: 20px;
        padding: 0;
    }

    .testimonials-track-container {
        -webkit-mask-image: none;
        mask-image: none;
    }

    .testimonials-track {
        gap: 24px;
    }

    .testi-slide {
        flex: 0 0 calc(33.333% - 16px);
    }

    .testi-card {
        padding: 36px 30px 28px;
    }

    .card-quote-icon {
        font-size: 32px;
        top: 24px;
        right: 28px;
    }

    .card-message p {
        font-size: 1rem;
    }

    .author-avatar {
        width: 52px;
        height: 52px;
    }

    .text-avatar {
        font-size: 16px;
    }

    .card-footer {
        gap: 16px;
        padding-top: 20px;
    }

    .contact-chip {
        padding: 8px 14px;
        font-size: 13px;
    }

    .contact-chip .chip-icon {
        width: 18px;
        height: 18px;
    }

    .contact-chip .chip-icon i {
        font-size: 12px;
    }

    .contact-chip .chip-text {
        max-width: none;
    }

    .slider-nav {
        width: 48px;
        height: 48px;
        font-size: 14px;
    }

    .slider-dots-bar {
        bottom: -44px;
        gap: 10px;
    }

    .slider-dots-bar .dot {
        width: 10px;
        height: 10px;
    }

    .slider-dots-bar .dot.active {
        width: 28px;
    }

    .testimonials-footer {
        margin-top: 64px;
    }
}

/* ============================================
   SMALL MOBILE (under 360px)
   ============================================ */

@media (max-width: 359px) {
    .testi-card {
        padding: 24px 18px 20px;
    }

    .author-contact-strip {
        flex-direction: column;
    }

    .contact-chip {
        width: 100%;
        justify-content: center;
    }

    .contact-chip .chip-text {
        max-width: none;
    }
}

/* ============================================
   TOUCH DEVICE
   ============================================ */

@media (hover: none) and (pointer: coarse) {
    .testi-slide:active .testi-card {
        transform: scale(0.995);
    }

    .contact-chip:active {
        transform: scale(0.97);
    }
}

/* ============================================
   FAQ SECTION - HOMEPAGE INSERT
   ============================================ */

.faq {
    padding: 64px 0;
    background: var(--jocra-white, #FFFFFF);
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-card {
    background: var(--jocra-light, #F0F2F5);
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.03);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-card:hover {
    border-color: rgba(45, 90, 61, 0.1);
}

.faq-card.open {
    background: #fff;
    border-color: rgba(45, 90, 61, 0.12);
    box-shadow: 0 8px 30px rgba(0,0,0,0.04);
}

.faq-heading {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
}

.faq-head {
    width: 100%;
    padding: 18px 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    text-align: left;
}

.faq-head-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.faq-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: rgba(45, 90, 61, 0.08);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
    color: var(--jocra-green, #2D5A3D);
    font-family: 'JetBrains Mono', monospace;
    transition: all 0.3s ease;
}

.faq-card.open .faq-number {
    background: var(--jocra-green, #2D5A3D);
    color: #fff;
}

.faq-question {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--jocra-dark, #0F1419);
    line-height: 1.4;
    text-wrap: balance;
}

.faq-toggle {
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: rgba(0,0,0,0.04);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--jocra-dark, #0F1419);
    font-size: 11px;
    transition: all 0.3s ease;
}

.faq-card.open .faq-toggle {
    background: var(--jocra-red, #E63946);
    color: #fff;
    transform: rotate(45deg);
}

.faq-body {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-card.open .faq-body {
    grid-template-rows: 1fr;
}

.faq-body-inner {
    min-height: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    padding: 14px 20px 22px 20px;
    transition: visibility 0.35s ease, opacity 0.35s ease;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--jocra-gray, #6B7280);
}

.faq-card.open .faq-body-inner {
    visibility: visible;
    opacity: 1;
}

.faq-body-inner > div {
    margin: 0;
}

.faq-body-inner p {
    margin: 0 0 12px;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}

.faq-body-inner p:last-child {
    margin-bottom: 0;
}

.faq-body-inner p:empty {
    display: none;
}

.faq-footer {
    text-align: center;
    margin-top: 32px;
}

@media (min-width: 577px) {
    .faq {
        padding: 80px 0;
    }
    .faq-head {
        padding: 20px 24px;
    }
    .faq-number {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    .faq-question {
        font-size: 1rem;
    }
    .faq-body-inner {
        padding: 16px 26px 24px 78px;
        font-size: 1rem;
    }
}

@media (min-width: 1025px) {
    .faq {
        padding: 120px 0;
    }
    .faq-head {
        padding: 22px 28px;
    }
    .faq-head:hover .faq-number {
        background: var(--jocra-green, #2D5A3D);
        color: #fff;
    }
    .faq-head:hover .faq-toggle {
        background: rgba(0,0,0,0.08);
    }
    .faq-card.open .faq-head:hover .faq-toggle {
        background: var(--jocra-red, #E63946);
    }
    .faq-question {
        font-size: 1.0625rem;
    }
    .faq-body-inner {
        padding: 18px 32px 28px 86px;
    }
}
/* ============================================
   INDUSTRIES SECTION - MOBILE FIRST
   ============================================ */

.industries {
    padding: 64px 0;
    background: var(--jocra-dark);
}

.who-we-serve-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 640px) {
    .who-we-serve-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .who-we-serve-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1280px) {
    .who-we-serve-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 16px;
    }
}

.serve-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px 18px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
}

.serve-card:hover {
    transform: translateY(-6px);
    border-color: rgba(45, 90, 61, 0.4);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    background: rgba(255, 255, 255, 0.05);
}

.serve-card .card-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    background: rgba(45, 90, 61, 0.2);
    border: 1px solid rgba(74, 124, 89, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--jocra-green-light);
    font-size: 20px;
    margin-bottom: 16px;
}

.serve-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--jocra-white);
    margin-bottom: 8px;
    line-height: 1.3;
}

.serve-card .serve-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
    margin-bottom: 16px;
}

.serve-card .serve-links {
    list-style: none;
    padding: 0;
    margin: auto 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 12px;
}

.serve-card .serve-links li a {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    line-height: 1.35;
    transition: color 0.2s ease, transform 0.2s ease;
}

.serve-card .serve-links li a i {
    font-size: 9px;
    color: var(--jocra-green-light);
    margin-top: 3px;
    flex-shrink: 0;
    transition: transform 0.2s ease, color 0.2s ease;
}

.serve-card .serve-links li a:hover {
    color: #ffffff;
    transform: translateX(3px);
}

.serve-card .serve-links li a:hover i {
    color: var(--jocra-red);
}

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

.industry-card {
    display: block;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
 position: relative;
    overflow: hidden;
}

.industry-image {
    position: absolute;
    inset: 0;
    opacity: 0.15;
    z-index: 0;
}

.industry-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

.industry-card .card-icon,
.industry-card h4,
.industry-card p {
    position: relative;
    z-index: 1;
}

.industry-card .card-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
    background: rgba(45, 90, 61, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--jocra-green-light);
    font-size: 24px;
    margin: 0 auto 16px;
    transition: all 0.3s ease;
}

.industry-card h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--jocra-white);
    margin-bottom: 6px;
    line-height: 1.3;
}

.industry-card p {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    margin: 0;
    line-height: 1.4;
}

/* ============================================
   CTA SECTION - MOBILE FIRST
   ============================================ */

.cta {
    padding: 64px 0;
    background: radial-gradient(circle at center, #1a1f2e 0%, #0F1419 70%);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(230,57,70,0.15);
    filter: blur(120px);
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}
.cta-bg {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    z-index: 0;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(150%);
}

.cta-box {
    position: relative;
    z-index: 2;
}

.cta-box {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(1.75rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--jocra-white);
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.cta-title .highlight {
    color: var(--jocra-red);
}

.cta-subtitle {
    font-size: 1rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 28px;
    text-wrap: pretty;
}

.cta-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.cta-contact a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--jocra-red);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: color 0.3s ease;
    min-height: var(--touch-target);
}

.cta-contact .divider {
    display: none;
}

.btn-cta-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 32px;
    background: var(--jocra-red);
    color: var(--jocra-white);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(230,57,70,0.4);
    border: none;
    cursor: pointer;
    width: 100%;
    min-height: var(--touch-target);
}

/* ============================================
   MODAL - MOBILE FIRST
   ============================================ */

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(10px);
    z-index: 20000;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--jocra-slate);
    border-radius: 24px 24px 0 0;
    padding: 32px 24px;
    max-width: 100%;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
    animation: modalSlideUp 0.3s ease;
}

@keyframes modalSlideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255,255,255,0.1);
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 20px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    min-height: var(--touch-target);
}

.modal h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--jocra-white);
    padding-right: 40px;
}

.modal > .modal-content > p {
    color: rgba(255,255,255,0.6);
    margin-bottom: 24px;
    font-size: 0.9375rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: var(--jocra-white);
    font-family: inherit;
    font-size: 16px;
    transition: all 0.3s ease;
    min-height: var(--touch-target);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--jocra-red);
    background: rgba(255,255,255,0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: var(--jocra-red);
    color: var(--jocra-white);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: var(--touch-target);
    margin-top: 8px;
}

/* ============================================
   ABOUT HISTORY BLOCK
   ============================================ */

.about-history {
    margin: 20px 0;
    padding: 20px;
    background: var(--jocra-light);
    border-radius: 12px;
    border-left: 3px solid var(--jocra-green);
}

.about-history p {
    font-size: 0.9375rem;
    color: var(--jocra-gray);
    line-height: 1.7;
    margin-bottom: 12px;
}

.about-history p:last-child {
    margin-bottom: 0;
}

.about-history strong {
    color: var(--jocra-dark);
}

/* ============================================
   AREAS WE SERVE SECTION
   ============================================ */

.areas-serve {
    padding: 64px 0;
    background: var(--jocra-light);
}

.areas-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.area-column {
    background: var(--jocra-white);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(0,0,0,0.04);
}

.area-column h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--jocra-dark);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.area-column h4 i {
    color: var(--jocra-red);
}

.area-column h4 a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    text-decoration: none;
}

.area-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.area-tags span,
.area-tags a {
    padding: 6px 14px;
    background: var(--jocra-light);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--jocra-dark);
    text-decoration: none;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

/* ============================================
   WHY INTRO
   ============================================ */

.why-intro {
    margin-bottom: 32px;
}

.why-intro .lead-text {
    font-size: 1.0625rem;
    color: var(--jocra-gray);
    line-height: 1.7;
}

/* ============================================
   TRUST CENTER SECTION
   ============================================ */

.trust-center {
    padding: 64px 0;
    background: var(--jocra-charcoal);
}

.trust-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.trust-card {
    display: block;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    padding: 28px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.trust-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    min-height: 52px;
    background: rgba(45, 90, 61, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--jocra-green-light);
    font-size: 20px;
    margin-bottom: 16px;
}

.trust-card h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--jocra-white);
    margin-bottom: 16px;
}

.membership-list,
.registration-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.membership-list li a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.membership-list li a::before {
    content: '→';
    color: var(--jocra-red);
    font-size: 12px;
    font-weight: 700;
}

.membership-list li a:hover {
    color: var(--jocra-green-light);
}

.registration-list li {
    color: rgba(255,255,255,0.7);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.registration-list li strong {
    color: var(--jocra-white);
}

.trust-card p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   TESTIMONIALS MEDIA NOTE
   ============================================ */

.media-note {
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.875rem;
    margin-bottom: 32px;
    margin-top: -16px;
}

.media-note i {
    color: var(--jocra-red);
    margin-right: 6px;
}

/* ============================================
   TABLET: NEW SECTIONS
   ============================================ */

@media (min-width: 577px) {
    .areas-serve,
    .trust-center {
        padding: 80px 0;
    }

    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   DESKTOP: NEW SECTIONS
   ============================================ */

@media (min-width: 1025px) {
    .areas-serve,
    .trust-center {
        padding: 120px 0;
    }

    .areas-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .trust-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .area-tags span:hover,
    .area-tags a:hover {
        background: var(--jocra-green);
        color: var(--jocra-white);
        border-color: var(--jocra-green);
    }

    .trust-card:hover {
        transform: translateY(-6px);
        border-color: rgba(45, 90, 61, 0.2);
        background: rgba(255,255,255,0.05);
    }
}

/* ============================================
   TABLET BREAKPOINT (577px - 1024px)
   ============================================ */

@media (min-width: 577px) {
    .container-xl {
        padding: 0 24px;
    }

    /* Hero Slider */
    .hero-content {
        padding: 30px 0 82px;
    }

    .hero-title {
        font-size: clamp(2rem, 3.2vw, 2.65rem);
    }

    .hero-cta {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 14px;
    }

    .btn-primary,
    .btn-secondary {
        width: auto;
        min-width: 200px;
    }

    .hero-cta .btn-primary,
    .hero-cta .btn-secondary {
        width: auto;
        max-width: none;
        min-width: 180px;
        padding: 12px 22px;
        font-size: 0.875rem;
    }

    .slider-controls {
        bottom: 160px;
    }

    .hero-trust .container-xl {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }

    .hero-trust .dot {
        display: inline;
        color: var(--jocra-red);
    }

    /* Sections */
    .about,
    .services,
    .why,
    .process,
    .industries,
    .cta {
        padding: 80px 0;
    }

    /* Features Grid */
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }

    .feature-item {
        padding: 24px 16px;
    }

    /* Services */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .service-card {
        border-radius: 24px;
    }

    .card-content {
        padding: 28px;
    }

    /* Why Section */
    .why-grid {
        flex-direction: row;
        align-items: center;
    }

    .why-content {
        flex: 1.2;
    }

    .why-visual {
        flex: 0.8;
    }

    /* Process */
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Industries */
    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    /* CTA */
    .cta-contact {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    .cta-contact .divider {
        display: inline;
        color: rgba(255,255,255,0.3);
    }

    .btn-cta-large {
        width: auto;
        min-width: 300px;
    }

    /* Modal */
    .modal {
        align-items: center;
        padding: 20px;
    }

    .modal-content {
        border-radius: 24px;
        max-width: 500px;
        max-height: 85vh;
        animation: modalIn 0.3s ease;
    }

    @keyframes modalIn {
        from { opacity: 0; transform: scale(0.9); }
        to { opacity: 1; transform: scale(1); }
    }
}

/* ============================================
   DESKTOP BREAKPOINT (1025px+)
   ============================================ */

@media (min-width: 1025px) {
    .container-xl {
        padding: 0 32px;
    }

    /* Hero Slider */
    .hero-slider {
        height: calc(100vh - var(--jocra-header-offset, 132px));
        height: calc(100dvh - var(--jocra-header-offset, 132px));
        min-height: 520px;
    }

    .hero-content {
        padding: 36px 0 88px;
    }

    .hero-title {
        font-size: clamp(2.25rem, 2.8vw, 2.95rem);
    }

    .hero-title .highlight {
        display: inline;
        margin: 0;
    }

    .slider-controls {
        bottom: 180px;
    }

    /* About */
    .about {
        padding: 100px 0;
    }

    .about-grid {
        flex-direction: row;
        align-items: center;
        gap: 64px;
    }

    .about-content {
        flex: 1.2;
        min-width: 0;
    }

    .about-visual-column {
        flex: 1;
        min-width: 0;
    }

    /* Services */
    .services {
        padding: 120px 0;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }

    .service-card.featured {
        grid-column: span 2;
        grid-row: span 1;
    }

    .service-card.featured .service-image {
        aspect-ratio: 21/9;
    }

    /* Why */
    .why {
        padding: 120px 0;
    }

    .why-grid {
        gap: 64px;
    }

    .why-item {
        padding: 24px;
    }

    .why-item:hover {
        transform: translateX(8px);
    }

    .visual-card {
        padding: 40px;
    }

    /* Process */
    .process {
        padding: 120px 0;
    }

    .timeline-line {
        display: block;
        position: absolute;
        top: 40px;
        left: 0;
        right: 0;
        height: 2px;
        background: rgba(0,0,0,0.1);
    }

    .process-steps {
        grid-template-columns: repeat(4, 1fr);
        gap: 32px;
        position: relative;
    }

    .step-card {
        background: transparent;
        padding: 0 20px;
    }

    .step-number {
        width: 80px;
        height: 80px;
        font-size: 24px;
        margin-bottom: 24px;
        transition: all 0.3s ease;
    }

    .step-card:hover .step-number {
        border-color: var(--jocra-green);
        color: var(--jocra-green);
        transform: scale(1.1);
    }

    .step-icon {
        width: 56px;
        height: 56px;
        font-size: 22px;
        margin-bottom: 20px;
    }

    /* Industries */
    .industries {
        padding: 120px 0;
    }

    .industries-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 20px;
    }

    .industry-card {
        padding: 32px 24px;
    }

    .industry-card:hover {
        transform: translateY(-8px);
        border-color: rgba(45, 90, 61, 0.3);
    }

    /* CTA */
    .cta {
        padding: 120px 0;
    }

    .cta::before {
        width: 600px;
        height: 600px;
        top: -200px;
    }

    .btn-cta-large:hover {
        transform: translateY(-3px);
        box-shadow: 0 20px 60px rgba(230,57,70,0.5);
    }
}

/* ============================================
   LARGE DESKTOP BREAKPOINT (1440px+)
   ============================================ */

@media (min-width: 1440px) {
    .container-xl {
        max-width: 1320px;
        padding: 0 48px;
    }

    .hero-title {
        font-size: 3.125rem;
    }
}

/* ============================================
   HOVER EFFECTS - POINTER FINE ONLY
   ============================================ */

@media (pointer: fine) {
    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 40px rgba(230,57,70,0.4);
        background: var(--jocra-red-dark);
    }

    .btn-secondary:hover {
        background: rgba(255,255,255,0.1);
        border-color: rgba(255,255,255,0.3);
    }

    .btn-text:hover {
        color: var(--jocra-red);
    }

    .btn-text:hover i {
        transform: translateX(4px);
    }

    .scroll-indicator:hover {
        color: rgba(255,255,255,0.8);
    }

    .feature-item:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    }

    .feature-item:hover .feature-icon {
        background: var(--jocra-green);
        color: var(--jocra-white);
    }

    .service-card:hover {
        background: rgba(255,255,255,0.06);
    }

    .why-item:hover {
        transform: translateX(4px);
        box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    }

    .industry-card:hover {
        background: rgba(255,255,255,0.06);
    }

    .industry-card:hover .card-icon {
        background: var(--jocra-green);
        color: var(--jocra-white);
        transform: scale(1.1);
    }

    .cta-contact a:hover {
        color: var(--jocra-white);
    }

    .modal-close:hover {
        background: var(--jocra-red);
        color: var(--jocra-white);
        transform: rotate(90deg);
    }

    .btn-submit:hover {
        background: var(--jocra-red-dark);
        transform: translateY(-2px);
    }
}

/* ============================================
   TOUCH DEVICE OPTIMIZATIONS
   ============================================ */

@media (hover: none) and (pointer: coarse) {
    .btn-primary:active,
    .btn-secondary:active,
    .btn-cta-large:active,
    .btn-submit:active {
        transform: scale(0.96);
    }

    .feature-item:active,
    .service-card:active,
    .why-item:active,
    .industry-card:active,
    .step-card:active {
        transform: scale(0.98);
    }

    .image-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(10,14,19,0.8), transparent);
        align-items: flex-end;
        padding-bottom: 20px;
    }

    .view-btn {
        transform: none;
        font-size: 12px;
        padding: 8px 16px;
    }

    .card-link i {
        transform: translateX(4px);
    }
}

/* ============================================
   REDUCED MOTION PREFERENCES
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .hero-bg img {
        animation: none;
    }

    .badge-dot,
    .wheel {
        animation: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ============================================
   HIGH CONTRAST MODE SUPPORT
   ============================================ */

@media (prefers-contrast: high) {
    .service-card,
    .industry-card,
    .why-item,
    .step-card,
    .feature-item {
        border-width: 2px;
        border-color: currentColor;
    }

    .value-statement {
        border-left-width: 6px;
    }

    .btn-primary,
    .btn-secondary,
    .btn-cta-large,
    .btn-submit {
        border: 3px solid currentColor;
    }
}

/* ============================================
   The site is light-only by design (see the color-scheme meta tag in
   main_master.blade.php <head>) — this page no longer carries a partial
   dark-mode override that only darkened a few sections here while the
   header, footer, and every other page stayed light.
   ============================================ */

/* ============================================
   SAFARI/IOS SPECIFIC FIXES
   ============================================ */

@supports (-webkit-touch-callout: none) {
    .hero-slider {
        height: calc(100svh - var(--jocra-header-offset, 118px));
        height: calc(100dvh - var(--jocra-header-offset, 118px));
        min-height: calc(100svh - var(--jocra-header-offset, 118px));
    }

    .modal-content {
        padding-bottom: env(safe-area-inset-bottom);
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

:focus-visible {
    outline: 3px solid var(--jocra-red);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.visual-card.with-image {
    position: relative;
    overflow: hidden;
}

.card-image-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.3;
}

.card-image-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(120%);
}

.visual-card.with-image .card-header,
.visual-card.with-image h3,
.visual-card.with-image .guarantee-list {
    position: relative;
    z-index: 1;
}

/* ============================================
   SERVICES FOOTER & BUTTON OUTLINE
   ============================================ */

.services-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 34px;
    background: #FFFFFF;
    border: 2px solid var(--jocra-green);
    border-radius: 12px;
    color: var(--jocra-green);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(45, 90, 61, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-outline i {
    font-size: 16px;
    color: var(--jocra-green);
    transition: transform 0.3s ease, color 0.3s ease;
}

.btn-outline:hover {
    background: linear-gradient(135deg, var(--jocra-green) 0%, var(--jocra-green-deep) 100%);
    border-color: var(--jocra-green);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(45, 90, 61, 0.25);
}

.btn-outline:hover i {
    color: #FFFFFF;
    transform: scale(1.1);
}

.btn-outline:active {
    transform: scale(0.98);
}

/* ============================================
   CASE STUDIES & RELATED LINKS TEASER SECTION
   ============================================ */

.shared-related-links {
    padding: 20px 0 60px;
    background: transparent;
    position: relative;
    z-index: 2;
}

.shared-related-links .rl-card {
    background: #FFFFFF;
    border: 1px solid rgba(45, 90, 61, 0.16);
    border-radius: 20px;
    padding: 32px 36px;
    box-shadow: 0 8px 30px rgba(15, 20, 25, 0.05), 0 20px 50px rgba(15, 20, 25, 0.06);
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.shared-related-links .rl-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--jocra-green) 0%, var(--jocra-green-light) 50%, var(--jocra-red) 100%);
}

.shared-related-links .rl-head {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(45, 90, 61, 0.1);
}

.shared-related-links .rl-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--jocra-green) 0%, var(--jocra-green-deep) 100%);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 6px 18px rgba(45, 90, 61, 0.25);
}

.shared-related-links .rl-head h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--jocra-dark);
    margin: 0 0 4px 0;
    letter-spacing: -0.3px;
    line-height: 1.25;
}

.shared-related-links .rl-head p {
    font-size: 14.5px;
    color: var(--jocra-gray);
    margin: 0;
    line-height: 1.5;
}

.shared-related-links .rl-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.shared-related-links .rl-list a {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #F9FAF8;
    border: 1px solid rgba(45, 90, 61, 0.14);
    border-radius: 12px;
    padding: 16px 20px;
    text-decoration: none;
    color: var(--jocra-charcoal);
    font-weight: 600;
    font-size: 14.5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.shared-related-links .rl-list a i:first-child {
    color: var(--jocra-green);
    font-size: 17px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
    transition: transform 0.25s ease, color 0.25s ease;
}

.shared-related-links .rl-list a span {
    flex: 1;
}

.shared-related-links .rl-arrow {
    margin-left: auto;
    font-size: 13px;
    color: var(--jocra-red);
    opacity: 0.7;
    transform: translateX(0);
    transition: all 0.25s ease;
}

.shared-related-links .rl-list a:hover {
    background: linear-gradient(135deg, var(--jocra-green) 0%, var(--jocra-green-deep) 100%);
    border-color: var(--jocra-green);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(45, 90, 61, 0.22);
}

.shared-related-links .rl-list a:hover i:first-child {
    color: #FFFFFF;
    transform: scale(1.15);
}

.shared-related-links .rl-list a:hover .rl-arrow {
    opacity: 1;
    color: #FFFFFF;
    transform: translateX(4px);
}

@media (max-width: 640px) {
    .shared-related-links .rl-card {
        padding: 24px 20px;
        border-radius: 16px;
    }
    .shared-related-links .rl-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .shared-related-links .rl-list {
        grid-template-columns: 1fr;
    }
}

