/* =========================================
   SPECIALITY PAGE STYLES
   ========================================= */

:root {
  --sp-purple: #5d35b9;
  --sp-orange: #ff853f;
  --sp-blue: #007bff;
  --sp-dark: #333;
  --sp-gray: #666;
  --sp-light: #f9f9f9;
}

/* --- Hero Section --- */
.sp-hero {
  background: linear-gradient(135deg, #fdfbfd 0%, #f4f6fa 100%);
  padding: 60px 0;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.sp-title {
  font-size: 2.5rem;
  color: var(--sp-dark);
  font-weight: 700;
  margin-bottom: 10px;
}

.sp-title .highlight {
  color: var(--sp-purple);
}

.breadcrumb {
  font-size: 0.95rem;
  color: var(--sp-gray);
}

.breadcrumb a {
  text-decoration: none;
  color: var(--sp-purple);
  font-weight: 500;
}

.breadcrumb .current {
  color: var(--sp-orange);
}

/* --- Layout --- */
.sp-content-area {
  padding: 80px 0;
  background: #fff;
}

.sp-grid {
  display: grid;
  grid-template-columns: 2fr 1fr; /* Content takes 2/3, Sidebar 1/3 */
  gap: 50px;
}

/* --- Left Column: Details --- */
.sp-image-container {
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 15px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.sp-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.sp-image-container:hover .sp-main-img {
  transform: scale(1.05);
}

.section-heading {
  font-size: 2rem;
  color: var(--sp-dark);
  margin-bottom: 20px;
}

.sub-heading {
  font-size: 1.5rem;
  color: var(--sp-dark);
  margin: 30px 0 20px;
  position: relative;
  display: inline-block;
}

.sub-heading::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--sp-orange);
  margin-top: 5px;
}

.sp-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--sp-gray);
  margin-bottom: 20px;
}

/* Treatment List */
.treatment-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 40px;
}

.treatment-list li {
  font-size: 1rem;
  color: var(--sp-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.treatment-list li i {
  color: var(--sp-purple);
}

/* --- Doctor Mini Grid --- */
.doctor-mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.mini-card {
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: 0.3s;
  background: #fff;
}

.mini-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  border-color: var(--sp-purple);
}

.mini-card h4 {
  font-size: 1.1rem;
  margin: 10px 0 5px;
  color: var(--sp-dark);
}

.mini-card p {
  font-size: 0.9rem;
  color: var(--sp-gray);
  margin-bottom: 15px;
}

.btn-mini {
  display: inline-block;
  padding: 8px 20px;
  background: transparent;
  border: 1px solid var(--sp-purple);
  color: var(--sp-purple);
  border-radius: 20px;
  font-size: 0.85rem;
  text-decoration: none;
  transition: 0.3s;
}

.btn-mini:hover {
  background: var(--sp-purple);
  color: #fff;
}

/* --- Right Column: Sidebar --- */
.sp-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.widget {
  background: var(--sp-light);
  padding: 25px;
  border-radius: 15px;
  margin-bottom: 30px;
  border: 1px solid #eee;
}

.widget h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--sp-dark);
  border-left: 4px solid var(--sp-purple);
  padding-left: 15px;
}

/* Menu Widget */
.menu-widget ul {
  list-style: none;
  padding: 0;
}

.menu-widget ul li {
  margin-bottom: 10px;
}

.menu-widget a {
  display: block;
  padding: 12px 15px;
  background: #fff;
  color: var(--sp-gray);
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid #eee;
  transition: 0.3s;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu-widget a:hover, .menu-widget a.active {
  background: var(--sp-purple);
  color: #fff;
  border-color: var(--sp-purple);
}

/* Contact Widget */
.contact-widget {
  background: var(--sp-purple);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-widget .bg-icon {
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 6rem;
  opacity: 0.1;
}

.contact-widget h4, .contact-widget p {
  position: relative;
  z-index: 2;
}

.phone-display {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--sp-orange);
  margin: 15px 0;
  text-decoration: none;
  position: relative;
  z-index: 2;
}

.btn-sidebar {
  display: inline-block;
  background: #fff;
  color: var(--sp-purple);
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  z-index: 2;
}

/* Responsive */
@media (max-width: 992px) {
  .sp-grid {
    grid-template-columns: 1fr;
  }
}