:root {
  --bg-color: #ffffff;
  --text-color: #1a1a1a;
  --card-bg: #f8f9fa;
  --primary-color: #6c26c8;
  --secondary-color: #e74c3c;
  --accent-color: #cfe148;
  --muted-text: #6c757d;
  --link-hover: #4e54c8;
  --demo-bg: rgba(231, 76, 60, 0.95);
  --nav-bg: #04091e;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-color: #0d1117;
    /* GitHub-like dark بهتر از #121212 */
    --text-color: #c9d1d9;
    --card-bg: #161b22;
    --primary-color: #a78bfa;
    /* روشن‌تر */
    --secondary-color: #ff6b6b;
    --accent-color: #e0ff6b;
    --muted-text: #8b949e;
    --link-hover: #79c0ff;
    --demo-bg: rgba(200, 50, 50, 0.9);
    /* تیره‌تر برای کنتراست */
    --nav-bg: #0d1117;
  }
}

body {
  background: var(--bg-color);
  color: var(--text-color);
  font-family: "Vazir", Tahoma, sans-serif;
}

.demo-1 {
  background: linear-gradient(135deg, var(--secondary-color), #a52a2a);
}

.demo {
  background: var(--demo-bg);
}

.main-menu {
  background: var(--nav-bg);
}

.nav-menu a,
.mobile-menu-list li a {
  color: var(--text-color);
}

.nav-menu a:hover,
.mobile-menu-list li a:hover {
  color: var(--link-hover);
}

.single-feature,
.cta-box,
.single-blog,
footer {
  background: var(--card-bg);
  color: var(--text-color);
}

.text-muted {
  color: var(--muted-text) !important;
}

.banner-area .overlay-bg {
  background: rgba(0, 0, 0, 0.65);
  /* تیره‌تر در dark */
}

.back-to-top,
.floating-button {
  background: var(--primary-color);
}

.demo {
  position: fixed;
  top: 18px;
  left: 18px;
  background: rgba(231, 76, 60, 0.95);
  color: white;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: bold;
  z-index: 999999;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transform: rotate(-12deg);
  backdrop-filter: blur(8px);
}

.demo-1 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
  text-align: center;
  padding: 14px 0;
  font-size: 15px;
  font-weight: 700;
  z-index: 999999;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  line-height: 1.5;
}

.body {
  padding-top: 62px;
}

.mobile-menu-list {
  list-style: none;
  padding: 20px 10px;
  margin: 0;
  overflow-y: auto;
}

.mobile-menu-list li {
  margin-bottom: 8px;
}

.mobile-menu-list li a {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 15px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.mobile-menu-list li a i {
  margin-left: 15px;
  font-size: 18px;
  color: #cfe148;
  opacity: 0.7;
}

.mobile-menu-list li a:hover,
.mobile-menu-list li.active a {
  background: rgba(207, 225, 72, 0.08);
  color: #cfe148;
  padding-right: 30px;
  border-color: rgba(207, 225, 72, 0.2);
}

.mobile-menu-list li.active a {
  background: #cfe148;
  color: #1a1a2e;
  font-weight: 700;
}

.mobile-menu-list li.active a i {
  color: #1a1a2e;
}

.header-top {
  background: #04091e;
  font-size: 12px;
  padding: 8px;
}

.main-menu {
  border-bottom: 1px solid #39353e;
  overflow: visible;
  padding: 10px 5px;
  border-radius: 15px;
  color: #000;
}

.nav-menu {
  display: flex;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 25px;
  font-size: 14px;

  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  position: relative;
  display: inline-block;
  margin-left: 20px;
}

.nav-menu li a {
  font-size: 15px;
  text-decoration: none;
}

.nav-menu a::after {
  content: "";
  display: block;
  height: 2px;
  background: #e74c3c;
  transform: scaleX(0);
  transition: transform 0.3s;
}

.nav-menu a:hover::after {
  transform: scaleX(1);
}

.nav-menu a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 5px;
  transition: 0.3s;
}

.nav-menu a:hover {
  color: #e74c3c;
}

.nav-menu a::after {
  display: block;
  height: 2px;
  background: #e74c3c;
  transform: scaleX(0);
  transition: transform 0.3s;
}

