/* =========================
   EYES ON POWER - GLOBAL THEME
   ========================= */
:root{
  --bg-0: #06121f;      /* page background */
  --bg-1: #071a2b;      /* section background */
  --panel: #0b2336;     /* cards */
  --panel-2: #0a1f30;   /* deeper cards */
  --stroke: rgba(255,255,255,.08);
  --stroke-2: rgba(255,255,255,.12);

  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.70);
  --faint: rgba(255,255,255,.55);

  --accent: #0aa7d6;    /* cyan/teal accent */
  --accent-2:#0f5f7a;   /* darker teal */
  --gold: #e7d9a3;      /* warm highlight */
  --danger: #ff5f6a;

  --shadow: 0 18px 50px rgba(0,0,0,.45);
  --radius: 18px;
  --radius-sm: 12px;

  --max: 1180px;
}

/* Base */
*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: radial-gradient(1200px 600px at 20% -10%, rgba(10,167,214,.25), transparent 60%),
              radial-gradient(900px 500px at 90% 10%, rgba(231,217,163,.10), transparent 55%),
              linear-gradient(180deg, var(--bg-0), #040c14 60%);
  color: var(--text);
}

a{ color: inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
.container{ width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.skip-link{
  position:absolute; left:-999px; top:auto;
  width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  left:16px; top:16px; width:auto; height:auto; padding:10px 12px;
  background:var(--panel); border:1px solid var(--stroke-2); border-radius:10px;
  z-index:9999;
}

/* =========================
   HEADER / NAV
   ========================= */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(4, 14, 24, .72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--stroke);
}
.navbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  padding: 14px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 240px;
}
.brand-mark{
  width:40px;height:40px;border-radius:50%;
  background: radial-gradient(circle at 35% 30%, rgba(10,167,214,.35), rgba(10,167,214,.12) 55%, rgba(0,0,0,.2));
  border:1px solid var(--stroke-2);
  box-shadow: 0 10px 25px rgba(0,0,0,.35);
  display:grid; place-items:center;
  overflow:hidden;
}
.brand-mark span{
  width:22px;height:22px;border-radius:50%;
  border:2px solid rgba(255,255,255,.25);
  box-shadow: inset 0 0 0 2px rgba(10,167,214,.35);
}
.brand-name{
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 1.05rem;
}
.brand-sub{
  font-size:.78rem;
  color: var(--muted);
  letter-spacing:.04em;
  margin-top:2px;
}
.brand-text{ display:flex; flex-direction:column; line-height:1.1; }

.navlinks{
  display:flex;
  align-items:center;
  gap: 18px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.navlinks a{
  padding: 10px 10px;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 650;
  letter-spacing: .02em;
}
.navlinks a:hover{
  color: var(--text);
  background: rgba(255,255,255,.05);
}
.navlinks a.active{
  color: var(--text);
  background: rgba(10,167,214,.10);
  border:1px solid rgba(10,167,214,.18);
}

/* =========================
   HERO
   ========================= */
.hero{
  position:relative;
  min-height: 520px;
  display:flex;
  align-items:flex-end;
  padding: 48px 0 44px;
  background:
    linear-gradient(180deg, rgba(2,10,18,.35), rgba(2,10,18,.92) 78%),
    url("../img/hero.jpg") center/cover no-repeat;
  border-bottom: 1px solid var(--stroke);
}
.hero::after{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(900px 500px at 20% 25%, rgba(10,167,214,.20), transparent 60%),
              radial-gradient(900px 500px at 85% 30%, rgba(231,217,163,.12), transparent 55%);
  pointer-events:none;
}
.hero-inner{
  position:relative;
  width:100%;
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
  align-items:end;
}
.hero-badge{
  display:flex;
  align-items:center;
  gap: 14px;
  margin-bottom: 12px;
}
.hero-badge .mini-mark{
  width:56px;height:56px;border-radius:50%;
  border:1px solid rgba(10,167,214,.35);
  background: radial-gradient(circle at 40% 35%, rgba(10,167,214,.35), rgba(0,0,0,.12) 60%);
  box-shadow: var(--shadow);
  display:grid; place-items:center;
}
.hero-badge .mini-mark span{
  width:26px;height:26px;border-radius:50%;
  border:2px solid rgba(255,255,255,.24);
  box-shadow: inset 0 0 0 2px rgba(10,167,214,.40);
}
.hero-badge .hero-title{
  font-weight: 900;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-size: 1.3rem;
}

.hero h1{
  margin: 8px 0 10px;
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  line-height: 1.05;
  text-shadow: 0 18px 40px rgba(0,0,0,.55);
}
.hero p{
  margin: 0;
  max-width: 48ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.hero-cta{
  display:flex;
  gap: 14px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--stroke-2);
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-weight: 750;
  letter-spacing: .02em;
  box-shadow: 0 10px 25px rgba(0,0,0,.25);
}
.btn:hover{ transform: translateY(-1px); background: rgba(255,255,255,.08); }
.btn:active{ transform: translateY(0px); }
.btn.primary{
  background: linear-gradient(180deg, rgba(10,167,214,.22), rgba(10,167,214,.12));
  border-color: rgba(10,167,214,.25);
}
.btn.light{
  background: rgba(231,217,163,.14);
  border-color: rgba(231,217,163,.22);
  color: rgba(255,255,255,.92);
}

/* Right side hero “ghost panel” */
.hero-panel{
  align-self: stretch;
  justify-self: end;
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: linear-gradient(180deg, rgba(11,35,54,.65), rgba(6,18,31,.25));
  box-shadow: var(--shadow);
  padding: 18px;
}
.hero-panel h3{
  margin: 0 0 10px;
  font-size: 1.05rem;
  letter-spacing:.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.86);
}
.hero-panel .small{
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.6;
}
.searchbar{
  margin-top: 14px;
  display:flex;
  gap: 10px;
}
.searchbar input{
  flex:1;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: rgba(0,0,0,.20);
  color: var(--text);
  outline: none;
}
.searchbar input:focus{
  border-color: rgba(10,167,214,.35);
  box-shadow: 0 0 0 4px rgba(10,167,214,.12);
}
.searchbar button{
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(10,167,214,.25);
  background: rgba(10,167,214,.12);
  color: var(--text);
  font-weight: 750;
  cursor:pointer;
}
.searchbar button:hover{ background: rgba(10,167,214,.18); }

