/* GENERAL RESET */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;

  margin: 0;

  color: #101c2c;
  background-color: #f6faff;

  font-family: Arial, Helvetica, sans-serif;
}

main {
  flex: 1;
}

a {
  color: inherit;
  text-decoration: none;
}


/* HEADER */

.header {
  width: 100%;

  color: white;
  background-color: #0d1a28;
}

.header_content {
  width: 88%;
  max-width: 1360px;
  min-height: 64px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  margin: 0 auto;
}

.logo {
  color: white;
  font-size: 30px;
  font-weight: 700;
}

.nav_bar {
  display: flex;
  align-items: center;
  gap: 46px;
}

.nav_bar a {
  color: white;
  font-size: 16px;
}

.nav_bar a:hover {
  color: #05bdf4;
}

.talk_button {
  padding: 10px 25px;

  color: #05c7f7 !important;

  border: 1px solid #05c7f7;
  border-radius: 5px;
}

.talk_button:hover {
  color: #0d1a28 !important;
  background-color: #05c7f7;
}


/* CONTACT MAIN SECTION */

.contact_main {
  padding: 28px 20px 34px;
  background:
    radial-gradient(circle at 68% 25%, rgba(7, 139, 234, 0.08), transparent 28%),
    #f6faff;
}

.contact_intro {
  margin-bottom: 24px;
  text-align: center;
}

.contact_eyebrow {
  margin: 0 0 5px;
  color: #078bea;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
}

.contact_me_title {
  margin: 0;
  color: #101c2c;
  font-size: clamp(42px, 5vw, 62px);
  line-height: 1.05;
}

.contact_me_description {
  margin: 10px 0 0;
  color: #506173;
  font-size: 16px;
}

.contact_layout {
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: 350px 1fr;
  align-items: stretch;
  gap: 22px;
  margin: 0 auto;
}

.info_div {
  padding: 25px 24px;
  color: white;
  background: linear-gradient(150deg, #0d1a28, #0d2740);
  border-radius: 9px;
  box-shadow: 0 5px 18px rgba(13, 29, 45, 0.16);
}

.info_heading {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact_icon,
.service_help_icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #05bdf4;
  background-color: rgba(7, 139, 234, 0.12);
  border: 1px solid rgba(5, 189, 244, 0.35);
  border-radius: 50%;
}

.contact_icon {
  width: 58px;
  height: 58px;
}

.contact_icon svg {
  width: 29px;
  height: 29px;
}

.help_text {
  margin: 0;
  color: white;
  font-size: 23px;
  line-height: 1.2;
}

.help_description {
  margin: 21px 0 16px;
  color: #d8e7f5;
  font-size: 14px;
  line-height: 1.55;
}

.contact_details {
  border-top: 1px solid rgba(220, 229, 237, 0.18);
}

.contact_detail {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 13px;
  border-bottom: 1px solid rgba(220, 229, 237, 0.18);
}

.info_icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #05bdf4;
  background-color: rgba(7, 139, 234, 0.15);
  border-radius: 50%;
}

.info_icon svg {
  width: 21px;
  height: 21px;
}

.contact_detail h3 {
  margin: 0 0 4px;
  font-size: 14px;
}

.contact_detail p,
.contact_detail a {
  margin: 0;
  color: #d8e7f5;
  font-size: 13px;
}

.contact_detail a:hover {
  color: #05bdf4;
}

.info_social_links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.info_social_links a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  border: 1px solid rgba(220, 229, 237, 0.25);
  border-radius: 50%;
}

.info_social_links a:hover {
  color: #05bdf4;
  border-color: #05bdf4;
}

.info_social_links svg {
  width: 19px;
  height: 19px;
}

.form_column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact_form {
  flex: 1;
  display: grid;
  gap: 14px;
  padding: 24px 26px 20px;
  background-color: white;
  border: 1px solid #dce5ed;
  border-radius: 9px;
  box-shadow: 0 4px 16px rgba(13, 29, 45, 0.08);
}

