/* web-id.ir brand palette */
:root {
    --webid-navy: #152d5e;
    --webid-navy-dark: #0b2161;
    --webid-cyan: #00e5ff;
    --webid-black: #000000;
    --font-sans: 'IRANYekanX', Tahoma, sans-serif;
}

html,
html[dir="rtl"] body,
body,
h1, h2, h3, h4, h5, h6,
p, a, li, span, div,
input, textarea, select, button,
.navbar-nav a,
.btn,
.form-control {
    font-family: var(--font-sans);
}

.fa,
[class^="fa-"],
[class*=" fa-"],
.glyphicon {
    font-family: 'FontAwesome' !important;
}

html[dir="rtl"] body {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .navbar-nav {
    float: right;
}

html[dir="rtl"] .navbar-nav > li {
    float: right;
}

html[dir="rtl"] .intro_text {
    text-align: right;
}

html[dir="rtl"] .section-header.heading_style4 h2,
html[dir="rtl"] .construction-module,
html[dir="rtl"] .why-choose-content,
html[dir="rtl"] .how-work-content,
html[dir="rtl"] .price-table-list,
html[dir="rtl"] .app-feature-preview h3,
html[dir="rtl"] .app-feature-preview > .row > [class*="col-"]:first-child p {
    text-align: right;
}

html[dir="rtl"] .heading_style4 h2::after {
    left: auto;
    right: 0;
    margin-left: 0;
}

html[dir="rtl"] .heading_style4.center h2::after {
    left: 50%;
    right: auto;
    margin-left: -65px;
    margin-right: 0;
}

html[dir="rtl"] .list-style-none li span {
    margin-left: 15px;
    margin-right: 0;
}

html[dir="rtl"] .footer_bottom .row {
    direction: rtl;
}

html[dir="rtl"] .social_group {
    text-align: left;
}

html[dir="rtl"] .search_cart_panel {
    text-align: left;
}

html[dir="rtl"] .mobile-pic {
    left: auto;
    right: 0;
}

html[dir="rtl"] .intro_wrap {
    text-align: right;
}

html[dir="rtl"] .navbar-header .logo {
    text-align: right;
}

.navbar-header .logo a {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.navbar-header .logo a:hover,
.navbar-header .logo a:focus {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(0, 229, 255, 0.35);
}

.navbar-header .logo img {
    display: block;
    height: 48px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

#header.sticky .navbar-header .logo img,
.navbar.navbar-default.affix .logo img {
    height: 42px;
}

#header.sticky .navbar-header .logo a,
.navbar.navbar-default.affix .navbar-header .logo a {
    padding: 5px 10px;
}

@media (min-width: 768px) {
    html[dir="rtl"] .col-md-3 .navbar-header {
        float: right;
    }
}

/* ===== Hero (banner) ===== */
#intro.intro-app-landing {
    background-color: #0b2161;
    background-image:
        url(../images/hero-texture.png),
        linear-gradient(135deg, #0b2161 0%, #152d5e 55%, #000000 100%);
    background-size: 512px 512px, cover;
    background-repeat: repeat, no-repeat;
    background-position: center;
    overflow: visible;
}

#intro.intro-app-landing h2,
#intro.intro-app-landing p {
    color: #fff;
}

#intro.intro-app-landing p {
    opacity: .9;
}

#intro.intro-app-landing .intro-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    /* min-height: calc(100vh - 80px); */
    padding: 100px 0 60px;
}

#intro.intro-app-landing .intro_wrap {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    margin: 0;
    max-width: none;
    transform: none;
    flex: 0 1 560px;
    z-index: 1;
}

#intro.intro-app-landing .intro_text {
    max-width: 560px;
}

#intro.intro-app-landing .mobile-pic {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    margin: 0;
    transform: none;
    flex: 0 1 450px;
    z-index: 2;
}

#intro.intro-app-landing .mobile-pic img {
    display: block;
    width: 100%;
    max-width: 450px;
    height: auto;
    margin-inline: auto;
}

@media (max-width: 991px) {
    #intro.intro-app-landing {
        height: auto;
        min-height: 0;
    }

    #intro.intro-app-landing .intro-hero {
        flex-direction: column;
        min-height: 0;
        padding: 90px 0 48px;
        text-align: center;
    }

    #intro.intro-app-landing .intro_wrap,
    #intro.intro-app-landing .intro_text {
        max-width: 100%;
    }

    html[dir="rtl"] #intro.intro-app-landing .intro_text {
        text-align: center;
    }

    #intro.intro-app-landing .mobile-pic {
        flex-basis: auto;
        width: 100%;
    }

    #intro.intro-app-landing .mobile-pic img {
        max-width: 300px;
    }
}

