.app-container {
  display: flex;
  max-width: 1100px;
  margin: 60px auto;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
  padding: 60px;
  gap: 60px;
}

.image-section {
  flex: 1;
  min-width: 300px;
}

.profile-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.text-section {
  flex: 2;
}

.title {
  font-size: 3em;
  color: #2c3e50;
  margin-bottom: 15px;
  margin-top: 0px;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.subtitle {
  font-size: 1.3em;
  color: #7f8c8d;
  margin-bottom: 40px;
  font-weight: 300;
}

.bio p {
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 1.1em;
}

.specialties {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.specialties li {
  padding: 6px 0;
  color: #333;
  font-weight: normal;
  border-bottom: 1px solid #f0f0f0;
}

/* Navbar Styling */
.navbar {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
}

.navbar-logo {
  font-size: 1.1em;
  font-weight: bold;
  color: #2c3e50;
  text-decoration: none;
  letter-spacing: 0.05em;
}

.navbar-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.navbar-links a {
  text-decoration: none;
  color: #7f8c8d;
  font-weight: 400;
  font-size: 0.9em;
  transition: color 0.2s ease;
}

.navbar-links a:hover {
  color: #2c3e50;
}

.navbar-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.navbar-toggle .bar {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px 0;
  background-color: #000;
  transition: 0.3s;
}

/* Modal Styling */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-20px);
  transition: transform 0.3s ease;
  border: 1px solid #eee;
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-card h2 {
  color: #000;
  margin-top: 0;
  font-weight: 600;
}

.modal-card p {
  color: #666;
  margin-bottom: 30px;
}

.modal-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-primary {
  background-color: #2c3e50;
  color: #fff;
  text-decoration: none;
  padding: 14px;
  border-radius: 50px; /* Pill shape */
  font-weight: 400;
  font-size: 0.8em;
  letter-spacing: 0.1em;
}

.btn-secondary {
  background: none;
  border: 1px solid #bdc3c7;
  color: #7f8c8d;
  padding: 12px;
  border-radius: 50px; /* Pill shape */
  cursor: pointer;
  font-weight: 400;
  font-size: 0.8em;
  letter-spacing: 0.1em;
}

.btn-secondary:hover {
  background: #fcfcfc;
  border-color: #000;
  color: #000;
}

/* Social Pill - Lower contrast than primary buttons */
.btn-social-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #7f8c8d;
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85em;
  transition: all 0.2s ease;
}

.btn-social-pill:hover {
  border-color: #7f8c8d;
  color: #2c3e50;
  background-color: #fcfcfc;
}

.btn-consultation {
  background-color: #2c3e50;
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 50px; /* Pill shape */
  font-weight: 400;
  font-size: 0.9em;
  transition: background-color 0.2s ease !important;
  cursor: pointer;
  border: none;
}

.btn-consultation:hover {
  background-color: #34495e !important;
}

.profile-actions {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
