@font-face {
  font-family: 'Estedad';
  src: url('../fonts/Estedad-Regular.woff2') format('woff2'),
       url('../fonts/Estedad-Regular.woff') format('woff'),
       url('../fonts/Estedad-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Estedad';
  src: url('../fonts/Estedad-Black.woff2') format('woff2'),
       url('../fonts/Estedad-Black.woff') format('woff'),
       url('../fonts/Estedad-Black.ttf') format('truetype');
  font-weight: 900; /* Black */
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Estedad';
  src: url('../fonts/Estedad-Bold.woff2') format('woff2'),
       url('../fonts/Estedad-Bold.woff') format('woff'),
       url('../fonts/Estedad-Bold.ttf') format('truetype');
  font-weight: bold; /* Bold */
  font-style: normal;
  font-display: swap;
}

/*---------------------------------------
   TYPOGRAPHY
-----------------------------------------*/

body {
  background: #FFFFFF; /* White به جای light gray */
  font-family: 'Estedad', sans-serif;
  overflow-x: hidden;
  direction: rtl;
  text-align: right;
  color: #0C2C47; /* Navy به جای dark gray */
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
}

/*---------------------------------------
  TYPOGRAPHY
-----------------------------------------*/

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: inherit;
  color: #0C2C47; /* Navy به جای dark gray */
  letter-spacing: 0;
}

h1, h2, h3, h4 {
  letter-spacing: 0px;
}

h5 {
  font-weight: 500;
}

h1 {
  font-size: 33px;
}

h2 {
  font-size: 26px;
  padding-bottom: 10px;
}

h3 {
  font-size: 22px;
  line-height: 1.2em;
  margin-bottom: 0;
}

h4 {
  color: #2E5749; /* Green به جای #454545 */
  font-size: 19px;
  padding-bottom: 2px;
}

h6 {
  letter-spacing: 0;
  font-weight: normal;
  font-size: 15px;
}

p {
  color: #0C2C47; /* Navy به جای dark gray */
  font-size: 13px;
  font-weight: normal;
  line-height: 24px;
  letter-spacing: 0;
}

/*---------------------------------------
  GENERAL
-----------------------------------------*/

html {
  -webkit-font-smoothing: antialiased;
}

a {
  color: #DA9B2B; /* Yellow به جای آبی روشن */
  -webkit-transition: 0.5s;
  transition: 0.5s;
  text-decoration: none !important;
}

a:hover,
a:active,
a:focus {
  color: #BF512C; /* Orange به جای آبی تیره‌تر */
  outline: none;
}

.section-title {
  padding-bottom: 20px;
}

.section-title h2 {
  margin-top: 0;
}

.section-btn {
  background: #ABCBCA; /* Mint به جای آبی روشن */
  border: 0;
  border-radius: 3px;
  color: #0C2C47; /* Navy برای خوانایی */
  font-size: inherit;
  font-weight: 500;
  padding: 14px 20px;
  transition: transform 0.1s ease-in;
  transform: translateX(0);
}

.section-btn:hover {
  background-color: #2E5749; /* Green به جای آبی تیره‌تر */
  transform: translateY(-5px);
  color: #FFFFFF; /* White برای خوانایی */
}

.text-align-right {
  text-align: right;
}

.text-align-center {
  text-align: center;
}

.border-top {
  border-top: 1px solid #D6C9C5; /* Mauve به جای light gray */
  margin-top: 4em;
  padding-top: 2.5em;
}

.btn-gray {
  background: #0C2C47; /* Navy به جای dark gray */
}

.btn-blue {
  background: #2E5749; /* Green به جای #4267b2 */
}

.news-thumb {
  background: #FFFFFF; /* White */
  border-radius: 10px;
}

.news-thumb img {
  border-radius: 10px 10px 0 0;
}

.news-info {
  padding: 30px;
  text-align: right;
}

.news-info span {
  display: block;
  letter-spacing: 0.5px;
}

.news-info h3 {
  margin-top: 10px;
  margin-bottom: 10px;
}

.author {
  border-top: 1px solid #D6C9C5; /* Mauve به جای #f0f0f0 */
  padding-top: 1.5em;
  margin-top: 2em;
}

.author img,
.author .author-info {
  display: inline-block;
  vertical-align: top;
}

.author-info h5 {
  margin-bottom: 0;
}

.author img {
  border-radius: 100%;
  width: 50px;
  height: 50px;
  margin-right: 10px;
}

