.body {
    direction: rtl;
}
.custom-bg1 {
    background-image: url(/frontend/img/backgroundNumber1.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.11);
    background-blend-mode: multiply;
}

.faq-section {
    border: 1px solid #00000025;
    border-radius: 8px;
    padding: 20px;
    max-width: 850px;
    margin: auto;
}

h2 {
    color: #cdac68;
    text-align: center;
}

.question-container {
    background-color: #fff;
    margin: 10px 0;
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    font-size: 18px;
}

.question-header {
    display: flex;
    align-items: center;
}

.question-header::before {
    font-size: 16px;
    margin-left: 10px;
    transition: transform 0.3s ease;
    top: 50%;
}

.arrow {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-left: 10px;

    font-size: 16px;
    transition: transform 0.3s ease;
}

.question-container.active .arrow {
    transform: rotate(180deg);
}

.question-header:hover {
    color: #4caf50;
    background-color: #f9f9f9;
}

.question-header {
    font-weight: 700;
}

.answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.5s ease;
    margin-top: 4px;
    padding: 0 10px;
    background-color: #f1f1f1;
    border-radius: 5px;
}

.answer.show {
    opacity: 1;
    padding: 10px;
    margin-top: 30px;
}

.hidden {
    display: none;
}

.show-more,
.hide-more {
    display: block;
    background-color: #004d40;
    color: white;
    text-align: center;
    padding: 10px;
    margin: 20px auto;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 150px;
}

.show-more:hover,
.hide-more:hover {
    background-color: #00796b;
}

.hide-more {
    display: none;
}

/* test effect keyboard */
.typewriter {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 21px;
    visibility: hidden;
    text-align: center;
}

.blinking-cursor {
    font-weight: bold;
    font-size: 24px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.custom-card {
    background-color: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 390px;
    box-shadow: 8px 12px 12px rgba(0, 0, 0, 0.1),
        4px 4px 8px rgba(0, 0, 0, 0.06);
    border: 1.5px solid #79a1a2;
}

.custom-card:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.more-highet {
    min-height: 450px;
}

.custom-hr {
    border: none;
    height: 2px;
    background-color: #004d40;
    width: 50%;
    margin: 20px auto;
    display: block;
}
.card {
    overflow: hidden;
}

.card-img-top {
    transition: transform 0.5s ease;
    height: 210px;
}

.card:hover .card-img-top {
    transform: scale(1.07);
}

.cardcolor {
    background-color: #00000007;
}

.content-section {
    padding: 40px;
    position: relative;
}

.content-section h2 {
    color: #6bbf47;
    font-weight: bold;
    font-size: 1.5rem;
}

.content-section p {
    font-size: 1rem;
    line-height: 1.8;
}

.gear-icon {
    animation: rotate 8s linear infinite;
    background: transparent;
    max-width: 70px;
    height: auto;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.text-gold {
    color: #cdac67 !important;
}
.bg-primary {
    background-color: #5f9394 !important;
}

.h_iframe-aparat_embed_frame {
    cursor: pointer;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.h_iframe-aparat_embed_frame .ratio {
    display: block;
    width: 100%;
    height: auto;
}

.h_iframe-aparat_embed_frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
}

.h_iframe-aparat_embed_frame::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent; /* اطمینان از شفاف بودن لایه */
    z-index: 2; /* اگر نیازی به لایه باشد */
}

@media (max-width: 990px) {
    .respansive-width {
        display: flex;
        justify-content: center;
    }

    .h_iframe-aparat_embed_frame {
        display: flex;
        justify-content: center;
        position: relative;
        border-radius: 15px;
        overflow: hidden;
        width: 100%;
    }
}

textarea.form-control {
    height: 160px;
    padding-top: 15px;
    resize: none;
}
.cursor-pointer {
    cursor: pointer;
}
input[type="checkbox"] {
    accent-color: #5f9394;
    transform: scale(1.5);
    margin-left: 11px;
}
.btn-decolaration {
    text-decoration: none;
    color: #292424;
}

.card.p-4.col-md-9.mx-auto {
    /* background-color: #79a1a2; */
    color: black;
}

/* .custom-card {
    border: 2px solid #79a1a2;
} */

.image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    width: 100%;
    height: 60vh;
    margin: 0 auto;
    overflow: hidden;
}

.content-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(30%);
    font-weight: bold;
    z-index: 1;
    font-size: calc(16px + 0.3vw) !important;
}

.overlay-text {
    position: relative;
    width: 100%;
    color: white;
    text-align: right;
    font-size: 16px;
    font-weight: bold;
    padding: 10px;
    z-index: 2;
}

@media (max-width: 768px) {
    .image-container {
        height: 40vh;
        margin-bottom: 0;
    }

    .overlay-text {
        font-size: 14px;
    }
}

.card-product {
    position: relative;
    width: 100%;
    max-width: 300px;
    padding: 20px;
    text-align: center;
    background-color: #f1f1f1;
    border-radius: 8px;
    z-index: 2;
    height: auto;
    margin: 0 auto;
}
.card-product .price {
    font-size: 24px;
    color: #ff6600;
    font-weight: bold;
    margin: 10px 0;
}

.access-info {
    color: #ffcc00;
    font-weight: bold;
}

.underline-dotted {
    border-bottom: 1px dotted #292424;
    padding-bottom: 5px;
    display: block;
    text-align: center;
}

