:root {
    --main-color: #13183E;
    --main2-color: #281E5D;
    --gold-color: #FFDD00;
    --white-color: #fff;
    --bg-greay-color: #fafafa;
    --content-color: #303133;
    --bg-grey: #f5f7fb;
    --mw-bg1: #281E5D;

}

.services-modern {}

.services-modern-title {
    text-align: center;
    /* font-weight: 900;
      margin-bottom: 40px; */
}

.services-modern-lines {
    display: flex;
    justify-content: flex-start;
    gap: 8px;
    margin: 12px 0 40px;
}

.services-modern-lines span {
    width: 36px;
    height: 2px;
    background: #ffc400;
}

.services-modern-lines span:nth-child(2) {
    opacity: .6;
}

.services-modern-lines span:nth-child(3) {
    opacity: .3;
}

.services-modern-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* CARD */
.services-modern-card {
    position: relative;
    background: #fff;
    border: 1px solid #ffc400;
    border-radius: 10px;
    padding: 28px;
    overflow: hidden;
    transition: all 0.5s;
}

.services-modern-card:hover {
    border-color: var(--main-color);
}

/* ARROW */
.services-modern-arrow {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 34px;
    height: 34px;
    background: #ffc400;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
}

/* CONTENT */
.services-modern-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* TEXT */
.services-modern-text {
    text-align: right;
}

.services-modern-text h3 {
    margin: 0 0 6px;
    /* font-size: 16px;
      font-weight: 800; */
    color: var(--main-color);
}

.services-modern-text p {
    margin: 0;
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}

/* ICON (RIGHT SIDE) */
.services-modern-icon {
    flex-shrink: 0;
}

.services-modern-icon img {
    width: 56px;
    height: auto;
}

/* DECOR SVG (LEFT BOTTOM ONLY) */
.services-modern-decor {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 120px;
    height: 120px;
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: contain;
    opacity: .25;
    pointer-events: none;
}

/* SVG TYPES */
.decor-camera {
    background-image: url(../img/currency1.png);
}

.decor-book {
    background-image: url(../img/currency2.png);
}

.decor-wave {
    background-image: url(../img/bag.png);
}

.decor-wallet {
    background-image: url(../img/bag.png);
}

.decor-music {
    background-image: url(../img/currency2.png);
}

.decor-idea {
    background-image: url(../img/currency.png);
}

/* RESPONSIVE */
@media (max-width:992px) {
    .services-modern-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width:600px) {
    .services-modern-grid {
        grid-template-columns: 1fr;
    }
}

/* end services===================== home page */



.modern-why {
    position: relative;
    background: linear-gradient(180deg, var(--mw-bg1), var(--main-color));
    overflow: hidden;
    color: #fff;
}

/* ================= PARTICLES ================= */
.modern-why__particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.modern-why__particles::before,
.modern-why__particles::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(5px 5px at 12% 22%, rgba(255, 255, 255, 0.893), transparent),
        radial-gradient(1.5px 1.5px at 28% 78%, rgba(255, 255, 255, 0.748), transparent),
        radial-gradient(1.8px 1.8px at 45% 45%, rgba(255, 255, 255, .3), transparent),
        radial-gradient(1.2px 1.2px at 60% 85%, rgba(255, 255, 255, .35), transparent),
        radial-gradient(1.6px 1.6px at 72% 32%, rgba(255, 255, 255, 0.892), transparent),
        radial-gradient(1.4px 1.4px at 85% 60%, rgba(255, 255, 255, 0.786), transparent),
        radial-gradient(2px 10px at 90% 15%, rgba(255, 234, 0, 0.916), transparent),
        radial-gradient(1.2px 30px at 15% 90%, rgb(255, 255, 255), transparent);
    animation: mw-stars 50s linear infinite;
    transition: filter .6s ease, opacity .6s ease;
}

.modern-why__particles::after {
    animation-duration: 90s;
    opacity: .6;
    filter: blur(.4px);
}


@keyframes mw-stars {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-350px);
    }
}

/* ================= PARTICLES REACTION ================= */
@keyframes mw-particles-blink {
    0% {
        filter: brightness(1) blur(.4px);
        opacity: .6;
    }

    50% {
        filter: brightness(1.8) blur(.6px) drop-shadow(0 0 8px rgba(255, 221, 0, .6));
        opacity: 1;
    }

    100% {
        filter: brightness(1) blur(.4px);
        opacity: .6;
    }
}

