/*
Theme Name: AvaMelal Theme
Author: Saman Masoumi
Author URI: https://imsaman.ir
Email : masoomi.net@gmail.com
Version: 1.0
*/

:root {
    --main: #0799ec;
    --secound: #e6e6e4;
    --logo: #392991;
    --rgb: 7, 153, 236;
    --logorgb: 57 41 145;
}

@font-face {
    font-family: 'Poppins';
    src: url('_assets/fonts/poppins/poppins-200.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('_assets/fonts/poppins/poppins-300.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('_assets/fonts/poppins/poppins-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('_assets/fonts/poppins/poppins-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('_assets/fonts/poppins/poppins-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('_assets/fonts/poppins/poppins-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('_assets/fonts/poppins/poppins-800.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('_assets/fonts/poppins/poppins-900.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}


html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-family:Poppins;
    font-weight: 400;
    vertical-align: baseline;
}

:focus {
    outline: 0;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
    overflow-x: hidden !important;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration,
input[type=search]::-webkit-search-results-button,
input[type=search]::-webkit-search-results-decoration {
    -webkit-appearance: none;
    -moz-appearance: none;
}

input[type=search] {
    -webkit-appearance: none;
    -moz-appearance: none;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

textarea {
    overflow: auto;
    vertical-align: top;
    resize: vertical;
}

audio,
canvas,
video {
    display: inline-block;
    *display: inline;
    *zoom: 1;
    max-width: 100%;
}

audio:not([controls]) {
    display: none;
    height: 0;
}

[hidden] {
    display: none;
}

html {
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

a[href^="tel:"] {
    font-family: Poppins;
    direction: ltr;
}

a:active,
a:hover, a:focus, button:focus {
    outline: 0;
    text-decoration: none;
}

img {
    border: 0;
    -ms-interpolation-mode: bicubic;
    max-width: 100%;
    padding: 0;
    margin: 0;
}

figure {
    margin: 0;
}

button,
input,
select,
textarea {
    font-size: 100%;
    margin: 0;
    vertical-align: baseline;
    *vertical-align: middle;
}


button,
input {
    line-height: normal;
}

button,
select {
    text-transform: none;
}


button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
    *overflow: visible;
}


button[disabled],
html input[disabled] {
    cursor: default;
}

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
    *height: 13px;
    *width: 13px;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

textarea {
    overflow: auto;
    vertical-align: top;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

html,
button,
input,
select,
textarea {
    color: #222;
}

a {
    text-decoration: none;
}

header .phone-contact span {
    font-size: 13px;
    color: #d3d3d3;
    font-weight: 600;
    margin-left: -5px;
}

header.is-sticky .phone-contact span {
    color: #111;
}

header.is-sticky .nav-glass-pill {
    filter: none !important;
    backdrop-filter: none !important;
    background: transparent !important;
}

.custom-header {
    background: #fff;
    height: 55px;
    inset: 0;
    z-index: 99;
    border-bottom: 1px solid #c6c3d7;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    transition: all 0.4s ease;
    padding: 5px 0;
}

.custom-header.is-sticky {
    height: 60px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(10px);
}

.custom-header.is-sticky .nav-link,.custom-header.is-sticky .nav-link a {
    color: #111;
}

.brand-logo {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.logo-normal,
.logo-sticky {
    width: 150px; /* عرض لوگوی خود را اینجا تنظیم کنید */
    height: auto;
    transition: all 0.4s ease; /* انیمیشن نرم برای تغییر حالت */
}

.logo-sticky {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    opacity: 0;
    visibility: hidden;
}

.custom-header.is-sticky .logo-normal {
    opacity: 0;
    visibility: hidden;
}

.custom-header.is-sticky .logo-sticky {
    opacity: 1;
    visibility: visible;
}

.nav-glass-pill {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 0.4rem 1.5rem;
    list-style: none;
}

.nav-glass-pill .nav-link,.nav-glass-pill .nav-link a {
    color: #f1f1f1;
    font-size: 14px;
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-glass-pill .nav-link:hover {
    /*color: #000;*/
}

.phone-contact {
    color: #e0e0e0;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: 1.5rem;
}

.phone-contact .call-icon-sticky {
    display: none;
}

.custom-header.is-sticky .phone-contact .call-icon-normal {
    display: none;
}

.custom-header.is-sticky .phone-contact .call-icon-sticky {
    display: inline-block;
}

.btn-consultation {
    background-color: #ffffff;
    color: #000000;
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    font-size: 13px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-consultation:hover {
    background-color: #e6e6e6;
    color: #000000;
}

header.is-sticky .btn-consultation {
    background-color: var(--logo);
    color: #fff;
}

.custom-toggler {
    background: transparent;
    border: 0;
    border-radius: 5px;
    padding: 0.25rem 0.75rem;
    cursor: pointer;
}

.custom-toggler-icon {

}

.nav-logo {
    width: 70px;
    height: auto;
}

.section-background {
    background: #f8f8f8;
}

.hero-section {
    background-color: rgba(var(--rgb), .2);
    padding-top: 110px;
    padding-bottom: 200px;
    display: flex;
    align-items: center;
    overflow: hidden;
    /*background-image: url(images/bg2.jpg);*/
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-section::after {
    content: '';
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .55);
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-section video {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
}

.hero-badge {
    background-color: var(--logo);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 400;
    padding: 6px 16px;
    border-radius: 15px;
}

.hero-title {
    font-family: Poppins;
    font-size: 2.2rem;
    position: relative;
    color: #fff;
    line-height: normal;
    font-weight: 700;
    text-align: center;
    text-shadow: 0 0 5px #787878;
    min-height: 88px;
}

.inline-gavel img {
    height: 40px;
    vertical-align: middle;
    margin: 0 5px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.title-decor {
    position: absolute;
    top: -10px;
    right: -10px;
    transform: rotate(15deg);
}

.hero-subtitle {
    color: #d5d5d5;
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 100%;
}

.btn-primary-custom,
.btn-light-custom {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 10px;
    font-family: inherit;
}

.btn-primary-custom span,
.btn-light-custom span {
    padding: 10px 8px 10px 24px;
    font-size: 13px;
    font-weight: 400;
}

.btn-primary-custom::after,
.btn-light-custom::after {
    content: "\2192"; /* کاراکتر فلش راست */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 300;
    transition: all 0.3s ease;
}

.btn-primary-custom {
    background-color: var(--logo); /* سرمه‌ای تیره */
    color: #ffffff;
}

.btn-primary-custom::after {
    background-color: #fff;
    color: #333;
    border: 2px solid #ffffff;
    transform: rotate(-45deg);
}

.btn-primary-custom:hover {
    background-color: #fff;
    color: #333;
}

.btn-primary-custom:hover::after {
    background-color: var(--logo);
    color: #fff;
    transform: rotate(0);
}

.glide-btn {
    display: inline-flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: var(--logo);
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 48px 12px 24px;
}

.glide-btn svg {
    width: 18px;
    height: 18px;
}

.outline-btn {
    /* متغیرهای پایه */
    --btn-main: var(--logo, #111); /* رنگ حاشیه و متن در حالت عادی */
    --btn-fill: var(--logo, #111); /* رنگ پس‌زمینه‌ای که وارد می‌شود */
    --btn-hover-text: #fff; /* رنگ متن هنگام هاور */

    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-color: transparent;

    color: var(--btn-main);
    border: 2px solid var(--btn-main);

    border-radius: 50px;
    text-decoration: none;
    font-family: Poppins;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 32px;
}

.hero .outline-btn,
.outline-btn.btn-white {
    --btn-main: #fff; /* حاشیه و متن سفید */
    --btn-fill: var(--logo, #111); /* پس‌زمینه با رنگ لوگو پر می‌شود */
    --btn-hover-text: #fff; /* چون پس‌زمینه رنگ لوگو است، متن سفید باقی بماند خواناتر است */
}

.outline-btn.btn-white {
    background-color: #fff;
    color: #111;
}

.hero-actions .outline-btn.btn-white {
    padding: 10px 24px;
}

.hero-actions .outline-btn.btn-white span {
    display: block;
    width: 100%;
    text-align: left;
}

/* ========================================= */
/* ۲. دکمه روشن (Learn More)                 */
/* ========================================= */
.btn-light-custom {
    background-color: #e9eaee; /* خاکستری روشن */
    color: #12192c;
}

.btn-light-custom::after {
    background-color: #12192c;
    color: #ffffff;
    transform: rotate(-45deg);
}

.btn-light-custom:hover {
    background-color: var(--logo);
    color: #fff;
}


.btn-light-custom:hover::after {
    transform: rotate(0);
    background-color: #fff;
    color: #333;
}

.badge-icon {
    position: absolute;
    top: -40px;
    right: 20px;
}

.decor-arrow {
    position: absolute;
}

.left-arrow {
    bottom: -40px;
    right: 20px;
}

.right-arrow {
    top: -30px;
    left: -20px;
}

.service-box-wrapper {
    display: grid;
    gap: 20px;
    margin-top: -130px;
}

.service-box {
    opacity: 0;
    visibility: hidden;

    padding: 5px 24px 14px 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: auto;
    min-height: 130px;
    background-color: white;
    border-radius: 24px;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    transform-style: preserve-3d;
    will-change: transform;
    transition: opacity 0.4s ease, filter 0.4s ease;
}

.service-box-wrapper:hover .service-box:not(:hover) {
    filter: blur(1px);
}

.service-box .arrow {
    position: absolute;
    bottom: 24px;
    left: 32px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--logo, #111);
    font-weight: 600;
    font-size: 15px;
    /* پنهان و پایین‌تر از جایگاه اصلی */
    opacity: 0;
    transform: translateY(20px);
}

.service-box .arrow svg {
    width: 18px;
    height: 18px;
}

.service-box a {
    position: relative;
    display: block;
    padding: 30px;
    color: inherit;
    text-decoration: none;
    border-radius: inherit;
}

.service-box .image-box {
    position: relative;
    display: inline-block;
    width: 64px; /* عرض آیکون را بر اساس طراحی خود تنظیم کنید */
    height: 64px;
    margin-bottom: 16px;
}

.service-box .icon-normal,
.service-box .icon-hover {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.service-box .icon-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0; /* در ابتدا کاملاً شفاف و نامرئی است */
    z-index: 2;
}

.service-box .image-box {
    display: block;
    margin-bottom: 35px;
}

.service-box .image-box img {
    width: 80px;
    height: auto;
}

.service-box .icon {
    width: 50px;
    height: auto;
}

.service-box .icon1 {
    display: none;
}

.service-box h3 {
    color: #1d1d1f;
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.service-box p {
    color: #a1a1aa;
    font-weight: 500;
    font-size: 13px;
    line-height: 1.5;
}

.service-box span {
    color: #444444;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.service-box span path {
    fill: #444444;
    transition: all 0.3s ease;
}

.service-box svg {
    transition: all 0.2s ease;
}

.service-box:hover svg {
    margin-left: 3px;
}

.service-box:hover .icon2 {
    display: none;
}

.service-box:hover .icon1 {
    display: block;
}

.service-box:hover::after {
    background-color: var(--secound);
    color: #fff;
}

.index-about h2 {
    font-family: Poppins;
    color: #111;
    font-size: 50px;
    line-height: normal;
    font-weight: 900;
    overflow-wrap: break-word;
}

.index-about .vission h6 {
    font-size: 17px;
    font-weight: 600;
    color: #333;
}

.scroll-wrapper {
    touch-action: pan-y;
    flex: 1 1 0;
    overflow: hidden;
    position: relative;
}

.scrolling-list {
    max-width: 250px;
    list-style: none;
    padding: 0;
    margin: 0;
    will-change: transform;
    animation: scrollUp 50s linear infinite;
}

.scroll-wrapper:hover .scrolling-list {
    animation-play-state: paused;
}

@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }
    /* چون لیست را با جی‌کوئری دو برابر می‌کنیم، حرکت تا 50- درصد یک حلقه بی‌نقص می‌سازد */
    100% {
        transform: translateY(-50%);
    }
}

.scrolling-list a {
    background: #fff;
    padding: 12px 10px;
    display: block;
    border-radius: 20px;
    color: #000;
    font-size: 13px;
    margin-bottom: 15px;
    white-space: nowrap;
    font-weight: 500;
    width: fit-content;
    border: 1px solid #f0f0f0;
    transition: all .3s;
    position: relative;
}

.scrolling-list a::before {
    content: '';
    position: absolute;
    inset: 13px 0 0 5px;
    width: 15px;
    height: 12px;
    background: currentColor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
    opacity: 0;
    visibility: hidden;
    display: none;
}

.scrolling-list a:hover {
    background-color: var(--logo);
    color: #fff;
    padding-left: 20px !important;
}

.scrolling-list a:hover::before {
    opacity: 1;
    visibility: visible;
    display: inline-block;
}

.text-accent {
    color: #b5cc18;
}

.badge-custom {
    background-color: #f7fce3;
    color: #5a6614;
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-block;
}

.icon-circle {
    background-color: #dcf55f;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.cta-banner {
    background-color: #1a2a36;
    border-radius: 50px;
    color: white;
    padding: 10px 10px 10px 25px;
}

.cta-banner svg {
    background-color: #fff;
    border-radius: 50%;
}

.cta-banner a {
    width: 150px;
}

.cta-banner a::after {
    content: unset;
}

.cta-banner .outline-btn span {
    font-size: 14px;
}

.btn-light-custom span {
    padding: 10px 0 10px 0;
}

.btn-accent {
    /*background-color: #dcf55f;
    color: #1a2a36;
    font-weight: bold;
    border-radius: 30px;
    padding: 8px 24px;
    border: none;
    transition: all 0.3s;*/
}

.btn-accent:hover {
    background-color: #c8e04b;
}

.stat-line {
    width: 30px;
    height: 3px;
    background-color: #dcf55f;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1a2a36;
}

.stat-plus {
    color: #dcf55f;
    font-weight: normal;
}

.vission p {
    font-size: 14px;
    line-height: 20px;
    color: gray;
}

/*.why-us-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.why-us-wrapper li {
    display: flex;
    flex-direction: column;
    width: 48%;
    padding: 30px 25px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #f5f5f5;
    border-radius: 20px;
    background: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 25px;
    color: #333;
}

.why-us-wrapper li img {
    width: 90px;
    height: auto;
    display: block;
    margin-bottom: 15px;
}

.why-us-card p {
    margin-block: 10px;
    font-weight: 600;
    font-size: 17px;
    color: #fff;
}*/

.why-choose-us {
    padding: 4rem 0;
    overflow: hidden;
}

/* استایل‌های متن سمت چپ */
.section-subtitle {
    font-size: 0.8rem;
    color: #e65c00; /* رنگ نارنجی مشابه تصویر */
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1rem;
}

.section-subtitle::before {
    content: "";
    display: inline-block;
    width: 15px;
    height: 2px;
    background-color: #e65c00;
}

.why-choose-us .section-title {
    font-family: Poppins;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.section-desc {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 90%;
}

.btn-custom {
    background-color: #111;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 50px; /* دکمه قرصی شکل */
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-custom:hover {
    background-color: #333;
    color: #fff;
    transform: translateX(5px);
}

/* ساختار Grid کارت‌ها (Mobile First) */
.features-grid {
    display: grid;
    grid-template-columns: 1fr; /* در موبایل تک ستونه */
    gap: 1.5rem;
}

.feature-card {
    background-color: #fafafa; /* رنگ پس زمینه خیلی روشن */
    border-radius: 1.25rem;
    padding: 1.5rem;
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: rgba(0, 0, 0, 0.08) 0 20px 40px;
}

.feature-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
}

.feature-card p {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 0;
    line-height: 1.5;
}

.feature-card.wide {
    background-image: url(images/map.png);
}

.feature-card.auto-scroll {
    min-height: 200px !important;
    padding: 10px !important;
}

.graphic-search {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 8px 15px;
    display: inline-flex;
    align-items: center;
    color: #ccc;
    font-size: 0.8rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    width: fit-content;
}

.graphic-icon-box {
    width: 45px;
    height: 45px;
    background-color: #111;
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.card-wide-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.graphic-map-img {
    width: 153px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.steps .container {
    background: #f2f6ff;
    border-radius: 30px;
}

.steps .title h2 {
    font-family: Poppins;
    text-align: center;
    color: #111;
    font-size: 50px;
    line-height: normal;
    font-weight: 900;
    position: relative;
}

.steps .title p {
    text-align: center;
    font-size: 15px;
    line-height: 22px;
    color: gray;
    margin-top: 20px;
}

.steps .title .title-underline {
    position: absolute;
    width: 100%;
    height: 27px;
    left: 0;
    overflow: visible;
    color: #392991;
    max-width: 350px;
    margin: 0 auto;
    display: block;
    right: 0;
    bottom: -10px;
}

.steps-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    position: relative;
}

.step-card {
    position: relative;
    border-radius: 12px;
    padding: 20px 20px 0 20px;
    background: #fff;
    transition: all .3s;
}

.step-card:hover {
    box-shadow: rgba(0, 0, 0, 0.08) 0 20px 40px;
    transform: scale(1.02) !important;
}

.step-card img {
    width: 94px;
    height: auto;
    background: #fff;
    border-radius: 9px;
    padding: 2px;
    display: block;
    margin-top: 40px;
}

.step-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #373737;
    letter-spacing: -0.03em;
    line-height: 24px;
    position: relative;
    z-index: 1;
}

.step-card p {
    color: #505050;
    font-size: 14px;
    line-height: 22px;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.step-card::before {
    content: attr(data-number);
    position: absolute;
    right: 0;
    top: 0;
    font-size: 160px;
    font-weight: bold;
    color: #f2f6ff;
    z-index: 0;
    opacity: 1;
}

.steps .action {
    display: flex;
    justify-content: center;
}

.steps .spiral-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    width: 100%;
    transform: translateY(-50%);
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    max-width: 90%;
    margin: 0 auto;
}

.steps .spiral-line svg {
    display: block;
    width: 100%;
    height: 100%;
}

.spiral-line path {
    stroke-dasharray: 2 2;
    stroke-width: 1;
}

.team-section {
    width: 100%;
    padding: 32px 16px;
    box-sizing: border-box;
}

.team-grid {
    width: 100%;
    max-width: 960px;
    margin-inline: auto;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 12px;
    align-items: start;

}

.team-grid *,
.team-grid *::before,
.team-grid *::after {
    box-sizing: border-box;
}

.team-intro {
    grid-column: 1 / -1;
}

.team-intro h2 {
    font-family: Poppins;
    text-align: left;
    color: #111;
    font-size: 50px;
    line-height: normal;
    font-weight: 900;
    position: relative;
}

.team-intro p {
    max-width: 340px;
    font-size: 15px;
    line-height: 22px;
    color: gray;
    margin-top: 10px;
}

.team-intro a {
    color: #392991;
    font-size: 12px;
    text-decoration: underline;
}

.team-member {
    min-width: 0;
    text-align: center;
}

.team-image {
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 5px;
    background: #e9e7eb;
}

.team-image img {
    display: block;
    object-fit: cover;
    object-position: center top;
    transition: all .4s ease;
    transform-origin: center top;
    width: 100%;
    height: 100%;
}

.team-member .info {
    position: relative;
}

.team-member h3 {
    text-align: left;
}

.team-member h3 span {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
}

.team-member p {
    text-align: left;
}

.team-member p span {
    font-size: 12px;
    line-height: 1.6;

}

.team-member:hover .team-image img {
    transform: scale(1.2);
}

.team-member .social img {
    width: 19px;
    height: 19px;
}

.team-member .social {
    position: absolute;
    top: 7px;
    right: 3px;
    opacity: 1;
    transition: all .5s;
}

.team-member:hover .social {
    opacity: 1;
    top: 0;
}

.team-quote {
    display: flex;
    grid-row: auto;
    aspect-ratio: 4 / 5;
    padding: 16px;
    border: 1px solid #d6d3d8;
    border-radius: 5px;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.team-quote p {
    margin: 0;
    font-size: clamp(18px, 2vw, 25px);
    font-weight: 300;
    line-height: 1.4;
}

.team-cta {
    grid-column: 1 / -1;
    min-width: 0;
    padding: 24px;
    border: 1px solid #d6d3d8;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;

}

.team-cta h3 {
    margin: 0 0 12px;
    font-size: 17px;
}

.team-cta p {
    margin: 0 0 18px;
    font-size: 12px;
    line-height: 1.8;
}

.team-cta a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #392991;
    font-size: 12px;
    text-decoration: none;
}

.cta-arrow {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #392991;
    color: #fff;

    display: grid;
    place-items: center;
    font-size: 19px;

}

.article-card {
    display: flex;
    flex-direction: row; /* تصویر در چپ، متن در راست */
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.article-card:hover {
    box-shadow: rgba(0, 0, 0, 0.08) 0px 20px 40px;
    transform: scale(1.02) !important;
}

.article-card .img-wrapper {
    width: 40%; /* عرض تصویر در موبایل */
    flex-shrink: 0;
}

.article-card .img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-card .card-content {
    width: 60%;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-card .category {
    font-size: 0.65rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.article-card .title {
    line-height: 1.4;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #1d1d1f;
    font-size: 17px;
    font-weight: 600;
}

.article-card .meta {
    font-size: 0.75rem;
    color: #555;
    margin-top: auto;
    font-weight: 600;
}

.blog .title h2 {
    font-family: Poppins;
    text-align: center;
    color: #111;
    font-size: 50px;
    line-height: normal;
    font-weight: 900;
}

.blog .title p {
    text-align: center;
    font-size: 15px;
    line-height: 22px;
    color: gray;
    margin: 20px auto 0;
    max-width: 600px;
}

.footer-section {
    position: relative;
    padding: 4rem 1.5rem 8rem; /* فضای پایین بیشتر برای نمایش متن محو */
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.footer-card {
    background-color: #ffffff;
    border-radius: 2rem;
    box-shadow: 0 5px 40px rgba(0, 0, 0, 0.06);
    padding: 3.5rem;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
}

.footer-bg-text {
    position: absolute;
    bottom: -3vw;
    left: 50%;
    transform: translateX(-50%);
    font-size: 18vw;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.035);
    white-space: nowrap;
    z-index: 1;
    pointer-events: none;
    letter-spacing: -2px;
}

.footer-link {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #111;
}

.footer-logo {
    width: 90px;
    height: auto;
}

.bottom-link {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.social-icon {
    color: #111;
    font-size: 1.2rem;
    transition: opacity 0.2s ease;
}

.social-icon:hover {
    opacity: 0.7;
}

.brand-logo-icon {
    width: 28px;
    height: 28px;
    background-color: #111;
    color: #fff;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.line, .word, .char {
    font-family: inherit !important;
    font-weight: inherit !important;
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 0;
    border-radius: 1rem;
    outline: 0;
}

.modal-header {
    border-bottom: none !important;
}

.modalClose {
    box-shadow: none;
    border: 0;
    background: none;
    position: absolute;
    top: 0;
    right: 10px;
}

.modalClose span {
    font-size: 30px;
}

.modal-body {
    padding-top: 130px;
}

.modal-body img {
    position: absolute;
    top: -50px;
    margin: 0 auto;
    display: block;
    right: 0;
    left: 0;
    width: 160px;
}

#contactModal .modalTitle {
    display: block;
    font-size: 19px;
    font-weight: 600;
    color: var(--logo);
    margin-bottom: 5px;
}

#contactModal .modalDesc {
    font-size: 13px;
}

.gform-body :where(input[type="text"],input[type="email"],input[type="tel"]) {
    width: 100%;
    border: 1px solid #c7c7c7 !important;
    box-shadow: none !important;
    text-align: left !important;
    direction: ltr !important;
    align-items: center !important;
    background: #FFFFFF !important;
    border-radius: 20px !important;
    padding: 10px 20px !important;
    margin-bottom: 15px;
}

.gform-body textarea {
    width: 100%;
    max-height: 130px !important;
    border: 1px solid #c7c7c7 !important;
    box-shadow: none !important;
    text-align: left !important;
    direction: ltr !important;
    align-items: center !important;
    background: #FFFFFF !important;
    border-radius: 20px !important;
    padding: 10px 20px !important;
}

#gform_fields_2 :where(.gfield--type-text,.gfield--type-email,.gfield--type-phone) {
    padding: 10px 30px !important;
}

#gform_fields_2 {
    gap: 20px !important;
}

.gform-body [type=submit] {
    background-color: var(--logo) !important;
    border-radius: 30px !important;
    padding: 10px 50px !important;
    color: #FFF !important;
    font-weight: 500;
    border: none !important;
    width: 100% !important;
    margin-top: 20px !important;
}

.service-hero h1 {
    font-size: 35px;
    line-height: normal;
    font-weight: 700;
    margin-block: 10px 20px;
}

.service-hero p {
    font-size: 14px;
    line-height: 25px;
}

#breadcrumbs {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

#breadcrumbs li {
    list-style-type: none;
    line-height: 25px;
    font-size: 14px;
}

#breadcrumbs a {
    color: #000;
    font-size: 14px;
}

#breadcrumbs .separator svg {
    transform: rotate(180deg);
}

#breadcrumbs li:not(.item-home):not(.separator) {
    padding-top: 3px;
}

.page-template .hero-content .service-list li {
    position: relative;
    font-size: 15px;
    margin-block: 15px;
    padding-left: 20px;
    line-height: normal;
}

.page-template .hero-content .service-list li::before {
    content: '';
    width: 14px;
    height: 14px;
    border: 5px solid #333;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 5px;
}

.page-template .hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.page-template .hero-content .glide-btn {
    max-width: 220px;
}

.bento-container {
    position: relative;
    height: 520px;
    border-radius: 28px;
    margin: 0 auto;
}

.bento-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 28px;
    display: block;
}

.cutout {
    position: absolute;
    background-color: #fff;
    display: flex;
}

.inner-card {
    background-color: #ffffff;
    width: 100%;
    height: 100%;
    border-radius: 28px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.inner-card p {
    font-size: 1.2rem;
    color: var(--logo);
    margin-bottom: 8px;
    font-weight: 600;
    line-height: normal;
}

.top-right {
    top: 0;
    right: 0;
    width: 35%;
    height: 35%;
    border-bottom-left-radius: 28px;
    padding-left: 16px;
    padding-bottom: 16px;
}

.top-right::before {
    content: "";
    position: absolute;
    top: 0;
    left: -28px;
    width: 28px;
    height: 28px;
    background-color: transparent;
    border-top-right-radius: 28px;
    box-shadow: 14px -14px 0 14px #fff;
}

.top-right::after {
    content: "";
    position: absolute;
    bottom: -28px;
    right: 0;
    width: 28px;
    height: 28px;
    background-color: transparent;
    border-top-right-radius: 28px;
    box-shadow: 14px -14px 0 14px #fff;
}

.bottom-left {
    bottom: 0;
    left: 0;
    width: 35%;
    height: 35%;
    border-top-right-radius: 28px;
    padding-right: 16px;
    padding-top: 16px;
}

.bottom-left::before {
    content: "";
    position: absolute;
    top: -28px;
    left: 0;
    width: 28px;
    height: 28px;
    background-color: transparent;
    border-bottom-left-radius: 28px;
    box-shadow: -14px 14px 0 14px #fff;
}

.bottom-left::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: -28px;
    width: 28px;
    height: 28px;
    background-color: transparent;
    border-bottom-left-radius: 28px;
    box-shadow: -14px 14px 0 14px #fff;
}

.contentWrapper h2.title {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 40px;
    overflow-wrap: break-word;
    color: #212529 !important;
}

.contentWrapper :where(p,span) {
    text-align: left;
    margin: 15px 0;
    font-size: 15px;
    line-height: 28px;
    font-weight: 400;
    color: #525256;
}

.contentWrapper strong {
    font-weight: 600;
}

.contentWrapper h2 {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.4;
    color: var(--logo);
}

.contentWrapper h3 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--logo);
}

.contentWrapper h4 {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--logo);
}

.contentWrapper a {
    font-weight: 500;
    color: #525256;
    position: relative;
    transition: all .3s;
}

.contentWrapper a::before {
    content: '';
    width: 100%;
    height: 2px;
    display: inline-block;
    position: absolute;
    bottom: -2px;
    left: 0;
    background: var(--logo);
    transition: all .3s;
    z-index: -1;
}

.contentWrapper a.buttonCustom::before {
    content: unset !important;
}

.contentWrapper a:hover {
    color: #fff;
}

.contentWrapper a:hover::before {
    height: 100%;
}

.contentWrapper :where(ul,ol) {
    margin-block: 15px;
    padding-left: 25px;
}

.contentWrapper li {
    font-size: 15px;
    line-height: 28px;
    font-weight: 400;
    color: #525256;
    list-style-type: disc;
}

.contentWrapper img {
    max-width: 100%;
    display: block;
    margin: 20px auto;
    border-radius: 10px;
}

.inner-services .service-box-wrapper {
    margin-top: 50px;
}

.contactBox {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    padding: 160px 30px 30px;
    margin-top: -240px;
}

.contactBox::before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: -1;
    left: -50px;
    top: -100px;
    border-radius: 40px;
    background: var(--logo);
    opacity: 0.3;
    filter: blur(340px);
    transform: rotate(-55.06deg);
}

.contactBox h2 {
    font-size: 35px;
    font-weight: 700;
    color: #222;
    margin-bottom: 30px;
}

.contactBox h2 span {
    font-weight: 700;
    color: var(--logo);
}

.contactBox p {
    color: #222;
    margin: 10px 0;
    line-height: 25px;
    font-size: 16px;
}

.gform-body label {
    display: none !important;
}

.gform-theme--foundation .gform_fields {
    gap: 10px !important;
}

.gform-theme--foundation .gfield textarea.large {
    min-block-size: 0 !important;
}

.gform_confirmation_message {
    line-height: normal;
    color: #33b300;
    font-weight: 500 !important;
    border: 1px solid #33b300;
    padding: 15px;
    border-radius: 10px;
}

#gform_1 {
    margin-top: 30px;
}

#gform_1 .gform_fields {
    display: flex;
    flex-direction: column;
    grid-row-gap: 20px !important;
}

.contactBox .gform_fields :where(.gfield--type-text,.gfield--type-email,.gfield--type-phone) {
    display: flex !important;
    align-items: center !important;
    background: #FFFFFF !important;
    border-radius: 64px !important;
    padding: 16px 30px !important;
}

.contactBox .gform_fields :where(.gfield--type-text,.gfield--type-email,.gfield--type-phone) {
    display: flex !important;
    align-items: center !important;
    background: #FFFFFF !important;
    border-radius: 64px !important;
    padding: 20px 30px !important;
}

.contactBox .gform_fields .ginput_container {
    width: 100%;
}

.gform_button {
    background-color: var(--logo) !important;
    border-radius: 30px !important;
    padding: 10px 50px !important;
    color: #FFF !important;
    font-weight: 500;
    border: none !important;
}

.contactBox .gform_title, .contactBox .gfield_required, .contactBox .gform_fields label {
    display: none !important;
}

input[type="text"], input[type="email"], input[type="tel"] {
    text-align: left;
    direction: ltr;
}

.contactBox .gform_fields :where(input[type="text"],input[type="email"],input[type="tel"]) {
    width: 100%;
    border: 0 !important;
    box-shadow: none !important;
    text-align: left !important;
    direction: ltr !important;
}

.contactSectionWrapper picture img {
    object-fit: cover;
    object-position: top;
    width: 90%;
    height: 300px;
    border-radius: 30px;
    display: block;
    position: relative;
    top: -110px;
    margin: 0 auto;
}

.why-us {
    padding: 90px 50px;
}

.why-us h2 {
    font-size: 35px;
    font-weight: 800;
    color: #111;
    margin-bottom: 25px;
}

.why-us p {
    font-size: 16px;
    color: #222;
    line-height: 25px;
}

.why-us ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.why-us li {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.why-us li:hover .why-us li {
    width: 50px;
    height: 50px;
}

.why-us li .icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 20px;
}

.why-us li .icon img {
    position: absolute;
    z-index: 3;
    inset: 10px 0 0 10px;
    margin: 0 auto;
}

.why-us li .icon::before {
    content: '';
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, .1);
    position: absolute;
    top: 0;
    left: 0;
    right: 5px;
    margin: 0 auto;
}

.aboutItemContent {
    color: #fff;
    margin-left: 10px;
}

.aboutItemContent h4 {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    margin-bottom: 10px;
}

.why-us li p {
    font-size: 13px;
    color: #444;
    line-height: 20px;
}

.faq h2 {
    color: #222;
    font-weight: 800;
    font-size: 35px;
    line-height: 1.2;
}

.faq h2 span {
    color: var(--logo);
    font-weight: 800;
    font-size: 35px;
}

.faq .consultation-link {
    color: #392991;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    border-bottom: 2px solid #392991;
    padding-bottom: 4px;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.faq .consultation-link:hover {
    color: #c2183b;
    border-color: #c2183b;
}

.faq .consultation-link i {
    font-size: 1.5rem;
    font-weight: bold;
    margin-left: 8px;
}

.custom-accordion .accordion-item {
    border: none;
    border-radius: 16px !important;
    margin-bottom: 1rem;
    background-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    overflow: hidden;
    transition: all 0.3s ease;
}

.custom-accordion .accordion-item:has(.accordion-button:not(.collapsed)) {
    background-color: #ffffff;
    box-shadow: 0 10px 30px rgba(57, 41, 145, 0.08);
}

.custom-accordion .accordion-button {
    background: transparent;
    font-weight: 400;
    color: #222;
    padding: 1.5rem;
    box-shadow: none !important;
    border-radius: 16px !important;
}

.custom-accordion .accordion-button:not(.collapsed) {
    color: var(--logo);
    font-weight: 600;
    background: transparent;
}

.custom-accordion .accordion-button::after {
    background-size: 1rem;
    transition: transform 0.3s ease;
}

.custom-accordion .accordion-body {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}

.illustration-img {
    max-width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: contain;
}

.contactUS .gfield_label {
    display: none !important;
}

#gform_fields_3 :where(input[type="text"],input[type="email"],input[type="tel"],textarea) {
    width: 100% !important;
    padding: 10px 10px !important;
    margin-bottom: 10px;
    border: 1px solid #d9d9d9 !important;
    border-radius: 20px !important;
    box-shadow: none !important;
    font-size: 14px;
}

#gform_submit_button_3 {
    width: 100% !important;
}

.gform_button {
    background-color: var(--logo) !important;
    border-radius: 30px !important;
    padding: 10px 50px !important;
    color: #FFF !important;
    font-weight: 500;
    border: none !important;
}

.boxShadow {
    box-shadow: 0 20px 50px -23px #eee;
    background-color: #fff;
    overflow: hidden;
    border-radius: 10px;
    padding: 25px;
    border: 1px solid #f0f0f0;
}

.contactUS__info li {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-bottom: 1px solid #d9d9d945;
    padding: 25px 0;
}

.contactUS__info li:first-child {
    padding-top: 0;
}

.contactUS__info li > span:first-child {
    font-weight: 500;
    margin-bottom: 20px;
    color: #8898b0;
}

.contactUS__info li span {
    display: flex;
    width: 100%;
    justify-content: space-between;
    font-size: 14px;
    line-height: normal;
}

.contactUS__info li img {
    width: 20px;
    height: 20px;
}

.contactUS__info li a[href^="tel:"],.contactUS__info li a[href^="mailto:"] {
    direction: ltr;
    font-size: 14px;
    font-weight: 400;
    color: #6b798d;
}

.pages.titleWrapper {
    position: relative;
    z-index: 1;
}

.pages.titleWrapper h1 {
    text-align: center;
    font-size: 30px;
    font-weight: 600;
    color: #222;
    line-height: 25px;
    margin-top: 100px;
}

.titleWrapper .title::before {
    content: attr(data-title);
    position: absolute;
    color: #eceff4;
    width: 100%;
    top: -40px;
    left: 0;
    font-weight: 800;
    font-size: 30px;
    background: rgb(244, 246, 249);
    background: linear-gradient(180deg, rgba(244, 246, 249, 1) 5%, rgba(231, 236, 242, 1) 95%);
    background-clip: border-box;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f4f6f9", endColorstr="#e7ecf2", GradientType=1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    z-index: -1;
    text-transform: uppercase;
    line-height: 80px;
}

.pages.titleWrapper .title::before {
    font-size: 30px;
    z-index: -1;
}

.about h2 {
    font-size: 27px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 15px;
    color: var(--logo);
}

.about .top p {
    text-align: center;
    line-height: normal;
    margin-bottom: 15px;
    font-size: 15px;
}

.about h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--logo);
    margin-block: 10px;
}

