* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background-image: url('ONTOV00.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #1e293b;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

.wrapper {
  max-width: 1240px;
  margin: auto;
  padding: 24px;
}

.hero {
  background: rgba(30, 58, 138, 0.85);
  padding: 60px 24px;
  border-radius: 20px;
  text-align: center;
  color: #fffafb;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.25rem;
  opacity: 0.9;
}

.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  background: rgba(200, 186, 186, 0.25);
  backdrop-filter: blur(8px);
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.06);
  margin-top: 40px;
  transition: 0.3s ease;
}

.controls input,
.controls select {
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid #d1d5db;
  font-size: 16px;
  width: 260px;
  transition: 0.3s;
}

.controls select {
  background: #ffffff;
  color: #1e293b;
}

.controls select option {
  background: #ffffff;
  color: #1e293b;
}

.controls input {
  background: white;
}

.controls input:focus,
.controls select:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
  outline: none;
}

.controls input::placeholder {
  color: #94a3b8;
  transition: opacity 0.3s ease;
}

.controls input:focus::placeholder {
  opacity: 0;
}

.controls button {
  padding: 14px 22px;
  background-color: #2563eb;
  color: white;
  border: none;
  font-weight: 600;
  font-size: 16px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  box-shadow: 0 5px 12px rgba(37, 99, 235, 0.2);
}

.controls button:hover {
  background-color: #1d4ed8;
  transform: translateY(-2px);
}

.controls button:active {
  transform: scale(0.96);
  background-color: #1e3a8a;
}

.section-title {
  text-align: center;
  margin: 50px 0 30px;
}

.section-title h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #f8f8f6;
}

.section-title p {
  font-size: 1rem;
  color: #ffffff;
}

.news-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  padding-bottom: 40px;
}

.news-card {
  background: rgba(198, 183, 183, 0.95);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: column;
  transition: 0.3s ease;
  border: 1px solid transparent;
}

.news-card:hover {
  transform: translateY(-5px);
  border-color: #fff;
  box-shadow: 0 0 10px #fff,
              0 0 20px #fff,
              0 0 40px #fff;
}

.news-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.news-card:hover .news-img {
  transform: scale(1.02);
}

.news-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #0f172a;
}

.news-card p {
  font-size: 15px;
  color: #4b5563;
  line-height: 1.7;
  flex-grow: 1;
}

.meta {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  font-size: 13px;
  color: #6b7280;
}

.news-card a {
  margin-top: 16px;
  font-weight: 600;
  text-decoration: none;
  color: #2563eb;
  transition: color 0.2s ease;
}

.news-card a:hover {
  color: #1e40af;
  text-decoration: underline;
}

footer {
  text-align: center;
  padding: 40px 0 20px;
  font-size: 14px;
  color: #9ca3af;
}
