.main-container {
  display: flex;
  gap: 25px;
  padding: 20px;
  flex-wrap: wrap;
}

.results-column {
  flex: 2;
  min-width: 300px;
}

.sidebar-column {
  flex: 1;
  min-width: 280px;
}

.card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.procedure-title {
  background: linear-gradient(to right, #199e82, #206785);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  margin-top: 0;
}

.procedure-desc {
  color: var(--text-gray);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 10px;
}

.provider-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 15px;
}

.provider-title {
  font-weight: 700;
  font-size: 1rem;
}

.provider-location {
  font-size: 0.85rem;
  color: var(--text-gray);
  margin: 5px 0;
}

.provider-price {
  font-weight: 700;
  /* color: var(--primary-green); */
  color: #206785;
}

.appointment-btn {
  /* background: var(--primary-green); */
  background: linear-gradient(to right, #199e82, #206785);
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
}

.appointment-btn:hover {
  opacity: 0.9;
}

/* More Detail Section */
.more-detail-toggle {
  margin-top: 20px;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #206885d9;
}

.more-detail-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.more-detail-content.active {
  max-height: 600px;
  margin-top: 20px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.detail-item strong {
  display: block;
  margin-bottom: 5px;
}

.reviews-section {
  margin-top: 25px;
}

.review-box {
  background: #f5f7f6;
  padding: 15px;
  border-radius: 8px;
  color: #777;
}

.related-item {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
  font-size: 0.9rem;
}

.related-item span {
  color: #206e85;
  font-weight: 600;
}

/* Mobile */
@media (max-width: 768px) {
  .main-container {
    flex-direction: column;
  }

  .appointment-btn {
    width: 100%;
  }
  .procedure-badge {
    width: 100% !important;
  }
}
/* -------------------------secondsection---------------------------- */

.provider-card {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 25px;
  border: 1px solid #e5e5e5;
}

.provider-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 15px;
}

.provider-name {
  color: #206785;
  margin: 0;
}

.provider-address {
  font-size: 0.85rem;
  color: #6c757d;
  margin: 5px 0;
}

.provider-price-range {
  font-weight: 600;
  color: #206785;
}

.provider-price-range span {
  font-weight: 700;
}

.appointment-btn {
  background: linear-gradient(to right, #199e82, #206785);
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
}

.appointment-btn:hover {
  opacity: 0.9;
}

/* Procedure List */
.procedure-list {
  margin-top: 20px;
}

.procedure-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  font-size: 0.9rem;
}

/* Toggle */
.more-detail-toggle {
  margin-top: 15px;
  cursor: pointer;
  font-weight: 600;
  color: #206885d9;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Expand Content */
.expand-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.expand-content.active {
  max-height: 500px;
  margin-top: 20px;
}

/* Reviews & Settings */
.reviews-box,
.settings-box {
  background: #f5f7f6;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 15px;
}

.settings-box ul {
  padding-left: 18px;
  margin: 10px 0 0 0;
}

.settings-box li {
  margin-bottom: 6px;
}

/* Responsive */
@media (max-width: 768px) {
  .provider-top {
    flex-direction: column;
  }

  .appointment-btn {
    width: 100%;
  }
}
.provider-card {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 30px; /* separates sections properly */
  /* border-left: 4px solid #1f8f5f; */
  border-left: 4px solid #206985;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.provider-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 15px;
}

.provider-title {
  font-weight: 700;
  color: #1f8f5f;
}

.provider-location {
  font-size: 0.85rem;
  color: #6c757d;
  margin: 5px 0;
}

.provider-price {
  font-weight: 600;
  color: #206785;
}

.appointment-btn {
  background: linear-gradient(to right, #199e82, #206785);
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
}

.procedure-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

/* Expand */
.expand-content {
  max-height: 0;
  overflow: hidden;
  transition: 0.4s ease;
}

.expand-content.active {
  max-height: 600px;
  margin-top: 20px;
}

.more-detail-toggle {
  margin-top: 15px;
  cursor: pointer;
  font-weight: 600;
  color: #206885d9;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Responsive */
@media (max-width: 768px) {
  .provider-header {
    flex-direction: column;
  }

  .appointment-btn {
    width: 100%;
  }
}

/* -----------------indexcss----------------- */
:root {
  --primary-green: #27ae60;
  --light-green: #e9f7ef;
  --text-dark: #2c3e50;
  --text-gray: #7f8c8d;
  --bg-color: #f4f7f6;
  --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-color);
  margin: 0;
  color: var(--text-dark);
}

/* --- TOP FILTER BAR --- */
.filter-section {
  background: white;
  padding: 20px 5%;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  border-bottom: 1px solid #eee;
  margin-bottom: 30px;
}

.procedure-badge {
  background: #fff;

  border-left: 4px solid #1f6c84;
  padding: 26px 5px;
  border-radius: 8px;
  height: 146px;

  justify-items: center;
}

.procedure-badge h2 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--primary-green);
}
.procedure-badge span {
  font-size: 0.85rem;
  color: var(--text-gray);
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.filter-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-gray);
}

