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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background: linear-gradient(to right, #e0f7fa, #f1f8e9);
  color: #333;
}

header {
  background-color: #2e7d32;
  color: white;
  padding: 20px 0;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

header h1 {
  margin-bottom: 10px;
  font-size: 2.5rem;
}

nav {
  display: flex;
  justify-content: center;
  gap: 20px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 16px;
  border-radius: 5px;
  transition: background 0.3s;
}

nav a:hover {
  background-color: #1b5e20;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('https://images.unsplash.com/photo-1587191088725-12f6ef7a873d') no-repeat center center/cover;
  color: white;
  padding: 100px 20px;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 51, 0, 0.6);
  z-index: 0;
}

.hero h2,
.hero p,
.hero .btn {
  z-index: 1;
  position: relative;
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.btn {
  background-color: #66bb6a;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #43a047;
}

main {
  padding: 40px 20px;
  max-width: 900px;
  margin: auto;
}

section h2, section h3 {
  color: #2e7d32;
  margin-bottom: 20px;
}

section p, section ul {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

ul {
  list-style: disc inside;
}

.container {
  padding: 40px 20px;
  max-width: 900px;
  margin: auto;
}

.alert-item {
  background-color: #e8f5e9;
  border-left: 5px solid #4caf50;
  padding: 15px;
  margin: 15px 0;
  border-radius: 8px;
  position: relative;
  transition: transform 0.3s ease;
}

.alert-item:hover {
  transform: scale(1.02);
}

.alert-item .time {
  font-weight: bold;
  color: #1b5e20;
}

.alert-item.success {
  border-left-color: #4caf50;
  background: #e8f5e9;
}

.alert-item.warning {
  border-left-color: #ff9800;
  background: #fff3e0;
}

.alert-item.info {
  border-left-color: #2196f3;
  background: #e3f2fd;
}

.alert-item.danger {
  border-left-color: #f44336;
  background: #ffebee;
}
footer {
  text-align: center;
  background-color: #2e7d32;
  color: white;
  padding: 15px;
  margin-top: 60px;
}

@media (max-width: 768px) {
  nav {
    flex-direction: column;
    gap: 10px;
  }

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

  .btn {
    font-size: 0.9rem;
    padding: 10px 20px;
  }
}
