@font-face {
  font-family: "iransans";
  src: url("fonts/Sans\ a4fran3.woff") format("woff");
}
html,
body {
  background: #f3f3f38c;
  font-family: "iransans";
  margin: 0;
  padding: 0;
  width: 100%; 
  box-sizing: border-box; 
}
body {
  padding-top: 70px;
}
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-around;
  font-size: 16;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
hr {
  border: none;
  border-top: 2px solid #949494;
  width: 100%;
  margin-top: -2px;
}
.header-logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: black;
}
.menu-icon {
  display: none; 
  font-size: 30px;
  cursor: pointer;
}
.header-menu {
  position: relative;
}
.header-menu ul li  .wallet{
  display: none!important;
}
.header-menu li .arrow {
  border: solid black;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  margin-right: 5px;
}

.header-menu li:hover > a .arrow {
  transform: rotate(-135deg); 
}

.header-menu li:hover .submenu {
  display: block !important;
}


.header-menu .arrow-submenu {
  border: solid black;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(-45deg); 
  transition: transform 0.3s ease;
  margin-left: 5px;  
}

.header-menu li:hover > a .arrow-submenu {
  transform: rotate(135deg);
}

.header-menu li:hover .submenu-right {
  display: block !important;
}
.submenu {
  display: none !important;
  position: absolute;
  background-color: white;
  border: 1px solid #ccc;
  z-index: 1000;
  right: -1px;
  top: 100%;
}

.header-menu li {
  position: relative;
}
.header-menu ul li:hover{
  background: #159aaf;
  z-index:100;
}
.header-menu li:hover .submenu {
    display: block !important;
    width: 239px;
    padding: 15px;
    line-height: 2;
    border-radius: 5px;
    background: #eeeeee;
}
.header-menu .submenu li {
    background: #ffffff;
    border-radius: 5px;
    margin-bottom: 8px;
}
.header-menu .submenu li:hover {
  padding: 10px;
  border-radius: 10px;
  background: #159aaf;
}
.header-menu .submenu li:hover a {
  color: #ffffff;
}
.header-menu .submenu .li-submenu:hover .inner-submenu li a{
    color:#000!important;
}
.header-menu .submenu .li-submenu:hover .inner-submenu li:hover a{
    color:#fff!important;
}
.header-menu ul {
  display: flex;
  list-style-type: none;
  background: #e3f2fd;
  border-radius: 20px;
  padding-top: 5px;
  padding-bottom: 5px;
}
.header-menu ul li {
  padding: 5px 12px;
}
.header-menu ul li a {
  text-decoration: none;
  color: #272727;
}
.header-menu ul li a:hover{
  color: #ffffff;
    background: #159aaf;
}
.header-menu ul li span.close-icon {
  display: none;
  font-size: 30px;
  cursor: pointer;
  text-align: right;
  color: white;
}
.header-buttons {
  display: flex;
  align-items: center;
}

.header-buttons a {
  display: flex;
  align-items: center;
  padding: 10px; 
  margin-left: 20px;
  text-decoration: none;
  color: #0f0f0f; 
  border-radius: 8px; 
  border: 1px solid #cecece;
  transition: background-color 0.3s, transform 0.2s; 
}

.header-buttons a:hover {
  background-color: #eeeeee; 
  transform: translateY(-3px);
}
.header-buttons a img{
  width: 25px;
}
.header-buttons i {
  font-size: 18px;
  margin-right: 8px; 
  margin-left: 5px;
}

.header-buttons p {
  margin: 0;
  font-weight: 500;
}

.header-buttons a:not(:last-child) {
  margin-right: 20px;
  position: relative; 
}

.header-buttons a:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 86px;
  top: 8px;
  height: 34px;
  width: 1px;
  background-color: #cecece;
}
.submenu, .inner-submenu {
  display: none!important;
  position: absolute;
  background-color: #fff;
  list-style-type: none;
  padding: 10px;
  margin: 0;
}

.header-menu li:hover > .submenu {
  display: block;
}

.submenu li:hover > .inner-submenu {
  display: block !important;
  right: 240px;
  width: 69%;
  top: 0;
  background: #eeeeee;
  border-radius: 5px;
}

.submenu li {
  position: relative;
  padding-right: 20px;
}

.submenu .li-submenu::after {
  content: '>';
  position: absolute;
  left: 4px;
  font-weight: bold;
}

.submenu .li-submenu:hover::after {
  content: '<'; 
  font-weight: bold;
}

