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

/* Body styles (first block) */
body {
  font-family: 'Poppins', 'Montserrat', sans-serif;
  background: linear-gradient(135deg, #c20f0f, #cd1010); /* Fixed missing parenthesis */
  color: #254474;
  line-height: 1.6;
  padding: 20px;
  /* Note: text-align: center; was in the second block, add here if needed */
}

/* Import Google Fonts (move here, or keep in head) */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

/* Navbar Styles */
.navbar {
  background: rgba(255, 255, 255, 0.7);
  padding: 1em 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 6px rgba(71, 73, 105, 0.1);
}

.navbar ul {
  display: flex;
  justify-content: center;
  list-style: none;
}

.navbar li {
  margin: 0 20px;
}

.navbar a {
  color: #fff;
  font-weight: 600;
  font-size: 1.1em;
  text-decoration: none;
  padding: 8px 15px;
  border-radius: 8px;
  transition: background 0.3s, transform 0.3s;
}

.navbar a:hover, .navbar a.active {
  background: #fff;
  color: #004179;
  transform: scale(1.05);
}

/* Header styles (first block) */
.header {
  padding: 4em 2em;
  background: linear-gradient(135deg, #0c0593, #0c0593);
  text-align: center;
  color: #ffffff;
  border-radius: 0 0 20px 20px;
  box-shadow: inset 0 0 50px rgba(254, 4, 4, 0.915);
}

.header h1 {
  font-size: 3em;
  margin-bottom: 0.5em;
  font-family: 'Poppins', sans-serif;
}

.header p {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto;
}

/* Sections with cards */
section {
  padding: 3em 2em;
  max-width: 1200px;
  margin: 0 auto;
}

h2 {
  margin-bottom: 2em;
  font-size: 2em;
  color: #000479;
  text-align: center;
  position: relative;
}

h2::after {
  content: "";
  display: block;
  margin: 0.5em auto 0 auto;
  width: 50px;
  height: 3px;
  background-color: #000479;
  border-radius: 2px;
}

/* Card Layouts */
.cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.card {
  background: #f40909;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  overflow: hidden;
  width: 300px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(251, 6, 6, 0.993);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s;
}

.card:hover img {
  transform: scale(1.05);
}

.card h3 {
  margin: 1em 0 0.5em;
  font-size: 1.5em;
  padding: 0 1em;
  color: #001279;
}

.card p {
  padding: 0 1em 1em 1em;
  font-size: 1em;
  color: #ffffff;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2em;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgb(247, 246, 246);
}

th, td {
  padding: 1em;
  text-align: left;
  background-color: #fff;
}

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

/* Footer */
.footer {
  background-color: #0648ef;
  color: #f80606;
  padding: 2em 1em;
  text-align: center;
  margin-top: 3em;
  font-size: 0.9em;
}

/* Utility classes for buttons */
.btn {
  padding: 0.75em 1.5em;
  background-color: #051685;
  color: #000e2a;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1em;
  transition: background 0.3s, transform 0.3s;
}

.btn:hover {
  background-color: #ff1818;
  transform: scale(1.05);
}

/* Responsive Design */
@media(max-width: 768px) {
  .cards-container {
    flex-direction: column;
    align-items: center;
  }
  .navbar ul {
    flex-direction: column;
  }
  .header {
    padding: 2em 1em;
  }
}

/* Additional styles for specific sections */
.feature {
  margin-bottom: 2em;
  padding: 1em;
  background-color: #f0f0f0;
  border-radius: 10px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.feature img {
  max-width: 100%;
  height: auto;
  margin-bottom: 1em;
}

/* Style for Rules and Laws as bullet list */
.rules-list {
  list-style-type: disc;
  padding-left: 20px;
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1em;
  line-height: 1.4;
}