/* تعریف فونت Vazir */
@font-face {
  font-family: 'Vazir';
  src: url('../../fonts/vazir-font/Vazir.woff2') format('woff2'),
       url('../../fonts/vazir-font/Vazir.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Reset و فونت‌ها */
:root {
  --primary-color: #2e7d32;
  --primary-light: #4caf50;
  --primary-dark: #1b5e20;
  --secondary-color: #ffc107;
  --text-color: #333333;
  --light-gray: #f5f7fa;
  --white: #ffffff;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Vazir, sans-serif;
}

body {
  direction: rtl;
  text-align: right;
  background-color: var(--light-gray);
  color: var(--text-color);
}

/* هدر اصلی */
.header {
  background-color: var(--white);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
  padding: 15px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* بخش لوگو */
.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
  box-shadow: 0 4px 12px rgba(46, 125, 50, 0.25);
  transition: var(--transition);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.logo-main {
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--primary-dark);
  letter-spacing: -0.5px;
}

.logo-tagline {
  font-size: 0.75rem;
  color: #666;
  margin-top: 2px;
}

/* منوی ناوبری */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 8px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 16px;
  text-decoration: none;
  color: var(--text-color);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-link i {
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: var(--primary-color);
  transition: var(--transition);
}

.nav-link:hover {
  background-color: rgba(76, 175, 80, 0.08);
}

.nav-link:hover i {
  transform: translateY(-3px);
  color: var(--primary-light);
}

/* بخش دکمه‌ها */
.auth-buttons {
  display: flex;
  gap: 12px;
}

.auth-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}

.btn-login {
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.btn-login:hover {
  background-color: rgba(46, 125, 50, 0.05);
}

.btn-register {
  background-color: var(--primary-color);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(46, 125, 50, 0.2);
}

.btn-register:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(46, 125, 50, 0.3);
}

/* منوی موبایل */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  padding: 0;
}

.toggle-line {
  width: 24px;
  height: 2px;
  background-color: var(--primary-dark);
  margin: 4px 0;
  transition: var(--transition);
}

