/* ==========================================================================
   Bitnium AI — Premium Design System
   Color Theme: bitnium.org (Dark Cyber-Green)
   Font: Poppins (from bitnium.org)
   Layout: Aigocy-inspired modular sections
   ========================================================================== */

/* ── 1. CSS CUSTOM PROPERTIES ─────────────────────────────────────────── */

:root {
    /* Colors */
    --bg-dark: #000d02;
    --bg-darker: #000801;
    --bg-section: #001206;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(142, 202, 65, 0.06);
    --green: #8eca41;
    --green-dim: #6f9f30;
    --green-glow: rgba(142, 202, 65, 0.25);
    --green-border: rgba(142, 202, 65, 0.18);
    --green-soft: rgba(142, 202, 65, 0.08);
    --yellow: #f4f082;
    --yellow-dim: #c5c269;
    --yellow-glow: rgba(244, 240, 130, 0.2);
    --yellow-border: rgba(244, 240, 130, 0.2);
    --white: #ffffff;
    --text-primary: #f0f0f0;
    --text-secondary: #b8d4bb;
    --text-muted: #7aad7a;
    --border: rgba(142, 202, 65, 0.12);
    --border-hover: rgba(142, 202, 65, 0.35);
    /* Fonts */
    --font: 'Poppins', sans-serif;
    /* Spacing */
    --section-py: 100px;
    --container-max: 1280px;
    --container-px: 24px;
    /* Radius */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 999px;
    /* Transitions */
    --t-fast: all 0.2s ease;
    --t-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --t-slow: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    /* Shadows */
    --shadow-green: 0 0 30px rgba(142, 202, 65, 0.2), 0 0 60px rgba(142, 202, 65, 0.08);
    --shadow-yellow: 0 0 30px rgba(244, 240, 130, 0.15), 0 0 60px rgba(244, 240, 130, 0.06);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* ── 2. GLOBAL RESET ──────────────────────────────────────────────────── */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: var(--font);
}

/* Scrollbar */

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--green-dim);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--green);
}

/* ── 3. PARTICLE CANVAS ───────────────────────────────────────────────── */

#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ── 4. UTILITIES ─────────────────────────────────────────────────────── */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-px);
    position: relative;
    z-index: 2;
}

.section {
    padding: var(--section-py) 0;
    position: relative;
    z-index: 1;
}

.text-green {
    color: var(--green);
}

.text-yellow {
    color: var(--yellow);
}

.text-center {
    text-align: center;
}

.w-full {
    width: 100%;
}

.section-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--green);
    background: var(--green-soft);
    border: 1px solid var(--green-border);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    font-weight: 700;
    line-height: 1.25;
    color: var(--white);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 680px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .section-desc {
    margin: 0 auto;
}

/* ── 5. BUTTONS ───────────────────────────────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: var(--radius-full);
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--t-smooth);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--green), var(--green-dim));
    color: #001a05;
    border: 1px solid transparent;
    box-shadow: 0 4px 20px rgba(142, 202, 65, 0.35);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #5fff9a, var(--green));
    opacity: 0;
    transition: var(--t-fast);
    z-index: -1;
    border-radius: inherit;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(142, 202, 65, 0.5);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-outline {
    background: transparent;
    color: var(--green);
    border: 1.5px solid var(--green-border);
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    background: var(--green-soft);
    border-color: var(--green);
    transform: translateY(-2px);
    box-shadow: var(--shadow-green);
}

.btn-sm {
    padding: 10px 22px;
    font-size: 0.82rem;
}

.btn-lg {
    padding: 17px 38px;
    font-size: 0.95rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ── 6. NAVIGATION ────────────────────────────────────────────────────── */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--t-smooth);
}

.navbar.scrolled {
    background: rgba(0, 13, 2, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    padding-bottom: 18px;
    position: relative;
}

/* Logo */

.logo {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
    margin-top: 10px;
}

.logo-img {
    height: 68px;
    width: auto;
    object-fit: contain;
    border-radius: 6px;
    transition: var(--t-smooth);
}

.logo:hover .logo-img {
    transform: scale(1.08);
    filter: drop-shadow(0 0 8px var(--green));
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
}

.logo-accent {
    color: var(--green);
    text-shadow: 0 0 12px var(--green);
}

/* Desktop nav */

.nav-links {
    display: flex;
    flex: 0 0 auto;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link {
    padding: 8px 14px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: var(--t-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--green);
    border-radius: 1px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Hamburger */

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    transition: var(--t-fast);
}

.hamburger:hover {
    border-color: var(--green);
}

.ham-bar {
    width: 22px;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 1px;
    transition: var(--t-smooth);
    display: block;
}

.hamburger.open .ham-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background: var(--green);
}

.hamburger.open .ham-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.open .ham-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background: var(--green);
}

/* Mobile Drawer */

