body {
  margin: 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  font-family: 'Roboto', sans-serif;
  min-height: 100vh;
}

.contact-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  font-family: 'Roboto', sans-serif;
}

.contact-section h2, .contact-section h3 {
  margin-bottom: 15px;
  color: #333;
  text-align: center;
}

/* Nagłówek sekcji kontaktowej */
main h2 {
  font-size: 2rem;
  color: #333;
  text-align: center;
  margin-bottom: 20px;
}

.contact-section p {
  margin-bottom: 10px;
  font-size: 1rem;
  color: #555;
  text-align: center;
}

.contact-info {
  flex: 1;
  margin-bottom: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: self-start;
  justify-content: center;
  gap: 0px; /* Odstępy między elementami */
  margin: 0px 0;
  font-size: 1rem;
  color: #555;
}

.contact-info p {
  margin: 0;
  text-align: center;
}

.contact-info a {
  color: #555;
  text-decoration: none;
  /* font-weight: bold; */
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Kontener dla sekcji kontaktowej */
.contact-container {
  padding: 20px; /* Wewnętrzne odstępy */
  background-color: rgba(255, 255, 255, 0.95); /* Tło z lekką przezroczystością */
  border-radius: 15px; /* Zaokrąglone rogi */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Lekki cień */
  text-align: center; /* Wyrównanie tekstu */
  z-index: 10; /* Ustawienie na wierzchu */
  width: 1000px;
}

/* Wiersz dla adresu i informacji kontaktowych */
.contact-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

/* Stylizacja dla adresu */
.location-info {
  flex: 1;
  font-size: 1rem;
  color: #555;
  text-align: right; /* Wyrównanie tekstu do prawej */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end; /* Wyśrodkowanie w pionie i wyrównanie do prawej */
}

/* Stylizacja dla mapy */
.map-container {
  width: 100%;
  height: 300px;
  border: 1px solid #ddd;
  border-radius: 5px;
  overflow: hidden;
  margin-top: 20px;
}

/* Umożliwienie zaznaczania tekstu w zaktualizowanej sekcji kontaktowej */
.contact-wrapper, 
.contact-wrapper h2, 
.contact-wrapper h3, 
.contact-wrapper p, 
.contact-wrapper a, 
.contact-wrapper strong {
  user-select: text !important; /* Wymusza możliwość zaznaczania tekstu */
}

/* Stylizacja dla nagłówka kontaktu */
.contact-header {
  width: 100%; /* Rozciągnięcie na całą szerokość */
  text-align: center; /* Wyrównanie tekstu do środka */
  margin-bottom: 5px; /* Odstęp od kontenera */
}

.contact-header h1 {
  font-size: 2.5rem;
  color: #333;
  font-weight: bold;
  margin: 0; /* Usuń domyślne marginesy */
}

.contact-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* Wycentrowanie w pionie */
  height: 100%;
  padding: 20px; /* Odstępy wewnętrzne */
  box-sizing: border-box; /* Uwzględnia padding w wymiarach */
  width: 80%; /* Szerokość kontenera */
  max-width: 1000px; /* Maksymalna szerokość */
  margin: 0 auto; /* Wycentrowanie w poziomie */
}

/* Career Section Styles */
.career-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 60px 20px 80px 20px;
  margin-top: 82px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: calc(100vh - 82px - 120px);
}

.career-header {
  text-align: center;
  margin-bottom: 40px;
}

.career-header h1 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 15px;
  font-weight: 700;
}

.career-header p {
  font-size: 1.2rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.career-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.career-info {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.career-info h3 {
  color: #333;
  font-size: 1.5rem;
  margin-bottom: 20px;
  text-align: center;
}

.career-info ul {
  list-style: none;
  padding: 0;
}

.career-info li {
  padding: 10px 0;
  font-size: 1rem;
  color: #555;
  border-bottom: 1px solid #eee;
}

.career-info li:last-child {
  border-bottom: none;
}

.career-form-section {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.career-form-section h3 {
  color: #333;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.career-form-section p {
  color: #666;
  margin-bottom: 25px;
  font-size: 1rem;
  flex-grow: 1;
}

.career-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--logo2, #2e8bff);
  color: white;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(46, 139, 255, 0.3);
  margin-top: auto;
}

.career-button:hover {
  background: var(--logo3, #307fa2);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 139, 255, 0.4);
}

.career-button i {
  font-size: 1.2rem;
}

/* Open Positions Section */
.open-positions {
  max-width: 1000px;
  margin: 40px auto 0;
  padding: 30px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  width: 100%;
  box-sizing: border-box;
}

.open-positions h3 {
  color: #333;
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 30px;
}

.positions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.position-card {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 25px;
  border-radius: 10px;
  border-left: 4px solid var(--logo2, #2e8bff);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.position-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.position-card h4 {
  color: #333;
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.position-card p {
  color: #666;
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 768px) {
  .career-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .career-header h1 {
    font-size: 2rem;
  }
  
  .career-info, .career-form-section {
    padding: 20px;
  }
  
  .open-positions {
    margin: 20px auto 0;
    padding: 20px;
  }
  
  .open-positions h3 {
    font-size: 1.5rem;
  }
  
  .positions-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .position-card {
    padding: 20px;
  }
}