.about p {
    font-size: 14px;
    line-height: normal;
}

.about .team-grid h2 {
    text-align: left;
    color: rgb(17, 17, 17);
    font-size: 30px;
    line-height: normal;
    font-weight: 900;
    position: relative;
}

.about .team-quote p {
    font-size: clamp(18px, 2vw, 25px);
    font-weight: 300;
    line-height: 1.4;
    margin: 0;
}

.weblog .article-card,.related-post .article-card {
    border: 1px solid #ddd;
}

.pagination {
    justify-content: center;
    align-items: center;
}

.pagination .current {
    color: #fff;
    background-color: #242424;
    border: 1px solid #242424;
    padding: 10px 12px;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 500;
}

.pagination a {
    display: inline-block;
    padding: 10px 12px;
    border: 1px solid gray;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 500;
    margin: 0 10px;
    color: #000;
    transition: all .3s;
}

.blog-single {
    margin-top: 80px;
}

.singleHeader {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.singleHeader img {
    max-width: 100%;
    display: block;
    margin: 20px auto;
    border-radius: 10px;
}

.singleHeader h1 {
    font-size: 24px;
    font-weight: 600;
    color: var(--logo);
    margin-bottom: 15px;
}

.uniListContent {
    background: whitesmoke;
    border-radius: 8px;
    margin: 70px 0 30px;
    padding: 30px;
    position: relative;
}

.uniListContent img {
    position: absolute;
    top: -40px;
    right: 0;
    left: 0;
    margin: 0 auto;
}

.uniListContent .content {
    margin-top: 90px;
}

.uniListContent .content p:first-child {
    text-align: center;
    font-size: 19px;
    font-weight: 600;
    color: var(--logo);
    margin-bottom: 10px;
}

.uniListContent .content a {
    display: inline-flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: var(--logo);
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 48px;
}

.qa h3 {
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 40px;
    color: var(--logo);
    font-size: 21px;
}

details {
    padding: 0 20px;
    background-color: #f3f6fa;
    border-radius: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: 0.3s ease;
    border: 0;
}

summary {
    position: relative;
    color: #103b7f;
    font-size: 15px;
    font-weight: 500;
    padding: 1rem 60px 1rem .75rem;
    line-height: 25px;
}

details p {
    position: relative;
    line-height: 25px;
    padding: 0 .25rem 1rem;
    margin: 0 !important;
}

.related-post h3 {
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 40px;
    color: var(--logo);
    font-size: 21px;
}


/*.main-menu {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}*/

.main-menu > li {
    position: relative;
}

.mega-menu {
    position: absolute;
    top: 50px;
    left: -20px;
    width: 750px;
    padding: 30px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transition: .3s ease;
    z-index: 999;
}

.mega-menu::before {
    content: '';
    width: 100%;
    height: 30px;
    background-color: transparent;
    position: absolute;
    left: 0;
    top: -20px;
}

.main-menu > li:hover > .mega-menu {
    opacity: 1;
    visibility: visible;
}

.mega-menu-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.mega-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    border-radius: 8px;
    color: #222;
    text-decoration: none;
    transition: .2s ease;
}

