/********** Template CSS **********/
@font-face {
  font-family: "vazir";
  src: url("../fonts/Vazir.eot");
  src: url("../fonts/Vazir.woff") format("woff"),
    url("../fonts/Vazir.woff2") format("woff2"),
    url("../fonts/Vazir.ttf") format("truetype");
}
:root {
    --primary: #FEA116;
    --light: #F1F8FF;
    --dark: #0F172B;
      --ff-primary: "vazir"
}

.fw-medium {
    font-weight: 500 !important;
}

.fw-semi-bold {
    font-weight: 600 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    text-transform: uppercase;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 2px;
}


/*** Navbar ***/
.navbar-dark .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

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

@media (max-width: 991.98px) {
    .navbar-dark .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
 background: rgba(15, 23, 43, .5);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-header-inner {
    background: rgba(15, 23, 43,.5);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}

.booking {
    position: relative;
    margin-top: -100px !important;
    z-index: 1;
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
}

.section-title::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 2px;
    top: 50%;
    left: -55px;
    margin-top: -1px;
    background: var(--primary);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 45px;
    height: 2px;
    top: 50%;
    right: -55px;
    margin-top: -1px;
    background: var(--primary);
}

.section-title.text-start::before,
.section-title.text-end::after {
    display: none;
}


/*** Service ***/









/*** Testimonial ***/
/*** Testimonial ***/
.testimonial-img {
    position: relative;
    min-height: 400px;
    overflow: hidden;
}

.testimonial-img div {
    position: absolute;
    width: 100px;
    height: 100px;
    animation-duration: 5s;
}

.testimonial-img div:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: .1s;
}

.testimonial-img div:nth-child(2) {
    top: 60%;
    left: 20%;
    animation-delay: .4s;
}

.testimonial-img div:nth-child(3) {
    top: 20%;
    left: 60%;
    animation-delay: .7s;
}

.testimonial-img div:nth-child(4) {
    bottom: 10%;
    right: 10%;
    animation-delay: 1s;
}

.testimonial-img div::after {
    position: absolute;
    content: "";
    top: -1px;
    right: -1px;
    bottom: -1px;
    left: -1px;
    box-shadow: 0 0 10px 10px var(--bs-white) inset;
    z-index: 1;
}

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 15px;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    color: var(--bs-primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--bs-dark);
}


/*** Team ***/
.team-item,
.team-item .bg-primary,
.team-item .bg-primary i {
    transition: .5s;
}

.team-item:hover {
    border-color: var(--secondary) !important;
}

.team-item:hover .bg-primary {
    background: var(--secondary) !important;
}

.team-item:hover .bg-primary i {
    color: var(--secondary) !important;
}


/*** Footer ***/
.newsletter {
    position: relative;
    z-index: 1;

}

.footer {
    position: relative;
    margin-top: -110px;
    padding-top: 180px;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: right;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}



.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}
.lu{
    background-color:black;
    color: #FFFFFF;
    direction: rtl;
    transition: all 0.3s;

}
.lu:hover{
    background-color:  #FEA116;
    color: black;

}




.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .3);
}

.footer .footer-menu a:first-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}
.dropdown-menu {
    direction: rtl;
    text-align: right;
}

.dropdown-item {
    text-align: right;
}
.sc{
     direction: rtl;
 text-align: right;
}
.form-floating > label{
    right: 0 !important;
    left: auto !important;
    width: 100%;
    padding: 1rem .75rem;
    text-align: right;
    transform-origin: top right;
}

.form-floating > .form-control,
.form-floating > textarea{
    direction: rtl;
    text-align: right;
}

.form-floating > .form-control:focus~label,
.form-floating > .form-control:not(:placeholder-shown)~label,
.form-floating > textarea:focus~label,
.form-floating > textarea:not(:placeholder-shown)~label{
    transform: scale(.85) translateY(-0.6rem) translateX(0.15rem) !important;
}
.contact-icon{
    margin-left: 15px;
    min-width: 20px;
}
.footer{
    padding-top: 70px;
}

.footer .btn.btn-link::before {
    content: "\f284";
    font-family: "bootstrap-icons";
    font-weight: 900;
    margin-left: 8px;
    display: inline-block;
    transition: .3s;
}

