:root {
    --primary-green: #0a3d2e;
    /* سبز زمردی لوکس */
    --mustard: #d4a017;
    /* خردلی طلایی */
    --text-white: #ffffff;
    --bg-light: #f4f7f6;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-light);
    color: var(--primary-green);
}

/* --- هدر یکدست و بدون باکس --- */
header {
    background-color: var(--primary-green);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-right {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-center {
    flex: 2;
    display: flex;
    justify-content: center;
}

.header-left {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
}

.logo {
    text-decoration: none;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.3s;
}

nav ul li a:hover {
    color: var(--mustard);
}

.lang-select {
    background: none;
    border: none;
    color: white;
    font-family: inherit;
    cursor: pointer;
    outline: none;
}

.btn-order {
    color: var(--mustard);
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    border-bottom: 2px solid var(--mustard);
    padding-bottom: 2px;
    transition: 0.3s;
}

.btn-order:hover {
    color: white;
    border-color: white;
}

/* --- نوار ساعت زیر هدر --- */
.clocks-bar {
    background: #082f24;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 5px 0;
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(212, 160, 23, 0.2);
}

.clock-item b {
    color: var(--mustard);
    margin-left: 5px;
}

/* --- ساختار اصلی (۳ بخشی) --- */
.main-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 30px;
    padding: 40px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

/* سمت راست: محتوا */
.content-section h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-green);
}

.content-section p {
    line-height: 2;
    text-align: justify;
    font-weight: 300;
}

/* وسط: قیمت‌ها */
.rates-section h3 {
    text-align: center;
    margin-bottom: 20px;
}

.rate-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.rate-card:last-child {
    border: none;
}

.currency {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
}

.price {
    color: #27ae60;
    font-weight: 800;
    font-size: 1.1rem;
}

/* سمت چپ: ماشین حساب */
.calc-section h3 {
    margin-bottom: 20px;
}

.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    font-size: 0.8rem;
    margin-bottom: 5px;
    opacity: 0.7;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-sizing: border-box;
    outline: none;
}

.calc-btn {
    width: 100%;
    background: var(--mustard);
    color: var(--primary-green);
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.calc-btn:hover {
    background: var(--primary-green);
    color: white;
}

.calc-result {
    text-align: center;
}

/* --- منوی موبایل (Bottom Nav & Sheet) --- */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--primary-green);
    color: white;
    justify-content: space-around;
    padding: 10px 0;
    z-index: 2000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.nav-item {
    text-align: center;
    font-size: 0.75rem;
    cursor: pointer;
}

.nav-item i {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 3px;
}

.bottom-sheet {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: white;
    z-index: 2001;
    border-radius: 25px 25px 0 0;
    padding: 40px 20px;
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

.bottom-sheet.active {
    bottom: 0;
}

.bottom-sheet ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

.bottom-sheet ul li {
    padding: 15px 0;
    font-size: 1.2rem;
    border-bottom: 1px solid #eee;
}

.bottom-sheet ul li a {
    text-decoration: none;
    color: var(--primary-green);
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1999;
}

/* ریسپانسیو */
@media (max-width: 992px) {
    .main-container {
        grid-template-columns: 1fr;
    }

    .header-center {
        display: none;
    }

    .mobile-bottom-nav {
        display: flex;
    }

    body {
        padding-bottom: 70px;
    }
}


@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@500;700&display=swap');

.vip-exchange-wrapper {
    max-width: 1100px;
    margin: 40px auto;
    font-family: 'Vazirmatn', sans-serif;
    background: #fff;
    padding: 25px;
    border-radius: 30px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(10, 61, 46, 0.1);
}

/* هدر */
.vip-update-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 0 10px;
}

.update-label {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0a3d2e;
    padding-right: 15px;
}

.update-time-box {
    background: #0a3d2e;
    color: #d4a017;
    padding: 8px 20px;
    border-radius: 12px;
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
}

/* جدول */
.vip-table-container {
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid #0a3d2e;
    margin-bottom: 30px;
}

.vip-table {
    width: 100%;
    border-collapse: collapse;
}

.vip-table th {
    background: #0a3d2e;
    color: #d4a017;
    padding: 20px;
}

.vip-table td {
    padding: 18px 20px;
    border-bottom: 1px solid #f0f0f0;
    border-left: 1px solid #f0f0f0;
}

.v-symbol {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    color: #0a3d2e;
    background: #f9fbf9;
}

.v-buy {
    color: #d32f2f !important;
    font-weight: 700;
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
}

.v-sell {
    color: #2e7d32 !important;
    font-weight: 700;
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
}

.v-flag {
    margin-left: 8px;
    font-size: 1.2rem;
}