.modern-why:has(.modern-why__card:hover) .modern-why__particles::before,
.modern-why:has(.modern-why__card:hover) .modern-why__particles::after {
    animation: mw-particles-blink 1.3s ease-in-out infinite;
}

/* ================= LAYOUT ================= */
.modern-why__container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.modern-why__head {
    text-align: center;
    margin-bottom: 56px;
}

.modern-why__head h2 {
    color: var(--gold-color);
    margin-bottom: 14px;
    line-height: 1.3;
}

.modern-why__head p {
    color: #cfd4ff;
}

.modern-why__divider {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.modern-why__divider span {
    width: 44px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-color), transparent);
}

/* ================= GRID ================= */
.modern-why__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 44px;
}

/* ================= CARD ================= */
.modern-why__card {
    position: relative;
    padding: 26px 24px 28px;
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)),
        linear-gradient(135deg, #0e1a48, #0b1538);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, .08),
        0 2px 5px rgba(0, 0, 0, .45);
    transition: transform .4s ease, box-shadow .4s ease;
    text-align: right;
}

.modern-why__card::after {
    content: "";
    position: absolute;
    inset: auto 16px 0 16px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold-color), transparent);
    opacity: 0;
    transition: .4s ease;
}

.modern-why__card:hover {
    transform: translateY(-10px);
}

.modern-why__card:hover::after {
    opacity: 1;
}

/* ================= CARD CONTENT ================= */
.modern-why__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: radial-gradient(circle at 30% 30%, #ffd966, #ffb703);
    display: grid;
    place-items: center;
    box-shadow: 0 10px 30px rgba(255, 196, 0, .45);
}

.modern-why__badge img {
    width: 24px;
}

.modern-why__logo {
    position: absolute;
    bottom: 14px;
    left: 14px;
    opacity: .18;
}

.modern-why__logo img {
    width: 70px;
}

.modern-why__title h3 {
    color: var(--gold-color);
}

.modern-why__desc {
    margin-top: 8px;
    /* color: #e6e9ff; */
    line-height: 1.9;
    font-size: 14.5px;
}

/* ================= STATS ================= */
.modern-why__stats {
    margin-top: 54px;
    padding: 18px 22px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0d1b4a, #0a153c);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
    color: var(--gold-color);
}

.modern-why__stat {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.modern-why__stat strong {
    font-size: 22px;
    color: var(----gold-color);
}

.modern-why__stat span {
    color: #dbe0ff;
}

/* ================= RESPONSIVE ================= */
@media (max-width:1100px) {
    .modern-why__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width:640px) {
    .modern-why {
        padding: 80px 0;
    }

    .modern-why__head h2 {
        font-size: 30px;
    }

    .modern-why__grid,
    .modern-why__stats {
        grid-template-columns: 1fr;
    }
}

/* end moder wy sections=====================================================================> */


/* step for service===================== home page */

.flow-steps {
    overflow: hidden;
}



.flow-title {
    text-align: center;
    margin-bottom: 20px;
}

.flow-title-lines {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.flow-title-lines span {
    width: 42px;
    height: 3px;
    background: linear-gradient(90deg,
            transparent,
            #FFDD00,
            transparent);
    border-radius: 4px;
    opacity: 0.85;
}

.flow-title-lines span:nth-child(2) {
    width: 64px;
    opacity: 1;
}

.flow-line {
    position: absolute;
    /* top: 1px; */
    left: 0;
    right: 0;
    margin: auto;
    width: 70%;
    height: 180px;
    margin-top: -20px;
    z-index: 1;
    animation: flowMove 6s linear infinite;
}

@keyframes flowMove {
    from {
        stroke-dashoffset: 0;
    }

    to {
        stroke-dashoffset: -300;
    }
}

/* grid */
.flow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
    z-index: 2;
}

/* step */
.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
}

.flow-step.mid {
    margin-top: 90px;
}

/* pin */
.flow-pin {
    width: 16px;
    height: 16px;
    background: #FFDD00;
    border-radius: 50%;
    box-shadow:
        0 0 0 6px #fff,
        0 0 25px rgba(255, 221, 0, 0.7);
    margin-bottom: 14px;
    animation: pulse 2.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 6px var(--main-color), 0 0 15px rgba(255, 221, 0, .4);
    }

    50% {
        box-shadow: 0 0 0 6px var(--main-color), 0 0 30px rgba(255, 221, 0, .9);
    }

    100% {
        box-shadow: 0 0 0 6px #fff, 0 0 15px var(--main-color);
    }
}

