/* ===============================
   CONTACT SECTION
================================ */

.contact-section {
  display: flex;
  justify-content: center;
  margin: 80px 20px;
}

.contact-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(15px);
  padding: 40px 50px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  text-align: center;
  max-width: 500px;
  width: 100%;
  transition: 0.4s ease;
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 60px rgba(0, 0, 0, 0.25);
}

.contact-card h3 {
  margin-bottom: 30px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 1px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  font-size: 16px;
  padding: 12px 18px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #333;
  transition: all 0.3s ease;
}

.contact-item i {
  font-size: 18px;
}

.contact-item:hover {
  background: #2c678e;
  color: white;
  transform: scale(1.05);
}

.visitor-badge {
  margin-top: 30px;
}

.personal-table th {
  width: 220px;
  font-weight: 600;
  background: #f8fafc;
  white-space: nowrap;
}

.personal-table td {
  font-weight: 500;
}

.company-table td {
  font-weight: 500;
  text-align: center;
}

.personal-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.personal-photo img {
  width: 160px;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid #e5e7eb;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.personal-table {
  min-width: 350px;
}

.personal-flex {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.personal-table-wrapper {
  flex: 1;
}

.personal-photo-container {
  width: 180px;
  text-align: right;
}

.profile-img {
  width: 160px;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid #e5e7eb;
}

/* 🔥 MOBILE MODE */
@media (max-width: 768px) {

  .personal-flex {
    flex-direction: column;
    align-items: center;
  }

  .personal-photo-container, .toeic-photo-container {
    order: -1; /* move photo to top */
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
    margin-top: 20px;
  }

  .profile-img {
    width: 140px;
    height: 180px;
  }

  .toeic-img {
    margin-top:20px;
    width: 600px;
    height: 1000px;
  }


}



