:root{
  --bg:#ffffff;
  --text:#0b2340;
  --accent:#d62828;
  --muted:#55677a;
  --card:#f4f7fb;
}

*{box-sizing:border-box}
body{
  font-family:Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Arial; 
  margin:0; color:var(--text); 
  background:var(--bg); 
  line-height:1.4
}
a{
  color:var(--text); 
  text-decoration:none
}
.nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px 20px;
  border-bottom:1px solid #eef2f5;
  background:linear-gradient(90deg, #ffffff, #fbfdff)
}
.brand{
  font-weight:700;
  color:var(--accent)
}
.nav nav a{
  margin-left:14px;
  font-weight:600;
  font-size:14px}
a:hover{
  color: #d62828;

}
.container{
  max-width:900px;
  margin:28px auto;
  padding:0 16px
}
.hero h1
{margin:0 0 8px;
  font-size:26px;
  color:var(--accent)
}
.hero p{
  margin:0;
  color:var(--muted)
}

.cards{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:14px;
  margin-top:18px
}
.card{
  background:var(--card);
  padding:14px;
  border-radius:8px;
  box-shadow:0 6px 18px rgba(11,35,64,0.04)
}
.card h2{
  margin:0 0 8px;
  font-size:18px;
  color:var(--text)
}
.card ul, .card ol{
  margin:0;
  padding-left:18px;
  color:var(--muted)
}

.footer{
  padding:18px;
  text-align:center;
  color:var(--muted);
  font-size:14px;
  border-top:1px solid #eef2f5;
  margin-top:26px
}
.img-container {
  width: 100%;
  border: 2px solid #d62828;
  padding: 20px;
  text-align: center; 
  box-sizing: border-box;
}

.img-container img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
h2{
  font-family: system-ui;
  text-align: center; 
  font-weight:600;
  font-style: bold;
}
p{
  font-family: system-ui;
  text-align: center; 
  font-weight:600;
  font-style: italic;
}
form {
  background: white;
  border: 2px solid #d62828;
  padding: 15px;
  width: 300px;
  margin: 0 auto;
}

label {
  color: #d62828;
  font-family: system-ui;
}

input, select {
  width: 100%;
  padding: 5px;
  margin-top: 4px;
  border: 1px solid #d62828;;
  border-radius: 4px;
}

input[type="submit"] {
  background: #d62828;;
  color: white;
  border: none;
  margin-top: 10px;
  cursor: pointer;
}

input[type="submit"]:hover {
  background: black;
}

@media (max-width:600px){
  .hero h1{font-size:20px}
  .nav nav a{margin-left:10px;font-size:13px}
}