/* card */
.flow-card {
    position: relative;
    background: #fff;
    border-radius: 20px;
    border: 1px solid rgba(10, 20, 57, .06);
    padding: 45px 26px 28px;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
    transition: .4s ease;
}

.flow-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 3px 7px rgba(0, 0, 0, .14);
}

/* big number */
.flow-num {
    position: absolute;
    top: 20px;
    right: 1px;
    font-size: 88px;
    font-weight: 900;
    color: var(--main-color);
    opacity: 0.06;
    pointer-events: none;
}

.flow-card h3 {
    color: var(--main-color);
    margin-bottom: 10px;
}

.flow-card p {
    font-size: 0.95rem;
    line-height: 1.9;
    color: #555;
}

/* responsive */
@media (max-width: 900px) {
    .flow-grid {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .flow-line {
        display: none;
    }

    .flow-step,
    .flow-step.mid {
        margin-top: 40px;
    }
}

/* end step for service===================== home page */

/* start modern typing document ===================== home page */
.docs-typing-section {
    background:
        linear-gradient(rgba(250, 250, 250, .95), rgba(250, 250, 250, .95)),
        url('../img/counter_bg_test.jpg');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
}

.docs-typing-section h2 {
    text-align: center;

}


.title-lines {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 18px 0 45px;
}

.title-lines span {
    width: 40px;
    height: 2px;
    background: #ffc400;
}

.typing-box {
    max-width: 1000px;
    margin: auto;
    padding: 40px;
    border: 1px solid rgba(10, 20, 57, .15);
    border-radius: 26px;
    background: rgba(255, 255, 255, .6);
    backdrop-filter: blur(14px);
}

.typing-content {
    text-align: right;

}


.typing-wrapper {
    display: flex;
    gap: 30px;
    direction: rtl;
    align-items: flex-start;
}

.docs-step-number {
    font-size: 76px;
    font-weight: 900;
    line-height: 1;
    min-width: 90px;
    background: linear-gradient(270deg, #ffc400, #ff8c00, #ffc400);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 6s ease infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 50%
    }
}

/* ===== TEXT ===== */
.typing-text {
    font-size: 20px;
    line-height: 2;
    color: #0a1439;
    font-weight: 500;
}

/* ===== CURSOR ===== */
.cursor {
    animation: blink 1s infinite;
    margin-right: 4px;
}

@keyframes blink {

    0%,
    50%,
    100% {
        opacity: 1
    }

    25%,
    75% {
        opacity: 0
    }
}

/* ===== SVG FLOW ===== */
/* .flow-line-docs{
  width:100%;
  height:22px;
  margin-top:14px;
     left: 0;
    right: 0;
} */

.flow-line-docs path {
    fill: none;
    stroke: url(#grad);
    stroke-width: 2;
    stroke-dasharray: 6 10;
    animation: flow 6s linear infinite;
    stroke: #ffc400;
}

.flow-line-docs {
    position: absolute;
    /* top: 1px; */
    left: 0;
    right: 0;
    margin: auto;
    width: 70%;
    height: 18px;
    margin-top: 10px;
    z-index: 1;
    animation: flowMove 6s linear infinite;
}

@keyframes flow {
    to {
        stroke-dashoffset: -200
    }
}

/* ===== MOBILE ===== */
@media(max-width:768px) {
    .typing-wrapper {
        flex-direction: column;
    }

    .docs-step-number {
        font-size: 56px;
    }

    .typing-text {
        font-size: 17px;
    }
}

/* testtumnel */
.moder-heading {
    background: var(--main-color);
    padding: 4px;

}

/* blog modern start============================== */
/* === BLOG MODERN === */
/* ===== BLOG MODERN ===== */

.blog-modern-wrapper {
    row-gap: 40px;
}

.blog-modern-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(19, 24, 62, 0.08);
    transition: all .45s ease;
    height: 100%;
}

.blog-modern-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 35px 70px rgba(19, 24, 62, 0.15);
}

/* IMAGE */
.blog-modern-image {
    position: relative;
    overflow: hidden;
}

.blog-modern-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform .7s ease;
}

.blog-modern-card:hover img {
    transform: scale(1.12);
}

.blog-modern-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #13183ea9, transparent 60%);
}

/* GLASS META */
.blog-modern-meta {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: flex;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(12px);
    font-size: 16px;
    font-weight: 600;
    color: var(--gold-color);
    z-index: 2;
}