#about,
#team,
#news,
#news-detail {
  position: relative;
  padding-top: 100px;
  padding-bottom: 100px;
}

#news,
#service {
  text-align: center;
}

#google-map {
  line-height: 0;
  margin: 0;
  padding: 0;
}

/*---------------------------------------
  PRE LOADER
-----------------------------------------*/

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  background: none repeat scroll 0 0 #FFFFFF; /* White */
}

.spinner {
  border: 1px solid transparent;
  border-radius: 3px;
  position: relative;
}

.spinner:before {
  content: '';
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 45px;
  height: 45px;
  margin-top: -10px;
  margin-left: -10px;
  border-radius: 50%;
  border: 1px solid #0C2C47; /* Navy به جای gray */
  border-top-color: #FFFFFF; /* White */
  animation: spinner .9s linear infinite;
}

@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}

/*---------------------------------------
  MENU
-----------------------------------------*/
header {
  background: #FFFFFF; /* White */
  border-bottom: 1px solid #D6C9C5; /* Mauve به جای light gray */
  display: flex;
  height: 30px;
  align-items: center; /* تراز عمودی */
}

header .col-md-8 {
  padding-right: 0;
}

header p,
header span {
  font-size: 12px;
  line-height: 18px; /* همون 18px نگه داشتم */
  padding-top: 0; /* همون 0 نگه داشتم */
  margin: 0; /* حاشیه اضافی رو حذف کردم */
  color: #0C2C47; /* Navy به جای dark gray */
}

header a,
header span {
  color: #2E5749; /* Green به جای #747474 */
}

header span {
  font-weight: 500;
  display: inline-block;
  padding: 0 15px; /* از 11px 15px به 0 15px تغییر دادم که ارتفاع اضافی نگیره */
}

header span.date-icon {
  border-left: 1px solid #D6C9C5; /* Mauve به جای light gray */
  border-right: 1px solid #D6C9C5; /* Mauve به جای light gray */
  padding-right: 19px;
  padding-left: 19px;
}

header span i {
  color: #DA9B2B; /* Yellow به جای آبی روشن */
  margin-right: 5px;
}
/*---------------------------------------
  MENU
-----------------------------------------*/
.navbar-default {
  background: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0,0,0,.075);
  border: none;
  margin-bottom: 0;
  padding: 10px;
}

.navbar-default .navbar-brand {
  color: #0C2C47;
  font-weight: 700;
}

.navbar-default .navbar-brand .fa {
  color: #DA9B2B;
}

.navbar-default .navbar-nav li.appointment-btn {
  margin: 3px 0 0 20px;
}

.navbar-default .navbar-nav li.appointment-btn a {
  background: #ABCBCA;
  border-radius: 3px;
  color: #0C2C47;
  font-weight: 600;
  padding-top: 12px;
  padding-bottom: 12px;
}

.navbar-default .navbar-nav li.appointment-btn a:hover {
  background: #2E5749;
  color: #FFFFFF;
}

.navbar-default .navbar-nav li a {
  color: #0C2C47;
  font-size: 13px;
  font-weight: 500;
  padding-right: 20px;
  padding-left: 20px;
  -webkit-transition: all ease-in-out 0.4s;
  transition: all ease-in-out 0.4s;
}

/* حذف رنگ ثابت هاور */
.navbar-default .navbar-nav > li a:hover {
  /* color رو حذف کردیم تا جاوااسکریپت کنترل کنه */
  transition: all ease-in-out 0.4s;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  color: #DA9B2B;
  background-color: transparent;
}

.navbar-default .navbar-toggle {
  border: none;
  padding-top: 10px;
}

.navbar-default .navbar-toggle .icon-bar {
  background: #0C2C47;
  border-color: transparent;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background-color: transparent;
}

/*---------------------------------------
  HOME
-----------------------------------------*/

#home h1 {
  color: #FFFFFF; /* White */
  padding-bottom: 10px;
  margin-top: 0;
}

#home h3 {
  color: #FFFFFF; /* White */
  font-size: 14px;
  font-weight: normal;
  line-height: inherit;
  letter-spacing: 0px;
  text-transform: uppercase;
  margin: 0;
}

.static-hero {
  position: relative;
  width: 100%;
  height: calc(100vh - 110px);
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.static-image {
  position: relative;
  width: 100%;
  height: 100%;
}

.static-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.static-hero .caption {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  text-align: center;
  color: #FFFFFF;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  z-index: 1;
}

/*---------------------------------------
  ABOUT
-----------------------------------------*/

#about {
  background: url('../images/about-bg.jpg') no-repeat top center;
  background-size: cover;
  padding-top: 150px;
  padding-bottom: 150px;
}

