  /* google font   */
  @font-face {
    font-family: 'Vazirmatn';
    src: url('../Fonts/webfonts/Vazirmatn-Bold.woff2') format('woff2'),
      url('../Fonts/ttf/Vazirmatn-Bold.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
  }

  /* root color  */
  :root {
    --green: #4e8d14;
    --black: #44534b;
    --wight: #fff;
  }

  /* custom css  */
  * {
    font-family: 'Vazirmatn', Arial, sans-serif;
    margin: 0;
    padding: 0;
    text-decoration: none;
    text-transform: none;
    outline: none;
    box-sizing: border-box;
    transition: all linear .2s;

  }

  html {
    font-size: 62.5%;
    overflow-x: hidden;
  }
.mt{
  margin-top: 100px;
}
  /* button  */
  .button {
    height: 3.5rem;
    width: 15rem;
    background: var(--green);
    color: var(--wight);
    font-size: 1.7rem;
    text-transform: capitalize;
    border-radius: .5rem;
    cursor: pointer;
    margin: 1rem 0;
    border: .1rem solid var(--green);
  }

  .button:hover {
    border: .1rem solid var(--green);
    background: var(--wight);
    color: var(--green);
  }

  /* heading  */
  .heading {
    text-align: center;
    font-size: 4rem;
    padding: 1rem;
    padding-top: 8rem;
    color: var(--green);
    letter-spacing: .1rem;
  }

  /* title  */
  .title {
    text-align: center;
    padding: 0rem 1rem;
    font-size:1.8rem;
    color: var(--black);
    font-weight: 200;
  }

  .short_description{
      white-space: pre-line;
      line-height: 2;
      text-align: justify !important;
      
  }
.about_us{
      line-height: 1.5;
      text-align: justify !important;
}
  /* header navbarr section start  */

  header {
    width: 96%;
    background-color: #aed19c;
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translate(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    z-index: 1000;
  }

  /* logo name  */
  header a {
    color: var(--black);
  }

  header a:hover {
    color: var(--green);
  }

  header .logo {
    font-size: 3rem;
  }

  header .logo span {
    color: var(--green);
  }

  /* navbarr link  */
  header .navbarr ul {
    display: flex;
    align-items: center;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    justify-content: space-between;
    list-style: none;
  }

  header .navbarr ul li {
    margin: 0 1rem;
  }

  header .navbarr ul li a {
    font-size: 18px;
    color: var(--black);
  }


  header .navbarr ul li a:hover {
    color: var(--green);
  }

  header .fa-bars {
    font-size: 3rem;
    color: var(--green);
    cursor: pointer;
    display: none;
  }

  header .fa-times {
    transform: rotate(180deg);
  }


  .header-active {
    top: 0;
    width: 100%;
    box-shadow: .1rem .3rem rgba(0, 0, 0, .3);
  }


  .login {
    width: 300px;
    display: flex;
    justify-content: center;


  }

  .cls {
    font-size: 20px;
    display: flex;
    justify-content: space-around;
    text-align: center;

  }

  .cls2 {
    text-align: center;

  }

  /* header navbarr section end  */

  /* home section start  */

  .home {
    min-height: 100vh;
    padding-top: 10rem;
  }

  .home .row1 {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 85%;
    margin: 0 auto;
  }

  /* home images  */
  .home .row1 .images img {
    height: 75vh;
  }

  /* home heading  */
  .home .content h1 {
    font-size: 4rem;
    color: var(--black);
  }

  .home .content h1 span {
    color: var(--green);
  }

  .home .content p {
    font-size: 1.9rem;
    color: var(--black);
  }


  /* home section end  */


  /* about section start  */
  .about {
    background-color: #aed19c;
  }

  .about .box-container {
    padding: 4rem 0;
  }

  .about .box-container .box {
    width: 75%;
    margin: 4rem auto;
    border-radius: .5rem;
    box-shadow: 0 .3rem .5rem rgba(0, 0, 0, .3);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--wight);
  }

  /* about images  */
  .about .box-container .box .images {
    height: 40rem;
    width: 50%;
  }

  .about .box-container .box .images img {
    height: 100%;
    width: 100%;
  }

  /* about heading & text */
  .about .box-container .box .content {
    height: 100%;
    width: 50%;
    padding: 2rem;
  }

  .about .box-container .box .content h3 {
    font-size: 3rem;
    color: var(--green);
    display: flex;
    align-items: start;
  }

  .about .box-container .box .content p {
    font-size: 1.5rem;
    color: var(--black);
    padding: 1rem 0;
    text-align: start;
  }

  .about .box-container .box:nth-child(even) {
    flex-flow: row1-reverse;
  }


  /* about section end  */

  /* card section start  */

  .card .box-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }

  .card .box-container .box {
    width: 30rem;
    margin: 2rem 1rem;
    overflow: hidden;
    border-radius: .5rem;
    box-shadow: 0 .3rem .5rem rgba(0, 0, 0, .3);
  }

  /* card images  */
  .card .box-container .box img {
    height: 30rem;
    width: 100%;
    object-fit: cover;
  }

  .card .box-container .box .content {
    padding: 1rem 1.3rem;
  }

  .card .box-container .box .content h2 {
    font-size: 2rem;
    text-align: center;
    color: var(--black);
  }

  .card .box-container .box .content h2:hover {
    color: var(--green);
    text-decoration: underline;
  }

  .card .box-container .box .content p {
    font-size: 1.7rem;
    text-align: center;
    color: var(--black);
  }

  .card .box-container .box .content .icons {
    text-align: center;
  }

  .card .box-container .box .content .icons a {
    font-size: 2rem;
    color: var(--green);
    text-align: center;
    margin: 1rem;
  }

  /* card section end  */

  /* review section start  */
  .review .box-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 2rem 0;
  }

  .review .box-container .box {
    width: 35rem;
    text-align: center;
    padding: 0 2rem;
    margin: 4rem 1.5rem;
    box-shadow: 0 .3rem .5rem rgba(0, 0, 0, .3);
  }

  /* images  */
  .review .box-container .box .images {
    display: flex;
    align-items: center;
    text-align: left;
    padding: .5rem 0;
    border-top: .1rem solid #333;
  }

  .review .box-container .box .images img {
    height: 9rem;
    width: 9rem;
    border-radius: 50%;
    object-fit: cover;
    margin: .8rem 1rem;
  }

  .review .box-container .box i {
    font-size: 6rem;
    margin-top: -3rem;
    color: var(--green);
    opacity: .4;
  }


  .review .box-container .box p {
    color: var(--black);
    font-size: 1.7rem;
    padding: 2rem 0;
  }

  .review .box-container .box .info h3 {
    color: var(--green);
    font-size: 2rem;
  }

  .review .box-container .box .info span {
    color: var(--black);
    font-size: 2rem;
  }


  .review .box {
    border: 1px solid #ddd;
    padding: 20px;
    margin-bottom: 20px;
    background-color: #f9f9f9;
}
/*show messages*/
.review .box-container {
  display: flex;
  flex-wrap: wrap; /* باعث می‌شود تا باکس‌ها در صورت نیاز به خط جدید بروند */
  gap: 20px; /* فاصله بین هر box */
  justify-content: space-between; /* توزیع یکنواخت باکس‌ها */
}

