
:root {
  --forest-green: #228B22;
  --brown: #8B4513;
  --beige: #F5F5DC;
  --gold: #FFD700;
  --deep-blue: #0a2463;
  --white: #ffffff;
  --orange: #fb8500;
  --light-gray: #f8f9fa;
  --dark-gray: #343a40;
}

body {
  font-family: 'Roboto', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--dark-gray);
  background: linear-gradient(135deg, var(--light-gray), var(--white));
  margin: 0;
  padding: 0;
  min-height: 100%;
}

.header {
  background: linear-gradient(90deg, var(--deep-blue), var(--forest-green));
  color: var(--white);
  padding: 2rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--orange));
}

.header h1 {
  font-size: 2.5rem;
  margin: 0;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.header p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 800px;
  margin: 1rem auto;
  position: relative;
  z-index: 1;
}

.nav-container {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  display: flex;
  justify-content: center;
  padding: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav a {
  color: var(--deep-blue);
  text-decoration: none;
  padding: 0.5rem 1.5rem;
  margin: 0 0.5rem;
  font-weight: 500;
  border-radius: 4px;
  transition: all 0.3s ease;
  position: relative;
}

.nav a:hover {
  color: var(--orange);
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: all 0.3s ease;
}

.nav a:hover::after {
  width: 70%;
  left: 15%;
}

.container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 2rem;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 4rem;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.hero-content {
  padding: 3rem;
}

.hero h2 {
  font-size: 2.2rem;
  color: var(--deep-blue);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.hero p {
  font-size: 1.1rem;
  color: var(--dark-gray);
  margin-bottom: 2rem;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, var(--beige), var(--white));
  padding: 2rem;
  height: 100%;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.hero-image img:hover {
  transform: scale(1.02);
}

article {
  background: var(--white);
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  margin-bottom: 4rem;
}

article h2 {
  font-size: 1.8rem;
  color: var(--deep-blue);
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold);
  position: relative;
}

article h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100px;
  height: 2px;
  background: var(--orange);
}

article p {
  margin-bottom: 1.5rem;
  color: var(--dark-gray);
}

color {
  font-weight: bold;
  color: var(--forest-green);
}

pre {
  background: linear-gradient(135deg, #f5f7fa, #e4e8eb);
  border-left: 4px solid var(--orange);
  border-radius: 0 6px 6px 0;
  padding: 1.5rem;
  overflow-x: auto;
  margin: 2rem 0;
  font-size: 0.9rem;
  line-height: 1.5;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

code {
  font-family: 'Courier New', monospace;
  color: var(--deep-blue);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

thead {
  background: linear-gradient(90deg, var(--deep-blue), var(--forest-green));
  color: var(--white);
}

th {
  padding: 1rem;
  text-align: left;
}

td {
  padding: 1rem;
  border-bottom: 1px solid #eaeaea;
}

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

tr:hover {
  background-color: #f1f1f1;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.card-image {
  height: 200px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.card-content {
  padding: 1.5rem;
}

.card h3 {
  font-size: 1.3rem;
  color: var(--deep-blue);
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--dark-gray);
  margin-bottom: 1rem;
}

.footer {
  background: linear-gradient(90deg, var(--deep-blue), var(--forest-green));
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
  margin-top: 4rem;
}

.footer p {
  max-width: 800px;
  margin: 0 auto 1rem;
  opacity: 0.8;
}

.notice {
  background: var(--gold);
  color: var(--dark-gray);
  padding: 1rem;
  text-align: center;
  font-weight: bold;
  margin-bottom: 2rem;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
  }
  
  .nav {
    flex-wrap: wrap;
  }
  
  .nav a {
    margin: 0.25rem;
    padding: 0.5rem;
  }
  
  article {
    padding: 2rem 1.5rem;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.floating {
  animation: float 3s ease-in-out infinite;
}