select {
  padding: 0;
  border: 1px solid #ddd;
  border-radius: 6px;
  min-width: 150px;
  outline: none;
}

/* --- PRICE RANGE CARD --- */
.price-range-card {
  background: #fdfdfd;
  border: 1px solid var(--light-green);
  padding: 15px 25px;
  border-radius: 12px;
  text-align: center;
  margin-left: auto;
}

.price-range-card h3 {
  margin: 0;
  font-size: 0.9rem;
  color: #206785;
}
.price-main {
  font-size: 1.2rem;
  font-weight: 700;
  color: #206785;
  margin: 5px 0;
}
.price-stats {
  display: flex;
  gap: 20px;
  font-size: 0.85rem;
}
.lower {
  color: #475660;
}
.higher {
  color: #475660;
}

/* --- MAIN CONTENT AREA --- */
.main-container {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 30px;
  padding: 0 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.card {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: var(--card-shadow);
  margin-bottom: 20px;
}

.provider-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}

.provider-title {
  color: #206785;
  font-weight: 700;
  font-size: 1.1rem;
}

.appointment-btn {
  background: linear-gradient(to right, #199e82, #206785);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

.map-placeholder {
  width: 100%;
  height: 250px;
  background: #e0e0e0;
  border-radius: 12px;
  background-image: url("https://maps.googleapis.com/maps/api/staticmap?center=40.7128,-74.0060&zoom=13&size=600x300&key=YOUR_KEY");
  background-size: cover;
}

/* Responsive */
@media (max-width: 1024px) {
  .main-container {
    grid-template-columns: 1fr;
  }
  .price-range-card {
    margin-left: 0;
    width: 100%;
  }
}
.map-placeholder {
  width: 100%;
  max-width: 800px; /* Optional: limits the width */
  margin: 20px auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.map-placeholder iframe {
  display: block;
}
.results-header-container {
  padding: 20px;
  background: #fff;
}

/* Flex wrapper */
.header-flex {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* ================= SEARCH BAR ================= */

.search-bar-unified {
  display: flex;
  flex: 1;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  height: 50px;
}

.input-segment {
  flex: 1;
}

.input-segment select,
.input-segment input {
  width: 100%;
  padding: 18px;
  border: none;
  outline: none;
  font-size: 14px;
}

.search-btn-unified {
  background: linear-gradient(to right, #199e82, #206785);
  color: white;
  border: none;
  padding: 28px 30px;
  cursor: pointer;
  font-weight: 500;
  white-space: nowrap;
}

.search-btn-unified:hover {
  /* background: #188046; */
  background: #206a85;
}

/* ================= LOGIN BUTTON ================= */

.header-actions {
  flex-shrink: 0;
}

.login-btn {
  padding: 14px 28px;
  border-radius: 8px;
  border: 1px solid #fff;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s;
  font-size: 1rem;
}

.login-btn:hover {
  /* background: #1f9d55; */
  background: #206a85;
  color: white;
}
@media (max-width: 992px) {
  .header-flex {
    flex-direction: column;
    align-items: stretch;
    display: none;
  }

  .login-btn {
    width: 100%;
  }
}
@media only screen and (min-width: 1200px) {
  .header-flex {
    width: 1200px;
  }
  .filter-group {
    width: 185px;
  }
}
/* -------------- */
/* Tablet */
@media (max-width: 992px) {
  .filters-row {
    gap: 15px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .filters-row {
    flex-direction: column;
  }

  .filter-group {
    width: 100%;
  }
}

/* Tablet */
@media (max-width: 992px) {
  .filters-row {
    gap: 15px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .filters-row {
    flex-direction: column;
  }

  .filter-group {
    width: 100%;
  }
}
/* ----------------doctorpagecss------------------------ */
/* Hide mobile elements on desktop */
.mobile-header,
.mobile-menu {
  display: none;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
  /* Hide desktop search row */
  .search-bar,
  .desktop-search,
  .login-btn {
    display: none !important;
  }

  /* Mobile Header Layout */
  .mobile-header {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    gap: 10px;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }

  .hamburger {
    font-size: 26px;
    cursor: pointer;
  }

  .mobile-search {
    flex: 1;
  }

  .mobile-search input {
    width: 100%;
    padding: 10px 15px;
    border-radius: 25px;
    border: 1px solid #ddd;
    font-size: 14px;
  }

  /* Mobile Dropdown Menu */
  .mobile-menu {
    display: none;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    background: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  }

  .mobile-menu.active {
    display: flex;
  }

  .mobile-signin {
    text-align: center;
    padding: 10px;
    border: 1px solid #206785;
    border-radius: 25px;
    text-decoration: none;
    color: #1f6785;
    font-weight: 500;
  }

  .mobile-signup {
    text-align: center;
    padding: 10px;

    background: #206785;
    color: white;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
  }
}

.sidebar-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Side-by-side row */
.top-info-row {
  display: flex;
  gap: 20px;
}

/* Make both equal width */
.top-info-row .procedure-badge,
.top-info-row .price-range-card {
  flex: 1;
}

/* Responsive */
@media (max-width: 992px) {
  .top-info-row {
    flex-direction: column;
  }
}

/* --------------cards section--------------- */

@media (max-width: 768px) {
}
/* mobile responsive two box */
/* Desktop Layout (keep normal side-by-side) */
.main-container {
  display: flex;
  gap: 20px;
}

/* ---------------- MOBILE ONLY ---------------- */
@media (max-width: 768px) {
  .main-container {
    flex-direction: column;
  }

  /* Move the two boxes above Abdominal section */
  .sidebar-column {
    order: -1;
  }

  /* Hide map */
  .map-placeholder {
    display: none !important;
  }
}

.mission-section {
  padding: 80px 20px;
  background-color: #f9fafb;
}

.container {
  max-width: 1200px;
  margin: auto;
}

.mission-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.mission-image {
  flex: 1;
}

.mission-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.mission-content {
  flex: 1;
}

.mission-content h2 {
  font-size: 34px;
  margin-bottom: 20px;
  color: #1f2937;
  font-weight: 600;
}

.mission-content p {
  font-size: 16px;
  color: #4e4e4e;
  line-height: 1.8;
  margin-bottom: 15px;
}

/* ✅ Responsive Fix */
@media (max-width: 992px) {
  .mission-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .mission-content h2 {
    font-size: 28px;
  }
}

/* ---------------scrollbar hidden---------------- */
/* Hide scrollbar but allow scroll */
.procedure-card {
  -ms-overflow-style: none; /* IE & Edge */
  scrollbar-width: none; /* Firefox */
}

.procedure-card::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

/* ---------------box---------------- */

/* Main horizontal bar */
.tc-summary-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  background: #ffffff;
  border-radius: 10px;
  padding: 16px 20px;

  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
  margin-bottom: 17px;
}

/* Left side */
.tc-summary-left {
  display: flex;
  flex-direction: column;
}

.tc-summary-title {
  font-size: 16px;
  font-weight: 600;
  color: #1f8f88;
}

.tc-summary-code {
  font-size: 0.9rem;
  color: #666;
  margin-top: 2px;
}

/* Price */
.tc-summary-price {
  font-size: 20px;
  font-weight: 700;
  color: #000;
}

/* Result text */
.tc-summary-result {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

/* ✅ Responsive */
@media (max-width: 768px) {
  .tc-summary-bar {
    flex-direction: row;
    align-items: flex-start;
    gap: 8px;
  }

  .tc-summary-price {
    font-size: 18px;
  }
}
/* -----------lastbox--------------- */

/* Main Card */
.tc-price-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);

}

/* Header */
.tc-price-title {
  font-size: 17px;
  font-weight: 600;
  color: #1f8f88;
  margin: 0;
      justify-self: center;
}

/* Center Price */
.tc-price-center {
  text-align: center;
  margin: 18px 0;
}

.tc-price-main {
  font-size: 28px;
  font-weight: 700;
  color: #111;
  display: block;
}

.tc-price-label {
  font-size: 15px;
  color: #777;
}

/* Bottom Range Section */
.tc-price-range {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tc-price-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.tc-price-amount {
  font-size: 16px;
  font-weight: 600;
  color: #000;
}

.tc-price-desc {
  font-size: 14px;
  color: #777;
  margin-top: 4px;
}

/* Divider */
.tc-price-divider {
  width: 1px;
  height: 40px;
  background: #eee;
}

/* Optional subtle color hint */
.tc-price-low .tc-price-amount {
  color: #2f855a;
}

.tc-price-high .tc-price-amount {
  color: #c05621;
}

/* Responsive */
@media (max-width: 768px) {
  .tc-price-card {
    max-width: 100%;
    margin-top: 28px;
  }
}

/* ----------------mobileboxchangeinresponsive------------ */
@media (max-width: 768px) {

    .procedure-card {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .procedure-card > div {
        width: 100%;
        background: #f8fafc;
        padding: 14px;
        border-radius: 12px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    }

}

@media (max-width: 768px) {

    .procedure-card {
        display: block !important;
    }

    .procedure-card .left-section,
    .procedure-card .right-section {
        width: 100% !important;
        margin-bottom: 12px;
        background: #f8fafc;
        padding: 14px;
        border-radius: 12px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    }

}

@media (max-width: 768px) {
    .procedure-card {
        height: auto !important;
        overflow: visible !important;
    }
}