:root {
      --bg-primary: #0a0e17;
      --bg-secondary: #111827;
      --bg-card: rgba(17, 24, 39, 0.7);
      --bg-card-solid: #1a2332;
      --text-primary: #f8fafc;
      --text-secondary: #94a3b8;
      --text-muted: #64748b;
      --accent-red: #e11d48;
      --accent-purple: #8b5cf6;
      --accent-blue: #3b82f6;
      --accent-gradient: linear-gradient(135deg, #e11d48 0%, #8b5cf6 50%, #3b82f6 100%);
      --accent-gradient-soft: linear-gradient(135deg, rgba(225, 29, 72, 0.15), rgba(139, 92, 246, 0.15), rgba(59, 130, 246, 0.15));
      --border: rgba(148, 163, 184, 0.12);
      --border-hover: rgba(148, 163, 184, 0.25);
      --success: #10b981;
      --radius: 16px;
      --radius-sm: 10px;
      --radius-lg: 24px;
      --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
      --shadow-glow: 0 0 40px rgba(139, 92, 246, 0.15);
    }

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

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      background: var(--bg-primary);
      color: var(--text-primary);
      line-height: 1.6;
      overflow-x: hidden;
    }

    /* Background Mesh */
    .bg-mesh {
      position: fixed;
      inset: 0;
      z-index: -1;
      background: 
        radial-gradient(ellipse 80% 50% at 20% -20%, rgba(139, 92, 246, 0.18), transparent),
        radial-gradient(ellipse 60% 40% at 80% 10%, rgba(225, 29, 72, 0.12), transparent),
        radial-gradient(ellipse 50% 30% at 50% 100%, rgba(59, 130, 246, 0.1), transparent),
        var(--bg-primary);
    }

    /* Typography */
    h1, h2, h3, h4 {
      font-weight: 700;
      letter-spacing: -0.02em;
      line-height: 1.2;
    }

    .gradient-text {
      background: var(--accent-gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
  background: transparent;
}

header.scrolled {
  background: rgba(10, 14, 23, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

.logo {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--text-primary);
  white-space: nowrap;
  flex-shrink: 0;
}

.logo span:nth-child(1) { color: #e11d48; }
.logo span:nth-child(2) { color: #8b5cf6; }
.logo span:nth-child(3) { color: #3b82f6; }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: 2px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.4rem;
  flex-shrink: 0;
}
   .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    }

    @media (max-width: 768px) {
    .container {
        padding: 0 1.15rem;
    }
    }
 

    /* Hero */
    .hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      padding: 8rem 0 4rem;
      position: relative;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
      align-items: center;
    }

    .hero-content h1 {
      font-size: clamp(2.5rem, 5vw, 3.75rem);
      margin-bottom: 1.25rem;
      font-weight: 800;
    }

    .hero-content h1 .line1 { color: var(--text-primary); }
    .hero-content h1 .line2 { color: var(--accent-red); }
    .hero-content h1 .line3 { color: var(--text-primary); }
    .hero-content h1 .line4 { color: var(--accent-purple); }
    .hero-content h1 .line5 { color: var(--accent-blue); }

    .hero-content p {
      font-size: 1.15rem;
      color: var(--text-secondary);
      margin-bottom: 2rem;
      max-width: 480px;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.9rem 1.75rem;
      border-radius: 999px;
      font-weight: 600;
      font-size: 1rem;
      text-decoration: none;
      border: none;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .btn-primary {
      background: var(--accent-gradient);
      color: white;
      box-shadow: 0 10px 30px -5px rgba(139, 92, 246, 0.4);
    }

    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 15px 40px -5px rgba(139, 92, 246, 0.5);
    }

    .btn-outline {
      background: transparent;
      color: var(--text-primary);
      border: 1px solid var(--border-hover);
    }

    .btn-outline:hover {
      background: rgba(255, 255, 255, 0.05);
      border-color: var(--text-secondary);
    }

    .hero-visual {
      position: relative;
      display: flex;
      justify-content: center;
    }

    .hero-image-wrapper {
      position: relative;
      width: 100%;
      max-width: 420px;
    }

    .hero-image {
      width: 100%;
      aspect-ratio: 4/5;
      border-radius: var(--radius-lg);
      object-fit: cover;
      box-shadow: var(--shadow), var(--shadow-glow);
      border: 1px solid var(--border);
    }

/* ===== Floating Cards ===== */
.floating-card {
  position: absolute;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  max-width: 240px;
  box-shadow: var(--shadow);
  z-index: 5;
}

.floating-card .label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.floating-card p {
  font-size: 0.92rem;
  color: var(--text-primary);
  line-height: 1.45;
  margin: 0;
}

/* Left card */
.floating-card-left {
  bottom: 2rem;
  left: -1.5rem;
  border-left: 3px solid var(--accent-red);
  animation: floatLeft 6s ease-in-out infinite;
  width: 200px;
}

.floating-card-left .label {
  color: var(--accent-red);
}

/* Right card */
.floating-card-right {
  bottom: 2rem;
  right: -1.5rem;
  border-right: 3px solid var(--accent-blue);
  animation: floatRight 7s ease-in-out infinite;
  width: 300px;
}

.floating-card-right .label {
  color: var(--accent-blue);
}

/* Animations (slightly different timing so they feel natural) */
@keyframes floatLeft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes floatRight {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ===== Mobile Floating Cards - Side by Side ===== */
@media (max-width: 768px) {

  .hero-image-wrapper {
    position: relative !important;
  }

  
  .floating-card-left {
    left: 0.5rem !important;
    right: auto !important;
  }

  .floating-card-right {
    right: 0.5rem !important;
    left: auto !important;
  }

  .floating-card .label {
    font-size: 0.62rem !important;
    margin-bottom: 0.25rem !important;
  }

  .floating-card p {
    font-size: 0.75rem !important;
    line-height: 1.3 !important;
  }
}

    /* Trust Badges */
    .trust-badges {
      display: flex;
      gap: 3rem;
      margin-top: 3.5rem;
      flex-wrap: wrap;
    }

    .badge {
      display: flex;
      align-items: flex-start;
      gap: 0.85rem;
    }

    .badge-icon {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      background: var(--accent-gradient-soft);
      border: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      display: flex;
    }

    .badge-icon svg {
      width: 20px;
      height: 20px;
      color: var(--accent-purple);
      display: flex;
    }

    .badge h4 {
      font-size: 0.95rem;
      margin-bottom: 0.15rem;
    }

    .badge p {
      font-size: 0.85rem;
      color: var(--text-muted);
    }






    
    /* Section Common */
    section {
      padding: 6rem 0;
    }

    .section-header {
      text-align: center;
      max-width: 640px;
      margin: 0 auto 3.5rem;
    }

    .section-header h2 {
      font-size: clamp(1.9rem, 4vw, 2.5rem);
      margin-bottom: 1rem;
    }

    .section-header p {
      color: var(--text-secondary);
      font-size: 1.1rem;
    }

    /* Clarity Section */
    .clarity {
      background: linear-gradient(180deg, transparent, rgba(17, 24, 39, 0.5), transparent);
    }

    .clarity-grid {
      display: grid;
      grid-template-columns: 1fr 1.1fr;
      gap: 4rem;
      align-items: center;
    }

    .team-stack {
      position: relative;
      height: 420px;
    }

    .team-photo {
      position: absolute;
      border-radius: var(--radius);
      border: 3px solid var(--bg-primary);
      box-shadow: var(--shadow);
      object-fit: cover;
      transition: transform 0.3s ease;
    }

    .team-photo:hover {
      transform: scale(1.03);
      z-index: 10 !important;
    }

    .team-photo:nth-child(1) {
      width: 200px;
      height: 240px;
      top: 0;
      left: 0;
      z-index: 1;
    }

    .team-photo:nth-child(2) {
      width: 220px;
      height: 260px;
      top: 40px;
      left: 140px;
      z-index: 3;
    }

    .team-photo:nth-child(3) {
      width: 180px;
      height: 210px;
      bottom: 20px;
      left: 40px;
      z-index: 2;
    }

    .accuracy-badge {
      position: absolute;
      bottom: 30px;
      right: 20px;
      background: rgba(15, 23, 42, 0.95);
      backdrop-filter: blur(12px);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 1rem 1.25rem;
      display: flex;
      align-items: center;
      gap: 0.75rem;
      z-index: 5;
      box-shadow: var(--shadow);
    }

    .accuracy-badge .icon {
      width: 40px;
      height: 40px;
      border-radius: 10px;
      background: var(--accent-gradient);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 800;
      font-size: 1.1rem;
    }

    .accuracy-badge .label {
      font-size: 0.7rem;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .accuracy-badge .value {
      font-size: 1.1rem;
      font-weight: 700;
    }

    .clarity-content h2 {
      font-size: clamp(1.8rem, 3.5vw, 2.4rem);
      margin-bottom: 1.25rem;
    }

    .clarity-content h2 span {
      color: var(--accent-purple);
    }

    .clarity-content > p {
      color: var(--text-secondary);
      margin-bottom: 2rem;
      font-size: 1.05rem;
    }

    .feature-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .feature-list li {
      display: flex;
      align-items: center;
      gap: 0.85rem;
      font-size: 1.05rem;
      color: var(--text-primary);
    }

    .feature-list li svg {
      width: 22px;
      height: 22px;
      color: var(--success);
      flex-shrink: 0;
    }

/* ===== Single Video instead of photo stack ===== */
.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow), var(--shadow-glow);
  border: 1px solid var(--border);
}

.clarity-video {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
}

/* Make sure the grid still looks good */
.clarity-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

/* Responsive */
@media (max-width: 1024px) {
  .clarity-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .video-wrapper {
    max-width: 100%;
    order: -1; /* video appears first on mobile */
  }

  .clarity-video {
    height: 320px;
  }
}




    /* Blog / Insights */
    .insights {
      background: var(--bg-secondary);
    }

    .cards-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.75rem;
    }

    .card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      overflow: hidden;
      transition: all 0.3s ease;
      backdrop-filter: blur(12px);
    }

    .card:hover {
      transform: translateY(-6px);
      border-color: var(--border-hover);
      box-shadow: var(--shadow), var(--shadow-glow);
    }

    .card-image {
      height: 180px;
      width: 100%;
      object-fit: cover;
      position: relative;
    }

    .card-tag {
      position: absolute;
      top: 1rem;
      left: 1rem;
      padding: 0.3rem 0.75rem;
      border-radius: 999px;
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      color: white;
    }

    .card-tag.forensics { background: #be123c; }
    .card-tag.statistics { background: #6d28d9; }
    .card-tag.psychology { background: #1d4ed8; }

    .card-body {
      padding: 1.5rem;
    }

    .card-meta {
      font-size: 0.8rem;
      color: var(--text-muted);
      margin-bottom: 0.75rem;
    }

    .card-body h3 {
      font-size: 1.15rem;
      margin-bottom: 0.75rem;
      line-height: 1.35;
    }

    .card-body p {
      font-size: 0.9rem;
      color: var(--text-secondary);
      margin-bottom: 1.25rem;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .card-link {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      color: var(--accent-blue);
      font-weight: 600;
      font-size: 0.9rem;
      text-decoration: none;
      transition: gap 0.2s;
    }

    .card-link:hover {
      gap: 0.65rem;
    }

    /* Form Section */
    .case-form-section {
      position: relative;
    }

    .form-wrapper {
      display: grid;
      grid-template-columns: 0.9fr 1.1fr;
      gap: 0;
      background: var(--bg-card-solid);
      border-radius: var(--radius-lg);
      overflow: hidden;
      border: 1px solid var(--border);
      box-shadow: var(--shadow);
    }

    .form-visual {
      background: linear-gradient(160deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
      position: relative;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: 2.5rem;
      min-height: 500px;
    }

    .form-visual::before {
      content: '';
      position: absolute;
      inset: 0;
      background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
      opacity: 0.6;
    }

    .fingerprint {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -55%);
      width: 280px;
      height: 280px;
      opacity: 0.35;
    }

    .form-quote {
      position: relative;
      z-index: 2;
      background: rgba(15, 23, 42, 0.7);
      backdrop-filter: blur(12px);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 1.5rem;
      font-size: 0.95rem;
      color: var(--text-secondary);
      font-style: italic;
      line-height: 1.55;
    }

    .form-content {
      padding: 2.5rem 2.75rem;
    }

    .form-content h2 {
      font-size: 1.75rem;
      margin-bottom: 0.5rem;
    }

    .form-content > p {
      color: var(--text-secondary);
      margin-bottom: 2rem;
      font-size: 0.95rem;
    }

    .form-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.25rem;
    }

    .form-group {
      display: flex;
      flex-direction: column;
      gap: 0.4rem;
    }

    .form-group.full {
      grid-column: 1 / -1;
    }

    .form-group label {
      font-size: 0.85rem;
      font-weight: 600;
      color: var(--text-secondary);
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
      background: rgba(15, 23, 42, 0.6);
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      padding: 0.8rem 1rem;
      color: var(--text-primary);
      font-size: 0.95rem;
      font-family: inherit;
      transition: border-color 0.2s, box-shadow 0.2s;
      outline: none;
    }

    .form-group input::placeholder,
    .form-group textarea::placeholder {
      color: var(--text-muted);
    }

    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
      border-color: var(--accent-blue);
      box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
    }

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

    .contact-methods {
      display: flex;
      gap: 0.75rem;
      flex-wrap: wrap;
    }

    .contact-method {
      flex: 1;
      min-width: 100px;
      padding: 0.7rem 1rem;
      background: rgba(15, 23, 42, 0.6);
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      color: var(--text-secondary);
      font-weight: 500;
      font-size: 0.9rem;
      cursor: pointer;
      transition: all 0.2s;
      text-align: center;
    }

    .contact-method:hover {
      border-color: var(--border-hover);
      color: var(--text-primary);
    }

    .contact-method.active {
      border-color: var(--accent-blue);
      background: rgba(59, 130, 246, 0.1);
      color: var(--accent-blue);
      box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
    }

    .checkbox-group {
      display: flex;
      align-items: flex-start;
      gap: 0.75rem;
      margin: 1.25rem 0 1.75rem;
    }

    .checkbox-group input[type="checkbox"] {
      width: 18px;
      height: 18px;
      margin-top: 2px;
      accent-color: var(--accent-blue);
      cursor: pointer;
    }

    .checkbox-group label {
      font-size: 0.875rem;
      color: var(--text-secondary);
      cursor: pointer;
    }

    .submit-btn {
      width: 100%;
      padding: 1rem;
      background: var(--accent-gradient);
      color: white;
      border: none;
      border-radius: var(--radius-sm);
      font-size: 1.05rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s;
      box-shadow: 0 10px 25px -5px rgba(139, 92, 246, 0.35);
    }

    .submit-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 15px 35px -5px rgba(139, 92, 246, 0.45);
    }

    .submit-btn:disabled {
      opacity: 0.7;
      cursor: not-allowed;
      transform: none;
    }

    /* CTA Banner */
    .cta-banner {
      background: var(--accent-gradient);
      border-radius: var(--radius-lg);
      padding: 3rem 3.5rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 2rem;
      margin: 0 0 4rem;
      position: relative;
      overflow: hidden;
    }

    .cta-banner::before {
      content: '';
      position: absolute;
      inset: 0;
      background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    }

    .cta-banner h2 {
      font-size: 1.75rem;
      margin-bottom: 0.5rem;
      position: relative;
    }

    .cta-banner p {
      opacity: 0.9;
      position: relative;
      max-width: 480px;
    }

    .cta-banner .btn {
      background: white;
      color: #1e1b4b;
      position: relative;
      flex-shrink: 0;
    }

    .cta-banner .btn:hover {
      background: #f1f5f9;
      transform: translateY(-2px);
    }

    /* Footer */
    footer {
      background: #070b12;
      border-top: 1px solid var(--border);
      padding: 4rem 0 2rem;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
      gap: 3rem;
      margin-bottom: 3rem;
    }

    .footer-brand .logo {
      display: inline-block;
      margin-bottom: 1rem;
    }

    .footer-brand p {
      color: var(--text-muted);
      font-size: 0.9rem;
      max-width: 280px;
      margin-bottom: 1.5rem;
    }

    .socials {
      display: flex;
      gap: 0.75rem;
    }

    .socials a {
      width: 38px;
      height: 38px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text-secondary);
      transition: all 0.2s;
      text-decoration: none;
    }

    .socials a:hover {
      background: var(--accent-blue);
      border-color: var(--accent-blue);
      color: white;
    }

    .footer-col h4 {
      font-size: 1rem;
      margin-bottom: 1.25rem;
      color: var(--text-primary);
    }

    .footer-col ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 0.7rem;
    }

    .footer-col a {
      color: var(--text-muted);
      text-decoration: none;
      font-size: 0.9rem;
      transition: color 0.2s;
    }

    .footer-col a:hover {
      color: var(--text-primary);
    }

    .newsletter-form {
      display: flex;
      gap: 0;
    }

    .newsletter-form input {
      flex: 1;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid var(--border);
      border-right: none;
      border-radius: var(--radius-sm) 0 0 var(--radius-sm);
      padding: 0.7rem 1rem;
      color: var(--text-primary);
      font-size: 0.9rem;
      outline: none;
    }

    .newsletter-form input:focus {
      border-color: var(--accent-blue);
    }

    .newsletter-form button {
      background: var(--accent-blue);
      border: none;
      border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
      padding: 0 1rem;
      color: white;
      cursor: pointer;
      transition: background 0.2s;
    }

    .newsletter-form button:hover {
      background: #2563eb;
    }

    .footer-bottom {
      border-top: 1px solid var(--border);
      padding-top: 1.75rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      color: var(--text-muted);
      font-size: 0.85rem;
    }

    /* Success Modal */
    .modal-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.7);
      backdrop-filter: blur(8px);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 2000;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s;
    }

    .modal-overlay.show {
      opacity: 1;
      visibility: visible;
    }

    .modal {
      background: var(--bg-card-solid);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 2.5rem;
      max-width: 420px;
      width: 90%;
      text-align: center;
      transform: scale(0.9);
      transition: transform 0.3s;
    }

    .modal-overlay.show .modal {
      transform: scale(1);
    }

    .modal-icon {
      width: 64px;
      height: 64px;
      border-radius: 50%;
      background: rgba(16, 185, 129, 0.15);
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 1.5rem;
    }

    .modal-icon svg {
      width: 32px;
      height: 32px;
      color: var(--success);
    }

    .modal h3 {
      font-size: 1.4rem;
      margin-bottom: 0.75rem;
    }

    .modal p {
      color: var(--text-secondary);
      margin-bottom: 1.75rem;
    }

    /* Responsive */
    @media (max-width: 1024px) {
      .hero-grid,
      .clarity-grid,
      .form-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
        
      }

      .hero-visual {
        order: -1;
      }

      .team-stack {
        height: 360px;
        max-width: 400px;
        margin: 0 auto;
      }

      .cards-grid {
        grid-template-columns: 1fr 1fr;
      }

      .footer-grid {
        grid-template-columns: 1fr 1fr;
      }

      .form-visual {
        min-height: 280px;
      }
    }

    @media (max-width: 768px) {
      
      .mobile-toggle {
        display: block;
      }

      .cards-grid {
        grid-template-columns: 1fr;
      }

      .form-grid {
        grid-template-columns: 1fr;
      }

      .trust-badges {
        gap: 1.5rem;
      }

      .cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 2.5rem 1.75rem;
      }

      .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
      }

      .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
      }

      .floating-card {
        left: 0.5rem;
        bottom: 1rem;
        max-width: 220px;
        padding: 1rem;
      }

      .hero {
        padding-top: 6rem;
      }
    }

    /* Animations on scroll */
    .reveal {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }

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




















    @media (max-width: 768px) {
 

  .logo {
    font-size: 1.1rem;
  }

  .trust-badges {
    grid-template-columns: 1fr;
    max-width: 100%;
    gap: 0.9rem;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 2.25rem 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  .floating-card {
    left: 0.5rem;
    bottom: 1rem;
    max-width: 200px;
    padding: 0.9rem 1rem;
  }

  .hero {
    padding-top: 5.5rem;
  }

  .hero-content h1 {
    font-size: 2.1rem;
  }
}



/* ========== MOBILE STYLES ========== */
@media (max-width: 768px) {
  .container {
    padding: 0 1.1rem;
  }

  /* Keep header sticky and contained */
  header {
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
  }

  .nav {
    width: 100%;
  }

  .logo {
    font-size: 1.05rem;
  }


  /* Prevent horizontal scroll */
  body, html {
    overflow-x: hidden;
    max-width: 100vw;
  }

  .hero {
    padding-top: 5.5rem;
    padding-bottom: 3rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .trust-badges {
    grid-template-columns: 1fr;
    max-width: 100%;
    gap: 0.85rem;
  }

  .floating-card {
    left: 0.5rem !important;
    right: auto;
    bottom: 1rem;
    max-width: 190px;
    padding: 0.85rem 1rem;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-content {
    padding: 1.75rem 1.35rem;
  }

  .cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.4rem;
    margin: 0 0 3rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.6rem;
    text-align: center;
  }
}



/* ===== Mobile Side Menu (from the right) ===== */
@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
    z-index: 1100;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%;                 /* hidden off-screen to the right */
    width: 280px;
    height: 100vh;
    background: rgba(10, 14, 23, 0.97);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--border);
    padding: 5rem 1.75rem 2rem;
    gap: 0.5rem;
    z-index: 1050;
    transition: right 0.35s ease;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.4);
  }

  .nav-links.open {
    right: 0;                     /* slides in from the right */
  }

  .nav-links li {
    list-style: none;
  }

  .nav-links a {
    display: block;
    padding: 0.9rem 0;
    font-size: 1.1rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
  }

  .nav-links a:hover,
  .nav-links a.active {
    color: var(--text-primary);
  }

  .nav-links a.active::after {
    display: none;                /* remove the bottom line on mobile */
  }
}



