/* Header Content */


.hero-carousel {
    position: relative;
}

.hero-carousel .carousel-item {
    position: relative;
    min-height: 550px;
}

.hero-carousel .hero-img {
    object-fit: cover;
}

/* گرادینت سمت راست */
.hero-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(to left, rgba(0,0,0,0.85), rgba(0,0,0,0.1), transparent);
    z-index: 1;
}
.btn.btn-info {
  background: #f97316 !important;
  color: #fff !important;
  border: none;
}
/* محتوای روی تصویر */
.hero-content {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    color: #fff;
    text-align: right;
    max-width: 480px;
}

.hero-slug {
    color: #808285;
    font-size: 18px;
    display: block;
    margin-bottom: 10px;
}

.hero-content h1 {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.7;
}

.hero-content p {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 28px;
    margin-top: 15px;
}

.hero-content .line {
    max-width: 180px;
    margin: 15px 0;
}

.hero-buttons {
    margin-top: 25px;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    direction: initial;
}

.hero-buttons a {
    padding: 10px 22px;
    font-size: 14px;
}
/* انتقال indicator ها به صورت عمودی در سمت چپ اسلایدر */
.hero-carousel .carousel-indicators {
    position: absolute;
    top: 50%;
    right: auto;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-left: 40px;
}

/* دکمه ها به شکل عمودی */
.hero-carousel .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #60556c;
    border: none;
    transition: all 0.3s ease;
}

/* نقطه فعال */
.hero-carousel .carousel-indicators .active {
    background: #fff;
    height: 25px;
    border-radius: 30px;
}

/* Portfolio Section */
.header-portfolio {
    background: url("../images/p-bg.svg") no-repeat center;
    padding: 40px;
    height: 250px;
    margin-top: 100px;
}

.header-feather-img img {
    position: absolute;
    left: 70px;
    top: -116px;
}
.header-portfolio  a.btn{
    color: #fff;
    text-decoration: none;
    display: grid;
    margin-top: 42px;
}
.header-portfolio  a.btn i{
    background: #65AFFE;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding-top: 8px;
    font-size: 20px;
    margin: auto auto 16px auto;


}
.dr-details {
    margin: 32px auto 32px auto;
    text-align: center;
    border-radius: 24px;
    padding: 32px;
    border: 1px solid #f97316;
}
.dr-details div{
    border-left: 1px solid #f97316;
}
.dr-details div:last-child{
    border-left: none;
}
.transformed-patient-experience{
    background: #3395FF;
    padding: 48px 0 48px 0;
    color: #fff;
    direction: ltr;
}
.transformed-patient-experience .owl-theme .owl-dots .owl-dot span {
    background: #9acbff;
}
.transformed-patient-experience .owl-theme .owl-dots .owl-dot.active span {
    background: #fff;
}
.transformed-patient-experience h2{
    text-align: center;
    font-size: 28px;
    font-weight: 700;
}
.transformed-patient-experience p{
    text-align: center;
    font-size: 16px;
    font-weight: normal;
    margin: 10px 0 48px 0;
    opacity: 70%;
}
.transformed-patient-experience .item {
    background: #fff;
	height: 300px;
    color: #000;
    text-align: right;
    padding: 24px;
    border-radius: 16px;
}
.transformed-patient-experience .item small{
    font-size: 16px;
    color: #020817;
    display: block;
    margin-bottom: 8px;
}
.transformed-patient-experience .item span.city{
    font-size: 12px;
    color: #94A3B8;
    display: block;
    padding-bottom: 16px;
    border-bottom: 1px solid #F1F5F9;
}
.transformed-patient-experience .item p{
    font-size: 14px;
    line-height: 24px;
    text-align: justify;
    direction: rtl;
}
.transformed-patient-experience .item .weight {
    background: #F1F5F9;
    display: flex;
    justify-content: center;
    padding: 10px;
    border-radius: 50px;
    font-size: 14px;
    color: #64748B;
}
section.about-us{
    margin-top: 80px;
    direction: rtl;
}
section.about-us img{
	border-radius: 20px;
}
section.about-us h2{
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}
section.about-us h2 strong,section.form h2 strong{
    color: #f9a12e;
}
section.about-us p.slug{
    margin-bottom: 30px;
}
section.about-us p{
    color: #64748B;
    font-size: 16px;
    font-weight: 400;
    text-align: justify;
    line-height: 28px;
}
section.about-us a{
 border: 1px solid #f97316;
  color: #f97316;
  padding: 10px;
  border-radius: 10px;
  text-decoration: none;
  width: 140px;
  display: flex;
  justify-content: center;
}
section.about-us iframe{
    border-radius: 10px;
    height: 310px;
    width: 100%;
}
section.about-us ul{
    padding: 0;
    list-style: none;
    font-size: 16px;
}
section.about-us ul li {
    border-bottom: 1px solid #E2E8F0;
    padding-bottom: 16px;
    margin-bottom: 16px;
}
section.about-us ul li:last-child{
    border-bottom: none;
}
section.about-us ul li span{
font-weight: 600;
}
section.about-us ul li span i{
    font-size: 30px;
    margin-left: 10px;
}
section.portfolio{
    margin: 64px 0 64px 0;
    position: relative;

}
/* Parent should be relative */
section.portfolio .owl-carousel {
    position: relative;
    direction: ltr;
}

