.contact {
  padding: 4rem 1.5rem;
  text-align: center;
}

.contact-title {
  font-size: 2rem;
  font-weight: 700;
}

.contact-subtitle {
  max-width: 600px;
  margin: 0.8rem auto 2.5rem;
  color: #666;
  font-size: 1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.2rem;
  max-width: 900px;
  margin: auto;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.4rem;
  border-radius: 14px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  gap: 0.6rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.contact-card i {
  font-size: 1.6rem;
}

/* Hover effect */
.contact-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* PLATFORM COLORS */
.contact-card.whatsapp { background: #25D366; }
.contact-card.linkedin { background: #0A66C2; }
.contact-card.email { background: #EA4335; }
.contact-card.instagram {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}
.contact-card.phone { background: #111827; }
.contact-card.livechat { background: #4F46E5; }

/* Mobile tuning */
@media (max-width: 480px) {
  .contact-title {
    font-size: 1.7rem;
  }
  .contact-card {
    padding: 1.2rem;
  }
}

  /* Hacker vibe button */
  #backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #0d0d0d;           /* Dark background */
    color: #00ff00;                        /* Neon green text */
    border: 2px solid #00ff00;            /* Neon border */
    padding: 15px 20px;
    font-size: 18px;
    font-family: 'Courier New', Courier, monospace; /* Hacker font */
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
  }

  #backToTop:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px #00ff00, 0 0 40px #00ff00;
    text-shadow: 0 0 5px #00ff00, 0 0 10px #00ff00;
    background-color: #001100;
  }

  @media (max-width: 600px) {
    #backToTop {
      bottom: 20px;
      right: 20px;
      padding: 12px 16px;
      font-size: 16px;
    }
  }