/*
Theme Name: Najm-Core
Text Domain: najmcore
Version: 1.0
*/



/* ۱. تعریف فونت‌ها */
@font-face {
    font-family: 'Ravi-Medium';
    src: url('assets/webfonts/Ravi-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSans';
    src: url('assets/webfonts/iranSans/IRANSansWeb.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* =========================
   Font Awesome – Local
========================= */

/* Solid */
@font-face {
    font-family: "Font Awesome 7 Free";
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url("../webfonts/fa-solid-900.woff2") format("woff2");
}

/* Brands */
@font-face {
    font-family: "Font Awesome 7 Brands";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../webfonts/fa-brands-400.woff2") format("woff2");
}


*,
*::after,
*::before {
    margin: 0;
    padding: 0;
}

html {
    box-sizing: border-box;
}

body {
    box-sizing: border-box;
}

/* Bind FA Classes */
.fa-solid {
    font-family: "Font Awesome 7 Free";
    font-weight: 900;
}

.fa-brands {
    font-family: "Font Awesome 7 Brands";
    font-weight: 400;
}

/* ۲. متغیرهای اصلی (بدون تغییر نام) */
:root {
    --font-heading: 'Ravi-Medium', Tahoma;
    --font-body: 'IRANSans', sans-serif;
    --primary-color: #1C1C1C;
    --secondary-color: #1a1a1a;
    --menu-color: #001F3F;
    /** heading - link**/
    --menu-hover-color: #001F3F;
    --bg-light: #F4F7FB;
    /* پس زمینه */
    --text-main: #1C1C1C;
    --cta-color: #ffffff;
    --ctabg-color: #001F3F;
    --ctabghover-color: #0B3C8A;
    --footerbg-color: #001F3F;
    --footerbg-bottom-color: #00152B;
    --ocean-deep: #001F3F;
    --ocean-mid: #0077be;
    --ocean-light: #e0f2fe;
    --text-dark: #1e293b;
    --text-muted: #475569;
    --only-red: #be040d;
    --white: #ffffff;
    --hero-text-color: #f1f5f9;
    /* سفید کمی مات برای خوانایی بهتر */
    --container-width: 1200px;
    --big-title-size: 1.7rem;

    --gap: 40px;
    --menu-link-gap: 30px;
    --logo-width-desktop: 180px;
    --logo-width-mobile: 180px;
    --logo-width-footer: 120px;

    --topbar-color: #FFFFFF;

}

/* ۳. تنظیمات پایه */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.8;
    text-align: right;
    direction: rtl;
    overflow-x: hidden;

}

h1,
h2,
h3,
h4,
h5,
h6,
a,
button {
    font-family: var(--font-heading) !important;
}

a {
    text-decoration: none;
    color: var(--menu-color);
}

a:hover {
    color: var(--menu-hover-color);
}

li {
    padding: 0;
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    aspect-ratio: attr(width) / attr(height);
}

.center {
    text-align: center;
}

/* ۴. ساختار هدر و گرید */
.inner-header {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
}



/* ۵. منوی اصلی (Desktop Navigation) */
.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--menu-link-gap);
    align-items: right;
}

.main-nav li {
    display: block;
    position: relative;
    /* برای تراز زیرمنو */
}

.main-nav a {
    color: var(--menu-color);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    display: block;
    transition: 0.3s ease;
}

.main-nav a:hover {
    color: var(--primary-color);
}

/* ۶. استایل زیرمنوها (Dropdown) */
.main-nav ul.sub-menu {
    align-items: right;
    position: absolute;
    top: 30px;
    right: 0;
    background: #ffffff;
    min-width: 220px;
    /* box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);*/
    list-style: none;
    padding: 27px 0 0 0;
    display: flex;
    flex-direction: column;
    visibility: hidden;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.3s ease;
    z-index: 999;
    gap: 0;

}

.main-nav ul.sub-menu li a {
    display: block;
    padding: 5px 10px;
    font-size: 14px;
    width: 400px;
}

.main-nav ul.sub-menu li a:hover {
    background-color: var(--menu-hover-color);
    color: #ffffff;
}

.main-nav li.menu-item-has-children>a::after {
    content: '▾';
    /* فلش پایین ساده، میتونی از SVG هم استفاده کنی */
    display: inline-block;

    margin: -5px 0 0 5px;
    padding: 0;
    font-size: 18px;

    transition: transform 0.9s ease;
}

/* چرخش فلش هنگام هاور */
.main-nav li.menu-item-has-children:hover>a::after {
    transform: rotate(180deg);
    color: #be040d;
}

.main-nav ul li:hover>.sub-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}



/* ۷. بخش CTA */
.cta a {
    background: var(--ctabg-color);
    color: var(--cta-color);
    padding: 10px 18px;
    text-decoration: none;
    border-radius: 7px;
    display: inline-block;
    transition: 0.3s;
    vertical-align: middle;
}

.cta a:hover {
    background-color: var(--ctabghover-color);
}

/* ۸. دکمه همبرگری (Hamburger) */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    border: 1px solid #000;
    border-radius: 2px;
}

/* ۹. مدیریت نمایش (Responsive Logic) */
@media (min-width: 1025px) {
    .hamburger {
        display: none;
    }

    .main-nav {
        display: block;
    }
}

@media (max-width: 1024px) {

    .main-nav,
    .cta {
        display: none;
    }

    /* مخفی سازی در موبایل */
    .hamburger {
        display: flex;
    }
}

/* ۱۰. منوی موبایل (Mobile Overlay) */
.mobile-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    transition: 0.4s;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
}

