body {
    direction: rtl;
    font-family: shabnam;
    overflow-x: hidden;
}


/*** Spinner Start ***/


/*** 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;
}


/*** Spinner End ***/

.back-to-top {
    position: fixed;
    left: 30px;
    bottom: 30px;
    transition: 0.5s;
    z-index: 99;
}

.کانتینر-والد-شما .btn {
    margin-right: 10px; /* فاصله از راست */
    margin-left: 0;     /* حذف فاصله از چپ */
}

/*** Button Start ***/

.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-xl-square {
    width: 66px;
    height: 66px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary {
    color: var(--bs-white);
    border: none;
}

.btn.btn-primary:hover {
    background: var(--bs-dark);
    color: var(--bs-primary);
}

.btn.btn-light {
    color: var(--bs-primary);
    border: none;
}

.btn.btn-light:hover {
    color: var(--bs-white);
    background: var(--bs-primary);
}


/*** Topbar Start ***/

.topbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-right: 8px;
    color: var(--bs-primary);
}

.topbar .dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.topbar .dropdown .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light);
    padding-top: 11px;
    border: 0;
    transition: .5s;
    opacity: 1;
    right: 0 !important;
}


/*** Topbar End ***/

@media (max-width: 768px) {
            .hero {
                height: 220px;       /* ارتفاع کمتر برای موبایل */
                background-position: center center;
                }
            
        }


    }
}

/*** Navbar ***/

/* تنظیم پس‌زمینه برای منوی چسبان */
.sticky-top {
    background-color: #ffffff; /* رنگ پس‌زمینه منو را مطابق سایت خود تنظیم کنید */
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); /* اضافه کردن سایه ملایم برای زیبایی */
    transition: all 0.3s ease; /* نرم کردن افکت ظاهر شدن */
}

/* جلوگیری از هم‌پوشانی با المنت‌های دیگر */
.navbar {
    z-index: 1030; 
}


.navbar-light .navbar-nav .nav-link {
    font-family: shabnam;
    position: relative;
    margin-left: 25px;
    padding: 35px 0;
    color: var(--bs-white);
    font-size: 17px;
    font-weight: 400;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link,
.sticky-top.navbar-light .navbar-nav .nav-item .nav-link {
    padding: 20px 0;
    color: var(--bs-dark);
}

.navbar-light .navbar-nav .nav-item .nav-link {
    color: var(--bs-white);
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-item .nav-link:hover,
.navbar-light .navbar-nav .nav-item .nav-link.active {
    color: var(--bs-primary);
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 45px;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-right: 8px;
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light);
    transition: .5s;
    opacity: 1;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-light {
        position: relative;
        background: var(--bs-white);
    }
    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 10px 20px;
        border: 1px solid var(--bs-primary);
        color: var(--bs-primary);
    }
    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }
    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-right: 0;
        color: var(--bs-dark);
    }
    .navbar-light .navbar-nav .nav-item .nav-link {
        color: var(--bs-dark);
    }
    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: .5s;
        opacity: 0;
        right: 0;
    }
    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
        z-index: 999;
    }
    .sticky-top.navbar-light {
        position: fixed;
        background: var(--bs-light);
    }
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        right: 50%;
        background: var(--bs-primary);
        transition: .5s;
    }
    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: calc(100% - 2px);
        right: 1px;
    }
    .navbar-light .navbar-nav .nav-link::after {
        position: absolute;
        content: "";
        width: 0;
        height: 0;
        bottom: -1px;
        right: 50%;
        background: var(--bs-primary);
        transition: .5s;
    }
    .navbar-light .navbar-nav .nav-link:hover::after,
    .navbar-light .navbar-nav .nav-link.active::after {
        width: 2px;
        height: 12px;
    }
}


/*** Navbar End ***/


/*** Carousel Hero Header Start ***/
/* فقط عکس‌ها را ثابت کن - به بقیه اجزا کاری نداشته باش */
.header-carousel .header-carousel-item img,
.header-carousel .header-carousel-item picture {
    animation: none !important;
    transform: scale(1) !important; /* زوم را کاملاً از بین می‌برد */
    transition: none !important;
}

