﻿/* =====================================
   Rasht Bar
   Bootstrap 5.3
===================================== */

:root {
    --primary: #1f5eff;
    --secondary: #65b741;
    --dark: #202020;
    --gray: #6b7280;
    --light: #f8f9fc;
    --radius: 16px;
    --kara-primary: #AFC90A;
    --kara-dark: #363535;
    --kara-border: #eef0f2;
    --smooth: all 0.25s ease-in-out;
}

@font-face {
    font-family: 'KaraFont';
    src: url('../fonts/IRANSansXUltraLight.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'KaraFont';
    src: url('../fonts/IRANSansXRegular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'KaraFont';
    src: url('../fonts/IRANSansXMedium.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'KaraFont';
    src: url('../fonts/IRANSansXBlack.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'KaraFont', sans-serif !important;
    background-color: #fff;
    color: var(--dark);
    font-size: 14px;
    direction: rtl;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

/*=========================
HEADER
==========================*/

.main-header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 8px 30px rgba(0,0,0,.05);
}

.navbar {
    padding: 18px 0;
}

.logo-img {
    width: 100px;
}

.logo-title {
    font-size: 22px;
    font-weight: 800;
}

.logo-subtitle {
    color: #777;
}

.nav-link {
    color: #222 !important;
    font-size: 15px;
    font-weight: 600;
    padding: 15px 18px !important;
}

    .nav-link:hover {
        color: var(--primary) !important;
    }

.dropdown-menu {
    border: none;
    border-radius: 14px;
    padding: 10px;
    box-shadow: 0 15px 35px rgba(0,0,0,.12);
}

.dropdown-item {
    border-radius: 8px;
    padding: 12px;
}

    .dropdown-item:hover {
        background: var(--primary);
        color: #fff;
    }

.btn-primary {
    background: #28a745;
    border: none;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 700;
    color: #fff;
}

    .btn-primary:hover {
        background: #1e7e34;
        color: #fff;
    }
/*=========================
HERO
==========================*/

/*==================================
            HERO
==================================*/

.hero {
    position: relative;
    overflow: hidden;
}

.heroSwiper {
    width: 100%;
    height: 700px;
}

    .heroSwiper .swiper-slide {
        position: relative;
        display: flex;
        align-items: center;
    }

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: heroZoom 8s linear infinite alternate;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(0,0,0,.70) 0%, rgba(0,0,0,.45) 45%, rgba(0,0,0,.20) 100% );
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 650px;
    color: #fff;
    padding-top: 70px;
}

.hero-badge {
    display: inline-block;
    background: #74c63d;
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 25px;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 19px;
    line-height: 2;
    color: rgba(255,255,255,.9);
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-btn {
    background: #74c63d;
    color: #fff;
    border-radius: 50px;
    padding: 14px 34px;
    font-size: 17px;
    font-weight: 700;
    transition: .3s;
}

    .hero-btn:hover {
        background: #5cad2f;
        color: #fff;
        transform: translateY(-3px);
    }

.hero-btn-outline {
    border: 2px solid #fff;
    color: #fff;
    border-radius: 50px;
    padding: 14px 34px;
    font-size: 17px;
    font-weight: 700;
    transition: .3s;
}

    .hero-btn-outline:hover {
        background: #fff;
        color: #222;
    }

/* فلش ها */

.hero-next,
.hero-prev {
    width: 55px !important;
    height: 55px !important;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    backdrop-filter: blur(10px);
    color: #fff !important;
    transition: .3s;
}

    .hero-next:hover,
    .hero-prev:hover {
        background: #74c63d;
    }

    .hero-next::after,
    .hero-prev::after {
        font-size: 20px !important;
        font-weight: bold;
    }

/* دایره ها */

.hero-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #fff;
    opacity: .5;
}

.hero-pagination .swiper-pagination-bullet-active {
    width: 32px;
    border-radius: 30px;
    background: #74c63d;
    opacity: 1;
}

/* انیمیشن زوم تصویر */

@keyframes heroZoom {

    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.12);
    }
}

/* ریسپانسیو */