.inner-submenu li::after {
  content: '';
}
.phone-icon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #ff9800;
  color: white;
  padding: 10px 46px;
  border-radius: 50px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  z-index: 1000;
}


.phone-box {
  display: none;
  position: absolute;
    top: -54px;
    right: -7px;
    width: 101%;
    background-color: #ffffff;
    color: #000;
    padding: 13px;
    border: 1px solid #45a049;
    border-bottom: none;
    border-radius: 4px;
    font-size: 14px;
    z-index: 100;
}

.desktop-only {
  display: none;
}

.mobile-only {
  display: none;
}

.phone-icon i {
  font-size: 24px;
  margin-left: 10px;
}

.phone-icon span {
  font-size: 16px;
  font-weight: bold;
}

.phone-icon a {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.phone-icon:hover {
  background-color: #45a049;
}


.box-body {
  width: calc(100% - 140px);
  margin: 0 70px;
}
.slider {
  position: relative;
}
.slider-image {
  height: calc(100vh - 30px);
  margin: 15px 0px;
  margin-bottom: -67px;
  position: relative;
  overflow: hidden;
}
.slider-image img {
  width: 100%;
  height: 75%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 15px;
}
.moshavreh-free{
  display: none;
}
.services-title h2 {
  text-align: right;
  font-size: 1.5rem;
  margin-bottom: 40px;
}

.goals {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 20px;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

.goals-item {
  background-color: #fff;
  padding: 20px;
  width: 220px;
  text-align: center;
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.goals-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.goals-item img {
  max-width: 80px;
  margin-bottom: 15px;
}

.goals-item h3 {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 10px;
}
.info {
  display: flex;
  justify-content: space-around;
  font-weight: bold;
}
.info-time {
  margin: 10px;
  background: #ffffff;
  padding: 10px;
  border-radius: 12px;
  text-align: center;
  width: 30%;
  box-shadow: 3px 3px 3px #eeeeee;
  border: 1px solid #ddd;
}
.info-call {
  margin: 10px;
  background: #ffffff;
  padding: 10px;
  border-radius: 12px;
  text-align: center;
  width: 30%;
  box-shadow: 3px 3px 3px #eeeeee;
  border: 1px solid #ddd;
}
.info-expert {
  margin: 10px;
  background: #ffffff;
  padding: 10px;
  border-radius: 12px;
  text-align: center;
  width: 30%;
  box-shadow: 3px 3px 3px #eeeeee;
  border: 1px solid #ddd;
}
.slider-moshaverin {
  background: #ffffff;
  padding: 6px;
  width: 32%;
  border-radius: 15px;
  position: absolute;
  top: 264;
  right: 30;
}
.info span {
  font-weight: bold;
  font-size: 30px;
  color: #159aaf;
  line-height: 1.5;
}
.info p {
  font-size: 20px;
}
#popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#popup-content {
  background-color: white;
  padding: 20px;
  width: 80%;
  max-width: 400px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

#popup-content h2 {
  margin-bottom: 20px;
}
.close-btn {
  float: left;
  background-color: red;
  color: white;
  border: none;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  font-size: 16px;
  line-height: 25px;
  text-align: center;
  cursor: pointer;
}
.consultant {
  display: flex;
  justify-content: space-around;
  margin-bottom: 20px;
}

.consultant a img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #800080;
  object-fit: cover;
}

.buttons {
  display: flex;
  justify-content: space-between;
}

.buttons a {
  width: 40%;
  padding: 10px;
  background-color: #008000;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
}

.buttons a:last-child {
  background-color: #800080;
}
.moshaverin-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.moshaverin-image img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #159aaf;
  position: relative;
  margin-left: -25px;
  object-fit: cover;
}
.moshaverin-button a {
  color: #159aaf !important;
  font-size: 35px;
}
.moshaverin-title span {
  font-weight: bold;
  color: #696868;
  font-size: 20px;
  line-height: 1.9;
}
.moshaverin-title h3 {
  line-height: 0.5;
}
.services-title {
  text-align: center;
  margin: 40px 0;
}
.services-category {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 16px;
}
.categories {
  flex: 1 1 calc(20% - 16px);
  box-sizing: border-box;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  background-color: #fff;
  min-width: 200px;
  box-shadow: 3px 3px 3px #eeeeee;
  padding: 10px;
}
.categories a {
  text-decoration: none;
}
.categories a img {
width: 25%;
    border-radius: 50%;
    border: 2px solid #04566f;
    object-fit: cover;
}
.categories a h3 {
  line-height: 1.5;
  margin: 8px 0;
  color: #242424;
  font-size: 15px;
}
.categories p {
  font-weight: bold;
  color: #696868;
  font-size: 13px;
  margin: 0;
}
.baner {
  background: #159aaf;
  width: 52%;
  height: 26%;
  object-fit: cover;
  border-radius: 15px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  color: white;
  margin: 30px 0px;
  margin-bottom: -67px;
  text-align: center;
  overflow: hidden;
  position: relative;
  right: 256px;
}
.baner-text-large {
  font-size: 1rem;
  margin: 0;
  line-height: 2.5;
  padding: 5px 10px;
  border-radius: 15px;
  border: 2px solid #e3e3e3;
}
/* .baner-text-large::after{
  left: 170px;
  content: "";
  display: block;
  position: absolute;
  width: 0;
  height: 0;
  border-right: 16px solid transparent;
  border-left: 16px solid transparent;
  border-top: 14px solid #ff9800;
  -webkit-border-radius: 50%;
  -webkit-transform: rotate(-218deg);
  bottom: 34px;
  z-index: 0;
} */

