.contact-section {
  position: relative;
  width: 100%;
  padding: 72px 20px;
  color: #ffffff;
  background:
    radial-gradient(
      circle at 12% 18%,
      rgba(0, 207, 155, 0.12),
      transparent 28%
    ),
    radial-gradient(
      circle at 88% 82%,
      rgba(31, 99, 255, 0.13),
      transparent 30%
    ),
    linear-gradient(
      140deg,
      #020a15 0%,
      #06182c 52%,
      #020b17 100%
    );
  overflow: hidden;
}

.contact-container {
  position: relative;
  z-index: 5;
  width: min(780px, 100%);
  margin: 0 auto;
}

.contact-heading {
  margin-bottom: 30px;
  text-align: center;
}

.contact-heading span {
  display: inline-block;
  margin-bottom: 8px;
  color: #38efc3;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.contact-heading h2 {
  margin: 0;
  color: #ffffff;
  font-family: "Manrope", sans-serif;
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -1px;
}

.contact-card {
  position: relative;
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 24px;
  align-items: center;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(0, 207, 155, 0.13),
      transparent 42%
    ),
    rgba(255, 255, 255, 0.055);
  box-shadow:
    0 22px 55px rgba(0, 0, 0, 0.23),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px);
  overflow: hidden;
  transition:
    transform 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}

.contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 65%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.08),
    transparent
  );
  transform: skewX(-18deg);
  transition: left 0.7s ease;
}

.contact-card:hover {
  transform: translateY(-7px);
  border-color: rgba(56, 239, 195, 0.38);
  box-shadow:
    0 30px 65px rgba(0, 0, 0, 0.3),
    0 0 28px rgba(0, 207, 155, 0.08);
}

.contact-card:hover::before {
  left: 145%;
}

.contact-profile-icon {
  position: relative;
  z-index: 2;
  display: grid;
  width: 82px;
  height: 82px;
  border: 1px solid rgba(56, 239, 195, 0.22);
  border-radius: 20px;
  place-items: center;
  color: #38efc3;
  background: rgba(0, 207, 155, 0.1);
  transition:
    transform 0.4s ease,
    background 0.4s ease,
    box-shadow 0.4s ease;
}

.contact-card:hover .contact-profile-icon {
  transform: rotate(-5deg) scale(1.04);
  background: rgba(0, 207, 155, 0.16);
  box-shadow: 0 14px 28px rgba(0, 207, 155, 0.15);
}

.contact-profile-icon svg {
  width: 38px;
  height: 38px;
}

.contact-details {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.contact-name {
  margin-bottom: 18px;
}

.contact-name span {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.46);
  font-family: "Manrope", sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.contact-name h3 {
  margin: 0;
  color: #ffffff;
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  font-weight: 750;
  line-height: 1.3;
}

.contact-info-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-info-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 11px;
  align-items: center;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.035);
  text-decoration: none;
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease;
}

.contact-info-item:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 239, 195, 0.3);
  background: rgba(0, 207, 155, 0.08);
}

.contact-icon {
  display: grid;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  place-items: center;
  color: #38efc3;
  background: rgba(0, 207, 155, 0.1);
}

.contact-icon svg {
  width: 19px;
  height: 19px;
}

.contact-info-item span {
  display: block;
  margin-bottom: 2px;
  color: rgba(255, 255, 255, 0.45);
  font-family: "Manrope", sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.contact-info-item strong {
  display: block;
  color: #ffffff;
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.contact-grid-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  pointer-events: none;
  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px
    );
  background-size: 44px 44px;
  animation: contactGridMove 20s linear infinite;
}

.contact-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(4px);
}

.contact-glow-one {
  top: -110px;
  left: -90px;
  width: 290px;
  height: 290px;
  background: rgba(0, 207, 155, 0.09);
  animation: contactGlowOne 9s ease-in-out infinite alternate;
}

.contact-glow-two {
  right: -100px;
  bottom: -130px;
  width: 330px;
  height: 330px;
  background: rgba(31, 99, 255, 0.1);
  animation: contactGlowTwo 11s ease-in-out infinite alternate;
}

@keyframes contactGridMove {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 44px 44px;
  }
}

@keyframes contactGlowOne {
  from {
    transform: translate(0, 0) scale(0.95);
  }

  to {
    transform: translate(52px, 32px) scale(1.12);
  }
}

@keyframes contactGlowTwo {
  from {
    transform: translate(0, 0) scale(0.92);
  }

  to {
    transform: translate(-46px, -27px) scale(1.14);
  }
}

@media (max-width: 700px) {
  .contact-section {
    padding: 60px 16px;
  }

  .contact-card {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 26px 22px;
    text-align: center;
  }

  .contact-info-row {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .contact-info-item {
    text-align: left;
  }
}

@media (max-width: 460px) {
  .contact-section {
    padding: 52px 13px;
  }

  .contact-heading h2 {
    font-size: 27px;
  }

  .contact-card {
    padding: 22px 17px;
    border-radius: 16px;
  }

  .contact-profile-icon {
    width: 70px;
    height: 70px;
  }

  .contact-profile-icon svg {
    width: 32px;
    height: 32px;
  }

  .contact-name h3 {
    font-size: 18px;
  }
}