@media (max-width:992px) {

    .heroSwiper {
        height: 600px;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .hero-content p {
        font-size: 17px;
    }
}

@media (max-width:768px) {

    .heroSwiper {
        height: 520px;
    }

    .hero-content {
        text-align: center;
        margin: auto;
        padding-top: 30px;
    }

        .hero-content h1 {
            font-size: 30px;
        }

        .hero-content p {
            font-size: 15px;
        }

    .hero-buttons {
        justify-content: center;
    }

    .hero-next,
    .hero-prev {
        display: none;
    }
}
/*======================
SERVICES
======================*/

.services {
    background: #f7f8fc;
    padding: 90px 0;
}

.service-box {
    display: block;
    text-decoration: none;
    background: #fff;
    border-radius: 18px;
    padding: 40px 30px;
    text-align: center;
    color: #222;
    transition: .35s;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
}

    .service-box:hover {
        transform: translateY(-8px);
        color: #222;
        box-shadow: 0 20px 40px rgba(0,0,0,.10);
    }

.service-icon {
    width: 82px;
    height: 82px;
    background: #71c837;
    border-radius: 50%;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s;
}

.service-box:hover .service-icon {
    background: #1f5eff;
}

.service-icon i {
    font-size: 36px;
    color: #fff;
}

.service-box h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 18px;
}

.service-box p {
    font-size: 16px;
    line-height: 2;
    color: #666;
    margin: 0;
}
/*=========================
Training Section
=========================*/

.training-section {
    padding: 90px 0;
    background: #fff;
}

.training-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
}

.training-subtitle {
    color: #777;
    font-size: 15px;
    display: block;
    margin-bottom: 15px;
}

.training-title {
    font-size: 34px;
    font-weight: 800;
    color: #222;
    line-height: 1.8;
    margin-bottom: 20px;
}

    .training-title span {
        color: #71c837;
    }

.training-text {
    color: #666;
    line-height: 2;
    margin-bottom: 35px;
    font-size: 16px;
}

.training-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #f6f8fc;
    border-radius: 18px;
    padding: 25px;
    text-decoration: none;
    color: #222;
    transition: .35s;
}

    .training-card:hover {
        transform: translateY(-5px);
        color: #222;
        box-shadow: 0 15px 35px rgba(0,0,0,.08);
    }

.training-icon {
    width: 65px;
    height: 65px;
    background: #1f5eff;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 30px;
}

.training-content h5 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.training-content small {
    color: #777;
    font-size: 14px;
}

.all-training {
    color: #1f5eff;
    text-decoration: none;
    font-weight: 700;
}

    .all-training:hover {
        color: #71c837;
    }
/*=========================
FAQ
=========================*/

.faq-section {
    background: #f8f9fc;
    padding: 90px 0;
}

.faq-header h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 15px;
}

.faq-header p {
    color: #777;
    font-size: 16px;
}

.accordion-item {
    border: none;
    background: transparent;
    margin-bottom: 18px;
}

.accordion-button {
    background: #fff;
    border: 1px solid #71c837;
    border-radius: 15px !important;
    font-size: 20px;
    font-weight: 700;
    padding: 25px;
    box-shadow: none !important;
}

    .accordion-button:not(.collapsed) {
        background: #71c837;
        color: #fff;
    }

    .accordion-button::after {
        display: none;
    }

    .accordion-button::before {
        content: "+";
        font-size: 40px;
        margin-left: 15px;
        color: #222;
    }

    .accordion-button:not(.collapsed)::before {
        content: "−";
        color: #fff;
    }

.accordion-body {
    background: #fff;
    border: 1px solid #71c837;
    border-top: none;
    border-radius: 0 0 15px 15px;
    line-height: 2;
    color: #555;
    padding: 25px;
}
/*==================================
            CALL BOX
===================================*/

.call-section {
    background: #fff;
    padding: 30px 0 45px;
}