.mobile-drawer {
    display: none;
    background: rgba(0, 13, 2, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 20px var(--container-px);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
}

.mobile-drawer.open {
    max-height: 600px;
    display: block;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav-link {
    display: block;
    padding: 12px 16px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    transition: var(--t-fast);
}

.mobile-nav-link:hover {
    color: var(--green);
    background: var(--green-soft);
    border-color: var(--green-border);
}

.mob-cta {
    margin-top: 10px;
}

/* ── 7. HERO SECTION ──────────────────────────────────────────────────── */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, rgba(142, 202, 65, 0.04) 0%, transparent 70%), var(--bg-darker);
    z-index: 1;
}

/* cyber grid pattern overlay */
.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(142, 202, 65, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(142, 202, 65, 0.025) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center center;
    z-index: 0;
    pointer-events: none;
    opacity: 0.8;
}

/* dynamic mouse glow */
.hero-spotlight {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle 350px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(142, 202, 65, 0.09) 0%, rgba(244, 240, 130, 0.02) 50%, transparent 100%);
    z-index: 0;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    padding-top: 130px;
    padding-bottom: 90px;
    flex: 1;
    z-index: 2;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* ---- Hero text animations ---- */
@keyframes hero-fade-down {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-fade-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-text-reveal {
    from { opacity: 0; filter: blur(4px); transform: translateY(24px); }
    to { opacity: 1; filter: blur(0); transform: translateY(0); }
}

@keyframes hero-glow-pulse {
    0%, 100% { text-shadow: 0 0 15px rgba(142, 202, 65, 0.3); }
    50% { text-shadow: 0 0 28px rgba(142, 202, 65, 0.55), 0 0 8px rgba(142, 202, 65, 0.25); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--green-soft);
    border: 1px solid var(--green-border);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--green);
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    opacity: 0;
    animation: hero-fade-down 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    position: relative;
    flex-shrink: 0;
    animation: pulse-anim 2s ease-in-out infinite;
}

.pulse::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--green);
    animation: pulse-ring 2s ease-in-out infinite;
}

@keyframes pulse-anim {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(142, 202, 65, 0.6); }
    50% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(142, 202, 65, 0); }
}

@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

