@charset "utf-8";
/* CSS Document */

/* Base Reset */
* { box-sizing: border-box }
html, body { margin: 0; padding: 0;}
img { max-width: 100%; display: block; height: auto;}
:root{
    --bg: #0f172a;
    --card: #111827;
    --text: #e5e7eb;
    --muted: #94a3b8;
    --primary: #38bdf8;
    --primary-contrast: #0b1220;
    --accent: #34d399;
    --success: #22c55e;
    --danger: #ef4444;
    --shadow: 0 10px 30px rgba(0,0,0,.35);
    
}

html {scroll-behavior: smooth; }
body 
{
    background: var(--bg);
    color: var(--text);
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    line-height: 1.6;
}

/* Utility */
.container
{
    width: min(1100px, 92%);
    margin-inline: auto;
}

.section { padding: 80px 0; }
h1, h2, h3 { line-height: 1.2; }

h1 
{ 
    font-size: clamp(2rem, 4vw, 3rem); 
    margin: 0 0 10px; 
}

h2 
{ 
    font-size: clamp(1.6rem, 3vw, 2.2rem); 
    margin: 0 0 20px; 
}

h3 
{ 
    font-size: 1.2rem;
    margin: 0 0 10px; 
    color: var(--accent); 
}

/* Header / Nav */
.site-header {
    position: sticky; top: 0; z-index: 20;
    background: rgba(15,23,42,0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    
}

.nav-container {
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
}

.brand {
    font-weight: 800;
    text-decoration: none;
    color: var(--text);
    letter-spacing: .2px;
}

.nav-desktop 
{ 
    display: flex; 
    gap: 20px; 
}

.nav-desktop a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: 1px;
    position: relative;
    transition: color 0.3s ease;
}

/* underline glow effect*/
.nav-desktop a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 3px;
    background: #ff6000;
    transition: width 0.3s ease;
}

.nav-desktop a:hover {
    color: #ff6000;
}

.nav-desktop a:hover::after {
    width: 100%;
}

.nav-desktop a.active {
    color: #ff6000;
}

.nav-desktop a.active::after {
    width: 100%;
}
.nav-link {
    color: var(--text);
    text-decoration: none;
    padding: 8px 10px;
    border-radius: 10px;
}

.nav-link:hover, nav-link.active {
    background: rgba(56,189,248,.12);
    color: white;
}

/* Hamburger */
.hamburger {
    width: 46px; height: 38px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    background: transparent; color: var(--text);
    display: grid; place-items: center;
    cursor: pointer;
}

.hamburger .bar {
    width: 22px; height: 2px; background: var(--text);
    display: block; position: relative;
}

.hamburger .bar + .bar { margin-top: 5px; }

.nav-mobile {
    display: none;
    flex-direction: column;
    background: rgba(17,24,39,.98);
    padding: 10px 16px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-mobile.open { display: flex;}
.mobile-link {
    color: var(--text);
    text-decoration: none;
    padding: 12px 6px; border-radius: 10px;
}

/* Desktop breakpoint */
@media (min-width: 960px) {
    .hamburger { display: none;}
    .nav-desktop { display: flex;}
    .nav-mobile { display: none !important;}
}

/* Hero / Parallax */
.hero {
    min-height: 78vh;
    display: grid; place-items: center;
    text-align: center;
}

.hero .overlay {
    background: linear-gradient(to bottom right, rgba(2,6,23,.55), rgba(2,6,23,.75));
    padding: 32px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.hero p { color: var(--muted); margin: 6px 0 18px;}
.btn {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 999px;
    background: var(--primary);
    color: var(--primary-contrast);
    font-weight: 700;
    text-decoration: none;
    border: none; cursor: pointer;
    box-shadow: var(--shadow);
}

.btn:hover { filter: brightness(1.08);}

/* Parallax generic */
.parallax {
    position: relative;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed; /* desktop effect */
}

.divider { min-height: 40vh; display: grid; place-items: center;}
.divider-overlay {
    background: rgba(2,6,23,.55);
    padding: 16px 24px; border-radius: 16px;
    box-shadow: var(--shadow);
}

/* Mobile parallax fallback (ios) */
@media (max-width: 959px){
    .parallax { background-attachment: scroll;}
}

.content {
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.00));
}
.features {
    margin-top: 24px;
    display: grid; gap: 16px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.feature-card {
    background: var(--card);
    border: 1px solid rgba(255,255,255,.06);
    padding: 16px; border-radius: 16px;
    box-shadow: var(--shadow);
}

@media (min-width: 720px) {
    .features { grid-template-columns: repeat(3, minmax(0, 1fr));}
}

/* Legislation */ 
.legislation-controls {
    margin: 16px 0 20px;
    display: flex; gap: 12px; flex-wrap: wrap;
}

.legislation-controls input[type="search"],
.legislation-controls select {
    background: var(--card);
    color: var(--text);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    padding: 10px 12px;
    outline: none;
}

.legislation-list {
    list-style: none; padding: 0; margin: 0;
    display: grid; gap: 16px;
}

.legis-item {
    background: var(--card);
    border: 1px solid rgba(255,255,255,.06);
    padding: 16px; border-radius: 16px;
}

.tag {
    margin-top: 8px;
    display: inline-block;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(56,189,248,.15);
    color: #c8f1ff;
}

.tag .success {
    background: rgba(34,197,94,.18);
    color: #cff7d6;
}

/* Gallery */
.gallery {
    margin-top: 12px;
    display: grid; gap: 10px;
    grid-template-columns: repeat(2, 1fr);
}

.gallery-item {
    overflow: hidden; border-radius: 14px;
    border: 1px solid rgba(255,255,255,.06);
}

.gallery img { cursor: pointer; transition: transform .4s ease, box-shadow 0.4s ease;}
.gallery a:hover img { transform: scale(1.05); box-shadow:  0 8px 20px rgba(0,0,0,0.25)};

.gallery img:hover {
    
}

@media (min-width: 720px) {
    .gallery { grid-template-columns: repeat(4, 1fr);}
}

/* Contact */
form {
    margin-top: 10px;
    background: var(--card);
    border: 1px solid rgba(255,255,255,.06);
    padding: 16px; border-radius: 16px;
}

.form-grid {
    display: grid; gap: 12px;
    grid-template-columns: 1fr;
}

#form-status {
    min-height: 1.4em;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.4s ease;
}

#form-status.show {
  opacity: 1;  
}

#form-status.success {
    color: var(--success);
}

#form-status.error {
    color: var(--danger);
}

label { display: grid; gap: 6px; font-weight: 600;}
input, textarea {
    background: #0b1220;
    color: var(--text);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px; 
    padding: 10px 12px;
    outline: none;
}

input:focus, textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(56,189,248,.2);
}

label.full { grid-column: 1 / -1; }
.form-actions { display: flex; align-items: center; gap: 12px; margin-top: 12px;}
#form-status { min-height: 1.4em; color: var(--muted); }

/* Footer */
.site-footer {
    border-top: 1px solid rgba(255,255,255,.08);
    background: #0b1220;
    padding: 24px 0;
}

.footer-inner {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
}

.back-to-top { color: var(--primary); text-decoration: none;}

/* Accessibility helpers */
.visually-hidden {
    position: absolute !important;
    height: 1px; width: 1px;
    overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}
