/*
Theme Name: Cover2
Theme URI: http://example.com/
Author: Your Name
Author URI: http://example.com/
Description: A simple coming soon theme for WordPress.
Version: 1.0
*/

/* @import url("./assets/css/fonts.css"); */

body {
  background-image: url("./assets/images/bg.png");
  /* background-image: url(${img}); */
  background-repeat: repeat, repeat-y;
  background-position: center, bottom left;
  background-size: auto, 6%;
  /* background-color: var(--light); */
  background-attachment: fixed;
  /* background-color: rgba(0, 0, 0, 0.5); */
  background-color: var(--neutral-tsp);
  box-sizing: content-box;
}

.login,
.register {
  margin: 120px 0;
  padding: 0 1em;
}

a {
  color: #a81c3b; /* Replace with your desired color */
  text-decoration: none;
}

a:hover {
  color: #ee4a6e; /* Optional: color on hover */
  text-decoration: none;
}

.logo-img {
  margin: 0 0.5em;
  width: 50px;
  height: 50px;
  /* margin: auto 1px; */
  /* margin-left: 1em; */
}

/* ================================================ */
/* =========== BUTTON SECTION */
/* ================================================ */
.custom-button {
  border: 1px solid var(--primary);
  color: #e7e7e7;
  border-radius: 5px;
  padding: 0.3em 0.6em;
  margin: 2px;
  width: fit-content;
  /* height: 100%; */
  background-color: var(--primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

.custom-button-sm {
  border: 1px solid var(--primary);
  color: #e7e7e7;
  border-radius: 5px;
  padding: 0.1em 0.5em;
  margin: 2px;
  width: fit-content;
  /* height: 100%; */
  background-color: var(--primary);
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: clamp(12px, 1vw, 5rem);
}

.custom-button:hover,
.custom-button-sm:hover {
  border: 1px solid var(--primary);
  background-color: var(--light);
  color: var(--primary);
}

.btn-newsletter {
  position: absolute;
  top: 50%;
  left: 2%;
  transform: translateY(-50%);
}
/* ================================================ */
/* =========== NAVBAR SECTION */
/* ================================================ */

.navbar {
  /* background-color: rgba(211, 211, 211, 0.2);  */
  background-color: var(--dark);
  /* backdrop-filter: blur(2px);  */
  /* -webkit-backdrop-filter: blur(2px); */
  padding: 0em 2.5em;
  border-bottom: 0.1px solid var(--light);
  text-align: right;
  width: 100%;
  font-size: 26px;
  font-weight: 900;
  color: var(--light);
  /* box-sizing: content-box; */
  line-height: normal;
  font-family: GeosansLight;
}

html[dir="rtl"] .navbar {
  font-family: Tanha;
}

.navbar-brand {
  color: var(--extra-light);
  transition: all 0.2s ease;
}
.navbar-brand:hover {
  color: var(--primary);
}
.navbar-brand span {
  transition: all 0.2s ease;
}

.navbar-brand span:hover {
  color: var(--primary);
}

.navbar-collapse {
  text-align: justify !important;
}
.navbar .navbar-nav .nav-link {
  /* background-color: #fff; */
  /* padding: 0.1em 10em; */
  margin: 0 10px;
  /* color: var(--dark); */
  color: var(--extra-light);
  font-weight: 500;
  outline: none;
  /* font-size: 12px; */
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: var(--primary);
}

.navbar.sticky-top {
  /* top: 20px; */
  transition: 0.5s;
  position: -webkit-sticky;
  position: sticky;
  z-index: 1020;
}

.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 5px;
  /* transition: 0.5s; */
  /* background-color: red; */
  /* font-size: 0.8em; */
  font-size: 12px !important;
  transition: transform 0.5s ease; /* Apply transition by default for both states */
}

.navbar .dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(-180deg);
}

.dropdown-menu .dropdown-item.show {
}

.dropdown-menu .dropdown-item:hover {
  /* width: 100%; */
  color: var(--primary);
  background-color: var(--light);
  transition: all 0.3s ease;
}

.nav-item {
  display: flex;
  align-items: center;
}