/* Common style for arrows */
section.portfolio .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
section.DR-banner{
    margin: 130px 0 64px 0;
    direction: ltr;
}
section.DR-banner h2 {
    font-size: 28px;
    margin-bottom: 16px;
}
section.DR-banner p{

    font-size: 20px;
    font-weight: 500;
}
section.DR-banner img{
 bottom: -24px;
  right: 40px;
  width: 390px;
}
section.DR-banner .dr-banner-content{
    padding-top: 50px;
    text-align: right;
}
/* Left arrow */
section.portfolio .owl-nav span{
    font-size: 45px;
}
section.portfolio .owl-nav .owl-prev {
    left: -56px;
}

/* Right arrow */
section.portfolio .owl-nav .owl-next {
    right: -56px;
}

/* Optional: hover effect */
section.portfolio .owl-nav button:hover {
    background: #f2f2f2 !important;
}
.services-section {
    padding: 70px 0;
    background: #f8f9fa;
}

.services-section .section-heading {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 40px;
}

.services-section .section-heading span {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #f28c00;
}

.services-section .section-heading h2 {
    margin-bottom: 12px;
    font-size: 30px;
    font-weight: 700;
    color: #111827;
}

.services-section .section-heading p {
    margin: 0;
    color: #6b7280;
    line-height: 2;
}

.services-carousel .owl-stage {
    display: flex;
}

.services-carousel .owl-item {
    display: flex;
}

.service-card {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .06);
    transition: .3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, .1);
}

.service-image {
    display: block;
    overflow: hidden;
}

.service-image img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform .4s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 20px;
}

.service-content h3 {
    margin: 0 0 18px;
    font-size: 18px;
    font-weight: 700;
}

.service-content h3 a {
    color: #111827;
    text-decoration: none;
}

.service-more {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #f28c00;
    font-size: 14px;
    text-decoration: none;
    transition: .2s ease;
}

.service-more:hover {
    gap: 11px;
    color: #111827;
}

