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

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', Arial, sans-serif;
  line-height: 1.6;
  background: #f8f9fa;
  color: #333;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
}
header h1 { font-size: 28px; color: #1e40af; transition: font-size 0.3s ease; }
header.shrink { padding: 10px 0; }
header.shrink h1 { font-size: 22px; }

/* Nav */
nav { margin-top: 10px; }
nav a {
  margin: 0 10px;
  text-decoration: none;
  color: #1e40af;
  font-weight: 600;
  transition: color 0.3s;
}
nav a:hover,
nav a.active { color: #0d6efd; }

/* Hero */
.hero {
  background: #eff6ff;
  padding: 120px 20px 80px;
  text-align: center;
}
.hero h2 { font-size: 40px; margin-bottom: 10px; }
.hero p { font-size: 20px; margin-top: 10px; }
.hero .btn {
  margin-top: 25px;
  padding: 12px 30px;
  background: #0d6efd;
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.hero .btn:hover { background: #0056d2; transform: scale(1.05); }

/* Sections */
section { padding: 60px 20px; max-width: 1000px; margin: auto; }

/* Cards */
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.card {
  background: white;
  padding: 30px 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  flex: 1 1 calc(33% - 40px);
  min-width: 250px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-8px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
.card .icon {
  width: 120px; height: 120px; margin-bottom: 15px;
  filter: drop-shadow(0 3px 5px rgba(0,0,0,0.1));
}
.card h4 { margin-bottom: 10px; font-size: 20px; color: #1e40af; }

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}
.modal-content {
  background: white;
  padding: 30px;
  border-radius: 10px;
  max-width: 500px;
  width: 90%;
  position: relative;
  animation: fadeIn 0.4s ease;
}
.close {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 28px;
  cursor: pointer;
}
form { display: flex; flex-direction: column; gap: 15px; }
form input, form textarea {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
}
form button {
  background: #0d6efd;
  color: white;
  border: none;
  padding: 12px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
}
form button:hover { background: #0056d2; transform: scale(1.05); }

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background: #ffffff;
  border-top: 1px solid #ddd;
  margin-top: 40px;
  font-size: 14px;
}
footer a { color: #1e40af; font-weight: bold; text-decoration: none; }
footer a:hover { color: #0d6efd; text-decoration: underline; }

/* Animacje */
@keyframes fadeIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }

/* Responsive */
@media (max-width: 768px) { .cards { flex-direction: column; } }