.v-icon {
    font-size: 0.7rem;
    margin-left: 5px;
}

/* بخش کال تو اکشن جدید */
.cta-order-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fdfaf0;
    padding: 30px;
    border-radius: 20px;
    border: 1px dashed #d4a017;
}

.cta-text-right h3 {
    margin: 0 0 10px 0;
    color: #0a3d2e;
    font-size: 1.4rem;
    font-weight: 800;
}

.cta-text-right p {
    margin: 0;
    color: #555;
    font-size: 1rem;
}

.whatsapp-order-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #25D366;
    /* رنگ رسمی واتس‌اپ */
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 15px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

.whatsapp-order-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
    background-color: #20ba5a;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .cta-order-row {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .vip-table th,
    .vip-table td {
        padding: 12px;
        font-size: 0.85rem;
    }

    .v-buy,
    .v-sell {
        font-size: 0.95rem;
    }
}

.services-section {
    max-width: 1150px;
    margin: 50px auto;
    padding: 0 20px;
    font-family: 'Vazirmatn', sans-serif;
}

.services-title {
    text-align: center;
    margin-bottom: 40px;
}

.services-title h2 {
    color: #0a3d2e;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.services-title p {
    color: #666;
    font-size: 1rem;
}

/* گرید اصلی: ۳ ستون در دسکتاپ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.service-card {
    background: #fff;
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #d4a017;
    /* خط طلایی پایین */
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(10, 61, 46, 0.1);
    border-color: #d4a017;
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: #f9fbf9;
    color: #0a3d2e;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    transition: 0.3s;
}

.service-icon svg {
    width: 35px;
    height: 35px;
}

.service-card:hover .service-icon {
    background: #0a3d2e;
    color: #d4a017;
}

.service-card h3 {
    color: #0a3d2e;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.service-card p {
    color: #777;
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
}

/* ریسپانسیو */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        /* ۲ ستون در تبلت */
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
        /* ۱ ستون در موبایل */
    }

    .services-title h2 {
        font-size: 1.5rem;
    }
}

.faq-section {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
    font-family: 'Vazirmatn', sans-serif;
}

.faq-header {
    text-align: center;
    margin-bottom: 40px;
}

.faq-header h2 {
    color: #0a3d2e;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.faq-header p {
    color: #666;
    font-size: 0.95rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: #fff;
    border-radius: 15px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.faq-item:hover {
    border-color: #d4a017;
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: #0a3d2e;
    font-size: 1.05rem;
    font-weight: 700;
    font-family: inherit;
    transition: 0.3s;
}

.faq-icon {
    background: #f1f1f1;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #d4a017;
    font-size: 1.2rem;
    font-weight: bold;
    transition: 0.3s;
}

.faq-item.active {
    border-color: #d4a017;
    box-shadow: 0 10px 20px rgba(10, 61, 46, 0.05);
}

.faq-item.active .faq-question {
    color: #d4a017;
}

.faq-item.active .faq-icon {
    background: #0a3d2e;
    color: #fff;
    transform: rotate(45deg);
    /* تبدیل + به × */
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: #f9fbf9;
}

.faq-answer p {
    padding: 0 25px 20px;
    margin: 0;
    color: #555;
    line-height: 1.8;
    font-size: 0.95rem;
    text-align: justify;
}

/* ریسپانسیو */
@media (max-width: 600px) {
    .faq-header h2 {
        font-size: 1.5rem;
    }

    .faq-question {
        padding: 15px 20px;
        font-size: 0.95rem;
    }
}

/* --- استایل فوتر جدید --- */
.main-footer {
    background-color: #0a3d2e;
    /* سبز هدر */
    color: white;
    font-family: 'Vazirmatn', sans-serif;
    margin-top: 50px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-top {
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-top .footer-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h3 {
    color: var(--mustard, #d4a017);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: #d4a017;
    padding-right: 5px;
}

/* ستون ارتباطات */

.contact-info {
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.social-box {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.s-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.s-icon:hover {
    background: #d4a017;
    color: #0a3d2e;
}

/* نوار پایینی فوتر */
.footer-bottom {
    background-color: #06261d;
    /* سبز تیره تر */
    padding: 20px 0;
}

.bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.bottom-links a {
    color: #d4a017;
    text-decoration: none;
    margin-left: 25px;
    font-size: 0.9rem;
}

.chat-button {
    background: white;
    color: #0a3d2e;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.copyright {
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 15px;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .footer-top .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-col {
        text-align: center;
    }

    .social-box {
        align-items: center;
    }

    .bottom-flex {
        flex-direction: column;
        gap: 20px;
    }

    .bottom-links a {
        margin: 0 10px;
    }
}