.contact-section {
    padding: 0; 
    font-family: 'Poppins', 'sans-serif';
}
.contact-container {
    display: flex;
    align-items: center; 
    max-width: 100%;
    margin: 0;
    flex-wrap: nowrap;
    height: 700px; 
}
.contact-image {
    width: 55%; 
}
.contact-image img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    margin-left: 3%;
}
.contact-form {
    width: 45%;
    margin-right: 100px;
    margin-left: 100px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    height: auto; 
}
.contact-form h2 {
    font-size: 18px;
    color: #2ca955;
    letter-spacing: 2px;
    font-weight: 600;
}

.contact-form p {
    font-size: 32px;
    color: black;
    margin-bottom: 30px;
    font-weight: 400;
    margin-top: 0;
}
.contact-form form input {
    width: 100%;
    padding: 10px 0;
    margin-bottom: 20px;
    font-size: 16px;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid black;
    font-weight: 300; 
    font-family: inherit;
    outline: none;
}
.contact-form form textarea {
    width: 100%;
    padding: 10px 0; 
    font-size: 16px; 
    background-color: transparent;
    border: none;
    border-bottom: 1px solid black;
    font-weight: 300; 
    font-family: inherit; 
    line-height: 1.4; 
    resize: vertical;
    min-height: 80px;
    max-height: 100px;
    outline: none;
}

.contact-form form input::placeholder,
.contact-form form textarea::placeholder {
    color: black;
    opacity: 1;
}
.shine-button {
    width: 100%;
    position: relative;
    background-color: #2ca955;
    color: white;
    border: none;
    padding: 14px 28px;
    font-size: 16px;
    border-radius: 3px;
    cursor: pointer;
    overflow: hidden;
    transition: background-color 0.3s ease;
    font-weight: 500;
}
.shine-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0.3) 100%
);
transform: skewX(-25deg);
}
.shine-button:hover::before {
    animation: shine 0.8s forwards;
}
  @keyframes shine {
    0% {
        left: -75%;
}
    100% {
        left: 125%;
}
}
.shine-button:hover {
    background-color: #248844;
}    
.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 30px;
    margin-top: 20px;
    margin-bottom: 50px;
    cursor: pointer;
    font-size: 12px;
    user-select: none;
    color: black;
    font-weight: 300;
}
.checkbox-container input {
    position: absolute;
    cursor: pointer;
    height: 0px;
    width: 0px;
    opacity: 0;
}
.checkbox-container a{
  color: black;
  z-index: 1;
  text-decoration: underline;
  margin-left: 5px;
}
.checkbox-container a:hover{
  color: #248844;
}
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 15px;
    width: 15px;
    background-color: white;
    border: 1px solid black;
    border-radius: 4px; 
}
.checkbox-container input:checked ~ .checkmark {
    background-color: #2ca955;
}
.checkmark::after {
    content: "";
    position: absolute;
    display: none;
}
.checkbox-container input:checked ~ .checkmark::after {
    display: block;
}
.checkbox-container .checkmark::after {
    left: 5px;
    top: 0.5px;
    width: 3px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.map-container iframe {
    width: 100%;
    border: 0;
    margin-top: 7%;
}
@media screen and (max-width: 900px) {
  .contact-container {
    flex-direction: column;
    height: auto;
  }

  .contact-image,
  .contact-form {
    width: 100%;
    margin: 0;
  }

  .contact-image img {
    margin: 0;
    height: auto;
    max-height: 400px;
  }

  .contact-form {
    padding: 30px 20px;
  }

  .contact-form p {
    font-size: 24px;
  }

  .shine-button {
    width: 100%;
  }
}
@media screen and (max-width: 900px) {
  .contact-container {
    padding: 0 20px;
  }

  .contact-form {
    width: 100%;
    max-width: 100%;
    padding: 30px 20px; /* margines wewnętrzny z lewej/prawej */
    box-sizing: border-box;
  }

  .contact-form h2,
  .contact-form p {
    margin-left: 0; /* tekst wyrównany do lewej */
  }

  .contact-form form input,
  .contact-form form textarea {
    font-size: 16px;
  }

  .shine-button {
    width: 100%;
    text-align: center;
  }
}