:root {
  --primary: rgb(223, 74, 60);
  --secondary: #20c997;
  --background: #f8f9fa;
  --text: #333;
  --header-bg: #fff;
  --footer-bg: rgb(75, 75, 75);
  --footer-text: #ddd;
  --container-width: 1200px;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--background);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  background-color: var(--header-bg);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-container img {
  width: 40px;
  height: 40px;
}

.logo-container h1 {
  font-size: 1.8rem;
  color: rgb(49, 49, 49);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav ul li a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  padding-bottom: 4px;
  border-bottom: 4px solid transparent;
  transition: border-color 0.3s;
}

nav ul li a:hover, nav ul li a.active {
  border-bottom-color: var(--primary);
}

main {
  flex-grow: 1;
  padding: 3rem 0;
}

.hero {
  text-align: center;
  padding: 4rem 0;
  background-color: var(--primary);
  color: white;
  border-radius: 8px;
  margin-bottom: 3rem;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

section {
  margin-bottom: 2rem;
}

h2 {
  color: var(--primary);
  margin-bottom: 1.2rem;
}

p {
  margin-bottom: 1rem;
}

.highlighted {
  color: var(--primary);
}

a {
  color: var(--primary);
  text-decoration: none;
}

table {
  border-collapse: collapse;
}

td {
  padding: 0.2rem 0 0.5rem 0;
}

tfoot {
  border-top: 1px solid #ddd;
  color: #777;
  font-size: 0.9rem;
  line-height: 1.8;
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 768px) {
  .card-grid {
    grid-template-columns: 3fr 2fr;
  }
}

.card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.notice-card {
  background-color: rgba(221, 144, 144, 0.16);
  border: 1px solid rgb(223, 74, 60);
  box-shadow: 0 4px 12px  rgba(223, 74, 60, 0.15);
}

footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding: 2rem 0;
  text-align: center;
}

footer p {
  margin-bottom: 0;
}

footer h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-bottom {
  border-top: 1px solid #777;
  padding-top: 1.5rem;
  font-size: 0.9rem;
}

button, .button {
  display: inline-block;
  text-decoration: none;
  background-color: var(--primary);
  color: white;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  transition: background 0.3s;
}

button:hover, .button:hover {
  background-color: rgb(180, 44, 40);
}

/* Responsive */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    gap: 1.5rem;
  }

  nav ul {
    gap: 1.5rem;
  }

  .hero h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  nav ul {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}