.review .box {
  flex: 1 1 300px; /* حداقل عرض هر box 300px و انعطاف پذیر است */
  border: 1px solid #ddd;
  padding: 20px;
  background-color: #f9f9f9;
  box-sizing: border-box;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.review .box:hover {
  transform: scale(1.05); /* انیمیشن برای بزرگ شدن هنگام هاور */
}

.review .info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.review .info h3 {
  margin: 0;
  font-size: 16px;
  font-weight: bold;
}

.review .info span {
  font-size: 14px;
  color: #777;
}

.review p {
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}
  /* review section end */

  /* contact section start  */

  .contact {
    background-color: #aed19c;
    
  }

  .contact .row1 {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 0;
  }

  .contact .row1 .images img {
    width: 50vw;
    height: 70vh;
  }

  .contact .row1 .form-container {
    width: 50%;
    padding-right: 6rem;
  }

  .contact .row1 .form-container input,
  textarea {
    height: 4rem;
    width: 100%;
    background: var(--wight);
    border: none;
    border-radius: 5rem;
    padding: 0 1rem;
    margin: 1rem 0;
    color: var(--green);
    font-size: 1.7rem;
  }

  .contact .row1 .form-container input:focus,
  textarea:focus {
    border: .2rem solid var(--green);
  }

  .contact .row1 .form-container textarea {
    height: 20rem;
    border-radius: 1rem;
    padding: 1rem;
    resize: none;
  }

  .contact .row1 .form-container input[type="submit"] {
    width: 17rem;
    background: var(--green);
    color: var(--wight);
    cursor: pointer;
    font-size: 2rem;
  }

  .contact .row1 .form-container input[type="submit"]:hover {
    background: var(--wight);
    color: var(--green);
    border: .2rem solid var(--green);
  }

  /* contact section end  */

  /* bolg section start  */
  .blog .box-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }

  .blog .box-container .box {
    width: 35rem;
    margin: 2rem 1rem;
    overflow: hidden;
    border-radius: .5rem;
    box-shadow: 0 .3rem .5rem rgba(0, 0, 0, .3);
  }

  /* blog images  */
  .blog .box-container .box img {
    width: 100%;
    object-fit: cover;
  }

  .blog .box-container .box .content {
    padding: 0 1.5rem;
  }

  .blog .box-container .box .content h2 {
    font-size: 2rem;
    color: var(--green);
  }

  .blog .box-container .box .content p {
    font-size: 1.3rem;
    color: var(--black);
  }

  .color_text {
    color: #44534b;
    ;
  }