.footer .btn.btn-link:hover::before {
    transform: translateX(-4px);
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}
.footer-icon {
    font-size: 30px !important;
font-weight: 600 !important;

}
#header-carousel .carousel-item{
    height: 700px; /* برای دسکتاپ */
     background: #000; /* یا سفید */
}

#header-carousel .carousel-item img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 768px){
    #header-carousel .carousel-item{
        height: 350px;
    }
}
/*** Service ***/
.service .service-item {
    position: relative;
    margin-top: 45px;
}

.service .service-inner {
    position: relative;
    height: 100%;
    margin-top: 45px;
    background: var(--bs-white);
    box-shadow: 0 0 45px rgba(0, 0, 0, .05);
}

.service .service-inner::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    left: 0;
    bottom: 0;
    transition: 1s;
    background: var(--bs-primary);
}

.service .service-inner:hover::before {
    height: 100%;
    top: 0;
}

.service .service-item img {
    margin-top: -45px;
    padding-left: 45px;
}

.service .service-item * {
    position: relative;
    transition: .5s;
    z-index: 1;
}

.service .service-item:hover h5,
.service .service-item:hover p {
    color: var(--bs-white);
}

.service .service-item:hover a {
    padding-left: 45px !important;
}
.account-page{
    direction:rtl;
}

.nav-pills .nav-link{
    color:#333;
    border-radius:12px;
    padding:14px;
    transition:.3s;
}

.nav-pills .nav-link:hover,
.nav-pills .nav-link.active{
    background:#0d6efd;
    color:white;
}


.card,
.tab-content{
    border-radius:20px;
}


.form-control{
    border-radius:12px;
    padding:12px;
}


.table{
    vertical-align:middle;
}
/* برای ادرس */

body {
  font-family: "Vazir" !important; }


.checkout-login-info3 {
  display: none;
  margin-top: 20px; }
  .checkout-login-info3 form input[type="text"] {
    border: 1px solid #e8e8e8;
    height: 50px;
    background-color: transparent;
    width: 48%;
    font-size: 14px;
    padding: 0 20px; }
    .checkout-login-info3 form input[type="text"]:focus {
      border: 1px solid #1f2226; }
  .checkout-login-info3 form input[type="submit"] {
    background: #1f2226 none repeat scroll 0 0;
    border: medium none;
    color: #fff;
    height: 50px;
    margin-right: 6px;
    padding: 5px 30px;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 600;
    width: inherit; }
    @media only screen and (min-width: 992px) and (max-width: 1199px) {
      .checkout-login-info3 form input[type="submit"] {
        padding: 5px 15px; } }
    @media only screen and (max-width: 767px) {
      .checkout-login-info3 form input[type="submit"] {
        padding: 5px 16px; } }
    .checkout-login-info3 form input[type="submit"]:hover {
      background-color: #ff3535; }
/* برای قالب دکتر ارسال نسخه  */
/* برای قالب دکتر ارسال نسخه  */
/* برای قالب دکتر ارسال نسخه  */
/* برای قالب دکتر ارسال نسخه  */
/* برای قالب دکتر ارسال نسخه  */
.prescription-card {

    border:2px solid #eee;
    border-radius:20px;
    padding:30px 20px;
    text-align:center;
    cursor:pointer;
    transition:.3s;

}


.prescription-card:hover {

    transform:translateY(-5px);
    box-shadow:0 10px 25px rgba(0,0,0,.08);

}


.prescription-card.active {

    border-color:#0d6efd;
    background:#f0f7ff;

}


.prescription-card .icon {

    font-size:45px;
    margin-bottom:15px;

}



.prescription-form {

    display:none;

}
css
.success {
    transition: all 0.2s ease;
}
.success {
    background-color:var(--primary);
  color: white;
}
.btn btn-primary:hover{
   background-color: var(--primary-hover);
}
.success:hover {
    background-color: #164e34;
    border-color: #146c43;

    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.success:active {
    transform: translateY(0);
}
.description-text {
    max-height: 90px;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.description-text.show {
    max-height: 1000px;
}

