
      .tool-card {
        background: #ffffff;
        border-radius: 1.25rem;
        padding: 1.2rem 0.5rem;
        min-height: 140px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: all 0.25s ease;
        box-shadow: 0 8px 20px rgba(0,0,0,0.08);
        border: 1px solid rgba(255,255,255,0.02);
        cursor: pointer;
      }
      .tool-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 36px rgba(0,0,0,0.18);
        background: #fafcff;
      }
      .tool-card i {
        font-size: 3.4rem;
        margin-bottom: 0.3rem;
        transition: transform 0.2s;
      }
      .tool-card:hover i {
        transform: scale(1.05);
      }
      .tool-card p {
        font-weight: 500;
        font-size: 0.95rem;
        color: #1e293b;
        margin-top: 0.4rem;
        letter-spacing: -0.01em;
      }
      /* custom icon colors (brand) */
      .fa-python { color: #3776AB; }
      .fa-pandas { color: #150458; }
      .fa-numpy { color: #013243; }
      .fa-database { color: #00758F; }   /* SQL */
      .fa-git-alt { color: #F05032; }
      .fa-github { color: #181717; }
      .fa-html5 { color: #E34F26; }
      .fa-css3-alt { color: #1572B6; }
      .fa-js { color: #F7DF1E; }
      .fa-tableau { color: #E97627; }
      .fa-power-bi { color: #F2C811; }
      .fa-jupyter { color: #F37626; }
  
      /* magnific popup overrides – keep clean */
      .mfp-bg {
        background: #0b0b0b;
        opacity: 0.85;
      }
      .mfp-close {
        color: #fff !important;
        font-size: 40px !important;
        opacity: 0.8;
      }
      .mfp-close:hover {
        opacity: 1;
      }
      .mfp-content {
        max-width: 560px;
        margin: 1.5rem auto;
      }
      .popup-card {
        background: #ffffff;
        border-radius: 2rem;
        padding: 2.2rem 2rem 2.5rem;
        text-align: center;
        box-shadow: 0 30px 60px rgba(0,0,0,0.5);
      }
      .popup-card i {
        font-size: 5.2rem;
        margin-bottom: 0.75rem;
      }
      .popup-card h3 {
        font-weight: 700;
        font-size: 2rem;
        letter-spacing: -0.02em;
        margin-bottom: 0.5rem;
        color: #0f172a;
      }
      .popup-card .badge-tech {
        background: #eef2ff;
        color: #1e293b;
        font-weight: 500;
        padding: 0.4rem 1.2rem;
        border-radius: 40px;
        font-size: 0.85rem;
        display: inline-block;
        margin-top: 0.2rem;
      }
      .popup-card p {
        color: #334155;
        font-size: 1.05rem;
        margin-top: 1.2rem;
        line-height: 1.5;
      }
      .popup-card .btn-close-popup {
        background: #f1f5f9;
        border: none;
        padding: 0.6rem 2rem;
        border-radius: 60px;
        font-weight: 600;
        color: #1e293b;
        transition: 0.2s;
        margin-top: 1rem;
      }
      .popup-card .btn-close-popup:hover {
        background: #e2e8f0;
      }
      /* small fix for grid */
      .col-6 {
        flex: 0 0 auto;
        width: 50%;
      }
      @media (min-width: 992px) {
        .col-lg-3 {
          flex: 0 0 auto;
          width: 25%;
        }
      }
      .mb-4 { margin-bottom: 1.5rem; }
      .text-secondary { color: #475569 !important; }
      .fw-medium { font-weight: 500; }
      .small { font-size: 0.9rem; }
      .bg-white { background-color: #fff; }
      .rounded { border-radius: 1rem; }
      .shadow-sm { box-shadow: 0 4px 12px rgba(0,0,0,0.04); }
      .mfp-fade {
        transition: all 0.2s ease-out;
      }
      .mfp-fade .mfp-content {
        opacity: 0;
        transform: scale(0.96);
        transition: all 0.25s ease;
      }
      .mfp-fade.mfp-ready .mfp-content {
        opacity: 1;
        transform: scale(1);
      }
      .mfp-fade.mfp-removing .mfp-content {
        opacity: 0;
        transform: scale(0.96);
      }
      /* custom icon for missing font-awesome brands: we use unicode or fallback, but we have custom classes */
      .fa-pandas:before { content: "\f0ce"; font-family: "Font Awesome 6 Free"; font-weight: 400; } /* database */
      .fa-numpy:before { content: "\f0c8"; font-family: "Font Awesome 6 Free"; font-weight: 400; } /* square */
      .fa-tableau:before { content: "\f080"; font-family: "Font Awesome 6 Free"; font-weight: 400; } /* chart-simple */
      .fa-power-bi:before { content: "\f080"; font-family: "Font Awesome 6 Free"; font-weight: 400; } /* chart-simple */
      .fa-jupyter:before { content: "\f121"; font-family: "Font Awesome 6 Free"; font-weight: 400; } /* code */
      /* give them distinct look */
      .fa-pandas, .fa-numpy, .fa-tableau, .fa-power-bi, .fa-jupyter {
        font-family: "Font Awesome 6 Free";
        font-weight: 400;
      }
      .fa-pandas { color: #150458; }
      .fa-numpy { color: #013243; }
      .fa-tableau { color: #E97627; }
      .fa-power-bi { color: #F2C811; }
      .fa-jupyter { color: #F37626; }