/* message*/
.revieww {
  padding: 40px;
  font-family: Arial, sans-serif;
  background-color: #f6f6f6;
  text-align: center;
  direction: rtl;
}

.swiper {
  width: 80%;
  padding: 20px;
  margin: auto;
}

.swiper-slide {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: right;
  font-size: 14px;
}

.infoo h3 {
  color:#000000;
  
  font-size: 18px;
}

.infoo span {
  font-size: 14px;
  color: #555;
}

.reply {
  margin-top: 10px;
  padding: 10px;
  background: #aed19c;
  border-radius: 5px;
  font-size: 14px;
  color: #000000;
}

/* تغییر رنگ فلش‌های چپ و راست */
.swiper-button-next,
.swiper-button-prev {
   padding: 5px !important;
border-radius: 50% !important;
max-width: 10px !important;
max-height: 10px !important;
    color: #aed19c !important; /* رنگ دلخواه شما */
}
.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 30px !important; /* اگر از فونت آیکون استفاده می‌کند */
    transform: scale(0.5) !important; /* کوچک کردن آیکون */
}
/* تغییر رنگ هنگام هاور شدن */
.swiper-button-next:hover,
.swiper-button-prev:hover {
    color: darkred;
}

.swiper-pagination-bullet {
  background: #aed19c;
}


  /* bolg section end  */



  footer {
    width: 100%;
    font-family: 'Vazirmatn', Arial, sans-serif;
    font-weight: bold;
    font-size: 15px;
  }





  .contact-section {
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 20px auto;
    border-radius: 10px;
    text-align: center;
  }

  .contact-section h2 {
    margin-bottom: 20px;
    font-size: 1.5em;
    color: #333;
  }

  .contact-info,
  .social-icons,
  .enamad {
    margin-bottom: 50px;
  }

  .contact-info p {
    margin: 10px 0;
    font-size: 1.2em;
    color: #555;
  }

  .social-icons {
    display: flex;
    justify-content: center;
    gap: 25px;
  }

  .social-icons a img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
  }

  .social-icons a img:hover {
    transform: scale(1.1);
  }

  .enamad img {
    width: 150px;
    height: 150px;
  }


  input[type="email"]::placeholder,
  input[type="tel"]::placeholder {

    text-align: right;
    direction: rtl;
  }




  /*فرم ثبت مشاوره*/

.container {
    width: 50%;
    margin: auto;
    background:#aed19c;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

h1, h3 {
    color: #333;
}

.form-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}



label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

input, textarea, select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

textarea {
    height: 80px;
    resize: none;
}

button {
    background-color: #107327;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #0d491a;
}

#drug_details {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin-top: 10px;
}


.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 180px;
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 0.5rem 0;
  animation: fadeIn 0.3s ease;
  overflow: hidden;
}

