
  /* ===== CSS VARIABLES ===== */
  :root {
    --bg-primary:       #0B0F19;
    --bg-secondary:     #111827;
    --accent:           #39FF14;
    --accent-dim:       rgba(57,255,20,0.18);
    --accent-glow:      rgba(57,255,20,0.4);
    --accent-glow-soft: rgba(57,255,20,0.08);
    --text-white:       #FFFFFF;
    --text-muted:       #9CA3AF;
    --glass-bg:         rgba(255,255,255,0.05);
    --glass-border:     rgba(255,255,255,0.1);
    --card-hover-bg:    rgba(57,255,20,0.04);
    --font-display:     'Bebas Neue', sans-serif;
    --font-body:        'Poppins', sans-serif;
    --ease-out:         cubic-bezier(0.16,1,0.3,1);
    --ease-spring:      cubic-bezier(0.34,1.56,0.64,1);
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  body {
    background: var(--bg-primary);
    color: var(--text-white);
    font-family: var(--font-body);
    overflow-x: hidden;
  }

  /* ===== SECTION WRAPPER ===== */
  #facilities {
    position: relative;
    padding: 120px 0 140px;
    overflow: hidden;
    background: var(--bg-primary);
  }

  /* ===== BACKGROUND LAYERS ===== */
  .bg-grid {
    position: absolute; inset: 0; z-index: 0;
    background-image:
      linear-gradient(rgba(57,255,20,0.03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(57,255,20,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridShift 20s linear infinite;
  }
  @keyframes gridShift {
    0%   { background-position: 0 0; }
    100% { background-position: 60px 60px; }
  }

  .bg-blob {
    position: absolute; border-radius: 50%;
    filter: blur(120px); z-index: 0; pointer-events: none;
  }
  .blob-1 {
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(57,255,20,0.07) 0%, transparent 70%);
    top: -200px; left: -200px;
    animation: blobFloat1 12s ease-in-out infinite;
  }
  .blob-2 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(57,255,20,0.05) 0%, transparent 70%);
    bottom: -150px; right: -150px;
    animation: blobFloat2 15s ease-in-out infinite;
  }
  .blob-3 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(57,255,20,0.04) 0%, transparent 70%);
    top: 50%; left: 50%; transform: translate(-50%,-50%);
    animation: blobFloat1 18s ease-in-out infinite reverse;
  }
  @keyframes blobFloat1 {
    0%,100% { transform: translate(0,0) scale(1); }
    50%     { transform: translate(40px,30px) scale(1.08); }
  }
  @keyframes blobFloat2 {
    0%,100% { transform: translate(0,0) scale(1); }
    50%     { transform: translate(-30px,-20px) scale(1.05); }
  }

  /* Particles */
  .particles-canvas {
    position: absolute; inset: 0; z-index: 0;
    pointer-events: none;
  }

  /* Section divider top */
  .section-divider {
    position: absolute; top: 0; left: 0; right: 0;
    height: 2px; z-index: 2;
    background: linear-gradient(90deg,
      transparent 0%,
      rgba(57,255,20,0.2) 20%,
      var(--accent) 50%,
      rgba(57,255,20,0.2) 80%,
      transparent 100%);
    animation: dividerPulse 3s ease-in-out infinite;
  }
  @keyframes dividerPulse {
    0%,100% { opacity: 0.6; }
    50%     { opacity: 1; }
  }

  /* ===== CONTAINER ===== */
  .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    position: relative; z-index: 2;
  }

  /* ===== SECTION HEADER ===== */
  .section-header {
    text-align: center;
    margin-bottom: 72px;
  }

  .section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: var(--glass-bg);
    border: 1px solid rgba(57,255,20,0.3);
    border-radius: 40px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 28px;
    position: relative;
    overflow: hidden;
  }
  .section-label::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent, rgba(57,255,20,0.08), transparent);
    transform: translateX(-100%);
    animation: shimmer 3s ease-in-out infinite;
  }
  @keyframes shimmer {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
  }
  .label-dot {
    width: 7px; height: 7px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent), 0 0 16px var(--accent-glow);
    animation: dotPulse 2s ease-in-out infinite;
  }
  @keyframes dotPulse {
    0%,100% { transform: scale(1); opacity: 1; }
    50%     { transform: scale(1.5); opacity: 0.7; }
  }

  .section-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 6vw, 74px);
    line-height: 1.0;
    letter-spacing: 0.02em;
    color: var(--text-white);
    text-transform: uppercase;
    margin-bottom: 20px;
  }
  .section-title .highlight {
    color: var(--accent);
    text-shadow: 0 0 30px var(--accent-glow), 0 0 60px rgba(57,255,20,0.2);
  }

  .section-desc {
    max-width: 600px;
    margin: 0 auto;
    font-size: 16px;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.75;
  }

  /* ===== FLOATING BADGES ===== */
  .floating-badges {
    display: flex; justify-content: center; gap: 16px;
    flex-wrap: wrap; margin-top: 32px;
  }
  .f-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 18px;
    background: rgba(57,255,20,0.06);
    border: 1px solid rgba(57,255,20,0.2);
    border-radius: 6px;
    font-size: 10px; font-weight: 700;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--accent);
    animation: badgeFloat 4s ease-in-out infinite;
  }
  .f-badge:nth-child(2) { animation-delay: -1.3s; }
  .f-badge:nth-child(3) { animation-delay: -2.6s; }
  .f-badge::before {
    content: '✦'; font-size: 8px;
  }
  @keyframes badgeFloat {
    0%,100% { transform: translateY(0); }
    50%     { transform: translateY(-5px); }
  }

  /* ===== FACILITIES GRID ===== */
  .facilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  /* ===== FACILITY CARD ===== */
  .facility-card {
    position: relative;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 36px 28px;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.5s var(--ease-out),
                border-color 0.4s ease,
                box-shadow 0.4s ease,
                background 0.4s ease;
    opacity: 0;
    transform: translateY(50px);
  }

  .facility-card.revealed {
    opacity: 1;
    transform: translateY(0);
  }

  /* inner glow layer */
  .facility-card::before {
    content: '';
    position: absolute; inset: 0; border-radius: inherit;
    background: radial-gradient(ellipse at 30% 20%,
      rgba(57,255,20,0.06) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
  }

  /* top border glow */
  .facility-card::after {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 2px; border-radius: 16px 16px 0 0;
    background: linear-gradient(90deg,
      transparent 0%, var(--accent) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
  }

  /* hover state */
  .facility-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(57,255,20,0.45);
    background: var(--card-hover-bg);
    box-shadow:
      0 20px 60px rgba(0,0,0,0.5),
      0 0 30px rgba(57,255,20,0.12),
      inset 0 1px 0 rgba(57,255,20,0.15);
  }
  .facility-card:hover::before { opacity: 1; }
  .facility-card:hover::after  { opacity: 1; }

  /* shine sweep on hover */
  .card-shine {
    position: absolute; inset: 0; border-radius: inherit;
    background: linear-gradient(135deg,
      transparent 30%, rgba(57,255,20,0.04) 50%, transparent 70%);
    transform: translateX(-100%) rotate(0deg);
    transition: transform 0.6s var(--ease-out);
    z-index: 0;
    pointer-events: none;
  }
  .facility-card:hover .card-shine {
    transform: translateX(100%);
  }

  /* card inner content */
  .card-inner { position: relative; z-index: 2; }

  /* ICON */
  .card-icon-wrap {
    width: 64px; height: 64px;
    background: rgba(57,255,20,0.08);
    border: 1px solid rgba(57,255,20,0.2);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px;
    transition: transform 0.4s var(--ease-spring),
                background 0.4s ease,
                border-color 0.4s ease,
                box-shadow 0.4s ease;
    position: relative;
  }
  .facility-card:hover .card-icon-wrap {
    transform: rotate(8deg) scale(1.1);
    background: rgba(57,255,20,0.14);
    border-color: rgba(57,255,20,0.5);
    box-shadow: 0 0 20px rgba(57,255,20,0.25), 0 0 40px rgba(57,255,20,0.1);
  }

  .card-icon {
    width: 30px; height: 30px;
    stroke: var(--accent);
    fill: none;
    stroke-width: 1.6;
    stroke-linecap: round; stroke-linejoin: round;
    transition: filter 0.4s ease;
    filter: drop-shadow(0 0 4px rgba(57,255,20,0.4));
  }
  .facility-card:hover .card-icon {
    filter: drop-shadow(0 0 8px rgba(57,255,20,0.8)) drop-shadow(0 0 16px rgba(57,255,20,0.4));
  }

  /* icon ring animation */
  .card-icon-wrap::after {
    content: '';
    position: absolute; inset: -6px;
    border-radius: 18px;
    border: 1px solid rgba(57,255,20,0.15);
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }
  .facility-card:hover .card-icon-wrap::after {
    opacity: 1; transform: scale(1);
  }

  /* CARD NUMBER */
  .card-number {
    position: absolute; top: 24px; right: 24px;
    font-family: var(--font-display);
    font-size: 48px;
    color: rgba(57,255,20,0.06);
    line-height: 1;
    transition: color 0.4s ease;
    z-index: 0;
    user-select: none;
  }
  .facility-card:hover .card-number {
    color: rgba(57,255,20,0.1);
  }

  /* CARD TITLE */
  .card-title {
    font-family: var(--font-display);
    font-size: 22px;
    letter-spacing: 0.05em;
    color: var(--text-white);
    text-transform: uppercase;
    margin-bottom: 10px;
    transition: color 0.3s ease;
  }
  .facility-card:hover .card-title {
    color: var(--accent);
    text-shadow: 0 0 20px rgba(57,255,20,0.4);
  }

  /* CARD DESC */
  .card-desc {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.7;
    font-weight: 300;
  }

  /* CARD FOOTER */
  .card-footer {
    display: flex; align-items: center; gap: 8px;
    margin-top: 24px; padding-top: 20px;
    border-top: 1px solid var(--glass-border);
    transition: border-color 0.4s ease;
  }
  .facility-card:hover .card-footer {
    border-color: rgba(57,255,20,0.2);
  }
  .card-tag {
    font-size: 10px; font-weight: 600;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--accent);
    opacity: 0.7;
    transition: opacity 0.3s ease;
  }
  .facility-card:hover .card-tag { opacity: 1; }
  .card-arrow {
    margin-left: auto;
    width: 28px; height: 28px;
    border: 1px solid rgba(57,255,20,0.2);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.4s var(--ease-spring),
                border-color 0.4s ease,
                background 0.4s ease;
  }
  .facility-card:hover .card-arrow {
    transform: translate(3px,-3px);
    border-color: var(--accent);
    background: rgba(57,255,20,0.1);
  }
  .card-arrow svg {
    width: 12px; height: 12px;
    stroke: var(--accent); fill: none;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  }

  /* Glow border breathing */
  @keyframes borderBreath {
    0%,100% { box-shadow: 0 0 0 0 transparent; }
    50% {
      box-shadow:
        0 0 15px rgba(57,255,20,0.08),
        inset 0 0 15px rgba(57,255,20,0.03);
    }
  }
  .facility-card.revealed {
    animation: borderBreath 4s ease-in-out infinite;
    animation-delay: var(--breath-delay, 0s);
  }
  .facility-card:hover { animation: none; }

  /* ===== BOTTOM STATS BAR ===== */
  .stats-bar {
    margin-top: 80px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(57,255,20,0.1);
    border: 1px solid rgba(57,255,20,0.15);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
  }
  .stats-bar::before {
    content: '';
    position: absolute; inset: 0;
    background: var(--glass-bg);
    z-index: 0;
  }
  .stat-item {
    padding: 32px 24px;
    text-align: center;
    background: var(--bg-secondary);
    position: relative; z-index: 1;
    transition: background 0.3s ease;
  }
  .stat-item:hover { background: rgba(57,255,20,0.05); }
  .stat-number {
    font-family: var(--font-display);
    font-size: 48px;
    color: var(--accent);
    text-shadow: 0 0 20px var(--accent-glow);
    line-height: 1;
    display: block;
    margin-bottom: 6px;
  }
  .stat-label {
    font-size: 11px; font-weight: 600;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--text-muted);
  }

  /* ===== RESPONSIVE ===== */
  @media (max-width: 1024px) {
    .facilities-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 640px) {
    #facilities { padding: 80px 0 100px; }
    .container { padding: 0 20px; }
    .facilities-grid { grid-template-columns: 1fr; gap: 16px; }
    .section-title { font-size: clamp(36px, 10vw, 52px); }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .section-header { margin-bottom: 48px; }
    .floating-badges { gap: 10px; }
  }