.hero-title {
    font-size: clamp(2.3rem, 4.5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: -1.5px;
    opacity: 0;
    animation: hero-text-reveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.glow-text {
    animation: hero-glow-pulse 4s ease-in-out infinite alternate;
    animation-delay: 1.15s;
}

.hero-desc {
    font-size: 1.02rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
    max-width: 540px;
    opacity: 0;
    animation: hero-fade-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.hero-tech-labels {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 36px;
    opacity: 0;
    animation: hero-fade-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}

.tech-tag-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.tech-tag-badge i {
    font-size: 0.85rem;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
    animation: hero-fade-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

/* ---- Right side: Visual Dashboard System ---- */
.hero-visual-dashboard {
    position: relative;
    width: 100%;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dashboard Orbit rings background */
.dashboard-orbit-wrap {
    position: absolute;
    width: 440px;
    height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.dash-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(142, 202, 65, 0.08);
}

.dash-ring.ring-1 {
    width: 320px;
    height: 320px;
    animation: ring-spin 25s linear infinite;
}

.dash-ring.ring-2 {
    width: 400px;
    height: 400px;
    border-color: rgba(244, 240, 130, 0.05);
    animation: ring-spin 35s linear infinite reverse;
}

.dash-ring.ring-3 {
    width: 460px;
    height: 460px;
    border-style: solid;
    border-color: rgba(142, 202, 65, 0.03);
}

/* Cyber Command terminal widget */
.cyber-terminal {
    width: 380px;
    background: rgba(0, 10, 2, 0.8);
    border: 1px solid var(--green-border);
    border-radius: var(--radius-md);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(142, 202, 65, 0.1);
    backdrop-filter: blur(12px);
    overflow: hidden;
    position: relative;
    z-index: 2;
    animation: float-dashboard-core 6s ease-in-out infinite;
}

.terminal-header {
    background: rgba(142, 202, 65, 0.08);
    border-bottom: 1px solid var(--green-border);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.terminal-dots {
    display: flex;
    gap: 6px;
}

.td-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.td-dot.close { background: #ff5f56; }
.td-dot.minimize { background: #ffbd2e; }
.td-dot.expand { background: #27c93f; }

.terminal-title {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
}

.terminal-status {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 4px;
}

.terminal-body {
    padding: 18px 20px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.78rem;
    line-height: 1.6;
    color: var(--text-secondary);
    min-height: 170px;
    max-height: 220px;
    overflow-y: hidden;
}

.term-line {
    margin-bottom: 6px;
    white-space: nowrap;
}

.term-line.input {
    color: var(--white);
}

.term-line.output {
    color: var(--green);
}

.term-line.active-log {
    color: var(--yellow);
    border-right: 2px solid var(--yellow);
    width: fit-content;
    animation: typing-blink 0.8s steps(1) infinite;
}

@keyframes typing-blink {
    50% { border-color: transparent; }
}

@keyframes float-dashboard-core {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* Floating dashboard metrics badges */
.dash-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 8, 1, 0.9);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    backdrop-filter: blur(8px);
    z-index: 5;
    min-width: 170px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: float-badge-drift ease-in-out infinite alternate;
}

.dash-badge strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--white);
}

.dash-badge span {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.dash-badge i {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.db-1 {
    top: 10%;
    left: -12%;
    animation-name: float-dash-1;
    animation-duration: 4.5s;
}

.db-2 {
    bottom: 12%;
    right: -10%;
    animation-name: float-dash-2;
    animation-duration: 5.5s;
}

.db-3 {
    bottom: -6%;
    left: 2%;
    animation-name: float-dash-3;
    animation-duration: 4.8s;
}

@keyframes float-dash-1 {
    from { transform: translateY(0) translateX(0); }
    to { transform: translateY(-14px) translateX(6px); }
}

@keyframes float-dash-2 {
    from { transform: translateY(0) translateX(0); }
    to { transform: translateY(-8px) translateX(-10px); }
}

@keyframes float-dash-3 {
    from { transform: translateY(0) translateX(0); }
    to { transform: translateY(12px) translateX(4px); }
}

/* Scroll indicator */

.scroll-indicator {
    position: absolute;
    bottom: 20px;
    right: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 1px;
    animation: bounce-slow 2.5s ease-in-out infinite;
}

.scroll-mouse {
    width: 22px;
    height: 34px;
    border-radius: 11px;
    border: 1.5px solid var(--green-border);
    display: flex;
    justify-content: center;
    padding-top: 5px;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: var(--green);
    border-radius: 2px;
    animation: scroll-wheel-anim 2s ease-in-out infinite;
}

@keyframes scroll-wheel-anim {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(10px);
    }
}

@keyframes bounce-slow {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* ── 8. ABOUT SECTION ─────────────────────────────────────────────────── */

.about-section {
    background: linear-gradient(to bottom, var(--bg-darker), var(--bg-section));
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Diagram */

.about-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.about-diagram {
    position: relative;
    width: 380px;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orbit-svg {
    position: absolute;
    width: 100%;
    height: 100%;
    inset: 0;
}

.diag-ring {
    position: absolute;
    border-radius: 50%;
    border-style: dashed;
}

.diag-ring-outer {
    width: 320px;
    height: 320px;
    border: 1.5px dashed rgba(142, 202, 65, 0.2);
    animation: ring-spin 25s linear infinite;
}

.diag-ring-mid {
    width: 200px;
    height: 200px;
    border: 1px dashed rgba(244, 240, 130, 0.15);
    animation: ring-spin 18s linear infinite reverse;
}

.diag-center {
    position: absolute;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(142, 202, 65, 0.15), rgba(142, 202, 65, 0.05));
    border: 1.5px solid var(--green-border);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--green);
    z-index: 5;
    box-shadow: 0 0 30px rgba(142, 202, 65, 0.2);
}

.diag-center i {
    font-size: 1.8rem;
    filter: drop-shadow(0 0 8px var(--green));
}

.diag-center span {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

/* Orbit Nodes */

.orbit-node {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: rgba(0, 13, 2, 0.9);
    border: 1px solid var(--border);
    padding: 10px 14px;
    border-radius: var(--radius-md);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-secondary);
    backdrop-filter: blur(8px);
    transition: var(--t-smooth);
}

.orbit-node:hover {
    border-color: var(--green);
    color: var(--green);
    box-shadow: var(--shadow-green);
}

.orbit-node i {
    font-size: 1rem;
    color: var(--green);
}

.orbit-node-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.orbit-node-2 {
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
}

.orbit-node-3 {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(50%);
}

.orbit-node-4 {
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
}

/* Stat badges */

.about-stat-badge {
    position: absolute;
    background: rgba(0, 13, 2, 0.9);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    text-align: center;
    backdrop-filter: blur(12px);
    z-index: 10;
}

.stat-b1 {
    top: 10px;
    right: -30px;
}

.stat-b2 {
    bottom: 10px;
    left: -30px;
}

.stat-num {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--green);
    text-shadow: 0 0 12px var(--green);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* About Content */

.about-content .section-tag {
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--yellow);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 30px 0;
}

.about-feature-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    transition: var(--t-smooth);
}

.about-feature-card:hover {
    background: var(--green-soft);
    border-color: var(--green-border);
    transform: translateX(6px);
}

.feature-icon {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-sm);
    background: var(--green-soft);
    border: 1px solid var(--green-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.feature-icon-yellow {
    background: rgba(244, 240, 130, 0.08);
    border-color: var(--yellow-border);
    color: var(--yellow);
}

.feature-text h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 3px;
}

.feature-text p {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.about-closing {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.8;
}

/* ── 9. TECHNOLOGIES ──────────────────────────────────────────────────── */

.tech-section {
    background: var(--bg-darker);
    overflow: hidden;
}

/* Scrolling strip */

.tech-strip-wrapper {
    overflow: hidden;
    margin-bottom: 60px;
    padding: 0;
    position: relative;
}

.tech-strip-wrapper::before,
.tech-strip-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 200px;
    z-index: 2;
    pointer-events: none;
}

.tech-strip-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-darker), transparent);
}

.tech-strip-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-darker), transparent);
}