/* اطمینان از اینکه متن‌ها همیشه در لایه بالایی و مرئی باشند */
.header-carousel .carousel-caption {
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 10 !important; /* لایه متن همیشه روی لایه تیره باشد */
    display: flex !important;
}

.header-carousel .header-carousel-item {
    position: relative;
    overflow: hidden;
}



/* عکس */
.header-carousel .header-carousel-item img,
.header-carousel .header-carousel-item picture {
    width: 100%;
    height: 700px;
    object-fit: cover;

    /* حذف کامل هر نوع انیمیشن یا زوم */
    animation: none !important;
    transform: none !important;
}

/* موبایل */
@media (max-width: 768px) {
    .header-carousel .header-carousel-item img,
    .header-carousel .header-carousel-item picture {
        height: 450px;
        animation: none !important;
        transform: none !important;
    }
}

/* چیدمان متن در موبایل */
@media (max-width: 768px) {
    .header-carousel .header-carousel-item .carousel-caption .row {
        flex-direction: column;
        text-align: center;
    }

    .header-carousel .header-carousel-item .carousel-caption .btn {
        margin-bottom: 10px;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .header-carousel .carousel-caption {
        justify-content: center;
        padding-top: 100px;
    }
}

.header-carousel .carousel-caption {
    position: absolute;
    top: 0;
    left: 0;
    right: 0; /* اضافه کردن این برای کشیده شدن تا انتهای راست */
    bottom: 0;
    width: 100% !important; /* اجبار به گرفتن کل عرض */
    height: 100% !important; /* اجبار به گرفتن کل ارتفاع */
    background: rgba(0,0,0,0.5) !important; /* لایه تیره */
    display: flex;
    flex-direction: column; /* چون گفتی متن‌ها می‌روند روی عکس */
    justify-content: center; /* وسط‌چین عمودی */
    align-items: center; /* وسط‌چین افقی */
    z-index: 2;
    padding: 0 !important; /* حذف فاصله‌های پیش‌فرض بوت‌استرپ */
    margin: 0 !important; /* حذف حاشیه‌های پیش‌فرض */
}
.header-carousel .carousel-item {
    width: 100% !important;
    position: relative;
}


/* دکمه های اسلایدر */
.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    position: absolute;
    bottom: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bs-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-nav .owl-prev { left: 40%; }
.header-carousel .owl-nav .owl-next { right: 40%; }

@media (max-width:768px){
    .header-carousel .owl-nav .owl-prev { left: 25%; }
    .header-carousel .owl-nav .owl-next { right: 25%; }
}

/*** Carousel Hero Header End ***/



/*** Single Page Hero Header Start ***/

.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background-image:linear-gradient(rgba(0,0,0,.6), rgba(0,0,0,.6)),url(
    /static/img/yyy.webp");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 40vh; /* دسکتاپ */
    padding: 40px 0;
    transition: 0.5s;
}

@media (min-width: 992px) {
    .bg-breadcrumb {
        padding: 140px 0 60px 0;
    }
}

@media (max-width: 991px) {
  .bg-breadcrumb {
    min-height: 30vh; /* موبایل */
    padding: 20px 0;
  }
}

@media (max-width: 768px) {
    .bg-breadcrumb {
        padding: 60px 0 40px 0 !important;
        background-position: center top;
    }

    .bg-breadcrumb h1 {
        font-size: 20px;
        line-height: 1.6;
        text-align: center;
    }

    .bg-breadcrumb .breadcrumb {
        font-size: 13px;
        justify-content: center;
    }
}

.bg-breadcrumb .breadcrumb {
    position: relative;
}

.bg-breadcrumb .breadcrumb .breadcrumb-item a {
    color: var(--bs-white);
}


/*** Single Page Hero Header End ***/


/*** Service Start ***/

.service .service-item {
    background: var(--bs-light);
    border-radius: 10px;
    transition: 0.5s;
}

.service .service-item:hover {
    box-shadow: 0 0 45px rgba(0, 0, 0, .2);
}

.service .service-item .service-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: 0.5s;
}

.service .service-item .service-img img {
    transition: 0.5s;
}