.nav-item > a,
.nav-item > .dropdown {
  display: flex;
  align-items: center;
  font-size: clamp(16px, 1.5vw, 5rem);
}

.navbar .custom-button-sm {
  padding: 0.5em 1em;
}

/* ================================================ */
/* =========== Animation JS */
/* ================================================ */

.animatable {
  opacity: 0;
  transition: all 0.6s ease;
}

.animatable.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.animatable.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.animatable.fade-right {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.animatable.fade-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.animatable.fade-left {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.animatable.fade-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.animatable.fade-down {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.animatable.fade-down.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Delay for staggered animation */
[data-delay="200"] {
  transition-delay: 200ms; /* Matches your data-delay attribute */
}

.visible {
  opacity: 1;
  transform: translate(0, 0);
}
/* ================================================ */
/* =========== NILOO SECTION */
/* ================================================ */

.niloo {
  /* background-color: var(--neutral); */
}

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

.niloo .container {
}

.niloo img {
  width: 60px;
  height: 60px;
  border-radius: 20%;
  object-fit: cover;
  margin: 0 auto;
  margin-bottom: 1em;
}
.niloo .card {
  max-width: 360px;
  margin: auto;
  padding: 20px;
  border: 1px solid var(--dark);
  border-radius: 10px;
  transition: all 0.2s ease;
  height: auto;
  min-height: 500px;
  background: linear-gradient(to bottom, var(--extra-light), var(--light));
}

.niloo h4 {
  font-size: 24px;
  font-weight: bold;
}

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

.niloo p {
  font-size: 18px;
  color: #555;
  line-height: 1.6;
}

/* ================================================ */
/* =========== NASTARAN SECTION */
/* ================================================ */

.nastaran {
  margin: 3em 0;
}
.nastaran .title {
  color: var(--text-muted);
  text-align: center;
}

.nastaran .container {
  background-color: var(--accent);
}

.loan-steps .count {
  height: 70px;
  width: 70px;
  text-align: center;
  line-height: 70px;
  margin: 15px auto 20px;
  font-size: 24px;
  font-weight: 700;
  border-radius: 50%;
  color: var(--dark);
  position: relative;
}
.loan-steps .count::after {
  position: absolute;
  content: "";
  height: 100%;
  width: 100%;
  border: 2px solid var(--dark-tsp);
  top: 0;
  left: 0;
  border-radius: 50%;
  z-index: 10;
}
.loan-steps .step-item {
  margin-top: 30px;
  position: relative;
  z-index: 1;
}

.loan-steps .step-item::before {
  position: absolute;
  content: "";
  height: 1px;
  width: 100%;
  border: 1px dashed var(--primary);
  top: 50px;
  left: 50%;
  z-index: -1;
}

html[dir="rtl"] .loan-steps .step-item::before {
  right: 50%;
}
.loan-steps .step-item:nth-child(3)::before,
.loan-steps .step-item:nth-child(6)::before,
.loan-steps .step-item:nth-child(9)::before,
.loan-steps .step-item:last-child::before {
  display: none;
}
.loan-steps .step-item .count {
  background-color: var(--neutral);
}
@media (max-width: 991px) {
  .loan-steps .step-item:nth-child(2)::before,
  .loan-steps .step-item:nth-child(3)::before,
  .loan-steps .step-item:nth-child(6)::before {
    display: none;
  }
  .loan-steps .step-item:nth-child(1)::before,
  .loan-steps .step-item:nth-child(6)::before,
  .loan-steps .step-item:nth-child(9)::before {
    /* display: block; */
    display: none;
  }
}
@media (max-width: 767px) {
  .loan-steps .step-item::before {
    display: none !important;
  }
}

/* ================================================ */
/* =========== ATLAS SECTION */
/* ================================================ */

.atlas {
}

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

.atlas .container {
  /* background-color: #a00d79; */
  max-width: 65rem;
  padding: 1em 3em;
  border-radius: 10px;
  /* padding-top: 100px; */
  /* padding-bottom: 100px; */
}

.atlas .payment_info_tab {
  padding: 1em 0;
  /* display: flex; */
  /* flex-wrap: wrap; */
}

.payment_info_tab .atlas-nav-item a {
  font-size: clamp(14px, 1.1vw, 3rem);
  /* width: 100%; */
  font-family: var(--en-font-h4);
  font-weight: 900;
}
html[dir="rtl"] .payment_info_tab .atlas-nav-item a {
  font-size: clamp(16px, 1.5vw, 3rem);
  font-family: var(--font-subtitle);
}

.atlas .payment_info_tab .active {
  color: var(--primary) !important;
  background-color: var(--light);
}
.atlas .content-block,
.atlas .image-block {
  opacity: 0;
  transition: 0.6s;
  position: relative;
}

.atlas .content-block {
  right: 25px;
}
.atlas .image-block {
  left: 25px;
}
.atlas .show .content-block,
.atlas .show .image-block {
  opacity: 1;
}
.atlas .show .content-block {
  right: 0;
}
.atlas .show .image-block {
  left: 0;
}

html[dir="rtl"] .atlas .content-block {
  right: -25px;
}
html[dir="rtl"] .atlas .image-block {
  left: -25px;
}
html[dir="rtl"] .atlas .show .content-block,
html[dir="rtl"] .atlas .show .image-block {
  opacity: 1;
}
html[dir="rtl"] .atlas .show .content-block {
  right: 0;
}
html[dir="rtl"] .atlas .show .image-block {
  left: 0;
}
.atlas > .container {
  position: relative;
  /* z-index: 10; */
}
.atlas > .container::after {
  position: absolute;
  content: "";
  height: 65%;
  width: 100%;
  top: 0;
  left: 0;
  background-color: var(--accent-tsp);
  z-index: -2;
  border-radius: 10px;
}

.tab-content {
  background-color: var(--neutral);
  border-radius: 10px;
  border: 1px solid var(--dark);
}

.tab-pane {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  color: var(--text-muted);
}

.tab-pane.active {
  display: block;
  opacity: 1;
}

.tab-pane.fade {
  opacity: 0;
  transition: opacity 0.15s linear;
}

.tab-pane.fade.show {
  opacity: 1;
}

.tab-content > .tab-pane {
  display: none;
}
.tab-content > .active {
  display: block;
}

@media (max-width: 767px) {
  .atlas {
    /* overflow: hidden; */
  }
}

@media (max-width: 568px) {
  .payment_info_tab {
    flex-direction: column;
    align-items: stretch;
  }

  .payment_info_tab .atlas-nav-item {
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .payment_info_tab .custom-button-sm {
    display: block;
    width: 100%;
    text-align: center;
  }
}

/* ================================================ */
/* =========== ROS SECTION */
/* ================================================ */

.ros {
  /* background-color: #ddd; */
  /* padding: 60px 0; */
}

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

.row {
  display: flex;
  flex-wrap: wrap;
}

.post-card {
  position: relative;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 15px;
  margin-bottom: 130px;
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.post-thumbnail {
  overflow: hidden;
}

.post-thumbnail img {
  width: 100%;
  height: auto;
  min-height: 180px;
  max-height: 180px;
  object-fit: cover;
  transition: transform 0.3s ease;
  border-radius: 15px;
}

.post-content {
  position: absolute;
  background-color: var(--light);
  width: 100%;
  height: 100%;
  padding: 1em 0.5em;
  top: 110px;
  z-index: 2;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
}

.post-thumbnail:hover img {
  /* transform: scale(1.05); */
  /* border-radius: 15px; */
}

/* Post Title Styling */
.post-title {
  padding: 0.5em;
  /* background-color: red; */
  font-size: 1.1rem;
  color: #2c3e50;
  text-align: center;
  margin: 0;
}

.post-title a {
  color: #2c3e50;
  text-decoration: none;
  transition: 0.2s ease;
}

.post-title a:hover {
  color: var(--primary);
  text-decoration: none;
}

.post-excerpt {
  /* background-color: red; */
  font-size: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.post-date {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  font-size: 11px;
}

.post-date span {
  font-family: var(--en-font-label);
  unicode-bidi: embed;
  text-align: right;
}

html[dir="rtl"] .post-date span {
  font-family: var(--font-label);
}

/* ================================================ */
/* =========== Blog List Section*/
/* ================================================ */
.shabbo {
  /* background-image: url("./assets/images/bg2.png");
  background-position: center;
  background-repeat: repeat;
  background-size: 10000px; */
  max-width: 900px;
  margin: 0 auto;
  /* background-color: red; */
}

.shabbo .container {
  padding: 1em 0;
  font-size: 36px;
  font-weight: 900;
  max-width: 900px;
  margin: 0 auto;
}

.shabbo .blog-list {
  display: flex;
  flex-direction: row;
  /* padding: 1em; */
  margin: 0.1em auto;
  background-color: #00000015;
  border-radius: 10px;
  /* max-height: 350px; */
  /* min-height: 350px; */
  max-height: 280px;
}

.shabbo .blog-label {
  font-size: clamp(14px, 0.5vw, 3rem);
  /* align-self: end; */
  justify-self: start;
  font-family: var(--en-font-label);
  /* background-color: #a81c3b; */
}

html[dir="rtl"] .shabbo .blog-label {
  font-family: var(--font-label);
}

.blog-date {
  font-size: clamp(10px, 1vw, 1rem);
  font-family: var(--en-font-label);
}

html[dir="rtl"] .shabbo .blog-date {
  font-family: var(--font-label);
}

.blog-thumb {
  flex: 1 1 30%;
}

.blog-thumb img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 10px 0 0 10px;
}

html[dir="rtl"] .blog-thumb img {
  border-radius: 0 10px 10px 0;
}

.blog-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  /* background-color: red; */
  padding: 1em;
}

.blog-title {
  display: flex;
  justify-content: space-between;
  font-size: 1.5rem;
  margin: 0.5rem 0;
  line-height: 1.4;
  width: 100%;
  align-items: center;
  font-family: var(--en-font-h2);

  /* padding: 1em 0 0.2em 0; */
  /* margin: 2rem 0 1rem; */
  .text {
    font-weight: bold;
    color: #000;
  }
}

html[dir="rtl"] .shabbo .blog-title {
  font-family: var(--font-h2);
}

.blog-content .blog-desc {
  font-size: 1rem;
  color: var(--gray-2);
  padding: 1em 0;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 921px) {
  .shabbo {
    margin: 0 1em;
  }
}
@media (max-width: 768px) {
  .shabbo {
    margin: 0 1em;
  }
  .shabbo .blog-list {
    flex-direction: column;
    max-height: 100%;
  }

  .blog-thumb img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 10px 10px 0 0;
  }

  .blog-title {
    font-size: 1.25rem;
  }
}

/* ================================================ */
/* =========== Blog Detail Section*/
/* ================================================ */

.zanbagh {
}

.zanbagh .img-block {
  position: relative;
  padding: 0 0 1em 0;
}

.zanbagh .img-block img {
  width: 64%;
  object-fit: cover;
  max-height: 86vh;
  border-radius: 0 3rem 3rem 0;
}

html[dir="rtl"] .zanbagh .img-block img {
  border-radius: 3rem 0 0 3rem;
}

.zanbagh .introduction {
  position: absolute;
  background-color: #ffffff34;
  /* background-color: red; */
  /* background-color: var(--light-tsp); */
  width: 50vw;
  top: 50%;
  transform: translateY(-50%);
  right: 0;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 1rem 0 0 1rem;

  backdrop-filter: blur(5px); /* blur effect */
  -webkit-backdrop-filter: blur(2px); /* for Safari support */
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

html[dir="rtl"] .zanbagh .introduction {
  right: 50vw;
  border-radius: 0 1rem 1rem 0;

  backdrop-filter: blur(5px); /* blur effect */
  -webkit-backdrop-filter: blur(2px); /* for Safari support */
}

.zanbagh .date {
  border-bottom: 1px solid #0000002f;
  padding: 0 0.5em;
  text-align: right;
  background-color: var(--dark-tsp);
  border-radius: 1rem 0 0 0;
}

html[dir="rtl"] .zanbagh .date {
  text-align: left;
  right: 50vw;
  font-family: var(--font-label);
  font-size: clamp(12px, 1.4vw, 2em);
  border-radius: 0 1rem 0 0;
}

.zanbagh .introduction h1 {
  font-size: clamp(16px, 3vw, 3em);
  margin: 0;
  padding: 0 15px;
  padding-top: 0.7em;
}
html[dir="rtl"] .zanbagh h1 {
  font-family: var(--font-h1);
  font-size: clamp(18px, 2vw, 4em);
}

.zanbagh .introduction p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
  text-align: justify;
  font-size: clamp(11px, 1.1vw, 3em);
  padding: 0 15px;
  padding-bottom: 1em;
  font-family: var(--en-font-text);
}

html[dir="rtl"] .zanbagh .introduction p {
  font-family: var(--font-text);
}

.zanbagh .cat {
  border-top: 1px solid #0000002f;
  padding: 0 0.6em;
}

html[dir="rtl"] .zanbagh .cat {
  text-align: right;
  right: 50vw;
  font-family: var(--font-label);
  font-size: clamp(12px, 1.4vw, 2em);
}
.zanbagh .content {
  max-width: 800px;
  margin: 1em auto;
  text-align: justify;
  padding: 1em 1em;
}

/* --------------------- */
/* --------------------- */
/* --------------------- */
/* --------------------- */
/* --------------------- */
.zanbagh .content li,
.lotus li {
  list-style: none;
  position: relative;
  margin-bottom: 0.5rem;
  color: #555;
  padding-left: 1.5rem;
}

html[dir="rtl"] .zanbagh .content li,
html[dir="rtl"] .lotus li {
  padding-right: 1.5rem;
}

.zanbagh .content ul li::before,
.lotus ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 16px;
  /* padding-right: 1em; */
  background-image: url("./assets/images/hero-arrow-left.svg");
  background-size: contain;
  background-repeat: no-repeat;
  transform: rotate(-180deg);
}

html[dir="rtl"] .zanbagh .content ul li::before,
html[dir="rtl"] .lotus ul li::before {
  right: 0;
  /* background-color: red; */
  transform: rotate(0deg);
  text-align: right;
  padding-right: 0;
}

.zanbagh .content ol li::before,
.lotus ol li::before {
  content: none;
}

@media (max-width: 768px) {
  .zanbagh .date {
    top: calc(50% - 20.5vh);
  }
}

/* .rrr {
  position: absolute;
  top: 50px;
  left: 80px;
  background: rgba(24, 24, 24, 0.3);
  border: 1px solid #fff;
  border-radius: 8px;
  padding: 1rem 1.5rem;
  text-align: center;
  font-size: 0.95rem;

  p {
    font-size: clamp(16px, 1.8vw, 3em);
    font-family: var(--en-font-text);
  }
} */

/* ================================================ */
/* =========== LOTUS SECTION - SERVICE*/
/* ================================================ */

.lotus {
  padding: 60px 0;
}

.lotus .container {
  max-width: 65rem;
}

.lotus .wrapper {
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* gap: 2em; */
  /* background-color: rgb(185, 190, 199); */
  /* border-radius: 10px; */
}

.lotus .section-one {
  background-color: var(--light);
}

.lotus .section-two {
  background-color: var(--dark);
}

.lotus .block-content.one {
  min-height: 300px;
  flex: 0 0 60%;
  display: flex;
  flex-direction: column;
  background-color: var(--accent);
  padding: 1em;
  border-radius: 10px 0px 0px 10px;
  text-align: left;
  color: var(--text-primary);
}

html[dir="rtl"] .lotus .block-content.one {
  text-align: justify;
  border-radius: 0 8px 8px 0;
}

.lotus .block-content.two {
  min-height: 300px;
  flex: 0 0 63%;
  display: flex;
  flex-direction: column;
  background-color: var(--neutral);
  padding: 20px;
  border-radius: 0px 8px 8px 0;
  text-align: left;
}

html[dir="rtl"] .lotus .block-content.two {
  text-align: justify;
  border-radius: 8px 0 0 8px;
}

.lotus .block-content button {
  margin-top: auto;
}

.lotus .service-content {
  text-align: justify;
}

.lotus .block-img {
  flex: 0 0 37%;
  padding: 0 1em;
  aspect-ratio: 1.63/1;
  overflow: hidden;
}

.lotus .block-img.one img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0 8px 8px 0;
}

.lotus .block-img.two img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px 0 0 8px;
}