.services-carousel .owl-nav {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.services-carousel .owl-nav button {
    width: 42px;
    height: 42px;
    border-radius: 50% !important;
    background: #fff !important;
    box-shadow: 0 5px 20px rgba(0,0,0,.08);
    transition: .2s ease;
}

.services-carousel .owl-nav button:hover {
    background: #f28c00 !important;
    color: #fff !important;
}
section.portfolio h2,section.blog h2,section.faq h2{
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin: auto auto 16px auto;
}
section.portfolio p,section.blog p,section.faq p{
    text-align: center;
    font-size: 16px;
    color: #64748B;
    margin-bottom: 48px;
    margin-top: auto;
}
section.portfolio .item{
    background: #fff;
    text-align: center;
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 32px;
    position: relative;
    box-shadow: 0px 0px 1px #ddd;
}
section.portfolio .item span.before-label{
    position: absolute;
    right: 40px;
    top: 35px;
}
section.portfolio .item span.after-label{
    position: absolute;
    left: 155px;
    top: 35px;
}
section.portfolio .item img{
    width: auto;
    display: inline-flex;
}
section.portfolio .item imgsection.portfolio .item img:first-child{
    margin-right: 12px;

}
section.portfolio .item small{
    display: block;
    font-size: 16px;
    text-align: right;
    margin-top: 16px;
}
section.portfolio .item ul{
    padding: 0;
    display: flex;
    list-style: none;
    margin-top: 12px;
    font-size: 14px;
    color: #334155;
    direction: rtl;
    justify-content: right;
}
section.portfolio .item ul li{
    text-align: right;
    border-left: 1px solid #E2E8F0;
    padding-left: 25px;
    margin-left: 25px;
}
section.portfolio .item ul li:last-child{
    border-left: none;
    padding-left: 0;
    margin-left: 0;
}
section.portfolio .item ul li span{
    display: block;
    margin-bottom: 10px;
}

section.blog {
    margin-top: 80px;
    direction: ltr;
}

section.blog .item {
    text-align: right;
    background: #fff;
    padding: 16px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 340px;
}

section.blog .item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.1);
}

section.blog .item img {
    width: 100%;
    border-radius: 15px;
    margin-bottom: 20px;
}

section.blog .item .tag {
    display: inline-block;
    background: #F1F5F9;
    color: #000;
    font-size: 14px;
    border-radius: 10px;
    padding: 4px 10px;
    text-decoration: none;
    font-weight: 500;
}

section.blog .item .title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 16px;
}

section.blog .item .title-row span {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
    flex: 1;
}

section.blog .item .title-row small {
    font-size: 14px;
    color: #64748B;
    white-space: nowrap;
}

section.blog .item small i {
    margin-left: 5px;
}

section.blog .main img {
    height: 250px;
    object-fit: cover;
}

section.blog .small img {
    height: 180px;
    object-fit: cover;
}

section.blog h2 {
    font-weight: 700;
    margin-bottom: 10px;
}

section.blog p {
    color: #64748B;
}
.faq {
margin: 80px auto 80px auto;
}
.accordion-button::after {
    margin-right: auto;
    margin-left: 0;
}
.accordion-button {
    background: #fff !important;
    border-radius: 12px !important;
    color: #111827 !important;
    box-shadow: none !important;
}

.accordion-item {
    border: none !important;
    border-radius: 12px !important;
    overflow: hidden;
    margin-bottom: 24px;
}

.accordion-button:not(.collapsed) {
    color: #0d6efd !important;
    background: #fff !important;
}

.accordion-body {
    background: #fff;
    border-top: 1px solid #e5e7eb;
    color: #374151;
    text-align: right;
}
/* Responsive */
/* Desktop Large */
@media (min-width: 1200px) {
    section.portfolio .item span.after-label {
        left: 141px;
    }
    section.portfolio {
        margin: 40px 0;
    }

    section.portfolio .item {
        padding: 16px;
    }

    section.portfolio .item img {
        width: 48%;
    }

    section.portfolio .owl-nav .owl-prev {
        left: -20px;
    }

    section.portfolio .owl-nav .owl-next {
        right: -20px;
    }

    section.portfolio .owl-nav span {
        font-size: 32px;
    }

}
/* Desktop Large */
@media (min-width: 1200px) {
    section.portfolio .item span.after-label {
        left: 137px !important;
    }
}
/* Small Desktop / Laptop */
@media (max-width: 1200px) and (min-width: 992px) {
    section.portfolio .item span.after-label {
        left: 108px;
    }
    section.portfolio .item span.before-label {
        right: 30px;
    }
    section.portfolio .item ul li {
        padding-left: 18px;
        margin-left: 18px;
    }
    .hero-content h1 {
        font-size: 28px;
    }
    .hero-content p {
        font-size: 12px;
    }
    section.DR-banner img {
        bottom: -50px;
        right: -45px;
    }
    section.portfolio {
        margin: 40px 0;
    }

    section.portfolio .item {
        padding: 16px;
    }

    section.portfolio .item img {
        width: 48%;
    }

    section.portfolio .owl-nav .owl-prev {
        left: -20px;
    }

    section.portfolio .owl-nav .owl-next {
        right: -20px;
    }

    section.portfolio .owl-nav span {
        font-size: 32px;
    }

    /* Transformed Patient */
    .transformed-patient-experience {
        padding: 32px 0;
    }

    .transformed-patient-experience h2 {
        font-size: 22px;
    }

    .transformed-patient-experience p {
        font-size: 14px;
        margin-bottom: 32px;
    }

    .transformed-patient-experience .item {
        padding: 20px;
    }
    section.portfolio .item ul {
        font-size: 11px;
    }
    section.blog .item .title-row span {
        font-size: 12px;
    }
}

