/* ==============================================================
   Doctor Profile Page Styles - Athaayu Uro Care
   Matches layout & design from Desktop -Athaayu Doctors Profile page.pdf
   ============================================================== */

:root {
  --doc-primary: #084280;
  --doc-secondary: #045ea8;
  --doc-accent-green: #7fa318;
  --doc-text-dark: #1e293b;
  --doc-text-muted: #475569;
  --doc-bg-light: #f8fafc;
  --doc-border: #a2adbd;
}

/* Hero Section */
.doc-hero-section {
  background: #fff;
  /* border: 1px solid var(--doc-border); */
  border-radius: 12px;
  padding: 30px 0;
  margin-bottom: 40px;
  /* box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04); */
}

.doc-profile-img-wrapper {
  text-align: center;
  background-color: #33333347;
}

.doc-profile-img {
  width: 100%;
  /* max-width: 290px; */
  height: auto;
  object-fit: cover;
}

.doc-name {
  color: var(--doc-primary);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.doc-tagline {
  color: var(--doc-accent-green);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 22px;
}

.doc-quick-facts-title {
  color: var(--doc-primary);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0px;
  background-color: #08428014;
  padding: 10px 14px;
  padding-left: 24px;
}

/* Quick Facts Table */
.doc-facts-table-wrap {
  overflow: hidden;
}

.doc-facts-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.doc-facts-table tr {
  border-bottom: 1px solid #edf2f7;
}

.doc-facts-table tr:last-child {
  /* border-bottom: none; */
}

.doc-fact-label {
  width: 28%;
  min-width: 160px;
  /* background-color: #f8fafc; */
  color: var(--doc-text-dark);
  font-weight: 600;
  padding: 10px 14px;
  font-size: 0.93rem;
  vertical-align: top;
  /* border-right: 1px solid #edf2f7; */
  padding-left: 24px;
}

.doc-fact-value {
  color: var(--doc-text-muted);
  padding: 10px 14px;
  font-size: 0.93rem;
  vertical-align: top;
  background-color: #fff;
}

/* "Who is" Bio Section */
.doc-bio-section {
  text-align: center;
  margin: 0 auto 45px auto;
  padding: 0 15px;
}

.doc-bio-title {
  color: var(--doc-primary);
  font-size: 1.85rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.doc-bio-text {
  color: var(--doc-text-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 14px;
  text-align: justify;
}

/* 4 Section Cards Grid */
.doc-section-card {
  background: #fff;
  border: 1px solid var(--doc-border);
  border-radius: 12px;
  padding: 26px 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.doc-section-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
}

.doc-card-title {
  color: var(--doc-primary);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 10px;
}

.doc-section-intro {
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 14px;
}

.doc-card-list {
  padding-left: 20px;
  margin: 0;
  list-style-type: disc;
}

.doc-card-list li {
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

.doc-card-list li:last-child {
  margin-bottom: 0;
}

.doc-section-outro {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Experience & Achievements Banner */
.doc-achievements-banner {
  background: linear-gradient(135deg, #063465 0%, #045ea8 100%);
  padding: 35px 30px;
  color: #fff;
  margin: 45px 0;
  box-shadow: 0 6px 20px rgba(8, 66, 128, 0.18);
}

.doc-achievements-title {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0;
}

.doc-achievements-text {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  line-height: 1.4;
  margin: 0;
}

.doc-achievements-list {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.98rem;
  line-height: 1.6;
  margin: 10px 0 0 0;
  padding-left: 20px;
  list-style-type: disc;
}

.doc-achievements-list li {
  margin-bottom: 6px;
}

.doc-achievements-list li:last-child {
  margin-bottom: 0;
}

/* FAQ Section */
.doc-faq-section {
  max-width: 1080px;
  margin: 45px auto;
  padding: 0 15px;
}

.doc-faq-title {
  color: var(--doc-primary);
  font-size: 1.85rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 28px;
}

.doc-accordion .accordion-item {
  border: 1px solid var(--doc-border);
  border-radius: 8px !important;
  margin-bottom: 12px;
  overflow: hidden;
  background: #fff;
}

.doc-accordion .accordion-button {
  color: var(--doc-primary);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.35;
  padding: 12px 16px;
  background-color: #fff;
  box-shadow: none;
}

.doc-accordion .accordion-button:not(.collapsed) {
  background-color: #fff;
  color: var(--doc-primary);
}

.doc-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

/* Plus (+) Icon for Collapsed Accordion */
.doc-accordion .accordion-button::after {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-left: auto;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23084280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='12' y1='3' x2='12' y2='21'%3E%3C/line%3E%3Cline x1='3' y1='12' x2='21' y2='12'%3E%3C/line%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
  transform: none !important;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Minus (-) Icon for Expanded Accordion */
.doc-accordion .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23084280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='3' y1='12' x2='21' y2='12'%3E%3C/line%3E%3C/svg%3E");
  transform: none !important;
}

.doc-accordion .accordion-body {
  color: var(--doc-text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  padding: 16px 20px 20px 20px;
}

/* Book Appointment Section */
.doc-appointment-box {
  background-color: #f1f6fb;
  padding: 45px 25px;
  text-align: center;
  margin: 45px 0 0 0;
}

.doc-appointment-title {
  color: var(--doc-primary);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.doc-appointment-desc {
  color: #334155;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 650px;
  margin: 0 auto;
}

.doc-appointment-timing-wrap {
  margin: -8px auto 20px auto;
  text-align: center;
}

.doc-appointment-timing {
  color: #045ea8;
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
}

.doc-appointment-form {
  max-width: 600px;
  margin: 0 auto;
}

/* Custom Location Dropdown */
.doc-custom-select-wrapper {
  position: relative;
  width: 100%;
  /* max-width: 460px; */
  margin: 0 auto 24px auto;
  text-align: left;
}

.doc-custom-select-trigger {
  width: 100%;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid var(--doc-primary);
  font-size: 1rem;
  color: #64748b;
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.doc-custom-select-trigger:focus,
.doc-custom-select-wrapper.open .doc-custom-select-trigger {
  outline: none;
  border-color: var(--doc-secondary);
  box-shadow: 0 0 0 3px rgba(4, 94, 168, 0.15);
}

.doc-custom-select-trigger.has-value .doc-select-text {
  color: #1e293b;
  font-weight: 500;
}

.doc-select-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 8px;
}

.doc-select-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.doc-custom-select-wrapper.open .doc-select-arrow {
  transform: rotate(180deg);
}

.doc-custom-select-options {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--doc-primary);
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(8, 66, 128, 0.12);
  max-height: 220px;
  overflow-y: auto;
  z-index: 100;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  display: none;
  box-sizing: border-box;
}

.doc-custom-select-wrapper.open .doc-custom-select-options {
  display: block;
  animation: docDropdownFadeIn 0.2s ease;
}

@keyframes docDropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.doc-custom-select-option {
  padding: 10px 18px;
  font-size: 0.95rem;
  color: #334155;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.doc-custom-select-option:hover,
.doc-custom-select-option:focus {
  background-color: #f0f6fc;
  color: var(--doc-primary);
  font-weight: 500;
}

.doc-custom-select-option.selected {
  background-color: #e6f0fa;
  color: var(--doc-primary);
  font-weight: 600;
}

.doc-submit-btn {
  background-color: var(--doc-secondary);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 8px 38px;
  font-size: 1.05rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-block;
  text-decoration: none;
}

.doc-submit-btn:hover {
  background-color: var(--doc-primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(4, 94, 168, 0.25);
}

/* Responsive Styles */
@media (max-width: 991px) {
  .doc-hero-section {
    padding: 20px;
  }
  .doc-achievements-title {
    margin-bottom: 14px;
  }
}

@media (max-width: 767px) {
  .doc-name {
    font-size: 1.6rem;
  }
  .doc-tagline {
    font-size: 1.05rem;
  }
  .doc-fact-label {
    min-width: 120px;
    width: 35%;
    font-size: 0.88rem;
  }
  .doc-fact-value {
    font-size: 0.88rem;
  }
  .doc-bio-title,
  .doc-faq-title,
  .doc-appointment-title {
    font-size: 1.5rem;
  }
  .doc-accordion .accordion-button {
    line-height: 1.35 !important;
    font-size: 0.95rem !important;
    padding: 12px 16px !important;
  }
}

/* Floating Appointment / Make a Call Button */
.appointment-button {
  position: fixed;
  bottom: 130px;
  right: 20px;
  background-color: #28a745;
  color: white;
  padding: 15px 25px;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 1000;
  transition: background-color 0.3s ease;
}

.appointment-button:hover {
  background-color: #218838;
}

.appointment-button #makeACallBtn {
  background-color: #28a745;
  border-radius: 50px;
  border: none;
  color: white;
  padding: 10px 15px !important;
  font-size: 16px;
  cursor: pointer;
  outline: none;
}