.blog-modern-meta .category {
    color: var(--gold-color);
}

.blog-modern-meta .date {
    color: #444;
}

/* CONTENT */
.blog-modern-content {
    padding: 24px;
    text-align: right;
}

.blog-modern-content h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.7;
}

.blog-modern-content h4 a {
    color: #13183E;
    text-decoration: none;
}

.blog-modern-content p {
    font-size: 14.5px;
    color: #555;
    line-height: 1.9;
    margin-bottom: 22px;
}

/* READ MORE */
.blog-modern-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #13183E;
    text-decoration: none;
    transition: all .3s ease;
}

.blog-modern-more span {
    transition: transform .3s ease;
}

.blog-modern-card:hover .blog-modern-more {
    color: #ffc400;
}

.blog-modern-card:hover .blog-modern-more span {
    transform: translateX(-6px);
}

/* MOBILE */
@media (max-width:768px) {
    .blog-modern-image img {
        height: 200px;
    }
}

/* end blog modern============================== */

/* cat section strart==================== */
.cta-slim {
    padding: 40px 20px;
    background: linear-gradient(135deg,
            #ffdd00 0%,
            #ffe84d 100%);
}

.cta-slim-inner {
    max-width: 1200px;
    margin: auto;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: 28px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    box-shadow: 0 15px 40px rgba(19, 24, 62, 0.25);
}

.cta-text {
    text-align: right;
}

.cta-text h3 {
    margin: 0 0 6px;
    font-size: 22px;
    color: var(--main-color);
    font-weight: 00;
}

.cta-text p {
    margin: 0;
    font-size: 16px;
    color: var(--main-color);
    opacity: 0.9;
}

.cta-wa-btn {
    padding: 12px 28px;
    background: var(--main-color);
    color: var(--gold-color);
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.35s ease;
    box-shadow: 0 12px 30px rgba(19, 24, 62, 0.4);
}

.cta-wa-btn:hover {
    background: #0f1435;
    transform: translateY(-3px);
    box-shadow: 0 18px 45px rgba(19, 24, 62, 0.6);
    color: #16e603;
}

/*  Mobile */
@media (max-width: 768px) {
    .cta-slim-inner {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }

    .cta-text h3 {
        font-size: 20px;
    }

    .cta-wa-btn {
        width: 100%;
        text-align: center;
    }
}

/* end cat section==================== */

/* hero section ====================== */
/* HERO */
.hero-modern {
    position: relative;
    min-height: 90svh;
    background: radial-gradient(circle at top right, #1a1f4f, #0f1435);
    overflow: hidden;
    display: flex;
    align-items: center;
    margin-top: 50px;
}

/* PARTICLES */
.particles {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: floatUp linear infinite;
}

@keyframes floatUp {
    from {
        transform: translateY(120vh);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    to {
        transform: translateY(-20vh);
        opacity: 0;
    }
}

.hero-bg-shape {
    position: absolute;
    width: 500px;
    height: 500px;
    background: #FFDD00;
    opacity: 0.15;
    border-radius: 50%;
    top: -150px;
    left: -150px;
    filter: blur(120px);
    z-index: 0;
}

.hero-container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: right;
}

/* CONTENT */
.hero-badge {
    display: inline-block;
    background: rgba(255, 221, 0, 0.15);
    color: #FFDD00;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 44px;
    line-height: 1.4;
    margin: 0 0 20px;
}

.gradient-text {
    background: linear-gradient(90deg, #FFDD00, #ffffff, #FFDD00);
    background-size: 200%;
    -webkit-background-clip: text;
    color: transparent;
    animation: gradientMove 4s infinite linear;
}

@keyframes gradientMove {
    0% {
        background-position: 0%;
    }

    100% {
        background-position: 200%;
    }
}

.title-underline {
    width: 220px;
    height: 20px;
    display: block;
}

.title-underline path {
    fill: none;
    stroke: #FFDD00;
    stroke-width: 3;
}

.hero-desc {
    font-size: 16px;
    color: #cfd3ff;
    max-width: 520px;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn-primary {
    background: #FFDD00;
    color: #13183E;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
}

.btn-primary:hover {
    background: #0f7006;
}

.btn-outline {
    border: 1px solid #FFDD00;
    color: #FFDD00;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
}

.btn-outline:hover {
    background: #FFDD00;
    color: #13183E;
}

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-number {
    font-size: 28px;
    font-weight: 800;
    color: #FFDD00;
}

.stat-label {
    display: block;
    font-size: 13px;
    color: #b8bcff;
}

/* CALCULATOR */
.exchange-card {
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(14px);
    border-radius: 24px;
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, .18);
}

.exchange-card h3 {
    color: var(--gold-color);

}

.calc-row {
    display: grid;
    grid-template-columns: 1fr 90px;
    gap: 10px;
    margin-bottom: 12px;
}

.calc-row input,
.calc-row select {
    background: rgba(27, 18, 73, 0.6);
    border: 1px solid rgba(255, 255, 255, .2);
    color: #fff;
    padding: 12px;
    border-radius: 14px;
    outline: none;
}

.calc-result {
    margin-top: 14px;
    padding: 14px;
    border-radius: 14px;
    background: rgba(255, 221, 0, .15);
    color: #FFDD00;
    text-align: center;
    font-weight: 700;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-actions,
    .hero-stats {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 34px;
    }
}

@media (max-width: 360px) {
    .hero-desc {
        font-size: 14px;
    }
}

@media (min-width: 900px) {
    .hero-modern {
        margin-top: 50px;
    }
}

/* end hero section ====================== */
/* ai assistant start==================== */
.ai-assistant {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 340px;
    max-height: 520px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .4);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
    transition: all .6s ease;
    z-index: 9999;
}

.ai-assistant.show {
    opacity: 1;
    transform: translateY(0);
}

.ai-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #0a1439cf;
    text-align: right;
}

.ai-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #FFDD00;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.ai-header small {
    display: block;
    font-size: 13px;
    color: #02fd0f;
}