.nav-menu a:hover::after {
  transform: scaleX(1);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

a:hover {
  color: #4e54c8;
}

#header {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  transition: all 0.5s;
  z-index: 997;
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: -100%;
  width: 300px;
  height: 100vh;
  background: #1a1a2e;
  z-index: 1000000;
  transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  box-shadow: 15px 0 50px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mobile-nav.active {
  left: 0;
}

.mobile-nav-header {
  padding: 30px 20px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgb(255, 0, 0);
}

.mobile-logo {
  height: 100px;
  object-fit: contain;
  filter: drop-shadow(0 0 5px rgba(207, 225, 72, 0.3));
}

.pulse-ring {
  content: "";
  position: absolute;
  width: 80px;
  height: 80px;
  border: 4px solid #d32525;
  border-radius: 50%;
  animation: pulse 2.5s infinite;
  opacity: 0;
}

.pulse-ring:nth-child(2) {
  animation-delay: 0.8s;
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  left: auto;
  width: 52px;
  height: 52px;
  background: orange;
  border-radius: 20px;
  text-align: center;
  line-height: 52px;
  font-size: 24px;
  font-weight: bold;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  transform: translateY(20px);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #ffffff;
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  cursor: pointer;
}

.back-to-top i {
  pointer-events: none;
}

.floating-button {
  position: fixed;
  bottom: 25px;
  left: 25px;
  width: 60px;
  height: 60px;
  color: rgb(255, 255, 255);
  border-radius: 50%;
  text-align: center;
  font-size: 28px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  animation: float 3s ease-in-out infinite;
}

.floating-button:hover {
  transform: scale(1.15);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  background: linear-gradient(135deg, #ffffff, #ffffff);
  text-decoration: none;
}

.floating-button i {
  animation: wiggle 2s ease-in-out infinite;
}

.floating-button i {
  font-size: 24px;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.close-btn {
  font-size: 32px;
  color: white;
  cursor: pointer;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: 0.3s;
}

.close-btn:hover {
  background: #e7e7e8;
  color: #1a1a2e;
  transform: rotate(90deg);
}

.mobile-social a {
  color: white;
  font-size: 20px;
  margin: 0 10px;
  transition: 0.3s;
}

#logo {
  flex: 0 0 auto;
}

#logo img {
  max-width: 160px;
  height: auto;
  transition: transform 0.3s ease;
}

#logo img:hover {
  transform: scale(1.05);
}

body.mobile-nav-active {
  overflow: hidden;
}

body.mobile-nav-active #mobile-nav-toggle {
  color: #fff;
}

.section-gap {
  padding: 120px 0;
}

.overlay {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

.banner-area .overlay-bg {
  background-color: rgba(0, 0, 0, 0.8);
  pointer-events: none;
}

.overlay-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.feature-area {
  margin-top: -62px;
}

.about-content {
  margin-top: 110px;
  padding: 90px 0px;
  text-align: center;
}

.about-content h1 {
  color: white;
  font-size: 48px;
  font-weight: 600;
}

.about-content a {
  color: #fff;
  font-weight: 300;
  font-size: 14px;
  text-decoration: none;
}

.about-content .lnr {
  margin: 0px 10px;
  font-weight: 600;
}

::selection {
  background-color: black;
  color: white;
}

::-moz-selection {
  background-color: black;
  color: white;
}

.container {
  flex-wrap: nowrap;
  position: relative;
  z-index: 2;
}

#container {
  white-space: nowrap;
}

#nav-menu-container {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  padding-right: 30px;
  padding-top: 30px;
}

.nav-menu li.active a {
  color: #4542ed !important;
  font-weight: bold;
}

.mobile-social a:hover {
  transform: translateY(-5px);
}

.mobile-menu-list li.active a {
  background: rgba(207, 225, 72, 0.2);
  color: #647002;
}

.footer-logo-img {
  height: 100px;
  filter: brightness(1.3);
  transition: transform 0.3s ease;
}

.footer-logo img {
  height: 100px;
  filter: brightness(1.2);
  display: block;
  margin: 0 auto 40px;
  transition: transform 0.3s ease;
}

.footer-logo-img:hover {
  transform: scale(1.1);
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  margin: 20px;
  padding: 20px;
  font-size: 14px;
  opacity: 0.9;
}

.footer-bottom strong {
  color: #cfe148;
}

.footer-copyright {
  font-size: 15px;
  color: #b8e6d8;
  margin: 10px;
  line-height: 1.8;
  opacity: 0.95;
}

.footer-copyright strong {
  color: #cfe148;
  font-weight: 700;
}

