/* csslint bulletproof-font-face:false */

/* csslint font-face-name-format:false */

/* csslint font-face-src:false */

/* 900 weight / normal ------------------------------------------ */
@font-face {
  font-display: swap;
  font-family: Figtree;
  font-style: normal;
  font-weight: 900;
  src: url("../fonts/static/Figtree-Black.ttf") format("truetype");
}

/* 300 weight / italic ------------------------------------------ */
@font-face {
  font-display: swap;
  font-family: Figtree;
  font-style: italic;
  font-weight: 900;
  src: url("../fonts/static/Figtree-BlackItalic.ttf") format("truetype");
}

/* 400 weight / normal ------------------------------------------ */
@font-face {
  font-display: swap;
  font-family: Figtree;
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/static/Figtree-Regular.ttf") format("truetype");
}

/* 700 weight / normal ------------------------------------------ */
@font-face {
  font-display: swap;
  font-family: Figtree;
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/static/Figtree-Bold.ttf") format("truetype");
}

/* 400 weight / italic ------------------------------------------ */
@font-face {
  font-display: swap;
  font-family: Figtree;
  font-style: italic;
  font-weight: 400;
  src: url("../fonts/static/Figtree-Italic.ttf") format("truetype");
}

/* 700 weight / italic ------------------------------------------ */
@font-face {
  font-display: swap;
  font-family: Figtree;
  font-style: italic;
  font-weight: 700;
  src: url("../fonts/static/Figtree-BoldItalic.ttf") format("truetype");
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video,
input,
textarea {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

body {
  font-family: Figtree, sans-serif;
  font-style: normal;
  margin: 0;
  padding: 0;
  position: relative;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.content-section {
  position: relative;
  padding: 80px 24px;
}

.contact-container {
  display: flex;
  /* min-height: 100vmin; */
  padding-top: 135px;
  padding-bottom: 115px;
  max-width: 1400px;
  margin: auto;
}

.contact-container::after {
  content: "";
  position: absolute;
  bottom: -40px;
  right: 0;
  width: 100%;
  height: 929px;
  background-image: url("../images/contact-bg.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  z-index: -1;
}

.contact-form-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-form {
  max-width: 555px;
}

.contact-title {
  color: #ff6c00;
  font-size: 46px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
}

.contact-description {
  color: #161b1f;
  font-size: 18px;
  line-height: 1.333;
  margin-bottom: 20px;
}

.alert {
  background-color: #ffefef;
  border: 1px solid #f1d3d3;
  border-radius: 8px;
  padding: 16px 18px 16px 55px;
  margin-bottom: 24px;
  gap: 16px;
  position: relative;
  flex: 1;
  color: #cb1c1d;
  font-size: 18px;
  line-height: 1.111;
}

.alert::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 18px;
  transform: translateY(-50%);
  width: 23px;
  height: 23px;
  background-image: url("/images/alert.svg");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

.success {
  background-color: #eefbfa;
  border: 1px solid #aeded9;
  border-radius: 8px;
  padding: 16px 18px 16px 55px;
  margin-bottom: 24px;
  gap: 16px;
  position: relative;
  flex: 1;
  color: #008a7c;
  font-size: 18px;
  line-height: 1.111;
}

.success::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 18px;
  transform: translateY(-50%);
  width: 23px;
  height: 23px;
  background-image: url("/images/checkmark-fill.svg");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

.form-group {
  flex: 1;
}

.form-group:first-child {
  margin-bottom: 20px;
}

.form-input {
  width: 100%;
  padding: 18px;
  color: #161b1f;
  border: 1px solid #e1e2e5;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.2s ease;
  background-color: white;
}

.form-input:focus {
  outline: none;
  border-color: #ff6c00;
}

.form-input::placeholder {
  color: #828487;
}

.form-textarea {
  min-height: 272px;
  resize: vertical;
  font-family: inherit;
}

.submit-btn {
  font-size: 22px;
  line-height: 22px;
  color: #ffffff;
  font-weight: 700;
  text-align: center;
  border: none;
  cursor: pointer;
  padding: 16px;
  margin-top: 26px;
  transition: all 0.3s ease;
  width: 169px;
  border-radius: 26px;
  font-family: "Figtree";
  background-color: #008a7c;
}

.submit-btn:hover {
  background: #009989;
}

@media (max-width: 1324px) {
  .content-section {
    padding: 40px 24px;
  }
}

@media (max-width: 1024px) {
  .contact-form {
    max-width: 55%;
  }
}

@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    padding-top: 0px;
    padding-bottom: 0px;
  }

  .contact-container::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 78vw;
    background-image: url("../images/contact-bg.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 100% center;
    z-index: -1;
  }

  .content-section {
    padding: 26px 18px;
  }

  .contact-form-section {
    margin-bottom: 74vw;
  }

  .contact-form {
    max-width: 100%;
  }

  .contact-title {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 16px;
  }

  .contact-description {
    font-size: 16px;
    line-height: 1.375;
  }

  .success,
  .alert {
    margin-bottom: 14px;
    gap: 12px;
    font-size: 16px;
    line-height: 1.25;
  }

  .form-group:first-child {
    margin-bottom: 16px;
  }

  .form-textarea {
    max-height: 212px;
  }
}