.service .service-item:hover .service-img img {
    transform: scale(1.2);
}


/*** Service End ***/


/*** Features Start ***/

.feature .feature-item {
    text-align: center;
    border-radius: 10px;
    background: var(--bs-light);
    border: 1px solid transparent;
    transition: 0.5s;
}

.feature .feature-item:hover {
    border: 1px solid var(--bs-primary);
}

.feature .feature-item .feature-icon {
    background: var(--bs-white);
    border-radius: 10px;
    display: inline-block;
}


/*** Features End ***/


/*** Offer Start ***/

.offer-section .nav a.accordion-link {
    width: 100%;
    border-radius: 10px;
    display: flex;
    background: var(--bs-white);
    transition: 0.5s;
}

.offer-section .nav a.accordion-link.active {
    color: var(--bs-white);
    background: var(--bs-primary);
}

.offer-section .nav a.accordion-link h5 {
    transition: 0.5s;
}

.offer-section .nav a.accordion-link.active h5 {
    color: var(--bs-white);
}


/*** Offer End ***/


/*** Blog Start ***/

.blog .blog-item {
    border-radius: 10px;
    background: var(--bs-white);
    box-shadow: inset 0 0 45px rgba(0, 0, 0, .1);
    transition: 0.5s;
}

.blog .blog-item a {
    transition: 0.5s;
}

.blog .blog-item:hover a:hover {
    color: var(--bs-primary);
}

.blog .blog-item .blog-img {
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.2);
}

.blog .blog-item .blog-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 10px;
    background: rgba(0, 59, 208, 0.1);
    opacity: 0;
    transition: 0.5s;
    z-index: 1;
}

.blog .blog-item:hover .blog-img::after {
    opacity: 1;
}

.blog .blog-item .blog-img .blog-title {
    position: absolute;
    bottom: 25px;
    right: 25px;
    z-index: 5;
}

.blog .blog-item .blog-img .blog-title a {
    color: var(--bs-white);
    background: var(--bs-primary);
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img .blog-title a:hover {
    color: var(--bs-dark);
}

.blog-carousel .owl-stage-outer {
    margin-top: 58px;
}

.blog .owl-nav .owl-prev {
    position: absolute;
    top: -58px;
    right: 0;
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 6px 35px;
    border-radius: 30px;
    transition: 0.5s;
}

.blog .owl-nav .owl-prev:hover {
    background: var(--bs-dark);
    color: var(--bs-primary);
}

.blog .owl-nav .owl-next {
    position: absolute;
    top: -58px;
    left: 0;
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 6px 35px;
    border-radius: 30px;
    transition: 0.5s;
}

.blog .owl-nav .owl-next:hover {
    background: var(--bs-dark);
    color: var(--bs-primary);
}


/*** Blog End ***/


/*** FAQs Start ***/

.faq-section .accordion .accordion-item .accordion-header .accordion-button {
    color: var(--bs-secondary);
}

.faq-section .accordion .accordion-item .accordion-header .accordion-button.collapsed {
    color: var(--bs-dark);
}


/*** FAQs End ***/


/*** Team Start ***/

.team .team-item {
    position: relative;
    padding: 0 25px 25px 25px;
    border-radius: 10px;
    transition: 0.5s;
}

.team .team-item::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    background: var(--bs-light);
    border-radius: 10px;
    transition: 0.5s;
    z-index: -1;
}

.team .team-item:hover::before {
    height: 0;
}

.team .team-item::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    border-radius: 10px;
    transition: 0.5s;
    z-index: -1;
}

.team .team-item:hover::after {
    height: 100%;
    background: var(--bs-primary);
}

.team .team-item .team-img {
    width: 100%;
    height: 100%;
    border-radius: 100%;
    position: relative;
    margin-top: 50%;
    transform: translateY(-50%);
    margin-bottom: -50%;
    display: flex;
    justify-content: center;
    border: 4px solid var(--bs-primary);
    border-style: dotted;
    padding: 4px;
    background: var(--bs-white);
    transition: 0.5s;
}

.team .team-item:hover .team-img {
    border: 4px solid var(--bs-white);
    border-style: dotted;
    background: 0;
}

