/************ main styles ************/
@font-face {
  font-family: Estedad;
  src:
    url("/fontsEstedadwoff2") format("woff2"),
    url("/fontsEstedadwoff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Estedad";
  src: url("/fonts/Estedad-FD-Regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

:root {
  --bg: #171f2d;
  --card: #1e293b;
  --muted: #cbd5e1;
  --accent: #3b82f6;
  --accent-darker: #2563eb;
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  --soft-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  --price: #f8fafc;
  --card-width: 480px;
  --rounded: 18px;
  --logo-green: #22c55e;
}

body.dark {
  --bg: #f6f7fb;
  --card: #ffffff;
  --muted: #6b7280;
  --accent: #2563eb;
  --shadow: 0 10px 25px rgba(16, 24, 40, 0.08);
  --soft-shadow: 0 6px 18px rgba(16, 24, 40, 0.06);
  --price: #0f172a;
}

#app {
  width: 100%;
  box-sizing: border-box;
  font-family: "Estedad";
  margin: 0;
}

.phone {
  padding: 0;
  margin: 0;
  font-family: "Estedad";
  background-color: var(--card);
}

/************ header styles ************/

.header {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100px;
  background: var(--card);
  z-index: 1000;
}

.site-header {
  position: relative;
  height: 100%;
  background-color: var(--bg);
}

#menuBtn {
  display: none;
}

.header-logo {
}

.header-logo img {
}

/************ nav ************/

#sideMenu {
  display: none;
}

.menu-close,
.menu-logo {
  display: none;
}


#clinic {
  background: var(--bg);
  border: none;
  padding: 5px;
  font-size: 16px;
  color: white;
  font-family: "Estedad";
}

#user {
  background: var(--card);
  border: none;
  padding: 8px 16px;
  font-family: "Estedad";
  border-radius: 5px;
  color: white;
  box-shadow: var(--soft-shadow);
}

/************ breadcrumb ************/

.breadcrumb {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.breadcrumb a {
  text-decoration: none;
  color: #979ca2;
  font-size: 13px;
}

.breadcrumb span {
  color: #979ca2;
}

span.present {
  color: var(--muted);
  font-size: 13px;
}
/************ search area ************/

.search-area {
  text-align: center;
  padding-top: 2%;
  display: block;
  width: 100%;
  height: 40vh;
  text-align: center;
  justify-content: center;
  align-content: center;
  flex-direction: column;
}

.search-area h1 {
  color: white;
  font-weight: bold;
}

.search-area > p {
  color: white;
  margin-bottom: 50px;
}

#search {
  position: relative;
  display: flex;
  width: 50%;
  margin: 0 auto;
  text-align: center;
  box-shadow: var(--soft-shadow);
  padding: 5px;
}

#city-select {
  height: 49px;
  border-radius: 0 10px 10px 0;
  font-size: 19px;
  border: none;
  /* border-left: 1px solid white; */
  font-family: "Estedad";
  background: var(--card);
  color: #e2e2e2;
  font-weight: bold;
  width: 20%;
  /* text-align: center; */
  padding-left: 3px;
  margin: 0;
  margin-top: 0px;
  padding: 0;
  padding-right: 8px;
}

.search-input {
  font-size: 17px;
  width: 74%;
  height: 30px;
  font-family: "Estedad";
  /* border-radius: 10px 0 0 10px; */
  color: white;
  padding: 10px;
  margin-top: 0px;
  margin-right: 10px;
  border: 1px solid gray;
  background: var(--card);
}

.search-icon {
  position: absolute;
  left: 4%;
  top: 5%;
  color: #ababab;
  top: 30%;
  font-size: 25px;
}

#search-results {
  position: relative;
  z-index: 100;
  /* border: 1px solid white; */
  background: var(--card);
  width: 61%;
  border-radius: 5px;
  margin: 0 auto;
  margin-top: 10px;
  box-shadow: var(--shadow);
}

.search-result {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  border-bottom: 2px solid #161e2b;
  padding: 12px 5px;
  margin-bottom: 1px;
}

.search-line1 {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 0;
  margin: 0;
  color: #dddddd;
  padding-right: 3%;
  padding-top: 1%;
  margin-bottom: 15px;
}

.search-title {
  padding: 0;
  font-size: 14px;
  margin: 0;
  font-weight: bold;
}

