body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #fafafa;
  color: #222;
}
.site-header {
  background: #1a202c;
  color: #fff;
  padding: 10px 20px;
}

.header-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  color: #fff;
  text-decoration: none;
  font-size: 1.3rem;
}

.nav {
  position: relative;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: #fff;
}
  
  .container {
    max-width: 960px;
  margin: 20px auto;
  padding: 0 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
  }
  
  h1, h2 {
    color: #333;
  }
  
  a {
    color: #007BFF;
    text-decoration: none;
  }
  
  a:hover {
    text-decoration: underline;
  }
  
  form input, form textarea, form select {
    width: 100%;
    padding: 10px;
    margin: 8px 0 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
  }
  
  form button, form input[type="submit"] {
    background-color: #28a745;
    color: white;
    padding: 10px 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  form button:hover {
    background-color: #218838;
  }
  
  .stat-box {
    display: inline-block;
    margin-right: 15px;
    padding: 6px 12px;
    background-color: #e9ecef;
    border-radius: 6px;
    font-size: 14px;
  }
  
  table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
  }
  
  table th, table td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
    text-align: left;
  }
  
  .flash {
    padding: 10px;
    background-color: #ffd;
    border: 1px solid #ccc;
    margin-bottom: 20px;
  }

  .flash-success {
    background-color: #e0ffe0;
    color: #207020;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #8bc34a;
    border-radius: 5px;
  }
  
  .flash-error {
    background-color: #ffe0e0;
    color: #a00000;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #f44336;
    border-radius: 5px;
  }
  
  .form-error {
    display: block;
    color: #d32f2f;
    font-size: 0.9em;
    margin-top: 4px;
  }
  
  .site-footer {
    text-align: center;
    margin: 50px 0 20px;
    color: #555;
    font-size: 0.9em;
  }
  
  .flashes {
    margin: 20px 0;
  }

  @media (max-width: 768px) {
    .nav-links {
      display: none;
      flex-direction: column;
      position: absolute;
      right: 0;
      top: 100%;
      background: #2d3748;
      width: 100vw;
      max-width: 300px;
      padding: 10px 0;
      border-radius: 5px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.2);
      z-index: 999;
      opacity: 0;
      transform: translateY(-10px);
      transition: opacity 0.3s ease, transform 0.3s ease;
    }
  
    .nav-links.show {
      display: flex;
      opacity: 1;
      transform: translateY(0);
    }
  
    .nav-toggle {
      display: block;
    }
  }

  .nav-links li a.active {
    color: #63b3ed; /* Jasnoniebieski */
    font-weight: bold;
    border-bottom: 2px solid #63b3ed;
  }
  
  .nav-links li a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.1s ease;
  }
  
  .nav-links li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
  
  .nav-links li a:active {
    transform: scale(0.96);
    background-color: rgba(255, 255, 255, 0.2);
  }

  .offer-card {
    position: relative;
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
  }
  
  .offer-inner {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .offer-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #1a202c;
  }
  
  .offer-footer {
    margin-top: 8px;
    font-size: 0.95rem;
    color: #4a5568;
  }
  
  .offer-description-wrapper {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #edf2f7;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
  }
  
  .offer-card:hover .offer-description-wrapper {
    max-height: 200px;
    opacity: 1;
  }
  
  .read-more-button {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.95rem;
    color: #3182ce;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
  }
  
  .read-more-button:hover {
    color: #2b6cb0;
    text-decoration: underline;
  }
  
  .offer-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  }
  
  .requirements-list {
    list-style: none;
    padding: 0;
    margin: 1em 0;
  }
  
  .requirement-item {
    background-color: #f9f9f9;
    border-left: 4px solid #4CAF50;
    padding: 10px 15px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    border-radius: 4px;
    font-size: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  }
  
  .requirement-icon {
    color: #4CAF50;
    font-weight: bold;
    margin-right: 10px;
  }
  
  
/* Ogólny font, kolory i odstępy */
.about-header {
  text-align: center;
  padding: 4rem 1rem 2rem;
  background: linear-gradient(135deg, #0052d4, #4364f7, #6fb1fc);
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 82, 212, 0.4);
  margin-bottom: 3rem;
}

.about-header h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  letter-spacing: 1px;
}

.about-header p {
  font-size: 1.3rem;
  font-weight: 400;
  font-style: italic;
}

/* Sekcja intro — obraz + tekst obok */
.about-intro {
  display: flex;
  gap: 3rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto 4rem;
  padding: 0 1rem;
  flex-wrap: wrap;
}

