.contact {
    width: 100%;
    border-top: 1px solid rgb(13, 80, 161);
    border-bottom: 1px solid rgb(13, 80, 161);
    margin-bottom: 100px;
}

.contact-row {
    display: grid;
    grid-template-columns: 3fr 1fr;
}

.contact-row:first-child {
    border-bottom: 1px solid rgb(13, 80, 161);
}

.contact-row:first-child > div {
    padding-top: 15px;
    padding-bottom: 25px;
}

.contact-row > div:first-child {
    display: flex;
}


.contact-row > div:first-child > div {
    flex: 1;
}

.contact-row > div:first-child > div {
	padding-top:80px;
}

.contact-row > div:first-child > div:nth-child(2) {
    display: flex;
    justify-content: center;
    align-items: top;

}

.contact-row > :first-child {
    border-right: 1px solid rgb(13, 80, 161);
}

.contact-row input[type="text"], .contact-row input[type="email"], .contact-row textarea {
    width:100%;
	border-radius:25px;
	margin-bottom:30px;
	border: 1px solid rgb(13, 80, 161);
	  padding-left: 20px;  /* Left spacing */
}

.contact-row input[type="text"], .contact-row input[type="email"] {
    height:40px;
	border-radius:25px;
	  height: 40px;
  line-height: 40px;   /* Vertically centers text and placeholder */
}

.contact-row textarea {
	  padding-top: 10px;  /* Left spacing */
}

.contact-row input::placeholder, .contact-row textarea::placeholder {
  color: rgb(13, 80, 161);        /* Optional */
}

.contact-row input[type="submit"] {
background: var(--color-main-menu);
    color: #fff;
    border-color: var(--color-main-menu);
	padding: 10px 16px;
    border: 2px solid var(--color-main-menu);
    border-radius: 999px;
    text-decoration: none;
	margin-bottom:130px;
}

.subpage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 20px; /* row gap / column gap */
    margin-top: 50px;
    margin-bottom: 100px;
}



.circle {
  width: 300px;
  height: 300px;
  border: 2px solid #7f904a;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 25px;
  overflow: hidden;
}

.circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}






.subpage-grid > a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px; /* space between circle and text */
    text-decoration: none;
    color: inherit;
}

.team-title {
    padding: 10px 16px;
    text-decoration: none;
    color: var(--color-main-menu);
	margin-top:20px;
	font-weight:700;
}

.team-title p {
    text-decoration: none;
    color: #80904d;
	font-weight:300;
}

.circle a {
  color: #0d50a1;
  text-decoration: none;
}

.circle a:hover,
.circle a:focus,
.circle a:active,
.circle a:visited {
  color: #0d50a1;
  text-decoration: none;
}


@media (max-width: 768px) {

    .subpage-grid {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        margin-top: 30px;
        margin-bottom: 60px;
    }

	.circle {
		width: clamp(220px, 70vw, 300px);
		height: clamp(220px, 70vw, 300px);
	}

    .team-title {
        margin-top: 15px;
    }

}