.mobile-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  list-style: none;
}

.mobile-close button {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.4rem;
}

.mobile-close button:hover {
  color: var(--text-primary);
}

/* ============================================
   ABOUT PAGE STYLES
   ============================================ */

/* Mission Section */
.about-mission {
  padding: 9rem 0 5rem;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.mission-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-blue);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.mission-content h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.mission-content p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 480px;
  line-height: 1.7;
}

.mission-visual {
  display: flex;
  justify-content: center;
}

.mission-image {
  width: 100%;
  max-width: 460px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow), var(--shadow-glow);
  border: 1px solid var(--border);
  object-fit: cover;
  aspect-ratio: 4/3;
}

/* Principles Section */
.about-principles {
  padding: 5rem 0 6rem;
  background: #f8fafc;
}

.about-principles .section-header h2 {
  color: #0f172a;
}

.section-underline {
  width: 48px;
  height: 3px;
  background: var(--accent-blue);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
}

.principle-card {
  background: white;
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 300px;
  border-radius: 60px;
}

.principle-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.12);
}
.principles-card:hover{
  transform: translateY(10);
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.08);
}

.principle-icon {
  width: 48px;
  height: 48px;
  border-radius: 50px;
  background: rgba(59, 130, 246, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--accent-blue);
}
.principle-icon:hover {
  transform: translateY(100);
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.08);
  transform: scale(20px);
}