.ai-header strong {
    display: block;
    font-size: 17px;
    color: var(--gold-color);
}

.ai-close {
    margin-right: auto;
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
}

.ai-body {
    padding: 16px;
    flex: 1;
    overflow-y: auto;
}

.ai-message {
    max-width: 85%;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.ai-message.bot {
    background: var(--mw-bg1);
    border-bottom-right-radius: 4px;
    text-align: right;
    color: #fff;
}

.ai-footer {
    display: flex;
    gap: 8px;
    padding: 14px;
    background: rgba(0, 0, 0, .25);
}

.ai-footer input {
    flex: 1;
    background: rgba(0, 0, 0, .4);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 14px;
    padding: 10px 14px;
    color: #fff;
    outline: none;
}

.ai-footer button {
    background: #FFDD00;
    border: none;
    color: #13183E;
    width: 42px;
    border-radius: 14px;
    font-size: 18px;
    cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 480px) {
    .ai-assistant {
        right: 10px;
        left: 10px;
        width: auto;
        bottom: 15px;
    }
}

/* TYPING INDICATOR */
.typing {
    display: flex;
    gap: 6px;
    align-items: center;
    background: rgba(255, 255, 255, .15);
    padding: 10px 14px;
    border-radius: 14px;
    width: fit-content;
    margin-bottom: 12px;
}

.typing span {
    width: 6px;
    height: 6px;
    background: var(--gold-color);
    border-radius: 50%;
    animation: blink 1.4s infinite both;
}

.typing span:nth-child(2) {
    animation-delay: .2s;
}

.typing span:nth-child(3) {
    animation-delay: .4s;
}

@keyframes blink {
    0% {
        opacity: .2;
    }

    20% {
        opacity: 1;
    }

    100% {
        opacity: .2;
    }
}

/* MOBILE POSITION IMPROVE */
@media (max-width: 480px) {
    .ai-assistant {
        left: 12px;
        right: 12px;
        bottom: 12px;
        border-radius: 18px;
    }
}

/* latest posts section =========================================> */
.blog-section-modern {}

/* HEADER */
.blog-header-modern {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.blog-title {
    color: var(--main-color);
    white-space: nowrap;
}

.blog-header-line {
    flex: 1;
    height: 5px;
}

.blog-header-line path {
    fill: none;
    stroke: var(--mw-bg1);
    stroke-width: 2;
    stroke-dasharray: 5 6;
}

.blog-more-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    border-radius: 30px;
    background: var(--mw-bg1);
    color: var(--gold-color);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: .3s;
}

.blog-more-btn:hover {
    background: var(--gold-color);
    color: var(--main-color);
}

/* GRID */
.blog-featured-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 26px;
}

/* CARD */
.blog-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(19, 24, 62, .1);
    transition: .35s;
}

.blog-card:hover {
    transform: translateY(-6px);
}

