
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: antiquewhite;
  color: #222;
  line-height: 1.6;
}


header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #041c33;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 25px;
  z-index: 1000;
}

.logo {
  font-size: 1.4rem;
  font-weight: bold;
  white-space: nowrap;
}


.nav-links {
  list-style: none;
  display: flex;
  gap: 15px;
  transition: all 0.3s ease-in-out;
}

.nav-links li {
  display: inline-block;
}

.nav-links a {
  color: #f5f5f5;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #00bcd4;
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}


.section {
  display: none;
  padding: 100px 20px 60px;
  min-height: 100vh;
  text-align: center;
  background-color: #fdfcf9;
  transition: opacity 0.3s ease;
}

.section.active {
  display: block;
}

h1, h2 {
  color: #041c33;
  margin-bottom: 15px;
}


table {
  width: 90%;
  max-width: 900px;
  margin: 20px auto;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
}

th, td {
  border: 1px solid #041c33;
  padding: 12px;
  text-align: left;
}

th {
  background: #605a94;
  color: #fff;
  font-weight: 600;
}

tr:nth-child(even) {
  background: #f9f9f9;
}


button, input[type="submit"], input[type="reset"] {
  background: #00bcd4;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  margin: 8px 0;
  transition: background 0.3s;
}

button:hover, input[type="submit"]:hover, input[type="reset"]:hover {
  background: #0097a7;
}


form {
  max-width: 500px;
  margin: 0 auto;
  text-align: left;
}

form label {
  display: block;
  margin-top: 10px;
  font-weight: 500;
}

form input, form select, form textarea {
  width: 100%;
  padding: 8px;
  margin-top: 6px;
  border: 1px solid #bbb;
  border-radius: 5px;
  font-family: inherit;
}

.responsive-img,
section img {
  max-width: 95%;
  height: auto;
  border-radius: 10px;
  margin: 10px 0;
}

footer {
  background: #2c3e50;
  color: #ccc;
  text-align: center;
  padding: 15px;
  font-size: 0.9em;
}


@media (max-width: 1024px) {
  .nav-links {
    gap: 10px;
  }

  table {
    width: 95%;
  }
}


@media (max-width: 768px) {
  header {
    flex-wrap: wrap;
    padding: 12px 15px;
  }

  .menu-toggle {
    display: block;
    color: #fff;
  }

  .nav-links {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: center;
    background: #041c33;
    display: none;
    padding: 15px 0;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 10px 0;
  }

  table, th, td {
    font-size: 0.9rem;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.4rem;
  }
}


@media (max-width: 480px) {
  .logo {
    font-size: 1.1rem;
  }

  button, input, textarea {
    font-size: 0.9rem;
  }

  table {
    font-size: 0.8rem;
  }
}
