/* Modal Styling (Case Study & Article Readers) */
    .modal-overlay {
      position: fixed;
      inset: 0;
      background: rgba(8, 23, 48, 0.75);
      backdrop-filter: blur(6px);
      -webkit-backdrop-filter: blur(6px);
      z-index: 999;
      display: none;
      place-items: center;
      padding: 20px;
      opacity: 0;
      transition: opacity 0.25s ease;
    }
    .modal-overlay.open {
      display: grid;
      opacity: 1;
    }
    .modal-dialog {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 16px;
      width: 100%;
      max-width: 760px;
      max-height: 90vh;
      overflow-y: auto;
      box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
      position: relative;
      animation: modalSlide 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }
    @keyframes modalSlide {
      from { transform: translateY(20px) scale(0.97); }
      to { transform: translateY(0) scale(1); }
    }
    .modal-header {
      padding: 24px 28px;
      border-bottom: 1px solid var(--border);
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      position: sticky;
      top: 0;
      background: var(--bg-card);
      z-index: 10;
    }
    .modal-title-box h3 {
      font-size: 20px;
      font-weight: 800;
      color: var(--text);
      line-height: 1.3;
      margin-bottom: 4px;
    }
    .modal-title-box span {
      font-size: 12.5px;
      font-weight: 700;
      color: var(--green);
      text-transform: uppercase;
      letter-spacing: 1px;
    }
    .modal-close-btn {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: var(--bg-alt);
      border: 1px solid var(--border);
      color: var(--text);
      display: grid;
      place-items: center;
      font-size: 18px;
      transition: all 0.2s ease;
      flex-shrink: 0;
    }
    .modal-close-btn:hover {
      background: #e53e3e;
      color: #fff;
      border-color: #e53e3e;
    }
    .modal-body {
      padding: 28px;
      font-size: 15px;
      color: var(--text);
      line-height: 1.65;
    }
    .modal-body h4 {
      font-size: 16px;
      font-weight: 800;
      color: var(--text);
      margin: 22px 0 8px;
    }
    .modal-body h4:first-child {
      margin-top: 0;
    }
    .modal-body p {
      color: var(--text-muted);
      margin-bottom: 14px;
    }
    .modal-body ul {
      padding-left: 20px;
      margin-bottom: 16px;
      color: var(--text-muted);
    }
    .modal-body li {
      margin-bottom: 6px;
    }
    .modal-tag-badge {
      display: inline-block;
      background: var(--green-subtle);
      border: 1px solid rgba(0, 143, 93, 0.4);
      color: var(--green);
      padding: 4px 12px;
      border-radius: 6px;
      font-size: 13px;
      font-weight: 700;
      margin-bottom: 12px;
    }

    /* Floating WhatsApp Button */
    .wa-float {
      position: fixed;
      bottom: 28px;
      right: 28px;
      z-index: 90;
      display: flex;
      align-items: center;
      gap: 10px;
      background: #25d366;
      color: #ffffff;
      padding: 12px 20px;
      border-radius: 99px;
      font-weight: 700;
      font-size: 14px;
      box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
      transition: all 0.25s ease;
      text-decoration: none;
    }
    .wa-float:hover {
      transform: translateY(-4px) scale(1.02);
      box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
      color: #ffffff;
    }
    .wa-icon-svg {
      width: 24px;
      height: 24px;
      fill: currentColor;
    }
    .wa-pulse {
      position: absolute;
      inset: -4px;
      border-radius: 99px;
      background: #25d366;
      opacity: 0.35;
      animation: waPulseAnim 2s infinite ease-out;
      z-index: -1;
    }
    @keyframes waPulseAnim {
      0% { transform: scale(0.95); opacity: 0.5; }
      100% { transform: scale(1.15); opacity: 0; }
    }

    /* Mobile Drawer */
    .mobile-drawer {
      position: fixed;
      top: 74px;
      left: 0;
      right: 0;
      bottom: 0;
      background: var(--bg);
      z-index: 95;
      padding: 24px;
      display: none;
      flex-direction: column;
      gap: 20px;
      overflow-y: auto;
      border-top: 1px solid var(--border);
    }
    .mobile-drawer.open {
      display: flex;
    }
    .mobile-drawer a {
      font-size: 18px;
      font-weight: 700;
      color: var(--text);
      padding: 10px 0;
      border-bottom: 1px solid var(--border-light);
    }
    .mobile-drawer a:hover {
      color: var(--green);
    }

    /* Corporate Legalities & Governance */
    .about-history-box {
      margin-bottom: 24px;
    }
    .about-history-box h3 {
      font-size: 18px;
      font-weight: 800;
      color: var(--text);
      margin-bottom: 8px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .legal-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 20px 22px;
      margin: 24px 0 28px;
      box-shadow: var(--shadow);
    }
    .legal-title {
      font-size: 15px;
      font-weight: 800;
      color: var(--text);
      margin-bottom: 8px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .legal-desc {
      font-size: 13.5px;
      color: var(--text-muted);
      margin-bottom: 14px;
      line-height: 1.5;
    }
    .legal-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 10px;
    }
    .legal-item {
      display: flex;
      flex-direction: column;
      background: var(--bg-alt);
      border: 1px solid var(--border-light);
      padding: 8px 12px;
      border-radius: 8px;
      font-size: 12.5px;
    }
    .legal-item span.label {
      font-weight: 800;
      color: var(--green);
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }
    .legal-item span.val {
      font-weight: 600;
      color: var(--text);
    }

    /* Technical Standards Keyword Box (Services SEO) */
    .service-standards-box {
      background: var(--bg-alt);
      border-left: 3px solid var(--amber);
      padding: 10px 14px;
      border-radius: 0 8px 8px 0;
      margin: 14px 0 16px;
      font-size: 12.5px;
    }
    .service-standards-label {
      font-weight: 800;
      color: var(--amber);
      display: block;
      margin-bottom: 2px;
      text-transform: uppercase;
      font-size: 11px;
      letter-spacing: 0.5px;
    }
    .service-standards-keywords {
      color: var(--text);
      font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
      font-size: 11.5px;
      line-height: 1.45;
    }

    /* Project Status & Metrics Badges */
    .project-status-tag {
      position: absolute;
      top: 14px;
      right: 14px;
      font-size: 11px;
      font-weight: 800;
      padding: 4px 10px;
      border-radius: 6px;
      letter-spacing: 0.5px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    }
    .project-status-tag.completed {
      background: #008f5d;
      color: #ffffff;
    }
    .project-status-tag.ongoing {
      background: #c58b2a;
      color: #ffffff;
    }
    .project-client-name {
      font-size: 12px;
      color: var(--text-muted);
      font-weight: 600;
      margin-bottom: 6px;
    }
    .project-metrics-badge {
      background: var(--green-subtle);
      border: 1px solid rgba(0, 143, 93, 0.4);
      color: var(--green);
      padding: 6px 12px;
      border-radius: 6px;
      font-size: 12px;
      font-weight: 800;
      margin: 12px 0;
      display: inline-block;
      line-height: 1.4;
    }

    /* Testimonial Corporate Credibility */
    .testimonial-badge-verified {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      font-size: 11px;
      font-weight: 800;
      color: var(--green);
      background: var(--green-subtle);
      border: 1px solid rgba(0, 143, 93, 0.3);
      padding: 2px 8px;
      border-radius: 99px;
      margin-bottom: 12px;
      width: fit-content;
    }
    .author-credentials {
      font-size: 11.5px;
      color: var(--amber);
      font-weight: 700;
      margin-top: 2px;
    }