.tech-strip {
    display: flex;
    width: 100%;
    overflow: hidden;
}

.tech-strip-inner {
    display: flex;
    gap: 16px;
    animation: tech-scroll 25s linear infinite;
    width: max-content;
}

.tech-strip-inner:hover {
    animation-play-state: paused;
}

@keyframes tech-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.tech-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    padding: 10px 22px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
    transition: var(--t-fast);
    cursor: default;
}

.tech-pill i {
    color: var(--green);
    font-size: 1rem;
}

.tech-pill:hover {
    border-color: var(--green);
    color: var(--green);
    background: var(--green-soft);
}

/* Tech Cards Grid */

.tech-cards-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.tech-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px 16px;
    transition: var(--t-smooth);
    cursor: default;
}

.tech-card i {
    font-size: 2rem;
    color: var(--green);
    transition: var(--t-smooth);
}

.tech-card span {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
}

.tech-card:hover {
    background: var(--green-soft);
    border-color: var(--green);
    transform: translateY(-6px);
    box-shadow: var(--shadow-green);
}

.tech-card:hover i {
    filter: drop-shadow(0 0 10px var(--green));
    transform: scale(1.1);
}

/* ── 10. SERVICES ─────────────────────────────────────────────────────── */

.services-section {
    background: var(--bg-section);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.service-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    overflow: hidden;
    transition: var(--t-smooth);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--green), transparent);
    opacity: 0;
    transition: var(--t-smooth);
}

.service-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--green-border);
    transform: translateY(-8px);
    box-shadow: var(--shadow-green), var(--shadow-card);
}

.service-card:hover::before {
    opacity: 1;
}

.card-glow {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(142, 202, 65, 0.15), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transition: var(--t-smooth);
}

.card-glow-yellow {
    background: radial-gradient(circle, rgba(244, 240, 130, 0.1), transparent 70%);
}

.service-card:hover .card-glow {
    bottom: -20px;
    right: -20px;
    width: 160px;
    height: 160px;
}

.service-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(142, 202, 65, 0.12);
    line-height: 1;
    font-family: var(--font);
}

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: var(--green-soft);
    border: 1px solid var(--green-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    font-size: 1.25rem;
    transition: var(--t-smooth);
}

.service-icon-yellow {
    background: rgba(244, 240, 130, 0.08);
    border-color: var(--yellow-border);
    color: var(--yellow);
}

.service-card:hover .service-icon {
    box-shadow: 0 0 20px rgba(142, 202, 65, 0.3);
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
}

.service-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
    flex: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--green);
    transition: var(--t-fast);
}

.service-link:hover {
    gap: 10px;
}

/* ── 11. WHY CHOOSE US ────────────────────────────────────────────────── */

.why-section {
    background: var(--bg-darker);
}

.why-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.why-reasons {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 32px 0;
}

.why-reason-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: var(--t-smooth);
}

.why-reason-item:hover {
    background: var(--green-soft);
    border-color: var(--green-border);
    transform: translateX(6px);
}

.why-reason-icon {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-sm);
    background: var(--green-soft);
    border: 1px solid var(--green-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    font-size: 1rem;
    flex-shrink: 0;
}

.why-icon-yellow {
    background: rgba(244, 240, 130, 0.08);
    border-color: var(--yellow-border);
    color: var(--yellow);
}

.why-reason-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
}

.why-reason-item p {
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Why Visual */

.why-visual-inner {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.why-img-circle {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-img-ring {
    position: absolute;
    border-radius: 50%;
    border-style: dashed;
}

.why-img-ring.ring-1 {
    width: 200px;
    height: 200px;
    border: 1.5px dashed rgba(142, 202, 65, 0.25);
    animation: ring-spin 20s linear infinite;
}

.why-img-ring.ring-2 {
    width: 260px;
    height: 260px;
    border: 1px dashed rgba(244, 240, 130, 0.15);
    animation: ring-spin 28s linear infinite reverse;
}

.why-center-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green-soft), transparent);
    border: 2px solid var(--green-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    font-size: 2.5rem;
    box-shadow: var(--shadow-green);
    z-index: 2;
}

.why-feature-badges {
    position: absolute;
    inset: 0;
}

.why-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 13, 2, 0.92);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    padding: 10px 18px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
    backdrop-filter: blur(8px);
}

.why-badge i {
    color: var(--green);
}

.badge-1 {
    top: 10%;
    left: 0;
    animation: float-1 4s ease-in-out infinite alternate;
}

.badge-2 {
    top: 50%;
    right: -10px;
    transform: translateY(-50%);
    animation: float-2 5s ease-in-out infinite alternate;
}

.badge-3 {
    bottom: 10%;
    left: 0;
    animation: float-3 4.5s ease-in-out infinite alternate;
}

/* ── 12. STATS SECTION ────────────────────────────────────────────────── */