.profile img,
.profile figcaption {
  display: inline-block;
  vertical-align: top;
  margin-top: 1em;
}

.profile img {
  border-radius: 100%;
  width: 65px;
  height: 65px;
  margin-right: 1em;
}

.profile figcaption h3 {
  margin-top: 0;
}

#about h6 {
  color: #D6C9C5; /* Mauve به جای #858585 */
  margin: 0;
}

/*---------------------------------------
  TEAM MEMBERS
-----------------------------------------*/

.team-thumb {
  background-color: #FFFFFF; /* White */
  border-radius: 0 0 10px 10px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.team-info {
  padding: 20px 30px 0 30px;
  text-align: right;
}

.team-contact-info {
  border-top: 1px solid #D6C9C5; /* Mauve به جای light gray */
  padding-top: 1.2em;
  margin-top: 1.5em;
}

.team-contact-info .fa {
  margin-right: 5px;
  display: inline-block;
}

.team-contact-info p {
  margin-bottom: 2px;
}

.team-contact-info a {
  color: #2E5749; /* Green به جای #757575 */
}

.team-thumb .social-icon li {
  font-weight: 500;
}

.team-thumb .social-icon li a {
  background: #FFFFFF; /* White */
  border-radius: 100%;
  font-size: 20px;
  width: 50px;
  height: 50px;
  line-height: 50px;
  margin: 0 2px 0 2px;
  color: #0C2C47; /* Navy به جای #464646 */
}

.team-thumb .social-icon {
  opacity: 0;
  transform: translateY(100%);
  transition: 0.5s 0.2s;
  text-align: center;
  position: relative;
  top: 0;
}

.team-thumb:hover .social-icon {
  opacity: 1;
  transition-delay: 0.3s;
  transform: translateY(0px);
  top: -22em;
}

/*---------------------------------------
  SERVICE
-----------------------------------------*/

#service {
  background: #ABCBCA; /* Mint به جای آبی روشن */
}

#service h2,
#service h4 {
  color: #FFFFFF; /* White */
}

#service p {
  color: #D6C9C5; /* Mauve به جای #d9d9d9 */
}

#service .service-thumb {
  padding: 0 22px;
}

#service .fa {
  font-size: 50px;
  margin-bottom: 10px;
  background: #FFFFFF; /* White */
  color: #2E5749; /* Green به جای آبی روشن */
  width: 120px;
  height: 120px;
  line-height: 120px;
  border-radius: 100%;
}

/*---------------------------------------
  NEWS
-----------------------------------------*/

#news,
#news-detail {
  background: #D6C9C5; /* Mauve به جای #f9f9f9 */
}

#news-detail blockquote {
  margin: 30px 0;
}

.news-detail-thumb .news-image img {
  border-radius: 10px;
}

.news-detail-thumb h3 {
  margin-bottom: 8px;
}

.news-image {
  margin-bottom: 30px;
  position: relative;
}

.news-image img {
  width: 100%;
}

.news-detail-thumb ul {
  margin: 32px 12px 22px 0px;
}

.news-detail-thumb ul li {
  list-style: circle;
  font-weight: normal;
  padding: 6px 12px 6px 0px;
}

.news-sidebar {
  margin-top: 16px;
}

.news-social-share {
  text-align: center;
  padding-top: 22px;
}

.news-social-share .btn {
  border-radius: 100px;
  border: none;
  font-size: 10px;
  font-weight: 600;
  margin: 2px 6px;
  padding: 8px 14px;
}

.news-social-share .btn-primary {
  background: #0C2C47; /* Navy به جای #3b5998 (فیسبوک) */
}

.news-social-share .btn-success {
  background: #2E5749; /* Green به جای #1da1f2 (توییتر) */
}

.news-social-share .btn-danger {
  background: #BF512C; /* Orange به جای #dd4b39 (گوگل پلاس) */
}

.news-social-share a .fa {
  padding-right: 4px;
}

.recent-post {
  padding-top: 2px;
  padding-bottom: 18px;
}

.recent-post .media img {
  border-radius: 100%;
  width: 80px;
  height: 80px;
  margin-right: 5px;
}

.recent-post .media-heading {
  font-size: 16px;
  font-weight: 500;
  line-height: inherit;
  margin-top: 5px;
}