/* حالت اسکرول */
.header.scrolled {
  padding: 10px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.header.scrolled .logo-icon {
  transform: scale(0.9);
}

/* دکمه‌های زیبا */
.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--text-color);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.btn-secondary:hover {
    background-color: #ffb300;
    transform: translateY(-3px);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-lg {
    padding: 12px 30px;
    font-size: 1.1rem;
}

/* بخش اصلی */
.hero {
    padding: 150px 0 80px;
   /* margin-top: 70px;*/
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    flex: 1;
}

.hero-content h2 {
    font-size: 2.4rem;
    margin-bottom: 20px;
    color: var(--primary-dark);
    line-height: 1.3;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #455a64;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 5px solid var(--white);
}

/* ویژگی‌ها */
.features {
    padding: 40px 0;
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2rem;
    color: var(--primary-dark);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    background-color: var(--primary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--primary-dark);
}

/* آمار */
.stats {
    padding: 40px 0;
    background-color: var(--light-gray);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.stat-item h3 {
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

/* فوتر */
.footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    bottom: 0;
    right: 0;
    background-color: var(--secondary-color);
}

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

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

.footer-col a {
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-col a:hover {
    color: var(--secondary-color);
    padding-right: 5px;
}

.footer-col i {
    width: 20px;
    text-align: center;
    margin-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* منوی موبایل */
/* استایل‌های منوی موبایل */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 350px;
    height: 100vh;
    background-color: white;
    z-index: 1001;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    padding-top: 80px;
}

.mobile-menu.show {
    right: 0;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav li {
    border-bottom: 1px solid #eee;
}

.mobile-nav a {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s;
}

.mobile-nav a i {
    margin-left: 10px;
    font-size: 1.2rem;
    color: var(--primary-color);
    width: 25px;
    text-align: center;
}

.mobile-nav a:hover {
    background-color: rgba(46, 125, 50, 0.05);
    color: var(--primary-color);
    padding-right: 30px;
}
.auth-links {
    display: flex;
    padding: 15px;
    gap: 10px;
    margin-top: 20px;
}

.auth-links a {
    flex: 1;
    justify-content: center;
    border-radius: 6px;
    padding: 12px;
    font-size: 0.9rem;
}

.btn-login {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-register {
    background-color: var(--primary-color);
    color: white;
}

/* دکمه همبرگر */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
}

.bar {
    width: 24px;
    height: 2px;
    background-color: var(--primary-dark);
    margin: 4px 0;
    transition: all 0.3s ease;
}

.mobile-toggle.active .bar1 {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active .bar2 {
    opacity: 0;
}

.mobile-toggle.active .bar3 {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ریسپانسیو */
@media (max-width: 992px) {
   .nav-menu,
  .auth-buttons {
    display: none;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .header {
    padding: 12px 0;
  }
  
  .logo-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .logo-main {
    font-size: 1.3rem;
  }
  
  .hero .container {
    flex-direction: column;
  }
  
  .hero-content,
  .hero-image {
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
     .app-download-wrapper {
        flex-direction: column;
        gap: 40px;
    }
    
    .app-mockup-wrapper {
        min-height: auto;
        margin-bottom: 40px;
    }
    
    .app-download-content {
        text-align: center;
        max-width: 100%;
    }
    
    .app-features-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .download-buttons {
        justify-content: center;
    }
	
	    .mobile-toggle {
        display: flex;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 2rem;
    }
    
    .app-mockup {
        width: 240px;
        height: 500px;
    }
    
    .floating-screen {
        right: -15%;
        width: 80%;
    }
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-lg {
        width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
	.qr-btn {
        padding: 10px 15px;
        font-size: 0.85rem;
    }
    
    .qr-btn-icon {
        width: 20px;
        height: 20px;
    }
    
    .qr-btn-icon i {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}


.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-light);
}

.user-info {
    flex: 1;
}

.user-info h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--primary-dark);
}

.user-info span {
    font-size: 0.9rem;
    color: #666;
}

.rating {
    color: var(--secondary-color);
    margin-top: 5px;
}

.testimonial-content {
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin: 15px 0;
}

.testimonial-content p {
    font-style: italic;
    color: #555;
    line-height: 1.8;
}

.testimonial-date {
    font-size: 0.9rem;
    color: #777;
    display: flex;
    align-items: center;
    gap: 5px;
}

.testimonials-actions {
    text-align: center;
    margin-top: 40px;
}

/* مودال ثبت نظر */
.modal {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    width: 100%;
    max-width: 500px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #777;
}

.modal h3 {
    margin-top: 0;
    color: var(--primary-dark);
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: Vazir, sans-serif;
}

.rating-input {
    display: flex;
    gap: 5px;
    font-size: 1.5rem;
    color: #ddd;
    cursor: pointer;
}

.rating-input i.active {
    color: var(--secondary-color);
}

/* انیمیشن‌های سفارشی */
@keyframes hoverGrow {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

@keyframes iconPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

@keyframes slideIn {
    from { transform: translateX(30px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* افکت‌های hover بهبود یافته */
.btn-hover-animate:hover {
    animation: hoverGrow 0.3s forwards;
}

.btn-hover-grow:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.card-hover:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.icon-hover:hover i {
    animation: iconPulse 0.5s;
    color: var(--primary-color);
}

.stat-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.img-hover-3d:hover {
    transform: perspective(1000px) rotateY(-5deg) scale(1.03);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.nav-link:hover {
    color: var(--primary-color) !important;
    transform: translateX(-5px);
}

.footer-link:hover {
    padding-right: 10px;
    color: var(--secondary-color) !important;
}

/* بخش نظرات جدید */
.testimonials {
    padding: 40px 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.testimonial-carousel {
    position: relative;
    max-width: 800px;
    margin: 50px auto 0;
}

.testimonial-slide {
    background-color: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    display: none;
    animation: slideIn 0.5s ease-out;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-quote {
    position: relative;
    margin-bottom: 30px;
}

.quote-icon {
    font-size: 2rem;
    color: var(--primary-light);
    opacity: 0.3;
    position: absolute;
    top: -20px;
    right: -10px;
}

.testimonial-quote p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    font-style: italic;
    position: relative;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-author img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-light);
    margin-bottom: 15px;
}

.testimonial-author h4 {
    margin: 0;
    color: var(--primary-dark);
}

.testimonial-author span {
    color: #777;
    font-size: 0.9rem;
}

.testimonial-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.testimonial-prev, .testimonial-next {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
}

.testimonial-prev:hover, .testimonial-next:hover {
    background-color: var(--primary-dark);
    transform: scale(1.1);
}

/* فوتر بهبود یافته */
.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    color: var(--white);
    transition: all 0.3s;
}

.footer-social a:hover {
    background-color: var(--secondary-color);
    color: var(--text-color);
    transform: translateY(-3px);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    margin: 0;
    color: rgba(255,255,255,0.7);
}
.app-download-section {
    padding: 40px 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    position: relative;
    overflow: hidden;
}

.app-download-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.app-mockup-wrapper {
    flex: 1;
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-mockup {
    position: relative;
    width: 280px;
    height: 580px;
    background: #fff;
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    padding: 15px;
    transform-style: preserve-3d;
    transform: perspective(1000px) rotateY(-15deg);
    z-index: 2;
}

.app-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 35px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    pointer-events: none;
}

.screen {
    width: 100%;
    height: 100%;
    border-radius: 25px;
    overflow: hidden;
    object-fit: cover;
}

.floating-screen {
    position: absolute;
    width: 90%;
    height: auto;
    right: -25%;
    bottom: 10%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(10deg) rotateX(5deg);
    animation: float 6s ease-in-out infinite;
    z-index: 1;
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.1), rgba(76, 175, 80, 0.2));
    filter: blur(30px);
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: 15%;
    right: 10%;
    animation: float 10s ease-in-out infinite reverse;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 30%;
    animation: float 7s ease-in-out infinite 2s;
}

.app-download-content {
    flex: 1;
    max-width: 550px;
}

.section-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.3;
}

.highlight-text {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(46, 125, 50, 0.3);
    z-index: -1;
    border-radius: 4px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #7f8c8d;
    margin-bottom: 40px;
    line-height: 1.6;
}

.app-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.feature-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: white;
    font-size: 1.2rem;
}

.feature-card h3 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.9rem;
    color: #7f8c8d;
    line-height: 1.5;
}

.download-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: white;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.btn-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.market-btn .btn-icon {
    background-color: #ff5722;
    color: white;
}

.direct-btn .btn-icon {
    background-color: var(--primary-color);
    color: white;
}

.btn-text {
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.btn-text span {
    font-size: 0.8rem;
    color: #7f8c8d;
}

.btn-text strong {
    font-size: 1rem;
    color: #2c3e50;
    font-weight: 600;
}



/* استایل جدید مودال QR کد */
.qr-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.qr-modal.active {
    display: flex;
    opacity: 1;
}

.qr-modal-content {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 320px;
    overflow: hidden;
    transform: scale(0.9);
    animation: modalAppear 0.3s forwards;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.modal-header {
    padding: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 500;
}

.close-modal {
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    padding: 0 0 5px 10px;
    transition: transform 0.2s;
}

.close-modal:hover {
    transform: rotate(90deg);
}

.qr-code-container {
    padding: 30px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.qr-code {
    width: 100%;
    max-width: 220px;
    height: auto;
    border: 1px solid #eee;
    padding: 10px;
    position: relative;
}

.qr-guides {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.guide-corner {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 3px solid var(--primary-color);
}

.guide-corner.top-left {
    top: 15px;
    left: 15px;
    border-right: none;
    border-bottom: none;
}

.guide-corner.top-right {
    top: 15px;
    right: 15px;
    border-left: none;
    border-bottom: none;
}

.guide-corner.bottom-left {
    bottom: 15px;
    left: 15px;
    border-right: none;
    border-top: none;
}

.guide-corner.bottom-right {
    bottom: 15px;
    right: 15px;
    border-left: none;
    border-top: none;
}

.modal-footer {
    padding: 20px;
    text-align: center;
    border-top: 1px solid #eee;
}

.modal-footer p {
    margin: 0 0 15px 0;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
}

.modal-footer i {
    color: var(--primary-color);
}

.alt-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 6px;
    transition: all 0.3s;
}

.alt-download:hover {
    background-color: rgba(46, 125, 50, 0.1);
}

/* انیمیشن‌ها */
@keyframes modalAppear {
    to {
        transform: scale(1);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(46, 125, 50, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(46, 125, 50, 0);
    }
}

/* افکت‌های ویژه */
.qr-code-container::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(46, 125, 50, 0.1);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 2s infinite;
    z-index: -1;
}

/* انیمیشن‌ها */
@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}
.qr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 10px;
    background-color: white;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(46, 125, 50, 0.2);
    overflow: hidden;
    position: relative;
}

.qr-btn-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.qr-btn-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.qr-btn-icon i {
    font-size: 1.2rem;
    position: relative;
    z-index: 2;
}

.qr-btn-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(46, 125, 50, 0.1);
    border-radius: 50%;
    animation: qrPulse 2s infinite;
    z-index: 1;
}

.qr-btn-text {
    transition: all 0.3s ease;
}

/* افکت‌های hover */
.qr-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    color: var(--primary-dark);
    border-color: rgba(46, 125, 50, 0.4);
}

.qr-btn:hover .qr-btn-text {
    transform: translateX(3px);
}

/* انیمیشن پالس */
@keyframes qrPulse {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }
    70% {
        transform: scale(1.5);
        opacity: 0;
    }
    100% {
        transform: scale(0.8);
        opacity: 0;
    }
}

/* افکت آبجکت قبل از hover */
.qr-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.1), rgba(76, 175, 80, 0.05));
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.qr-btn:hover::before {
    opacity: 1;
}
.no-scroll {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}
/* استایل دکمه کارفرما */
.btn-employer {
    background-color: #2c3e50;
    color: white;
    border: none;
}

.btn-employer:hover {
    background-color: #1a252f;
    color: white;
}

.btn-employer-lg {
    padding: 12px 30px;
    font-size: 18px;
    background-color: #2c3e50;
    color: white;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s;
}

.btn-employer-lg:hover {
    background-color: #1a252f;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-employer-lg i {
    margin-left: 8px;
}

/* بخش کارفرمایان */
/* بخش کارفرمایان - طراحی مدرن */
/* بخش کارفرمایان - متناسب با پالت رنگ شما */
.custom-employer-section {
    background-color: var(--light-gray);
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}



/* CTA بخش */
.custom-cta-box {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-wrap: wrap;
}

.cta-content-wrapper {
    flex: 1;
    min-width: 300px;
    padding: 50px;
    background: linear-gradient(135deg, var(--light-gray), var(--white));
}

.cta-image-wrapper {
    flex: 1;
    min-width: 300px;
    position: relative;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cta-content-wrapper h3 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.cta-content-wrapper p {
    color: var(--text-color);
    opacity: 0.9;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.cta-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-color);
    opacity: 0.8;
}

.cta-buttons-wrapper {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.custom-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 25px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-decoration: none;
    gap: 10px;
}

.primary-btn {
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    box-shadow: 0 10px 20px rgba(76, 175, 80, 0.3);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(76, 175, 80, 0.4);
}

.secondary-btn {
    background: var(--white);
    color: var(--primary-color);
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.secondary-btn:hover {
    background: rgba(76, 175, 80, 0.05);
    transform: translateY(-3px);
}

.employer-benefits-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.benefit-item {
    display: flex;
    align-items: center;
    color: var(--text-color);
    font-size: 14px;
    background: rgba(76, 175, 80, 0.08);
    padding: 8px 15px;
    border-radius: 50px;
}

.benefit-item i {
    color: var(--primary-color);
    margin-left: 8px;
    font-size: 16px;
}

.cta-main-image {
    max-width: 80%;
    position: relative;
    z-index: 3;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transition: all 0.4s;
}

.cta-main-image:hover {
    transform: scale(1.03);
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 8s ease-in-out infinite;
}

.floating-element-1 {
    width: 150px;
    height: 150px;
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.floating-element-2 {
    width: 100px;
    height: 100px;
    bottom: 15%;
    left: 10%;
    animation-delay: 1s;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(15px, 15px) rotate(5deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}



@media (max-width: 768px) {
    .custom-employer-section {
        padding: 80px 0;
    }
    

    .custom-cta-box {
        flex-direction: column;
    }
    
    .cta-image-wrapper {
        padding: 40px 20px;
        min-height: 300px;
    }
    
    .cta-main-image {
        max-width: 100%;
    }
}