:root {
    --primary: #1e3d96;
    --primary-dark: #122863;
    --accent: #00ba9d;
    --body-bg: #f8fafc;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --white: #ffffff;
    --border: #e2e8f0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', system-ui, sans-serif; background-color: var(--body-bg); color: var(--text-dark); line-height: 1.6; }

/* Global Navigation Header */
.navbar { background: var(--white); border-bottom: 1px solid var(--border); padding: 15px 40px; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 1000; }
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--primary); font-weight: 700; font-size: 1.3rem; }
.nav-logo img { max-height: 45px; }
.nav-links { display: flex; gap: 25px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--text-dark); font-weight: 600; font-size: 0.95rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--primary); }
.nav-btn { background: var(--primary); color: var(--white) !important; padding: 8px 18px; border-radius: 6px; }
.nav-btn:hover { background: var(--primary-dark); }

/* Layout Structure */
.container { max-width: 1200px; margin: 40px auto; padding: 0 20px; }
.hero-section { text-align: center; padding: 60px 20px; background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%); border-radius: 16px; margin-bottom: 40px; }
.hero-section h1 { font-size: 2.5rem; color: var(--primary); margin-bottom: 12px; }
.hero-section p { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* Dynamic Cards Grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 25px; margin-top: 20px; }
.public-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 25px; box-shadow: 0 2px 4px rgba(0,0,0,0.02); }
.public-card h3 { color: var(--primary); margin-bottom: 10px; font-size: 1.2rem; }
.public-card p { color: var(--text-muted); font-size: 0.95rem; }

/* Interactive Forms layout */
.form-box { max-width: 600px; margin: 0 auto; background: var(--white); padding: 35px; border-radius: 12px; border: 1px solid var(--border); }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-group label { font-size: 0.85rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; }
.form-control { width: 100%; padding: 12px; border: 1px solid var(--border); border-radius: 6px; outline: none; font-size: 0.95rem; font-family: inherit; }
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(30,61,150,0.08); }
.btn-submit { width: 100%; padding: 12px; background: var(--primary); color: var(--white); border: none; border-radius: 6px; font-weight: 700; font-size: 1rem; cursor: pointer; transition: background 0.2s; }
.btn-submit:hover { background: var(--primary-dark); }

/* Global Public Footer */
.footer { background: #0f172a; color: #94a3b8; padding: 40px 20px; text-align: center; margin-top: 60px; font-size: 0.9rem; }
.footer p { margin-bottom: 8px; }
.footer a { color: var(--white); text-decoration: none; font-weight: 600; }