.intro-text {
  flex: 1 1 480px;
  font-size: 1.15rem;
  line-height: 1.65;
  color: #222;
}

.intro-text p {
  margin-bottom: 1.4rem;
}

.intro-image {
  flex: 1 1 450px;
  text-align: center;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.intro-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  transition: transform 0.6s ease;
}

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

/* Highlights list */
.about-highlights {
  max-width: 800px;
  margin: 0 auto 4rem;
  padding: 0 1rem;
  background: #f5f9ff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(67,100,247,0.15);
  padding: 2.5rem 3rem;
}

.about-highlights h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #0052d4;
  margin-bottom: 1.5rem;
  text-align: center;
  letter-spacing: 0.5px;
}

.highlights-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 600px;
}

.highlights-list li {
  font-size: 1.15rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #0b2e6e;
  font-weight: 600;
}

.highlights-list li i {
  color: #4364f7;
  font-size: 1.5rem;
  min-width: 28px;
}

/* Call to action */
.about-cta {
  max-width: 700px;
  margin: 0 auto 4rem;
  padding: 1rem 2rem;
  text-align: center;
  background: #0052d4;
  color: #fff;
  border-radius: 12px;
  font-size: 1.3rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0,82,212,0.4);
  letter-spacing: 0.5px;
}

.about-cta em {
  font-weight: 400;
  font-style: italic;
  display: block;
  margin-top: 0.7rem;
}

/* Contact form section */
.contact-section {
  max-width: 600px;
  margin: 0 auto 6rem;
  padding: 2rem 1rem;
  border: 2px solid #4364f7;
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(67,100,247,0.25);
  background: white;
}

.contact-section h2 {
  text-align: center;
  font-size: 2rem;
  color: #0052d4;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.form-group {
  margin-bottom: 1.5rem;
}

.input {
  width: 100%;
  padding: 0.65rem 1rem;
  font-size: 1rem;
  border-radius: 8px;
  border: 1.8px solid #ccc;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.input:focus {
  outline: none;
  border-color: #4364f7;
  box-shadow: 0 0 8px #4364f7aa;
}

.textarea {
  min-height: 120px;
  resize: vertical;
}

.btn-primary {
  background: linear-gradient(90deg, #0052d4, #4364f7);
  color: white;
  border: none;
  padding: 0.75rem 2.2rem;
  font-size: 1.15rem;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  transition: background 0.3s ease;
  display: block;
  margin: 0 auto;
  letter-spacing: 0.5px;
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(90deg, #003c9f, #2f4fb8);
  outline: none;
}

/* Error messages */
.error {
  color: #d9534f;
  font-size: 0.9rem;
  margin-top: 0.3rem;
  display: block;
}

/* Fade-in animations */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  animation-fill-mode: forwards;
  animation-name: fadeInUp;
  animation-duration: 1s;
  animation-timing-function: cubic-bezier(0.5, 0, 0, 1);
}

.fade-in.delay-1 {
  animation-delay: 0.3s;
}

.fade-in.delay-2 {
  animation-delay: 0.6s;
}

.fade-in.delay-3 {
  animation-delay: 0.9s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.photo img {
  width: 400px;
  height: 280px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 82, 212, 0.3);
  border: 3px solid #4364f7;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}


.photo-text-section {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 1000px;
  margin: 3rem auto;
  padding: 0 1rem;
  flex-wrap: nowrap; /* <-- ważne! */
  /* jeśli chcesz, żeby się zawijało na małych ekranach, użyj media queries */
}

.photo-text-section .photo img {
  width: 400px; /* jednakowa szerokość */
  height: 280px; /* jednakowa wysokość */
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 82, 212, 0.3);
  transition: transform 0.4s ease;
  cursor: pointer;
}

.photo-text-section .photo img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 82, 212, 0.5);
}

.photo-text-section .text {
  flex: 1;
  font-size: 1.1rem;
  color: #333;
  line-height: 1.5;
}

/* Układ dla lewej strony zdjęcia */
.photo-text-section.left-image {
  flex-direction: row;
}

/* Układ dla prawej strony zdjęcia */
.photo-text-section.right-image {
  flex-direction: row-reverse;
}

/* Responsywność */
@media (max-width: 900px) {
  .photo-text-section {
    flex-direction: column !important; /* kolumnowo na mniejszych ekranach */
    text-align: center;
  }
  .photo-text-section .photo img {
    width: 100%;
    height: auto;
    max-height: 300px;
    margin-bottom: 1rem;
  }
  .photo-text-section .text {
    font-size: 1rem;
  }
}

