body {
  font-family: var(--font-text);
  font-size: clamp(18px, 1.2vw, 3rem);
  line-height: normal;

  .main-title {
    font-size: clamp(48px, 6vw, 10rem);
    font-family: var(--font-title);
    font-weight: 900;
  }

  h1 {
    font-size: clamp(48px, 6vw, 10rem);
    font-family: var(--font-title);
    font-weight: 900;
  }
  h2 {
    font-size: clamp(28px, 3vw, 5rem);
    font-family: var(----font-h2);
    font-weight: 900;
  }

  h3 {
    font-size: clamp(22px, 2vw, 3rem);
    font-family: var(----font-h3);
    font-weight: 900;
  }

  h4 {
    font-size: clamp(22px, 2vw, 3rem);
    font-family: var(----font-h4);
    font-weight: 900;
  }
}

.cheshme,
.pamchal,
.galin,
.narges,
.atlas,
.niloo,
.nastaran,
.ros {
  margin: 3em 0;
  position: relative;
  .title {
    width: fit-content;
    margin: 0 auto;
    border-radius: 8px;
    padding: 0.2em 0.3em;
  }
  .subtitle {
    font-size: clamp(20px, 2vw, 5rem);
    font-family: var(--font-subtitle);
    font-weight: 100;
    text-align: center;
  }

  .container {
    max-width: 65rem;
    padding: 3em;
    border-radius: 10px;
  }
}

/* ============== */
/* ============== */
/* ============== */
/* mobile version */
@media (max-width: 991px) {
  .navbar {
    padding: 0em 0.5em;
    /* background-color: red; */
  }
  /* Make sure dropdown parent has full block flow */
  .navbar .navbar-nav .dropdown {
    position: relative;
    display: block;
    width: 100%;
    color: #fff;
  }

  /* Submenu */
  .navbar .navbar-nav .dropdown-menu {
    position: static; /* Makes it appear below, not overlaid */
    /* display: none; */
    width: 100%;
    margin-top: 0.5rem; /* Space between parent and submenu */
    background-color: transparent;
    padding: 0.5rem 1rem;
    border: 0;
  }

  .navbar .navbar-nav .dropdown-item {
    display: block;
    width: 100%;
    text-align: right;
    padding: 0.5rem 0.1rem;
    color: var(--light);
    border-bottom: 1px solid var(--light-tsp);
  }

  .navbar .navbar-nav .dropdown-item:hover {
    background-color: transparent;
    /* display: block;
    width: 100%;
    text-align: right;
    padding: 0.5rem 1rem; */
    color: var(--primary);
    transition: 0.3s ease;
  }
  .navbar .navbar-nav .dropdown.show .dropdown-menu {
    display: block; /* show only when dropdown is open */
  }
  .navbar-toggler {
    border-color: var(--light); /* Change to your desired color */
  }

  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  }
}

/* ================================================ */
/* =========== PANCHAL SECTION */
/* ================================================ */
.pamchal {
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
  min-height: 70vh;
  padding: 1em;
  margin: 0 auto;
  text-align: center;
  background: url("../images/bg13.png") no-repeat center center;
  background-size: cover;
  color: var(--light);
}

.pamchal .title-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 1em;
  min-height: 350px;
  max-width: 600px;
}

.pamchal::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.1));
  z-index: 1;
}

/* Make sure content is above the overlay */
.pamchal > * {
  position: relative;
  z-index: 2;
}

/* ================================================ */
/* =========== SOOSAN SECTION */
/* ================================================ */

.soosan {
}

.soosan .soosan-text {
  line-height: 1.7;
  p {
    text-align: justify;
  }
}

/* ================================================ */
/* =========== CHESHME SECTION */
/* ================================================ */
.cheshme {
  overflow-x: hidden;
  background-color: var(--light);
  padding: 2em 0;
}

.cheshme .title {
  color: var(--text-muted);
  text-align: center;
}

.cheshme li {
  border-color: #9f9f9f !important;
}

/* ================================================ */
/* =========== GALIN SECTION */
/* ================================================ */

.galin {
  padding: 2em 0;
}

