/* ==========================================================
   BGI Premium Footer + Sticky Mobile Bottom Nav
   RTL / Responsive / BGI red-black identity
   ========================================================== */

.bgi-footer--premium,
.bgi-footer--premium * {
  box-sizing: border-box
}

.bgi-footer--premium {
  margin: 74px 0 0;
  padding: 0 0 44px;
  background: transparent;
  color: #fff;
  direction: rtl;
  text-align: right;
  font-family: "IRANSans BGI", "Yekan Bakh", Tahoma, Arial, sans-serif
}

.bgi-footer--premium a {
  color: inherit;
  text-decoration: none
}

.bgi-footer--premium .bgi-container {
  width: min(1540px, calc(100% - 72px));
  max-width: none;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
  background: radial-gradient(circle at 0 100%, rgba(255, 255, 255, .045), transparent 26%), radial-gradient(circle at 100% 0, rgba(255, 255, 255, .05), transparent 28%), linear-gradient(135deg, #121B28 0%, #08111C 58%, #050B13 100%);
  box-shadow: 0 24px 70px rgba(17, 24, 39, .20)
}

.bgi-footer-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 42px 58px 38px;
  border-bottom: 1px solid rgba(255, 255, 255, .09)
}

.bgi-footer-benefits div {
  min-height: 76px;
  display: grid;
  grid-template-columns: 72px 1fr;
  align-content: center;
  column-gap: 18px;
  border-left: 1px solid rgba(255, 255, 255, .12);
  padding-right: 5px !important;
}

.bgi-footer-benefits div:last-child {
  border-left: 0
}

.bgi-footer-benefits i {
  grid-row: 1/3;
  align-self: center;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: #E5233F;
  font-style: normal;
  font-size: 36px;
  line-height: 1
}

.bgi-footer-benefits strong {
  align-self: end;
  color: #fff;
  font-size: 17px;
  font-weight: 950;
  line-height: 1.6
}

.bgi-footer-benefits span {
  align-self: start;
  color: rgba(255, 255, 255, .68);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.7
}

.bgi-footer-desktop {
  display: grid;
  grid-template-columns: 1.25fr .9fr .9fr .85fr;
  gap: 62px;
  padding: 42px 58px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, .09)
}

.bgi-footer-newsletter {
  max-width: 470px;
  padding: 42px 38px;
  border-radius: 14px;
  background: linear-gradient(135deg, #E5233F 0%, #C9142E 100%);
  box-shadow: 0 24px 56px rgba(229, 35, 63, .28);
  text-align: center
}

.bgi-footer-newsletter h2 {
  margin: 0 0 20px;
  color: #fff;
  font-size: 24px;
  font-weight: 950;
  line-height: 1.5
}

.bgi-footer-newsletter p {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, .88);
  font-size: 14px;
  font-weight: 750;
  line-height: 2
}

.bgi-footer-newsletter form {
  height: 58px;
  display: grid;
  grid-template-columns: 1fr 110px;
  overflow: hidden;
  border-radius: 9px;
  background: #fff
}

.bgi-footer-newsletter label {
  display: block;
  min-width: 0
}

.bgi-footer-newsletter input {
  width: 100%;
  height: 58px;
  border: 0;
  outline: 0;
  padding: 0 18px;
  color: #111827;
  font-size: 13px;
  text-align: right;
  background: #fff;
  font-family: inherit
}

.bgi-footer-newsletter form button {
  border: 0;
  border-right: 1px solid #E5E7EB;
  background: #fff;
  color: #6B7280;
  font-weight: 850;
  font-family: inherit;
  cursor: pointer
}

.bgi-footer-newsletter>button {
  width: 100%;
  height: 58px;
  margin-top: 18px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 9px;
  background: transparent;
  color: #fff;
  font-size: 16px;
  font-weight: 950;
  font-family: inherit;
  cursor: pointer
}

.bgi-footer-about,
.bgi-footer-links {
  text-align: right
}

.bgi-footer-about h2,
.bgi-footer-links h2 {
  margin: 22px 0 22px;
  color: #fff;
  font-size: 20px;
  font-weight: 950;
  line-height: 1.5
}

.bgi-footer-about p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, .68);
  font-size: 14px;
  font-weight: 750;
  line-height: 2.2
}

.bgi-footer-about>a {
  display: inline-flex;
  margin-bottom: 22px;
  color: #fff;
  font-size: 15px;
  font-weight: 850
}

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

.bgi-footer-links li+li {
  margin-top: 13px
}

.bgi-footer-links a {
  display: inline-flex;
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
  font-weight: 750;
  transition: .18s
}

.bgi-footer-links a:hover {
  color: #fff;
  transform: translateX(-4px)
}

