* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

body {
  background: #f4f7fb;
  color: #222;
  line-height: 1.6;
}

/* ===== HEADER ===== */
.header {
  background: linear-gradient(120deg, #0b3c5d, #1c7293);
  color: #fff;
  padding: 30px 5%;
  text-align: center;
  animation: fadeDown 1s ease;
}

.header h1 {
  font-size: 36px;
  letter-spacing: 1px;
}

.header p {
  font-size: 16px;
  opacity: 0.9;
}

/* ===== NAV ===== */
.nav {
  background: #062f45;
  display: flex;
  justify-content: center;
  gap: 25px;
  padding: 14px 0;
}

.nav a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  padding: 6px 12px;
  transition: 0.3s;
}

.nav a:hover {
  background: #1c7293;
  border-radius: 4px;
}

/* ===== CONTAINER ===== */
.container {
  width: 90%;
  margin: 40px auto;
  animation: fadeUp 0.8s ease;
}

/* ===== CARD ===== */
.card {
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  margin-bottom: 25px;
}

.card h2 {
  color: #0b3c5d;
  margin-bottom: 15px;
}

/* ===== BUTTON ===== */
.btn {
  display: inline-block;
  padding: 10px 18px;
  background: #1c7293;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  transition: 0.3s;
}

.btn:hover {
  background: #0b3c5d;
}

/* ===== TABLE ===== */
table {
  width: 100%;
  border-collapse: collapse;
}

table th, table td {
  padding: 12px;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

table th {
  background: #eaf2f7;
}

/* ===== FORM ===== */
input, textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

button {
  background: #1c7293;
  color: #fff;
  border: none;
  padding: 12px 22px;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background: #0b3c5d;
}

/* ===== FOOTER ===== */
.footer {
  background: #062f45;
  color: #fff;
  text-align: center;
  padding: 20px;
  margin-top: 50px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE ===== */
@media(max-width:768px){
  .header h1 { font-size: 28px; }
  .nav { flex-wrap: wrap; }
}
