.hero-slider-section {
            position: relative;
            width: 100%;
            height: 82vh;
            min-height: 480px;
            max-height: 780px;
            overflow: hidden;
            background: #0a0f1e;
            padding: 0;
        }

        .hero-slider-track {
            position: relative;
            width: 100%;
            height: 100%;
        }

        .hero-slide {
            position: absolute;
            inset: 0;
            opacity: 0;
            transition: opacity 1.2s cubic-bezier(0.77, 0, 0.18, 1);
            pointer-events: none;
        }

        .hero-slide.active {
            opacity: 1;
            pointer-events: auto;
        }

        /* Background image layer */
        .hero-slide-bg {
            position: absolute;
            inset: 0;
            background-size: cover;
            background-position: center;
            transform: scale(1.05);
            transition: transform 8s ease-out;
        }

        .hero-slide.active .hero-slide-bg {
            transform: scale(1);
        }

        /* Cinematic overlay */
        .hero-slide-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(
                135deg,
                rgba(8, 14, 28, 0.82) 0%,
                rgba(8, 14, 28, 0.55) 50%,
                rgba(43, 73, 157, 0.15) 100%
            );
        }

        /* Left accent bar */
        .hero-slide-overlay::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 5px;
            background: linear-gradient(to bottom, #55B848, #2B499D);
        }

        /* Content */
        .hero-slide-content {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
        }

        .hero-slide-inner {
            max-width: 780px;
            padding: 0 2.5rem;
        }

        .hero-overline {
            display: inline-flex;
            align-items: center;
            gap: 0.6rem;
            background: rgba(85, 184, 72, 0.15);
            border: 1px solid rgba(85, 184, 72, 0.35);
            color: #55B848;
            font-size: 0.75rem;
            font-weight: 800;
            letter-spacing: 2.5px;
            text-transform: uppercase;
            padding: 0.4rem 1rem;
            border-radius: 30px;
            margin-bottom: 1.75rem;
            backdrop-filter: blur(10px);
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.7s ease 0.3s;
        }

        .hero-slide.active .hero-overline {
            opacity: 1;
            transform: translateY(0);
        }

        .hero-headline {
            font-size: clamp(2.2rem, 5vw, 4rem);
            font-weight: 900;
            line-height: 1.1;
            color: #ffffff;
            margin-bottom: 1.25rem;
            letter-spacing: -0.03em;
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s ease 0.5s;
        }

        .hero-headline span {
            background: linear-gradient(90deg, #55B848, #78c96e);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero-slide.active .hero-headline {
            opacity: 1;
            transform: translateY(0);
        }

        .hero-subtext {
            font-size: clamp(1rem, 2vw, 1.2rem);
            color: rgba(255, 255, 255, 0.75);
            line-height: 1.65;
            margin-bottom: 2.25rem;
            max-width: 580px;
            opacity: 0;
            transform: translateY(25px);
            transition: all 0.8s ease 0.7s;
        }

        .hero-slide.active .hero-subtext {
            opacity: 1;
            transform: translateY(0);
        }

        .hero-cta-row {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.8s ease 0.9s;
        }

        .hero-slide.active .hero-cta-row {
            opacity: 1;
            transform: translateY(0);
        }

        .btn-hero-primary {
            background: linear-gradient(135deg, #55B848, #449c39);
            color: #fff;
            font-weight: 700;
            font-size: 0.95rem;
            padding: 0.85rem 2rem;
            border: none;
            border-radius: 50px;
            box-shadow: 0 6px 20px rgba(85, 184, 72, 0.4);
            transition: all 0.3s ease;
            text-decoration: none;
        }

        .btn-hero-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 30px rgba(85, 184, 72, 0.5);
            color: #fff;
        }

        .btn-hero-outline {
            background: rgba(255, 255, 255, 0.1);
            color: #fff;
            font-weight: 600;
            font-size: 0.95rem;
            padding: 0.85rem 2rem;
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: 50px;
            backdrop-filter: blur(8px);
            transition: all 0.3s ease;
            text-decoration: none;
        }

        .btn-hero-outline:hover {
            background: rgba(255, 255, 255, 0.2);
            border-color: rgba(255, 255, 255, 0.6);
            color: #fff;
            transform: translateY(-2px);
        }

        /* Slider Navigation */
        .hero-nav-arrows {
            position: absolute;
            bottom: 3.5rem;
            right: 2.5rem;
            display: flex;
            gap: 0.75rem;
            z-index: 10;
        }

        .hero-arrow-btn {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            border: 1px solid rgba(255, 255, 255, 0.3);
            background: rgba(255, 255, 255, 0.1);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            backdrop-filter: blur(8px);
        }

        .hero-arrow-btn:hover {
            background: #55B848;
            border-color: #55B848;
            transform: scale(1.1);
        }

        /* Slide Dots */
        .hero-dots {
            position: absolute;
            bottom: 2.2rem;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 0.6rem;
            z-index: 10;
        }

        .hero-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.35);
            cursor: pointer;
            transition: all 0.3s ease;
            border: none;
            padding: 0;
        }

        .hero-dot.active {
            background: #55B848;
            transform: scale(1.4);
        }

        /* Slide counter */
        .hero-counter {
            position: absolute;
            top: 50%;
            right: 2.5rem;
            transform: translateY(-50%);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.4rem;
            z-index: 10;
        }

        .hero-counter-current {
            font-size: 2rem;
            font-weight: 800;
            color: #55B848;
            line-height: 1;
        }

        .hero-counter-line {
            width: 1px;
            height: 40px;
            background: rgba(255,255,255,0.3);
        }

        .hero-counter-total {
            font-size: 0.85rem;
            color: rgba(255,255,255,0.5);
            font-weight: 600;
        }

        /* Progress bar */
        .hero-progress {
            position: absolute;
            bottom: 0;
            left: 0;
            height: 3px;
            background: linear-gradient(90deg, #55B848, #2B499D);
            width: 0%;
            transition: width linear;
            z-index: 10;
        }

        /* Scroll hint */
        .hero-scroll-hint {
            position: absolute;
            bottom: 2.2rem;
            left: 2.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: rgba(255,255,255,0.5);
            font-size: 0.75rem;
            font-weight: 600;
            letter-spacing: 1px;
            text-transform: uppercase;
            z-index: 10;
        }

        .scroll-line {
            width: 30px;
            height: 1px;
            background: rgba(255,255,255,0.35);
        }

        @media (max-width: 768px) {
            .hero-headline { font-size: 2rem; }
            .hero-slide-inner { padding: 0 1.5rem; }
            .hero-counter, .hero-scroll-hint { display: none; }
            .hero-nav-arrows { bottom: 2rem; right: 1.5rem; }
        }

        /* ========== NO-SLIDER FALLBACK ========== */
.hero-static {
            position: relative;
            height: 82vh;
            min-height: 480px;
            max-height: 780px;
            background: linear-gradient(135deg, #080e1c 0%, #0d1b3e 100%);
            display: flex;
            align-items: center;
            overflow: hidden;
            padding: 0;
        }

        .hero-static::before {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(circle at 20% 50%, rgba(85, 184, 72, 0.08) 0%, transparent 55%),
                        radial-gradient(circle at 80% 30%, rgba(43, 73, 157, 0.15) 0%, transparent 50%);
        }

        /* Service cards with images */
        .service-card-img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            border-radius: 12px 12px 0 0;
        }

        .service-card-icon-fallback {
            width: 100%;
            height: 200px;
            background: linear-gradient(135deg, rgba(85,184,72,0.08), rgba(43,73,157,0.08));
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 12px 12px 0 0;
            font-size: 3rem;
            color: #55B848;
        }

        /* Project card image */
        .project-card-img-wrap {
            position: relative;
            height: 200px;
            overflow: hidden;
            border-radius: 12px 12px 0 0;
        }

        .project-card-img-wrap img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .project-card:hover .project-card-img-wrap img {
            transform: scale(1.05);
        }

.project-card-img-fallback {
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(43,73,157,0.12), rgba(85,184,72,0.08));
            display: flex;
            align-items: center;
            justify-content: center;
            color: #2B499D;
            font-size: 2.5rem;
        }

        /* ========== SERVICES CAROUSEL ========== */
        .services-section-header {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            gap: 2rem;
            margin-bottom: 2.5rem;
        }
        .services-section-header .section-title {
            margin-bottom: 0;
        }
        .services-carousel-arrows {
            display: flex;
            align-items: center;
            gap: 0.6rem;
            padding-bottom: 0.3rem;
        }
        [dir="rtl"] .services-carousel-arrows {
            flex-direction: row-reverse;
        }
        .services-carousel-wrap {
            margin: 0 -0.5rem;
        }