/* =========================
   SECTIONS
   ========================= */
.section{
  padding: 44px 0;
}
.section-title{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.section-title h2{
  margin:0;
  font-size: 1.25rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  color: rgba(255,255,255,.88);
}
.section-title .hint{
  color: var(--muted);
  font-size: .95rem;
}

/* Bills grid */
.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.bill-card{
  grid-column: span 4;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: linear-gradient(180deg, rgba(11,35,54,.78), rgba(10,31,48,.50));
  box-shadow: 0 14px 35px rgba(0,0,0,.32);
  padding: 18px;
  position:relative;
  overflow:hidden;
}
.bill-card::before{
  content:"";
  position:absolute; inset:-40px -40px auto auto;
  width:120px; height:120px;
  background: radial-gradient(circle at 30% 30%, rgba(10,167,214,.26), transparent 60%);
  transform: rotate(20deg);
}
.bill-meta{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 10px;
}
.bill-id{
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing:.02em;
}
.bill-chamber{
  color: var(--muted);
  font-weight: 650;
  margin-top: 6px;
}
.pill{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(10,167,214,.24);
  background: rgba(10,167,214,.10);
  color: rgba(255,255,255,.86);
  font-size: .78rem;
  font-weight: 750;
  letter-spacing:.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.bill-title{
  margin: 14px 0 10px;
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1.15;
}
.label{
  margin-top: 14px;
  color: rgba(255,255,255,.86);
  font-weight: 800;
  letter-spacing:.02em;
}
.bill-why{
  margin: 6px 0 16px;
  color: var(--muted);
  line-height:1.6;
  min-height: 64px;
}
.bill-link{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  color: rgba(255,255,255,.88);
  font-weight: 800;
}
.bill-link:hover{ color: white; text-decoration: underline; }

/* Stats row */
.stats{
  margin-top: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: linear-gradient(180deg, rgba(6,18,31,.78), rgba(6,18,31,.40));
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  overflow:hidden;
}
.stat{
  padding: 18px;
  border-right: 1px solid var(--stroke);
}
.stat:last-child{ border-right: none; }
.stat .kicker{
  color: rgba(255,255,255,.84);
  font-weight: 800;
  letter-spacing:.02em;
}
.stat .value{
  margin-top: 8px;
  font-size: 2.2rem;
  font-weight: 900;
}
.stat .sub{
  margin-top: 6px;
  color: var(--muted);
  font-size: .95rem;
}

/* Content panels for interior pages */
.panel{
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: linear-gradient(180deg, rgba(11,35,54,.70), rgba(6,18,31,.35));
  box-shadow: var(--shadow);
  padding: 22px;
}
.panel h1, .panel h2, .panel h3{
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
}
.panel h1{ margin: 0 0 10px; font-size: 2.2rem; }
.panel p{ color: var(--muted); line-height:1.75; }
hr.sep{
  border:0;
  border-top: 1px solid var(--stroke);
  margin: 18px 0;
}

/* Resource list */
.resource-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.resource{
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: rgba(0,0,0,.15);
  padding: 16px;
}
.resource .top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
}
.resource .title{
  font-weight: 900;
  letter-spacing:.02em;
}
.resource .desc{
  margin-top: 8px;
  color: var(--muted);
  line-height:1.6;
}
.resource a{
  display:inline-block;
  margin-top: 10px;
  color: rgba(255,255,255,.90);
  font-weight: 800;
}
.resource a:hover{ text-decoration: underline; }

/* Filters */
.filters{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  margin: 12px 0 18px;
}
.filters select, .filters input{
  padding: 10px 10px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: rgba(0,0,0,.18);
  color: var(--text);
  outline:none;
}
.filters select:focus, .filters input:focus{
  border-color: rgba(10,167,214,.35);
  box-shadow: 0 0 0 4px rgba(10,167,214,.12);
}

/* Footer */
.footer{
  padding: 26px 0 34px;
  border-top: 1px solid var(--stroke);
  color: var(--muted);
  background: rgba(0,0,0,.10);
}
.footer .cols{
  display:flex;
  gap: 16px;
  justify-content:space-between;
  flex-wrap:wrap;
}
.footer .small{
  font-size: .95rem;
  line-height: 1.6;
}
.footer a{ color: rgba(255,255,255,.80); font-weight: 750; }
.footer a:hover{ color: white; text-decoration: underline; }

/* Responsive */
@media (max-width: 980px){
  .hero-inner{ grid-template-columns: 1fr; }
  .hero-panel{ max-width: none; }
  .bill-card{ grid-column: span 6; }
  .resource-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 640px){
  .navlinks{ gap: 6px; }
  .bill-card{ grid-column: span 12; }
  .stats{ grid-template-columns: 1fr; }
  .stat{ border-right:none; border-bottom:1px solid var(--stroke); }
  .stat:last-child{ border-bottom:none; }
}


/* =========================
   Header with Logo
   ========================= */
.eop-header {
  background: #0b1c2d;
  border-bottom: 1px solid #1e3a5f;
  padding: 14px 28px;
}

.eop-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.eop-logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.eop-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.eop-title {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.eop-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: #e8f0ff;
}

.eop-tagline {
  font-size: 0.75rem;
  color: #8fb3ff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eop-nav a {
  margin-left: 24px;
  text-decoration: none;
  color: #c9dcff;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

.eop-nav a:hover {
  color: #ffffff;
}

.eop-nav a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: #4fa3ff;
  transition: width 0.25s ease;
}

.eop-nav a:hover::after {
  width: 100%;
}


/* =========================
   Footer Branding  with Logo
   ========================= */

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo {
  width: 90px;      /* Adjust size here */
  height: auto;
}

.footer-text {
  font-size: 0.95rem;
  color: var(--muted);
}

.footer-text strong {
  display: block;
  font-size: 1rem;
  color: var(--text-main);
}

/* =========================
   Resources Accordian and Mobile Scaling
   ========================= */
/* ===== Resources Accordion + Mobile Scaling ===== */

.acc {
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
  overflow: hidden;
  margin: 14px 0;
}

.acc-summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 16px;
  font-weight: 800;
}