.principle-card h3 {
  font-size: 30px;
  color: #0f172a;
  margin-bottom: 0.65rem;
}

.principle-card p {
  font-size: 1rem;
  color: #64748b;
  line-height: 1.6;
}

/* Tools / Stats Section */
.about-tools {
  background: #0f172a;
  padding: 6rem 0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  margin-top: 2rem;
}

.tools-content {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.tools-content h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  color: white;
  margin-bottom: 1.25rem;
  line-height: 1.25;
}

.tools-content > p {
  color: #94a3b8;
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto 3rem;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.stat-value.blue { color: #3b82f6; }
.stat-value.purple { color: #8b5cf6; }
.stat-value.red { color: #e11d48; }

.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #64748b;
  text-transform: uppercase;
}

.tools-btn {
  background: white;
  color: #0f172a;
  padding: 0.95rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.tools-btn:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
}

/* About page mobile */
@media (max-width: 1024px) {
  .mission-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .mission-visual {
    order: -1;
  }

  .principles-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .about-mission {
    padding: 7rem 0 3.5rem;
  }

  .mission-content h1 {
    font-size: 2.2rem;
  }

  .about-principles {
    padding: 3.5rem 0 4rem;
  }

  .about-tools {
    padding: 4rem 0;
    border-radius: 20px 20px 0 0;
  }

  .stats-row {
    grid-template-columns: 1fr 1fr;
  }

  .stat-value {
    font-size: 1.8rem;
  }
}
/* Temporary - force reveal elements to show */
.reveal {
  opacity: 1 !important;
  transform: none !important;
}




/* ============================================
   BLOG PAGE STYLES
   ============================================ */

.blog-page {
  padding: 9rem 0 4rem;
}

.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
  gap: 2rem;
}

.blog-header h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin-bottom: 0.5rem;
}

.blog-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 480px;
}

