.contact-page{
  padding-top:4.25rem;
  padding-bottom:5rem;
  position:relative;
  background:#fff;
  overflow:hidden;
}

.contact-page::before,
.contact-page::after{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  width:520px;
  background-image:url("../img/background-shapes.png");
  background-repeat:no-repeat;
  background-size:200px auto;
  pointer-events:none;
  z-index:0;
  opacity:1;
}

.contact-page::before{
  left:0;
  background-position:left 0px top 400px;
}

.contact-page::after{
  right:0;
  background-position:left 0px top 10px;
  transform:scaleX(-1);
  transform-origin:center;
}

.contact-page > .container{
  position:relative;
  z-index:1;
}

@media (max-width: 1199.98px){
  .contact-page::before{
    background-position:left 30px top 240px;
    background-size:200px auto;
  }
  .contact-page::after{
    background-position:right 30px top 170px;
    background-size:200px auto;
  }
}

@media (max-width: 991.98px){
  .contact-page::before{
    background-position:left -40px top 260px;
  }
  .contact-page::after{
    background-position:right -40px top 190px;
  }
}

@media (max-width: 575.98px){
  .contact-page::before,
  .contact-page::after{
    display:none;
  }
}

.contact-page a,
.contact-page a:visited{
  color:inherit;
  text-decoration:none;
}

.contact-page a:hover{
  color:inherit;
  text-decoration:none;
}

.contact-head{
  max-width:920px;
  margin:0 auto 3rem;
}

.contact-title{
  font-weight:700;
  letter-spacing:-.02em;
  color:var(--text-dark);
  font-size:2.35rem;
}

.contact-subtitle{
  color:var(--muted);
  line-height:1.75;
  font-size:1.02rem;
}

.contact-card-wrap{
  display:flex;
  justify-content:center;
}

.contact-card{
  width:100%;
  max-width:620px;
  background:#fff;
  border-radius:2.25rem;
  padding:2.25rem 2.25rem 2rem;
  box-shadow:0 30px 80px rgba(17,24,39,.08);
}

.contact-form{
  display:flex;
  flex-direction:column;
  gap:1.35rem;
}

.contact-control{
  width:100%;
  height:54px;
  border:1px solid #e6e6e6;
  border-radius:999px;
  padding:0 1.25rem;
  font-size:1rem;
  color:#1f2937;
  background:#fff;
  outline:none;
}

.contact-control::placeholder{
  color:#8b8b8b;
}

.contact-control:focus{
  border-color:#d9d9d9;
  box-shadow:none;
}

.contact-textarea{
  height:150px;
  border-radius:1.25rem;
  padding:1rem 1.25rem;
  resize:none;
}

.contact-submit{
  width:100%;
  height:54px;
  border:none;
  border-radius:999px;
  background:var(--brand-red);
  color:#fff;
  font-weight:600;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.75rem;
  margin-top:.25rem;
}

.contact-submit i{
  font-size:1.05rem;
  line-height:1;
}

.contact-submit:hover{
  background:#d83131;
}

.contact-info-section{
  padding:2.25rem 0 1.25rem;
}

.contact-info-grid{
  display:flex;
  justify-content:center;
  gap:2.25rem;
  flex-wrap:wrap;
}

.contact-info-card{
  flex:1 1 320px;
  max-width:420px;
  background:#f3f3f3;
  border:10px solid #fff;
  border-radius:2.25rem;
  padding:2.25rem 1.75rem;
  text-align:center;
  box-shadow:0 24px 70px rgba(17,24,39,.08);
  text-decoration:none;
  color:inherit;
}

.contact-info-link{
  cursor:pointer;
}

.contact-info-icon{
  width:58px;
  height:58px;
  border:1.5px solid var(--brand-red);
  border-radius:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin:0 auto 1.25rem;
  background:transparent;
}

.contact-info-icon i{
  color:var(--brand-red);
  font-size:1.35rem;
  line-height:1;
}

.contact-info-title{
  font-weight:700;
  color:var(--text-dark);
  font-size:1.12rem;
  margin-bottom:.55rem;
}

.contact-info-text{
  color:var(--muted);
  font-size:1rem;
  line-height:1.4;
}

@media (max-width: 991.98px){
  .contact-info-card{
    max-width:520px;
  }
}