.news-categories {
  margin-top: 8px;
}

.news-categories li a {
  color: #0C2C47; /* Navy به جای #2b2b2b */
}

.news-ads {
  background: #FFFFFF; /* White */
  border-right: 4px solid #0C2C47; /* Navy به جای #2b2b2b */
  padding: 42px;
  text-align: center;
  margin: 26px 0 26px 0;
}

.news-ads.sidebar-ads {
  border-left: 4px solid #0C2C47; /* Navy به جای #2b2b2b */
  border-right: 0px;
}

.news-ads h4 {
  font-size: 18px;
}

.news-tags h4 {
  padding-bottom: 6px;
}

.news-categories li,
.news-tags li {
  list-style: none;
  display: inline-block;
  margin: 4px;
}

.news-tags li a {
  background: #0C2C47; /* Navy به جای dark gray */
  border-radius: 50px;
  color: #FFFFFF; /* White */
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  float: right;
  min-width: 30px;
  padding: 6px 12px;
  -webkit-transition: all ease-in-out 0.4s;
  transition: all ease-in-out 0.4s;
}

.news-tags li a:hover {
  background: #DA9B2B; /* Yellow به جای #4267b2 */
}

/*---------------------------------------
  APPOINTMENT
-----------------------------------------*/

#appointment {
  padding-top: 100px;
}

#appointment label {
  color: #0C2C47; /* Navy به جای dark gray */
  font-weight: 500;
}

#appointment .form-control {
  background: #D6C9C5; /* Mauve به جای #f9f9f9 */
  border: none;
  border-radius: 3px;
  box-shadow: none;
  font-size: 14px;
  font-weight: normal;
  margin-bottom: 15px;
  transition: all ease-in-out 0.4s;
}

#appointment input,
#appointment select {
  height: 45px;
}

#appointment button#cf-submit {
  background: #ABCBCA; /* Mint به جای آبی روشن */
  color: #0C2C47; /* Navy برای خوانایی */
  font-weight: 600;
  height: 55px;
}

#appointment button#cf-submit:hover {
  background: #2E5749; /* Green به جای dark gray */
  color: #FFFFFF; /* White */
}

/*---------------------------------------
  FOOTER
-----------------------------------------*/

footer {
  padding-top: 80px;
  padding-bottom: 40px;
  background-color: #0C2C47; /* Navy به جای dark gray */
  color: #D6C9C5; /* Mauve به جای #e3e3e3 */
}

.footer-thumb p {
  color: #FFFFFF; /* White */
}

.contact-info p {
  color: #D6C9C5; /* Mauve */
}

footer h4 {
  padding-bottom: 5px;
  color: #FFFFFF; /* White */
  font-size: 20px;
}

footer a {
  color: #FFFFFF; /* White */
}

footer a:hover {
  color: #DA9B2B; /* Yellow به جای #3ce2ad */
}

.contact-info .fa {
  background: #2E5749; /* Green به جای dark gray */
  border-radius: 100%;
  color: #FFFFFF; /* White */
  font-size: 15px;
  width: 35px;
  height: 35px;
  line-height: 35px;
  text-align: center;
  margin-right: 5px;
  margin-bottom: 2px;
}

.latest-stories {
  margin-bottom: 20px;
}

.stories-image,
.stories-info {
  display: inline-block;
  vertical-align: top;
}

.stories-image img {
  border-radius: 100%;
  width: 65px;
  height: 65px;
}

.stories-info {
  margin-left: 15px;
  text-align: right;
}

.stories-info h5 {
  margin-bottom: 2px;
  color: #FFFFFF; /* White */
}

.stories-info span {
  color: #ABCBCA; /* Mint به جای #858585 */
  font-size: 12px;
}

.opening-hours p {
  line-height: 18px;
  color: #FFFFFF; /* White */
}

.opening-hours span {
  font-weight: 500;
  display: inline-block;
  padding-left: 10px;
}

.copyright-text p,
.footer-link a {
  color: #FFFFFF; /* White */
  font-size: 12px;
  font-weight: 500;
}

.footer-link a {
  font-size: 12px;
  display: inline-block;
  padding: 0 10px;
  margin-top: 4px;
}

.angle-up-btn {
  position: relative;
  bottom: 4em;
  display: block;
}