.carousel-controls {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

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

.carousel-btn:active {
  transform: scale(0.95);
}

/* Carousel */
.blog-carousel-wrapper {
  overflow: hidden;
  width: 100%;
}

.blog-carousel {
  display: flex;
  gap: 1.75rem;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.blog-card {
  flex: 0 0 calc(33.333% - 1.17rem);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(12px);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow), var(--shadow-glow);
}

.blog-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: white;
}

.blog-tag.forensics { background: #be123c; }
.blog-tag.statistics { background: #6d28d9; }
.blog-tag.psychology { background: #1d4ed8; }
.blog-tag.discovery { background: #0369a1; }

.blog-card-body {
  padding: 1.5rem;
}

.blog-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.blog-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  line-height: 1.35;
  color: var(--text-primary);
}

.blog-card-body p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent-blue);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: gap 0.2s;
}

.blog-link:hover {
  gap: 0.65rem;
}

.blog-cta {
  margin: 3rem 0 4rem;
}

/* Blog Responsive */
@media (max-width: 1024px) {
  .blog-card {
    flex: 0 0 calc(50% - 0.9rem);
  }
}

@media (max-width: 768px) {
  .blog-page {
    padding: 7rem 0 3rem;
  }

  .blog-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .blog-card {
    flex: 0 0 100%;
  }

  .carousel-controls {
    align-self: flex-end;
  }
}












/* ============================================
   CONTACT PAGE STYLES
   ============================================ */

.contact-hero {
  padding: 10rem 0 4rem;
  text-align: center;
}

.contact-hero-content {
  max-width: 720px;
  margin: 0 auto;
}

.secure-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.contact-hero h1 {
  font-size: 100px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.contact-hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Contact Grid */
.contact-section {
  padding: 2rem 0 6rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: 1.75rem;
  align-items: start;
}

/* Info Cards */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.info-card {
  background: rgba(17, 24, 39, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  backdrop-filter: blur(12px);
}

.info-card h3 {
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon.red {
  background: rgba(225, 29, 72, 0.15);
  color: #e11d48;
}

.info-icon.blue {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
}

.info-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.info-value {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 500;
}

/* Safe Delivery Card */
.safe-card {
  position: relative;
  overflow: hidden;
}

.safe-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}

.safe-card h3 {
  margin-bottom: 0.6rem;
}

.safe-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.55;
}

.secure-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #10b981;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Contact Form Card */
.contact-form-card {
  background: rgba(17, 24, 39, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  backdrop-filter: blur(12px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.contact-form-card .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.35rem;
}

.contact-form-card label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.contact-form-card input,
.contact-form-card textarea {
  background: rgba(10, 14, 23, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form-card input::placeholder,
.contact-form-card textarea::placeholder {
  color: var(--text-muted);
}

.contact-form-card input:focus,
.contact-form-card textarea:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.contact-form-card textarea {
  resize: vertical;
  min-height: 130px;
}

.send-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1rem;
  background: var(--accent-gradient);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px -5px rgba(139, 92, 246, 0.35);
}

.send-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px -5px rgba(139, 92, 246, 0.45);
}

.send-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Contact Responsive */
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    padding: 8rem 0 3rem;
    
  }

  .contact-hero h1 {
    font-size: 2.3rem;
  }

  .contact-hero p br {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    padding: 1.5rem;
  }

  .contact-section {
    padding: 1rem 0 4rem;
  }
}






















/* ============================================
   ARTICLE PAGE STYLES
   ============================================ */

.article-hero {
  position: relative;
  height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-top: 70px;
}

.article-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 14, 23, 0.85) 0%, rgba(10, 14, 23, 0.4) 50%, rgba(10, 14, 23, 0.3) 100%);
  z-index: 1;
}