.mobile-overlay.active {
    right: 0;
    visibility: visible;
}

.mobile-menu-card {
    background: #fff;
    width: 280px;
    padding: 40px 20px;
    border-radius: 15px;
    position: relative;
}

/* --- اصلاح استایل زیرمنو در موبایل --- */
@media (max-width: 1024px) {

    /* مخفی سازی اولیه و ریست کردن استایل‌های دسکتاپ */
    .mobile-nav-list .sub-menu {
        display: none !important;
        /* اولویت با نمایش بلاکی است */
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
        position: static !important;
        /* زیرمنو باید زیرِ آیتم باز شود نه روی آن */
        width: 100% !important;
        box-shadow: none !important;
        padding: 5px !important;
        transition: none !important;
    }

    /**********   mosalas ***************/
    .mobile-nav-list li.menu-item-has-children>a,
    .mobile-nav-list li.menu-item-has-children.is-open>a {
        position: relative;
        padding-left: 30px;
        font-weight: lighter;
    }

    .mobile-nav-list li.menu-item-has-children>a::before {
        content: "▸";
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        font-size: 30px;
        transition: transform 0.3s ease;
        vertical-align: middle;
    }

    .mobile-nav-list li.menu-item-has-children.is-open>a::before {
        transform: translateY(-50%) rotate(90deg);
    }



    /* نمایش فقط با کلاس is-open */
    .mobile-nav-list li.menu-item-has-children.is-open>.sub-menu {
        display: block !important;
    }

    /* جلوگیری از تداخل Hover در موبایل */
    .mobile-nav-list li:hover>.sub-menu {
        display: none !important;
    }

    .mobile-nav-list li.menu-item-has-children.is-open:hover>.sub-menu {
        display: block !important;
    }
}

/* --- استایل لوگو در منوی موبایل --- */
.mobile-logo-area {
    text-align: center;
    margin-bottom: 20px;
    /* فاصله از منوهای پایین */
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
    /* خط جداکننده کمرنگ */
}

.mobile-logo-area img {
    max-width: 140px !important;
    /* سایز کمی کوچک‌تر برای تناسب با کارت ۲۸۰ پیکسلی */
    height: auto !important;
    margin: 0 auto;
}

.mobile-logo-area .logo-txt {
    font-size: 20px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    display: block;
}

a.custom-logo-link {
    margin-bottom: -12px;
}

.close-btn {
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 40px;
    border: none;
    background: none;
    cursor: pointer;
}

/* ۱۱. لوگو (Logo Control) */
img.custom-logo {
    width: var(--logo-width-desktop) !important;
    height: auto !important;
    vertical-align: middle;
}



/* ۱۲. فوتر (Footer) */

/* --- چیدمان گرید --- */
.footer-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 0px 50px;
    position: relative;
    z-index: 2;
}

.footer-brand-name {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 5px;
    color: #fff;
}


.footer-description {
    line-height: 1.8;
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 10px;
    padding: 0 5px;
    text-align: justify;
}

div.links-col,
div.footer-column {}

div.links-col,
div.contact-col {

    padding-top: 20px;
}

/* --- تیتر ستون‌ها --- */
.column-title {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 5px;
    position: relative;
    padding-bottom: 7px;
    text-align: right;
}

.column-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 2px;
    background: #ffffff;
    border-radius: 5px;
}

/* --- لینک‌های تعاملی --- */
.quick-nav {
    list-style: none;
    padding: 0;
}

.quick-nav li {
    margin-bottom: 5px;
}

.quick-nav li a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.quick-nav li a:hover {
    color: #fff;
    transform: translateX(-8px);
    /* حرکت تعاملی */
}

/* --- شبکه‌های اجتماعی --- */
.footer-social-media {
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.social-btn:hover {
    background: #0F52BA;
    transform: translateY(-5px) rotate(8deg);
    box-shadow: 0 10px 20px rgba(15, 82, 186, 0.4);
}

/* --- اطلاعات تماس --- */
.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-info-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    text-align: right;
}

.contact-info-item i {
    color: #ffffff;
    font-size: 1.1rem;
    margin-top: 4px;
}