.galin .title {
  color: var(--text-muted);
  text-align: center;
  /* position: absolute;
  top: -50px;
  z-index: 1;
  left: 50%;
  transform: translateX(-50%); */

  /* border: 0.1px dashed var(--gray-2); */
  /* padding: 0.5em; */
  /* border-radius: 0; */
}

.galin .container {
  max-width: 85em;
  /* background: linear-gradient(to top, var(--neutral), var(--neutral)); */
  /* background-image: url("../images/bg-galin.png"); */
  /* background-repeat: no-repeat; */
  /* background-size: contain; */
  /* background-position: center; */

  background-image: url("../images/bg6.png");
  /* background-image: url("../images/bg3.svg"); */
  background-position: center;
  background-repeat: repeat;
  background-size: cover;
  /* background-color: #7ab867; */
}
.circle-row {
  /* padding: 0 0; */
  /* border-radius: 10px; */
  /* background-color: #b86767; */
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.circle-row.second {
  /* background-color: #463d96; */
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  /* padding: 0 0; */
}

.galin .circle {
  /* background-image: url("../images/bg2.svg"); */
  background-image: url("../images/bg2.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  width: 200px;
  height: 200px;
  min-width: 100px;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 1;
  cursor: pointer;
  position: relative;
  padding: 8vw;
  /* overflow: hidden; */
  /* margin-top: 20px; */
  /* padding: 4em; */
  /* border: 1px solid red; */
  /* background-color: red; */
}

.galin .circle span {
  transition: all 0.2s ease;
  font-family: var(----font-text);
  text-align: center;
  font-weight: 100;
  font-size: clamp(22px, 2vw, 10em);
  color: var(--dark);
}

.circle:hover {
  color: var(--primary);
  font-weight: 900;
}

@media (max-width: 991px) {
  .circle {
    padding: 4em;
    margin: 0;
  }
}

@media (max-width: 768px) {
  .circle {
    padding: 5em;
    margin: 0;
  }
}

/* ================================================ */
/* =========== NARGES SECTION */
/* ================================================ */

.narges {
  background-color: var(--neutral-tsp);
  /* background: linear-gradient(to bottom, var(--light), var(--light-tsp)); */
  background-image: url("../images/bg-narges.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 2em 0;
}

.narges .container {
  max-width: 65rem;
}
.narges .subtitle {
  color: var(--light);
}

.narges .title {
  color: var(--light);
  text-align: center;
}

.messages {
  /* margin: 1em 0; */
  position: relative;
  height: 18rem;
  max-width: 85rem;
  padding-top: 1rem;
  /* margin: 3rem auto 5rem; */
}

.message-container {
  background-color: var(--primary);
  border-radius: 0.5rem;
  /* width: 23rem; */
  text-align: center;
  padding: 1rem;
  position: absolute;
  /* min-height: 7rem; */
  font-size: clamp(28px, 2.7vw, 5rem);

  transition: all 0.2s ease;
  /* ----- */
  opacity: 0;
  transform: scale(0.8) rotate(var(--rotate, 0deg));
  transform-origin: center center;
  color: var(--accent);
}

.message-container.visible {
  animation: popIn 0.6s ease forwards;
}

.message-container:hover {
  box-shadow: 0 8px 10px rgba(0, 0, 0, 0.2);
}

.message-1 {
  --rotate: -5deg;
  left: 2rem;
  top: 1rem;
}

.message-2 {
  --rotate: 1deg;
  left: 20rem;
  top: 12rem;
}

.message-3 {
  --rotate: 10deg;
  top: 5rem;
}

@media screen and (max-width: 800px) {
  .message-container {
    width: 23rem;
  }
  .narges .message-container.message-1 {
    transform: rotate(0deg);
    left: 0;
    top: auto;
    width: 100%;
    position: relative;
    margin-bottom: 1.5rem;
    /* background-color: red; */
  }

  .narges .message-container.message-2 {
    left: 0;
    transform: rotate(0deg);
    width: 100%;
    top: auto;
    position: relative;
    margin-bottom: 2rem;
    /* background-color: rgb(255, 238, 0); */
    --rotate: -1deg;
  }

  .narges .message-container.message-3 {
    left: 0;
    transform: rotate(0deg);
    top: auto;
    width: 100%;
    /* background-color: rgb(0, 0, 255); */
    --rotate: 3deg;
  }
}

@media screen and (max-width: 600px) {
  .messages {
    height: 22rem;
    margin: 2rem 0 6rem;
  }
  .message-container {
    width: 285px;
  }
}

@media screen and (max-width: 400px) {
  .messages {
    height: 22rem;
    margin: 2rem 0 6rem;
  }
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.8) rotate(var(--rotate, 0deg));
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(var(--rotate, 0deg));
  }
}

/* ================================================ */
/* =========== ANAR SECTION */
/* ================================================ */

.anar .title {
  color: var(--text-muted);
  margin-bottom: 50px;
  text-align: center;
  font-family: Ziba;
  font-size: 36px;
  font-weight: 900;
}

.anar .container {
  max-width: 65rem;
  /* background: var(--neutral); */
  padding: 2em 0;
  border-radius: 10px;
}

.question {
  padding: 2em;
  background-color: transparent;
}

.answer {
  padding: 1em 1em;
  border: 0;
}

/* ========================= */
/* =========== TORANJ SECTION */
/* ========================= */
.toranj {
  margin: 4em 0;
}

.toranj .card-row {
  display: flex;
  justify-content: space-evenly;
  gap: 1em;
  flex-wrap: wrap;
  margin: 1em 0;
}
.toranj .card-row .single-card {
  display: flex;
  border: 0.5px solid var(--primary);
  width: 200px;
  /* height: 100%; */
  border-radius: 10px;
  padding: 1em;
  /* color: var(--light); */
  background-color: var(--accent);
  transition: all 0.2s ease;
  text-align: center;
  align-items: center;
}

.toranj .card-row .single-card:hover {
  background-color: var(--light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* ================================================ */
/* =========== CONTACT SECTION */
/* ================================================ */

.contact-header {
  position: relative;
  background: url("../images/bg-contact.webp") no-repeat center center;
  background-size: cover;
  min-height: 400px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  padding-bottom: 120px;

  .phone {
    direction: ltr;
  }
}

.contact-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.3));
  z-index: 1;
}

