body{
    color: #333;
}

/* Edited by: kryst 25.06.25 
.home {
    display: block;
    text-align: center;
    margin-top: 6%;
}
*/

.home {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 10vh;
    padding: 0 20px;
}
/* Dodane przez kryst 25.06.25 
aż do .button-orange*/
/* ==== HERO SECTION ==== */
.homepage-hero {
  position: relative;
  background: #fff;
  padding: 60px 20px;
  margin: 40px auto;
  max-width: 1100px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 40px;
  justify-content: space-evenly;
  flex-wrap: wrap;
  cursor: default;
}

/* Decorative circles using pseudo-elements */
.homepage-hero::before,
.homepage-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  opacity: 1;
  z-index: 0;
}

.homepage-hero::before {
  width: 200px; height: 200px;
  /*background: var(--jrs-orange);*/
  border: 2px solid var(--jrs-orange);
  top: -40px; right: -40px;
}

.homepage-hero::after {
  width: 400px; height: 400px;
  border: 2px solid var(--jrs-blue);
  bottom: -320px; left: -150px;
  opacity: 0.8;
}

/* Layout: two columns on desktop, centered on mobile */
.homepage-hero {
  flex: 1 1 400px;
  z-index: 1;
}

.homepage-hero .hero-graphic {
  flex: 1 1 300px;
  display: none; /* pokaż, jeśli masz SVG/ilustrację */
  z-index: 1;
}

/* Headings & text */
.homepage-hero h1 {
  font-size: 2.8em;
  color: #264e86;
  font-weight: 700;
  margin-bottom: 16px;
  margin-left: 70px;
  margin-right: 70px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.homepage-hero .lead-text {
  font-size: 1.15em;
  max-width: 600px;
  color: #555;
  margin-bottom: 24px;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

.recruitment-deadline {
  display: inline-block;
  border: 1px solid var(--jrs-orange);
  font-weight: 500;
  padding: 6px 14px;
  margin-top: 10px;
  border-radius: 10px;
  font-size: 0.95em;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Double-layered CTA button */
.cta-button {
  position: relative;
  display: inline-block;
  font-size: 1.1em;
  font-weight: 600;
  padding: 14px 32px;
  color: #fff;
  background-color: var(--jrs-orange);
  border: 2px solid #D97014;
  border-radius: 8px;
  cursor: pointer;
  overflow: hidden;
  z-index: 1;
  transition: all 0.2s ease-in-out;
}

.cta-button:hover {
  background-color: white;
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
  color: #D97014;
}

/* RESPONSYWNOŚĆ */
@media (max-width: 768px) {
  .homepage-hero {
    flex-direction: column;
    text-align: center;
    padding: 40px 16px;
  }
  .homepage-hero::before,
  .homepage-hero::after { display: none; }
}


/* ==== INFO SECTION ==== */
.info-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 0 0 30px;
  max-width: 1200px;
  margin: 0 auto;
  background-color: #fff;
}

/* BASE CARD STYLE */
.info-card {
  background-color: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  text-align: center;
  flex: 1 1 300px;
  max-width: 320px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
  border-top: 4px solid transparent;
}

.info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* CARD ICON */
.info-icon {
  font-size: 2.5em;
  color: #264e86;
  margin-bottom: 15px;
}

/* CARD HEADINGS & TEXT */
.info-card h2,
.info-card h3 {
  font-size: 1.5em;
  color: #264e86;
  margin: 15px 0 10px;
  font-weight: 600;
}

.info-card p {
  color: #666;
  font-size: 1em;
  line-height: 1.5;
  margin-bottom: 20px;
}

/* ==== CONTACT CARD MODIFIER ==== */
.info-card--contact {
  background-color: white;
  text-align: center;
}

.info-section .info-card:nth-child(1) { border-top-color: #264e86; }
.info-section .info-card:nth-child(2) { border-top-color: #5a9bd3; }
.info-card--contact { border-top-color: #d97014; }

/* Delikatny akcent kolorem w kontakcie */
.info-card--contact .info-icon {
  color: #d97014;
}

.info-card--contact h3 {
  color: #d97014;
}

/* CONTACT BUTTON (USES CTA COLORS) */
.contact-btn {
  display: inline-block;
  background-color: #D97014;
  color: #fff;
  padding: 10px 22px;
  border: 2px solid #D97014;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}
.contact-btn:hover {
  background-color: #fff;
  color: #D97014;
  border-color: #D97014;
}

/* ==== RESPONSYWNOŚĆ ==== */
@media (max-width: 768px) {
  .homepage-hero h1 {
    font-size: 2.2em;
  }
  .info-section {
    gap: 20px;
  }
}

.button-orange{
    background-color: var(--jrs-orange);
    color: white;
    margin-top: 10px;
    margin-bottom: 20px;;

}

form{
    margin: 1%;
}

.recruitment-list{
    justify-items: center;
    text-align: center;
    padding: 0;
    max-width: 600px;
    list-style: none;
    line-height: 30px;
}

.two-column-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    padding: 0;
    margin-left: 20%;
    margin-right: 20%;
    max-width: 600px;
    list-style-position: inside;
}

.two-column-list:has(li:only-child) {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
}


@media (max-width: 768px) {
    .two-column-list {
        grid-template-columns: 1fr;
        margin-left: 10%;
        margin-right: 10%; 
    }
}


.radio-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 0.5em;
    margin-left: 38%;
}



.choice {
    margin-bottom: 0.5em;
}

.success-message {
    max-width: 550px;
    text-align: center;
    background-color: white;
    padding: 40px 30px;
    border-radius: 20px;
    margin: 40px auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--jrs-blue);
}
.success-message h1 {
    color: var(--jrs-orange);
    font-size: 2.5em;
    margin-bottom: 20px;
    font-weight: 600;
}

@media (max-width: 250px) {
    .success-message h1 {
        font-size: 1.9em;
    }
}


.success-message p {
    font-size: 1.2em;
    margin-bottom: 15px;
}

.success-message a {
    color: var(--jrs-orange);
    text-decoration: none;
    font-weight: bold;
}

.centered-content{
    display: flex; 
    justify-content: center !important;
    align-items: center !important;
    text-align: center;
}

@media (max-width: 435px) {
    .captcha-container {
        transform: scale(0.7);
        transform-origin: 0 0; 
        display: inline-block;
    }
}


@media (max-width: 300px) {
    .captcha-container {
        transform: scale(0.4); 
        transform-origin: 0 0;
        display: inline-block;
    }
}