.team .team-item .team-img img {
    width: 100%;
    height: 100%;
    border-radius: 100%;
    transition: 0.5s;
}

.team .team-item .team-title {
    padding: 25px 0 25px 0;
    text-align: center;
}

.team .team-item .team-title h4,
.team .team-item .team-title p {
    transition: 0.5s;
}

.team .team-item:hover .team-title h4,
.team .team-item:hover .team-title p {
    color: var(--bs-white);
}

.team .team-item .team-icon {
    display: flex;
    justify-content: center;
}

.team .team-item .team-icon a {
    transition: 0.5s;
}

.team .team-item:hover .team-icon a {
    color: var(--bs-dark);
    background: var(--bs-white);
}

.team .team-item:hover .team-icon a:hover {
    color: var(--bs-primary);
    background: var(--bs-dark);
}


/*** Team End ***/


/*** Testimonial Start ***/

.testimonial .testimonial-item {
    position: relative;
    margin-bottom: 30px;
    padding: 0 25px 25px 25px;
}

.testimonial .testimonial-item::before {
    content: "";
    position: absolute;
    width: 100%;
    height: calc(100% - 50px);
    bottom: 0;
    left: 0;
    border-radius: 10px;
    background: var(--bs-light);
    z-index: -1;
}

.testimonial .testimonial-item .testimonial-img {
    display: flex;
    justify-content: center;
}

.testimonial .testimonial-item .testimonial-img img {
    width: 100px;
    height: 100px;
    border-radius: 100px;
    border: 5px solid var(--bs-light);
    border-style: double;
    background: var(--bs-white);
}

.testimonial .testimonial-item .testimonial-text {
    padding: 25px 0;
    text-align: center;
}

.testimonial .testimonial-item .testimonial-title {
    display: flex;
    justify-content: space-between;
}