/* ===== Pricing — price text no longer fits the original fixed-size circle ===== */
.pricing-lead {
    margin-top: 12px;
    font-size: 16px;
    color: #666;
}

.pricing-panel {
    position: relative;
}

.pricing-panel--featured {
    box-shadow: 0 8px 28px rgba(21, 45, 94, 0.15);
}

.pricing-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: #00e5ff;
    color: #152d5e;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
}

html[dir="rtl"] .pricing-badge {
    left: auto;
    right: 12px;
}

.price-period {
    margin-top: 10px;
    font-size: 13px;
    color: #fff;
    opacity: .85;
}

.price-pic:before{
	background:rgba(0,0,0,0.4);
}

.price-pic span {
    font-size: 38px;
    line-height: 1.2;
    width: auto;
    height: auto;
    min-width: 140px;
    min-height: 140px;
    padding: 24px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
	background:rgba(255,255,255,0.4);
	color:#111;
}

/* ===== CTA (download-app) ===== */
.download-app {
    position: relative;
    overflow: hidden;
}

.download-app__media {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 10px;
}

.download-app__pic {
    display: block;
    width: 100%;
    max-width: 790px;
    height: auto;
    aspect-ratio: 790 / 540;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(17, 17, 17, 0.12);
}

@media (min-width: 992px) {
    html[dir="rtl"] .download-app__media {
        justify-content: flex-start;
    }

    html[dir="ltr"] .download-app__media {
        justify-content: flex-end;
    }

    .download-app__pic {
        max-width: 100%;
    }
}

@media (max-width: 991px) {
    /* Hide ::before on CTA — style.css adds a dark overlay here; texture stays off on small screens */
    .download-app.marketing-section-bg::before {
        display: none !important;
    }

    .download-app.marketing-section-bg .container {
        color: inherit;
    }

    .download-app.marketing-section-bg .heading_style4 h2 {
        color: inherit;
    }

    .download-app.marketing-section-bg .heading_style4 h2::after {
        background: #3f73d1;
    }

    .download-app__media {
        margin-top: 30px;
    }
}

html[dir="rtl"] .download-app p {
    padding-right: 0;
    padding-left: 20px;
}

