.kontak {
  padding: 60px 20px;
  background: #fff;
  margin-top: 40px;
  box-shadow: 0 -10px 5px rgba(0,0,0,0.05);
  text-align: center;
}

.kontak h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #fd5702;
  margin-bottom: 10px;
}

.kontak p.subtitle {
  font-size: 1rem;
  color: #555;
  margin-bottom: 40px;
}

.kontak-form {
  width: 90%;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.kontak-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.kontak-form input,
.kontak-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #fd5702;
  border-radius: 5px;
  font-size: 1rem;
  outline: none;
  transition: border 0.3s ease;
}

.kontak-form input:focus,
.kontak-form textarea:focus {
  border: 1px solid #333;
}

.kontak-form textarea {
  resize: none;
  min-height: 150px;
}

.kontak-form button {
  background: #fd5702;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 14px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.kontak-form button:hover {
  background: #e64a00;
}

@media screen and (max-width: 425px) {
 .kontak h2 {
    font-size: 1.5rem;
 }
 .kontak p.subtitle {
    font-size: 0.9rem;
    margin-bottom: 20px;
 }
 .kontak-form input, .kontak-form textarea {
    padding: 10px 12px;
    font-size: 0.8rem;
 }
 .kontak-form button {
    font-size: 0.9rem;
 }
}

.modal-overlay {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s;
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 30px;
    border: 1px solid #888;
    width: 90%;
    max-width: 400px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transform: scale(0.9);
    animation: scaleUp 0.3s forwards;
}

.modal-icon {
    margin-bottom: 20px;
}

.modal-icon .fa-check-circle {
    font-size: 50px;
    color: #28a745;
}

.modal-content h2 {
    margin-top: 0;
    color: #333;
    font-size: 1.8rem;
}

.modal-content p {
    color: #555;
    font-size: 1rem;
}

.close-modal-btn {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
}

.close-modal-btn:hover,
.close-modal-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes scaleUp {
    from {transform: scale(0.9); opacity: 0.5;}
    to {transform: scale(1); opacity: 1;}
}