/* ===================================
   SECTIONS
   Main content sections for the dsite theme
   (Hero, About, Services, Testimonials, Appointment)
   =================================== */

/* ===================================
   HERO SECTION
   =================================== */
.hero-section {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  color: var(--white);
  padding: 5rem 0;
  margin-bottom: 3rem;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  letter-spacing: -0.02em;
}

.hero-text h2 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  opacity: 0.95;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 400;
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  opacity: 0.9;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.doctor-placeholder {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.25rem;
  border: 5px solid rgba(255, 255, 255, 0.3);
}

/* ===================================
   SECTIONS
   =================================== */
.about-section,
.services-section,
.testimonials-section,
.appointment-section {
  padding: 4rem 0;
}

.about-section {
  background-color: var(--white);
}

.services-section {
  background-color: var(--background-light);
}

.testimonials-section {
  background-color: var(--white);
}

.appointment-section {
  background-color: var(--background-light);
}

section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-description {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 3rem;
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.qualifications-list {
  list-style: none;
  padding: 0;
}

.qualifications-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 1.05rem;
  position: relative;
  padding-left: 2rem;
}

.qualifications-list li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
  font-size: 1.25rem;
}

/* ===================================
   SERVICES GRID
   =================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.service-card p {
  color: var(--text-light);
  line-height: 1.6;
}

/* ===================================
   TESTIMONIALS
   =================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background-color: var(--background-light);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary-color);
}

.testimonial-text {
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.testimonial-author {
  font-weight: 600;
  color: var(--text-light);
  text-align: right;
}

/* ===================================
   APPOINTMENT SECTION
   =================================== */
.appointment-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.appointment-info h3 {
  color: var(--primary-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.appointment-info h3:first-child {
  margin-top: 0;
}

.appointment-info p {
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.appointment-form {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}

.form-placeholder {
  background-color: var(--background-light);
  padding: 2rem;
  border-radius: var(--border-radius);
  border: 2px dashed var(--border-color);
  text-align: center;
}