html[dir="rtl"] .lotus .block-img.one img {
  border-radius: 8px 0 0 8px;
}

html[dir="rtl"] .lotus .block-img.two img {
  border-radius: 0 8px 8px 0;
}

@media (max-width: 768px) {
  .lotus .wrapper {
    flex-direction: column;
  }

  .lotus .block-content {
    order: 1;
  }

  .lotus .block-img {
    order: 0;
  }

  .lotus .block-content,
  .lotus .block-img {
    flex: 1 1 100%;
  }
}

.service-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2em 1em;
}

.service-content img {
  max-width: 100%;
  height: auto;
}

.service-section {
  border-right: 4px solid var(--dark);
  padding-right: 1em;
  margin-bottom: 2em;
}

/* ================================================ */
/* =========== Blog Details Header*/
/* ================================================ */

.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;
}
/* ======== */

/* ================================================ */
/* =========== Header of Each Section*/
/* ================================================ */

.section-header {
  display: flex;
  align-items: center;
  margin: 0 auto;
  gap: 0.5rem;
  /* direction: ltr; */
  flex-direction: row-reverse;
}

html[dir="rtl"] .section-header {
  flex-direction: row;

  h1 {
    font-family: var(--font-h1);
  }
}

.section-header h1 {
  font-size: clamp(22px, 2vw, 5rem);
  font-weight: 900;
}