.contact-info-item p {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* --- نوار کپی رایت نهایی --- */
.footer-copyright-bar {
    border-top: 1px solid rgb(0, 0, 0);
    padding: 5px 0;
    text-align: right;
    background-color: var(--footerbg-bottom-color);
    font-size: 0.60rem;
    color: var(--text-muted);
    font-family: var(--font-body);
}

/* --- ریسپانسیو (موبایل) --- */
@media (max-width: 992px) {

    .footer-content-grid {
        grid-template-columns: 1fr;
        text-align: right;
        gap: 40px;
    }

    .column-title::after {
        right: 50%;
        transform: translateX(50%);
    }

    .column-title {
        text-align: center;
    }

    .contact-info-item {
        flex-direction: column;


    }

    .footer-social-media {
        justify-content: center;
    }

    .footer-description {
        padding: 0 10px;

    }
}

.najm-main-footer {
    /* background: linear-gradient(225deg, var(--ocean-deep) 20%, var(--ocean-mid) 100%);*/
    background-color: var(--ocean-deep);
    color: #ffffff;
    padding: 20px 0 0;
    position: relative;
    overflow: hidden;

}

/*****  hero ***/

/* تنظیمات کلی سکشن هیرو */
.hero-section {
    /* استفاده از گرادینت برای عمق دادن به رنگ ocean-mid */
    background: linear-gradient(225deg, var(--ocean-deep) 20%, var(--ocean-mid) 100%);
    padding: 30px 0 60px;
    /* فضای بالا و پایین زیاد */
    color: var(--white);
    position: relative;
    overflow: hidden;
    /* برای جلوگیری از بیرون زدن اشکال تزئینی */
    direction: rtl;
    justify-self: stretch;
    /* تضمین راست‌چین بودن */
}



/* کانتینر فلکس برای چیدمان دو ستونه */
.hero-flex-container {
    display: flex;
    align-items: center;
    /* قرارگیری عمودی در مرکز */
    /* فاصله بین تصویر و متن */
    padding-right: 70px;
}

/* تنظیم عرض ستون‌ها */
.hero-text-wrapper,
.hero-image-wrapper {
    flex: 1;
    /* هر دو ستون فضای برابر می‌گیرند */
}

/* --- استایل‌های بخش متن (سمت راست) --- */

.hero-title {
    font-size: 3rem;
    /* فونت بسیار بزرگ */
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 30px;
    color: var(--white);

}

/* هایلایت کردن کلمات کلیدی */
.highlight-text {
    color: var(--ocean-light);
    text-shadow: 0 0 20px rgba(224, 242, 254, 0.4);
    position: relative;
    z-index: 1;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 50px;
    color: var(--hero-text-color);
    max-width: 90%;
    /* جلوگیری از خیلی کشیده شدن متن */
}

/* گروه دکمه‌ها */
.hero-cta-group {
    display: flex;
    gap: 20px;
}

.btn-hero {
    padding: 15px 40px;
    border-radius: 50px;
    /* دکمه‌های گرد مدرن */
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* دکمه اصلی (سفید) */
.btn-primary-hero {
    background-color: var(--white);
    color: var(--ocean-deep);
}

.btn-primary-hero:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    background-color: var(--ocean-light);
}

/* دکمه ثانویه (توخالی) */
.btn-outline-hero {
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
}

.btn-outline-hero:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

/* --- استایل‌های بخش تصویر (سمت چپ) --- */

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* استایل برای جایگزین انتزاعی تصویر (اگر عکس ندارید) */
.abstract-image-placeholder {
    width: 100%;
    max-width: 500px;
    height: 500px;
    /* background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));*/
    /* 👇 تصویر بک‌گراند */
    background-image: url('assets/images/hero2.png');
    /* مسیر عکس */
    background-size: cover;
    background-position: center;
    background-repeat: repeat;

    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    /* شکل ارگانیک و غیرمنظم */
    position: relative;
    animation: morphing 9s ease-in-out infinite;
    /* انیمیشن تغییر شکل */

    border: 25px solid rgba(255, 255, 255, 0.2);

    /* سایه برای قشنگی */
    box-shadow: inset 0 0 50px rgba(0, 31, 63, 0.824);
    /* افکت شیشه‌ای اختیاری */
    backdrop-filter: blur(10%);

    transform: perspective(1000px) rotateY(15deg);
    /* کمی چرخش سه بعدی جذاب */
    transition: transform 0.5s ease;

}


/* اشکال شناور داخل تصویر انتزاعی */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: floating 8s ease-in-out infinite alternate;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 20%;
}

.shape-2 {
    width: 150px;
    height: 150px;
    bottom: 30%;
    right: 20%;
    animation-delay: -2s;
    background: rgba(0, 51, 102, 0.3);
}


/* اگر عکس واقعی گذاشتید، این کلاس را به آن بدهید */
.hero-real-image {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(15deg);
    /* کمی چرخش سه بعدی جذاب */
    transition: transform 0.5s ease;
}

.hero-real-image:hover {
    transform: perspective(1000px) rotateY(0deg);
}

/* انیمیشن‌ها */
@keyframes morphing {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    50% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    }

    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

@keyframes floating {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-20px);
    }
}

/* --- ریسپانسیو (موبایل و تبلت) --- */
@media (max-width: 992px) {
    .hero-flex-container {
        flex-direction: column-reverse;
        /* در موبایل، متن بالا و عکس پایین باشد */
        text-align: center;

        padding-right: 0;
    }

    .hero-text-wrapper {
        align-items: center;

    }

    .hero-title {
        font-size: 2rem;
        order: 1;
    }

    .hero-description {
        font-size: 1.1rem;
        max-width: 100%;
    }

    .hero-cta-group {
        justify-content: center;
        display: block;
        gap: 10px;
    }

    .hero-image-wrapper {
        width: 300px;
    }

    .abstract-image-placeholder {
        height: 300px;
        margin-bottom: 20px;

        border: 10px solid rgba(255, 255, 255, 0.2);
    }
}

/************** chalenges *************/
.container {
    max-width: var(--container-width);
    margin: 0 auto;

    padding: 0 20px;
    padding-bottom: 70px;
}

.main-title {
    text-align: center;
    color: var(--ocean-deep);
    font-size: var(--big-title-size);
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.main-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--ocean-mid), var(--ocean-deep));
    border-radius: 2px;
}




.n-grid {
    display: grid;
    gap: var(--gap);
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.challenges-section {
    padding: 20px 0 50px 0;
}

.section-title {
    text-align: center;
    font-size: 38px;
    color: var(--ocean-deep);
    margin: 0;

}

.challenge-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    border-right: 5px solid var(--ctabghover-color);
    box-shadow: 0 10px 25px rgba(0, 119, 190, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.challenge-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 119, 190, 0.15);
    background-color: var(--ocean-light);
}

.card-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--only-red);
    opacity: 40%;
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;

}

.challenge-card h3 {
    color: var(--ocean-deep);
    font-size: 1.5rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.challenge-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    text-align: justify;
    position: relative;
    z-index: 1;
}

