/* ============================================
   HOW IT WORKS — Futuristic/Cyber Stylesheet
   ============================================ */

:root {
    --bg-body: linear-gradient(135deg, #ffedd5 0%, #bae6fd 50%, #dcfce7 100%);
    --bg-white: #ffffff;
    --bg-dark: #022c22;
    --bg-hero: linear-gradient(135deg, #022c22 0%, #064e3b 35%, #047857 70%, #059669 100%);
    --accent: #059669;
    --accent-light: #34d399;
    --accent-lighter: #d1fae5;
    --accent-pale: #ecfdf5;
    --accent-dark: #047857;
    --primary: #059669;
    --primary-dark: #047857;
    --primary-light: #34d399;
    --text-dark: #0f172a;
    --text-body: #475569;
    --text-muted: #94a3b8;
    --text-white: #ffffff;
    --border-light: #e2e8f0;
    --glass-bg: #ffffff;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Inter', sans-serif;
    --neon-glow: 0 0 10px rgba(5, 150, 105, 0.1), 0 0 20px rgba(5, 150, 105, 0.05);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { 
    scroll-behavior: smooth; 
    -webkit-font-smoothing: antialiased; 
    font-size: clamp(14px, 1.2vw + 0.5rem, 18px); 
    min-height: 100vh; 
    background: linear-gradient(
        135deg,
        hsl(calc(30 + var(--scroll-p, 0) * 120), 85%, 93%) 0%,
        hsl(calc(195 + var(--scroll-p, 0) * 80), 80%, 91%) 50%,
        hsl(calc(140 + var(--scroll-p, 0) * 110), 75%, 93%) 100%
    ) !important; 
    background-attachment: fixed !important; 
}

.hero-banner h1,
.hero-title,
.section-title,
.step-title,
.sidebar-title,
.logo-text h1 {
    background: linear-gradient(
        135deg,
        hsl(calc(15 + var(--scroll-p, 0) * 160), 90%, 25%) 0%,
        hsl(calc(160 + var(--scroll-p, 0) * 140), 85%, 35%) 100%
    ) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    transition: background 0.1s ease-out;
}
body { font-family: var(--font); background: transparent; color: var(--text-body); line-height: 1.6; overflow-x: hidden; min-height: 100vh; }
a { color: inherit; text-decoration: none; } ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.page-container { width: min(1280px, 92%); margin: 0 auto; position: relative; z-index: 2; padding: 0 20px; }
.nav-container { width: min(1340px, 94%); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; }

/* NAVBAR */
.page-header { 
    position: fixed;
    top: 20px; left: 0; right: 0;
    z-index: 100;
    margin: 0 auto;
    width: 96%; max-width: 1400px; height: 90px; transition: all 0.3s ease;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(1px) url(#lg-filter) blur(2px) saturate(1.5) brightness(1.1);
    -webkit-backdrop-filter: blur(8px) saturate(1.8) brightness(1.15) contrast(1.05);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.15),
        inset 1.5px 1.5px 0 rgba(255, 255, 255, 0.5),
        inset 0 0 12px rgba(255, 255, 255, 0.2),
        0 8px 32px rgba(0, 0, 0, 0.2);
    border-bottom: none;
    padding: 0;
 }
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}
.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
 flex-direction: column; align-items: center; justify-content: center; gap: 0.5mm; padding-top: 4px; }
.logo-text {
    display: flex;
    flex-direction: column;
}
.logo-text h1 {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-white);
}
.logo-text p {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}
.main-nav ul {

    
    background: transparent;
    border: 1px solid #1ba104;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 6px 16px;
    border-radius: 8px;
    box-shadow: none;


    display: flex;
    gap: 0.5rem;
    align-items: center; 
    

}
.main-nav a {
    color: #013220; text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
    
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.4rem 0.7rem; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); display: inline-block;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
}
.main-nav a:hover, .main-nav a.nav-active {
  color: #000000;
  background: transparent !important;
  box-shadow: none !important;
  transform: translateY(-2px);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* MOBILE MENU */
.mobile-menu-btn { display: none; color: #0f172a; padding: 4px; }
@media (max-width: 960px) {
    .mobile-menu-btn { display: block; margin-left: auto; }
    .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; 
      border-radius: 16px;
      background: rgba(255, 255, 255, 0.65);
      backdrop-filter: blur(24px) saturate(180%);
      -webkit-backdrop-filter: blur(24px) saturate(180%);
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
      border: 1px solid rgba(255, 255, 255, 0.4);
      margin-top: 10px;
      margin-bottom: 20px;
      width: 96%;
      left: 2%;
 border-bottom: 1px solid var(--border-light); padding: 20px; box-shadow: 0 10px 25px rgba(0,0,0,0.8); z-index: 100; }
    .main-nav.show, .main-nav.active { display: block; }
    .main-nav ul { flex-direction: column; align-items: stretch; gap: 15px; }
    .main-nav a { display: block; width: 100%; text-align: left; padding: 12px; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);  }
}