.angle-up-btn a {
  background: #FFFFFF; /* White */
  border: 1px solid #D6C9C5; /* Mauve به جای light gray */
  border-radius: 3px;
  font-size: 20px;
  color: #0C2C47; /* Navy به جای dark gray */
  display: inline-block;
  text-align: center;
  width: 40px;
  height: 40px;
  line-height: 38px;
  transition: transform 0.1s ease-in;
  transform: translateX(0);
}

.angle-up-btn a:hover {
  background: #DA9B2B; /* Yellow به جای آبی تیره‌تر */
  color: #FFFFFF; /* White */
  transform: translateY(-5px);
}

/*---------------------------------------
  SOCIAL ICON
-----------------------------------------*/

.social-icon {
  position: relative;
  padding: 0;
  margin: 0;
}

.social-icon li {
  display: inline-block;
  list-style: none;
}

.social-icon li a {
  border-radius: 100px;
  color: #D6C9C5; /* Mauve به جای light gray */
  font-size: 15px;
  width: 35px;
  height: 35px;
  line-height: 35px;
  text-decoration: none;
  text-align: center;
  transition: all 0.4s ease-in-out;
  position: relative;
}

.social-icon li a:hover {
  background: #DA9B2B; /* Yellow به جای آبی تیره‌تر */
  color: #FFFFFF; /* White */
}

/*---------------------------------------
  RESPONSIVE STYLES
-----------------------------------------*/

@media only screen and (max-width: 1200px) {
  h1 {
    font-size: 30px;
  }
  h2 {
    font-size: 24px;
  }
  h3 {
    font-size: 21px;
  }

  header {
    height: inherit;
  }
  header span.date-icon {
    border: 0;
    padding-right: 0;
    padding-left: 0;
  }
  header span.email-icon {
    padding-top: 0;
  }

  .navbar-default .navbar-nav > li a:hover {
    /* رنگ ثابت رو حذف می‌کنیم و فقط ترنزیشن نگه می‌داریم */
    transition: all ease-in-out 0.4s;
  }
}

@media only screen and (max-width: 992px) {
  .static-image {
    background-position: center;
  }

  header {
    padding-bottom: 10px;
  }
  header .text-align-right {
    text-align: right;
  }
  header span {
    padding-top: 0;
    padding-left: 0;
    padding-bottom: 0;
  }
}

@media only screen and (max-width: 767px) {
  .navbar-default .navbar-collapse,
  .navbar-default .navbar-form {
    border-color: transparent;
  }
  .navbar-default .navbar-nav li.appointment-btn {
    margin-left: 15px;
  }
  .navbar-default .navbar-nav li a {
    display: inline-block;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .news-sidebar {
    margin-top: 2em;
  }

  #appointment-form {
    padding-top: 4em;
    padding-bottom: 4em;
  }

  footer {
    padding-top: 60px;
    padding-bottom: 0;
  }
  .footer-thumb {
    padding-bottom: 10px;
  }

  .border-top {
    text-align: center;
  }

  .copyright-text {
    margin-top: 10px;
  }

  .angle-up-btn {
    bottom: 10em;
  }
  .static-hero {
    height: calc(100vh - 80px); /* ارتفاع منو در موبایل کمتره */
  }
  .static-image img {
      object-fit: cover; /* عکس عمودی به درستی نمایش داده بشه */
  }
}

@media only screen and (max-width: 639px) {
  h1 {
    font-size: 2em;
    line-height: 1.2em;
  }
  h2 {
    font-size: 1.8em;
  }
  h4 {
    font-size: 1.2em;
  }

  #home h3 {
    font-size: 11px;
    letter-spacing: 0px;
  }
}
@media only screen and (min-width: 768px) {
  .static-hero {
      height: calc(100vh - 110px); /* ارتفاع در دسکتاپ */
  }
}

/* استایل‌های خدمات */
#services, #services-page {
  padding: 50px 0;
  background-color: #f9f9f9;
}

.section-title h2 {
  color: #0C2C47;
  font-size: 32px;
  text-align: center;
  margin-bottom: 10px;
}

.section-title p {
  color: #0C2C47;
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
}

.service-boxes {
  display: flex;
  flex-wrap: wrap;
  width: 100%; /* عرض کامل صفحه */
  margin: 0;
}

.service-box {
  flex: 1 1 33.33%; /* هر باکس یک‌سوم عرض رو بگیره */
  min-width: 300px; /* حداقل عرض برای موبایل */
  padding: 30px;
  text-align: center;
  color: #fff; /* متن سفید برای خوانایی روی رنگ‌ها */
  border: none; /* بدون بوردر */
  margin: 0; /* بدون فاصله بین باکس‌ها */
}