/* برای موبایل */
@media (max-width: 768px) {
    .challenges-grid {
        grid-template-columns: 1fr;
    }

    .section-title {

        font-size: 28px;
    }

    .btn-hero {
        padding: 10px 20px;
    }

    .main-title {
        font-size: 1.5rem;
    }

    img.custom-logo {
        width: var(--logo-width-mobile) !important;
    }
}

html {
    scroll-behavior: smooth;
    /* اسکرول نرم بدون JS */
}

#back-to-top {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: #0B3C8A;
    color: #fff;
    text-decoration: none;
    border: none;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    z-index: 999;
}

#back-to-top:hover {
    background: #092f6b;
    transform: translateY(-3px);
}

/* موبایل */
@media (max-width: 768px) {
    #back-to-top {
        width: 45px;
        height: 45px;
        font-size: 20px;
        bottom: 15px;
        right: 15px;
    }
}

a.phone-link:hover {
    color: #aca7a7;

}

.values-section {
    background: #FFFFFF;

}

.values-title {
    text-align: center;
    font-size: 38px;
    color: #001F3F;
    margin-bottom: 20px;
}

.values-intro {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 60px;
    color: #4A4A4A;
    line-height: 1.8;
    font-size: 20px;
}

.values-concept-link {
    text-align: center;

    color: #0F52BA;
    font-weight: 500;
    transition: 0.3s;
}

.values-concept-link:hover {
    color: #001F3F;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;

}

.value-card {
    background: #F4F7FB;
    padding: 40px 36px;
    border-radius: 18px;
    position: relative;
    transition: all 0.35s ease;
}

.value-card:hover {
    transform: translateY(-6px);
}

.value-number {
    position: absolute;
    top: -22px;
    right: 28px;
    font-size: 52px;
    font-weight: 800;
    color: #0F52BA;
    opacity: 0.12;
}

.value-card h3 {
    font-size: 22px;
    color: #001F3F;
    margin-bottom: 16px;
}

.value-card p {
    color: #4A4A4A;
    line-height: 1.9;
    font-size: 15.5px;
    margin-bottom: 14px;
}

.value-note {
    color: #1C1C1C;
    font-weight: 500;
}

.value-note.emphasis {
    color: #001F3F;
    font-weight: 600;
}

.value-link {
    display: inline-block;
    margin-top: 12px;
    color: #0F52BA;
    font-weight: 500;
    transition: 0.3s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.value-link:hover {
    color: #001F3F;
}

.highlight-card {
    background: linear-gradient(135deg, #0F52BA, #001F3F);
}

.highlight-card h3,
.highlight-card p,
.highlight-card .value-note,
.highlight-card .value-link {
    color: #FFFFFF;
}

.highlight-card .value-number {
    color: #5c3232;
    opacity: 0.18;
}

.highlight-card .value-link {
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.highlight-card .value-link:hover {
    border-color: #FFFFFF;
}

@media (max-width: 768px) {
    .values-section {
        padding: 10px 0 30px 0;
    }

    .values-title {
        font-size: 28px;
        line-height: 1.5;
    }

    .values-intro {
        font-size: 15px;
        margin-bottom: 12px;
    }

    .values-concept-link {
        margin-bottom: 40px;
        font-size: 14px;
    }

    .value-card {
        padding: 28px 24px;
    }

    .value-number {
        font-size: 42px;
        top: -16px;
        right: 20px;
    }
}

/*************************
   SERVICES SECTION
*************************/

.services-section {
    background-color: var(--bg-light);
    padding: 10px 0;
}

.services-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 0;
}

.services-intro {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.9;
}

/* Grid – 2 ستون ثابت در دسکتاپ */
.services-grid--two-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap);
}

.services-grid--one-col {
    display: grid;
    margin-top: 50px;
    grid-template-columns: 1fr;


}

/* Card */
.service-card {
    background-color: var(--white);
    padding: 15px;
    border-radius: 22px;
    /* ← Radius اصلی */
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}


.service-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 16px 40px rgba(0, 31, 63, 0.12);
}

.service-title {
    font-size: 1.15rem;
    color: var(--ocean-deep);
    margin-bottom: 12px;
}

.service-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* Highlight */
.service-card--highlight {
    background: linear-gradient(135deg,
            var(--ocean-mid),
            var(--ocean-deep));
    border-radius: 26px;
    padding: 35px;
    /* کمی خاص‌تر ولی هماهنگ */
}

.cta--highlight {
    align-self: flex-start;
    text-align: left;

}

.service-card--highlight .service-title,
.service-card--highlight .service-text {
    color: var(--white);
}

.service-link {
    display: inline-block;
    margin-top: 14px;
    color: var(--white);
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 992px) {

    /* تبلت: هنوز ۲ ستون */
    .services-grid--two-col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    /* موبایل: تک ستون */
    .services-grid--two-col {
        grid-template-columns: 1fr;
    }

    .services-section {
        padding: 20px 0 60px 0;
    }
}


.white {
    color: #FFFFFF;
}

.logobg {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;

    min-height: 200px;
    /* خیلی مهم */
    opacity: 50%;
}

@media (max-width: 768px) {
    .logobg {
        min-height: 150px;
        background-position: center center;
        background-size: cover;
        /* اختیاری */
    }
}



.top-bar-professional {
    background-color: var(--footerbg-color);
    border-bottom: 1px solid var(--tp-border);
    padding: 8px 0;
    direction: rtl;

}