.call-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    min-width: 290px;
    border-radius: 10px;
    background: #73c63d;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    overflow: hidden;
    transition: .35s;
    z-index: 1;
}

    .call-btn span,
    .call-btn i {
        position: relative;
        z-index: 2;
    }

    .call-btn i {
        font-size: 18px;
    }

    /* انیمیشن سبز */

    .call-btn::before {
        content: "";
        position: absolute;
        top: -100%;
        left: 0;
        width: 100%;
        height: 100%;
        background: #4fa72d;
        transition: .4s ease-in-out;
        z-index: 1;
    }

    .call-btn:hover::before {
        top: 0;
    }

    .call-btn:hover {
        color: #fff;
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(79,167,45,.35);
    }
/*=========================================
        TESTIMONIAL SECTION
=========================================*/

.testimonial-section {
    padding: 90px 0;
    background: #fff8ea;
}

.section-title h2 {
    font-size: 40px;
    font-weight: 800;
    color: #222;
    margin-bottom: 15px;
}

.section-title p {
    color: #777;
    font-size: 17px;
    margin-bottom: 40px;
}

/*==========================
      Card
==========================*/

.testimonial-card {
    background: #fff;
    border-radius: 18px;
    padding: 35px 30px;
    text-align: center;
    box-shadow: 0 10px 35px rgba(0,0,0,.08);
    position: relative;
    transition: .35s;
    height: 100%;
}

    .testimonial-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 18px 45px rgba(0,0,0,.12);
    }

    /* فلش پایین باکس */

    .testimonial-card::after {
        content: "";
        position: absolute;
        bottom: -12px;
        left: 50%;
        transform: translateX(-50%) rotate(45deg);
        width: 24px;
        height: 24px;
        background: #fff;
    }

    /* متن */

    .testimonial-card p {
        font-size: 16px;
        color: #555;
        line-height: 2.1;
        margin-bottom: 30px;
    }

/* اسم */

.testimonial-user h5 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #222;
}

/* شهر */

.testimonial-user span {
    color: #888;
    font-size: 15px;
}

/*==========================
      فلش های اسلایدر
==========================*/

.carousel-control-prev {
    width: 55px;
    left: -70px;
}

.carousel-control-next {
    width: 55px;
    right: -70px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #74c63d;
    border-radius: 50%;
    padding: 18px;
}

/*==========================
      نقطه ها
==========================*/

.carousel-indicators {
    margin-top: 45px;
}

    .carousel-indicators button {
        width: 12px !important;
        height: 12px !important;
        border-radius: 50%;
        background: #74c63d !important;
        opacity: .4;
    }

    .carousel-indicators .active {
        opacity: 1;
    }

/*==========================
      Responsive
==========================*/

@media(max-width:991px) {

    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }

    .section-title h2 {
        font-size: 30px;
    }

    .testimonial-card {
        margin-bottom: 20px;
    }
}
/*==================================
      TESTIMONIALS
===================================*/
/*==============================
    Testimonials
==============================*/

.testimonial-section {
    padding: 90px 0;
    background: #fff8ea;
}

.section-title h2 {
    font-size: 38px;
    font-weight: 800;
    color: #222;
}

.section-title p {
    color: #777;
    margin-top: 10px;
}

.testimonialSwiper {
    width: 100%;
    padding: 20px 5px 70px;
}

.swiper-slide {
    height: auto;
}

.testimonial-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    transition: .35s;
    height: 100%;
}

    .testimonial-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 18px 45px rgba(0,0,0,.15);
    }

.stars {
    font-size: 22px;
    color: #ffc107;
    margin-bottom: 18px;
}

.testimonial-card p {
    color: #555;
    line-height: 2;
    font-size: 15px;
    min-height: 120px;
}

.user {
    display: flex;
    align-items: center;
    margin-top: 25px;
}

    .user img {
        width: 90px;
        height:90px;
        border-radius: 50%;
        object-fit: cover;
        margin-left: 15px;
        border: 3px solid #74c63d;
    }

    .user h5 {
        margin: 0;
        font-size: 18px;
        font-weight: 700;
    }

    .user span {
        color: #888;
        font-size: 14px;
    }

/* فلش ها */

.swiper-button-next,
.swiper-button-prev {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #74c63d;
    color: #fff;
}

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 18px;
        font-weight: bold;
    }

/* دایره ها */