/* IMAGE */
.blog-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-side-item .blog-image {
    height: 140px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s;
}

.blog-card:hover img {
    transform: scale(1.08);
}

.blog-image-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right,
            #13183ea9,
            transparent 65%);
    pointer-events: none;
}

/* META */
.blog-meta {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: flex;
    gap: 10px;
    padding: 6px 14px;
    /* font-size: 11px; */
    border-radius: 30px;
    background: rgba(0, 0, 0, .45);
    backdrop-filter: blur(10px);
    color: var(--white-color);
}

.blog-meta .cat {
    color: var(--gold-color);
    font-weight: 700;
}

/* CONTENT */
.blog-content {
    padding: 18px;
    text-align: right;
}

.blog-featured-main h3 a {
    /* font-size: 25px; */
    color: var(--main-color);
    /* font-weight: 700; */
    text-decoration: none;
    line-height: 1.8;
}

.blog-side-item h4 a {
    /* font-size: 14px; */
    color: var(--main-color);
    text-decoration: none;
}

.blog-content p {
    margin: 10px 0 16px;
    /* line-height: 1.9; */
}

/* CARD FOOTER */
.blog-card-footer {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed rgba(19, 24, 62, .12);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.blog-card-footer.small {
    padding-top: 10px;
}

/* AUTHOR + DATE */
.blog-author .date {
    font-size: 16px;
    color: var(--content-color);
    font-weight: 700;
    margin-left: 10px;
}

.blog-author .author {
    font-size: 16px;
    color: var(--mw-bg1);
    font-weight: 700;
}

.blog-card-footer .date {
    font-size: 16px;
    font-weight: 700;
    color: var(--content-color);
}

.blog-card-footer .author {
    font-size: 16px;
    font-weight: 700;
    color: var(--mw-bg1);
}

/* SIDE */
.blog-featured-side {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

@media (max-width: 992px) {
    .blog-featured-grid {
        grid-template-columns: 1fr;
    }

    .blog-header-modern {
        flex-direction: column;
        align-items: flex-start;
    }

    .blog-title {
        font-size: 24px;
    }

    .blog-content p {
        display: none;
    }
}


/* modern te Testimonial*/
/* ==========================================================================
   10.0 Testimonial Section
   ========================================================================== */
.modern-testimonial {
    position: relative;
    background: linear-gradient(135deg, var(--main-color), var(--main2-color));
    padding: 70px 20px;
    direction: rtl;
    color: var(--white-color);
    overflow: hidden;
}

.bg-svg {
    position: absolute;
    width: 420px;
    height: 420px;
    top: -120px;
    left: -120px;
    z-index: 0;
}

.container {
    /* max-width: 1200px; */
    margin: auto;
    position: relative;
    z-index: 1;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.testimonial-content {
    text-align: right;
}

.testimonial-content h2 {
    font-size: 34px;
    color: var(--gold-color);
    line-height: 1.2;
}

.title-line {
    display: block;
    width: 80px;
    height: 3px;
    background: var(--gold-color);
    margin: 15px 0 20px;
    border-radius: 10px;
}

.testimonial-content p {
    line-height: 2;
    opacity: 0.9;
}

.view-all-btn {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 28px;
    border-radius: 30px;
    background: linear-gradient(135deg, var(--gold-color), #f9b707);
    color: var(--main-color);
    font-weight: 700;
    text-decoration: none;
    transition: 0.4s ease;
}

.view-all-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 221, 0, 0.35);
}


/* Carousel */
.testimonial-carousel {
    position: relative;
    overflow: hidden;
    max-width: 420px;

}

.carousel-track {
    display: flex;
    transition: transform 0.7s ease;
    cursor: grab;
    gap: 0;
}

.testimonial-card {
    flex: 0 0 100%;
    width: 100%;
    box-sizing: border-box;
    border-bottom: 1px solid var(--gold-color);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    text-align: right;
}


.testimonial-card span {
    color: var(--gold-color);
    font-size: 14px;
}

.testimonial-card .author {
    display: block;
    margin-top: 20px;
    text-align: center;
    font-weight: 700;
    font-size: 15px;
    color: var(--gold-color);
    position: relative;
}

.testimonial-card .author::before {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    background: var(--gold-color);
    margin: 0 auto 10px;
    opacity: 0.6;
}


/* Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background: var(--gold-color);
    color: var(--main-color);
    font-size: 18px;
    cursor: pointer;
}

.prev {
    right: -60px;
}

.next {
    left: -60px;
}

/* Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
}

.carousel-dots span {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
}

.carousel-dots .active {
    background: var(--gold-color);
}

/* Responsive */
@media (max-width: 900px) {
    .testimonial-grid {
        grid-template-columns: 1fr;
    }



    .prev,
    .next {
        display: none;
    }
}

@media (min-width: 900px) {
    .testimonial-carousel {
        margin: 0 auto;
    }
}

/* end modern Testimonial ========================================= */

.currency_section {
    position: relative;
    overflow: hidden;
}

/* ظرف جدول */
.currency_section .table-responsive {
    position: relative;
    z-index: 2;
    background: transparent;
}

/* SVG آیکون‌های ارزی */
.currency-icons-svg {
    position: absolute;
    inset: 0;
    /* کل سکشن */
    width: 100%;
    height: 100%;
    z-index: 1;
    /* زیر جدول */
    pointer-events: none;
}

/* انتقال SVG به اطراف جدول */
@media (min-width: 768px) {
    .currency-icons-svg {
        transform: translateY(-30px);
    }
}

/* محدود کردن دیده شدن پشت جدول */
.custom-currency-table {
    position: relative;
    z-index: 3;
    background-color: #F4F5F6;
}



/* ==========================================================================
   Currency Section
   ========================================================================== */
.currency_logo {
    max-width: 25px;
    margin-left: 10px;
    vertical-align: middle;
    margin-right: 10px;
}

.custom-currency-table {
    border: 1px solid #ddd;
    font-size: 15px;
}

.custom-currency-table th {
    background-color: #0d1140;
    color: white;
    padding: 20px;
    text-align: center;
}

.custom-currency-table td {
    padding: 10px 10px;
    vertical-align: middle;
    border: 1px solid #AFAFAF3D;
    text-align: center;
}

.custom-currency-table {
    background-color: #F4F5F6;
}

.custom-currency-table td.up::before {
    content: "\f0d8";
    font-family: "FontAwesome";
    margin-left: 5px;
    color: #27ae60;
}

.custom-currency-table td.down::before {
    content: "\f0d7";
    font-family: "FontAwesome";
    margin-left: 5px;
    color: #ff0000;
}

/* گوشه‌های گرد برای هدر جدول */
.custom-currency-table thead th:first-child {
    border-top-right-radius: 24px;
}

.custom-currency-table thead th:last-child {
    border-top-left-radius: 24px;
}

.transfer tbody tr:first-child {
    border-bottom-right-radius: 24px;
}

/* اطمینان از اینکه گوشه‌ها برش بخورند */
.table-responsive {
    overflow: hidden;
    border-radius: 24px;
}

/* ریسپانسیو: مخفی کردن ستون آخر در موبایل */
@media (max-width: 768px) {
    .hide-mobile {
        display: none;
    }
}





/* ===================================== */

/* ================= HERO CONTACT ================= */

.bamika-contact-hero {
    background: linear-gradient(to bottom, #2b2400, #0f0f0f);
    padding-top: 80px;
    padding-bottom: 0;
    position: relative;
    overflow: hidden;
}

.contact-hero-container {
    width: 90%;
    max-width: 1300px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

/* IMAGE SIDE */

.contact-hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: -20px;
}

.contact-hero-image img {
    width: 420px;
    max-width: 100%;
    position: relative;
    z-index: 2;
    filter: grayscale(100%);
}

/* Soft Yellow Glow Behind Head */

.contact-hero-image::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle,
            rgba(255, 221, 0, 0.45) 0%,
            rgba(255, 221, 0, 0.25) 40%,
            rgba(255, 221, 0, 0.1) 60%,
            transparent 75%);
    border-radius: 50%;
    top: 120px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    filter: blur(25px);
}

/* Animated Rings */

.contact-hero-rings {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: repeating-radial-gradient(circle,
            rgba(255, 221, 0, 0.15) 0px,
            rgba(255, 221, 0, 0.15) 2px,
            transparent 2px,
            transparent 35px);
    animation: rotateRings 20s linear infinite;
}

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

    to {
        transform: rotate(360deg);
    }
}

