#typing-effect {
  font-weight: bold;
  font-size: 1.3em;
  color: #333;
  border-right: 2px solid #007acc;
  animation: caret 0.75s step-end infinite;
}
@keyframes caret {
  from, to {
      border-color: transparent;
  }
  50% {
      border-color: #007acc;
  }
}

#resume-section {
  margin-top: 70px;
  padding: 40px 0;
  text-align: center;
}
.resume-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}
.resume-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8em;
  font-weight: 520;
  text-align: center;
  margin: 20px 0;
}
.resume-viewer iframe {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  width: 100%;
  min-height: 500px;
}

#contact-section {
  margin-top: 70px;
  padding: 40px 20px;
}
.contact-container {
  max-width: 1000px;
  margin: 0 auto;
}
.contact-title {
  font-family: 'Playfair Display', serif;
  font-size: 2em;
  text-align: center;
  margin-bottom: 30px;
  color: #2d3436;
}
.message-container {
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
  background: rgba(240, 245, 250, 0.4);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.contact-form {
  display: grid;
  gap: 1.5rem;
}
.form-group {
  margin-bottom: 1.2rem;
}
.form-label {
  display: block;
  margin-bottom: 0.6rem;
  font-weight: 600;
  color: #444;
}
.form-input,
.form-textarea {
  width: 100%;
  padding: 0.8rem;
  padding-right: 0;
  background: rgba(245, 247, 250, 0.4);
  color: #333;
  border: 1.5px solid #c3cfe2;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: #666;
}
.form-input:focus,
.form-textarea:focus {
  border-color: #007acc;
  box-shadow: 0 0 8px rgba(0, 122, 204, 0.2);
  outline: none;
}
.form-textarea {
  height: 150px;
  resize: vertical;
}

.submit-btn {
  background: linear-gradient(to right, #007acc, #005d99);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.submit-btn:hover {
  background: linear-gradient(to right, #005d99, #004c80);
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.status-message {
  display: none;
  padding: 1rem;
  margin-top: 1rem;
  border-radius: 8px;
  font-weight: 500;
}
.status-message.success {
  background: #e3f2fd;
  color: #007acc;
  border: 2px solid #007acc;
}
.status-message.error {
  background: #ffebee;
  color: #d32f2f;
  border: 2px solid #d32f2f;
}