/* Tablet */
@media (max-width: 991px) and (min-width: 768px) {
    .dr-details div {
        margin-bottom: 0 !important;
    }
    section.DR-banner img {
        bottom: -39px;
        right: -32px;
        width: 370px;
    }
    section.DR-banner h2 {
        font-size: 20px;
        margin-bottom: 16px;
    }
    section.DR-banner p {
        font-size: 14px;
        font-weight: 500;
    }
    section.blog {
        margin-top: 32px !important;
    }
    section.blog .item .title-row small {
        display: none;
    }
    section.portfolio .item img {
        width: 49%;
        display: inline-flex;
    }
    section.portfolio .item span.after-label {
        position: absolute;
        left: 129px;
        top: 35px;
    }
    section.portfolio .item ul li {
        padding-left: 18px;
        margin-left: 18px;
        font-size: 12px;
    }
    section.blog .item .title-row span {
        font-size: 12px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hero-buttons {
        margin-bottom: 24px;
    }
    section.DR-banner .dr-banner-content {
        padding-top: 24px;
        text-align: right;
    }
    .dr-banner-content .d-flex {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .dr-banner-content .btn {
        order: 2;
        margin-top: 12px;
        width: 100%;
        justify-content: center;
    }

    .dr-banner-content h2,
    .dr-banner-content p {
        order: 1;
    }
    section.DR-banner h2 {
        font-size: 20px;
    }
    section.DR-banner p {
        font-size: 14px;
        font-weight: 500;
        color: #fff;
        opacity: 70% !important;
    }
    section.about-us h2 strong, section.form h2 strong {
        color: #f9a12e;
        direction: rtl;
    }
    .hero-content {
        right: auto !important;
        padding: 16px;
    }
    .hero-content h1 {
        font-size: 24px;
        text-align: center;
    }
    .hero-slug {
        color: #fff;
        font-size: 16px;
        text-align: center;
        opacity: 50%;
    }
    .hero-content p {
        color: #fff;
        font-size: 14px;
        text-align: center;
        opacity: 70%;
    }
    .hero-buttons a {
        width: 50%;
        color: #fff;
    }
    header nav {
        border-radius: 0;
        box-shadow: none;
    }

    .header-content {
        margin-top: 50px;
    }
    .header-content h1 {
        font-size: 24px;
        line-height: 44px;
        font-weight: 900;
    }
    .header-content span {
        font-size: 16px;
        line-height: 26px;
        margin-bottom: 4px;
        font-weight: 600;
    }
    .header-feather-img img {
        position: static;
        width: 80%;
        margin-top: 50px;
    }
    .header-content p {
        font-size: 14px;
        line-height: 20px;
        font-weight: 400;
    }
    .header-portfolio {
        height: 380px;
        padding: 20px;
        margin-top: -100px;
        background: url("../images/p-bg-mobile.svg") no-repeat center;
    }
    .header-portfolio .justify-content-center{
        margin-top: 18px;
    }
    .header-portfolio a.btn {
        color: #fff;
        text-decoration: none;
        margin-top: 4px;
        display: inline-flex;
        flex-direction: row-reverse;
        align-items: center;
        justify-content: center;
        gap: 6px;
        white-space: nowrap;
    }


    .header-portfolio a.btn i {
        margin: auto;
    }
    .header-btn a {
        width: 120px;
        font-size: 14px;
        padding: 8px;
    }
    .hero-section {
        background: url("../images/slider-mobile.jpg") no-repeat center/cover;
        padding-bottom: 0;
    }
    section.about-us h2 {
        font-size: 20px;
        line-height: 28px;
        margin-bottom: 16px;
        border-bottom: 1px solid #E3E3E3;
        padding-bottom: 16px;
    }
    section.about-us p.slug {
        font-size: 12px;
        margin-bottom: 24px;
    }
    section.about-us p {
        font-size: 14px;
    }
    section.about-us a {
        width: 100%;
        margin-bottom: 0;
    }
    section.about-us ul {
        margin-top: 8px;
    }
    section.portfolio .item img:first-child {
        margin-right: 12px;
    }

    section.portfolio .item img{
        width: 47%;

    }
    section.form {
        padding: 0;
    }
    section.form form {
        margin: 0 0 32px 0;
    }
    section.form .content h2{
        font-size: 20px;
        direction: ltr;
        text-align: right;
    }
    section.form .content p {
        font-size: 14px;
        color: #64748B;
    }
    section.form .content ul li {
        font-size: 12px;
    }
    section.form .content ul li i {
        font-size: 20px;
    }
    .portfolio {
        margin-top: 32px;
    }
    section.portfolio h2, section.blog h2, section.faq h2 {
        font-size: 20px;
    }
    .accordion-item h2{
        font-size: 14px !important;
    }
    .accordion-item button{
        text-align: right;
        font-size: 14px;
    }
    section.portfolio p, section.blog p, section.faq p {
        font-size: 12px;
    }
    section.blog {
        margin-top: 64px;
    }
    section.blog .item .title-row span {
        font-size: 14px;
    }
    section.blog .item .title-row small {
        font-size: 12px;
    }
    .dr-details{
        width: 90%;
    }
    .dr-details div {
        border-left: 1px solid #E2E8F0;
        margin-bottom: 20px;
    }
    .dr-details div:nth-child(3){
        border-left: none;
        margin-bottom: 0;
    }
    .dr-details div:nth-child(4){
        margin-bottom: 0;
    }
    .transformed-patient-experience h2 {
        font-size: 20px;
        line-height: 28px;
    }
    .transformed-patient-experience p {
        font-size: 12px;
        margin: 0 0 24px 0;
    }
    .transformed-patient-experience .item small {
        font-size: 14px;
        margin-bottom: 8px;
        line-height: 28px;
        font-weight: 400;
    }
    .transformed-patient-experience .item span.city{
        font-size: 12px;
        padding-bottom: 16px;
        margin-bottom: 16px;
    }
    .transformed-patient-experience .item p {
        margin-bottom: 73px;
    }
    section.portfolio .item span.after-label {
        left: 123px;
    }
    section.portfolio .item ul li span , section.portfolio .item ul li strong{
        font-size: 12px;
        color: #334155;
    }
    .faq {
        margin: 48px auto 0 auto;
    }
    .hero-carousel .carousel-item {
        position: relative;
        background: #000;
    }
    .hero-content {
        top: 75%;
    }
    section.about-us {
        margin-top: 30px;
        direction: rtl;
    }
    section.about-us iframe {
        border-radius: 10px;
        height: 190px;
        width: 100%;
        margin-bottom: 32px;
    }
    section.form {
        margin: 32px 0 64px 0;
    }
    .safedesign-bmi-container {
        margin-bottom: 42px !important;
    }
    section.DR-banner {
        margin: 37px 0 64px 0;
    }
    footer span {
        display: block;
    }
    .namad img {
        display: inline-flex;
    }
    .footer-cat ul li a {
        display: block;
        background: #f1fafb;
        padding: 19px;
        text-align: center;
        border-radius: 16px;
        font-size: 11px;
        color: #0e2b4a;
        transition: 0.2s;
    }
    .col-12.col-sm-2.short-links {
        margin-top: 32px;
    }
}