.stats-section {
    background: linear-gradient(135deg, rgba(142, 202, 65, 0.06) 0%, rgba(0, 13, 2, 1) 40%, rgba(244, 240, 130, 0.04) 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
    position: relative;
    padding: 30px 20px;
}

.stat-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: var(--border);
}

.stat-item:last-child::after {
    display: none;
}

.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--green-soft);
    border: 1px solid var(--green-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    font-size: 1.2rem;
    margin: 0 auto 16px;
}

.stat-icon-yellow {
    background: rgba(244, 240, 130, 0.08);
    border-color: var(--yellow-border);
    color: var(--yellow);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--green);
    text-shadow: 0 0 20px rgba(142, 202, 65, 0.4);
    display: inline;
    line-height: 1;
}

.stat-suffix {
    font-size: 2rem;
    font-weight: 800;
    color: var(--yellow);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-top: 8px;
}

/* ── 13. PROCESS SECTION ──────────────────────────────────────────────── */

.process-section {
    background: var(--bg-section);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    margin-top: 20px;
}

.process-step {
    position: relative;
}

.step-connector {
    display: none;
}

/* On large screens, show connector line between steps */

@media (min-width: 1024px) {
    .process-grid {
        align-items: start;
    }
    .process-step {
        padding-top: 40px;
    }
    .step-connector {
        display: block;
        position: absolute;
        top: 55px;
        right: -12px;
        height: 2px;
        width: 24px;
        background: linear-gradient(to right, var(--green-border), transparent);
        z-index: 1;
    }
    .process-step:last-child .step-connector {
        display: none;
    }
}

.step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--green-soft);
    border: 2px solid var(--green);
    font-size: 1rem;
    font-weight: 800;
    color: var(--green);
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(142, 202, 65, 0.25);
    position: relative;
    z-index: 2;
}

.step-badge-yellow {
    background: rgba(244, 240, 130, 0.08);
    border-color: var(--yellow);
    color: var(--yellow);
    box-shadow: 0 0 20px rgba(244, 240, 130, 0.2);
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: var(--t-smooth);
}

.step-card:hover {
    background: var(--green-soft);
    border-color: var(--green-border);
    transform: translateY(-6px);
    box-shadow: var(--shadow-green);
}

.step-card-alt {
    background: rgba(244, 240, 130, 0.03);
    border-color: rgba(244, 240, 130, 0.12);
}

.step-card-alt:hover {
    background: rgba(244, 240, 130, 0.06);
    border-color: var(--yellow-border);
    box-shadow: var(--shadow-yellow);
}

.step-icon {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-sm);
    background: var(--green-soft);
    border: 1px solid var(--green-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    font-size: 1.1rem;
}

.step-icon-yellow {
    background: rgba(244, 240, 130, 0.08);
    border-color: var(--yellow-border);
    color: var(--yellow);
}

.step-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
}

.step-card p {
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ── 14. CLIENTS SECTION ──────────────────────────────────────────────── */

.clients-section {
    padding: 60px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-darker);
}

.clients-tagline {
    text-align: center;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.clients-strip {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.client-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px 24px;
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 600;
    transition: var(--t-smooth);
}

.client-logo i {
    font-size: 1.3rem;
    color: rgba(142, 202, 65, 0.5);
}

.client-logo:hover {
    border-color: var(--green);
    color: var(--green);
    transform: translateY(-4px);
    box-shadow: var(--shadow-green);
}

.client-logo:hover i {
    color: var(--green);
}

/* ── 15. TESTIMONIALS SECTION ─────────────────────────────────────────── */

.testimonials-section {
    background: var(--bg-section);
}

.testimonials-header {
    text-align: center;
    margin-bottom: 60px;
}

.rating-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(244, 240, 130, 0.07);
    border: 1px solid var(--yellow-border);
    border-radius: var(--radius-full);
    padding: 8px 18px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--yellow);
}

.rating-badge.rating-green {
    background: var(--green-soft);
    border-color: var(--green-border);
    color: var(--green);
}

.rating-badge i {
    font-size: 0.85rem;
}

/* Testimonials slider */

.testimonials-slider-wrapper {
    position: relative;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 16px);
    width: calc(33.333% - 16px);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: var(--t-smooth);
}

.testimonial-card:hover {
    border-color: var(--green-border);
    transform: translateY(-4px);
    box-shadow: var(--shadow-green);
    background: var(--bg-card-hover);
}

.quote-icon {
    font-size: 1.8rem;
    color: rgba(142, 202, 65, 0.3);
    line-height: 1;
}

.testimonial-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.8;
    flex: 1;
    font-style: italic;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testi-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 800;
    color: #001a05;
    flex-shrink: 0;
}

.testi-author strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--white);
}

.testi-author span {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.testi-stars {
    color: var(--yellow);
    font-size: 0.8rem;
}

/* Controls */

.testi-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.testi-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--green-border);
    background: var(--bg-card);
    color: var(--green);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--t-smooth);
}

.testi-btn:hover {
    background: var(--green);
    color: #001a05;
    border-color: var(--green);
    box-shadow: var(--shadow-green);
}

.testi-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.testi-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    cursor: pointer;
    transition: var(--t-smooth);
}