.search-line2 {
  display: flex;
  padding-right: 8%;
  gap: 10px;
  align-items: center;
  flex-wrap: nowrap;
  align-content: center;
}

.in {
  color: #9e9e9e;
  font-size: 14px;
}

.section-inline {
  color: white;
  font-size: 15px;
  font-weight: bold;
}

input[type="search"]::-ms-clear,
input[type="search"]::-webkit-search-cancel-button {
  display: none;
}

/************ statistics ************/
.Statistics {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.static {
  width: 15%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  font-size: 16px;
  height: 60px;
  font-weight: bold;
  color: var(--muted);
  border-left: 1px dotted rgb(180 180 180);
}

.static:last-child {
  border-left: none;
}

.static-number {
  font-size: 26px;
  direction: ltr;
}
/************ cards ************/

.slider,
.section-title {
  display: none;
}

.grid {
  background: var(--card);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 50%;
  position: relative;
  align-items: center;
  flex-direction: row;
  margin: 0 auto;
  margin-top: 5vh;
  height: 85vh;
  box-sizing: border-box;
  justify-content: center;
  justify-items: center;
  padding-bottom: 50px;
  /* border-bottom: 1px solid gray; */
}

.icon img {
  width: 55px;
  height: 55px;
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.card {
  text-decoration: none;
  display: flex;
  color: white;
  /* height: 20vh; */
  width: 100%;
  flex-direction: column;
  align-items: center;
  align-content: center;
}

/************ tabs ************/
.scroll-article-title {
  color: var(--muted);
  margin-right: 8%;
  margin-bottom: 30px;
}

.tabs {
  margin-right: 8%;
  margin-bottom: 20px;
}

.tab {
  font-family: "Estedad";
  padding: 5px 15px;
  border: none;
  border-radius: 10px;
  margin-left: 5px;
}

.tab.active {
  background: var(--accent);
  color: #fff;
}

/************ slider ************/
.slider {
  position: relative;
  width: 90%;
  display: flex;
  align-items: center;
  margin: 0 auto;
}

.slider-viewport {
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.slider-track {
  display: flex;
  direction: rtl;
  width: 100%;
  box-sizing: border-box;
  height: 290px;
}

.scroll-card {
  flex: 0 0 23%;
  text-align: center;
  text-decoration: none;
  background-color: var(--card);
  margin: 5px 1%;
  border-radius: 10px;
  height: 95%;
  padding: 5px;
  box-sizing: border-box;
  box-shadow: var(--soft-shadow);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.scroll-card.hidden {
  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;
}

.scroll-card.visible {
  opacity: 1;
  transform: translateX(0);
}

.nav {
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
  color: var(--muted);
  font-size: 50px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

.image-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: contain;
}

.scroll-title {
  text-decoration: none;
  color: var(--price);
  font-size: 15px;
  margin: 5px;
  text-align: right;
  padding-bottom: 10px;
  border-bottom: 1px dashed #bfbfbf;
}

.nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: #ccc;
  cursor: pointer;
  padding: 0;
}

.dot.active {
  background: var(--accent);
  width: 14px;
  height: 8px;
  border-radius: 40%;
  transform: scale(1.1);
}

.date-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 3px 10px;
  font-size: 13px;
  color: var(--muted);
  flex-direction: row;
}

.date-wrapper i {
  font-size: 14px;
  color: #999;
}
.go-icon {
  margin-right: auto;
}

.publish-date {
  white-space: nowrap;
}

/***************** decision journey ***************/
.decision-journey {
  position: relative;
  width: 75%;
  border-radius: 20px;
  margin: 40px auto;
  padding: 20px 24px;
  box-sizing: border-box;
  margin-bottom: 75px;
}

.decision-journey .section-title {
  text-align: center;
  font-weight: bold;
  font-size: 26px;
  color: #ffffff;
  margin-bottom: 6px;
  font-weight: 700;
}

.decision-journey .section-subtitle {
  text-align: center;
  font-weight: bold;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 75px;
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 80%;
  margin: 0 auto;
  gap: 70px;
}

.journey-card {
  position: relative;
  z-index: 2;
  background: #ffffff;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  padding: 0px 15px;
  box-sizing: border-box;
  text-align: center;
  text-decoration: none;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.25s ease;
  box-shadow: var(--shadow);
  align-items: center;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.journey-card i {
  font-size: 45px;
  color: var(--card);
  margin: 4px 0;
  transition: color 0.25s ease;
}

.journey-card h3 {
  font-size: 17px;
  margin: 2px;
  font-weight: bold;
  margin-bottom: 8px;
  color: #1e2b28;
  font-weight: 600;
}

.journey-card p {
  font-size: 13px;
  color: #555;
  line-height: 1.8;
}

.journey-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}

.journey-indicator {
  position: absolute;
  top: -50px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.journey-indicator i {
  font-size: 30px;
  color: #cfcfcf;
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
}

.journey-card.active {
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
}

.journey-card.active .journey-indicator,
.journey-card.completed .journey-indicator {
  opacity: 1;
}

.journey-card.light-on .journey-indicator i {
  color: #ffd54f;
}

@keyframes glow {
  from {
    text-shadow: 0 0 5px rgba(247, 201, 72, 0.5);
  }
  to {
    text-shadow: 0 0 12px rgba(247, 201, 72, 0.9);
  }
}

.journey-card.completed .journey-indicator i {
  color: #009a8e;
}

.journey-card.completed .journey-indicator i::before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

/***************** doctors slider ***************/
.featured-card {
  width: 48%;
  background: #f6f1e7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-radius: 12px;
  position: relative;
  margin-right: 10px;
}

.featured-content h3 {
  font-size: 18px;
  text-align: center;
  margin-bottom: 15px;
  color: #333;
}

.top-surgeries {
  display: flex;
  justify-content: center;
  margin-bottom: 15px;
}

.top-surgery-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
  margin-left: -10px;
}

.view-all-btn {
  display: inline-block;
  padding: 8px 16px;
  background: #2a6cff;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
}

.doctor-card {
  padding: 10px;
  text-align: center;
}
.doctor-image-wrapper {
  width: 50%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 3px solid var(--bg);
  overflow: hidden;
  flex-shrink: 0;
  margin: 0 auto;
}

.doctor-image-wrapper img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: contain;
}

.doctor-card-title {
  font-family: "Estedad";
  font-size: 16px;
  margin: 8px;
  color: var(--price);
}

.doctor-specialty {
  font-size: 13px;
  color: var(--muted);
  margin: 4px;
  text-align: center;
}

.doctor-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-top: 0px;
  color: #777;
  flex-direction: column;
}