.section-header .section-line {
  flex-grow: 1;
  height: 1px;
  background-color: var(--dark);
}

.section-header .section-icon {
  width: 48px;
  height: 48px;
  fill: var(--dark);
  align-self: right;
  margin-bottom: 12px;
  margin-right: -10px;
}

/* html[dir="ltr"] .section-icon {
  transform: scaleX(-1);
} */

.section-header .section-text {
  font-weight: bold;
  font-size: 1rem;
  color: #000;
  white-space: nowrap;
  font-size: clamp(18px, 1.8vw, 5rem);
  text-align: start;
}

/* ================== ccc: contact form */
/* Admin message styling */
.alert {
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  background-color: var(--neutral);
}

.alert-success {
  color: var(--dark);
  background-color: var(--neutral);
  width: 100%;
  padding: 1em;
}

.alert-danger {
  color: #a94442;
  background-color: #f2dede;
  border-color: #ebccd1;
}

/* ==================form Section */

.form-section {
  padding: 1em 0.5em;
  background-color: transparent;
  /* border-radius: 8px; */
  /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  max-width: 900px;

  .form-header {
    text-align: center;
    padding: 1em 0;
    width: 100%;
  }
}

.form-section h2 {
  display: block;
  text-align: center;
  /* color: #666; */
  /* font-size: 28px; */
  margin-bottom: 20px;
  /* font-style: italic; */
}