.swiper-pagination {
    margin-top: 30px;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #74c63d;
    opacity: .35;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

/* موبایل */

@media(max-width:768px) {

    .testimonial-card {
        padding: 25px;
    }

    .section-title h2 {
        font-size: 30px;
    }
}
html {
    scroll-behavior: smooth;
}
.hero-card {
    display: block;
    color: inherit;
}

    .hero-card:hover {
        color: inherit;
        text-decoration: none;
    }
/*==========================
        BLOG SECTION
==========================*/

.blog-section {
    padding: 90px 0;
    background: #fff;
}

.blog-title {
    font-size: 38px;
    font-weight: 800;
    color: #222;
    margin: 0;
}

.blog-more {
    color: #4d6fff;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
}

    .blog-more:hover {
        color: #74c63d;
    }

.blogSwiper {
    padding: 15px 5px 70px;
}

.blog-card {
    display: block;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
    transition: .35s;
    color: #222;
    height: 100%;
}

    .blog-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 45px rgba(0,0,0,.15);
    }

.blog-image {
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: .5s;
}

.blog-card:hover .blog-image {
    transform: scale(1.05);
}

.blog-content {
    padding: 22px;
}

    .blog-content h4 {
        font-size: 24px;
        font-weight: 700;
        line-height: 1.8;
        color: #222;
        margin-bottom: 15px;
    }

.blog-phone {
    color: #ff0055;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 15px;
}

    .blog-phone i {
        margin-left: 5px;
    }

.blog-content p {
    color: #666;
    font-size: 15px;
    line-height: 2;
    margin-bottom: 20px;
}

.blog-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

    .blog-tags span {
        background: #f4f6fb;
        color: #5f6f82;
        border-radius: 8px;
        padding: 8px 14px;
        font-size: 13px;
        transition: .3s;
    }

        .blog-tags span:hover {
            background: #74c63d;
            color: #fff;
        }

/*==========================
      Swiper Buttons
==========================*/

.blog-next,
.blog-prev {
    width: 46px !important;
    height: 46px !important;
    background: #74c63d;
    border-radius: 50%;
    color: #fff !important;
    transition: .3s;
}

    .blog-next:hover,
    .blog-prev:hover {
        background: #59a92b;
    }

    .blog-next::after,
    .blog-prev::after {
        font-size: 30px !important;
        font-weight: bold;
    }

.blog-pagination .swiper-pagination-bullet {
    width: 11px;
    height: 11px;
    background: #74c63d;
    opacity: .35;
}

.blog-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    width: 26px;
    border-radius: 20px;
}

/*==========================
      Responsive
==========================*/

@media(max-width:992px) {

    .blog-title {
        font-size: 30px;
    }

    .blog-image {
        height: 210px;
    }

    .blog-content h4 {
        font-size: 20px;
    }
}

@media(max-width:768px) {

    .blog-title {
        font-size: 26px;
    }

    .blog-image {
        height: 190px;
    }

    .blog-content {
        padding: 18px;
    }

        .blog-content h4 {
            font-size: 18px;
        }

    .blog-phone {
        font-size: 15px;
    }

    .blog-content p {
        font-size: 14px;
    }

    .blog-next,
    .blog-prev {
        display: none;
    }
}
/*==========================
        FOOTER
==========================*/

.footer {
    background: #fff;
    padding: 90px 0 35px;
    border-top: 1px solid #f0f0f0;
}

.footer-title {
    font-size: 34px;
    font-weight: 800;
    color: #222;
    margin-bottom: 20px;
}

.footer-text {
    color: #666;
    line-height: 2.3;
    font-size: 16px;
    text-align: justify;
}

