body{
    background: rgb(230, 230, 230);
	height: 100%;
}
.main {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding-top: 60px;
}

.container {
	display: flex;
	flex-direction: row;
	justify-content: center;
	margin-bottom: 5vh;
}
.contact-info {
	padding: 1rem;
	width: 1280px;
}
.contact-header {
  margin-bottom: 2rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: #0f172a;
  text-align: center;
  font-weight: 300;
}
.contact-form .form-group {
  margin-bottom: 1rem;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid rgba(231, 231, 231, 0.8);
  border-radius: 8px;
  background: #ffffff;
  color:  #0f172a;
  transition: border-color 0.3s;
  font-size: 1rem;
  box-sizing: border-box;
}
.submit-btn {
	width: 100%;
	background-color: #05226b !important; /* Głęboki granat */
	color: #ffffff !important;
	padding: 0.8rem 1.5rem;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	font-weight: 700;
	transition: transform 0.3s;
	font-size: 1rem;
	text-transform: uppercase;
    letter-spacing: 1px;
}
.submit-btn:hover {
    background-color: #031644 !important; /* Jeszcze ciemniejszy przy najechaniu */
}

/* Stylizacja grupy checkboxa */
.form-checkbox {
    display: flex;
    align-items: flex-start; /* Checkbox będzie na górze przy długim tekście */
    column-gap: 12px;
    margin-bottom: 20px;
    text-align: left;
}

/* Styl samego checkboxa */
.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 4px; /* Wyrównanie do pierwszej linii tekstu */
    cursor: pointer;
    flex-shrink: 0; /* Zapobiega zgniataniu checkboxa */
}

/* Styl etykiety (tekstu) */
.form-checkbox label {
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    cursor: pointer;
}

/* Poprawa widoczności skupienia (focus) dla klawiatury - WCAG */
.form-checkbox input[type="checkbox"]:focus {
    outline: 3px solid #004bb5;
    outline-offset: 2px;
}


.contact-icons {
	display: flex;
	flex-direction: column;
	margin-right: 2rem;
	justify-content: center;
}
.contact-info-item {
  display: flex;
  margin-bottom: 30px;
}

.contact-info-icon {
  height: 70px;
  width: 70px;
  background-color: #fff;
  text-align: center;
  border-radius: 50%;
}

.contact-info-icon i {
  font-size: 30px;
  line-height: 70px;
  color: #05226b !important;
}

.contact-info-content {
  margin-left: 20px;
}

.contact-info-content h4 {
    color: #05226b !important; 
    font-weight: 700;
    margin-bottom: 5px;
}

.contact-info-content p {
  color: black;
  font-size: 1em;
}


.map-container {
    width: 100%;
    height: 50vh; /* Ustawiamy mapę na połowę wysokości okna */
    position: relative;
}

.gmap_iframe {
    width: 100%;
    height: 100%; /* Wypełnia całą wysokość kontenera */
    border: 0;
}

@media screen and (max-width: 1700px) {
	.contact-info {
		width: 960px;
	}
}
@media screen and (max-width: 1390px) {
	.contact-info {
		width: 600px;
	}
}
@media screen and (max-width: 1040px) {
	.contact-info {
		width: 400px;
	}
}
@media screen and (max-width: 830px) {
	.container {
		flex-direction: column;
		align-items: center;
	}
	.contact-icons {
		flex-direction: row;
		margin-right: 0;
	}
	.contact-info-item {
		flex-direction: column;
		text-align: center;
		align-items: center;
		min-width: 160px;
	}
	.contact-info-content {
		margin-left: 0;
	}
	.contact-info {
		width: 600px;
	}
}
@media screen and (max-width: 725px) {
	.contact-icons {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		grid-gap: 20px; 
	}
}
@media screen and (max-width: 650px) {
	.contact-info {
		width: 90%;
	}
}
@media screen and (max-width: 350px) {
	.contact-info {
		width: 98.5%;
	}
	.contact-icons {
		grid-template-columns: repeat(1, 1fr); 
	}
}
