/* Page Layout */

html,
body {
  height: 100%;
}

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.content {
  flex: 1;
}

/* Hero Section */

.hero-section {
  background: linear-gradient(rgba(0, 150, 150, 0.8), rgba(0, 150, 150, 0.8));
  background-size: cover;
  background-position: center;
  padding: 120px 0;
}

/* ============================= */
/* PROFILE SECTION */
/* ============================= */

.profile-section {
  background: #f8fbfb;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

/* Profile Title */

.profile-title {
  font-size: 34px;
  font-weight: 700;
  color: #2c8f8f;
  position: relative;
}

.profile-title::after {
  content: "";
  width: 60px;
  height: 3px;
  background: #2c8f8f;
  display: block;
  margin: 10px auto;
  border-radius: 3px;
}

.clinic-name {
  font-weight: 700;
  color: #444;
  font-size: 19px;
}

/* ============================= */
/* PROFILE CARD */
/* ============================= */

.profile-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.profile-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}

.profile-content {
  max-width: 90%;
  margin: 0 auto;
}

/* ============================= */
/* PROFILE LAYOUT */
/* ============================= */

.profile-layout {
  align-items: center;
}

.profile-left {
  padding-right: 30px;
}

.profile-right {
  text-align: center;
}

/* ============================= */
/* DOCTOR INFO */
/* ============================= */

.doctor-name1 {
  font-size: 34px;
  font-weight: 700;
  color: #2c8f8f;
  margin-bottom: 12px;
}

.doctor-degree {
  font-size: 18px;
  color: #444;
  font-weight: 600;
  margin-bottom: 16px;
}

.doctor-specialities p {
  margin: 0;
  color: #2c8f8f;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 500;
}

.doctor-role {
  margin-top: 20px;
  color: #555;
  font-size: 16px;
}

/* Appointment Button */

/* buttons container */

.doctor-actions {
  display: flex;
  gap: 22px;
  margin-top: 25px;
  align-items: center;
  flex-wrap: wrap;
}

/* BOOK APPOINTMENT (Primary CTA) */

.cta-appointment {
  background: linear-gradient(135deg, #2c8f8f, #3fb5b5);
  color: #fff;
  padding: 16px 24px; /* bigger */
  font-size: 17px; /* bigger text */
  font-weight: 600;
  border-radius: 40px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
  transition: 0.35s;
}

.cta-appointment i {
  font-size: 18px;
}

.cta-appointment:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.25);
  color: #fff;
}

/* REACH TO US */

.cta-reach {
  background: #fff;
  color: #2c8f8f;
  padding: 16px 24px; /* bigger */
  font-size: 17px;
  font-weight: 600;
  border-radius: 40px;
  border: 2px solid #2c8f8f;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: 0.35s;
}

.cta-reach i {
  font-size: 18px;
}

.cta-reach:hover {
  background: #2c8f8f;
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

/* divider before tabs */

.profile-divider {
  margin-top: 35px;
  margin-bottom: 30px;
  height: 1px;
  background: #e5e5e5;
}

/* ============================= */
/* DOCTOR IMAGE */
/* ============================= */

.doctor-img {
  width: 380px;
  max-width: 100%;
  border-radius: 14px;
  border: 4px solid #2c8f8f;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: 0.3s;
}

.doctor-img:hover {
  transform: scale(1.03);
}

/* ============================= */
/* SECTION TITLES */
/* ============================= */

.section-title {
  font-weight: 700;
  color: #2c8f8f;
  margin-top: 30px;
  margin-bottom: 15px;
  position: relative;
}

.section-title::after {
  content: "";
  width: 50px;
  height: 3px;
  background: #2c8f8f;
  display: block;
  margin-top: 6px;
  border-radius: 3px;
}

/* ============================= */
/* PROFILE LIST */
/* ============================= */

.profile-list {
  padding-left: 18px;
}

.profile-list li {
  margin-bottom: 10px;
  line-height: 1.7;
}

.profile-list li::marker {
  color: #2c8f8f;
  font-size: 18px;
}

/* ============================= */
/* STATS */
/* ============================= */

.stat-card {
  background: #f3f9f9;
  border-radius: 10px;
  transition: 0.3s;
  padding: 15px;
}

.stat-card:hover {
  background: #e8f4f4;
  transform: translateY(-3px);
}

.stat-card h4 {
  color: #2c8f8f;
  font-weight: 700;
}

/* ============================= */
/* PROFILE TABS */
/* ============================= */

.profile-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* center align */
  gap: 12px;
  margin-top: 25px;
  margin-bottom: 30px;
  width: 100%;
}

/* buttons */

.tab-btn {
  flex: 1; /* stretch */
  min-width: 160px; /* responsive */
  max-width: 220px;
  padding: 10px 18px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  border-radius: 6px;
  font-size: 14px;
  text-align: center;
  transition: 0.25s;
}

.tab-btn:hover {
  border-color: #2c8f8f;
  color: #2c8f8f;
}

.tab-btn.active {
  background: #2c8f8f;
  color: #fff;
  border-color: #2c8f8f;
}

.profile-tab-content {
  display: none;
  animation: fadeIn 0.4s ease;
}

.profile-tab-content.active {
  display: block;
}

/* ============================= */
/* ANIMATION */
/* ============================= */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================= */
/* RESPONSIVE */
/* ============================= */

@media (max-width: 991px) {
  .profile-layout {
    flex-direction: column;
    text-align: center;
  }

  .profile-left {
    padding-right: 0;
    margin-bottom: 25px;
  }

  .doctor-img {
    width: 340px;
  }

  .profile-tabs {
    justify-content: center;
  }

  .doctor-enquiry,
  .enquiry-label,
  .enquiry-phone {
    justify-content: center;
  }
}

/* Prevent layout jump when switching tabs */

.profile-tab-wrapper {
  position: relative;
  transition: 0.3s;
  margin-bottom: 40px;
}

.profile-tab-content {
  display: none;
  animation: fadeIn 0.35s ease;
}

.profile-tab-content.active {
  display: block;
}

/* Dr. Designation */

.doctor-designation1 {
  font-size: 16px;
  font-weight: bold;
  /* color: #2c8f8f; */
  margin-bottom: 15px;
}

.doctor-designation2 {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 0;
}

.doctor-designation3 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #444343;
}

.doctor-enquiry {
  margin-top: 10px;
}

.enquiry-label {
  font-size: 18px;
  color: #777;
  margin-bottom: 4px;
  font-weight: 600;
}

.enquiry-phone {
  font-size: 20px;
  font-weight: 600;
  color: #2c8f8f;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.enquiry-phone i {
  font-size: 20px;
}

.doctor-reg {
  font-weight: 600;
  color: #333;
}

.list-unstyled a {
  color: white;
}