/* آیتم‌های زیرمنو */
/* دکمه‌ی اصلی منو (مثل خدمات) */
.navbarr ul li a,
.navbarr .dropdown-toggle {
    text-decoration: none;
    color: #000000 !important;
    padding: 5px 13px;
    display: block;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: transparent;
}

/* هنگام هاور روی دکمه یا وقتی زیرمنو فعاله */
.navbarr ul li:hover > a,
.navbarr ul li a:hover,
.navbarr .dropdown.show > .dropdown-toggle {
  color: #090909 !important;
    background-color: #f0f4f8;  /* رنگ روشن ملایم */
    color: #9acb4c;             /* یک رنگ سبز-آبی جذاب */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 1);
}

/* استایل زیرمنوها */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 180px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    animation: fadeIn 0.3s ease;
    padding: 0.5rem 0;
}

/* آیتم‌های زیرمنو */
.dropdown-menu .dropdown-item {
    padding: 5px 10px;
    color: #090909 !important;
    font-weight: 500 !important;
    text-decoration: none;
    display: block;
    transition: all 0.2s ease;
    font-size: 1.5rem;
}

 .btn-sett {
  color: #090909 !important;
  text-align: center;
  font-size:1.7rem;
  color: var(--black);
  background-color: #aed19c;
  align-items: center;
}

.btn-sett:hover {
  color: var(--green);
  background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 1);
}

.dropdown-menu .dropdown-item:hover {
    background-color: var(--wight);
    color: #00695c;
    padding-right: 25px;
}
  /* تنظیمات موبایل */
  @media (max-width: 767px) {
    .navbarr {
      flex-direction: column;
      align-items: flex-start;
    }

    .navbarr ul {
      width: 100%;
    }

    .navbarr li {
      width: 100%;
      text-align: right;
    }

    .dropdown-menu {
      position: relative;
      /* در موبایل نیاز نیست absolute باشد */
      width: 100%;
    }

    /* نمایش زیرمنو فقط با کلیک */
    .navbarr li .dropdown-toggle {
      cursor: pointer;
      padding: 10px;
      display: block;
      background: #555;
      color: white;
      text-align: right;
    }

    .navbarr li .dropdown-toggle:after {
      content: " ▼";
      font-size: 12px;
    }
  .home .row1 .images img {
      width: 100%;
      height: 70%;
    }
    .navbarr li .dropdown-menu {
      display: none;
      /* مخفی تا وقتی که کلیک شود */
    }

    .navbarr li.active .dropdown-menu {
      display: block;
    }
  }



  @media (max-width:1024px) {

    html {
      font-size: 55%;
    }

    header .fa-bars {
      display: block;
    }

    header .navbarr {
      position: fixed;
      top: -100rem;
      left: 0;
      width: 100%;
      background: var(--wight);
      opacity: 0;
    }

    header .navbarr ul {
      flex-flow: column;
      padding: 2rem 0;
    }

    header .navbarr ul li {
      margin: 1rem 0;
      width: 100%;
      text-align: center;
    }

    header .navbarr ul li a {
      font-size: 2rem;
      display: block;
    }

    header .nav-toggle {
      top: 5.5rem;
      opacity: 1;
    }

    /* home media query  */

    .home .row1 {
      flex-flow: column;
    }

    .home .row1 .content {
      text-align: center;
    }

    /* home images  */
    .home .row1 .images img {
      width: 100%;
      height: 70%;
    }

    /* about media query  */
    .about .box-container .box {
      flex-flow: column;
      width: 90%;
    }

    .about .box-container .box:nth-child(even) {
      flex-flow: column;
    }

    .about .box-container .box .images {
      width: 100%;
    }

    .about .box-container .box .content {
      width: 100%;
    }

    /* contact form  */
    .contact .row1 {
      flex-flow: column;
    }

    .contact .row1 .images img {
      height: 50vh;
      width: 90vw;
    }

    .contact .row1 .form-container {
      width: 90%;
      padding: 0;
    }
    .btn-sett {
      min-width: 100%;
      font-size: 2rem !important;
      color:var(--black) !important;
      background-color: white !important; /* مقدار رنگ سفید اصلاح شد */
      text-align: center !important;
      display: flex ;
      justify-content: center ; /* برای وسط‌چین کردن متن */
      align-items: center ;
  }

  .btn-sett:hover {
      color: var(--green);
      
  }
    
  }