.mega-menu-item:hover {
    background: #f5f5f5;
}

.mega-menu-icon {
    background: #efefef;
    padding: 5px;
    border-radius: 7px;
}

.mega-menu-icon img {
    width: 30px;
    height: auto;
    object-fit: contain;
}

.mega-menu-title {
    font-size: 13px;
    font-weight: 500;
    color: #222;
    line-height: normal;
}

.navOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    display: none;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
}

.navOverlay.show {
    display: block;
}


.menu {
    height: 100%;
    width: 250px;
    position: fixed;
    z-index: 101;
    top: 0;
    right: -250px;
    background-color: #fff;
    overflow-x: hidden;
    transition: 0.5s;
    padding: 30px 15px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.menu.open {
    box-shadow: -188px 172px 131px -100px #fff inset, -55px 0 30px -45px #c8c8c8;
    right: 0;
}

.menu .logo {
    border-bottom: 1px solid #dfdfdf;
    padding-bottom: 15px;
}

.menu .logo img {
    display: block;
    margin: 0 auto;
    max-width: 130px;
}

.menu .closeButton {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 30px;
    color: var(--logo);
    cursor: pointer;
}

.menu .top > ul {
    margin: 50px 20px;
}

.menu .top ul li {
    margin: 25px 0;
    padding: 0;
}

.menu li a {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: #464646;
    line-height: 22px;
}

.menu .menu-item-has-children .sub-menu {
    display: none;
    padding-left: 20px;
}

.menu .menu-item-has-children .sub-menu li {
    list-style-type: disc;
}

.menu .menu-item-has-children > ul li {
    border: 0 !important;
}

.menu .bottom .link-btn {
    display: block;
    width: 100%;
    padding: 15px;
    text-align: center;
}

.menu .contact li {
    display: flex;
    justify-content: space-between;
}

.menu .social {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: 15px 0;
}

.menu .social li {
    margin: 0 15px;
}

.menu .bottom .link-btn {
    display: block;
    width: 100%;
    padding: 15px;
    text-align: center;
    background-color: var(--logo);
    color: #fff;
    border-radius: 20px;
    transition: all .3s;
    cursor: pointer;
    font-size: 13px;
}

.service-content .readmore {
    max-height: 260px;
    overflow: hidden;
    transition: max-height 0.4s ease;
    position: relative;
}



.read-more-btn {
    cursor: pointer;
}

@media (max-width: 768px) {
    .footer-card {
        padding: 2rem;
    }

    .footer-bg-text {
        font-size: 24vw;
        bottom: 0;
    }

    .titleWrapper .title::before {
        font-size: 70px;
        top: -35px;
    }

    .faq img {
        max-width: 200px;
        height: auto;
    }
}

@media (min-width: 576px) {
    .steps-wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .team-section {
        padding: 48px 24px;
    }

    .team-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 32px 16px;
    }

    .team-intro {
        grid-column: 1 / -1;
    }

    .team-cta {
        grid-column: auto;
        min-height: 220px;
        padding: 18px;
    }

    .team-member h3 {
        font-size: 13px;
    }

    .singleHeader {
        display: flex;
    }

    .singleHeader img {
        width: 150px;
        height: auto;
        margin: 0 10px 0 0;
    }

}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        max-width: 80%;
    }

    .inline-gavel img {
        height: 50px;
    }

    .left-box {
        left: -10%;
    }

    .right-box {
        right: -10%;
    }

    .service-box-wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feature-card.image-card {
        height: 100%;
    }

    .feature-card.image-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .why-choose-us .section-title {
        font-size: 3rem;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr; /* دو ستونه شدن کارت‌های بالایی */
    }

    .feature-card.wide {
        grid-column: 1 / -1;
    }

    .card-wide-content {
        flex-direction: row; /* در دسکتاپ متن و عکس کارت پایینی کنار هم قرار می‌گیرند */
        align-items: center;
        justify-content: space-between;
    }

    .card-wide-content .text-content {
        flex: 1;
        padding-right: 2rem;
    }

    .card-wide-content .image-content {
        flex: 0 0 40%;
        position: relative;
    }

    .graphic-map-img {
        transform: rotate(5deg);
        transition: transform 0.3s;
    }

    .feature-card.wide:hover .graphic-map-img {
        transform: rotate(0deg) scale(1.05);
    }

    .article-card {
        flex-direction: column;
    }

    .article-card .img-wrapper {
        width: 100%;
        height: 280px;
    }

    .article-card .card-content {
        width: 100%;
        padding: 1.25rem;
        justify-content: flex-start;
        gap: 10px;
    }

    .article-card .title {
        -webkit-line-clamp: 2;
    }

    .content h2.title {
        font-size: 40px;
        font-weight: 700;
    }

    .why-us ul {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-us li {
        align-items: flex-start;
    }

    .uniListContent {
        max-width: 760px;
        margin: 40px auto 30px;
    }

    .uniListContent img {
        top: 0;
        left: 0;
        right: unset;
        margin: 0;
    }

    .uniListContent .content {
        margin: 0 0 0 30%;
    }

    .uniListContent .content p:first-child, .uniListContent .content p:last-child {
        text-align: left;
    }

}

