body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body > section.wrapper {
  flex: 1;
}

.card {
  width: fit-content;
  flex: 1;
  gap: 0;
}

.contact_container {
  margin-top: 50px;
}

.contact_container > .card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  @media (min-width: 768px) {
    flex-direction: row;
    text-align: left;
    align-items: stretch;
  }
}

.contact_container > .card > div {
  flex: 1;
}

.contact_success_icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
}

.contact_success_container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  text-align: center;
  color: var(--color-textSecondary);
  font-size: 18px;
  height: 100%;
}

.contact_info {
  display: flex;
  flex-direction: column;
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--color-borderPrimary);

  @media (min-width: 768px) {
    justify-content: space-between;
    padding-bottom: 0;
    margin-bottom: 0;
    border-right: 1px solid var(--color-borderPrimary);
    border-bottom: none;
    padding-right: 40px;
    margin-right: 40px;
  }
}

.contact_info .card-description {
  margin-bottom: 30px;
}

.contact_info_item_wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact_info_item {
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid var(--color-borderPrimary);
  padding: 15px;
  border-radius: 10px;
}

.contact_info_item svg {
  flex-shrink: 0;
  color: var(--color-textHighlight);
}

.contact_info_item_icon {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  border-radius: 10px;
  padding: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.contact_info_item_icon svg {
  color: var(--color-bgPrimary);
  width: 25px;
}

.contact_info_item_text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.contact_info_item_text span {
  font-weight: 700;
}

.contact_info_item_text a {
  color: var(--color-textHighlight);
}

.contact_info_item_text p {
  color: var(--color-textSecondary);
}

.contact_card_title {
  font-weight: 600;
  margin-bottom: 30px;

  @media (min-width: 768px) {
    margin-bottom: 20px;
  }
}

.contact_info .contact_card_title {
  margin-bottom: 10px;
}

.contact_cta_image {
  border-radius: 20px;
  width: 100%;
  max-height: 400px;
  height: 400px;
  flex: 1;
  overflow: hidden;
  position: relative;
}

.contact_cta_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  object-position: center top;
  display: block;
}

.contact_cta_content {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;

  @media only screen and (min-width: 768px) {
    text-align: left;
  }
}

.contact_cta_content_header {
  position: relative;
  width: fit-content;
  margin: 0 auto;

  @media only screen and (min-width: 768px) {
    margin: 0;
  }
}

.contact_cta_content h3 {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  line-height: 1.2;
  margin-bottom: 8px;
  position: relative;
  z-index: 2;

  @media only screen and (min-width: 768px) {
    font-size: 28px;
  }
}

.contact_cta_content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #3b82f6;
  margin-bottom: 16px;
}

.contact_cta_content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 32px;
}

.contact_cta_content p:last-of-type {
  font-weight: 600;
  color: #3b82f6;
  margin-top: 16px;
}

.contact_cta {
  margin: var(--sectionPaddingLarge);
  display: flex;
  flex-direction: column;

  @media only screen and (min-width: 768px) {
    flex-direction: row;
    gap: 80px;
  }
}

.contact_cta_image_text {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: var(--color-textTertiary);
  border-radius: 8px;
  font-size: 12px;
  padding: 8px 12px;
  font-weight: 600;
  z-index: 5;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-wrap: nowrap;

  @media only screen and (min-width: 992px) {
    font-size: 16px;
    bottom: 20px;
    padding: 10px 15px;
  }
}