.top-bar-flex {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

/* سمت چپ: تماس و اجتماعی */
.top-bar-left {
    display: flex;
    align-items: center;
    gap: 25px;
}

.social-links {
    display: flex;
    gap: 18px;
    border-left: 1px solid #CBD5E0;
    padding-left: 18px;
}

.social-links a {
    color: var(--white);
    font-size: 18px;
    /* سایز آیکون‌ها */
    transition: all 0.3s ease;
    display: flex;
    align-items: center;

}

/* هاور رنگی برای آیکون‌های واقعی */
.social-links a:hover {
    color: var(--tp-accent);
    transform: translateY(-2px);
}

.social-links a:visited {
    color: var(--white);

}



/* بخش شماره موبایل */
.phone-contact {
    display: flex;
    align-items: center;
    gap: 10px;
}

.phone-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 1px;
}

.mobile-icon {
    color: var(--topbar-color);
    font-size: 18px;
}

/* سمت راست */
.tagline {
    color: #ffffffff;
    font-size: 12px;
}

/* ریسپانسیو برای موبایل */
@media (max-width: 768px) {
    .top-bar-right {
        display: none;
    }

    .top-bar-flex {
        justify-content: center;
    }

    .top-bar-left {
        gap: 15px;
    }
}

/* =========================
   Header Sticky (Inner Only)
========================= */

/* هدر اصلی */
.site-header {
    position: relative;

    background: #fff;
    z-index: 100;
}

/* تاپ بار همونجوری بمونه */


/* inner header عادی */
.inner-header {
    position: relative;
    z-index: 3;
    background: #fff;
    transition: all 0.3s ease;
}

/* حالت Sticky فقط برای inner */
.inner-header.is-sticky {
    position: fixed;
    top: -1px;
    left: 0;
    right: 0;
    animation: headerSlide 0.25s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

/* جمع شدن ارتفاع */
.inner-header.is-sticky {
    max-width: 100%;
}

/* انیمیشن */
@keyframes headerSlide {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.design-hero {

    padding-top: 50px;
}

.content-wrapper h2 {
    margin-top: 2rem;
    font-size: 1.6rem;
}

.content-wrapper p {
    line-height: 1.9;
}

.content-wrapper ul {
    padding-right: 1.2rem;
}


/* Q&A Two Column Layout */
/* Page Layout */
/* Main TOC */
/* ===== Layout ===== */
.qa-page {
    max-width: 1400px;
    margin: 0px 0 60px 0;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

/* ===== TOC ===== */
.qa-toc {
    width: 35%;
    flex-shrink: 0;
    position: sticky;
    top: 120px;

    border: 1px solid #eee;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;

    background: linear-gradient(135deg, #99afdb, #f9fafb);
    color: #111827;
}

/* Main Title */
.toc-toggle-main {
    width: 100%;
    border: none;
    border-radius: 10px;

    background: linear-gradient(135deg, #1f2937, #374151);
    color: #fff;

    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0.9rem 1rem;
    margin-bottom: 1rem;
}

/* Groups */
.toc-group-toggle {
    width: 100%;
    background: none;
    border: none;

    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1.9;
    cursor: pointer;

    display: flex;
    justify-content: right;
    align-items: center;

    margin: 0.6rem 0;
}

.group-arrow {
    transition: transform 0.3s ease;
}

/* Sublist */
.toc-sublist {
    list-style: none;
    padding-right: 0.8rem;
    margin: 0 0 1rem;
    display: none;
}

.toc-sublist li {
    margin-bottom: 0.5rem;
}

.toc-sublist a {
    font-size: 0.9rem;
    text-decoration: none;
    color: #333;
}

/* Open State */
.toc-group.is-open .toc-sublist {
    display: block;
}

.toc-group.is-open .group-arrow {
    transform: rotate(45deg);
}

/* ===== Content ===== */
.qa-content {
    flex: 1;
    min-width: 0;

    text-align: justify;
}

.qa-content h2 {
    margin-top: 1.5rem;
    font-size: 1.6rem;
    scroll-margin-top: 140px;
}

.qa-content p {
    line-height: 1.9;
    font-size: 1rem;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .qa-page {
        flex-direction: column;
    }

    .qa-toc {
        width: 100%;
        position: relative;
        top: auto;
    }
}


/* ===== Najm Pricing (Fix Gutenberg) ===== */
* {
    box-sizing: border-box;
}

.packages-section {
    padding: 60px 16px;
    background: #f8fafc;
    background-color: var(--bg-light);
}

.packages-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: stretch;
}

/* CARD */
.package-card {
    width: 100%;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
    margin: 0;
    padding: 0;
}

/* HEADER */
.package-header {
    background: #001f3f;
    color: #fff;
    padding: 18px 16px;
    border-radius: 20px 20px 0 0;
    text-align: center;
}

.package-header h3 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 800;
}

.package-price {
    font-size: 16px;
    opacity: .9;
}

/* BODY */
.package-body {
    padding: 18px;
    flex-grow: 1;
    font-size: 14px;
}

.package-section {
    margin-bottom: 14px;
}

.package-section h4 {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 6px;
}

.package-section ul {
    padding-right: 18px;
    margin: 0;
}

.package-section li {
    margin-bottom: 6px;
    line-height: 1.8;
    color: #334155;
}

/* FOOTER */
.package-footer {
    padding: 16px;
    border-top: 1px solid #e5e7eb;
}

.btn-cta {
    display: block;
    text-align: center;
    padding: 12px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid #001f3f;
    color: #001f3f;
}

.btn-cta.primary {
    background: #001f3f;
    color: #fff;
}

/* RESPONSIVE */
@media (min-width: 768px) {
    .package-card {
        width: calc(49% - 12px);
    }
}

@media (min-width: 1200px) {
    .package-card {
        width: calc(32% - 16px);
    }
}

/* ===== Mobile Table Fix – No Page Overflow ===== */

.nz-compare-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* جلوگیری از کشیده شدن صفحه */
.nz-compare-table {
    min-width: 680px;
    /* جدول اسکرول می‌گیرد، صفحه نه */
}

/* موبایل */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        /* جلوگیری از اسکرول کل صفحه */
    }

    .nz-compare-section {
        margin: 40px auto;
        padding: 0 8px;
    }

    .nz-compare-title {
        font-size: 18px;
    }

    .nz-compare-subtitle {
        font-size: 12px;
        margin-bottom: 14px;
    }

    .nz-compare-table th,
    .nz-compare-table td {
        font-size: 11.5px;
        padding: 6px 5px;
        white-space: nowrap;
        /* جلوگیری از شکستن و کشیدگی */
    }
}

/* ===== Comparison Table – FINAL CSS ===== */

.nz-compare-section {
    max-width: 1000px;
    margin: 48px auto;
    padding: 0 10px;
}

/* Title */
.nz-compare-title {
    font-size: 20px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 2px;
    color: #020617;
}

.nz-compare-subtitle {
    text-align: center;
    font-size: 12.5px;
    color: #475569;
    margin-bottom: 16px;
}

/* Wrapper */
.nz-compare-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Table */
.nz-compare-table {
    width: 100%;
    min-width: 680px;
    /* جلوگیری از کشیدگی صفحه در موبایل */
    border-collapse: collapse;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    /* بوردر بیرونی */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .05);
}

