/* Extracted from the static site's inline <style> block.
   Used by: raheel-ahmed-munshi.html */

/* ==========================================================================
       FLAGSHIP FOUNDER DOSSIER — RAHEEL AHMED MUNSHI (raheel-ahmed-munshi.html)
       Skills Matrix, Official Certifications Vault & Career Achievements Bento
       ========================================================================== */
    body.al-loaded .ram-hero .container { opacity: 1 !important; transform: none !important; }
    .navbar .nav-pill a { white-space: nowrap; padding: 6px 14px; }

    /* ---------- 1. Executive Dossier Hero ---------- */
    .ram-hero {
      position: relative;
      padding-top: 175px;
      padding-bottom: 90px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      overflow: hidden;
    }
    .ram-hero-glow {
      position: absolute;
      top: -12%;
      right: 2%;
      width: 52vw;
      height: 44vw;
      background: radial-gradient(circle, rgba(190, 22, 22, 0.22) 0%, rgba(193, 255, 114, 0.08) 45%, transparent 70%);
      filter: blur(90px);
      pointer-events: none;
    }
    .ram-hero-grid {
      display: grid;
      grid-template-columns: 1.14fr 0.86fr;
      gap: 56px;
      align-items: center;
    }
    .ram-status-pill {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-size: 12px;
      font-weight: 600;
      color: #fff;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(193, 255, 114, 0.35);
      padding: 7px 16px;
      border-radius: 999px;
      margin-bottom: 22px;
    }
    .ram-status-pill .pulse-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--main-color);
      box-shadow: 0 0 12px var(--main-color);
    }
    .ram-hero h1 {
      font-size: clamp(40px, 5vw, 68px);
      font-weight: 700;
      line-height: 1.06;
      letter-spacing: -0.035em;
      color: #fff;
      margin-bottom: 16px;
    }
    .ram-title-tags {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 8px;
      margin-bottom: 24px;
    }
    .ram-title-tags span {
      font-size: 12.5px;
      font-weight: 600;
      color: rgba(255, 255, 255, 0.9);
      background: #171A20;
      border: 1px solid rgba(255, 255, 255, 0.11);
      padding: 6px 14px;
      border-radius: 999px;
    }
    .ram-title-tags span.lime-tag {
      background: rgba(193, 255, 114, 0.12);
      border-color: rgba(193, 255, 114, 0.4);
      color: var(--main-color);
    }
    .ram-bio-lead {
      font-size: 16px;
      line-height: 1.68;
      color: rgba(255, 255, 255, 0.76);
      max-width: 54ch;
      margin-bottom: 32px;
    }
    .ram-bio-lead b { color: #fff; font-weight: 600; }

    /* Social & Direct Connect Row */
    .ram-social-bar {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 42px;
    }
    .ram-soc-btn {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      background: #16191E;
      border: 1px solid rgba(255, 255, 255, 0.16);
      color: #fff;
      font-size: 13px;
      font-weight: 600;
      padding: 11px 20px;
      border-radius: 999px;
      transition: all 0.25s ease;
    }
    .ram-soc-btn:hover {
      background: var(--main-color);
      border-color: var(--main-color);
      color: #0d0e10;
      transform: translateY(-2px);
      box-shadow: 0 10px 25px rgba(193, 255, 114, 0.35);
    }
    .ram-soc-btn.primary-lime {
      background: var(--main-color);
      border-color: var(--main-color);
      color: #0d0e10;
    }

    /* 4-Column Impact Strip Under Hero Left */
    .ram-kpi-row {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
      padding-top: 28px;
      border-top: 1px solid rgba(255, 255, 255, 0.12);
    }
    .ram-kpi-item b {
      display: block;
      font-size: clamp(26px, 2.8vw, 36px);
      font-weight: 800;
      color: #fff;
      letter-spacing: -0.03em;
      line-height: 1;
      margin-bottom: 6px;
    }
    .ram-kpi-item b small { color: var(--main-color); font-size: 0.75em; }
    .ram-kpi-item span {
      font-size: 11px;
      color: var(--al-muted);
      text-transform: uppercase;
      letter-spacing: 0.05em;
      line-height: 1.35;
      display: block;
    }

    /* Right Portrait Dossier Card */
    .ram-dossier-stage {
      position: relative;
      padding: 12px;
    }
    .ram-portrait-card {
      position: relative;
      height: 580px;
      border-radius: 26px;
      overflow: hidden;
      background: #3d0909;
      border: 1px solid rgba(255, 255, 255, 0.16);
      box-shadow: 0 36px 85px rgba(0, 0, 0, 0.75);
    }
    .ram-portrait-card .p-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center top;
    }
    .ram-portrait-card::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(9, 10, 13, 0.95) 0%, rgba(9, 10, 13, 0.3) 38%, transparent 68%);
    }
    .ram-top-mark {
      position: absolute;
      top: 24px;
      left: 24px;
      width: 48px;
      z-index: 3;
    }
    .ram-verified-pill {
      position: absolute;
      top: 24px;
      right: 24px;
      z-index: 3;
      background: rgba(13, 14, 16, 0.82);
      backdrop-filter: blur(12px);
      border: 1px solid rgba(193, 255, 114, 0.45);
      color: var(--main-color);
      font-size: 11.5px;
      font-weight: 700;
      padding: 6px 14px;
      border-radius: 99px;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    /* Floating Credential Chips Around Portrait */
    .ram-float-chip {
      position: absolute;
      background: rgba(18, 20, 25, 0.92);
      backdrop-filter: blur(16px);
      border: 1px solid rgba(255, 255, 255, 0.18);
      border-radius: 16px;
      padding: 12px 16px;
      display: flex;
      align-items: center;
      gap: 12px;
      box-shadow: 0 20px 45px rgba(0, 0, 0, 0.65);
      z-index: 4;
    }
    .ram-float-chip img { width: 36px; height: auto; flex-shrink: 0; }
    .ram-float-chip b { display: block; font-size: 13px; color: #fff; line-height: 1.2; }
    .ram-float-chip small { font-size: 10.5px; color: var(--main-color); font-weight: 600; }
    .ram-float-chip.fc-left { top: 38%; left: -18px; }
    .ram-float-chip.fc-right { bottom: 130px; right: -16px; }

    .ram-portrait-foot {
      position: absolute;
      bottom: 24px;
      left: 26px;
      right: 26px;
      z-index: 3;
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 14px;
    }
    .ram-signature {
      font-family: "Playfair Display", Georgia, serif;
      font-style: italic;
      font-size: 28px;
      color: var(--main-color);
      line-height: 1;
      margin-bottom: 4px;
    }

    /* ---------- 2. Official Certifications & Credentials Vault ---------- */
    .ram-certs-sec {
      padding: 115px 0;
    }
    .ram-certs-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 22px;
      margin-top: 56px;
    }
    .ram-cert-card {
      background: #15171B;
      border: 1px solid rgba(255, 255, 255, 0.09);
      border-radius: 22px;
      padding: 32px 28px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      position: relative;
      overflow: hidden;
      transition: transform 0.3s ease, border-color 0.3s ease;
    }
    .ram-cert-card:hover {
      transform: translateY(-5px);
      border-color: var(--main-color);
    }
    .ram-cert-card.is-featured {
      background: linear-gradient(155deg, rgba(193, 255, 114, 0.1) 0%, #15171B 60%);
      border-color: rgba(193, 255, 114, 0.35);
    }
    .cert-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 22px;
    }
    .cert-badge-ico {
      width: 54px;
      height: 54px;
      border-radius: 14px;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.12);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 10px;
    }
    .cert-badge-ico img,
    .cert-badge-ico svg {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }
    .cert-verified {
      font-size: 10.5px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: var(--main-color);
      background: rgba(193, 255, 114, 0.1);
      border: 1px solid rgba(193, 255, 114, 0.28);
      padding: 4px 11px;
      border-radius: 99px;
    }
    .ram-cert-card h4 {
      font-size: 20px;
      font-weight: 600;
      color: #fff;
      margin-bottom: 8px;
    }
    .ram-cert-card p {
      font-size: 13.5px;
      line-height: 1.58;
      color: rgba(255, 255, 255, 0.7);
      margin-bottom: 20px;
    }
    .cert-meta {
      padding-top: 14px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: 11.5px;
      color: var(--al-muted);
    }
    .cert-meta b { color: #fff; }

    /* ---------- 3. Skills & Technical Mastery Matrix (Animated Bars) ---------- */
    .ram-skills-sec {
      padding: 115px 0;
      background: #111316;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .ram-skills-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 32px;
      margin-top: 56px;
    }
    .skill-domain-card {
      background: #16181C;
      border: 1px solid rgba(255, 255, 255, 0.09);
      border-radius: 24px;
      padding: 36px 34px;
    }
    .sd-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 26px;
      padding-bottom: 18px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    }
    .sd-top h4 {
      font-size: 22px;
      font-weight: 600;
      margin: 0;
    }
    .sd-top span {
      font-family: "Playfair Display", Georgia, serif;
      font-style: italic;
      font-size: 20px;
      color: var(--main-color);
    }
    .skill-bar-list {
      display: flex;
      flex-direction: column;
      gap: 18px;
    }
    .s-bar-item .s-bar-head {
      display: flex;
      justify-content: space-between;
      font-size: 13.5px;
      margin-bottom: 7px;
    }
    .s-bar-item .s-bar-head b { color: #fff; font-weight: 500; }
    .s-bar-item .s-bar-head span { color: var(--main-color); font-weight: 700; }
    .s-bar-track {
      width: 100%;
      height: 7px;
      background: rgba(255, 255, 255, 0.07);
      border-radius: 99px;
      overflow: hidden;
    }
    .s-bar-fill {
      height: 100%;
      width: 0%;
      border-radius: 99px;
      background: linear-gradient(90deg, #18E299 0%, #C1FF72 100%);
      transition: width 1.3s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .skill-tool-chips {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-top: 24px;
      padding-top: 18px;
      border-top: 1px solid rgba(255, 255, 255, 0.07);
    }
    .skill-tool-chips span {
      font-size: 11px;
      color: rgba(255, 255, 255, 0.85);
      background: #1F2228;
      border: 1px solid rgba(255, 255, 255, 0.08);
      padding: 4px 11px;
      border-radius: 99px;
    }

    /* ---------- 4. Key Career Achievements & Milestones Bento ---------- */
    .ram-achieve-sec {
      padding: 115px 0;
    }
    .achieve-bento-grid {
      display: grid;
      grid-template-columns: repeat(12, 1fr);
      gap: 24px;
      margin-top: 56px;
    }
    .ach-card {
      background: #15171A;
      border: 1px solid rgba(255, 255, 255, 0.09);
      border-radius: 24px;
      padding: 38px 34px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      position: relative;
      overflow: hidden;
      transition: border-color 0.3s ease, transform 0.3s ease;
    }
    .ach-card:hover {
      border-color: rgba(193, 255, 114, 0.45);
      transform: translateY(-4px);
    }
    .ach-card.span-7 { grid-column: span 7; }
    .ach-card.span-5 { grid-column: span 5; }
    .ach-card.span-4 { grid-column: span 4; }
    .ach-card.is-lime-accent {
      background: linear-gradient(145deg, rgba(193, 255, 114, 0.12) 0%, #15171A 62%);
      border-color: rgba(193, 255, 114, 0.35);
    }
    .ach-year-tag {
      display: inline-block;
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.07em;
      color: var(--main-color);
      margin-bottom: 14px;
    }
    .ach-big-metric {
      font-size: clamp(38px, 4.2vw, 56px);
      font-weight: 800;
      color: #fff;
      letter-spacing: -0.04em;
      line-height: 1;
      margin-bottom: 14px;
    }
    .ach-big-metric span { color: var(--main-color); }
    .ach-card h4 {
      font-size: 23px;
      font-weight: 600;
      margin-bottom: 10px;
      color: #fff;
    }
    .ach-card p {
      font-size: 14px;
      line-height: 1.62;
      color: rgba(255, 255, 255, 0.72);
      margin: 0;
    }

    @media (max-width: 1199px) {
      .ram-certs-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 991px) {
      .ram-hero-grid,
      .ram-skills-grid,
      .ram-certs-grid {
        grid-template-columns: 1fr;
      }
      .ram-kpi-row {
        grid-template-columns: repeat(2, 1fr);
      }
      .ach-card.span-7,
      .ach-card.span-5,
      .ach-card.span-4 {
        grid-column: span 12;
      }
      .ram-float-chip.fc-left { left: 10px; top: 80px; }
      .ram-float-chip.fc-right { right: 10px; bottom: 110px; }
    }