.testi-dot.active {
    background: var(--green);
    width: 20px;
    border-radius: 4px;
    box-shadow: 0 0 6px var(--green);
}

/* ── 16. CTA BANNER ───────────────────────────────────────────────────── */

.cta-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 50%, rgba(142, 202, 65, 0.1) 0%, var(--bg-dark) 70%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(142, 202, 65, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.cta-container {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 30px;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.cta-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── 17. CONTACT SECTION ──────────────────────────────────────────────── */

.contact-section {
    background: var(--bg-section);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 30px 0;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: var(--t-fast);
}

.contact-method:hover {
    border-color: var(--green-border);
    background: var(--green-soft);
}

.contact-method-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: var(--green-soft);
    border: 1px solid var(--green-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-icon-yellow {
    background: rgba(244, 240, 130, 0.08);
    border-color: var(--yellow-border);
    color: var(--yellow);
}

.contact-method strong {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 3px;
}

.contact-method p {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.contact-social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Social Buttons */

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid var(--green-border);
    background: var(--green-soft);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: var(--t-smooth);
}

.social-btn:hover {
    background: var(--green);
    color: #001a05;
    border-color: var(--green);
    transform: translateY(-3px);
    box-shadow: var(--shadow-green);
}

.social-btn-yellow {
    border-color: var(--yellow-border);
    background: rgba(244, 240, 130, 0.08);
    color: var(--yellow);
}

.social-btn-yellow:hover {
    background: var(--yellow);
    color: #001a05;
    border-color: var(--yellow);
    box-shadow: var(--shadow-yellow);
}

/* Contact Form */

.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

.input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrap i {
    position: absolute;
    left: 14px;
    color: var(--text-muted);
    font-size: 0.9rem;
    pointer-events: none;
    z-index: 1;
}

.textarea-i {
    top: 14px;
    align-self: flex-start;
}

.input-wrap input,
.input-wrap select,
.input-wrap textarea {
    width: 100%;
    padding: 12px 14px 12px 42px;
    background: rgba(0, 13, 2, 0.7);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 0.88rem;
    transition: var(--t-fast);
    outline: none;
    appearance: none;
}

.input-wrap select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2339ff7e' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.input-wrap select option {
    background: var(--bg-dark);
    color: var(--text-primary);
}

.input-wrap textarea {
    resize: vertical;
    min-height: 130px;
    padding-top: 14px;
    vertical-align: top;
}

.input-wrap input:focus,
.input-wrap select:focus,
.input-wrap textarea:focus {
    border-color: var(--green);
    background: rgba(142, 202, 65, 0.03);
    box-shadow: 0 0 0 3px rgba(142, 202, 65, 0.1);
}

.input-wrap input::placeholder,
.input-wrap textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.form-feedback {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    display: none;
    animation: fade-in 0.3s ease;
}

.form-feedback.success {
    background: rgba(142, 202, 65, 0.1);
    border: 1px solid var(--green-border);
    color: var(--green);
    display: block;
}

.form-feedback.error {
    background: rgba(255, 60, 60, 0.1);
    border: 1px solid rgba(255, 60, 60, 0.3);
    color: #ff6b6b;
    display: block;
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── 18. FOOTER ───────────────────────────────────────────────────────── */

.footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

/* Footer Marquee */

.footer-marquee {
    background: var(--green);
    overflow: hidden;
    padding: 12px 0;
}

.marquee-inner {
    display: flex;
    white-space: nowrap;
    animation: marquee-scroll 20s linear infinite;
}

.marquee-inner span {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #001a05;
    padding-right: 20px;
}

@keyframes marquee-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Footer Grid */

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
    gap: 50px;
    padding-top: 70px;
    padding-bottom: 60px;
}

.footer-col-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--green);
    border-radius: 1px;
}

/* Brand col */

.footer-logo {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 18px;
}

.logo-img-sm {
    height: 56px;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
    transition: var(--t-smooth);
}

.footer-logo:hover .logo-img-sm {
    transform: scale(1.08);
    filter: drop-shadow(0 0 8px var(--green));
}

.footer-brand-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 22px;
}

.footer-social {
    display: flex;
    gap: 8px;
}

/* Footer Links */

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: var(--t-fast);
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-links a::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--green-border);
    flex-shrink: 0;
    transition: var(--t-fast);
}

.footer-links a:hover {
    color: var(--green);
    padding-left: 4px;
}

.footer-links a:hover::before {
    background: var(--green);
}