.contact-header > * {
  position: relative;
  z-index: 2;
}

.contact-header .box-text {
  position: absolute;
  top: 50px;
  right: 80px;
  background: rgba(24, 24, 24, 0.3);
  border: 1px solid #fff;
  border-radius: 8px;
  padding: 1rem 1.5rem;
  /* max-width: 200px; */
  text-align: center;
  font-size: 0.95rem;
  p {
    font-size: clamp(16px, 1.8vw, 3em);
    font-family: var(--font-title);
  }
}

.contact-header .title-text {
  position: absolute;
  top: 200px;
  right: 80px;
  text-align: right;

  h1 {
    font-family: var(--font-h1);
    font-size: 2rem;
    margin: 0;
  }
  h4 {
    font-family: var(--font-h4);
    margin-top: 0.5rem;
    font-weight: normal;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .contact-header .box-text {
    left: 50px;
    right: 50px;
    position: absolute;
    text-align: center;
  }

  .contact-header .title-text {
    top: 180px;
  }
}

/* ================== Contact Info Section */

.contact-info-wrapper {
  position: relative;
  top: 0px;
  z-index: 5;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  background: transparent;
  padding: 2rem 1rem;
  margin-top: -130px;
  position: relative;
  z-index: 3; /* Ensure it appears above header overlay */
  /* border-radius: 20px; */
  /* box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15); */
}

.contact-info .item {
  background: transparent;
  text-align: center;
  padding: 2rem 0;
  margin: 1rem 0;
  /* width: 250px; */
  /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
  border-radius: 15px;

  .phone {
    direction: ltr;
    display: inline-block;
  }
}

.contact-info .icon {
  background-color: var(--dark);
  color: #fff;
  width: 100px;
  height: 100px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.contact-info h3 {
  margin: 0.5rem 0 0.2rem;
  font-size: 1.2rem;
}

.contact-info p {
  font-size: 0.95rem;
  color: #444;
}

@media (max-width: 768px) {
  .contact-info {
    flex-direction: column;
    align-items: center;
  }
}

/* ================================================ */
/* =========== COMMENT SECTION */
/* ================================================ */

.comments-area {
  /* border-top: 1px solid #545454; */
  /* background-color: aquamarine; */
  padding: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.comment-list {
  /* background-color: #da1986; */
  padding: 20px;
}
.comments-title {
  margin-top: 30px;
  font-size: 24px;
}
.comment-body {
  /* margin: 20px 0; */
  /* background-color: rgba(196, 137, 92, 0.781); */
  padding: 10px 5px;
  /* border-radius: 10px; */
}

.comment {
  border-bottom: 1px dashed #222;
  /* background-color: darkblue; */
}

.comment.preview-comment {
  opacity: 0.7;
  /* background-color: red; */
  /* border: 1px dashed #ccc; */
  padding: 10px;
}

.comment-author {
  /* background-color: green; */
  font-size: 16px;
}
.comment-meta {
  /* background-color: red; */
  font-size: 12px;
}

.comment-awaiting-moderation {
  color: #555;
  font-style: italic;
  margin: 1em 0;
}
/* =================================blog */

.blog-detail-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 70vh;
  justify-content: space-between;
  border-bottom: 1px solid #1b1b1b66;
}

.blog-detail-header .title {
  font-family: Ziba;
  /* font-size: 36px; */
  font-weight: 900;
  padding-top: 100px;
  font-size: 24px;
}
.blog-detail-header h1 {
  text-align: center;
  font-size: 48px;
  font-family: Roya;
  font-weight: 600;
  line-height: normal;
}

.blog-detail-footnote {
  display: flex;
  color: var(--dark);
  width: 100%;
  justify-content: center;

  /* background-color: red; */
}

.blog-detail-footnote .item {
  padding: 0 1em;
}

.image-container {
  margin: 0 auto;
  width: 100%;
  /* height: auto; */
  /* max-width: 400px; */
  /* max-height: 100px; */
  padding: 20px 0;
  /* background-color: red; */
}

.image-container .img-fluid {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  height: auto;
}

@media (min-width: 768px) {
  .image-container .img-fluid {
    max-width: 80%; /* Optional: Reduces the image width on larger screens for better centering */
  }
}

@media (max-width: 767px) {
  .image-container .img-fluid {
    max-width: 100%; /* Full width on mobile */
  }
}

.blog-desc ul,
.service-page ul {
  list-style-type: none; /* Remove default bullets for unordered lists */
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

/* ================================================ */
/* =========== TABLE */
/* ================================================ */
table {
  width: 100%; /* Full width of container */
  border-collapse: collapse; /* Merge borders */
  margin: 1rem 0; /* Spacing above and below table */
  background-color: transparent; /* White background */
  /* box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);  */
  border-radius: 8px; /* Rounded corners */
  overflow: hidden; /* Ensure rounded corners work */
}

thead {
  background-color: #da1986; /* Header background color (blue) */
  color: #fff; /* White text for contrast */
  font-weight: 900;
  font-size: larger;
}

th {
  padding: 1rem; /* Padding inside header cells */
  text-align: center; /* Left-align headers */
  font-weight: bold; /* Bold headers */
  border-bottom: none; /* No border for header cells */
}

tbody tr {
  border-bottom: 1px dashed #676767; /* Only bottom border for each row */
}

td {
  padding: 0.8rem; /* Padding inside data cells */
  color: var(--text-muted); /* Dark text for readability */
  vertical-align: top; /* Align content to top */
  border: none; /* Ensure no other borders on cells */
}

tbody tr:hover {
  background-color: #f8f9fa; /* Light gray background on hover */
  transition: background-color 0.3s ease; /* Smooth transition */
}

/* Ensure first and last cells have rounded corners if needed */
tr:first-child th:first-child {
  border-top-left-radius: 8px;
}

tr:first-child th:last-child {
  border-top-right-radius: 8px;
}

tr:last-child td:first-child {
  border-bottom-left-radius: 8px;
}

tr:last-child td:last-child {
  border-bottom-right-radius: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
  table {
    font-size: 0.9rem; /* Smaller text on mobile */
  }

  th,
  td {
    padding: 0.6rem; /* Reduced padding on mobile */
  }

  table {
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1); /* Lighter shadow on mobile */
  }
}
/* ================================================ */
/* =========== NEXT-Pervious blog post SECTION */
/* ================================================ */
