/* Global Font */
* {
  font-family: "M PLUS 1p", sans-serif;
}

/* Card Styles */
.card {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  border: 2px solid transparent;
}

/* Introduction Section */
.introduction-section {
  margin: 0 calc(-50vw + 50%);
  padding: 4rem 0;
  background-color: #ffffff;
  width: 100vw;
}

.introduction-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  gap: 3rem;
  align-items: stretch;
}

@media (max-width: 768px) {
  .introduction-container {
    padding: 0 1rem;
  }
}

.introduction-image-wrapper {
  flex: 0 0 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.introduction-image {
  width: 100%;
}

.profile-image {
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.profile-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background-color: #e9ecef;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c757d;
  font-size: 1.2rem;
}

.introduction-name {
  font-size: 2rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: #333 !important;
  text-align: center;
}

.introduction-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.introduction-location {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: #495057;
}

.introduction-location svg {
  flex-shrink: 0;
}

.location-text {
  color: #495057;
}

.timezone-text {
  color: #495057;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
}

.timezone-text svg {
  flex-shrink: 0;
}

.introduction-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
  width: 100%;
}

.contact-button {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background-color: #f8f9fa;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  transition: background-color 0.2s ease;
  border: 1px solid #e9ecef;
}

.contact-button:hover {
  background-color: #e9ecef;
  color: #333;
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 100%;
  height: 100%;
}

.contact-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.contact-text {
  flex: 1;
  font-size: 0.95rem;
  text-align: left;
}

.introduction-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.introduction-content.card {
  margin-bottom: 0;
}

.introduction-subtitle {
  font-size: 1.3rem;
  color: #6c757d;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.introduction-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #495057;
  margin-bottom: 0;
  flex: 1;
}

.introduction-text p {
  margin-bottom: 1rem;
}

.introduction-skills {
  margin-top: 2rem;
}

.introduction-skills h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #333;
}

.skills-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: flex-start;
}

.skill-badge {
  display: inline-block;
  line-height: 0;
  flex-shrink: 0;
}

.skill-badge img {
  height: 28px;
  width: auto;
  display: block;
}

.skill-badge-text {
  background-color: #e9ecef;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.95rem;
  color: #495057;
  display: inline-block;
}

@media (max-width: 768px) {
  .introduction-section {
    margin: 0 calc(-50vw + 50%);
    width: 100vw;
  }

  .introduction-container {
    flex-direction: column;
    gap: 2rem;
    padding: 0 1rem;
  }
  
  .introduction-image-wrapper {
    flex: 0 0 auto;
    max-width: 250px;
    margin: 0 auto;
  }
  
  .introduction-name {
    font-size: 1.75rem;
  }
  
  .introduction-contacts {
    gap: 0.5rem;
  }
  
  .contact-button {
    padding: 0.625rem 0.875rem;
    font-size: 0.9rem;
  }
  
  .introduction-subtitle {
    text-align: center;
    font-size: 1.1rem;
  }
  
  .introduction-text {
    font-size: 1rem;
  }
}