.article-hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 3rem;
}

.article-tag {
  display: inline-block;
  background: linear-gradient(135deg, #be123c, #9d174d);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.article-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: white;
  line-height: 1.2;
  max-width: 700px;
}

/* Article Body */
.article-body {
  background: #ffffff;
  padding: 2.5rem 0 4rem;
  color: #0f172a;
}

.article-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.article-meta-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: #64748b;
}

.article-meta-left .dot {
  color: #94a3b8;
}

.back-link {
  color: #3b82f6;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: opacity 0.2s;
}

.back-link:hover {
  opacity: 0.8;
}

.article-content {
  max-width: 720px;
  margin: 0 auto 3rem;
}

.article-content .lead {
  font-size: 1.25rem;
  font-weight: 500;
  color: #1e293b;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.article-content p {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.article-content h3 {
  font-size: 1.15rem;
  color: #0f172a;
  margin: 2rem 0 0.75rem;
  font-weight: 700;
}

/* Consultation Card */
.consultation-card {
  max-width: 720px;
  margin: 0 auto;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.consultation-card h3 {
  font-size: 1.2rem;
  color: #0f172a;
  margin-bottom: 0.3rem;
}

.consultation-card p {
  font-size: 0.95rem;
  color: #64748b;
  margin: 0;
}

.consultation-btn {
  background: var(--accent-gradient);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.consultation-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(139, 92, 246, 0.4);
}

/* Article Responsive */
@media (max-width: 768px) {
  .article-hero {
    height: 340px;
    margin-top: 60px;
  }

  .article-hero h1 {
    font-size: 1.8rem;
  }

  .article-meta-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .consultation-card {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .consultation-btn {
    width: 100%;
    text-align: center;
  }

  .article-body {
    padding: 2rem 0 3rem;
  }
}

/* Statistics tag color for article hero */
.article-tag.statistics-tag {
  background: linear-gradient(135deg, #6d28d9, #5b21b6);
}

/* Psychology tag color */
.article-tag.psychology-tag {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
}





/* ===== FINAL MOBILE FLOATING CARDS - SIDE BY SIDE ===== */
@media (max-width: 768px) {
  .hero-image-wrapper {
    position: relative !important;
  }

  .floating-card {
    position: absolute !important;
    top: auto !important;
    bottom: 0.7rem !important;
    width: 46% !important;
    max-width: 46% !important;
    padding: 0.65rem 0.75rem !important;
    z-index: 20 !important;
  }

  .floating-card-left {
    left: 0.4rem !important;
    right: auto !important;
  }

  .floating-card-right {
    right: 0.4rem !important;
    left: auto !important;
  }

  .floating-card .label {
    font-size: 0.6rem !important;
    margin-bottom: 0.2rem !important;
  }

  .floating-card p {
    font-size: 0.72rem !important;
    line-height: 1.3 !important;
  }
}



/* ============================================
   MOBILE SIDE MENU - FROM THE LEFT
   ============================================ */

.mobile-close {
  display: none; /* hidden on desktop by default */
}

/* ============================================
   MOBILE SIDE MENU - FROM THE RIGHT (Beautified)
   ============================================ */

.mobile-close {
  display: none; /* hidden on desktop */
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block !important;
    z-index: 1100;
  }

  .nav-links {
    display: flex !important;
    flex-direction: column;
    position: fixed !important;
    top: 0;
    right: -100%;                /* hidden off-screen to the RIGHT */
    left: auto;
    width: 300px;
    height: 100vh;
    background: linear-gradient(180deg, #0f172a 0%, #0a0e17 100%);
    backdrop-filter: blur(24px);
    border-left: 1px solid rgba(148, 163, 184, 0.12);
    padding: 5.5rem 1.75rem 2.5rem;
    gap: 0.35rem;
    z-index: 1050;
    transition: right 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -15px 0 50px rgba(0, 0, 0, 0.5);
    margin: 0;
  }

  .nav-links.open {
    right: 0;                    /* slides in from the right */
  }

  .nav-links li {
    list-style: none;
  }

  .nav-links a {
    display: block;
    padding: 1rem 1.1rem;
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 12px;
    transition: all 0.25s ease;
  }

  .nav-links a:hover {
    background: rgba(139, 92, 246, 0.12);
    color: #ffffff;
    padding-left: 1.4rem;
  }

  .nav-links a.active {
    background: linear-gradient(90deg, rgba(225, 29, 72, 0.15), rgba(139, 92, 246, 0.15));
    color: #ffffff;
    font-weight: 600;
  }

  .nav-links a.active::after {
    display: none;
  }

  /* Close (X) button */
  .mobile-close {
    display: block !important;
    position: absolute;
    top: 1.4rem;
    right: 1.4rem;
    list-style: none;
  }

  .mobile-close button {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.25s ease;
  }

  .mobile-close button:hover {
    background: rgba(225, 29, 72, 0.15);
    border-color: rgba(225, 29, 72, 0.4);
    color: #e11d48;
    transform: rotate(90deg);
  }
}



/* Hero height on mobile */
@media (max-width: 768px) {
  .hero {
    min-height: 90vh !important;
    padding-top: 5.5rem;
    padding-bottom: 2rem;
  }
}


/* ============================================
   TESTIMONIALS SLIDER
   ============================================ */

.testimonials {
  padding: 6rem 0;
  background: linear-gradient(180deg, transparent, rgba(17, 24, 39, 0.4), transparent);
}

.testimonials .section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.testimonials-slider-wrapper {
  position: relative;
  overflow: hidden;
}

.testimonials-slider {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 100%;
  max-width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 0 0.5rem;
  box-sizing: border-box;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: white;
  flex-shrink: 0;
}

.testimonial-header h4 {
  font-size: 1.1rem;
  margin-bottom: 0.15rem;
}

.testimonial-header span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.stars {
  margin-left: auto;
  color: #fbbf24;
  font-size: 1rem;
  letter-spacing: 1px;
}

.testimonial-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex-grow: 1;
}

.verified {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--success);
}

/* Controls */
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2.25rem;
}

.slider-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.slider-btn:hover {
  background: rgba(139, 92, 246, 0.15);
  border-color: var(--accent-purple);
  transform: scale(1.08);
}

.slider-dots {
  display: flex;
  gap: 0.55rem;
}

.slider-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.35);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: var(--accent-gradient);
  width: 26px;
  border-radius: 10px;
}

/* Responsive - show 2 cards on tablet */
@media (min-width: 769px) {
  .testimonial-card {
    flex: 0 0 calc(50% - 1rem);
  }
}

@media (max-width: 768px) {
  .testimonials {
    padding: 4.5rem 0;
  }

  .testimonial-card {
    padding: 1.6rem;
    margin: 0;
  }

  .testimonial-text {
    font-size: 0.98rem;
  }
}