/*
 * Styles for Democracy_research_lab.php
 * Extracted from the PHP page without changing selectors or declaration order.
 */

/* Extracted from Democracy_research_lab.php - style block 1 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --blue-400: #60a5fa;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --blue-800: #1e3a8a;
    /* Inter now used for both headings and body content */
    --font-serif: 'Inter', Georgia, "Times New Roman", Times, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  }
  body {
    background-color: #ffffff;
    font-family: var(--font-sans);
  }
  /* ---- Content Sections ---- */
  .content-section {
    padding: 40px 0 46px 0px;
  }

  #section-path {
    background-color: #ffffff;
  }

  #section-democracy-measurement {
    background-color: #f8fafc;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
  }

  #section-three-tools {
    background-color: #ffffff;
  }

  #section-truth-to-transformation {
    background-color: #f8fafc;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
  }

  #section-people-project {
    background-color: #ffffff;
  }

  #section-truth-seeker {
    background-color: #f8fafc;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
  }
  /* ---- Arrow-shaped eyebrow banner (used for "The Path" + section numbering) ---- */
  .eyebrow-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #445c91;
    color: #fff;
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 8px 26px 8px 16px;
    clip-path: polygon(0 0, 88% 0, 100% 50%, 88% 100%, 0 100%);
    margin-bottom: 18px;
    /*width: 54%;*/
  }
  /* ---- Section heading: centered, Inter font, blue divider lines either side ---- */
  .section-title {
    /*display: flex;*/
    /*align-items: center;*/
    /*justify-content: center;*/
    gap: 14px;
    /*text-align: center;*/
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--blue-700);
    margin: 0 auto 20px;
    max-width: 720px;
  }
 
  .highlight { color: var(--blue-600); }
  .section-sub { font-size: 1.05rem; color: #475569; max-width: 640px; margin-bottom: 20px; }
  /* Highlighted arrow-style tagline (e.g. "Truth is the path when all paths are obscured") */
  .tagline-highlight {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.25rem;
    color: var(--blue-700);
    background: #eff6ff;
    border-left: 4px solid var(--blue-600);
    padding: 10px 18px;
    margin: 16px 0 26px;
    position: relative;
  }
  .tagline-highlight::before {
    content: "\f061"; /* fa-arrow-right */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--blue-500);
    margin-right: 10px;
  }
  .quote-block {
    background: #eff6ff;
    border-left: 4px solid var(--blue-600);
    padding: 18px 22px;
    margin: 24px 0;
    font-style: italic;
    color: var(--blue-800);
  }
  .quote-block cite { display: block; margin-top: 8px; font-style: normal; font-size: 0.85rem; color: #64748b; }
    .quote-block1 {
    background: #00000012;
    /*border-left: 4px solid var(--blue-600);*/
    padding: 18px 22px;
    margin: 24px 0;
    font-style: italic;
    color: var(--blue-800);
  }
  .quote-block1 cite { display: block; margin-top: 8px; font-style: normal; font-size: 0.85rem; color: #64748b; }
  .pillar-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 18px 0; }
  .pillar-item { background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; padding: 14px 16px; display: flex; align-items: center; gap: 10px; }
  .pillar-item i { color: var(--blue-500); }
  /* ---- Fixed list markers: right-pointing arrow instead of default dot, font untouched ---- */
  ul.arrow-list { list-style: none; margin: 14px 0; padding: 0; }
  ul.arrow-list li { position: relative; padding-left: 28px; margin-bottom: 10px; }
  .two-col-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 20px 0; }
  .col h4 { font-family: var(--font-serif); color: var(--blue-800); display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
  .col h4 i { color: var(--blue-500); }
  .blue-accent-box { background: #eff6ff; border-radius: 10px; padding: 16px 20px; margin: 16px 0; }
  .grid-2-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 20px 0; }
  .card { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 20px; }
  .card h5 { margin-top: 0; color: var(--blue-800); }
  .card-danger { background: #fef2f2; border-color: #fecaca; }
  .card-danger h5 { color: #b91c1c; }
  @media (max-width: 680px) {
    .two-col-layout, .grid-2-compare { grid-template-columns: 1fr; }
  }
  .imagesdata img{
    width: 100%;
    height: auto;
  }

  /* =========================================================
     MOBILE RESPONSIVE ADDITIONS ONLY
     (nothing above this line was changed)
     Breakpoints: 992px, 768px, 480px
     ========================================================= */

  @media (max-width: 992px) {
    .content-section { padding: 48px 0; }
  }

  @media (max-width: 768px) {
    .content-section { padding: 36px 0; }

    .eyebrow-arrow {
      font-size: 16px;
      padding: 7px 20px 7px 14px;
      gap: 6px;
      clip-path: polygon(0 0, 92% 0, 100% 50%, 92% 100%, 0 100%);
      margin-bottom: 14px;
    }

    .section-title { font-size: 1.25rem; margin-bottom: 10px; gap: 10px; }
    .section-title::before,
    .section-title::after { max-width: 70px; }
    .section-sub { font-size: 0.98rem; max-width: 100%; margin-bottom: 16px; }

    .tagline-highlight {
      font-size: 1.05rem;
      padding: 9px 14px;
      margin: 14px 0 20px;
    }

    .quote-block,
    .quote-block1 {
      padding: 14px 16px;
      margin: 18px 0;
      font-size: 0.95rem;
    }

    .pillar-grid {
      grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
      gap: 10px;
      margin: 14px 0;
    }
    .pillar-item { padding: 12px 14px; }

    ul.arrow-list li { padding-left: 24px; margin-bottom: 8px; }

    .two-col-layout, .grid-2-compare { gap: 20px; }

    .blue-accent-box { padding: 14px 16px; margin: 12px 0; }

    .card { padding: 16px; }
  }

  @media (max-width: 480px) {
    .content-section { padding: 28px 0; }

    .eyebrow-arrow {
      font-size: 13px;
      letter-spacing: 0.05em;
      padding: 6px 20px 6px 12px;
      gap: 5px;
      clip-path: polygon(0 0, 88% 0, 100% 50%, 88% 100%, 0 100%);
    }

    .section-title { font-size: 1.1rem; gap: 8px; }
    .section-title::before,
    .section-title::after { max-width: 40px; }
    .section-sub { font-size: 0.92rem; }

    .tagline-highlight { font-size: 0.95rem; padding: 8px 12px; }
    .tagline-highlight::before { margin-right: 6px; }

    .quote-block,
    .quote-block1 { padding: 12px 14px; font-size: 0.9rem; }

    .pillar-grid { grid-template-columns: 1fr; gap: 8px; }

    .two-col-layout, .grid-2-compare { gap: 14px; }

    .card { padding: 14px; }
  }



/* ===== Democracy Comparison Table Styling ===== */
.table-responsive-wrapper {
    width: 100%;
    overflow-x: auto;
    margin: 20px 0 30px;
    -webkit-overflow-scrolling: touch;
}

.democracy-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    background-color: #ffffff;
}

.democracy-table thead th {
    background-color: #000000;
    color: #ffffff;
    text-align: left;
    padding: 14px 16px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.democracy-table thead th:first-child {
    text-align: center;
    width: 70px;
}

.democracy-table tbody tr {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
}

.democracy-table tbody tr:nth-child(even) {
    background-color: #f7f7f7;
}

.democracy-table tbody td {
    padding: 12px 16px;
    color: #222222;
    font-size: 14.5px;
    vertical-align: top;
}

.democracy-table tbody td:first-child {
    text-align: center;
    font-weight: 600;
    color: #000000;
}

.democracy-table tbody tr:hover {
    background-color: #eeeeee;
}

/* ===== Mobile Responsive: Numbered Card view below 768px ===== */
@media (max-width: 767px) {

    .table-responsive-wrapper {
        overflow-x: visible;
    }

    .democracy-table {
        min-width: 100%;
        border-collapse: separate;
        border-spacing: 0;
    }

    .democracy-table thead {
        display: none;
    }

    .democracy-table tbody {
        counter-reset: rownum;
    }

    .democracy-table tbody tr {
        counter-increment: rownum;
        position: relative;
        display: grid;
        grid-template-columns: 1fr 1fr;
        background-color: #ffffff;   /* no green/pink - plain white */
        border: 2px solid #000000;
        border-radius: 10px;
        margin-top: 22px;
        margin-bottom: 6px;
    }

    /* Numbered circle badge - like the reference image */
    .democracy-table tbody tr::before {
        content: counter(rownum);
        position: absolute;
        top: -18px;
        left: 14px;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background-color: #ffffff;
        border: 2px solid #000000;
        color: #000000;
        font-weight: 700;
        font-size: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 2;
    }

    /* Hide S.NO column text - number now shows as circle badge */
    .democracy-table tbody tr td:first-child {
        display: none;
    }

    .democracy-table tbody td {
        display: flex;
        flex-direction: column;
        padding: 16px 0px;
        background-color: transparent;   /* no colored backgrounds */
        color: #222222;                  /* normal content color */
        font-size: 14px;
        /*font-weight: 500;*/
    }

    /* Divider line between the two columns */
    .democracy-table tbody td:nth-child(2) {
        border-right: 2px solid #000000;
    }

    /* Column headings - always black, bold, uppercase */
    .democracy-table tbody td::before {
        content: attr(data-label);
        font-weight: 700;
        color: #000000;
        font-size: 13px;
        text-transform: uppercase;
        letter-spacing: 0.3px;
        padding-bottom: 8px;
        margin-bottom: 8px;
        border-bottom: 2px solid #000000;
    }

    .democracy-table tbody tr:hover {
        background-color: #ffffff;
    }
}

.truth-seeker-block {
    margin-top: 30px;
}

.admin-panel-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 28px;
    background-color: #000000;
    color: #ffffff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
}

.admin-panel-btn:hover {
    background-color: #333333;
    color: #ffffff;
}
.subhead{
  font-size: 20px;
}