/* ===== CAPTCHA WIDGET ===== */
.captcha-wrapper {
  margin: 18px 0;
}
.captcha-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--bg-secondary, #f7fafc);
  border: 1.5px solid var(--border-color, #e2e8f0);
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
  transition: border-color .25s, box-shadow .25s;
  position: relative;
  min-height: 60px;
}
.captcha-box:hover { border-color: var(--accent-blue, #3182ce); }
.captcha-box.verified { border-color: #38a169; background: rgba(56,161,105,.06); }
.captcha-box.error-shake {
  border-color: #e53e3e;
  animation: captchaShake .4s ease;
}
@keyframes captchaShake {
  0%,100%{transform:translateX(0)}
  20%{transform:translateX(-6px)}
  40%{transform:translateX(6px)}
  60%{transform:translateX(-4px)}
  80%{transform:translateX(4px)}
}
.captcha-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}
.captcha-check {
  width: 26px;
  height: 26px;
  border-radius: 4px;
  border: 2px solid #718096;
  background: #fff;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s, background .2s;
  position: relative;
}
.captcha-box.verifying .captcha-check { border-color: #3182ce; }
.captcha-box.verified .captcha-check { border-color: #38a169; background: #38a169; }
.captcha-spinner {
  display: none;
  width: 16px; height: 16px;
  border: 2px solid #c3dafe;
  border-top-color: #3182ce;
  border-radius: 50%;
  animation: captchaSpin .7s linear infinite;
}
@keyframes captchaSpin { to{transform:rotate(360deg)} }
.captcha-box.verifying .captcha-spinner { display: block; }
.captcha-checkmark {
  display: none;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}
.captcha-box.verified .captcha-checkmark { display: block; }
.captcha-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary, #1a202c);
  line-height: 1.3;
}
.captcha-label small {
  display: block;
  font-size: 11.5px;
  font-weight: 400;
  color: var(--text-muted, #718096);
  margin-top: 2px;
}
.captcha-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
  margin-left: 10px;
}
.captcha-brand-logo {
  font-size: 20px;
  line-height: 1;
}
.captcha-brand-text {
  font-size: 9px;
  font-weight: 700;
  color: var(--text-muted,#718096);
  letter-spacing: .5px;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
}
.captcha-error-msg {
  display: none;
  color: #e53e3e;
  font-size: 13px;
  margin-top: 6px;
  padding: 6px 10px;
  background: rgba(229,62,62,.08);
  border-radius: 6px;
  font-weight: 500;
}

/* Form Submit Loading Spinner */
.btn-spinner {
  display: inline-block;
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: btnSpin .7s linear infinite;
  vertical-align: middle;
  margin-right: 8px;
}
@keyframes btnSpin { to { transform: rotate(360deg); } }

/* Core Values 5 Pillars Infographic */
.values-graphic-box {
  margin-bottom: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}
.values-graphic-img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}