/* CONTENT SIDE */

.contact-hero-content {
    flex: 1;
    color: #fff;
}

.contact-hero-content h1 {
    line-height: 1.4;
}

.contact-hero-content p {
    color: #ccc;
    font-size: 17px;
    line-height: 2;
    margin-bottom: 35px;
}

/* BUTTONS */

.contact-hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-content: space-around;
    justify-content: space-evenly;
    padding: 10px;
    background-color: #06227e2a;
    border-radius: 10px;
}

.contact-btn-primary {
    background: var(--gold-color);
    color: var(--main-color);
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.contact-btn-primary:hover {
    background: var(--gold-color);
    transform: translateY(-3px);
}

.contact-btn-outline {
    border: 2px solid var(--gold-color);
    color: var(--gold-color);
    padding: 14px 32px;
    border-radius: 10px;
    text-decoration: none;
    transition: 0.3s;
}

.contact-btn-outline:hover {
    background: var(--gold-color);
    color: var(--main-color);
    transform: translateY(-3px);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {

    .contact-hero-container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .contact-hero-content h1 {
        font-size: 32px;
    }

    .contact-hero-content {
        order: 1;
    }

    .contact-hero-image {
        order: 2;
        margin-top: 30px;
    }

    .contact-hero-rings {
        width: 350px;
        height: 350px;
    }

    .contact-hero-image img {
        /* width: 280px; */
    }

    .bamika-contact-hero {
        padding: 90px 0 0 0;
    }
}

@media (max-width: 576px) {

    .contact-hero-content p {
        font-size: 15px;
    }


}


/*  */

/* ================= SOFT INTERNATIONAL SOCIAL ================= */

.soft-social-section {
    /* background: var(--bg-grey); */
    /* padding: 110px 0; */
    position: relative;
    overflow: hidden;
}

/* Subtle golden glow decor */

.soft-social-bg-decor {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 221, 0, 0.08), transparent 70%);
    bottom: -150px;
    right: -150px;
    pointer-events: none;
}