.newsletter-widget input[type="email"] {
  flex: 1;
  padding: 14px 20px;
  border-radius: 30px 0 0 30px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.newsletter-widget button {
  border-radius: 0 30px 30px 0;
  background: #cfe148;
  border: none;
  padding: 0 25px;
  cursor: pointer;
  transition: 0.3s;
}

.newsletter-widget button:hover {
  background: #b8d13b;
}

.newsletter-widget button i {
  color: #1a1a2e;
  font-size: 18px;
}

.newsletter-widget {
  margin-bottom: 30px;
}

.newsletter-input-group {
  display: flex;
  border-radius: 50px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
  margin-bottom: 25px;
}

.newsletter-input-group:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.newsletter-form {
  margin-bottom: 30px;
}

.footer-area h4 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 16px;
  padding-bottom: 10px;
  /* فاصله متن تا خط زیرش */
  position: relative;
  display: inline-block;
  /* باعث می‌شود عرض h4 به اندازه متن باشد نه کل خط */
}

.footer-area h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  /* طول خط زیر عنوان */
  height: 2px;
  background-color: #ffb703;
  border-radius: 2px;
}

.footer-area ul li {
  margin-bottom: 10px;
}

.footer-area ul li a {
  color: #bbb;
  transition: 0.3s;
}

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

.form-control {
  border-radius: 30px;
}

.lnr,
.footer-bottom a {
  color: green;
}

.footer-bottom .footer-social a {
  background: rgba(255, 255, 255, 0.1);
  width: 30px;
  height: 30px;
  display: inline-block;
  text-align: center;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}

.footer-bottom .footer-social a i {
  vertical-align: bottom;
}

.footer-social {
  display: flex;
  gap: 18px;
  justify-content: start;

  text-align: center;
  justify-content: center;
  margin-top: 35px;
}

.footer-social a {
  display: inline-block;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  background-color: #495057;
  border-radius: 50%;
  color: #e0f2e9;
  font-size: 20px;
  margin-left: 15px;
  transition: all 0.3s ease;
  margin-left: 10px;
}

.footer-social a:hover {
  background-color: #4e54c8;
  color: #28c76f;
  transform: scale(1.2) rotate(10deg);
}

.footer-area::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: #cfe148;
}

.footer-title {
  color: #cfe148;
  font-weight: 700;
  font-size: 19px;
  margin-bottom: 35px;
  position: relative;
  padding-bottom: 15px;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 70px;
  height: 4px;
  background: #cfe148;
  border-radius: 2px;
}

.form-control {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid #e0f2e9;
  border-radius: 25px 0 0 25px;
  padding: 12px 20px;
  font-size: 14px;
  color: #fff;
  flex: 1;
}

.form-control:focus {
  border-color: #28c76f;
  box-shadow: 0 0 8px rgba(40, 199, 111, 0.3);
}

