﻿:root {
      --primary: #003E85;
      --primary-2: #41A65E;
      --accent: #FFCA2C;
      --secondary: #1F97D7;
      --accent-2: #B3CE52;
      --ink: #122033;
      --muted: #5d6b7c;
      --line: rgba(0, 62, 133, .13);
      --panel: rgba(255, 255, 255, .78);
      --panel-solid: #ffffff;
      --bg: #f5f9fc;
      --shadow: 0 18px 48px rgba(0, 62, 133, .14);
      --radius: 8px;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      color: var(--ink);
      font-family: "Lato", Arial, sans-serif;
      background:
        radial-gradient(circle at 0 0, rgba(31, 151, 215, .16), transparent 34rem),
        linear-gradient(180deg, #eef7fc 0%, var(--bg) 34rem, #fff 100%);
      line-height: 1.55;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    a:focus-visible,
    button:focus-visible,
    input:focus-visible {
      outline: 3px solid rgba(255, 202, 44, .85);
      outline-offset: 3px;
    }

    .skip-link {
      left: 1rem;
      padding: .75rem 1rem;
      position: absolute;
      top: -5rem;
      z-index: 20;
      background: var(--primary);
      color: #fff;
      border-radius: var(--radius);
      transition: top .2s ease;
    }

    .skip-link:focus {
      top: 1rem;
    }

    .site-header {
      position: sticky;
      top: 0;
      z-index: 10;
      border-bottom: 1px solid rgba(255, 255, 255, .65);
      background: rgba(255, 255, 255, .78);
      backdrop-filter: blur(18px);
      box-shadow: 0 10px 32px rgba(0, 62, 133, .08);
    }

    .nav-wrap,
    .content-wrap,
    .footer-wrap {
      width: min(1120px, calc(100% - 2rem));
      margin-inline: auto;
    }

    .nav-wrap {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      min-height: 72px;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: .7rem;
      min-width: 0;
    }

    .brand img {
      width: 148px;
      max-width: 48vw;
      height: auto;
      display: block;
    }

    .nav-toggle {
      display: inline-grid;
      place-items: center;
      width: 44px;
      height: 44px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: #fff;
      color: var(--primary);
      cursor: pointer;
    }

    .nav-toggle span,
    .nav-toggle span::before,
    .nav-toggle span::after {
      display: block;
      width: 20px;
      height: 2px;
      background: currentColor;
      content: "";
      transition: transform .2s ease, opacity .2s ease;
    }

    .nav-toggle span::before {
      transform: translateY(-7px);
    }

    .nav-toggle span::after {
      transform: translateY(5px);
    }

    .nav-toggle[aria-expanded="true"] span {
      background: transparent;
    }

    .nav-toggle[aria-expanded="true"] span::before {
      background: var(--primary);
      transform: rotate(45deg);
    }

    .nav-toggle[aria-expanded="true"] span::after {
      background: var(--primary);
      transform: rotate(-45deg) translate(1px, -1px);
    }

    .site-nav {
      display: none;
      position: absolute;
      inset: 72px 1rem auto 1rem;
      padding: .5rem;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: rgba(255, 255, 255, .95);
      box-shadow: var(--shadow);
    }

    .site-nav.is-open {
      display: grid;
    }

    .site-nav a {
      padding: .85rem 1rem;
      border-radius: 6px;
      color: var(--primary);
      font-weight: 700;
    }

    .site-nav a:hover {
      background: rgba(31, 151, 215, .11);
    }

    .hero {
      padding: 3.2rem 0 1.2rem;
    }

    .hero-grid {
      display: grid;
      gap: 1rem;
    }

    .eyebrow {
      display: inline-flex;
      width: fit-content;
      align-items: center;
      gap: .45rem;
      padding: .32rem .7rem;
      border: 1px solid rgba(65, 166, 94, .35);
      border-radius: 999px;
      background: rgba(65, 166, 94, .1);
      color: #1f6f3b;
      font-size: .78rem;
      font-weight: 900;
      letter-spacing: 0;
      text-transform: uppercase;
    }

    h1,
    h2,
    h3,
    p {
      margin-top: 0;
    }

    h1 {
      max-width: 14ch;
      margin-bottom: .75rem;
      color: var(--primary);
      font-size: clamp(2.4rem, 13vw, 5.5rem);
      line-height: .95;
      font-weight: 900;
      letter-spacing: 0;
    }

    .hero-copy {
      max-width: 63ch;
      margin-bottom: 1.15rem;
      color: var(--muted);
      font-size: 1.05rem;
    }

    .hero-actions {
      display: grid;
      grid-template-columns: 1fr;
      gap: .7rem;
      margin-top: 1.2rem;
    }

    .button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 46px;
      padding: .8rem 1rem;
      border: 1px solid transparent;
      border-radius: var(--radius);
      font-weight: 900;
      transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    }

    .button:hover {
      transform: translateY(-1px);
    }

    .button.primary {
      background: var(--primary);
      color: #fff;
      box-shadow: 0 12px 24px rgba(0, 62, 133, .2);
    }

    .button.secondary {
      border-color: rgba(0, 62, 133, .18);
      background: #fff;
      color: var(--primary);
    }

    .button.document {
      min-height: 40px;
      padding: .65rem .82rem;
      background: rgba(31, 151, 215, .1);
      color: var(--primary);
      font-size: .92rem;
    }

    .button.document:hover {
      background: rgba(31, 151, 215, .18);
    }

    .info-strip {
      display: grid;
      gap: .75rem;
      margin-top: 1.5rem;
    }

    .metric {
      padding: 1rem;
      border: 1px solid rgba(255, 255, 255, .7);
      border-radius: var(--radius);
      background: rgba(255, 255, 255, .67);
      backdrop-filter: blur(18px);
      box-shadow: 0 16px 35px rgba(0, 62, 133, .08);
    }

    .metric strong {
      display: block;
      color: var(--primary);
      font-size: 1.65rem;
      line-height: 1;
    }

    .metric span {
      color: var(--muted);
      font-size: .9rem;
      font-weight: 700;
    }

    main {
      padding: 1.3rem 0 3.5rem;
    }

    .quick-panel {
      position: sticky;
      top: 72px;
      z-index: 8;
      margin-bottom: 1rem;
      padding: .78rem;
      border: 1px solid rgba(255, 255, 255, .7);
      border-radius: var(--radius);
      background: rgba(255, 255, 255, .76);
      backdrop-filter: blur(18px);
      box-shadow: 0 14px 28px rgba(0, 62, 133, .08);
    }

    .search-row {
      display: grid;
      gap: .65rem;
    }

    .search-field {
      width: 100%;
      min-height: 46px;
      padding: .78rem .9rem;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: #fff;
      color: var(--ink);
      font: inherit;
    }

    .tab-list {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: .5rem;
    }

    .tab-list a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 42px;
      padding: .65rem .75rem;
      border-radius: var(--radius);
      background: rgba(0, 62, 133, .08);
      color: var(--primary);
      font-weight: 900;
      text-align: center;
    }

    .tab-list a:hover {
      background: var(--primary);
      color: #fff;
    }

    .page-layout {
      display: grid;
      gap: 1.25rem;
    }

    .section {
      scroll-margin-top: 150px;
      margin-top: 1.25rem;
    }

    .section-head {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 1rem;
      margin-bottom: .85rem;
    }

    .section h2 {
      margin-bottom: .15rem;
      color: var(--primary);
      font-size: clamp(1.55rem, 7vw, 2.35rem);
      line-height: 1.08;
    }

    .section-note {
      color: var(--muted);
      font-size: .94rem;
    }

    .count-pill {
      flex: 0 0 auto;
      padding: .34rem .65rem;
      border-radius: 999px;
      background: rgba(255, 202, 44, .25);
      color: #694c00;
      font-size: .85rem;
      font-weight: 900;
    }

    .cards {
      display: grid;
      gap: .85rem;
    }

    .tender-card,
    .resource-panel,
    .contact-panel {
      border: 1px solid rgba(255, 255, 255, .75);
      border-radius: var(--radius);
      background: var(--panel);
      backdrop-filter: blur(16px);
      box-shadow: var(--shadow);
    }

    .tender-card {
      overflow: hidden;
      animation: fadeInUp .55s ease both;
    }

    .tender-card:nth-child(2n) {
      animation-delay: .05s;
    }

    .tender-card:nth-child(3n) {
      animation-delay: .1s;
    }

    .card-top {
      display: grid;
      gap: .65rem;
      padding: 1rem;
      border-bottom: 1px solid rgba(0, 62, 133, .08);
      background: linear-gradient(135deg, rgba(255, 255, 255, .84), rgba(31, 151, 215, .08));
    }

    .tender-number {
      color: var(--primary);
      font-size: 1.12rem;
      font-weight: 900;
    }

    .badge-row {
      display: flex;
      flex-wrap: wrap;
      gap: .45rem;
    }

    .badge {
      display: inline-flex;
      align-items: center;
      gap: .3rem;
      min-height: 28px;
      padding: .28rem .55rem;
      border-radius: 999px;
      background: rgba(65, 166, 94, .13);
      color: #1e6d3a;
      font-size: .78rem;
      font-weight: 900;
    }

    .badge.rfq {
      background: rgba(31, 151, 215, .14);
      color: #075d91;
    }

    .badge.closed {
      background: rgba(179, 206, 82, .26);
      color: #536814;
    }

    .card-body {
      padding: 1rem;
    }

    .description {
      margin-bottom: .9rem;
      color: #2c3d52;
    }

    .details {
      display: grid;
      gap: .55rem;
      margin: 0 0 1rem;
      padding: 0;
      list-style: none;
    }

    .details li {
      display: grid;
      gap: .12rem;
      padding: .7rem;
      border-radius: var(--radius);
      background: rgba(0, 62, 133, .045);
    }

    .details span {
      color: var(--muted);
      font-size: .78rem;
      font-weight: 900;
      text-transform: uppercase;
    }

    .details strong {
      color: var(--ink);
    }

    .card-actions {
      display: grid;
      grid-template-columns: 1fr;
      gap: .55rem;
    }

    .resource-panel,
    .contact-panel {
      padding: 1rem;
    }

    .resource-panel + .resource-panel,
    .contact-panel {
      margin-top: 1rem;
    }

    .resource-panel h2,
    .contact-panel h2 {
      margin-bottom: .7rem;
      color: var(--primary);
      font-size: 1.18rem;
    }

    .link-list {
      display: grid;
      gap: .45rem;
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .link-list a {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: .75rem;
      padding: .78rem .85rem;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: rgba(255, 255, 255, .7);
      color: var(--primary);
      font-weight: 700;
    }

    .link-list a::after {
      content: ">";
      color: var(--secondary);
      font-weight: 900;
    }

    .link-list a:hover {
      border-color: rgba(31, 151, 215, .3);
      background: #fff;
    }

    .contact-panel {
      background: linear-gradient(145deg, rgba(0, 62, 133, .94), rgba(31, 151, 215, .92));
      color: #fff;
    }

    .contact-panel h2,
    .contact-panel a {
      color: #fff;
    }

    .contact-panel p {
      margin-bottom: .75rem;
      color: rgba(255, 255, 255, .88);
    }

    .icon-links {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: .65rem;
      margin-top: 1.5rem;
    }

    .icon-links a {
      display: grid;
      place-items: center;
      min-height: 76px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: #fff;
      box-shadow: 0 12px 26px rgba(0, 62, 133, .06);
    }

    .icon-links img {
      width: min(58px, 78%);
      height: auto;
      display: block;
    }

    .site-footer {
      padding: 2.2rem 0;
      background: #00346f;
      color: #fff;
    }

    .footer-grid {
      display: grid;
      gap: 1.5rem;
    }

    .site-footer img {
      width: 170px;
      max-width: 70vw;
      height: auto;
    }

    .site-footer p {
      color: rgba(255, 255, 255, .84);
    }

    .site-footer a {
      color: #fff;
      font-weight: 700;
    }

    .footer-links {
      display: grid;
      gap: .5rem;
    }

    .hidden {
      display: none !important;
    }

    .empty-state {
      padding: 1rem;
      border: 1px dashed rgba(0, 62, 133, .25);
      border-radius: var(--radius);
      color: var(--muted);
      background: rgba(255, 255, 255, .65);
    }

    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(16px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @media (prefers-reduced-motion: reduce) {
      *,
      *::before,
      *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
      }
    }

    @media (min-width: 560px) {
      .hero-actions,
      .search-row,
      .card-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .info-strip {
        grid-template-columns: repeat(3, 1fr);
      }
    }

    @media (min-width: 820px) {
      .nav-toggle {
        display: none;
      }

      .site-nav {
        display: flex;
        position: static;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
      }

      .site-nav a {
        padding: .65rem .75rem;
        font-size: .94rem;
      }

      .hero {
        padding-top: 4.6rem;
      }

      .hero-grid {
        grid-template-columns: minmax(0, 1.4fr) minmax(280px, .7fr);
        align-items: end;
      }

      .quick-panel {
        top: 73px;
      }

      .page-layout {
        grid-template-columns: minmax(0, 1fr) 330px;
        align-items: start;
      }

      .sidebar {
        position: sticky;
        top: 150px;
      }

      .cards {
        gap: 1rem;
      }

      .card-top {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
      }

      .details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .icon-links {
        grid-template-columns: repeat(6, 1fr);
      }

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