.testimonial .testimonial-item .testimonial-quote-left {
    position: absolute;
    width: 60px;
    height: 60px;
    top: 20px;
    right: 25px;
    border-radius: 60px;
    color: var(--bs-primary);
    background: var(--bs-white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial .testimonial-item .testimonial-quote-right {
    position: absolute;
    width: 60px;
    height: 60px;
    bottom: -30px;
    left: 25px;
    margin-top: -5px;
    border-radius: 60px;
    color: var(--bs-primary);
    background: var(--bs-white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-stage-outer {
    margin-top: 58px;
    margin-right: -1px;
}

.testimonial .owl-nav .owl-prev {
    position: absolute;
    top: -58px;
    right: 0;
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 5px 30px;
    border-radius: 30px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-prev:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.testimonial .owl-nav .owl-next {
    position: absolute;
    top: -58px;
    left: 0;
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 5px 30px;
    border-radius: 30px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-next:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.testimonial-carousel .owl-dots {
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-dots .owl-dot {
    width: 30px;
    height: 30px;
    border-radius: 30px;
    margin: 20px 10px 0 10px;
    background: var(--bs-primary);
    transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 30px;
    height: 30px;
    border-radius: 30px;
    background: var(--bs-secondary);
    transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot span {
    position: relative;
    margin-top: 50%;
    margin-left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.testimonial-carousel .owl-dots .owl-dot.active span::after {
    background: var(--bs-primary);
}

.testimonial-carousel .owl-dots .owl-dot span::after {
    content: "";
    width: 15px;
    height: 15px;
    border-radius: 15px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bs-white);
    transition: 0.5s;
}


/*** Testimonial End ***/


/*** Footer Start ***/

:root {
    --bs-primary: #0d6efd;
    --bs-secondary: #102033;
    --bs-white: #ffffff;
    --bs-dark: #111827;
}

/* خود فوتر */
.footer {
    background: var(--bs-secondary);
    color: var(--bs-white);
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* جایگزین container-fluid و py-5 */
.footer.container-fluid,
.footer {
    padding: 3rem 15px;
}

/* جایگزین container */
.footer > .container {
    width: 100%;
    max-width: 1140px;
    margin-right: auto;
    margin-left: auto;
    padding: 3rem 15px;
    box-sizing: border-box;
}

/* جایگزین row و g-5 */
.footer .row {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem 0;
    margin-right: -15px;
    margin-left: -15px;
    box-sizing: border-box;
}

/* همه ستون‌های فوتر */
.footer [class*="col-"] {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    box-sizing: border-box;
}

/* موبایل: همه آیتم‌ها زیر هم */
.footer .col-md-6,
.footer .col-lg-6,
.footer .col-xl-4,
.footer .col-xl-3,
.footer .col-xl-2 {
    flex: 0 0 100%;
    max-width: 100%;
}

/* تبلت */
@media (min-width: 768px) {
    .footer .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* لپ‌تاپ */
@media (min-width: 992px) {
    .footer .col-lg-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* دسکتاپ بزرگ */
@media (min-width: 1200px) {
    .footer .col-xl-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .footer .col-xl-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .footer .col-xl-2 {
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
    }
}

/* آیتم‌های داخل فوتر */
.footer .footer-item {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.footer .footer-item h4 {
    color: var(--bs-white);
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.footer .footer-item a {
    line-height: 35px;
    color: var(--bs-white);
    text-decoration: none;
    transition: 0.3s ease;
    overflow-wrap: anywhere;
}

.footer .footer-item p {
    line-height: 35px;
    color: var(--bs-white);
    margin-top: 0;
    overflow-wrap: anywhere;
}

.footer .footer-item a:hover {
    color: var(--bs-primary);
}

/* جایگزین کلاس‌های Bootstrap که داخل فوتر استفاده کردی */
.footer .d-flex {
    display: flex;
}

.footer .flex-column {
    flex-direction: column;
}

.footer .align-items-center {
    align-items: center;
}

.footer .align-items-start {
    align-items: flex-start;
}

.footer .justify-content-end {
    justify-content: flex-end;
}

.footer .p-0 {
    padding: 0;
}

.footer .py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.footer .px-3 {
    padding-right: 1rem;
    padding-left: 1rem;
}

.footer .py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.footer .me-2,
.footer .mx-2 {
    margin-right: 0.5rem;
}

.footer .ms-2,
.footer .mx-2 {
    margin-left: 0.5rem;
}

.footer .me-3 {
    margin-right: 1rem;
}

.footer .ms-3 {
    margin-left: 1rem;
}

.footer .mb-0 {
    margin-bottom: 0;
}

.footer .mb-4 {
    margin-bottom: 1.5rem;
}

.footer .mt-0 {
    margin-top: 0;
}

.footer .text-white {
    color: var(--bs-white);
}

.footer .text-primary {
    color: var(--bs-primary);
}

.footer .bg-primary {
    background-color: var(--bs-primary);
}

.footer .bg-dark {
    background-color: var(--bs-dark);
}

.footer .bg-light {
    background-color: #f8f9fa;
}

.footer .rounded {
    border-radius: 0.375rem;
}

.footer .rounded-circle {
    border-radius: 50%;
}

/* دکمه‌های شبکه اجتماعی */
.footer .btn,
.footer .btn-md-square {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.footer .btn-md-square {
    width: 38px;
    height: 38px;
    min-width: 38px;
    padding: 0;
    line-height: 1;
}

.footer .btn-light {
    background-color: #f8f9fa;
    color: #111827;
}

.footer .btn-light:hover {
    background-color: var(--bs-primary);
    color: var(--bs-white);
}

/* عکس‌ها باعث بیرون‌زدگی نشوند */
.footer img {
    max-width: 100%;
    height: auto;
}

/* لوگو و اینماد کنار هم، ولی در موبایل جمع‌وجور */
.footer .navbar-brand img {
    max-height: 120px;
    width: auto;
}

/* دکمه‌های اپ */
.footer .bg-primary.d-flex,
.footer .bg-dark.d-flex {
    max-width: 100%;
    min-width: 0;
    align-items: center;
    justify-content: center;
}

.footer .bg-primary h1,
.footer .bg-dark h1,
.footer .bg-primary h6,
.footer .bg-dark h6,
.footer .bg-primary small,
.footer .bg-dark small {
    margin: 0;
    line-height: 1.4;
}

/* برای موبایل */
@media (max-width: 767px) {
    .footer.container-fluid,
    .footer {
        padding: 2rem 10px;
    }

    .footer > .container {
        padding: 2rem 10px;
    }

    .footer .row {
        margin-right: 0;
        margin-left: 0;
    }

    .footer [class*="col-"] {
        padding-right: 0;
        padding-left: 0;
    }

    .footer .footer-item {
        text-align: right;
    }

    .footer .footer-item p,
    .footer .footer-item a {
        line-height: 1.9;
    }

    .footer .footer-item > .d-flex,
    .footer .footer-item .d-flex {
        flex-wrap: wrap;
        gap: 8px;
    }

    .footer .bg-primary.d-flex,
    .footer .bg-dark.d-flex {
        width: 100%;
        margin-right: 0;
        margin-left: 0;
    }

    .footer .navbar-brand img {
        max-height: 90px;
    }

    .footer h1 {
        font-size: 1rem;
    }
}

/*** Footer End ***/

/*** copyright Start ***/

.copyright {
    background: var(--bs-dark);
}

.offer-section {
    overflow-x: hidden;
}

.site-logo .logo-img {
    height: 100px;
    /* اینو تغییر بده → تاثیرش رو می‌بینی */
    width: 80px;
}

.site-logo .logo-text {
    font-size: 1.6rem;
    font-weight: bold;
}
/* ===== FORCE MOBILE FIX ===== */

@media (max-width: 768px) {

    .bg-breadcrumb {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
        min-height: 180px !important;
        background-position: center top !important;
        background-size: cover !important;
    }

    .bg-breadcrumb h1,
    .bg-breadcrumb h2 {
        font-size: 18px !important;
        line-height: 1.6 !important;
        text-align: center !important;
    }

    .breadcrumb {
        font-size: 13px !important;
        justify-content: center !important;
    }
}
html{
    -webkit-text-size-adjust:100%;
}

*{
    min-width:0;
}

body{
    overflow-x:auto;
    white-space:normal;
}

/* مخفی‌سازی اولیه منو */
.navbar .dropdown-menu {
    display: none !important; /* به جای block از none استفاده می‌کنیم */
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 9999;
}

/* نمایش منو هنگام هاور */
.navbar .nav-item.dropdown:hover > .dropdown-menu {
    display: block !important;
    visibility: visible;
    opacity: 1;
    transform: rotateX(0deg);
}

.navbar {
    opacity: 1 !important;
    visibility: visible !important;
}

/* اطمینان از اینکه منو همیشه بالاترین لایه است */
.navbar {
    z-index: 9999 !important;
    position: relative;
}

/* اصلاح نمایش منوهای کشویی */
.navbar-nav .nav-item.dropdown:hover .dropdown-menu {
    visibility: visible !important;
    opacity: 1 !important;
    transform: rotateX(0deg) !important;
    display: block !important;
}

/* رفع مشکل خاص برای منوی آموزش حرفه‌ای */
.navbar .nav-item .dropdown-menu {
    display: block !important;
    visibility: hidden; /* مخفی در حالت عادی */
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 99999 !important;
}
/* مخفی کردن منو در حالت عادی */
.navbar .dropdown-menu {
    display: none !important; /* اولویت بالا برای مخفی کردن */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-top: 0 !important;
}

/* نمایش منو هنگام هاور روی والد */
.navbar .nav-item.dropdown:hover > .dropdown-menu {
    display: block !important;
    opacity: 1;
    visibility: visible;
}

/* اصلاح استایل منوهای داخلی که باعث بهم‌ریختگی شده */
.dropdown-submenu {
    position: relative;
    padding: 0.5rem 1rem;
}

.submenu-title {
    font-weight: bold;
    color: #333;
    display: block;
    margin-bottom: 5px;
}
.navbar .nav-link {
    color: #000 !important;   /* یا رنگ دلخواهت */
    opacity: 1 !important;
}

.navbar .nav-link:hover {
    color: #0d6efd !important; /* رنگ هنگام هاور */
}
.navbar .dropdown-toggle {
    color: #000 !important;
    opacity: 1 !important;
}
