/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #3c4049; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #112344; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #175cdd; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
  color-scheme: light only;
}

@font-face {
    font-family: 'SpoqaHanSansNeo';
    src: url('assets/fonts/SpoqaHanSansNeo-Medium.otf') format('opentype');
    font-style: normal;
}

/*--------------------------------------------------------------
# Doctors Section
--------------------------------------------------------------*/
.doctors .doctor-card {
  background: var(--surface-color);
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px color-mix(in srgb, var(--default-color), transparent 90%);
}

.doctors .doctor-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px color-mix(in srgb, var(--default-color), transparent 80%);
}

.doctors .doctor-card:hover .doctor-overlay {
  opacity: 1;
}

.doctors .doctor-image {
  position: relative;
  margin-bottom: 25px;
  overflow: hidden;
  border-radius: 50%;
  width: 150px;
  height: 150px;
  margin: 0 auto 25px;
}

.doctors .doctor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.doctors .doctor-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.doctors .doctor-overlay .social-links {
  display: flex;
  gap: 10px;
}

.doctors .doctor-overlay .social-links a {
  width: 35px;
  height: 35px;
  background: var(--contrast-color);
  color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.doctors .doctor-overlay .social-links a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.doctors .doctor-overlay .social-links a i {
  font-size: 16px;
}

.doctors .doctor-content h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--heading-color);
}

.doctors .doctor-content .specialty {
  color: var(--accent-color);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 15px;
  display: block;
}

.doctors .doctor-content p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.doctors .doctor-meta {
  margin-bottom: 20px;
}

.doctors .doctor-meta .experience,
.doctors .doctor-meta .department {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 8px;
}

.doctors .doctor-meta .experience i,
.doctors .doctor-meta .department i {
  color: var(--accent-color);
  font-size: 14px;
}

.doctors .doctor-meta .department {
  margin-bottom: 0;
}

.doctors .btn-appointment {
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  display: inline-block;
}

.doctors .btn-appointment:hover {
  background: color-mix(in srgb, var(--accent-color) 90%, black 15%);
  color: var(--contrast-color);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .doctors .doctor-card {
    padding: 20px;
  }

  .doctors .doctor-image {
    width: 120px;
    height: 120px;
  }

  .doctors .doctor-content h4 {
    font-size: 20px;
  }

  .doctors .doctor-content .specialty {
    font-size: 14px;
  }

  .doctors .doctor-content p {
    font-size: 13px;
  }

  .doctors .btn-appointment {
    padding: 10px 25px;
    font-size: 13px;
  }
}
