@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

body {
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  margin: 0; padding: 0;
  background: linear-gradient(120deg, #f8fafc 60%, #e3eafc 100%);
  color: #1a2233;
  min-height: 100vh;
  animation: fadeIn 1.2s;
}

header, footer {
  background: #185a9d;
  color: #fff;
  text-align: center;
  padding: 22px 15px;
  box-shadow: 0 2px 12px #185a9d22;
}

nav ul {
  list-style: none;
  padding: 0;
}

nav ul li {
  display: inline;
  margin: 0 15px;
}

nav a {
  color: #070006;
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  font-weight: 600;
  transition: color 0.2s;
}
nav a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #4f93d7;
  transition: width 0.3s;
  position: absolute;
  left: 0;
  bottom: 0;
}
h1, h2, h3 {
  position: relative;
  z-index: 1;
  color: #185a9d;
}
h1::after, h2::after, h3::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #1e90ff;
  border-radius: 2px;
  margin-top: 8px;
  z-index: -1;
}
section {
  background: #fff;
  margin: 32px auto;
  padding: 32px 24px;
  border-radius: 16px;
  box-shadow: 0 4px 24px #185a9d11;
  max-width: 900px;
  border-left: 6px solid #185a9d;
  border-right: 6px solid #185a9d;
}

.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 24px #185a9d11;
  padding: 28px 24px;
  margin: 24px auto;
  max-width: 520px;
  transition: box-shadow 0.2s, transform 0.2s;
  border: 1.5px solid #185a9d;
}
.card:hover {
  box-shadow: 0 8px 32px #185a9d33;
  transform: scale(1.03) rotate(-1deg);
}

button, .btn {
  background: #185a9d;
  color: #fff;
  border: none;
  padding: 12px 26px;
  border-radius: 24px;
  cursor: pointer;
  font-size: 1em;
  font-weight: 600;
  box-shadow: 0 2px 8px #185a9d22;
  transition: background 0.2s, transform 0.2s;
}
button:hover, .btn:hover {
  background: #1e90ff;
  color: #fff;
  transform: scale(1.07) rotate(-2deg);
}

table {
  margin: 20px auto;
  border-collapse: collapse;
  width: 70%;
  background: white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
table td {
  padding: 12px;
  border: 1px solid #ccc;
}
table tr:hover {
  background: #e3eafc;
  transition: background 0.2s;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-thumb {
  background: #4a90e2;
  border-radius: 6px;
}
::-webkit-scrollbar-track {
  background: #e0e7ff;
}

/* Fade-in Animation */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

a {
  transition: color 0.2s;
}
a:hover {
  color: #4a90e2;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 700px) {
  table {
    width: 98%;
    font-size: 0.95em;
  }
  .card {
    padding: 12px;
    max-width: 98%;
  }
  nav ul li {
    margin: 0 7px;
  }
}

/* Footer Enhancement */
footer {
  font-size: 1.1em;
  letter-spacing: 1px;
  border-top: 2px solid #4a90e2;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.04);
}

/* Input and Form Styling */
input, textarea, select {
  padding: 10px;
  border: 1px solid #bfc9d1;
  border-radius: 5px;
  font-size: 1em;
  margin-bottom: 12px;
  width: 100%;
  box-sizing: border-box;
  transition: border 0.2s, box-shadow 0.2s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #4a90e2;
  outline: none;
  box-shadow: 0 0 6px #4a90e255;
}