.btn {
  background: #28c76f;
  border: none;
  border-radius: 0 25px 25px 0;
  padding: 12px 20px;
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.footer-text {
  font-size: 14px;
  color: #e0f2e9;
}

.footer-text a {
  color: #28c76f;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-text a:hover {
  color: #fff;
}

.footer-area {
  background-color: #000;
  color: #e2e8f0;
  padding: 100px 0 0;
  position: relative;
}

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

.footer-links li {
  margin-bottom: 16px;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 15.5px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.4s ease;
  position: relative;
}

.footer-links a:hover {
  color: #60a5fa;
  padding-left: 12px;
  transform: translateX(6px);
}

.footer-links a::before {
  content: "→";
  position: absolute;
  left: -18px;
  opacity: 0;
  color: #60a5fa;
  transition: all 0.4s ease;
}

.footer-links a:hover::before {
  opacity: 1;
  left: -15px;
}

.newsletter-desc {
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.95;
  margin-bottom: 30px;
}

.newsletter-btn {
  padding: 0 35px;
  background: #60a5fa;
  border: none;
  cursor: pointer;
  transition: all 0.4s ease;
}

.newsletter-btn:hover {
  background: #3b82f6;
}

.newsletter-btn i {
  color: white;
  font-size: 20px;
  transition: transform 0.4s ease;
}

.newsletter-btn:hover i {
  transform: translateX(-12px);
}

.social-link {
  width: 62px;
  height: 62px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #cbd5e1;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.social-link:hover {
  color: white;
  transform: translateY(-15px) scale(1.2);
  box-shadow: 0 25px 50px rgba(96, 165, 250, 0.6);
}

/* رنگ خاص هر شبکه در هاور */
.social-link[aria-label="تلگرام"]:hover {
  background: #0088cc;
}

.social-link[aria-label="واتساپ"]:hover {
  background: #25d366;
}

.social-link[aria-label="اینستاگرام"]:hover {
  background: linear-gradient(45deg,
      #f09433,
      #e6683c,
      #dc2743,
      #cc2366,
      #bc1888);
}

@media (max-width: 576px) {
  .footer-area {
    padding: 80px 0 0;
  }

  .footer-title {
    font-size: 18px;
  }

  .newsletter-input-group {
    flex-direction: column;
    border-radius: 25px;
  }

  .newsletter-btn {
    border-radius: 0 0 25px 25px;
    padding: 18px;
  }

  .cta-one-area p {
    padding: 0% 5%;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    line-height: 48px;
    font-size: 22px;
  }

  .floating-button {
    bottom: 20px;
    left: 20px;
    width: 56px;
    height: 56px;
    font-size: 26px;
  }
}

@media (max-width: 991px) {
  .main-menu .row {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
  }

  .footer-social {
    justify-content: center;
    margin-top: 35px;
  }

  .banner-content h1 br {
    display: none;
  }

  body {
    padding-top: 0 !important;
  }

  .banner-area {
    margin-top: 0 !important;
  }

  .nav-menu li a {
    font-size: 14px;
    padding: 0 8px;
  }

  #mobile-nav-toggle {
    display: inline;
  }

  .demo {
    display: none;
  }
}

@media (max-width: 767px) {
  .fullscreen {
    height: 700px;
  }

  .demo {
    display: none;
  }

  .about-content {
    margin-top: 70px;
  }
}

@media (max-width: 1199.98px) {
  .banner-content h1 {
    font-size: 45px;
  }
}

@media (max-width: 480px) {
  .banner-content h1 {
    font-size: 32px;
  }

  .demo {
    display: none;
  }
}

@media (max-width: 673px) {
  #logo {
    margin-left: 20px;
  }

  .demo {
    display: none;
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes wiggle {

  0%,
  100% {
    transform: rotate(0deg);
  }

  10%,
  30%,
  50%,
  70%,
  90% {
    transform: rotate(-10deg);
  }

  20%,
  40%,
  60%,
  80% {
    transform: rotate(10deg);
  }
}

@keyframes pulse {
  0% {
    transform: scale(0.8);
    opacity: 0.7;
  }

  70% {
    transform: scale(1.1);
    opacity: 0;
  }

  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  div[style*="background: linear-gradient(135deg, #e74c3c"] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999999;
    display: block;
  }

  .hamburger-btn span {
    width: 28px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: 0.4s;
    transform-origin: center;
  }

  .hamburger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  .hamburger-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  .hamburger-btn {
    display: none;
    position: fixed;
    top: 60px;
    left: 0px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-radius: 50%;
    cursor: pointer;
    z-index: 99999;
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.5);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    transition: all 0.4s ease;
  }

  @media (max-width: 991px) {
    .hamburger-btn {
      display: flex;
    }

    .main-menu {
      display: none;
    }
  }

  div[style*="rotate"],
  div[style*="DEMO VERSION"],
  .demo-watermark {
    display: none;
  }

  #logo {
    position: relative;
    text-align: center;
    margin: 30px auto 20px auto;
    padding: 0;
  }

  #logo img {
    height: 90px;
    /* خیلی بزرگ و شیک */
    width: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
  }
}

@media (max-width: 768px) {
  .footer-social {
    justify-content: center;
  }
}

@media (max-width: 992px) {
  .footer-social {
    justify-content: center;
    margin-top: 30px;
  }

  .footer-bottom {
    margin-top: 50px;
  }
}

@media (max-width: 576px) {
  .footer-title {
    font-size: 17px;
    margin-bottom: 25px;
  }

  .footer-links a {
    font-size: 14.5px;
  }
}

@media (max-width: 576px) {
  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-input,
  .newsletter-btn {
    width: 100%;
    height: 44px;
    border-radius: 10px;
  }
}

/* ===== Footer Mobile Beautify ===== */

@media (max-width: 768px) {
  .footer-title {
    font-size: 16px;
    margin-bottom: 15px;
    position: relative;
  }

  .footer-title::after {
    content: "";
    width: 40px;
    height: 2px;
    display: block;
    margin: 8px auto 0;
    border-radius: 10px;
  }

  .footer-links li a {
    font-size: 14px;
    opacity: 0.85;
    transition: all 0.3s ease;
  }

  .footer-links li a:hover {
    opacity: 1;
  }

  /* Social icons */
  .footer-social {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 25px;
  }

  .footer-social .social-link {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }

  /* برای حذف خط زیر آیکون، باید خودِ لینک را هدف قرار بدهی */
  .footer-social .social-link:hover {
    text-decoration: none !important;
  }

  /* اگر می‌خواهی خودِ آیکون هم در هاور تغییر خاصی نکند */
  .social-link:hover i {
    text-decoration: none !important;
  }

  .footer-social .social-link:hover {
    transform: translateY(-3px);
  }

  /* Newsletter */
  .newsletter-input {
    border-radius: 12px;
    padding: 12px;
  }

  .newsletter-btn {
    border-radius: 12px;
    padding: 12px;
    color: #fff;
    transition: 0.3s;
  }

  /* Copyright */
  .footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
    opacity: 0.85;
  }
}