/* Cells – full borders */
.nz-compare-table th,
.nz-compare-table td {
    padding: 9px 6px;
    /* فشرده */
    text-align: center;
    font-size: 12px;
    line-height: 1.4;
    border: 1px solid #cbd5e1;
    /* بوردر عمودی و افقی کامل */
    white-space: nowrap;
}

/* Header – unified gradient */
.nz-compare-table thead th {
    background: linear-gradient(135deg,
            #020617 0%,
            #0f172a 50%,
            #020617 100%);
    color: #e5e7eb;
    font-weight: 800;
}


/* Zebra rows (very subtle) */
.nz-compare-table tbody tr:nth-child(even) td {
    background: #fafafa;
}

/* Mobile */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        /* جلوگیری از اسکرول افقی کل صفحه */
    }

    .nz-compare-section {
        margin: 36px auto;
        padding: 0 8px;
    }

    .nz-compare-title {
        font-size: 18px;
    }

    .nz-compare-subtitle {
        font-size: 12px;
        margin-bottom: 14px;
    }

    .nz-compare-table th,
    .nz-compare-table td {
        font-size: 11.5px;
        padding: 6px 5px;
    }
}

/* =====================================================
   Compare / Decision Guide Section (Gutenberg Safe)
===================================================== */

/* سکشن اصلی */
.nz-compare-section {
    max-width: 100%;
    margin: 60px auto;
    padding: 0 16px;
    text-align: center;
}

/* تیتر */
.nz-compare-title {
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 6px;
    color: var(--text-dark, #020617);
}

/* زیرتیتر */
.nz-compare-subtitle {
    font-size: 13.5px;
    color: var(--text-muted, #475569);
    margin-bottom: 36px;
}

/* =========================
   مراحل راهنما
========================= */
.nz-compare-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* کارت مرحله */
.nz-compare-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 22px 20px;
    text-align: right;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .05);
    position: relative;
}