.service-box.mauve {
  background-color: #D6C9C5;
}

.service-box.navy {
  background-color: #0C2C47;
}

.service-box.yellow {
  background-color: #DA9B2B;
}

.service-box.green {
  background-color: #2E5749;
}

.service-box.mint {
  background-color: #ABCBCA;
}

.service-box.orange {
  background-color: #BF512C;
}

.service-icon {
  font-size: 40px;
  margin-bottom: 15px;
  color: #fff;
}

.service-box h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #fff;
}

.service-box p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #fff;
}

.btn-service {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.9);
  color: #0C2C47;
  padding: 10px 20px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-service:hover {
  background-color: #fff;
  color: #0C2C47;
}




/* استایل منو */
.navbar {
  background-color: #fff;
  border: none;
  margin-bottom: 0;
  direction: rtl; /* راست‌چین بودن منو */
  display: flex;
  align-items: center;
  justify-content: space-between; /* لوگو چپ و منو راست */
}

.navbar-brand {
  color: #0C2C47 !important;
  font-size: 24px;
  font-weight: bold;
}

.navbar-nav {
  float: none !important; /* جلوگیری از چپ‌چین شدن پیش‌فرض بوت‌استرپ */
  text-align: right; /* راست‌چین کردن منو */
}

.navbar-nav > li {
  float: right; /* آیتم‌ها از راست به چپ چیده بشن */
}

.navbar-nav > li > a {
  color: #0C2C47 !important;
  font-size: 16px;
  padding: 15px 20px;
  transition: color 0.3s ease;
}

.navbar-nav > li > a:hover {
  transition: color 0.3s ease; /* فقط ترنزیشن نگه می‌داریم */
}

/* استایل دکمه رزرو نوبت */
.navbar-nav .appointment-btn a {
  background-color: #DA9B2B !important; /* زرد */
  color: #0C2C47 !important; /* سورمه‌ای */
  border-radius: 5px;
  padding: 10px 20px !important;
  font-weight: bold;
  display: inline-block;
}

.navbar-nav .appointment-btn {
  margin-right: 0; /* دکمه رو به لبه راست می‌چسبونه */
}

.navbar-nav .appointment-btn a:hover {
  background-color: #c68a24 !important; /* زرد تیره‌تر برای هاور */
  color: #0C2C47 !important;
}




