/* ===== CONTACT SECTION ===== */

.contact {
  padding: 80px 8%;
   background-color: #0f172a;
  text-align: center;
}

/* ===== HEADING ===== */

.contact h1 {
  font-size: 38px;
  color: #e2e8f0;
  margin-bottom: 15px;
}

/* ===== DESCRIPTION ===== */

.contact .description {
  color: #cbd5f5;
  max-width: 650px;
  margin: 0 auto 40px;
  font-size: 16px;
  line-height: 1.6;
}

/* ===== GRID ===== */

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

/* ===== CARD ===== */

.contact-card {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  padding: 25px;
  border-radius: 14px;
  border: 1px solid rgba(56, 189, 248, 0.2);
  transition: all 0.3s ease;
}

/* ===== ICON ===== */

.contact-card i {
  font-size: 28px;
  color: #38bdf8;
  margin-bottom: 15px;
  transition: 0.3s;
}

/* ===== TITLE ===== */

.contact-card h3 {
  color: #f1f5f9;
  margin-bottom: 10px;
}

/* ===== TEXT ===== */

.contact-card p {
  color: #cbd5f5;
  font-size: 14px;
}

/* ===== LINKS ===== */

.contact-card a {
  text-decoration: none;
  color: #e2e8f0;
}

.contact-card a:hover {
  color: #77caee;
}

/* ===== HOVER EFFECT ===== */

.contact-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 10px 25px rgba(71, 130, 231, 0.3);
}

.contact-card:hover i {
  color: #0ea5e9;
}

/* ===== TABLET RESPONSIVE ===== */
@media (max-width: 992px) {
  .contact {
    padding: 120px 6% 60px; /* ✅ top increased */
  }

  .contact h1 {
    font-size: 32px;
    margin-top: 10px; /* ✅ extra breathing space */
  }

  .contact .description {
    font-size: 15px;
  }

  .contact-card {
    padding: 22px;
  }
}/* ===== MOBILE RESPONSIVE ===== */

@media (max-width: 576px) {

  .contact {
    padding: 100px 5% 50px;  /* 🔥 FIX: space for navbar */
    text-align: center;
  }

  .contact h1 {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .contact .description {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    padding: 0 10px;
  }

  .contact-cards {
    gap: 15px;
  }

  .contact-card {
    padding: 18px;
  }

  .contact-card i {
    font-size: 22px;
    margin-bottom: 8px;
  }

  .contact-card h3 {
    font-size: 15px;
    margin-bottom: 5px;
  }

  .contact-card p {
    font-size: 13px;
  }

}