.rating {
  color: #f5a623;
}

.verified-badge {
  position: absolute;
  bottom: 6px;
  left: 6px;
  background: #2ecc71;
  color: #fff;
  font-size: 11px;
  padding: 3px 5px;
  border-radius: 50%;
}

/***************** cities ***************/

.cities-section {
  background: #f6f1e7;
  width: 85%;
  padding: 40px 20px;
  border-radius: 16px;
  margin: 100px auto;
}

.cities-header {
  display: flex;
  width: 90%;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  margin-bottom: 20px;
}

.cities-header h2 {
  font-size: 20px;
  color: #1e2a3a;
}

.view-all-cities {
  font-size: 14px;
  color: #1e2a3a;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.cities-grid {
  display: grid;
  margin: 0 auto;
  grid-template-columns: repeat(4, 1fr);
  width: 90%;
  gap: 20px;
}

.city-card {
  background: #fff;
  border-radius: 12px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1e2a3a;
  text-decoration: none;
  transition: all 0.2s ease;
}

.city-card i {
  color: #c59d5f; /* طلایی-کرم */
  font-size: 16px;
}

.city-card:hover {
  background: #efe6d6;
  transform: translateY(-2px);
}

/***************** footer ***************/

.footer {
  display: flex;
  color: white;
  background-color: var(--bg);
}

.footer-about {
  position: relative;
  width: 40%;
}

.footer-about p {
  margin-top: 17%;
  padding: 0 10%;
}

.footer-menu {
  position: relative;
  width: 30%;
  padding: 10px;
  border-right: 1px solid var(--card);
  border-left: 1px solid var(--card);
}

.footer-menu h4,
.footer-about h3 {
  position: absolute;
  top: 10%;
  right: 10%;
  margin: 0;
  font-size: 20px;
}

.footer-menu ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20%;
}

.footer-menu ul li a {
  text-decoration: none;
  color: white;
}

.footer-copy {
  position: relative;
  width: 30%;
}

.footer-copy a img {
  width: 20%;
  position: absolute;
  left: 5%;
  bottom: 5%;
}