/* استایل پاپ‌آپ */
.modal-content {
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.modal-header {
  border-bottom: 1px solid #ddd;
}

.modal-title {
  color: #0C2C47;
  font-size: 20px;
}

.modal-body p {
  color: #666;
  margin-bottom: 20px;
}

.form-group label {
  color: #0C2C47;
  font-weight: bold;
}

.form-control {
  border-radius: 5px;
  border: 1px solid #ddd;
  padding: 10px;
  font-size: 16px;
}

.btn-primary, .btn-success {
  border-radius: 5px;
  padding: 10px;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.btn-primary {
  background-color: #ABCBCA;
  border: none;
}

.btn-primary:hover {
  background-color: #8FAFAE;
}

.btn-success {
  background-color: #2E5749;
  border: none;
}

.btn-success:hover {
  background-color: #1F3A2F;
}

.alert {
  border-radius: 5px;
  padding: 10px;
  font-size: 14px;
}


.header-logo img {
  max-width: 120px; /* اندازه مناسب را تعیین کنید */
  height: auto;
}










/* استایل‌های مدال ورود */
.login-modal {
  border-radius: 15px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.modal-header {
  background-color: #da9b2b;
  color: #fff;
  border-bottom: none;
  padding: 20px;
}

.modal-title {
  font-size: 20px;
  font-weight: bold;
  font-family: 'Estedad', sans-serif;
}

.modal-body {
  padding: 30px;
  font-family: 'Estedad', sans-serif;
}

.welcome-text {
  font-size: 14px;
  color: #333;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: justify;
}

.form-label {
  font-size: 14px;
  font-weight: bold;
  color: #2e5749;
  margin-bottom: 8px;
}

.input-group-text {
  background-color: #da9b2b;
  color: #fff;
  border: none;
  border-radius: 10px 0 0 10px;
}

.form-control {
  border-radius: 10px;
  border: 1px solid #ced4da;
  padding: 10px;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: #da9b2b;
  box-shadow: 0 0 5px rgba(218, 155, 43, 0.5);
}

.btn-custom {
  background-color: #da9b2b;
  color: #fff;
  font-weight: bold;
  border-radius: 25px;
  padding: 12px;
  transition: all 0.3s ease;
}

.btn-custom:hover {
  background-color: #bf512c;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-success {
  background-color: #2e5749;
  color: #fff;
  font-weight: bold;
  border-radius: 25px;
  padding: 12px;
  transition: all 0.3s ease;
}

.btn-success:hover {
  background-color: #1f3a2f;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-resend {
  background-color: #007bff;
  color: #fff;
  border-radius: 20px;
  padding: 10px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.btn-resend:hover:not(:disabled) {
  background-color: #0056b3;
  transform: translateY(-2px);
}

.btn-resend:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}

.alert {
  border-radius: 10px;
  font-size: 14px;
  padding: 10px;
  text-align: center;
}

/* انیمیشن برای باز شدن مدال */
.modal.fade .modal-dialog {
  transform: translateY(-50px);
  transition: all 0.3s ease;
}

.modal.show .modal-dialog {
  transform: translateY(0);
}










/* استایل کارت نوبت بعدی */
.next-visit-card {
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin: 20px 0;
  text-align: center;
  transition: all 0.3s ease;
}

.next-visit-card h3 {
  color: #0C2C47;
  font-size: 22px;
  margin-bottom: 10px;
}

.visit-info {
  color: #2E5749;
  font-size: 16px;
  margin-bottom: 15px;
}

.active-session {
  color: #BF512C;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
}

.btn-join-session {
  background-color: #2E5749;
  color: #fff;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.btn-join-session:hover {
  background-color: #1F3A2F;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.countdown {
  font-size: 20px;
  color: #DA9B2B;
  font-weight: bold;
  background-color: #F5ECEA;
  padding: 10px;
  border-radius: 10px;
  margin: 10px 0;
  display: inline-block;
}

/* استایل کارت بدون نوبت */
.no-visit-card {
  background-color: #ABCBCA;
  border-radius: 15px;
  padding: 20px;
  margin: 20px 0;
  text-align: center;
}

.no-visit-card p {
  color: #0C2C47;
  font-size: 16px;
  margin-bottom: 15px;
}

.no-visit-card .btn-service {
  background-color: #DA9B2B;
  color: #fff;
  padding: 8px 15px;
  border-radius: 25px;
  font-size: 14px;
}

.no-visit-card .btn-service:hover {
  background-color: #BF512C;
}



/* استایل‌های مدال ورود/ثبت‌نام */
#loginModal .modal-dialog {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 100vh !important;
    margin: 100px auto !important;
    max-width: 360px !important;
    padding: 0 15px !important;
}

#loginModal .modal-content {
    border: none !important;
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease !important;
}

#loginModal .modal-content.show {
    transform: scale(1);
    opacity: 1;
}

#loginModal .login-modal {
    background: #FFFFFF !important;
    border-radius: 20px !important;
    box-shadow: 0 12px 32px rgba(12, 44, 71, 0.2) !important;
    padding: 32px 24px !important;
    max-width: 360px !important;
    margin: 0 auto !important;
    font-family: 'Estedad', sans-serif !important;
    direction: rtl !important;
}

#loginModal .modal-icon {
    text-align: center !important;
    margin-bottom: 16px !important;
}

#loginModal .modal-icon i {
    font-size: 40px !important;
    color: #DA9B2B !important;
    animation: bounce 1s infinite !important;
}

#loginModal .close {
    position: absolute !important;
    top: 16px !important;
    left: 16px !important;
    font-size: 28px !important;
    color: #0C2C47 !important;
    opacity: 0.7 !important;
    transition: opacity 0.3s ease, transform 0.3s ease !important;
}

#loginModal .close:hover {
    opacity: 1 !important;
    transform: rotate(90deg) !important;
}

#loginModal .modal-title {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #0C2C47 !important;
    margin-bottom: 12px !important;
    text-align: center !important;
}

#loginModal .modal-subtitle {
    font-size: 14px !important;
    color: #2E5749 !important;
    margin-bottom: 28px !important;
    text-align: center !important;
    line-height: 1.5 !important;
}

#loginModal .form-group {
    margin-bottom: 28px !important;
}

#loginModal .form-control {
    border: 1px solid #D6C9C5 !important;
    border-radius: 14px !important;
    padding: 14px 18px !important;
    font-size: 16px !important;
    color: #0C2C47 !important;
    background: #F9FAFB !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease !important;
}