/* SECTION TYPOGRAPHY */
.section-heading { font-size: clamp(2rem, 5vw, 2.5rem); font-weight: 900; color: var(--text-dark); text-align: center; margin-bottom: 12px; letter-spacing: -0.5px; text-transform: uppercase; }
.section-subheading { text-align: center; color: var(--primary); margin-bottom: 64px; font-size: 1.1rem; font-weight: 500; letter-spacing: 1px; }


/* ===== HERO BANNER ===== */
.hero-banner { 
    background: transparent; 
    position: relative; 
    overflow: hidden; 
    padding: 150px 0 80px; 
    text-align: center; 
}
.cyber-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(14, 165, 233, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14, 165, 233, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center bottom;
    transform: perspective(500px) rotateX(60deg) scale(2);
    transform-origin: bottom center;
    opacity: 0.6;
}
.hero-content { position: relative; z-index: 2; }
.glitch-text {
    font-size: clamp(1.6rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--text-white);
    margin-bottom: 16px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}
.hero-subtitle { font-size: clamp(0.9rem, 2vw, 1.15rem); color: var(--primary-light); max-width: 600px; margin: 0 auto 24px; font-family: monospace; letter-spacing: 0.5px; }
.hero-breadcrumb { font-size: 0.75rem; color: var(--text-muted); display: flex; justify-content: center; align-items: center; gap: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.hero-breadcrumb a { transition: color var(--transition); }
.hero-breadcrumb a:hover { color: var(--primary); text-shadow: var(--neon-glow); }
.hero-breadcrumb .current { color: var(--primary); }
.cyber-arrow { color: var(--accent); }

/* ===== JOURNEY STEPS (CIRCUIT BOARD) ===== */
.journey-section { padding: 100px 0; background: var(--bg-body); position: relative; }
.steps-grid { position: relative; max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 64px; }

/* The Glowing Circuit Line */
.steps-grid::before { 
    content: ''; 
    position: absolute; 
    top: 0; 
    bottom: 0; 
    left: 50%; 
    width: 2px; 
    background: linear-gradient(to bottom, transparent, var(--primary), var(--accent), transparent); 
    transform: translateX(-50%); 
    z-index: 0;
    box-shadow: var(--neon-glow);
}

.step-card { 
    width: calc(50% - 60px); 
    background: var(--glass-bg); 
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm); 
    padding: 32px; 
    text-align: left; 
    position: relative; 
    z-index: 1; 
    transition: all 0.4s ease; 
    opacity: 0; 
}
.step-card:nth-child(odd) { align-self: flex-start; transform: translateX(-30px); border-right-color: var(--primary); }
.step-card:nth-child(even) { align-self: flex-end; transform: translateX(30px); border-left-color: var(--primary); }

.step-card.visible { opacity: 1; transform: translate(0, 0); }
.step-card.visible:hover { 
    background: rgba(14, 165, 233, 0.08);
    border-color: var(--primary); 
    box-shadow: 0 0 30px rgba(14, 165, 233, 0.15), inset 0 0 20px rgba(14, 165, 233, 0.05); 
    transform: translateY(-5px); 
}