.footer-heading {
    font-size: 24px;
    font-weight: 700;
    color: #222;
    margin-bottom: 25px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li {
        margin-bottom: 16px;
    }

    .footer-links a {
        color: #666;
        text-decoration: none;
        transition: .3s;
        font-size: 16px;
    }

        .footer-links a:hover {
            color: #74c63d;
            padding-right: 8px;
        }

.footer-line {
    margin: 60px 0 30px;
    border: 0;
    border-top: 2px dashed #e5d3d3;
}

.footer-copy {
    text-align: center;
    font-size: 15px;
    color: #666;
}

.footer-copy strong {
        color: #222;
    }
.copyright-area {
    font-size: 14px;
    color: #666;
}
.rtlRight {
    text-align: right !important;
    direction: rtl;
}
copyright {
    color: #b6b2b2;
    padding-top: 0px;
    border-top: 0px;
}

    copyright a {
        color: #888 !important;
    }

        copyright a:hover {
            color: #558517;
            text-decoration: underline;
        }

.copyright-section {
    background-color: #575757;
    padding: 0px;
    padding-left: 60px;
    padding-right: 80px;
    font-size: 11px;
    letter-spacing: 0.5px;
    border-top: 1px solid rgba(255,255,255,.06);
}

    .copyright-section p {
        color: #fff;
        font-size: 11px;
        text-transform: uppercase;
    }


ul.copyright-nav {
    float: right;
}

    ul.copyright-nav li {
        display: inline-block;
        float: left;
        margin-left: 15px;
    }

        ul.copyright-nav li:first-child {
            margin-left: 0;
        }

        ul.copyright-nav li a {
            display: inline-block;
            text-transform: uppercase;
            text-decoration: none;
            transition: all 0.2s ease-in-out;
            -moz-transition: all 0.2s ease-in-out;
            -webkit-transition: all 0.2s ease-in-out;
            -o-transition: all 0.2s ease-in-out;
        }

            ul.copyright-nav li a:hover {
                color: #666;
            }


/*==========================
      Responsive
==========================*/

@media(max-width:992px) {

    .footer {
        text-align: center;
    }

    .footer-text {
        text-align: center;
    }

    .footer-title {
        font-size: 30px;
    }

    .footer-heading {
        margin-top: 25px;
    }

    .footer-links a:hover {
        padding-right: 0;
    }
}

@media(max-width:768px) {

    .footer {
        padding: 70px 0 25px;
    }

    .footer-title {
        font-size: 26px;
    }

    .footer-heading {
        font-size: 22px;
    }

    .footer-text {
        font-size: 15px;
        line-height: 2;
    }

    .footer-links li {
        margin-bottom: 12px;
    }

    .footer-links a {
        font-size: 15px;
    }

    .footer-line {
        margin: 40px 0 20px;
    }

    .footer-copy {
        font-size: 14px;
    }
}
.floatRight {
    float: right !important;
}

.rtlRight {
    text-align: right !important;
    direction: rtl;
}

.ltrLeft {
    text-align: left !important;
    direction: ltr;
}

.Right {
    text-align: right !important;
}

.Left {
    text-align: left !important;
}


/* ================= استایل صفحه‌بندی سفارشی ================= */

/* جای‌گیری نشانگرها در بالا سمت چپ (چپ‌چین برای صفحات RTL) */
.custom-indicators {
    position: absolute;
    top: -15px; /* فاصله از بالای بخش */
    left: 15px; /* چسبیده به سمت چپ */
    right: auto; /* غیرفعال کردن حالت پیش‌فرض بوت‌استرپ */
    bottom: auto; /* غیرفعال کردن حالت پیش‌فرض بوت‌استرپ */
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px; /* فاصله بین نقطه‌ها */
    z-index: 10;
}

    .custom-indicators button {
        width: 12px !important;
        height: 12px !important;
        border-radius: 50% !important; /* تبدیل به دایره کامل */
        background-color: #24606C !important; /* رنگ تم شما */
        opacity: 0.35;
        border: none !important;
        transition: all 0.3s ease-in-out !important;
        padding: 0 !important;
    }

        .custom-indicators button.active {
            width: 30px !important; /* عریض‌تر شدن برای شکل بیضی */
            height: 12px !important;
            border-radius: 10px !important; /* شکل بیضی کپسولی */
            opacity: 1;
            background-color: #24606C !important;
        }

        .custom-indicators button:hover {
            opacity: 0.75;
        }
/* استایل کامنت‌ها */
.comment-item-box p {
    color: #5a6578;
}