.bgi-footer-socials {
  display: flex;
  align-items: center;
  gap: 14px
}

.bgi-footer-socials a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05);
  color: #fff;
  font-size: 18px
}

.bgi-footer-contact {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 36px 58px;
  border-bottom: 1px solid rgba(255, 255, 255, .09)
}

.bgi-footer-contact div {
  min-height: 72px;
  display: grid;
  grid-template-columns: 62px 1fr;
  align-content: center;
  column-gap: 14px;
  border-left: 1px solid rgba(255, 255, 255, .12)
}

.bgi-footer-contact div:last-child {
  border-left: 0
}

.bgi-footer-contact i {
  grid-row: 1/4;
  align-self: center;
  color: #E5233F;
  font-style: normal;
  font-size: 38px;
  line-height: 1
}

.bgi-footer-contact div:nth-child(2) i {
  color: #20C767
}

.bgi-footer-contact strong {
  color: #fff;
  font-size: 16px;
  font-weight: 950;
  line-height: 1.5
}

.bgi-footer-contact a,
.bgi-footer-contact span {
  color: rgba(255, 255, 255, .76);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.8
}

.bgi-footer-mobile {
  display: none
}

.bgi-footer-bottom {
  min-height: 110px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  padding: 20px 58px;
  color: rgba(255, 255, 255, .65)
}

.bgi-footer-copyright {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  color: rgba(255, 255, 255, .65);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.8
}

.bgi-footer-madeby {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px
}

.bgi-footer-madeby img {
  width: 36px;
  max-height: 12px;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .95
	      color:#fff;
}

.bgi-footer-madeby svg{
    color:#fff;
}
.bgi-footer-bottom nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap
}

.bgi-footer-bottom nav a {
  padding: 0 22px;
  border-left: 1px solid rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .68);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.8
}

.bgi-footer-bottom nav a:last-child {
  border-left: 0
}

.bgi-footer-logo {
  justify-self: end;
  display: inline-flex
}

.bgi-footer-logo img {
  width: 116px;
  height: auto;
  display: block
}

.bgi-mobile-bottom-nav {
  display: none
}

@media(max-width:1180px) {
  .bgi-footer--premium .bgi-container {
    width: calc(100% - 36px)
  }

  .bgi-footer-benefits,
  .bgi-footer-desktop,
  .bgi-footer-contact,
  .bgi-footer-bottom {
    padding-inline: 30px
  }

  .bgi-footer-desktop {
    grid-template-columns: 1fr 1fr;
    gap: 34px
  }

  .bgi-footer-newsletter {
    grid-column: 1/-1;
    max-width: none
  }

  .bgi-footer-contact {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 20px
  }
}

