body {
  margin: 0;
  font-family: 'Inter', sans-serif;
}


.header {
  background: #ffffff;
  margin-bottom: 0;
}

.header-inner {
  max-width: 1200px;
  margin: auto;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 2px;
  color: #1e4fd8;
}

.nav a {
  margin-left: 30px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.nav a:hover {
  color: #1e4fd8;
}


.header a {
  margin-left: 20px;
  text-decoration: none;
  color: #333;
}
.hero {
  background: #ffffff;
  margin: 0;
  padding: 0;
}



table {
  width: 100%;
  background: white;
  border-collapse: collapse;
}

th, td {
  padding: 15px;
  border-bottom: 1px solid #eee;
  text-align: left;
}
.hero {
  background: #ffffff;
  padding: 0px 0;
}

.hero-inner {
  max-width: 1200px;
  margin: auto;
  padding: 0 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  max-width: 1200px;
  width: 100%;
  display: block;
}


.hero-text {
  max-width: 500px;
}

.hero-text h1 {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
}


.hero-text p {
  font-size: 15px;
  color: #666;
  max-width: 420px;
}


.hero-box {
  width: 280px;
  height: 180px;
  background: linear-gradient(135deg, #3b82f6, #22c55e);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
}
.intro {
  padding: 80px 40px;
  background: #ffffff;
}

.intro .container {
  max-width: 800px;
  margin: auto;
  text-align: center;
}

.intro h2 {
  font-size: 32px;
  margin-bottom: 16px;
}

.rates {
  background: #ffffff;
  padding: 0;      /* فاصله بالا و پایین صفر */
  margin: 0;
  
}




.rates h2 {
  font-size: 28px;
  margin-bottom: 30px;
}
/* جدول نرخ ارز - عرض بیشتر و طولانی‌تر مثل بنر پایین */
.rates-inner {
  max-width: 1200px; /* بیشتر از قبلی (900px بود) */
  margin: 0 auto;
  padding: 0 20px; /* padding کمتر برای طولانی‌تر شدن */
}

.rates-table {
  background: #f9fbff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  width: 100%; /* عرض کامل container */
  max-width: 1180px; /* کمی کمتر از container برای حاشیه زیبا */
  margin: 0 auto; /* وسط چین */
}

/* ردیف‌ها - فاصله داخلی کمتر برای کشیده‌تر شدن */
.rate-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  align-items: center;
  padding: 18px 40px; /* padding افقی بیشتر برای طولانی‌تر دیده شدن */
  border-bottom: 1px solid #eaeef5;
  font-size: 15px;
}




.rate-row:last-child {
  border-bottom: none;
}

/* Header */
.rate-head {
  font-weight: 600;
  background: #f1f5ff;
}

/* Currency cell */
.currency {
  display: flex;
  align-items: center;
  gap: 12px;
}

.currency img {
  width: 24px;
  height: 24px;
}
.rate-row:not(.rate-head):hover {
  background: #eef3ff;
}
.rate-row span:nth-child(2),
.rate-row span:nth-child(3) {
  font-weight: 500;
}
.footer {
  background: #f5f8ff;
  margin-top: 120px;
}

.footer-inner {
  max-width: 1200px;
  margin: auto;
  padding: 80px 40px 40px;

  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
}

/* Brand */
.footer-brand h3 {
  font-size: 18px;
  letter-spacing: 3px;
  color: #1e4fd8;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  color: #666;
  max-width: 360px;
  line-height: 1.6;
}

/* Links */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  text-decoration: none;
  font-size: 14px;
  color: #333;
}

.footer-links a:hover {
  color: #1e4fd8;
}

/* Bottom */
.footer-bottom {
  text-align: center;
  padding: 20px;
  font-size: 12px;
  color: #888;
  border-top: 1px solid #e5eaf5;
}
.footer-wave {
  max-width: 1200px;
  width: 100%;
  display: block;
  text-align: center;
}
.wave-section {
  background: #ffffff;
  padding-top: 60px;
}

.wave-inner {
  max-width: 1200px;   /* دقیقاً مثل Hero */
  margin: auto;
  padding: 0 40px;
}

.wave-inner img {
  width: 100%;
  max-width: 100%;
  display: block;
}
.footer {
  background: #f5f8ff;
  margin-top: 0;
}
.wave-section {
  padding-top: 40px;
}
.services-hero {
    padding: 60px 20px;
    background: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.services-cards {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 80px;
    flex-wrap: wrap;
}

.card {
    flex: 1;
    min-width: 280px;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: left;
}

.card.highlighted {
    border: 3px solid #007bff; /* آبی مثل طرح فیگما */
    position: relative;
}

.card h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #007bff;
}

.card p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