/* Footer Contact */

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-contact li i {
    color: var(--green);
    font-size: 0.85rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Newsletter */

.footer-newsletter {
    margin-top: 24px;
}

.footer-newsletter h5 {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.newsletter-form {
    display: flex;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    overflow: hidden;
    background: rgba(0, 13, 2, 0.5);
}

.newsletter-form input {
    flex: 1;
    padding: 10px 16px;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 0.82rem;
}

.newsletter-form input::placeholder {
    color: var(--text-muted);
}

.newsletter-form button {
    width: 40px;
    height: 40px;
    background: var(--green);
    color: #001a05;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: var(--t-fast);
}

.newsletter-form button:hover {
    background: var(--green-dim);
}

.newsletter-feedback {
    font-size: 0.78rem;
    color: var(--green);
    margin-top: 8px;
    display: none;
}

/* Footer Bottom */

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 20px 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom-inner p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: var(--t-fast);
}

.footer-bottom-links a:hover {
    color: var(--green);
}

/* ── 19. SCROLL-TO-TOP BUTTON ─────────────────────────────────────────── */

.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--green);
    color: #001a05;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: var(--t-smooth);
    box-shadow: 0 4px 20px rgba(142, 202, 65, 0.4);
}

.scroll-top-btn.visible {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(142, 202, 65, 0.5);
}

/* ── 20. EXPERTISE SECTION ────────────────────────────────────────────── */

/* ---- Keyframes ---- */
@keyframes exp-card-in {
    from {
        opacity: 0;
        transform: translateY(36px) scale(0.97);
        filter: blur(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes exp-shimmer {
    0%   { transform: translateX(-120%) skewX(-15deg); }
    100% { transform: translateX(220%)  skewX(-15deg); }
}

@keyframes exp-icon-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(142, 202, 65, 0); }
    50%       { box-shadow: 0 0 0 6px rgba(142, 202, 65, 0.12); }
}

@keyframes exp-border-scan {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes exp-bg-drift {
    0%   { transform: translate(0, 0)   scale(1); }
    50%  { transform: translate(10px, -8px) scale(1.08); }
    100% { transform: translate(0, 0)   scale(1); }
}

/* ---- Section ---- */
.expertise-section {
    background: linear-gradient(to bottom, var(--bg-section), var(--bg-darker));
    overflow: hidden;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 10px;
}

/* ---- Card base ---- */
.expertise-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    position: relative;
    overflow: hidden;
    cursor: default;

    /* smooth hover transitions */
    transition:
        border-color 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
        transform    0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
        box-shadow   0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ---- Ambient floating glow behind content ---- */
.expertise-card::after {
    content: '';
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(142, 202, 65, 0.08) 0%, transparent 70%);
    bottom: -40px;
    right: -40px;
    pointer-events: none;
    animation: exp-bg-drift 8s ease-in-out infinite;
}

/* stagger per card */
.expertise-card:nth-child(2)::after { animation-delay: -2s; }
.expertise-card:nth-child(3)::after { animation-delay: -4s; }
.expertise-card:nth-child(4)::after { animation-delay: -6s; }
.expertise-card:nth-child(5)::after { animation-delay: -1s; }
.expertise-card:nth-child(6)::after { animation-delay: -3s; }
.expertise-card:nth-child(7)::after { animation-delay: -5s; }
.expertise-card:nth-child(8)::after { animation-delay: -7s; }

/* ---- Green overlay on hover ---- */
.expertise-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(142, 202, 65, 0.06) 0%, transparent 55%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
}

/* ---- Shimmer streak on hover ---- */
.expertise-card .exp-shimmer {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        105deg,
        transparent 20%,
        rgba(142, 202, 65, 0.08) 50%,
        transparent 80%
    );
    pointer-events: none;
    z-index: 1;
    transform: translateX(-120%) skewX(-15deg);
    transition: none;
}

.expertise-card:hover .exp-shimmer {
    animation: exp-shimmer 0.65s ease forwards;
}

/* Make inner content sit above pseudo-elements */
.expertise-card > *:not(.exp-shimmer) {
    position: relative;
    z-index: 2;
}

/* ---- Hover state ---- */
.expertise-card:hover {
    border-color: rgba(142, 202, 65, 0.35);
    transform: translateY(-6px) scale(1.015);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(142, 202, 65, 0.2),
        0 0 30px rgba(142, 202, 65, 0.06);
}

.expertise-card:hover::before { opacity: 1; }

/* ---- Staggered entrance animation (triggered when JS adds .visible) ---- */
body.js-ready .expertise-card {
    opacity: 0;
    transform: translateY(36px) scale(0.97);
    filter: blur(4px);
    transition:
        opacity     0.6s cubic-bezier(0.16, 1, 0.3, 1),
        transform   0.6s cubic-bezier(0.16, 1, 0.3, 1),
        filter      0.6s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.4s ease,
        box-shadow   0.4s ease;
}

body.js-ready .expertise-card.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* individual stagger delays */
body.js-ready .expertise-card:nth-child(1) { transition-delay: 0.05s; }
body.js-ready .expertise-card:nth-child(2) { transition-delay: 0.12s; }
body.js-ready .expertise-card:nth-child(3) { transition-delay: 0.19s; }
body.js-ready .expertise-card:nth-child(4) { transition-delay: 0.26s; }
body.js-ready .expertise-card:nth-child(5) { transition-delay: 0.33s; }
body.js-ready .expertise-card:nth-child(6) { transition-delay: 0.40s; }
body.js-ready .expertise-card:nth-child(7) { transition-delay: 0.47s; }
body.js-ready .expertise-card:nth-child(8) { transition-delay: 0.54s; }

