/* Nowoczesny styl CV dopasowany do głównej strony */
body,
h1,
h2,
h3,
h4,
h5,
h6,
.media-heading,
.card-title,
.card-subtitle,
.label,
.progress-bar,
.well,
.container {
  font-family: 'Roboto', Arial, Helvetica, sans-serif !important;
}

body {
  background: linear-gradient(120deg, #232526 0%, #414345 100%);
  color: #222;
}

.container {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.10);
  padding: 30px 50px;
  margin-top: 0px;
  margin-bottom: 32px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  letter-spacing: 0.5px;
}

h1 {
  letter-spacing: 1px;
  font-size: 2.0rem;
}

h2 {
  font-size: 1.75rem;
  margin-top: 18px;
}

h3 {
  font-size: 1.5rem;
  margin-top: 12px;
}

h4 {
  font-size: 1.25rem;
  margin-top: 8px;
}

.media-heading {
  font-size: 1.75rem;
  color: #005bea;
}

hr {
  border-top: 2px solid #005bea;
  border-radius: 2px;
  margin-top: 1.2em;
  margin-bottom: 1.2em;
}

.well,
.container,
.row,
.card,
.card-body {
  background: #f7faff;
  border-radius: 12px;
}

.progress {
  background: #e9ecef;
  border-radius: 8px;
  margin-bottom: 10px;
  height: 28px;
  font-size: 1rem;
}

.progress-bar {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.2px;
  text-align: left !important;
  padding: 5px;
  border-radius: 8px;
}

.progress-bar-success {
  background: linear-gradient(90deg, #43cea2 0%, #185a9d 100%);
}

.progress-bar-info {
  background: linear-gradient(90deg, #00c3ff 0%, #005bea 100%);
}

.progress-bar-warning {
  background: linear-gradient(90deg, #f7971e 0%, #ffd200 100%);
  color: #333;
}

.progress-bar-danger {
  background: linear-gradient(90deg, #e53935 0%, #e35d5b 100%);
}

.media-object.img-rounded {
  border-radius: 50%;
  border: 4px solid #00c3ff33;
  box-shadow: 0 2px 12px #005bea22;
}

.label-default {
  background: #005bea;
  color: #fff;
  font-size: 1.25rem;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-weight: 500;
}

footer,
.footer {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #888;
  background: #f7faff;
  border-top: 2px solid #005bea;
  margin-top: 2em;
  padding-top: 1em;
}

.card {
  border-radius: 16px;
  border: none;
  box-shadow: 0 2px 16px rgba(0, 91, 234, 0.07);
  background: #f7faff;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
}

.card-title {
  color: #005bea;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.card-subtitle {
  font-size: 1.5rem;
  color: #888;
  margin-bottom: 0.5rem;
}

.card .label-default {
  margin-bottom: 0.7rem;
  display: inline-block;
}

.card-text {
  font-size: 1.25rem;
  color: #232526;
  margin-bottom: 0;
  padding-left: 0.5rem;
}

.card ul {
  padding-left: 1.2rem;
  margin-bottom: 0;
}

.card-body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.list-unstyled li {
  font-size: 1.25rem;
  margin-bottom: 0.3rem;
}

.d-flex.flex-wrap.justify-content-center {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start !important;
  gap: 24px 16px;
}

.card.h-100 {
  margin: 0 !important;
  flex: 0 1 340px;
  max-width: 340px;
}

@media (max-width: 768px) {
  .container {
    padding: 12px 4px 12px 4px;
  }

  h1 {
    font-size: 1.3rem;
  }

  h2 {
    font-size: 1.1rem;
  }
}

@media (max-width: 991px) {
  .card {
    min-height: 420px;
  }
}

@media (max-width: 767px) {
  .card {
    min-height: 0;
  }

  .well,
  .container,
  .row,
  .card,
  .card-body {
    border-radius: 6px;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-size: 1.1em;
  }
}