.baner img{
  width: 22%;
  height: 50%;
}
.baner-text-small {
  font-size: 1rem;
  margin: 0;
  text-decoration: none;
  color: #ffffff;
}
.top-consultants {
  margin-top: 95px;
}
.top-consultants-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 40px 0;
}
.top-consultants-title a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: blue;
}
.top-consultants-title a:hover {
  color: red;
}
.top-consultants-title i {
  margin-right: 5px;
}
.top-consultants-profile {
  display: flex;
  justify-content: space-around;
  text-align: center;
}
.top-consultants-all {
  background: #159aaf;
  border-radius: 20px;
  color: #fff;
  padding: 45px;
  width: 30%;
  margin-left: 20px;
}
.top-consultants-all a {
  display: block;
  text-decoration: none;
  margin-top: 30px;
}
.top-consultants-all p {
  line-height: 2.2;
}
.top-consultants-button {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 10px;
  padding: 10px 25px;
  margin-top: 15px;
  display: inline-block !important;
}
.top-consultants-button i {
  vertical-align: middle;
}
.top-consultants-all img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  position: relative;
  margin-left: -25px;
  object-fit: cover;
}
.top-consultants-item {
  display: flex;
}
.top-consultants-item img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 2px solid #04566f;
  object-fit: cover;
}
.consultants-call {
  text-decoration: none;
  background: #ffffff;
  border-radius: 10px;
  padding: 15px 30px 15px 30px;
  margin: 0 20px;
  box-shadow: 3px 3px 3px #eeeeee;
  border: 1px solid #ddd;
}
.top-consultants-item h3 {
  color: #292929;
}
.top-consultants-item p,
.top-consultants-item span {
  color: #4f4f4f;
}
.fa-solid.fa-star {
  color: #c9cb03;
}
.top-consultants-call {
  display: block;
  position: relative;
  left: 10;
  width: 100%;
  padding: 10px;
  text-decoration: none;
  color: #04566f;
  border: 1px solid #04566f;
  border-radius: 10px;
  margin-top: 10px;
}
.top-consultants-call:hover {
  color: red;
  border: 1px solid red;
}
.top-consultants-call i {
  vertical-align: middle;
  padding-right: 2px;
}

.top-consultants-slide {
  display: none;
}

.top-consultants-slide.active {
  display: flex;
}

.slider-btn {
  cursor: pointer;
  background-color: transparent;
  border: none;
  font-size: 24px;
  position: absolute;
  transform: translateY(404%);
}

/* Button styles for previous and next slides */
#prev-slide, #next-slide {
  position: absolute;
  transform: translateY(277%);
  background-color: #04566f;
  color: white;
  border: none;
  padding: 15px;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.3s ease;
}

#prev-slide:hover, #next-slide:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

#prev-slide {
  left: 10px;
}

#next-slide {
  right: 10px;
}

#prev-slide i, #next-slide i {
  font-size: 24px;
}

/* Slide indicators (dots) */
.slide-indicators {
  text-align: center;
  position: absolute;
  left: 50%;
  transform: translateY(1400%);
}