@media(max-width:768px) {
  body {
    padding-bottom: 76px !important;
    overflow-x: hidden
  }

  .bgi-footer--premium {
    margin-top: 42px;
    padding-bottom: 24px;
    text-align: right;
    direction: rtl
  }

  .bgi-footer--premium .bgi-container {
    width: min(100% - 28px, 430px);
    border-radius: 14px;
    background: linear-gradient(145deg, #111A26 0%, #07101A 100%)
  }

  .bgi-footer-benefits {
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    padding: 14px;
    border-bottom: 0
  }

  .bgi-footer-benefits div {
    min-height: 108px;
    display: block;
    padding: 18px 10px;
    border: 0;
    border-radius: 11px;
    background: rgba(255, 255, 255, .045);
    text-align: center
  }

  .bgi-footer-benefits i {
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto 10px;
    font-size: 34px
  }

  .bgi-footer-benefits strong {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    line-height: 1.5
  }

  .bgi-footer-benefits span {
    display: block;
    font-size: 11px;
    line-height: 1.6
  }

  .bgi-footer-desktop,
  .bgi-footer-contact {
    display: none !important
  }

  .bgi-footer-mobile {
    display: block;
    padding: 0 14px
  }

  .bgi-footer-mobile .bgi-footer-newsletter {
    max-width: none;
    padding: 22px 16px;
    margin-bottom: 18px;
    border-radius: 12px
  }

  .bgi-footer-mobile .bgi-footer-newsletter h2 {
    font-size: 18px;
    margin-bottom: 12px
  }

  .bgi-footer-mobile .bgi-footer-newsletter p {
    font-size: 12px;
    margin-bottom: 14px;
    line-height: 1.9
  }

  .bgi-footer-mobile .bgi-footer-newsletter form {
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    background: transparent;
    border-radius: 0
  }

  .bgi-footer-mobile .bgi-footer-newsletter input {
    height: 44px;
    border-radius: 8px;
    background: #fff;
    text-align: right
  }

  .bgi-footer-mobile .bgi-footer-newsletter form button {
    height: 44px;
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 8px;
    background: transparent;
    color: #fff;
    border-right: 1px solid rgba(255, 255, 255, .42)
  }

  .bgi-footer-accordion {
    border-top: 1px solid rgba(255, 255, 255, .09)
  }

  .bgi-footer-accordion details {
    border-bottom: 1px solid rgba(255, 255, 255, .09);
    direction: rtl;
    text-align: right
  }

  .bgi-footer-accordion summary {
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    color: #fff;
    font-size: 14px;
    font-weight: 950;
    list-style: none;
    cursor: pointer;
    text-align: right
  }

  .bgi-footer-accordion summary::-webkit-details-marker {
    display: none
  }

  .bgi-footer-accordion summary:before {
    content: "⌄";
    margin-left: 0;
    margin-right: auto;
    color: #fff;
    font-size: 18px;
    transition: .2s
  }

  .bgi-footer-accordion details[open] summary:before {
    transform: rotate(180deg)
  }

  .bgi-footer-accordion summary span {
    color: #E5233F;
    font-size: 25px
  }

  .bgi-footer-accordion a,
  .bgi-footer-accordion p {
    display: block;
    margin: 0 38px 12px 0;
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    font-weight: 750;
    line-height: 1.9;
    text-align: right
  }

  .bgi-footer-mobile .bgi-footer-socials {
    justify-content: center;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .09)
  }

  .bgi-footer-mobile .bgi-footer-socials a {
    width: 40px;
    height: 40px
  }

  .bgi-footer-bottom {
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px 18px 24px;
    text-align: center
  }

  .bgi-footer-bottom nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    order: 1
  }

  .bgi-footer-bottom nav a {
    padding: 0;
    border-left: 0;
    font-size: 12px;
    text-align: center
  }

  .bgi-footer-logo {
    justify-self: center;
    order: 2
  }

  .bgi-footer-logo img {
    width: 92px
  }

  .bgi-footer-copyright {
    order: 3;
    align-items: center;
    text-align: center;
    font-size: 12px
  }

  .bgi-footer-madeby{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  margin-top:14px;
  padding:8px 0 0;
}

.bgi-footer-madeby img,
.bgi-footer-madeby svg{
  display:block;
  width:120px;
  max-width:70%;
  height:auto;
  opacity:.95;
  filter:brightness(1.35) contrast(1.15);
}
	@media(max-width:768px){
  .bgi-footer-madeby{
    margin-top:12px;
    padding-bottom:8px;
  }

  .bgi-footer-madeby img,
  .bgi-footer-madeby svg{
    width:145px;
    max-width:80%;
  }
}

  .bgi-mobile-bottom-nav {
    position: fixed !important;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99999;
    height: 66px;
    display: grid !important;
    grid-template-columns: repeat(5, 1fr);
    background: rgba(255, 255, 255, .98);
    backdrop-filter: blur(14px);
    border-top: 1px solid #E6E8EE;
    box-shadow: 0 -14px 36px rgba(17, 24, 39, .10);
    direction: rtl
  }

  .bgi-mobile-bottom-nav a {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #6B7280;
    font-size: 10px;
    font-weight: 850;
    text-align: center;
    text-decoration: none
  }

  .bgi-mobile-bottom-nav i {
    height: 22px;
    display: grid;
    place-items: center;
    color: #111827;
    font-style: normal;
    font-size: 21px;
    line-height: 1
  }

  .bgi-mobile-bottom-nav span {
    display: block;
    white-space: nowrap;
    line-height: 1.2
  }

  .bgi-mobile-bottom-nav a.is-active,
  .bgi-mobile-bottom-nav a.is-active i {
    color: #E5233F
  }

  .bgi-mobile-bottom-nav b {
    position: absolute;
    top: 7px;
    right: 50%;
    transform: translateX(-12px);
    min-width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    padding: 0 5px;
    border-radius: 999px;
    background: #E5233F;
    color: #fff;
    border: 2px solid #fff;
    font-size: 10px;
    font-weight: 950;
    line-height: 1
  }
}





.bgi-accordion {
  max-width: 800px;
  margin: auto;
}

.bgi-accordion-item {
  border-bottom: 1px solid #161F29;
}

.bgi-accordion-header {
  width: 100%;
  padding: 18px;
  font-size: 14px;
  text-align: right;
  background-color: #070f1900;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}

.bgi-accordion-header::after {
  content: "+";
  font-size: 22px;
}

.bgi-accordion-item.active .bgi-accordion-header::after {
  content: "−";
}

.bgi-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.bgi-accordion-content p {
  padding: 0 18px 18px;
  line-height: 1.8;
  color: #BBBEC1;
}