.c-footer-type-one .top-footer .c-image-footer img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.c-footer-type-one .top-footer .sub-menu {
  display: none;
}
.c-footer-type-one .menu-footer {
  padding: 10px;
}

.c-footer-type-one .menu-footer .menu {
  padding: 10px;
}

.c-footer-type-one .menu-footer ul li {
  display: inline-block;
  margin-inline: 10px;
  transition: 0.3s;
  cursor: pointer;
}
.c-footer-type-one .menu-footer ul li a {
  color: var(--secondary);
}

.c-footer-type-one .menu-footer ul li:hover {
  color: var(--first-color);
  /* transition: 0.3s; */
}
.c-footer-type-one .caption-footer {
  width: 100%;
}
.c-footer-type-one .bottom-footer .box-menu {
  flex: 2;
  width: 70%;
}
.c-footer-type-one .box-menu {
  background: var(--white);
  box-shadow: 0 0 20px 20px rgb(180 180 180 / 9%);

  padding: 20px 30px;
  border-radius: 20px;
  justify-content: space-between;
}
.c-footer-type-one .menu-footer ul {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 10px;
}
.c-footer-type-one .footer-row.row-trust {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  background: var(--white);
  box-shadow: 0 0 20px 20px rgb(180 180 180 / 9%);
  padding: 20px 30px;
  border-radius: 20px;
}