.services-carousel {
            display: flex;
            gap: 1.5rem;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            padding: 0.75rem 0.5rem 1.25rem;
            scrollbar-width: thin;
            scrollbar-color: rgba(85,184,72,0.4) transparent;
            -webkit-overflow-scrolling: touch; /* smooth momentum on iOS */
            touch-action: pan-x;               /* horizontal swipe only */
        }
        .services-carousel::-webkit-scrollbar {
            height: 6px;
        }
        .services-carousel::-webkit-scrollbar-thumb {
            background: rgba(85,184,72,0.4);
            border-radius: 10px;
        }
        .services-carousel::-webkit-scrollbar-track {
            background: transparent;
        }
        /* Drag affordance */
        .services-carousel.is-draggable {
            cursor: grab;
        }
        .services-carousel.is-draggable.is-dragging {
            cursor: grabbing;
            scroll-snap-type: none;      /* disable snap while dragging for a fluid feel */
            user-select: none;
            -webkit-user-select: none;
        }
        /* Hide the scrollbar on mobile/tablet for a cleaner, modern look */
        @media (max-width: 991px) {
            .services-carousel {
                scrollbar-width: none;
            }
            .services-carousel::-webkit-scrollbar {
                display: none;
            }
        }
.service-carousel-card {
            flex: 0 0 340px;
            scroll-snap-align: start;
            background: var(--glass-card-bg, #101e30);
            border: 1px solid var(--glass-border, #1e3857);
            border-radius: 16px;
            overflow: hidden;
            text-decoration: none;
            color: var(--text-body, #cbd5e1);
            transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
            display: block;
            cursor: grab; /* hand pointer so desktop users know they can drag */
        }
        .service-carousel-card:hover {
            transform: translateY(-6px);
            border-color: var(--green-primary, #55B848);
            box-shadow: 0 14px 34px rgba(0,0,0,0.25);
            color: var(--text-body, #cbd5e1);
        }
        .service-carousel-card:active {
            cursor: grabbing;
        }
        /* Internal links keep a normal pointer + hover style */
        .service-carousel-card a {
            cursor: pointer;
        }
        .service-carousel-title-link {
            display: block;
            text-decoration: none;
            color: inherit;
        }
        .service-carousel-title-link:hover .service-carousel-title {
            color: var(--green-primary, #55B848);
        }
        .service-carousel-media {
            position: relative;
            height: 180px;
            overflow: hidden;
        }
        .service-carousel-media img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        .service-carousel-card:hover .service-carousel-media img {
            transform: scale(1.06);
        }
        .service-carousel-icon {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, rgba(85,184,72,0.12), rgba(43,73,157,0.12));
            color: var(--green-primary, #55B848);
            font-size: 3.5rem;
        }
        .service-carousel-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(8,14,28,0.55) 0%, transparent 60%);
        }
        .service-carousel-icon-badge {
            position: absolute;
            bottom: 1rem;
            left: 1rem;
            width: 44px;
            height: 44px;
            border-radius: 12px;
            background: var(--green-primary, #55B848);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            box-shadow: 0 6px 16px rgba(85,184,72,0.4);
        }
        .service-carousel-body {
            padding: 1.25rem 1.25rem 1.5rem;
        }
        .service-carousel-title {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--text-heading, #fff);
            margin-bottom: 0.5rem;
            line-height: 1.3;
        }
        .service-carousel-subtext {
            font-size: 0.85rem;
            color: var(--text-muted, #94a3b8);
            margin-bottom: 0.9rem;
            line-height: 1.55;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .service-carousel-link {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            color: var(--green-primary, #55B848);
            font-weight: 700;
            font-size: 0.85rem;
        }
.service-carousel-arrow {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            border: 1px solid var(--glass-card-border-subtle, rgba(43,73,157,0.15));
            background: transparent;
            color: var(--text-muted, #94a3b8);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 0.9rem;
            transition: all 0.3s ease;
            opacity: 0.85;
        }
        .service-carousel-arrow:hover {
            background: rgba(85, 184, 72, 0.1);
            border-color: var(--green-primary, #55B848);
            color: var(--green-primary, #55B848);
            opacity: 1;
            transform: translateY(-1px);
        }
        .service-carousel-arrow:disabled {
            opacity: 0.3;
            pointer-events: none;
        }
        @media (max-width: 768px) {
            .service-carousel-card { flex: 0 0 82%; }
            .services-section-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
            .services-carousel-arrows { align-self: flex-end; margin-top: -2.75rem; }
        }

        /* ========== ABOUT SNIPPET (Legacy of Precision) ========== */
        .about-snippet-section {
            padding: 3.5rem 0;
        }
        .about-snippet-card {
            display: flex;
            background: var(--glass-card-bg, rgba(255,255,255,0.72));
            border: 1px solid var(--glass-card-border-subtle, rgba(43,73,157,0.1));
            border-radius: 24px;
            overflow: hidden;
            box-shadow: var(--glass-shadow);
            backdrop-filter: var(--glass-blur);
            -webkit-backdrop-filter: var(--glass-blur);
        }
        body.dark-mode .about-snippet-card {
            background: rgba(16, 30, 48, 0.8);
            border-color: #1e3857;
            box-shadow: 0 16px 40px -12px rgba(0,0,0,0.5);
        }
        .about-snippet-media {
            position: relative;
            height: 100%;
            min-height: 320px;
            overflow: hidden;
        }
        .about-snippet-media img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
        .about-snippet-badge {
            position: absolute;
            bottom: 1.25rem;
            left: 1.25rem;
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.85rem 1.25rem;
            border-radius: 16px;
            background: rgba(16, 30, 48, 0.82);
            border: 1px solid rgba(255,255,255,0.14);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            color: #fff;
        }
        .about-snippet-badge-num {
            font-size: 1.9rem;
            font-weight: 900;
            line-height: 1;
            color: #55B848;
        }
        .about-snippet-badge-label {
            font-size: 0.72rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            color: rgba(255,255,255,0.85);
            line-height: 1.3;
        }
        .about-snippet-body {
            padding: 2.75rem 3rem;
        }
        .about-snippet-title {
            font-size: 2rem;
            font-weight: 800;
            color: var(--text-heading);
            margin-bottom: 1rem;
            letter-spacing: -0.02em;
        }
        .about-snippet-title span {
            background: linear-gradient(90deg, #55B848, #2B499D);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .about-snippet-text {
            color: var(--text-muted);
            font-size: 1rem;
            line-height: 1.7;
            margin-bottom: 1.75rem;
            max-width: 560px;
        }
.about-snippet-equip-label {
            display: inline-block;
            font-size: 0.78rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--text-muted);
            margin-bottom: 0.9rem;
        }
.about-snippet-equip-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 0.7rem;
            margin-bottom: 1.75rem;
        }
        .snippet-equip {
            display: flex;
            align-items: center;
            gap: 0.6rem;
            padding: 0.7rem 0.85rem;
            border-radius: 12px;
            background: rgba(85, 184, 72, 0.07);
            border: 1px solid rgba(85, 184, 72, 0.18);
            transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
        }
        .snippet-equip:hover {
            transform: translateY(-3px);
            border-color: var(--green-primary, #55B848);
            background: rgba(85, 184, 72, 0.12);
        }
        .snippet-equip i {
            color: var(--green-primary, #55B848);
            font-size: 1rem;
            width: 1.1rem;
            text-align: center;
            flex-shrink: 0;
        }
        .snippet-equip span {
            font-size: 0.82rem;
            font-weight: 700;
            color: var(--text-body);
            line-height: 1.2;
        }
        .about-snippet-btn {
            margin-top: 0.25rem;
        }
@media (max-width: 991px) {
            .about-snippet-body {
                padding: 2rem 1.5rem;
            }
            .about-snippet-equip-grid {
                gap: 0.6rem;
            }
        }
        @media (max-width: 767px) {
            .about-snippet-section {
                padding: 2.5rem 0;
            }
            .about-snippet-card {
                border-radius: 18px;
            }
            .about-snippet-card .row {
                flex-direction: column;
            }
            .about-snippet-card .col-lg-7 {
                width: 100%;
                max-width: 100%;
                flex: 0 0 100%;
            }
            .about-snippet-body {
                padding: 1.75rem 1.25rem;
            }
            .about-snippet-title {
                font-size: 1.6rem;
            }
            .about-snippet-equip-label {
                margin-bottom: 0.75rem;
            }
            .about-snippet-equip-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 0.6rem;
            }
            .snippet-equip {
                padding: 0.65rem 0.7rem;
                gap: 0.5rem;
            }
            .snippet-equip span {
                font-size: 0.78rem;
            }
            .about-snippet-btn {
                width: 100%;
            }
        }
        /* Extra small phones: keep chips readable */
        @media (max-width: 380px) {
            .snippet-equip {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.25rem;
            }
            .snippet-equip i {
                margin-bottom: 0.1rem;
            }
        }
