/* styles.css */

/*–– Variables ––*/
:root {
  --primary-color: #2c3e50;
  --accent-color: #e74c3c;
  --text-color: #333;
  --bg-light: #f9f9f9;
}

/*–– Reset & Base ––*/
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background: #fff;
}

/*–– Header ––*/
header {
  background: var(--primary-color);
  color: #fff;
  padding: 2rem 1rem;
  text-align: center;
}
header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
header p {
  font-size: 1.1rem;
}

/*–– Dentist Cards ––*/
#dentists {
  background: var(--bg-light);
  padding: 2rem 1rem;
  display: grid;
  gap: 1.5rem;
}
#dentists h2 {
	grid-column: 1 / 3;
}
@media (min-width: 768px) {
  #dentists {
    grid-template-columns: repeat(2, 1fr);
  }
}
.dentist {
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.dentist h3 {
  font-size: 1.4rem;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}
.dentist p {
  margin: 0.3rem 0;
}
.dentist a {
  color: var(--primary-color);
  text-decoration: none;
}
.dentist a:hover {
  text-decoration: underline;
}
/* icon spacing */
.dentist p i {
  margin-right: 0.5rem;
  color: var(--accent-color);
}

/*–– Content Sections ––*/
section {
  padding: 2rem 1rem;
  max-width: 800px;
  margin: 0 auto;
}
#about h2,
#faqs h2 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 2rem;
  color: var(--primary-color);
}
#about h3 {
  margin-top: 1.5rem;
  font-size: 1.3rem;
  color: var(--accent-color);
}
#about p,
#about ul {
  margin-top: 0.5rem;
}
#about ul {
  list-style: disc inside;
}
#about ul li {
  margin: 0.5rem 0;
}

/*–– FAQs ––*/
#faqs dl {
  margin-top: 1rem;
}
#faqs dt {
  font-weight: bold;
  margin-top: 1rem;
}
#faqs dd {
  margin-left: 1rem;
  margin-bottom: 0.5rem;
}

/*–– Footer ––*/
footer {
  text-align: center;
  padding: 1rem;
  background: var(--bg-light);
  font-size: 0.9rem;
}