.form-section .form-text {
  padding: 1em 0;
  text-align: justify;

  span {
    direction: ltr;
    unicode-bidi: embed;
    display: inline-block;
  }
}

form {
  width: 100%;
}

.text-item,
.textarea-item {
  margin-bottom: 20px;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--accent);
  border-radius: 10px;
  font-size: 16px;
  background-color: var(--light);
  transition: border-color 0.3s ease;
  color: #222;
  /* text-align: start; */
  /* direction: rtl; */
}

form input {
  background-color: transparent;
}

.form-control.phone {
  text-align: left;
}

.form-control:focus {
  outline: none;
  box-shadow: none;
  border-color: var(--primary);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-control::placeholder {
  text-align: left;
}

html[dir="rtl"] .form-control::placeholder {
  text-align: right;
}

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

#respond small #cancel-comment-reply-link {
  display: none;
}
/* ================================================ */
/* =========== FOOTER SECTION */
/* ================================================ */

.footer {
  background-color: var(--dark);
  border-top: 0.1px solid #555;
  padding: 2em 6em 0;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  color: var(--extra-light);
}

.footer .wrapper {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  /* justify-content: end; */
  /* gap: 0.5em 0; */
}

.footer .getintouch,
.footer .quicklink,
.footer .newsletter {
  display: flex;
  flex-direction: column;
  gap: 0;
  justify-content: flex-start;
}