/* Glowing Nodes */
.step-icon { 
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px; 
    height: 50px; 
    background: var(--bg-body);
    border: 2px solid var(--primary);
    box-shadow: var(--neon-glow);
    border-radius: 50%; 
    display: grid; 
    place-items: center; 
    color: var(--primary); 
    transition: all 0.4s ease; 
    z-index: 2;
}
.step-card:nth-child(odd) .step-icon { right: -85px; }
.step-card:nth-child(even) .step-icon { left: -85px; }
.step-card:hover .step-icon { transform: translateY(-50%) scale(1.2); box-shadow: 0 0 20px var(--primary), inset 0 0 10px var(--primary); color: #fff; background: var(--primary); }
.step-icon svg { width: 20px; height: 20px; }

.step-number { font-size: 0.8rem; font-weight: 800; color: var(--accent); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 2px; font-family: monospace; }
.step-card h3 { font-size: 1.4rem; font-weight: 700; color: var(--text-dark); margin-bottom: 12px; letter-spacing: 0.5px; }
.step-card p { font-size: 0.95rem; color: var(--text-body); line-height: 1.6; }

/* ===== OUR GOAL (HOLOGRAPHIC) ===== */
.goal-section { padding: 40px 0 100px; position: relative; }
.goal-section::before {
    content: ''; position: absolute; inset: 0; background: radial-gradient(circle at center, rgba(168, 85, 247, 0.05), transparent 70%); pointer-events: none;
}
.goal-card { 
    background: var(--glass-bg); 
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg); 
    padding: 64px; 
    display: flex; 
    align-items: center; 
    gap: 64px; 
    position: relative; 
    overflow: hidden;
}
.goal-card::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--primary), transparent); opacity: 0.5;
}
.goal-text { flex: 1; z-index: 1; }
.goal-text h2 { font-size: clamp(2rem, 5vw, 2.5rem); font-weight: 900; color: var(--text-dark); margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.goal-text p { font-size: 1.1rem; color: var(--text-body); line-height: 1.8; }
.goal-illustration { flex: 0 0 350px; z-index: 1; position: relative; }
.goal-illustration svg { width: 100%; height: auto; filter: drop-shadow(0 0 20px rgba(14,165,233,0.3)); }
.spin-node { animation: spin 4s linear infinite; transform-origin: center; }
.pulse-core { animation: corePulse 3s ease-in-out infinite alternate; }
.orbit-1 { transform-origin: center; animation: spin 20s linear infinite; }
.orbit-2 { transform-origin: center; animation: spin 15s linear infinite reverse; }

@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes corePulse { 0% { r: 75; opacity: 0.6; } 100% { r: 85; opacity: 1; } }

/* ===== WHY CHOOSE US (TECH GRID) ===== */
.why-section { padding: 0 0 100px; position: relative; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; }
.why-card { 
    background: var(--glass-bg); 
    border: 1px solid #1ba104; 
    border-radius: var(--radius-md); 
    padding: 40px; 
    transition: all var(--transition); 
    position: relative; 
    overflow: hidden;
}
.why-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.why-card:hover { background: rgba(14,165,233,0.05); transform: translateY(-5px); border-color: rgba(14,165,233,0.3); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.why-card:hover::before { transform: scaleX(1); }

.why-card-icon { width: 56px; height: 56px; background: rgba(14,165,233,0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--primary); margin-bottom: 24px; border: 1px solid #1ba104; }
.why-card:hover .why-card-icon { background: var(--primary); color: #fff; box-shadow: var(--neon-glow); }
.why-card-icon svg { width: 24px; height: 24px; }
.why-card h3 { font-size: 1.3rem; font-weight: 700; color: var(--text-dark); margin-bottom: 12px; }
.why-card p { font-size: 0.95rem; color: var(--text-body); line-height: 1.6; }

/* ===== CTA SECTION ===== */
.cta-section { padding: 0 0 80px; }
.cta-card { background: rgba(14,165,233,0.1); border: 1px solid var(--primary); border-radius: var(--radius-lg); padding: 60px 40px; text-align: center; position: relative; overflow: hidden; box-shadow: inset 0 0 50px rgba(14,165,233,0.1), 0 0 40px rgba(14,165,233,0.1); }
.cta-card h2 { font-size: 2rem; font-weight: 900; color: var(--text-white); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
.cta-card p { font-size: 1.1rem; color: var(--primary-light); margin-bottom: 32px; font-family: monospace; }
.cta-btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 36px; background: var(--primary); color: #fff; border-radius: 4px; font-weight: 800; font-size: 1rem; text-transform: uppercase; letter-spacing: 2px; transition: all var(--transition); box-shadow: 0 0 20px rgba(14,165,233,0.4); }
.cta-btn:hover { background: var(--text-white); color: var(--primary-dark); box-shadow: 0 0 30px rgba(255,255,255,0.5); transform: scale(1.05); }

/* ===== SCROLL REVEAL ===== */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
    /* Page Layout */
    .page-layout { grid-template-columns: 1fr !important; gap: 20px !important; }
    .sidebar { position: static !important; width: 100%; top: 0 !important; }
    .mobile-category-btn { display: block !important; }
    .category-list { display: none !important; }
    .category-list.show { display: flex !important; animation: slideDownCat 0.3s ease forwards; }
    @keyframes slideDownCat { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

    /* Collapse Timeline (Avoid Horizontal Scroll!) */
    .steps-grid::before { left: 20px; transform: none; }
    .step-card { width: calc(100% - 60px) !important; align-self: flex-end !important; transform: translateY(30px) !important; }
    .step-card.visible { transform: translateY(0) !important; }
    
    /* Nodes */
    .step-card .step-icon { left: -50px !important; right: auto !important; width: 40px; height: 40px; }
    .step-card .step-icon svg { width: 16px; height: 16px; }
    
    .goal-card { flex-direction: column; padding: 40px 24px; text-align: center; }
    .goal-illustration { flex: none; width: 100%; max-width: 300px; margin: 0 auto; }
}

@media (max-width: 640px) {
    .why-grid { grid-template-columns: 1fr; }
    .hero-banner { padding: 150px 0 60px; }
    .cta-card { padding: 40px 20px; }
    .steps-grid { gap: 40px; }
    .step-card { padding: 24px; }
}



.mobile-menu-btn:hover { color: #000000; }

.main-nav ul {
    position: relative;
    z-index: 1;
}
.main-nav ul li {
    z-index: 2;
}
.hover-pill {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.3, 1);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.15) 100%);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-radius: 24px;
    box-shadow: 
      0 8px 32px rgba(0, 0, 0, 0.1),
      inset 0 0 0 1px rgba(255, 255, 255, 0.5),
      inset 0 2px 6px rgba(255, 255, 255, 0.8);
    opacity: 0;
    top: 0;
    left: 0;
}


/* ==========================================================================
   GLOBAL RESPONSIVE RESET & SMOOTH SCALING
   Ensures no horizontal scroll, fluid images, and smooth transitions
   ========================================================================== */
html, body {
    max-width: 100vw;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

img, picture, video, canvas, svg {
    max-width: 100%;
    height: auto;
}

* {
    -webkit-tap-highlight-color: transparent;
}