/* ===== Contact footer background ===== */
.footer-app-panel {
    background-image: url(../images/contact-bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (max-width: 991px) {
    .parallex-bg {
        background-attachment: scroll;
    }
}

/* ===== Decorative connector triangles — mirror direction for RTL (flex-reversed columns) ===== */
html[dir="rtl"] .why-choose-content::after {
    right: auto;
    left: -38px;
    border-left: none;
    border-right: 40px solid #fff;
}

html[dir="rtl"] .how-work-content::before {
    left: auto;
    right: -38px;
    border-right: none;
    border-left: 40px solid #fff;
}

/* ===== About & Video — shared parallax background ===== */
.why-choose-bg::before,
.how-work-video-bg::before {
    background-image: url(../images/about-parallax.jpg);
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
}

.why-choose-bg .dark-overlay,
.how-work-video-bg .dark-overlay {
    background: linear-gradient(
        135deg,
        rgba(11, 33, 97, 0.82) 0%,
        rgba(21, 45, 94, 0.72) 55%,
        rgba(0, 0, 0, 0.65) 100%
    );
}

@media (max-width: 991px) {
    .why-choose-bg::before,
    .how-work-video-bg::before {
        background-attachment: scroll;
        background-position: center 30%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .why-choose-bg::before,
    .how-work-video-bg::before {
        background-attachment: scroll;
    }
}

/* ===== Features (choose) — layout variant 5: Tab + mockup ===== */
.app-feature-tabs {
    background: linear-gradient(180deg, #ffffff 0%, #f4f8fc 100%);
}

.app-feature-tabs.section-padding {
    padding-top: 56px;
    padding-bottom: 56px;
}

.app-feature-tabs-panel {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(21, 45, 94, 0.06);
    overflow: hidden;
}

.app-feature-tab-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin: 0;
    padding: 1rem 1rem 0;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
    float: none;
}

.app-feature-tab-nav > li {
    float: none;
    margin: 0;
}

.app-feature-tab-nav > li > a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.65rem 1rem;
    margin: 0;
    border: 1px solid transparent;
    border-radius: 10px 10px 0 0;
    background: transparent;
    color: #475569;
    font-size: 14px;
    line-height: 1.4;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.app-feature-tab-nav > li > a img {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    object-fit: contain;
    opacity: 0.85;
}

.app-feature-tab-nav > li > a:hover,
.app-feature-tab-nav > li > a:focus {
    background: #ffffff;
    color: var(--webid-navy);
    border-color: #e2e8f0;
    border-bottom-color: #ffffff;
}

.app-feature-tab-nav > li.active > a,
.app-feature-tab-nav > li.active > a:hover,
.app-feature-tab-nav > li.active > a:focus {
    background: #ffffff;
    color: var(--webid-navy);
    border-color: #e2e8f0;
    border-bottom-color: #ffffff;
    box-shadow: inset 0 -2px 0 var(--webid-cyan);
}

.app-feature-tab-content {
    padding: 1.5rem 1.5rem 1.25rem;
}

.app-feature-tab-pane-row {
    display: flex;
    align-items: center;
}

.app-feature-tab-content h3 {
    margin: 0 0 0.75rem;
    font-size: 1.3rem;
    color: var(--webid-navy);
}

.app-feature-tab-lead {
    margin-bottom: 0.65rem;
    font-size: 15px;
    font-weight: 600;
    color: #334155;
    line-height: 1.7;
}

.app-feature-tab-detail {
    margin-bottom: 0;
    color: #64748b;
    line-height: 1.8;
}

.app-feature-tab-figure {
    margin: 0;
    text-align: center;
}

.app-feature-tab-figure img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

html[dir="rtl"] .app-feature-tab-content h3,
html[dir="rtl"] .app-feature-tab-lead,
html[dir="rtl"] .app-feature-tab-detail {
    text-align: right;
}

html[dir="rtl"] .app-feature-tab-nav {
    float: none;
}

@media (max-width: 991px) {
    .app-feature-tab-nav {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .app-feature-tab-nav > li > a {
        white-space: nowrap;
        border-radius: 10px;
    }

    .app-feature-tab-nav > li.active > a,
    .app-feature-tab-nav > li.active > a:hover,
    .app-feature-tab-nav > li.active > a:focus {
        border-bottom-color: #e2e8f0;
        box-shadow: inset 0 -2px 0 var(--webid-cyan);
    }

    .app-feature-tab-pane-row > [class*="col-"]:first-child {
        margin-bottom: 1.25rem;
    }
}

@media (max-width: 767px) {
    .app-feature-tabs.section-padding {
        padding-top: 44px;
        padding-bottom: 44px;
    }

    .app-feature-tab-content {
        padding: 1.15rem 1rem 1rem;
    }
}

/* ===== Shared soft brand section background ===== */
.marketing-section-bg {
    position: relative;
    isolation: isolate;
    background-color: #eef4fa;
    background-image:
        radial-gradient(ellipse 75% 55% at 12% 0%, rgba(0, 229, 255, 0.14) 0%, transparent 58%),
        radial-gradient(ellipse 65% 45% at 88% 100%, rgba(21, 45, 94, 0.1) 0%, transparent 52%),
        linear-gradient(180deg, #f9fbfe 0%, #eef4fa 48%, #e6eef7 100%);
    overflow: hidden;
}

.marketing-section-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: transparent !important;
    background-image: url(../images/hero-texture.png);
    background-size: 420px 420px;
    background-position: center;
    opacity: 0.055;
    pointer-events: none;
}

.marketing-section-bg::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.35), transparent);
    pointer-events: none;
}

.marketing-section-bg > .container {
    position: relative;
    z-index: 1;
}

/* ===== Features (choose) — layout variant 4: Bento grid ===== */
.app-feature-bento.section-padding {
    padding-top: 56px;
    padding-bottom: 56px;
}

.app-feature-intro {
    max-width: 38rem;
    margin: 0 auto 1.5rem;
    text-align: center;
    color: #475569;
    line-height: 1.75;
}

.app-feature-bento-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, 1.35fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.app-feature-bento-card {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    width: 100%;
    padding: 1.35rem 1.25rem;
    text-align: inherit;
    font: inherit;
    color: inherit;
    background: rgba(255, 255, 255, 0.92);
    border: 2px solid rgba(226, 232, 240, 0.95);
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(21, 45, 94, 0.06);
    cursor: pointer;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.2s ease, background 0.25s ease;
}

.app-feature-bento-card:hover {
    border-color: rgba(0, 229, 255, 0.55);
    box-shadow: 0 8px 20px rgba(21, 45, 94, 0.08);
    transform: translateY(-1px);
}

.app-feature-bento-card.is-active {
    border-color: var(--webid-cyan);
    box-shadow: 0 10px 24px rgba(0, 229, 255, 0.14);
    background: linear-gradient(180deg, #ffffff 0%, #f0fdff 100%);
}

.app-feature-bento-card:focus {
    outline: none;
}

.app-feature-bento-card:focus-visible {
    outline: 2px solid var(--webid-cyan);
    outline-offset: 2px;
}

.app-feature-bento-card-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.app-feature-bento-card-head img {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.app-feature-bento-card-title {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--webid-navy);
    line-height: 1.45;
}

.app-feature-bento-card-text {
    display: block;
    font-size: 15px;
    line-height: 1.7;
    color: #64748b;
}

.app-feature-bento-hero {
    grid-column: 3;
    grid-row: 1 / span 2;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(21, 45, 94, 0.09);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.app-feature-bento-hero img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    transition: opacity 0.2s ease;
}

.app-feature-bento-hero img.is-swapping {
    opacity: 0.35;
}

html[dir="rtl"] .app-feature-bento-card-head {
    flex-direction: row;
}

html[dir="rtl"] .app-feature-bento-card-title,
html[dir="rtl"] .app-feature-bento-card-text {
    text-align: right;
}

@media (max-width: 991px) {
    .app-feature-bento-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .app-feature-bento-hero {
        grid-column: 1 / -1;
        grid-row: auto;
        order: -1;
    }
}

@media (max-width: 575px) {
    .app-feature-bento-grid {
        grid-template-columns: 1fr;
    }

    .app-feature-bento-cards.section-padding,
    .app-feature-bento.section-padding {
        padding-top: 44px;
        padding-bottom: 44px;
    }
}

/* ===== Features — legacy compact cards (variant archive) ===== */
.app-feature-cards {
    background: linear-gradient(180deg, #ffffff 0%, #f4f8fc 100%);
}

.app-feature-cards.section-padding {
    padding-top: 56px;
    padding-bottom: 56px;
}

.app-feature-grid {
    margin-bottom: 0;
}

.app-feature-card {
    height: 100%;
    margin-bottom: 0;
    padding: 1.25rem 1rem 1rem;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(21, 45, 94, 0.06);
}

.app-feature-card:hover {
    box-shadow: 0 8px 24px rgba(21, 45, 94, 0.1);
}

.app-feature-card .top-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 0.85rem;
}

.app-feature-card .top-icon figure {
    width: 64px;
    height: 64px;
    line-height: 64px;
}

.app-feature-card .top-icon figure img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.app-feature-card h6 {
    margin-bottom: 0.5rem;
    font-size: 15px;
}

.app-feature-card p {
    margin-bottom: 0;
    font-size: 13px;
    line-height: 1.65;
    color: #64748b;
}

@media (max-width: 991px) {
    .app-feature-card {
        margin-bottom: 1rem;
    }
}

.app-feature-preview {
    margin-top: 1rem;
    padding: 2rem 2rem 1.5rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(21, 45, 94, 0.06);
}

.app-feature-preview h3 {
    margin: 0 0 1rem;
    font-size: 1.35rem;
    color: var(--webid-navy);
}

.app-feature-preview > .row > [class*="col-"]:first-child p {
    margin-bottom: 1.25rem;
    color: #475569;
    line-height: 1.8;
}

.app-feature-preview-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.app-feature-preview-list li {
    position: relative;
    padding: 0.4rem 1.5rem 0.4rem 0;
    color: #334155;
    line-height: 1.7;
}

.app-feature-preview-list li::before {
    content: "";
    position: absolute;
    right: 0;
    top: 0.85rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--webid-cyan);
}

.app-feature-preview-figure {
    margin: 0;
    text-align: center;
}

.app-feature-preview-figure img {
    display: block;
    width: 100%;
    max-width: 560px;
    height: auto;
    margin-inline: auto;
}

@media (max-width: 767px) {
    .app-feature-cards.section-padding {
        padding-top: 44px;
        padding-bottom: 44px;
    }
}

/* preview block — uncomment in blade when real screenshot is ready */

/* ===== How We Work (construction demo — مراحل کار) ===== */
.how-we-work .section-header p {
    max-width: 42rem;
    margin-inline: auto;
}

.how-we-work figure {
    margin: 0;
}

.how-we-work figure img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.how-we-work .tab-pane h4 {
    margin-bottom: 12px;
}

html[dir="rtl"] .how-we-work .nav-tabs {
    float: right;
}

html[dir="rtl"] .how-we-work .nav-tabs > li > a {
    margin-right: 0;
    margin-left: 5px;
}

html[dir="rtl"] .how-we-work .nav-tabs > li:last-child > a {
    margin-left: 0;
}

@media (max-width: 767px) {
    .how-we-work .nav-tabs > li {
        float: none;
        display: block;
        margin-bottom: 8px;
    }

    .how-we-work .nav-tabs > li > a {
        display: block;
        margin: 0 !important;
        text-align: center;
    }
}

/* ===== Testimonials slider (RTL) ===== */
html[dir="rtl"] #testimonial_slider4 .owl-carousel {
    direction: rtl;
}

html[dir="rtl"] .testimonial-panel .author-text {
    text-align: center;
}

html[dir="rtl"] .author-panel {
    right: auto;
    left: 30px;
}

html[dir="rtl"] .author-panel figure {
    left: auto;
    right: -30px;
}