/* عدد مرحله */
.nz-step-badge {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #ffffff;
    font-weight: 900;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* تیتر کارت */
.nz-compare-card h3 {
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-dark, #020617);
}

/* متن توضیح */
.nz-compare-card p {
    font-size: 13px;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 12px;
}

/* لیست */
.nz-compare-card ul {
    margin: 0;
    padding-right: 16px;
}

.nz-compare-card ul li {
    font-size: 13px;
    color: #334155;
    margin-bottom: 6px;
}

/* =========================
   CTA پایانی
========================= */
.nz-compare-cta {
    max-width: 900px;
    margin: 48px auto 0;
    padding: 26px 20px;
    border-radius: 20px;
    background: linear-gradient(135deg, #f8fafc, #eef2ff);
}

.nz-compare-cta p {
    font-size: 14px;
    margin-bottom: 16px;
    color: #1e293b;
}

/* دکمه‌ها */
.nz-compare-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 10px;
}

.nz-compare-cta small {
    font-size: 12px;
    color: #64748b;
}

/* =========================
   Responsive (Gutenberg)
========================= */
@media (max-width: 1024px) {
    .nz-compare-steps {
        grid-template-columns: 1fr;
    }

    .nz-compare-title {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .nz-compare-actions {
        flex-direction: column;
    }

    .nz-compare-card {
        padding: 20px 16px;
    }
}

/* =====================================================
   FORCE DESKTOP GRID – Compare Section (Gutenberg)
===================================================== */

/* حالت پیش‌فرض: تک‌ستونه */
.nz-compare-steps {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px;
}

/* فقط دسکتاپ واقعی */
@media (min-width: 1280px) {
    .nz-compare-steps {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* ===== SEO FAQ ===== */
.seo-faq-section {
    padding: 30px 0;
    background: linear-gradient(180deg, #ffffff, var(--bg-light));
}

.nz-section-desc {
    text-align: center;
    color: #475569;
    margin-bottom: 40px;
}

/* ===== SEO Process ===== */
.seo-process-section {
    padding: 30px 0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.process-card {
    background: #001F3F;
    padding: 30px;
    border-radius: 18px;
    color: white;
}

.process-step {
    font-size: 2rem;
    font-weight: 800;
    color: var(--ocean-mid);
}

/* ===== Pricing ===== */
.seo-pricing-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.seo-price-card {
    max-width: 480px;
    margin: 0 auto;
    background: #c8e3f2;
    padding: 30px;
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    text-align: center;
}

.seo-price-list li {
    margin-bottom: 10px;
}

.seo-price-cta {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 36px;
    border-radius: 40px;
    background: var(--ocean-deep);
    color: #fff;
}

/* ===== Timeline ===== */
.seo-timeline-section {
    padding: 60px 0;
    max-width: 700px;
    margin: 0 auto;
}

.seo-timeline-list li {
    margin-bottom: 12px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .process-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   REUSABLE TIMELINE
===================================================== */



/* خط عمودی */
.timeline-list {
    position: relative;
    padding: 0;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 👈 همه آیتم‌ها وسط */
}



/* آیتم */
.timeline-item {
    width: 100%;
    max-width: 520px;
    position: relative;
    padding: 14px 40px;
    margin-bottom: 24px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.35s ease;
    text-align: center;
    /* 👈 متن وسط */
}


/* نقطه */
.timeline-dot {
    position: absolute;
    right: 9px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg,
            var(--ocean-mid),
            var(--ocean-deep));
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(0, 119, 190, 0.15);
}

/* هاور */
.timeline-item:hover {
    transform: translateX(-8px);
    box-shadow: 0 18px 45px rgba(0, 31, 63, 0.15);
    background-color: #99afdb;
}

/* متن */
.timeline-item p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.9;
    color: #475569;
}

.timeline-item strong {
    color: var(--ocean-deep);
}

/* آیتم مهم‌تر */
.timeline-item--highlight {
    background: linear-gradient(135deg,
            var(--ocean-mid),
            var(--ocean-deep));
}

.timeline-item--highlight p,
.timeline-item--highlight strong {
    color: #ffffff;
}

.timeline-item--highlight .timeline-dot {
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.35);
}

/* یادداشت پایانی */
.timeline-note {
    margin-top: 50px;
    padding: 26px 30px;
    background: linear-gradient(135deg,
            var(--ocean-mid),
            var(--ocean-deep));
    color: #ffffff;
    border-radius: 22px;
    text-align: center;
    line-height: 1.9;
    font-size: 1rem;
    box-shadow: 0 20px 50px rgba(0, 31, 63, 0.35);
}

/* Responsive */
@media (max-width: 768px) {
    .timeline-list {
        padding-right: 30px;
    }

    .timeline-item {
        padding-right: 42px;
    }

    .timeline-title {
        font-size: 1.4rem;
    }
}

/* ===== Contact Form 7 – RTL & Global Style ===== */

.wpcf7-form {
    font-family: inherit;
    /* ارث‌بری فونت از قالب */
    direction: rtl;
    text-align: right;
}

/* لیبل‌ها */
.wpcf7-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #f9f9f9;
    text-align: right;
    line-height: 1.5;
}

/* اینپوت‌ها و تکست‌اریا */
.wpcf7-form-control:not(.wpcf7-submit) {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 14px;
    background-color: #fff;
    transition: all 0.25s ease;
    box-sizing: border-box;
    direction: rtl;
    text-align: right;
    font-family: inherit;
}

/* placeholder */
.wpcf7-form-control::placeholder {
    text-align: right;
    font-family: inherit;
}

/* فوکوس */
.wpcf7-form-control:focus {
    border-color: #f2c94c;
    outline: none;
    box-shadow: 0 0 0 3px rgba(242, 201, 76, 0.2);
}

/* textarea */
.wpcf7-textarea {
    min-height: 140px;
    resize: vertical;
}

/* select */
.wpcf7-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg fill='none' stroke='%23999' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 14px center;
    background-size: 16px;
    padding-left: 40px;
    padding-right: 14px;
}

/* فاصله بین فیلدها */
.wpcf7-form p {
    margin-bottom: 10px;
}

.wpcf7-form p {
    margin-bottom: 10px;
    line-height: .4;
}

.wpcf7-not-valid-tip {
    font-weight: bold;


}

.wpcf7-response-output {
    font-weight: bold;
}

.wpcf7-form-control:not(.wpcf7-submit) {
    padding: 10px 12px;
}



/* دکمه ارسال */
.wpcf7-submit {
    background: linear-gradient(135deg, #f2c94c, #f2994a);
    color: #121212;
    border: none;
    border-radius: 12px;
    padding: 14px 26px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

/* هاور دکمه */
.wpcf7-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* پیام‌ها */
.wpcf7-not-valid-tip {
    font-size: 13px;
    color: #e63946;
    text-align: right;
}

.wpcf7-response-output {
    border-radius: 10px;
    padding: 14px;
    font-size: 14px;
    margin-top: 20px;
    text-align: right;
}

/* ===== 2 Column Layout ===== */
.evaluation-section {}

.evaluation-wrapper {

    display: flex;
    gap: 40px;
    align-items: flex-middle;
}

/* توضیحات سمت راست */
.evaluation-content {
    width: 50%;
    order: 1;
    text-align: right;

    /* خط نارنجی */

}


/* فرم سمت چپ */
.evaluation-form {
    width: 50%;
    order: 2;
}

/* موبایل */
@media (max-width: 768px) {
    .evaluation-wrapper {
        flex-direction: column;
    }

    .evaluation-content,
    .evaluation-form {
        width: 100%;
        order: unset;
    }

    .wpcf7-submit {
        width: 100%;
    }
}

.evaluation-image {
    text-align: center;
    margin-bottom: 20px;
}

.evaluation-image img {
    max-width: 100%;
    height: auto;
}

.right {
    text-align: right;
}

/* تنظیمات اضافی فقط برای صفحه مسئولیت‌ها (بدون تداخل با استایل اصلی) */
.responsibilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0 60px;
}

.resp-card {
    background: var(--white);
    border-radius: 24px;
    padding: 30px 25px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-right: 5px solid var(--ocean-deep);
    position: relative;
}

.resp-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px rgba(0, 31, 63, 0.12);
    background-color: var(--bg-light);
}

.resp-icon {
    font-size: 2.8rem;
    color: var(--ocean-mid);
    margin-bottom: 20px;
}

.resp-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--ocean-deep);
}