.footer .getintouch i {
  margin: 0 0.5em 0 0;
  font-size: clamp(16px, 1em, 5em);
  /* background-color: red; */
  padding: 0.3em 0;
}

html[dir="rtl"] .footer .getintouch i {
  margin: 0 0 0 0.5em;
  font-size: clamp(16px, 1.2em, 5em);
  /* background-color: red; */
}

.footer .getintouch .social-icon {
  display: flex;
  align-items: center;
  justify-content: start;
}

.footer .getintouch .social-icon .item {
  color: var(--light);

  /* border-color: var(--light); */
  /* margin: auto 0; */
}

.footer .item:hover {
  /* background-color: var(--light); */
  color: var(--primary);
}

.footer .quicklink .footer-menu {
  margin: 0;
  padding: 0 !important;
  /* background-color: green; */
}

.footer .quicklink .footer-menu .nav-item {
  /* background-color: greenyellow; */
  padding: 0 !important;
  margin: 0 !important;
  a {
    /* background-color: red; */
    margin: 0;
    padding: 0.3em 0;
  }
}
.footer .biography {
  /* flex: 1 1 50%; */
  p {
    /* background-color: red; */
    font-size: clamp(16px, 1em, 1em);
  }
}

.footer .copyright {
  padding: 1em 0;
  margin: 0;
  background-color: var(--dark);
  font-size: 12px;
  border-top: 1px solid var(--light-tsp);
  color: var(--light);
}