.c-footer-type-one .trust-logo {
  height: 100%;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 9px;
  border: 1px solid var(--footer-border, #e0e0e6);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.c-footer-type-one .trust-logo:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.c-footer-type-one .trust-logo img {
  height: 50px;
  width: auto;
  max-width: 100%;
  display: block;
}

@media (max-width: 768px) {
  .c-footer-type-one .trust-logo img {
    height: 40px;
  }
}
.c-image-footer a {
  text-align: center;
  height: fit-content;
}
.c-image-footer {
  text-align: center;
}
.c-image-footer a img {
  width: 70px;
  height: 100%;
  object-fit: contain;
}
.c-footer-type-one .bottom-footer .menu-footer ul li::after {
  content: "";
  display: block;
  width: 0;
  height: 1.2px;
  background: red;
  position: absolute;
  bottom: -10px;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.c-footer-type-one .c-image-footer {
  height: 64px;
}

.c-footer-type-one .social-icons {
  align-self: end;
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.c-footer-type-one .social-icon {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: all 0.2s ease;
}

.c-footer-type-one .social-icon:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

.c-footer-type-one .social-icon.instagram {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2381858b'%3E%3Cpath d='M12 2.163c3.204 0 3.584.012 4.85.07 1.366.062 2.633.334 3.608 1.309.975.975 1.247 2.242 1.309 3.608.058 1.266.07 1.646.07 4.85s-.012 3.584-.07 4.85c-.062 1.366-.334 2.633-1.309 3.608-.975.975-2.242 1.247-3.608 1.309-1.266.058-1.646.07-4.85.07s-3.584-.012-4.85-.07c-1.366-.062-2.633-.334-3.608-1.309-.975-.975-1.247-2.242-1.309-3.608-.058-1.266-.07-1.646-.07-4.85s.012-3.584.07-4.85c.062-1.366.334-2.633 1.309-3.608.975-.975 2.242-1.247 3.608-1.309C8.416 2.175 8.796 2.163 12 2.163zM12 0C8.741 0 8.332.015 7.052.072 5.197.157 3.548.5 2.024 2.024.5 3.548.157 5.197.072 7.052.015 8.332 0 8.741 0 12c0 3.259.015 3.668.072 4.948.085 1.855.428 3.504 1.952 5.028 1.524 1.524 3.173 1.867 5.028 1.952 1.28.057 1.689.072 4.948.072 3.259 0 3.668-.015 4.948-.072 1.855-.085 3.504-.428 5.028-1.952 1.524-1.524 1.867-3.173 1.952-5.028.057-1.28.072-1.689.072-4.948 0-3.259-.015-3.668-.072-4.948-.085-1.855-.428-3.504-1.952-5.028C19.456.5 17.807.157 15.952.072 14.668.015 14.259 0 11 0h1zm0 5.838a6.162 6.162 0 100 12.324 6.162 6.162 0 000-12.324zM12 16a4 4 0 110-8 4 4 0 010 8zm6.406-11.845a1.44 1.44 0 10.002 2.88 1.44 1.44 0 00-.002-2.88z'/%3E%3C/svg%3E");
}

.c-footer-type-one .social-icon.twitter {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2381858b'%3E%3Cpath d='M23.953 4.57a10 10 0 01-2.825.775 4.958 4.958 0 002.163-2.723c-.951.555-2.005.959-3.127 1.184a4.92 4.92 0 00-8.384 4.482C7.69 8.095 4.067 6.13 1.64 3.162a4.822 4.822 0 00-.666 2.475c0 1.71.87 3.213 2.188 4.096a4.904 4.904 0 01-2.228-.616v.06a4.923 4.923 0 003.946 4.827 4.996 4.996 0 01-2.212.085 4.937 4.937 0 004.604 3.417 9.868 9.868 0 01-6.102 2.104c-.39 0-.779-.023-1.17-.067a13.995 13.995 0 007.557 2.209c9.054 0 13.999-7.496 13.999-13.986 0-.209 0-.42-.015-.63a9.936 9.936 0 002.46-2.548l-.047-.02z'/%3E%3C/svg%3E");
}

.c-footer-type-one .social-icon.linkedin {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2381858b'%3E%3Cpath d='M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 01-2.063-2.065 2.064 2.064 0 112.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.454c.979 0 1.771-.773 1.771-1.729V1.729C24 .774 23.204 0 22.225 0z'/%3E%3C/svg%3E");
}

.c-footer-type-one .social-icon.aparat {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2381858b'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 14.5v-9l6 4.5-6 4.5z'/%3E%3C/svg%3E");
}
.c-footer-type-one .social-icon.bale {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2381858b'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z'/%3E%3C/svg%3E");
}

.c-footer-type-one .social-icon.telegram {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2381858b'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm4.64 6.8c-.15 1.58-.8 5.42-1.13 7.19-.14.75-.42 1-.68 1.03-.58.05-1.02-.38-1.58-.75-.88-.58-1.38-.94-2.23-1.5-.99-.65-.35-1.01.22-1.59.15-.15 2.71-2.48 2.76-2.69.01-.03.01-.14-.07-.2-.08-.06-.2-.04-.28-.02-.12.02-1.93 1.22-5.44 3.6-.51.35-.98.52-1.4.51-.46-.01-1.35-.26-2.01-.48-.81-.27-1.46-.41-1.4-.87.03-.24.36-.48 1-.73 3.96-1.72 6.6-2.86 7.92-3.42 3.77-1.59 4.55-1.87 5.06-1.87.11 0 .36.03.52.19.14.13.17.31.19.51.01.12.01.26-.01.42z'/%3E%3C/svg%3E");
}

.c-footer-type-one .social-icon.whatsapp {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2381858b'%3E%3Cpath d='M12.04 2c-5.46 0-9.91 4.45-9.91 9.91 0 1.75.46 3.45 1.32 4.95L2.05 22l5.25-1.38c1.45.79 3.08 1.21 4.74 1.21 5.46 0 9.91-4.45 9.91-9.91 0-5.46-4.45-9.91-9.91-9.91zm0 18.23c-1.49 0-2.94-.4-4.2-1.16l-.3-.18-3.12.82.83-3.04-.2-.31c-.82-1.31-1.25-2.82-1.25-4.36 0-4.54 3.7-8.24 8.24-8.24 4.54 0 8.24 3.7 8.24 8.24 0 4.54-3.7 8.24-8.24 8.24zm4.52-6.16c-.25-.12-1.47-.73-1.69-.81-.23-.08-.38-.12-.55.12-.16.24-.64.81-.78.98-.14.17-.28.19-.52.06-.25-.12-1.05-.39-2-1.23-.74-.66-1.23-1.47-1.38-1.72-.14-.25-.02-.38.1-.5.12-.12.25-.28.38-.43.13-.14.17-.24.25-.4.08-.16.04-.3-.02-.42-.06-.12-.55-1.32-.75-1.81-.2-.48-.4-.41-.55-.42-.14 0-.3-.01-.46-.01-.16 0-.42.06-.64.31-.22.25-.84.82-.84 2 0 1.18.86 2.32.98 2.48.12.16 1.69 2.58 4.09 3.62.57.25.95.39 1.36.5.57.18 1.09.16 1.5.1.46-.07 1.47-.6 1.68-1.18.21-.58.21-1.08.15-1.18-.06-.1-.22-.16-.46-.28z'/%3E%3C/svg%3E");
}

.c-footer-type-one .social-icon.facebook {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2381858b'%3E%3Cpath d='M24 12.07C24 5.41 18.63 0 12 0S0 5.41 0 12.07C0 18.1 4.39 23.1 10.13 24v-8.44H7.08v-3.49h3.05V9.41c0-3.02 1.79-4.68 4.53-4.68 1.31 0 2.68.23 2.68.23v2.95h-1.51c-1.49 0-1.95.93-1.95 1.88v2.26h3.32l-.53 3.49h-2.79V24C19.61 23.1 24 18.1 24 12.07z'/%3E%3C/svg%3E");
}

.c-footer-type-one .social-icon.youtube {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2381858b'%3E%3Cpath d='M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.376.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.376-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z'/%3E%3C/svg%3E");
}
.c-footer-type-one .menu-footer ul li:hover::after {
  opacity: 1;
  /* visibility: visible;
  transition: 0.3s;
  width: 100%; */
}

.box-menu {
  padding-bottom: 10px;
}
.copy-right {
  background-color: var(--first-color);
  color: var(--text-color);
  font-size: 15px;
  display: flex;
  justify-content: center;
  padding: 10px;
  margin-top: 10px;
}

/*end style footer*/
/*.c-footer-type-two*/
.c-footer-type-two {
  margin: 2rem 2rem;
  margin-bottom: 1rem;
  border-radius: 45px;
  background-color: #ffffff;
  box-shadow: 0 4px 120px 0 rgba(0, 0, 0, 0.09);
}
/* دکمه اسکرول به بالا */
.c-footer-type-two .scrollBtn {
  cursor: pointer;
  transition:
    transform 0.3s ease,
    opacity 0.2s;
  z-index: 99;
}

.c-footer-type-two .scrollBtn:hover {
  transform: translateY(-5px);
  opacity: 0.8;
}
@media (max-width: 992px) {
  .c-footer-type-two {
    margin: 2rem 0.7rem;
  }
}
.c-footer-type-two .top-footer {
  margin: 1rem 0 3rem 0;
}
.c-footer-type-two .caption-footer p {
  color: #888888;
}
.c-footer-type-two .caption-footer {
  font-weight: 400;
  font-size: 17px;
  line-height: 26px;
  text-align: justify;
}
.c-footer-type-two .menu-footer h3 {
  font-size: 1rem;
  font-weight: bold;
  margin: 22px 0 10px 0;
  display: flex;
  align-items: center;
}

.c-footer-type-two .menu-footer h3:before {
  content: "";
  height: 14px;
  width: 5px;
  background: var(--footer-coloricon ,#0057ff);
  margin-left: 10px;
  border-radius: 10px;
}

.c-footer-type-two .menu-footer ul li a {
  color: #666666;
  text-decoration: none;
  margin-bottom: 12px;
  font-size: 14px;
}
.c-footer-type-two .menu-footer .form-news {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* دسکتاپ */
@media (min-width: 768px) {
  .c-footer-type-two .menu-footer .form-news {
    flex-direction: row;
  }
  .c-footer-type-two .menu-footer .form-news-text {
    flex: 1;
  }
}
.c-footer-type-two .contact-us h3 {
  font-size: 1rem;
  font-weight: bold;
  margin: 22px 0 20px 0;
  display: flex;
  align-items: center;
}

.c-footer-type-two .contact-us h3:before {
  content: "";
  height: 14px;
  width: 5px;
  background: var(--footer-coloricon,#0057ff);
  margin-left: 10px;
  border-radius: 10px;
}

.c-footer-type-two .bottom-footer .contact-us div {
  background: #f3f3f3;
  border-radius: 10px;
  padding: 10px 10px;
  margin-top: 14px;
}

.c-footer-type-two .bottom-footer .contact-us div span {
  font-size: 14px;
  font-weight: bold;
  margin-right: 5px;
}

/* پایه: حالت موبایل (ستونی) */
.c-footer-type-two .form-news {
  background: #f3f3f3;
  border-radius: 30px;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.c-footer-type-two .form-news-text {
  background: #f3f3f3;
  outline: none;
  border: 0;
  width: 100%;
  text-align: end;
  box-sizing: border-box;
  font-size: 13px;
}

.c-footer-type-two .form-news-btn {
  background: #2757ff;
  border-radius: 30px;
  padding: 8px 15px;
  box-shadow: 0 4px 120px 0 rgb(39 87 255 / 64%);
  color: #ffffff;
  outline: none;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  font-size: 14px;
}

.c-footer-type-two .cop-footer p {
  font-weight: 500;
  line-height: 20px;
  font-size: 11px;
  margin-top: 5px;
}
/* بخش کپی‌رایت */
.c-footer-type-two .copy-right-type-two {
  text-align: center;
  margin: 0;
  border-top: 1px solid gainsboro;
  padding: 15px 0;
}

.c-footer-type-two .copy-right-type-two h6 {
  color: #2424248a;
  font-size: 15px;
}
/* دکمه بازگشت به بالا (در صورت نیاز) */

.c-footer-type-two .top-to-up {
  background-color: white;
  /*padding: 15px 20px;*/
  translate: 50% 50%;
  border-radius: 50px;
  top: -50px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
 transition: transform 0.3s ease, opacity 0.3s ease;
    display: inline-block;
      box-shadow: 0 0 3px 9px rgb(241 243 246);
}

.top-to-up:hover {
  transform: translateY(-5px);
  opacity: 0.8;
}
.top-to-up:active {
    transform: translateY(0px);
}
.top-to-up svg path {
  transition: fill 0.3s ease;
}

.top-to-up.clicked {
  animation: bounceUp 0.5s ease;
}

@keyframes bounceUp {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

/* انیمیشن اسکرول شدن صفحه */
/* html {
    scroll-behavior: smooth;
} */
/*start style footer*/
.top-footer .c-image-footer {
  width: 15%;
  align-items: center;
  justify-content: center;
  display: flex;
  padding: 10px;
}
.c-footer-type-two .top-footer .c-image-footer {
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 0 20px 20px rgb(180 180 180 / 9%);
}
/* start btn absolute page *dark mode* *btn top* *study-mode* */
.c-btn-ab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  bottom: 10%;
  right: 20px;
  z-index: 999;
}

.c-btn-ab a {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #ffffff;
  height: 46px;
  width: 46px;
  border-radius: 50%;
  margin-top: 8px;
  box-shadow: 0 0 10px 10px rgba(235, 235, 235, 0.17) !important;
  cursor: pointer;
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
}

.c-btn-ab .study-mode i {
  color: #378fc6;
}

.top-btn .svg-top-btn {
  position: absolute;
  top: 22%;
  right: 22%;
}

.c-btn-ab .top-btn i {
  position: absolute;
  right: 0;
  top: 0;
}

.c-btn-ab svg path {
  stroke: var(--first-color);
}

.c-btn-ab .top-btn svg path {
  fill: none;
}

.c-footer-type-two .c-btn-ab svg.progress-circle path {
  stroke: var(--first-color);
  stroke-width: 4;
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
}
/* end btn absolute page *dark mode* *btn top* ** */

.c-footer-type-two .box-menu > .menu-footer:last-child {
  flex: 0 0 100%; /* همیشه در wrap شدن، تمام عرض */
  max-width: 100%;
}

/* --- استایل‌های واکنش‌گرا --- */

/* ---------------------------
   1) موبایل: max 767px
---------------------------- */
@media (max-width: 767.98px) {
  /* ستون‌های 1 و 2 کنار هم */
  .c-footer-type-two .box-menu > .menu-footer:nth-child(1),
  .c-footer-type-two .box-menu > .menu-footer:nth-child(2) {
    flex: 0 0 50%;
    max-width: 50%;
  }

  /* ستون 3 و 4  فول‌ویدث */
  .c-footer-type-two .box-menu > .menu-footer:nth-child(3),
  .c-footer-type-two .box-menu > .menu-footer:nth-child(4),
  .c-footer-type-two .box-menu > .contact-us {
    margin-top: 0.9rem;
    flex: 0 0 100%;
    max-width: 100%;
  }
  .c-footer-type-two .form-news-text {
    font-size: unset;
    text-align: center;
  }
  .c-footer-type-one .top-footer .menu-footer {
    width: 100%;
    margin: unset;
  }
}
@media (min-width: 768px) {
  .c-footer-type-two .box-menu {
    align-items: flex-start;
  }

  .c-footer-type-two .box-menu > .menu-footer {
    flex: 0 0 calc(33.333% - 10px);
  }

  /* مخصوص خبرنامه: وقتی رفت خط بعد → عرض کامل */
  .c-footer-type-two .box-menu > .menu-footer:last-child {
    flex-grow: 1; /* اجازه بده تمام عرض را بگیرد */
    flex-basis: 60%; /* وقتی فضا نبود → 100% */
    max-width: 60%;
  }
  .c-footer-type-two
    .box-menu
    > .menu-footer:last-child
    .c-footer-type-two
    .form-news-text {
    font-size: unset;
    text-align: center;
  }
}

/* ---------------------------
   2) تبلت: 768px تا 991px
---------------------------- */
@media (min-width: 768px) {
  /* سه ستون اول کنار هم — هر کدام 33% */
  .c-footer-type-two .box-menu > .menu-footer:nth-child(1),
  .c-footer-type-two .box-menu > .menu-footer:nth-child(2),
  .c-footer-type-two .box-menu > .menu-footer:nth-child(3),
  .c-footer-type-two .box-menu > .contact-us {
    flex: 0 0 33.33%;
    max-width: 33.33%;
  }

  /* ستون ۴ (خبرنامه) بیفته زیر و فول‌ویدث */
  .c-footer-type-two .box-menu > .menu-footer:nth-child(4) {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
@media (min-width: 992px) {
  .c-footer-type-two .box-menu > .menu-footer:nth-child(1),
  .c-footer-type-two .box-menu > .menu-footer:nth-child(2) {
    flex: 0 0 auto;
    width: 22%;
  }
  .c-footer-type-two .box-menu > .menu-footer:nth-child(3),
  .c-footer-type-two .box-menu > .menu-footer:nth-child(4),
  .c-footer-type-two .box-menu > .contact-us {
    margin: 0 0.9rem;
    flex: 0 0 auto;
    width: 25%;
  }
}
@media (max-width: 992px) {
  .c-footer-type-one .bottom-footer .box-menu {
    width: 100%;
  }
}
/* ---------------------------
   3) دسکتاپ 992px به بالا
   استفاده از Bootstrap (col-md-3)
---------------------------- */