.form_row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact_form label {
  display: grid;
  gap: 7px;
  color: #101c2c;
  font-size: 13px;
  font-weight: 600;
}

.contact_form input,
.contact_form select,
.contact_form textarea {
  width: 100%;
  padding: 11px 12px;
  color: #101c2c;
  background-color: white;
  border: 1px solid #cbd8e4;
  border-radius: 3px;
  outline: none;
  font: inherit;
  font-weight: 400;
}

.contact_form input:focus,
.contact_form select:focus,
.contact_form textarea:focus {
  border-color: #078bea;
  box-shadow: 0 0 0 3px rgba(7, 139, 234, 0.1);
}

.contact_form textarea {
  min-height: 90px;
  resize: vertical;
}

.send_button {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: white;
  background-color: #078bea;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.send_button:hover {
  background-color: #05bdf4;
}

.send_button svg {
  width: 19px;
  height: 19px;
}

.service_help {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 13px 20px;
  color: white;
  background-color: #0d1d2d;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(13, 29, 45, 0.12);
}

.service_help_icon {
  width: 49px;
  height: 49px;
}

.service_help_icon svg {
  width: 25px;
  height: 25px;
}

.service_help h2 {
  margin: 0 0 5px;
  font-size: 16px;
}

.service_help p {
  margin: 0;
  color: #d8e7f5;
  font-size: 13px;
}


/* FOOTER */

.footer {
  width: 100%;
  min-height: 115px;
  display: block;
  flex-shrink: 0;

  padding: 20px 0 12px;

  color: white;
  background-color: #0d1d2d;
}

.footer_content {
  width: 87%;
  max-width: 1340px;

  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;

  margin: 0 auto;
}

.footer_brand h2 {
  margin: 0 0 5px;
  font-size: 21px;
}

.footer_brand p {
  margin: 3px 0;

  color: #d5dde5;

  font-size: 12px;
}

.footer_navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.footer_navigation a {
  color: white;
  font-size: 14px;
}

.footer_navigation a:hover {
  color: #05bdf4;
}


/* SOCIAL MEDIA ICONS */

.social_links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
}

.social_links a {
  width: 22px;
  height: 22px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: white;

  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.social_links a:hover {
  color: #05bdf4;
  transform: translateY(-2px);
}

.social_links svg {
  width: 20px;
  height: 20px;
  display: block;
}

.copyright {
  margin: -3px 0 0;

  color: #bec8d1;

  text-align: center;
  font-size: 12px;
}


/* TABLET */

@media (max-width: 1100px) {

  .nav_bar {
    gap: 24px;
  }

  .contact_layout {
    grid-template-columns: 310px 1fr;
  }

}


@media (max-width: 820px) {

  .contact_layout {
    grid-template-columns: 1fr;
  }

  .info_div {
    order: 2;
  }

  .form_column {
    order: 1;
  }

}


/* MOBILE */

@media (max-width: 750px) {

  .header_content {
    width: 92%;
    padding: 14px 0;
  }

  .logo {
    font-size: 24px;
  }

  .nav_bar a:not(.talk_button) {
    display: none;
  }

  .talk_button {
    padding: 9px 15px;
  }

  .contact_main {
    padding: 24px 14px 28px;
  }

  .contact_me_title {
    font-size: 42px;
  }

  .contact_me_description {
    font-size: 14px;
  }

  .form_row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .contact_form {
    padding: 20px 16px;
  }

  .service_help {
    align-items: flex-start;
  }

  .footer {
    padding: 25px 0;
  }

  .footer_content {
    width: 92%;
    grid-template-columns: 1fr;
    gap: 22px;

    text-align: center;
  }

  .footer_navigation {
    flex-wrap: wrap;
    gap: 15px 25px;
  }

  .copyright {
    margin-top: 24px;
  }

}