.slide-indicators .dot {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.slide-indicators .dot.active {
  background-color: #04566f;
}


.comment-all {
  display: flex;
}
.comment-all p {
  font-size: 10px;
  line-height: 2;
  color: #454545;
  margin: 30px 0;
}
.comment-item {
  margin-left: 20px;
  background: #ffffff;
  padding: 15px;
  border-radius: 10px;
  width: 33%;
  border: 1px solid #ddd;
}
.user-comments-title {
  margin: 40px 0;
}
.user-question {
  display: flex;
  align-items: center;
}
.user-question img {
  width: 40px;
  height: 40px;
  background: #eeeeee;
  padding: 10px;
  border-radius: 50%;
}
.user-info {
  margin-right: 12px;
}
.user-info a {
  font-size: 15px;
  color: black;
  text-decoration: none;
}
.user-info span {
  display: block;
  font-size: 12px;
  color: #575757;
}
.admin-answer {
  display: flex;
  margin-top: 30px;
  align-items: center;
}
.admin-answer img {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  margin-left: 5px;
  border: 2px solid #159aaf;
  object-fit: cover;
}
.answer-info a {
  text-decoration: none;
}
.answer-info h3 {
  font-size: 17px;
  margin-top: 0;
  line-height: 1.5;
  color: #159aaf;
}
.answer-info p {
  font-size: 14px;
  margin: 0;
  line-height: 0;
}
.article-tab {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 40px 0;
}
.article-tab a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: blue;
}
.article-tab i {
  margin-right: 5px;
}
.article-tab a:hover {
  color: red;
}
.article-all {
  display: flex;
  justify-content: space-around;
  text-align: center;
}
.article-item {
  background: #ffffff;
  border-radius: 10px;
  padding: 15px;
  margin: 0 20px;
  position: relative; 
  padding-bottom: 50px; 
  border: 1px solid #ddd;
  margin-bottom: 20px;
  box-shadow: 3px 3px 3px #eeeeee;
  width: 30%;
}
.article-footer {
  position: absolute;
  bottom: 10px; 
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
}
.article-item img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}
.article-item h2 {
  font-size: 15px;
  line-height: 2;
  color: #272727;
}
.article-item a {
  text-decoration: none;
}
.article-item p {
  color: #737373;
  font-size: 13px;
}
.article-button,
.article-date {
  display: inline-block;
}
.article-button {
  border: 1px solid #159aaf;
  border-radius: 10px;
  padding: 5px 15px;
  color: #159aaf;
  font-size: 15px;
  text-align: left;
}
.article-button:hover {
  color: red;
  border: 1px solid red;
}
.article-date {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: right;
  margin-right: 20px;
}
.article-date i {
  font-size: 20px;
  color: #575757;
  display: flex;
  align-items: center;
}
.article-date span {
  font-size: 10px;
  margin-right: 7px;
  float: left;
}
.footer-icons {
  background-color: #ffffff;
  padding: 20px 0;
  color: #800080;
  text-align: center;
  margin-top: 30px;
  border-radius: 15px 15px 0 0;
  box-shadow: 3px 3px 3px #eeeeee;
  border: 1px solid #ddd;
}
.icon-box {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 70px;
}
.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 150px;
}
.icon-item i {
  font-size: 36px;
  margin-bottom: 10px;
  color: #159aaf;
}
.icon-item p {
  font-size: 14px;
  margin: 0;
  font-weight: bold;
  color:#000000;
}

footer {
  background-color: #159aaf;
  color: white;
  padding: 40px 0;
  text-align: center;
}
.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 70px;
}
.footer-logo {
  width: 41%;
}
.footer-logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: white;
}
.footer-logo p {
  font-size: 13px;
  text-align: right;
  line-height: 2;
}
.footer-links h4,
.footer-contact h4 {
  margin-bottom: 16px;
}
.footer-links ul {
  list-style-type: none;
  padding: 0;
}
.footer-links ul li {
  margin-bottom: 10px;
}
.footer-links ul li a {
  text-decoration: none;
  color: white;
  transition: color 0.3s;
}
.footer-links ul li a:hover {
  color: #008000;
}
.footer-contact p {
  margin: 8px 0;
  font-size: 14px;
}
.footer-social a {
  margin: 0 8px;
  font-size: 24px;
  color: white;
  transition: color 0.3s;
}
.footer-social a:hover {
  color: #008000;
}
.footer-bottom {
  background-color: #ffffff;
  padding: 10px 0;
  margin-top: 30px;
  color:#000000;
}
.footer-bottom p {
  margin: 0;
  font-size: 14px;
}