/* Container */

.soft-social-container {
    width: 90%;
    max-width: 1180px;
    margin: auto;
    position: relative;
    z-index: 2;
}

/* Header */

.soft-social-header {
    text-align: center;
    margin-bottom: 70px;
}

.soft-social-header h2 {
    font-size: 32px;
    color: var(--main-color);
    margin-bottom: 12px;
    font-weight: 600;
}

.soft-social-header p {
    color: var(--content-color);
}

/* Grid */

.soft-social-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

/* Card */

.soft-social-card {
    background: var(--bg-grey);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 40px 20px;
    text-align: center;
    text-decoration: none;
    color: var(--main-color);
    transition: all 0.35s ease;
}

.soft-social-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.06);
    border-color: var(--main-color);
}

/* Icon */

.soft-social-icon {
    width: 68px;
    height: 68px;
    margin: auto;
    margin-bottom: 18px;
    border-radius: 50%;
    /* background: rgba(255, 221, 0, 0.838); */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--main-color);
    transition: 0.35s ease;
}

.soft-social-icon svg {
    width: 26px;
    height: 26px;
}

.soft-social-card:hover .soft-social-icon {
    background: rgba(255, 221, 0, 0.18);
    color: var(--main-color);
}

/* Text */

.soft-social-card span {
    font-size: 15px;
    font-weight: 500;
}

/* Responsive */

@media (max-width: 992px) {
    .soft-social-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .soft-social-grid {
        grid-template-columns: 1fr;
    }
}



/* ================= WHY BAMIKA ================= */

.bamika-why-section {
    background: linear-gradient(135deg, var(--main-color), var(--main2-color));
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

/* subtle gold glow */

.bamika-why-section::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 221, 0, 0.08), transparent 70%);
    top: -200px;
    left: -150px;
    pointer-events: none;
}

.bamika-why-container {
    width: 92%;
    max-width: 1250px;
    margin: auto;
}

.bamika-why-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
}

/* Item */

.bamika-why-item {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px 22px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white-color);
    font-size: 14px;
    transition: 0.35s ease;
    cursor: default;
}

.bamika-why-item:hover {
    background: rgba(255, 221, 0, 0.12);
    border-color: rgba(255, 221, 0, 0.4);
    transform: translateY(-4px);
}

/* Icon */

.bamika-why-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(255, 221, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-color);
    transition: 0.3s;
}

.bamika-why-icon svg {
    width: 18px;
    height: 18px;
}

.bamika-why-item:hover .bamika-why-icon {
    background: var(--gold-color);
    color: var(--main-color);
}

/* Responsive */

@media (max-width: 768px) {
    .bamika-why-grid {
        flex-direction: column;
        align-items: center;
    }

    .bamika-why-item {
        width: 100%;
        justify-content: center;
    }
}