.hero-section {
  text-align: center;
  padding: 100px 20px;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("../images/hero-contact-therapist.jpg");
  background-size: cover;
  background-position: center;
  color: white;
  animation: fadeIn 1s ease-in;
}

.hero-section h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.hero-section p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  background: #4caf50;
  color: white;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.2rem;
  transition: background 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
  background: #45a049;
  transform: scale(1.05);
}

.filter-section {
  position: sticky;
  top: 80px;
  background: rgba(0, 0, 0, 0.8);
  padding: 20px;
  z-index: 99;
  backdrop-filter: blur(10px);
}

.filter-bar {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.filter-bar input,
.filter-bar select {
  padding: 10px;
  border: none;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1rem;
  outline: none;
  width: 200px;
}

.filter-bar input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.filter-toggles {
  display: flex;
  gap: 5px;
}

.filter-toggle {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.3s ease, transform 0.3s ease;
}

.filter-toggle.active,
.filter-toggle:hover {
  background: #4caf50;
  transform: scale(1.05);
}

.therapist-section,
.resources-section {
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  margin-bottom: 20px;
}

.section-title {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: #fff;
  font-weight: 300;
  text-align: center;
}

.therapist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.therapist-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.therapist-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.therapist-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 1px solid #9f32a4;
}

.therapist-card h3 {
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.credentials {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
}

.specialization-tags {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.tag {
  background: #2196f3;
  color: white;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 0.8rem;
}

.location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.location .icon {
  width: 16px;
  height: 16px;
}

.contact-methods {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 15px;
}

.contact-icon img {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.contact-icon:hover img {
  transform: scale(1.2);
}

.connect-button {
  background: #2196f3;
}

.connect-button:hover {
  background: #1e88e5;
}

.crisis-hotlines {
  background: linear-gradient(45deg, #000000, #28323b, #9c27b0);
  padding: 20px;
  border-radius: 0 20px 0 20px;
  margin-bottom: 20px;
  text-align: center;
}

.crisis-hotlines h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.crisis-hotlines p {
  font-size: 1rem;
  margin: 5px 0;
}

.crisis-hotlines a {
  color: #4caf50;
  text-decoration: none;
}

.crisis-hotlines a:hover {
  text-decoration: underline;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.resource-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

.resource-card:hover {
  transform: translateY(-5px);
}

.resource-logo {
  width: 200px;
  height: auto;
  margin-bottom: 15px;
}

.resource-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.resource-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 15px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 60px 20px;
  }

  .hero-section h1 {
    font-size: 2.5rem;
  }

  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-bar input,
  .filter-bar select {
    width: 100%;
  }

  .filter-toggles {
    justify-content: center;
  }

  .therapist-grid,
  .resource-grid {
    grid-template-columns: 1fr;
  }

  .therapist-image {
    width: 100px;
    height: 100px;
  }
}