.acc-summary::-webkit-details-marker {
  display: none;
}

.acc-title {
  font-size: 1.05rem;
}

.acc-meta {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 700;
  white-space: nowrap;
}

.acc-body {
  padding: 0 16px 16px 16px;
}

/* Chevron indicator */
.acc-summary::after {
  content: "▾";
  font-weight: 900;
  opacity: 0.85;
  transform: rotate(0deg);
  transition: transform 160ms ease;
}

.acc[open] .acc-summary::after {
  transform: rotate(180deg);
}

/* Expand/Collapse controls */
.resource-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 6px 0;
}

/* Grid scales cleanly across devices */
.resource-grid {
  display: grid;
  grid-template-columns: 1fr; /* mobile-first */
  gap: 14px;
  margin-top: 12px;
}

/* Make cards more readable/tappable */
.resource {
  padding: 16px;
  border-radius: 14px;
}

.resource .title {
  font-size: 1.05rem;
  font-weight: 900;
}

.resource .desc {
  font-size: 0.98rem;
  line-height: 1.5;
}

/* Larger tap target for links */
.resource-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 900;
  text-decoration: none;
  min-height: 44px;
  border: 1px solid rgba(255,255,255,0.14);
}

/* Tablet */
@media (min-width: 720px) {
  .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .resource-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
