 :root {
     --footer-bg: linear-gradient(135deg, #0c2e60 0%, #144b8e 100%);
     --footer-card-bg: rgba(255, 255, 255, 0.05);
     --footer-card-bg-hover: rgba(255, 255, 255, 0.08);
     --footer-card-border: rgba(255, 255, 255, 0.1);
     --footer-accent: #ffc107;
     --footer-text: rgba(255, 255, 255, 0.7);
     --footer-accent-glow: 0 0 10px rgba(255, 193, 7, 0.5);
 }

 /* استایل اصلی فوتر */
 .new-modern-footer {
     position: relative;
     font-family: 'Vazirmatn', sans-serif;
     color: #fff;
     width: 100%;
     margin: 0;
     padding: 0;
 }

 .footer-wave {
     display: block;
     line-height: 0;
     position: relative;
     margin-bottom: -7px;
     width: 100%;
 }

 .footer-main {
     background: var(--footer-bg);
     position: relative;
     padding: 70px 0 40px;
     overflow: hidden;
     width: 100%;
 }

 .footer-main::before {
     content: '';
     position: absolute;
     width: 100%;
     height: 100%;
     top: 0;
     left: 0;
     background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
     z-index: 0;
 }

 .footer-main::after {
     content: '';
     position: absolute;
     width: 300px;
     height: 300px;
     background: radial-gradient(circle, rgba(255, 193, 7, 0.2) 0%, rgba(255, 193, 7, 0) 70%);
     top: 10%;
     right: -150px;
     border-radius: 50%;
     z-index: 0;
     animation: pulse 10s infinite alternate;
 }

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

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

 .container {
     position: relative;
     z-index: 1;
     width: 100%;
     padding-right: var(--bs-gutter-x, 0.75rem);
     padding-left: var(--bs-gutter-x, 0.75rem);
     margin-right: auto;
     margin-left: auto;
 }

 /* بخش بالایی - لوگو */
 .footer-top {
     position: relative;
     margin-bottom: 50px;
 }

 .footer-logo {
     display: inline-block;
     text-decoration: none;
 }

 .logo-3d {
     display: flex;
     align-items: center;
     justify-content: center;
     background: rgba(255, 255, 255, 0.05);
     padding: 10px 20px;
     border-radius: 12px;
     box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
     transform-style: preserve-3d;
     transition: all 0.3s ease;
     position: relative;
     animation: float 3s ease-in-out infinite;
 }

 @keyframes float {
     0% {
         transform: translateY(0px) rotateX(0deg);
     }

     50% {
         transform: translateY(-10px) rotateX(5deg);
     }

     100% {
         transform: translateY(0px) rotateX(0deg);
     }
 }

 .logo-3d::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
     border-radius: 12px;
     opacity: 0.5;
 }

 .logo-3d:hover {
     transform: translateY(-5px) rotateX(5deg);
     box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
 }

 .logo-3d i {
     font-size: 2.5rem;
     color: var(--footer-accent);
     margin-right: 15px;
     text-shadow: var(--footer-accent-glow);
 }

 .logo-3d span {
     font-size: 2.2rem;
     font-weight: 800;
     color: #fff;
     line-height: 1;
 }

 .footer-slogan {
     color: var(--footer-text);
     font-size: 1.1rem;
     margin-top: 10px;
     letter-spacing: 0.5px;
 }

 /* کارت‌های فوتر */
 .footer-card {
     background: var(--footer-card-bg);
     border: 1px solid var(--footer-card-border);
     border-radius: 12px;
     padding: 20px;
     height: 100%;
     transition: all 0.3s ease;
     backdrop-filter: blur(10px);
     -webkit-backdrop-filter: blur(10px);
 }

 .footer-card:hover {
     background: var(--footer-card-bg-hover);
     box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
     transform: translateY(-5px);
 }

 .footer-card-title {
     display: flex;
     align-items: center;
     color: #fff;
     font-size: 1.2rem;
     font-weight: 700;
     margin-bottom: 20px;
     position: relative;
     padding-bottom: 10px;
 }

 .footer-card-title::after {
     content: '';
     position: absolute;
     bottom: 0;
     right: 0;
     width: 40px;
     height: 3px;
     background-color: var(--footer-accent);
     border-radius: 3px;
 }

 .icon-circle {
     display: flex;
     align-items: center;
     justify-content: center;
     width: 30px;
     height: 30px;
     background: var(--footer-accent);
     color: #0c2e60;
     border-radius: 50%;
     margin-left: 12px;
     font-size: 0.8rem;
 }

 /* لینک‌ها */
 .footer-links {
     list-style: none;
     padding: 0;
     margin: 0;
 }

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

 .footer-links a {
     color: var(--footer-text);
     text-decoration: none;
     font-size: 0.95rem;
     transition: all 0.3s ease;
     display: block;
     padding: 5px 0;
 }

 .footer-links a i {
     margin-left: 8px;
     font-size: 0.7rem;
     transition: all 0.3s ease;
 }

 .footer-links a:hover {
     color: var(--footer-accent);
     transform: translateX(-8px);
 }

 .footer-links a:hover i {
     transform: translateX(-3px);
 }

 /* اطلاعات تماس */
 .footer-contact {
     margin-bottom: 25px;
 }

 .contact-item {
     display: flex;
     align-items: center;
     margin-bottom: 15px;
     color: var(--footer-text);
     padding: 5px 0;
 }

 .contact-item i {
     width: 24px;
     height: 24px;
     margin-left: 15px;
     color: var(--footer-accent);
     font-size: 1rem;
     display: flex;
     gap: 10px;
 }

 .social-link {
     display: flex;
     align-items: center;
     justify-content: center;
     width: 38px;
     height: 38px;
     border-radius: 50%;
     color: #fff;
     background: rgba(255, 255, 255, 0.1);
     text-decoration: none;
     font-size: 1rem;
     transition: all 0.3s ease;
     position: relative;
     overflow: hidden;
 }

 .social-link::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background: var(--footer-accent);
     transform: scale(0);
     transition: transform 0.5s ease;
     border-radius: 50%;
 }

 .social-link i {
     position: relative;
     z-index: 1;
 }

 .social-link:hover {
     color: #0c2e60;
     transform: translateY(-5px);
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
 }

 .social-link:hover::before {
     transform: scale(1);
 }

 /* فرم خبرنامه */
 .newsletter-form {
     margin: 20px 0;
 }

 .newsletter-form .form-group {
     position: relative;
 }

 .newsletter-form .form-control {
     background: rgba(255, 255, 255, 0.1);
     border: 1px solid rgba(255, 255, 255, 0.2);
     color: #fff;
     padding: 13px 15px;
     border-radius: 50px;
     font-size: 0.9rem;
 }

 .newsletter-form .form-control:focus {
     box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.3);
     border-color: var(--footer-accent);
     background: rgba(255, 255, 255, 0.15);
 }

 .newsletter-form .form-control::placeholder {
     color: rgba(255, 255, 255, 0.5);
 }

 .newsletter-btn {
     position: absolute;
     right: 5px;
     top: 5px;
     background: var(--footer-accent);
     color: #0c2e60;
     border: none;
     border-radius: 50%;
     width: 36px;
     height: 36px;
     display: flex;
     align-items: center;
     justify-content: center;
     transition: all 0.3s ease;
 }

 .newsletter-btn:hover {
     background: #fff;
     color: #0c2e60;
     transform: scale(1.1);
 }

 /* دانلود اپلیکیشن */
 .app-title {
     font-size: 1.1rem;
     color: #fff;
     margin-bottom: 15px;
     display: inline-block;
     position: relative;
 }

 .app-title::after {
     content: '';
     position: absolute;
     bottom: -5px;
     right: 0;
     width: 30px;
     height: 3px;
     background: var(--footer-accent);
     border-radius: 3px;
 }

 .app-badges {
     display: flex;
     gap: 15px;
 }

 .app-badge {
     display: flex;
     align-items: center;
     background: rgba(255, 255, 255, 0.1);
     color: #fff;
     text-decoration: none;
     padding: 8px 12px;
     border-radius: 10px;
     transition: all 0.3s ease;
     border: 1px solid rgba(255, 255, 255, 0.15);
 }

 .app-badge i {
     font-size: 1.8rem;
     margin-left: 10px;
     color: var(--footer-accent);
 }

 .app-badge div {
     text-align: right;
     line-height: 1.2;
 }

 .app-badge small {
     display: block;
     opacity: 0.7;
     font-size: 0.7rem;
 }

 .app-badge span {
     font-weight: 600;
     font-size: 0.9rem;
 }

 .app-badge:hover {
     background: rgba(255, 255, 255, 0.2);
     transform: translateY(-5px);
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
     color: #fff;
 }

 /* روش‌های پرداخت */
 .payment-section {
     text-align: center;
     margin: 40px 0 20px;
 }

 .payment-title {
     display: inline-block;
     position: relative;
     font-size: 1rem;
     color: #fff;
     margin-bottom: 20px;
     padding: 0 15px;
 }

 .payment-title::before,
 .payment-title::after {
     content: '';
     position: absolute;
     top: 50%;
     width: 30px;
     height: 1px;
     background: rgba(255, 255, 255, 0.3);
 }

 .payment-title::before {
     right: 100%;
 }

 .payment-title::after {
     left: 100%;
 }

 .payment-methods {
     display: flex;
     justify-content: center;
     gap: 15px;
 }

 .payment-method {
     width: 50px;
     height: 50px;
     background: rgba(255, 255, 255, 0.1);
     border-radius: 10px;
     display: flex;
     align-items: center;
     justify-content: center;
     color: var(--footer-accent);
     font-size: 1.2rem;
     transition: all 0.3s ease;
     cursor: pointer;
 }

 .payment-method:hover {
     background: var(--footer-accent);
     color: #0c2e60;
     transform: translateY(-5px) rotate(5deg);
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
 }

 /* خط جداکننده */
 .footer-divider {
     border-color: rgba(255, 255, 255, 0.08);
     margin: 25px 0;
 }

 /* بخش پایین - کپی‌رایت */
 .footer-bottom {
     padding: 10px 0;
 }

 .copyright {
     color: var(--footer-text);
     font-size: 0.85rem;
     margin: 0;
 }

 .designer {
     color: var(--footer-text);
     font-size: 0.85rem;
     margin: 0;
 }

 .designer-link {
     color: var(--footer-accent);
     text-decoration: none;
     transition: all 0.3s ease;
 }

 .designer-link:hover {
     color: #fff;
     text-decoration: underline;
 }

 /* LTR Support for English */
 [dir="ltr"] .logo-3d i {
     margin-right: 0;
     margin-left: 15px;
 }

 [dir="ltr"] .footer-links a:hover {
     transform: translateX(8px);
 }

 [dir="ltr"] .footer-links a:hover i {
     transform: translateX(3px);
 }

 [dir="ltr"] .contact-item i {
     margin-right: 0;
     margin-left: 12px;
 }

 [dir="ltr"] .app-title::after {
     right: auto;
     left: 0;
 }

 [dir="ltr"] .app-badge i {
     margin-left: 0;
     margin-right: 10px;
 }

 [dir="ltr"] .app-badge div {
     text-align: left;
 }

 [dir="ltr"] .payment-title::before {
     right: auto;
     left: 100%;
 }

 [dir="ltr"] .payment-title::after {
     left: auto;
     right: 100%;
 }

 [dir="ltr"] .footer-bottom .designer {
     text-align: left !important;
 }

 /* ریسپانسیو */
 @media (max-width: 992px) {
     .footer-main {
         padding: 50px 0 30px;
     }

     .logo-3d {
         padding: 8px 15px;
     }

     .logo-3d i {
         font-size: 2rem;
         margin-right: 10px;
     }

     [dir="ltr"] .logo-3d i {
         margin-right: 0;
         margin-left: 10px;
     }

     .logo-3d span {
         font-size: 1.8rem;
     }
 }

 @media (max-width: 768px) {
     .footer-card {
         margin-bottom: 20px;
     }

     .footer-bottom .col-md-6 {
         text-align: center !important;
     }

     .designer {
         margin-top: 10px;
     }

     .app-badges {
         justify-content: center;
     }

     .social-links {
         justify-content: center;
     }
 }

 @media (max-width: 576px) {
     .footer-top {
         margin-bottom: 30px;
     }

     .payment-methods {
         flex-wrap: wrap;
         justify-content: center;
     }

     .app-badges {
         flex-direction: column;
         align-items: center;
     }
 }