#loginModal .form-control:focus {
    border-color: #DA9B2B !important;
    box-shadow: 0 0 10px rgba(218, 155, 43, 0.25) !important;
    outline: none !important;
    background: #FFFFFF !important;
    transform: scale(1.02) !important;
}

#loginModal .btn-custom {
    background: linear-gradient(135deg, #DA9B2B 0%, #BF512C 100%) !important;
    color: #FFFFFF !important;
    border-radius: 14px !important;
    padding: 14px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    width: 100% !important;
    border: none !important;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease !important;
}

#loginModal .btn-custom:hover {
    background: linear-gradient(135deg, #BF512C 0%, #DA9B2B 100%) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 12px rgba(191, 81, 44, 0.3) !important;
}

#loginModal .btn-resend {
    background: transparent !important;
    color: #2E5749 !important;
    border: 1px solid #2E5749 !important;
    border-radius: 14px !important;
    padding: 12px !important;
    font-size: 14px !important;
    width: 100% !important;
    margin-top: 16px !important;
    transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease !important;
}

#loginModal .btn-resend:hover:not(:disabled) {
    background: #2E5749 !important;
    color: #FFFFFF !important;
    transform: translateY(-2px) !important;
}

#loginModal .btn-resend:disabled {
    color: #ABCBCA !important;
    border-color: #ABCBCA !important;
    cursor: not-allowed !important;
}

#loginModal #modal-messages .alert {
    margin-top: 20px !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    padding: 12px !important;
}

/* انیمیشن برای آیکون */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@media (max-width: 576px) {
    #loginModal .modal-dialog {
        margin: 60px auto !important;
    }
    #loginModal .login-modal {
        padding: 20px 16px !important;
        max-width: 90% !important;
    }
    #loginModal .modal-icon i {
        font-size: 36px !important;
    }
    #loginModal .modal-title {
        font-size: 20px !important;
    }
    #loginModal .modal-subtitle {
        font-size: 13px !important;
        margin-bottom: 24px !important;
    }
    #loginModal .form-control {
        font-size: 15px !important;
        padding: 12px 16px !important;
    }
    #loginModal .btn-custom {
        font-size: 15px !important;
        padding: 12px !important;
    }
    #loginModal .btn-resend {
        font-size: 13px !important;
        padding: 10px !important;
    }
}

/* دکمه معلق تماس */
.floating-action-button {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 1000;
  direction: ltr; /* برای آیکون‌ها و انیمیشن‌ها */
}

.fab-main {
  background: linear-gradient(135deg, #DA9B2B 0%, #BF512C 100%);
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}

.fab-main i {
  color: #FFFFFF;
  font-size: 24px;
  transition: transform 0.3s ease;
}

.fab-main.active i {
  transform: rotate(45deg); /* چرخش آیکون به شکل X هنگام باز شدن */
}

.fab-main:hover {
  background: linear-gradient(135deg, #BF512C 0%, #DA9B2B 100%);
  transform: scale(1.1);
}

.fab-menu {
  position: absolute;
  bottom: 80px;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.fab-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.fab-option {
  background: #2E5749;
  border-radius: 50%;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
}

.fab-option i {
  color: #FFFFFF;
  font-size: 20px;
}

.fab-option.whatsapp:hover {
  background: #25D366; /* رنگ سبز واتساپ */
  transform: scale(1.1);
}

.fab-option.phone:hover {
  background: #0C2C47;
  transform: scale(1.1);
}

/* ریسپانسیو برای موبایل */
@media (max-width: 576px) {
  .floating-action-button {
    bottom: 25px;
    left: 25px;
  }
  .fab-main {
    width: 60px;
    height: 60px;
  }
  .fab-main i {
    font-size: 20px;
  }
  .fab-option {
    width: 50px;
    height: 50px;
  }
  .fab-option i {
    font-size: 18px;
  }
}

#jalali-calendar {
    direction: rtl;
    font-family: 'Estedad', sans-serif;
    margin-top: 20px;
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 16px;
    color: #0C2C47;
}
.prev-month, .next-month {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #DA9B2B;
}
.weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 5px;
    color: #2E5749;
    font-size: 14px;
}
.days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
}
.day {
    padding: 8px;
    cursor: pointer;
    font-size: 14px;
}
.day:hover {
    background-color: #f0f0f0;
}
.day.selected {
    background-color: #2E5749;
    color: #fff;
    border-radius: 50%;
}