.footer .samandoon {
  color: var(--primary);
  font-weight: 900;
}

footer .samandoon:hover {
  color: var(--light);
}

.footer .form-control::placeholder {
  color: var(--light);
}

.footer-menu {
  list-style: none; /* optional: removes bullets */
  padding: 0;
  margin: 0;
}

.footer-menu li {
  /* margin-bottom: 8px; */
}

.footer-menu li a {
  text-decoration: none;
  color: var(--extra-light); /* or whatever you want */
  font-weight: 500;
}

.footer-menu li a:hover {
  /* text-decoration: underline; */
  color: var(--primary); /* hover color */
}

.footer-menu li a::after {
  content: "\f054";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 10px;
  margin-right: auto;
  margin-left: 6px;
}

html[dir="rtl"] .footer-menu li a::after {
  content: "\f053";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 10px;
  margin-left: auto;
  margin-right: 6px;
}

@media (max-width: 991.98px) {
  /* Bootstrap lg breakpoint */

  .footer {
    padding: 2em 4em 0;
  }
  .footer .biography {
    flex-basis: 100%;
    max-width: 100%;
    padding: 2em 0 0 0;
  }
}

@media (max-width: 768px) {
  .footer {
    /* background-color: var(--dark); */
    /* border-top: 0.1px solid #555; */
    /* padding: 2em 2em 0; */
    /* backdrop-filter: blur(2px); */
    /* -webkit-backdrop-filter: blur(2px); */
    /* color: var(--extra-light); */
    padding: 2em 2em 0;
  }

  .footer .quicklink {
    padding: 2em 0 0 0;
    /* gap: 2em 0; */
  }
}

/* ================================================ */
/* =========== OTHER SERVICES SECTION */
/* ================================================ */

.other-services {
  padding: 60px 0;
  /* background-color: #f9f9f9; */
}

.other-services .section-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 40px;
  color: var(--text-muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.service-card {
  display: block;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  text-decoration: none;
  transition: transform 0.3s ease;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-5px);
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.card-title {
  font-size: 20px;
  margin: 16px;
  color: #222;
}