/* ویدیو اول صفجه */
.h_iframe-aparat_embed_frame_V1 {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.h_iframe-aparat_embed_frame_V1 .ratio {
    display: block;
    width: 100%;
    height: auto;
}

.h_iframe-aparat_embed_frame_V1 iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
}

.center-items {
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-red {
    background-color: red;
}
.direct-rtl {
    direction: rtl;
}
h3 {
    font-size: calc(20px + 0.2vw);
    margin: auto;
}

.btn-nazarat {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    color: #ac8230;
    border: 2px solid #ceab70;
    border-radius: 25px;
    background-color: transparent;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-nazarat:hover {
    color: white;
    background-color: #969696;
    border-color: #969696;
}

@media (max-width: 990px) {
    .order {
        order: 1;
    }
}

.video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    top: 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.lazy-load {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 2s ease, transform 2s ease;
}

.lazy-load.visible {
    opacity: 1;
    transform: translateY(0);
}

.video-section-1 {
    background-color: #f1f5f975;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0;
    align-items: center;
}

.text-section-1 {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    padding: 5px;
    background-color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.text-section-1:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 4px 8px rgba(0, 0, 0, 0.1);
}

.hero-text h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-text p {
    margin: 30px 0;
    font-size: 1rem;
    color: #555;
}

.text-gold {
    color: #d7b979;
}

.ul-class {
    text-align: right;
    font-size: 1rem;
    color: #555;
    border: none;
    line-height: 2;
    margin: 0px 20px 0 0;
}

ul li {
    margin-bottom: 6px;
}

.hidden-videos {
    display: none;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.overlay:hover {
    background: rgba(0, 0, 0, 0.3);
}

.resposive-margin {
    margin: 1.5rem;
}
@media (max-width: 1000px) {
    .resposive-margin {
        margin: 0px;
    }
}

.custom-btn {
    width: 122px;
}
.card {
    border-radius: 20px;
    box-shadow: 12px 12px 12px rgba(0, 0, 0, 0.1),
        4px 4px 8px rgba(0, 0, 0, 0.06);
}
.text-gold {
    color: #816222;
}

.info-pin-text {
    position: absolute;
    top: 18px;
    background: darkslategrey;
    color: #fff;
    text-align: center;
    padding: 14px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: bold;
    left: 50%; /* موقعیت وسط */
    transform: translate(-50%, -50%);
    z-index: 1;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}

/* هدر سکشن بالای صفحه */

@media (max-width: 600px) {
    .hero-section {
        position: relative;
        background-image: url("/frontend/img/freepik_edit-empty-white-1.png");
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        min-height: 78vw;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        align-items: flex-start;
    }
    .hero-content {
        color: #292424; /* رنگ متن */

        border-radius: 10px;
        margin-top: 0;
    }

    .hero-buttons-mobile {
        position: absolute;
        left: 7%;
        top: 60%;
        transform: translateY(-50%);
        display: flex;
        flex-direction: column;
        gap: 10px;
        z-index: 2;
    }

    .text-container2-mobile {
        position: absolute;
        top: 63.5%;
        right: 8%;
        transform: translateY(-50%);
        display: flex;
        flex-direction: column;
        gap: 10px;
        z-index: 2;
    }
    .font-text {
        font-size: 16px;
    }
    .text-container2-pc {
        display: none;
    }
    .hero-buttons-pc {
        display: none;
    }
    .display-none {
        display: none !important;
    }
}

/* رسپانسیو کامپیوتر */
@media (min-width: 601px) {
    .hero-content {
        color: #292424;
        font-size: 2rem;
        margin-bottom: 50px;
    }

    .hero-buttons-mobile {
        display: none;
    }

    .text-container2-mobile {
        display: none;
    }

    .font-text {
        font-size: 23px;
        line-height: 1.6;
    }

    .text-container2-pc {
    }
    .hero-buttons-pc {
    }
    .custom-btn {
        width: 140px;
    }
}

@media (max-width: 1000px) {
    .height-mobile {
        height: 90% !important;
        margin-top: 25px !important;
        margin-top: 100px;
    }
    .display-none {
        display: none !important;
    }
}

@media (min-width: 1001px) {
    #download-app-btn {
        display: none !important;
    }
}

@media (max-width: 1000px) {
    .height-mobile {
        height: 90% !important;
        margin-top: 25px !important;
    }
    .resposive-margin {
        margin: 0px;
    }
}

@media (min-width: 601px) and (max-width: 999px) {
    .height-mobile {
        height: 90% !important;
        margin-top: 25px !important;
    }
    .resposive-margin {
        margin: 0px;
}
.display-none {
    display: block !important;
}
}

@media (max-width: 1000px) {
    #download-app-btn {
        display: none;
        position: fixed;
        bottom: 63px;
        right: 15px;
        z-index: 1100;
        background-color: #ff5722;
        color: #fff;
        padding: 13px 11px;
        border: none;
        border-radius: 5px;
        font-size: 18px;
        cursor: pointer;
        font-weight: bold;
        opacity: 0;
        transition: opacity 0.5s ease-in-out;
    }
}

body,
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.7 !important;
}


.video-overlay1 {
    position: relative;
    display: inline-block;
    margin: 0 auto;
  }

  .video-overlay1 img {
    display: block;
    margin: 0 auto;
  }

  .video-play-btn1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
  }

  .video-play-btn1:hover {
    background: rgba(0, 0, 0, 0.7);
  }