/* ---- Icon ---- */
.expertise-icon {
    width: 48px;
    height: 48px;
    background: var(--green-soft);
    border: 1px solid var(--green-border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--t-smooth);
    animation: exp-icon-pulse 3s ease-in-out infinite;
}

/* stagger icon pulses */
.expertise-card:nth-child(2) .expertise-icon { animation-delay: 0.4s; }
.expertise-card:nth-child(3) .expertise-icon { animation-delay: 0.8s; }
.expertise-card:nth-child(4) .expertise-icon { animation-delay: 1.2s; }
.expertise-card:nth-child(5) .expertise-icon { animation-delay: 1.6s; }
.expertise-card:nth-child(6) .expertise-icon { animation-delay: 2.0s; }
.expertise-card:nth-child(7) .expertise-icon { animation-delay: 2.4s; }
.expertise-card:nth-child(8) .expertise-icon { animation-delay: 2.8s; }

.expertise-icon i {
    font-size: 1.15rem;
    color: var(--green);
    filter: drop-shadow(0 0 5px rgba(142, 202, 65, 0.6));
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
}

.expertise-card:hover .expertise-icon {
    background: rgba(142, 202, 65, 0.15);
    border-color: var(--green);
    box-shadow: 0 0 18px rgba(142, 202, 65, 0.3);
    animation: none;
}

.expertise-card:hover .expertise-icon i {
    transform: scale(1.2) rotate(-8deg);
    filter: drop-shadow(0 0 10px rgba(142, 202, 65, 0.9));
}

/* ---- Text ---- */
.expertise-card h3 {
    font-size: 0.97rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.4;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.expertise-card:hover h3 {
    color: var(--green);
}

.expertise-card p {
    font-size: 0.83rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin: 0;
    transition: color 0.3s ease;
}

.expertise-card:hover p {
    color: var(--text-primary);
}

/* ── 21. SCROLL REVEAL ANIMATIONS ─────────────────────────────────────── */
/* Progressive enhancement: elements visible by default.
   Only animate when JS has successfully initialised (body.js-ready). */

body.js-ready .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

body.js-ready .reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

body.js-ready .reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

body.js-ready .reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

/* ── 21. RESPONSIVE ───────────────────────────────────────────────────── */

/* Large desktop: 1200px */

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .tech-cards-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet: 1024px */

@media (max-width: 1024px) {
    :root {
        --section-py: 80px;
    }
    .nav-container {
        padding-top: 12px;
        padding-bottom: 12px;
    }
    .logo {
        margin-top: 0;
    }
    .logo-img {
        height: 48px;
    }
    .logo-img-sm {
        height: 44px;
    }
    .nav-links {
        position: relative;
        left: auto;
        transform: none;
        z-index: auto;
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .mobile-drawer {
        display: block;
    }
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding-top: 110px;
        padding-bottom: 60px;
    }
    .hero-content {
        align-items: center;
    }
    .hero-tech-labels {
        justify-content: center;
    }
    .hero-visual-dashboard {
        display: none;
    }
    .hero-btns {
        justify-content: center;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .about-visual {
        display: none;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tech-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .why-grid {
        grid-template-columns: 1fr;
    }
    .why-visual {
        display: none;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-item::after {
        display: none;
    }
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .testimonial-card {
        flex: 0 0 calc(50% - 12px);
        width: calc(50% - 12px);
    }
}

/* Mobile: 768px */

@media (max-width: 768px) {
    :root {
        --section-py: 60px;
    }
    .nav-container {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .logo-img {
        height: 40px;
    }
    .logo-img-sm {
        height: 36px;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .tech-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    .process-grid {
        grid-template-columns: 1fr;
    }
    .form-row-2 {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
    .testimonial-card {
        flex: 0 0 90%;
        width: 90%;
    }
    .testimonials-track {
        scroll-snap-type: x mandatory;
    }
    .testimonial-card {
        scroll-snap-align: start;
    }
    .hero-container {
        padding-top: 100px;
        padding-bottom: 50px;
    }
    .hero-title {
        font-size: 2rem;
    }
    .section-title {
        font-size: 1.7rem;
    }
    .cta-title {
        font-size: 1.8rem;
    }
    .cta-btns {
        flex-direction: column;
        align-items: center;
    }
    .scroll-indicator {
        display: none;
    }
    .hero-controls {
        bottom: 20px;
    }
    .contact-form-wrapper {
        padding: 24px 20px;
    }
}

/* Small mobile: 480px */

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: clamp(1.6rem, 6vw, 2.1rem);
        line-height: 1.25;
    }
    .hero-desc {
        font-size: 0.92rem;
    }
    .section-title {
        font-size: 1.45rem;
    }
    .hero-btns {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-btns .btn {
        justify-content: center;
    }
    .tech-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .clients-strip {
        flex-direction: column;
        align-items: stretch;
    }
    .footer-bottom-links {
        justify-content: center;
        gap: 15px;
    }
}