@media (min-width: 992px) {

    .custom-header {
        height: 65px;
        border-bottom: 0;
        background-color: transparent;
        padding: 10px 0;
    }

    .custom-header.inner {
        background-color: var(--logo);
    }

    .custom-header.is-sticky {
        padding-block: 8px;
    }

    .hero-section {
        padding-top: 190px;
    }

    .hero-title {
        min-height: 152px;
        font-size: 3.8rem;
    }

    .hero-subtitle {
        max-width: 600px;
        font-size: 1.05rem;
    }

    .circle-bg img {
        width: 140px;
        height: 140px;
    }

    .left-box {
        left: -2%;
    }

    .right-box {
        right: -2%;
    }

    .service-box-wrapper {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .index-about .vission h6 {
        font-size: 19px;
    }

    .why-us-container {
        display: flex;
    }

    .steps-wrapper {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .steps .action {
        justify-content: flex-end;
    }

    .team-section {
        padding: 40px 24px;
    }

    .team-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 24px 12px;
        align-items: start;
    }

    .team-intro {
        grid-column: 1;
        grid-row: 1;
        padding-right: 10px;
    }

    .team-intro h2 {
        font-size: 40px;
    }

    .team-intro p {
        font-size: 14px;
    }

    .member-1 {
        grid-column: 2;
        grid-row: 1;
    }

    .member-2 {
        grid-column: 3;
        grid-row: 1;
    }

    .member-3 {
        grid-column: 3;
        grid-row: 2;
    }

    .member-4 {
        grid-column: 4;
        grid-row: 2;
    }

    .member-5 {
        grid-column: 2;
        grid-row: 2;
    }

    .quote-1 {
        grid-column: 4;
        grid-row: 1;
    }


    .team-cta {
        grid-column: 4;
        grid-row: 3;
        min-height: 0;
        aspect-ratio: 4 / 5;
        padding: 18px;
    }

    .team-cta h3 {
        font-size: 15px;
    }

    .team-cta p {
        font-size: 11px;
    }

    .team-member h3 {
        margin: 10px 0 4px;
        position: relative;
        height: 1.3em;
    }

    .team-member h3 span {
        font-size: 12px;
        font-weight: 600;
        line-height: 1.5;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        white-space: nowrap;
        opacity: 1;
    }

    .team-member p {
        position: relative;
        height: 1.5em;
    }

    .team-member p span {
        font-size: 11px;
        line-height: 1.6;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        white-space: nowrap;
        transition: left .4s ease, transform .4s ease;
    }

    .team-member:hover h3 span {
        animation: moveLeft .5s ease forwards;
    }

    .team-member:not(:hover) h3 span {
        animation: moveCenter .5s ease forwards;
    }

    .team-member:hover p span {
        animation: moveLeft .5s ease forwards;
    }

    .team-member:not(:hover) p span {
        animation: moveCenter .5s ease forwards;
    }

    @keyframes moveLeft {
        0% {
            left: 50%;
            transform: translateX(-50%);
            opacity: 1;
        }
        35% {
            opacity: 0.2;
        }
        65% {
            left: 0;
            transform: translateX(0);
            opacity: .5;
        }
        100% {
            left: 0;
            transform: translateX(0);
            opacity: 1;
        }
    }

    @keyframes moveCenter {
        0% {
            left: 0;
            transform: translateX(0);
            opacity: 1;
        }
        35% {
            opacity: .2;
        }
        65% {
            left: 50%;
            transform: translateX(-50%);
            opacity: .5;
        }
        100% {
            left: 50%;
            transform: translateX(-50%);
            opacity: 1;
        }
    }

    .team-member .social {
        top: -10px;
        right: 0;
        opacity: 0;
    }

    .article-card .title {
        min-height: 48px;
    }

    .service-hero h1 {
        font-size: 55px;
    }

    .service-hero p {
        display: flex;
        align-items: center;
    }

    .contentWrapper h2.title {
        font-size: 40px;
    }

    .contactBox {
        width: 65%;
        margin-top: 0;
        padding: 50px 80px 50px 120px;
    }

    .contactSectionWrapper {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    .contactSectionWrapper picture {
        display: block;
        width: 35%;
    }

    .contactSectionWrapper picture img {
        width: 100%;
        left: 70px;
        top: 30px;
        height: 90%;
    }

    .contactBox h2 {
        font-size: 40px;
    }

    .why-us h2 {
        font-size: 45px;
    }

    .why-us ul {
        grid-template-columns: repeat(3, 1fr);
    }


    .faq h2,.faq h2 span {
        font-size: 45px;
    }
}

@media (min-width: 1200px) {

    .nav-glass-pill {
        width: 45%;
        justify-content: space-around;
    }

    .hero-title {
        min-height: 180px;
        font-size: 4.2rem;
    }

    .circle-bg img {
        width: 170px;
        height: 170px;
    }

    .left-box {
        left: 3%;
    }

    .right-box {
        right: 3%;
    }

    .btn-consultation {
        font-size: 14px;
    }
}

@media (min-width: 1400px) {
    .hero-title {
        font-size: 4.5rem;
    }

    .inline-gavel img {
        height: 60px;
    }


}