/* بنر بزرگ */
.banner {
    height: 500px;
    background: url('assets/images/world.jpg') center/cover no-repeat;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.banner-text {
    text-align: center;
    color: white;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
}

.banner-text h1 {
    font-size: 48px;
    line-height: 1.2;
    font-weight: bold;
}

/* ریسپانسیو برای موبایل */
@media (max-width: 768px) {
    .services-cards {
        flex-direction: column;
    }
    
    .banner-text h1 {
        font-size: 32px;
    }
    
    .banner {
        height: 400px;
    }
}
.trusted-partner-section {
    padding: 100px 20px 60px;
    background: #fff;
    color: #003366; /* آبی تیره برای متن */
}

.trusted-partner-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 100px;
    flex-wrap: wrap;
}

.text-side h2 {
    font-size: 48px;
    line-height: 1.2;
    font-weight: bold;
    color: #003366;
}

.image-text-side {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.image-text-side img {
    margin-bottom: 8px;}

.description {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    max-width: 600px;
    margin: 0 auto;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid #eee;
    font-size: 14px;
    color: #666;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-info span {
    margin-left: 30px;
}

/* ریسپانسیو */
@media (max-width: 992px) {
    .content-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .text-side h2 {
        font-size: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-info span {
        margin: 10px 0 0 0;
        display: block;
    }
}

@media (max-width: 576px) {
    .text-side h2 {
        font-size: 32px;
    }
    
    .trusted-partner-section {
        padding: 80px 20px 40px;
    }
}
/* بنر سبز - متن سفید روی عکس */
.banner {
    margin-bottom: 0;
}

.banner-image {
    display: block;
}

.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    text-shadow: 2px 2px 15px rgba(0,0,0,0.8);
    z-index: 2;
    width: 90%;
}

.banner-text h1 {
    font-size: 48px;
    line-height: 1.2;
    font-weight: bold;
}

/* بخش Trusted - تصویر پشت متن */
.image-text-side {
    position: relative;
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.abstract-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 70%;
    height: 100%;
    object-fit: contain;
    opacity: 0.8; /* کمی شفاف تا متن خوانا بمونه */
    z-index: 1;
}

.description {
    position: relative;
    z-index: 2;
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    max-width: 600px;
    margin-top: 0px; /* تنظیم موقعیت متن روی صورت */
}

/* ریسپانسیو */
@media (max-width: 992px) {
    .banner-text h1 {
        font-size: 36px;
    }
    .abstract-bg {
        width: 100%;
        opacity: 0.6;
    }
    .description {
        margin-top: 50px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .banner {
        height: 400px;
    }
    .banner-text h1 {
        font-size: 28px;
    }
}
.trusted-partner-section {
    padding: 100px 20px 60px;
    background: #fff;
    position: relative;
    color: #003366;
}

.trusted-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 600px; /* ارتفاع مناسب برای تصویر */
}

.trusted-title {
    position: absolute;
    top: 50px;
    left: 50px;
    font-size: 48px;
    line-height: 1.2;
    font-weight: bold;
    color: #003366;
    z-index: 3; /* بالای تصویر */
}

.abstract-bg {
    position: static;
    width: 100%;
    max-width: 500px;
    display: block;
    margin: 0 auto;
}


.description {
    position: static;      /* مهم */
    margin-top: 0px;      /* فاصله از عکس */
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    max-width: 600px;
}


.footer-bottom {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 80px;
    border-top: 1px solid #eee;
    font-size: 14px;
    color: #666;
    flex-wrap: wrap;
    gap: 20px;
}

/* ریسپانسیو */
@media (max-width: 992px) {
    .trusted-title {
        position: relative;
        left: auto;
        top: auto;
        text-align: center;
        font-size: 40px;
        margin-bottom: 40px;
    }
    
    .abstract-bg {
        width: 80%;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .description {
        position: relative;
        bottom: auto;
        right: auto;
        text-align: center;
        margin: 40px auto;
    }
    
    .footer-bottom {
        text-align: center;
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .trusted-title {
        font-size: 32px;
    }
    
    .description {
        font-size: 16px;
    }
}
/* هدر بالای جدول نرخ - Live Exchange Rates */
.rates-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 20px;
}

.live-title {
  display: flex;
  align-items: center;
  gap: 16px;
}

.live-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ff0000;
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
}

.live-dot {
  width: 10px;
  height: 10px;
  background: white;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

.live-title h2 {
  font-size: 36px;
  font-weight: 700;
  color: #003366;
  margin: 0;
}

.last-updated {
  font-size: 15px;
  color: #888;
  white-space: nowrap;
}

/* ریسپانسیو برای موبایل */
@media (max-width: 768px) {
  .rates-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .live-title h2 {
    font-size: 30px;
  }

  .last-updated {
    font-size: 14px;
  }
}
.rate-time {
  font-size: 11px;
  color: #888;
  margin-top: 2px;
}