.resp-card p {
    color: var(--text-muted);
    line-height: 1.85;
    font-size: 1rem;
}

.resp-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--only-red);
    color: white;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 40px;
    font-weight: bold;
}

.section-desc {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.highlight-stat {
    background: linear-gradient(135deg, var(--ocean-deep), var(--ocean-mid));
    padding: 35px;
    border-radius: 30px;
    text-align: center;
    color: white;
    margin: 40px 0;
}

.highlight-stat h4 {
    font-size: 2rem;
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .resp-card h3 {
        font-size: 1.3rem;
    }

    .responsibilities-grid {
        gap: 20px;
    }
}


/* =====================================================
   استایل‌های ریسپانسیو برای صفحه «دیجیتال مارکتینگ حلال»
   کاملاً سازگار با موبایل (حتی نمایشگرهای 320px)
===================================================== */

/* ریسپانسیو برای بخش اکوسیستم حلال */
@media (max-width: 768px) {
    /* کاهش فونت‌های بزرگ */
    .highlight-stat h4 {
        font-size: 1.6rem !important;
        line-height: 1.4;
    }
    
    .highlight-stat h5 {
        font-size: 1.2rem !important;
    }
    
    .highlight-stat p, 
    .highlight-stat li {
        font-size: 0.9rem !important;
        line-height: 1.7 !important;
    }
    
    /* پدینگ کمتر در باکس آبی */
    .highlight-stat {
        padding: 30px 18px !important;
        margin: 30px 0 !important;
    }
    
    /* لیست‌ها در موبایل */
    .highlight-stat ul {
        padding-right: 18px !important;
    }
    
    .highlight-stat li {
        margin-bottom: 10px;
    }
    
    /* گرید کارت‌ها (پارامترها) */
    .responsibilities-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .resp-card {
        padding: 20px 18px !important;
    }
    
    .resp-card h3 {
        font-size: 1.3rem !important;
    }
    
    .resp-badge {
        font-size: 0.7rem;
        top: -10px;
        right: 15px;
    }
    
    /* عنوان اصلی بخش */
    .center {
        font-size: 1.5rem !important;
        margin: 30px 0 20px !important;
    }
    
    /* جدول مقایسه */
    .nz-compare-section {
        margin: 40px 0 !important;
        padding: 0 5px !important;
    }
    
    .nz-compare-title {
        font-size: 1.2rem !important;
    }
    
    .nz-compare-table th,
    .nz-compare-table td {
        font-size: 10px !important;
        padding: 6px 4px !important;
        white-space: normal !important;
        word-break: break-word;
    }
    
    /* دکمه‌ها در موبایل */
    .btn-hero {
        padding: 10px 18px !important;
        font-size: 0.85rem !important;
        display: inline-block;
        margin: 5px auto !important;
    }
    
    .highlight-stat .btn-hero {
        margin-top: 15px !important;
    }
    
    /* لینک پایین صفحه */
    .btn-hero[href*="responsibilities"] {
        display: inline-block;
        margin: 20px auto;
        font-size: 0.85rem;
    }
}

/* برای گوشی‌های بسیار کوچک (حدود 375px) */
@media (max-width: 480px) {
    .highlight-stat {
        padding: 20px 12px !important;
    }
    
    .nz-compare-table th,
    .nz-compare-table td {
        font-size: 9px !important;
        padding: 5px 3px !important;
    }
    
    .resp-card {
        padding: 18px 14px !important;
    }
    
    .resp-card h3 {
        font-size: 1.2rem !important;
    }
    
    .resp-icon i {
        font-size: 2rem;
    }
    
    /* کاهش فاصله‌ها */
    .container {
        padding: 0 12px !important;
    }
    
    .btn-hero {
        width: 90%;
        text-align: center;
    }
    
    .highlight-stat .btn-hero {
        width: auto;
        min-width: 200px;
    }
}

/* ریسپانسیو برای گرید پارامترها در تبلت */
@media (min-width: 769px) and (max-width: 1024px) {
    .responsibilities-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px;
    }
}

/* اطمینان از اسکرول افقی نداشتن صفحه در موبایل */
body {
    overflow-x: hidden !important;
    max-width: 100%;
}

.container, .nz-compare-table-wrap {
    overflow-x: auto !important;
}

/* بهبود نمایش جدول در موبایل - اسکرول افقی فقط برای خود جدول */
.nz-compare-table-wrap {
    -webkit-overflow-scrolling: touch;
    margin: 0 -5px;
    padding: 0 5px;
}

.nz-compare-table {
    min-width: 500px;
}

@media (max-width: 480px) {
    .nz-compare-table {
        min-width: 450px;
    }
}