:root {
  /* Colors */
  --primary: #0284c7; /* Blue 600 */
  --primary-dark: #0369a1; /* Blue 700 */
  --primary-light: #e0f2fe; /* Blue 100 */
  --accent: #0d9488; /* Teal 600 */
  --accent-light: #f0fdfa; /* Teal 50 */
  --text-main: #0f172a; /* Slate 900 */
  --text-muted: #475569; /* Slate 600 */
  --bg-body: #f8fafc; /* Slate 50 */
  --bg-card: #ffffff;
  --border: #e2e8f0; /* Slate 200 */
  
  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  
  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

* {
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-xl);
}

/* Navigation (Header) */
.navbar {
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  padding: var(--space-md) 0;
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.brand-icon {
  width: 24px;
  height: 24px;
  background-color: var(--primary);
  border-radius: 50%;
  position: relative;
}

.brand-icon::after {
  content: "+";
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: bold;
  font-size: 16px;
  line-height: 1;
}

.nav-links {
  display: flex;
  gap: var(--space-lg);
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

/* Doctor Profile Section */
.profile-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 80px); /* Adjust for header */
  padding: var(--space-xl) 0;
}

.profile-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: grid;
  grid-template-columns: 1fr;
  max-width: 1000px;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
}

@media (min-width: 768px) {
  .profile-card {
    grid-template-columns: 350px 1fr;
  }
}

/* Left Column: Image */
.doctor-image-container {
  background-color: var(--primary-light);
  display: flex;
  align-items: flex-end; /* Align image to bottom if needed */
  justify-content: center;
  position: relative;
  min-height: 300px;
}

.doctor-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 4rem;
  position: relative;
}

.doctor-placeholder i {
  /* Using CSS shape for simple icon if needed, or placeholder class content */
  opacity: 0.5;
}

/* Right Column: Content */
.profile-content {
  padding: var(--space-xl) var(--space-xl) var(--space-xl) var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.header-group {
  border-bottom: 1px solid var(--border);
  padding-bottom: var(--space-md);
}

.badge {
  display: inline-block;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

h1 {
  margin: 0 0 var(--space-xs) 0;
  color: var(--text-main);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
}

.doctor-name {
  color: var(--primary); /* Medical Blue */
  font-size: 2.25rem;
  margin-bottom: var(--space-xs);
}

.header-group h2 {
  font-size: 1.35rem;
  color: var(--text-main);
  margin: 0 0 var(--space-sm) 0;
  font-weight: 600;
  line-height: 1.3;
}

.subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin: 0;
  font-weight: 400;
}

/* Expertise */
.expertise-section h3, 
.membership-section h3 {
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin: 0 0 var(--space-md) 0;
  font-weight: 700;
}

.icon-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.icon-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background-color: var(--bg-body);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  font-weight: 500;
  color: var(--text-main);
  font-size: 0.95rem;
  transition: transform 0.2s, border-color 0.2s;
}

.icon-item:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  background-color: var(--primary-light);
}

.placeholder-icon {
  width: 24px;
  height: 24px;
  background-color: var(--primary-light);
  border-radius: 6px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.icon-blue {
  background-color: #e0f2fe;
  color: #0284c7;
}

.icon-pink {
  background-color: #fce7f3;
  color: #db2777;
}

.icon-teal {
  background-color: #ccfbf1;
  color: #0f766e;
}

/* Memberships */
.membership-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-sm);
}

.membership-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  color: var(--text-main);
  font-size: 0.95rem;
  line-height: 1.4;
}

.check-icon {
  color: var(--accent);
  font-weight: bold;
  margin-top: 2px;
}

/* Trust Box */
.trust-box {
  background-color: var(--accent-light);
  border-left: 4px solid var(--accent);
  padding: var(--space-md);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: auto; /* Push to bottom if space allows */
}

.trust-text {
  color: var(--text-main); /* Darker text for readability */
  font-style: italic;
  font-size: 0.95rem;
  margin: 0;
}

/* Buttons */
.action-buttons {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.5);
}

.btn-outline {
  background: white;
  border: 2px solid var(--border);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--bg-body);
}

/* Utilities */
.text-highlight {
  color: var(--primary);
  font-weight: 700;
}