@media (max-width: 576px) {
  .footer-logo-img {
    max-width: 110px;
    margin-bottom: 10px;
  }
}

/* ===== اصلاحیه نهایی فوتر برای موبایل (بدون دست زدن به HTML) ===== */
@media (max-width: 768px) {

  /* ۱. تبدیل چیدمان به گرید ۲ ستونه */
  .footer-area .row {
    display: flex !important;
    flex-wrap: wrap !important;
    text-align: right !important;
    margin-right: -10px;
    margin-left: -10px;
  }

  /* هدف قرار دادن ۴ ستون لینک برای ۲ ستونه شدن */
  .footer-area .col-lg-2.col-md-6.col-sm-6 {
    flex: 0 0 50% !important;
    /* هر ستون نصف عرض گوشی */
    max-width: 50% !important;
    margin-bottom: 20px !important;
    padding: 0 10px !important;
  }

  /* ستون آخر (خبرنامه) را ۱۰۰٪ عرض می‌کنیم تا فضای کافی داشته باشد */
  .footer-area .col-lg-4.col-md-6.col-sm-12 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    margin-top: 20px !important;
    text-align: center !important;
    /* وسط‌چین کردن برای زیبایی در موبایل */
  }

  /* ۲. حذف فضاهای مرده (Gaps) */
  .footer-area {
    padding-top: 40px !important;
    padding-bottom: 0 !important;
  }

  .footer-title {
    font-size: 15px !important;
    margin-bottom: 15px !important;
    padding-bottom: 8px !important;
  }

  .footer-title::after {
    width: 40px !important;
    /* کوچک کردن خط زیر عنوان */
    left: auto !important;
    right: 0 !important;
    /* فیکس کردن راست‌چین بودن خط */
  }

  .footer-links li {
    margin-bottom: 8px !important;
  }

  .footer-links a {
    font-size: 13px !important;
  }

  /* ۳. جمع‌وجور کردن لوگو و شبکه‌های اجتماعی */
  .footer-logo-img {
    height: 60px !important;
    margin-bottom: 20px !important;
  }

  .footer-social {
    justify-content: center !important;
    margin-top: 15px !important;
  }

  .social-link {
    width: 45px !important;
    height: 45px !important;
    font-size: 22px !important;
  }
}

.footer-logo-img {
  height: 130px !important;
  /* از ۱۰۰ به ۱۳۰ افزایش یافت */
  width: auto;
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .footer-logo-img {
    height: 100px !important;
    /* در موبایل کمی کوچک‌تر از دسکتاپ اما باز هم بزرگ */
  }
}

@media (max-width: 576px) {
  .hamburger-btn {
    top: 75px;
    /* کمی کمتر اگر نوار قرمز کوتاه‌تر بود */
    width: 55px;
    height: 55px;
  }
}

@media (max-width: 768px) {

  .footer-area {
    padding: 40px 15px;
    text-align: center;
  }

  .footer-logo-img {
    max-width: 150px;
    margin-bottom: 25px;
  }

  .footer-title {
    font-size: 18px;
    margin-bottom: 12px;
    margin-top: 25px;
    text-align: start;
  }

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

  .footer-links li {
    margin-bottom: 10px;
  }

  .footer-links a {
    font-size: 15px;
    color: #ccc;
    text-decoration: none;
  }

  .footer-links a:hover {
    color: #fff;
  }

  /* خبرنامه */
  .newsletter-widget {
    margin-top: 30px;
  }

  .newsletter-desc {
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.8;
  }

  .newsletter-input-group {
    display: flex;
    border-radius: 30px;
    overflow: hidden;
    background: #e62424;
  }

  .newsletter-input {
    flex: 1;
    padding: 12px 15px;
    font-size: 14px;
    border: none;
    outline: none;
  }

  .newsletter-btn {
    background: #ffb703;
    padding: 0 18px;
    border: none;
    cursor: pointer;
  }

  .newsletter-btn i {
    color: #000;
    font-size: 16px;
  }

  /* شبکه‌های اجتماعی */
  .footer-social {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 15px;
  }

  .footer-social .social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    transition: 0.3s;
  }


  /* کپی‌رایت */
  .footer-bottom {
    margin-top: 30px;
  }

  .footer-bottom p {
    font-size: 13px;
    line-height: 1.8;
    color: #aaa;
  }
}