/* ===== RESET & BASE STYLES ===== */
:root {
  --primary-color: #ffd700;
  --primary-dark: #ccac00;
  --primary-glow: rgba(255, 215, 0, 0.5);
  --secondary-color: #1a1a1a;
  --secondary-light: #333333;
  --text-color: #ffffff;
  --text-light: #999999;
  --white: #ffffff;
  --light-bg: #1a1a1a;
  --dark-bg: #000000;
  --border-color: #333333;
  --success-color: #4caf50;
  --warning-color: #ff9800;
  --danger-color: #f44336;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  --transition: all 0.3s ease;
  --border-radius: 8px;
  --border-radius-lg: 12px;
  --gradient-1: linear-gradient(45deg, #ffd700, #ff8c00);
  --gradient-2: linear-gradient(135deg, #ffd700, #ff4500);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Vazirmatn", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--dark-bg);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  font-family: "Vazirmatn", sans-serif;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
}

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease forwards;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
  color: var(--primary-color);
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 50%;
  transform: translateX(50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
  animation: expandWidth 1.5s ease-in-out infinite alternate;
}

@keyframes expandWidth {
  from {
    width: 40px;
  }
  to {
    width: 100px;
  }
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

.section-action {
  text-align: center;
  margin-top: 2rem;
  animation: fadeInUp 0.8s ease forwards;
}

/* ===== PARTICLES BACKGROUND ===== */
#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
}

/* ===== PRELOADER ===== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--dark-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility: 0.5s ease;
}

.preloader.hide {
  opacity: 0;
  visibility: hidden;
}

.loader {
  display: flex;
  align-items: center;
}

.oil-drop {
  width: 20px;
  height: 20px;
  background-color: var(--primary-color);
  border-radius: 50%;
  margin: 0 5px;
  animation: drip 1.5s infinite ease-in-out;
}

.oil-drop:nth-child(2) {
  animation-delay: 0.2s;
}

.oil-drop:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes drip {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(20px);
    opacity: 0.5;
  }
  100% {
    transform: translateY(0);
  }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.btn:hover i {
  transform: translateX(-5px);
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.5s ease;
  z-index: 1;
}

.btn:hover::after {
  left: 100%;
}

.btn span {
  position: relative;
  z-index: 2;
}

.btn-primary {
  background: var(--gradient-1);
  color: var(--secondary-color);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--gradient-2);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.5);
}

.btn-outline {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-3px);
}

.btn-light {
  background-color: var(--white);
  color: var(--secondary-color);
}

.btn-light:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-3px);
}

.btn-outline-light {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline-light:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border-color: var(--primary-color);
  transform: translateY(-3px);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn-block {
  display: block;
  width: 100%;
}

.btn-glow {
  animation: glow 2s infinite alternate;
}

@keyframes glow {
  0% {
    box-shadow: 0 0 5px var(--primary-glow);
  }
  100% {
    box-shadow: 0 0 20px var(--primary-glow), 0 0 30px var(--primary-glow);
  }
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  transition: var(--transition);
  animation: fadeInDown 0.8s ease;
}

.header.scrolled {
  padding: 10px 0;
  background-color: rgba(26, 26, 26, 0.95);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

.logo a {
  display: flex;
  align-items: center;
  color: var(--primary-color);
}

.logo-icon {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-left: 10px;
  filter: drop-shadow(0 0 5px var(--primary-glow));
  animation: pulse 2s infinite alternate;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-shadow: 0 0 10px var(--primary-glow);
}

.nav-list {
  display: flex;
  align-items: center;
}

.nav-item {
  margin: 0 15px;
}

.nav-link {
  color: var(--white);
  font-weight: 500;
  padding: 5px 0;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
  box-shadow: 0 0 5px var(--primary-glow);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
  text-shadow: 0 0 5px var(--primary-glow);
}

.header-actions {
  display: flex;
  align-items: center;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  width: 30px;
  height: 25px;
  position: relative;
  margin-right: 15px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--primary-color);
  border-radius: 3px;
  opacity: 1;
  right: 0;
  transform: rotate(0deg);
  transition: var(--transition);
  box-shadow: 0 0 5px var(--primary-glow);
}

.menu-toggle span:nth-child(1) {
  top: 0;
}

.menu-toggle span:nth-child(2) {
  top: 10px;
}

.menu-toggle span:nth-child(3) {
  top: 20px;
}

.menu-toggle.active span:nth-child(1) {
  top: 10px;
  transform: rotate(135deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  right: -60px;
}

.menu-toggle.active span:nth-child(3) {
  top: 10px;
  transform: rotate(-135deg);
}

/* ===== HERO SECTION ===== */
.hero {
  padding-top: 80px;
  min-height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("https://mobinnejad.ir/placeholder.svg?height=1080&amp;width=1920");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.8) 100%);
  z-index: 2;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--primary-color);
  text-shadow: 0 0 10px var(--primary-glow);
  animation: fadeInDown 1s ease;
}

.glowing-text {
  animation: glow 2s ease-in-out infinite alternate;
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
  color: var(--text-light);
  animation: fadeInUp 1s ease 0.3s both;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  animation: fadeIn 1s ease 0.6s both;
}

/* ===== FEATURES SECTION ===== */
.hero-features {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 50px;
  margin-bottom: 50px;
  flex-wrap: nowrap;
  position: relative;
  z-index: 5;
  animation: fadeIn 1s ease 0.9s both;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: transform 0.3s ease;
  width: 33.33%;
  max-width: 150px;
  animation: fadeInUp 0.5s ease forwards;
}

.feature:nth-child(1) {
  animation-delay: 1s;
}

.feature:nth-child(2) {
  animation-delay: 1.2s;
}

.feature:nth-child(3) {
  animation-delay: 1.4s;
}

.feature:hover {
  transform: translateY(-10px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--secondary-color);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
  transition: transform 0.3s ease;
}

.feature:hover .feature-icon {
  transform: rotate(360deg);
}

/* ===== SERVICES SECTION ===== */
.services-section {
  padding: 100px 0;
  background-color: var(--dark-bg);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.service-card {
  background-color: var(--light-bg);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: 1px solid var(--border-color);
  transform: translateY(50px);
  opacity: 0;
  animation: fadeInUp 0.5s ease forwards;
}

.service-card:nth-child(2) {
  animation-delay: 0.2s;
}

.service-card:nth-child(3) {
  animation-delay: 0.4s;
}

.service-card:nth-child(4) {
  animation-delay: 0.6s;
}

.service-card:nth-child(5) {
  animation-delay: 0.8s;
}

.service-card:nth-child(6) {
  animation-delay: 1s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, var(--primary-glow), transparent);
  transform: translateX(-100%);
  transition: 0.6s;
  z-index: -1;
}

.service-card:hover::before {
  transform: translateX(100%);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
  border-color: var(--primary-color);
}

.service-icon {
  width: 70px;
  height: 70px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
}

.service-card:hover .service-icon {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  transform: rotateY(360deg);
}

.service-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.service-text {
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  font-weight: 600;
  transition: all 0.3s ease;
}

.service-link i {
  margin-right: 5px;
  transition: transform 0.3s ease;
}

.service-link:hover {
  color: var(--primary-dark);
}

.service-link:hover i {
  transform: translateX(-5px);
}

/* ===== PRICING SECTION ===== */
.pricing-section {
  padding: 100px 0;
  background-color: var(--secondary-color);
  position: relative;
  overflow: hidden;
}

.pricing-section::before {
  content: "";
  position: absolute;
  top: -50px;
  left: -50px;
  width: 100px;
  height: 100px;
  background: var(--primary-color);
  opacity: 0.1;
  border-radius: 50%;
  animation: floatBubble 15s linear infinite;
}

.pricing-section::after {
  content: "";
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 150px;
  height: 150px;
  background: var(--primary-color);
  opacity: 0.1;
  border-radius: 50%;
  animation: floatBubble 20s linear infinite reverse;
}

@keyframes floatBubble {
  0% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(50px, 50px) scale(1.2);
  }
  50% {
    transform: translate(100px, 0) scale(1);
  }
  75% {
    transform: translate(50px, -50px) scale(0.8);
  }
  100% {
    transform: translate(0, 0) scale(1);
  }
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
  position: relative;
  z-index: 2;
}

.pricing-card {
  background-color: var(--light-bg);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: all 0.5s ease;
  position: relative;
  border: 2px solid transparent;
  transform: translateY(50px);
  opacity: 0;
  animation: fadeInUp 0.5s ease forwards;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.pricing-card:nth-child(1) {
  animation-delay: 0.2s;
}

.pricing-card:nth-child(2) {
  animation-delay: 0.4s;
}

.pricing-card:nth-child(3) {
  animation-delay: 0.6s;
}

.pricing-card:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: var(--primary-color);
  z-index: 3;
}

.pricing-card.featured {
  border: 2px solid var(--primary-color);
  transform: scale(1.05);
  z-index: 2;
  box-shadow: 0 15px 35px rgba(255, 215, 0, 0.2);
}

.pricing-card.featured:hover {
  transform: scale(1.08) translateY(-15px);
  box-shadow: 0 25px 50px rgba(255, 215, 0, 0.3);
}

.pricing-badge {
  position: absolute;
  top: 25px;
  right: -30px;
  width: 150px;
  background: var(--gradient-1);
  color: var(--secondary-color);
  text-align: center;
  padding: 5px 0;
  font-size: 0.9rem;
  font-weight: 700;
  transform: rotate(45deg);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  z-index: 10;
  overflow: hidden;
}

/* افزودن سایه و افکت کچ به برچسب */
.pricing-badge::before,
.pricing-badge::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 10px;
  height: 10px;
  background: rgba(0, 0, 0, 0.3);
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);
}

.pricing-badge::before {
  bottom: -5px;
  right: 0;
  border-radius: 0 0 0 5px;
}

.pricing-badge::after {
  bottom: -5px;
  left: 0;
  border-radius: 0 0 5px 0;
}

/* افزودن انیمیشن درخشش به برچسب */
.pricing-badge {
  animation: badgePulse 2s infinite alternate;
}

@keyframes badgePulse {
  0% {
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
  }
  100% {
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
  }
}

/* Replace the pricing-header and its ::after pseudo-element with this simpler implementation */
.pricing-header {
  position: relative;
  padding: 40px 30px 40px;
  text-align: center;
  background: var(--gradient-2);
  border-bottom: none;
}

.pricing-header::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 80%);
  animation: rotate 10s linear infinite;
}

/* Remove the ::after pseudo-element completely */

.pricing-title {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--dark-bg);
  position: relative;
  z-index: 1;
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pricing-price {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
}

.price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--dark-bg);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
}

.price::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: rgba(0, 0, 0, 0.1);
}

.currency {
  font-size: 1.2rem;
  color: var(--dark-bg);
  margin-right: 5px;
  font-weight: 600;
}

/* Add this new class for the wave separator */
.wave-separator {
  display: block;
  height: 20px;
  background-color: var(--light-bg);
  margin-top: -1px;
  position: relative;
  z-index: 1;
}

/* Update the pricing-body to connect properly with the header */
.pricing-body {
  padding: 30px;
  background: var(--light-bg);
  margin-top: -1px;
}

.pricing-features {
  margin-bottom: 30px;
}

.pricing-features li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  color: var(--text-color);
  transition: transform 0.3s ease;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(255, 215, 0, 0.2);
}

.pricing-features li:hover {
  transform: translateX(5px);
}

.pricing-features li i {
  color: var(--primary-color);
  margin-left: 10px;
  font-size: 1.1rem;
  animation: pulse 2s infinite alternate;
}

.pricing-footer {
  padding: 0 30px 30px;
  background: linear-gradient(to bottom, rgba(26, 26, 26, 0.9), var(--light-bg));
  text-align: center;
}

.pricing-footer .btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  font-weight: 700;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  padding: 12px 30px;
  font-size: 1.1rem;
  border-radius: 50px;
  transform: translateY(0);
}

.pricing-footer .btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 215, 0, 0.2);
  transition: all 0.5s ease;
}

.pricing-footer .btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.pricing-footer .btn:hover::before {
  left: 100%;
}

.pricing-card:not(.featured) .pricing-footer .btn-outline {
  border: 2px solid var(--primary-color);
  background: transparent;
  color: var(--primary-color);
}

.pricing-card:not(.featured) .pricing-footer .btn-outline:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
}

.pricing-card.featured .pricing-footer .btn {
  background: var(--gradient-1);
  color: var(--secondary-color);
  animation: glow 2s infinite alternate;
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 100px 0;
  background: var(--gradient-1);
  color: var(--dark-bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 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.1'%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");
  opacity: 0.1;
  animation: backgroundMove 20s linear infinite;
}

@keyframes backgroundMove {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 100px 100px;
  }
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease forwards;
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--dark-bg);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cta-text {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: var(--secondary-color);
}

/* Update the CTA section buttons to be more responsive */
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Add flex-wrap to allow buttons to wrap on small screens */
}

.cta-actions .btn {
  min-width: 160px; /* Reduce minimum width for better mobile display */
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  font-size: 1.1rem;
  position: relative;
  overflow: hidden;
  margin-bottom: 10px; /* Add margin bottom for wrapped buttons */
}

.cta-actions .btn {
  min-width: 200px;
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  font-size: 1.1rem;
  position: relative;
  overflow: hidden;
}

.cta-actions .btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.5s ease;
}

.cta-actions .btn:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.cta-actions .btn:hover::before {
  left: 100%;
}

.cta-actions .btn-light {
  background-color: var(--dark-bg);
  color: var(--primary-color);
  border: 2px solid var(--dark-bg);
}

.cta-actions .btn-outline-light {
  background-color: transparent;
  color: var(--dark-bg);
  border: 2px solid var(--dark-bg);
  font-weight: 700;
}

.cta-actions .btn-light:hover,
.cta-actions .btn-outline-light:hover {
  background-color: var(--dark-bg);
  color: var(--primary-color);
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--dark-bg);
  color: var(--text-color);
  padding-top: 80px;
  position: relative;
  z-index: 2;
}

/* حالت دسکتاپ - ساختار اصلی فوتر */
.footer-top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

/* در حالت دسکتاپ، wrapper نباید تاثیری روی لایه بندی داشته باشد */
.footer-links-contact-wrapper {
  display: contents; /* این باعث می‌شود محتوای wrapper مستقیماً در grid والد قرار بگیرد */
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo .logo-icon {
  color: var(--primary-color);
  filter: drop-shadow(0 0 5px var(--primary-glow));
}

.footer-logo .logo-text {
  color: var(--primary-color);
  text-shadow: 0 0 10px var(--primary-glow);
}

.footer-text {
  color: var(--text-light);
  margin-bottom: 20px;
}

.footer-title {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
  text-shadow: 0 0 5px var(--primary-glow);
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
  box-shadow: 0 0 5px var(--primary-glow);
  animation: expandWidth 2s ease-in-out infinite alternate;
}

.footer-menu li {
  margin-bottom: 10px;
  transform: translateX(0);
  transition: all 0.3s ease;
}

.footer-menu li:hover {
  transform: translateX(5px);
}

.footer-menu a {
  color: var(--text-light);
  transition: var(--transition);
  position: relative;
  padding-right: 15px;
}

.footer-menu a::before {
  content: "›";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-color);
  opacity: 0;
  transition: var(--transition);
}

.footer-menu a:hover {
  color: var(--primary-color);
  padding-right: 20px;
}

.footer-menu a:hover::before {
  opacity: 1;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.contact-list li:hover {
  transform: translateX(5px);
}

.contact-list i {
  color: var(--primary-color);
  margin-left: 10px;
  margin-top: 5px;
  text-shadow: 0 0 5px var(--primary-glow);
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 40px;
  height: 40px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.social-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-color);
  z-index: -1;
  transform: scale(0);
  transition: var(--transition);
  border-radius: 50%;
}

.social-link:hover {
  color: var(--secondary-color);
  transform: translateY(-5px);
  box-shadow: 0 5px 15px var(--primary-glow);
}

.social-link:hover::before {
  transform: scale(1);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 20px 0;
  text-align: center;
}

.copyright {
  color: var(--text-light);
  margin-bottom: 0;
}

/* Move back-to-top button to the right side */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px; /* Change from left: 30px to right: 30px */
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  border: none;
  box-shadow: 0 0 15px var(--primary-glow);
  animation: pulse 2s infinite alternate;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--primary-dark);
  transform: translateY(-5px);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ===== WAVE ANIMATION ===== */
.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23000000" fill-opacity="1" d="M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,224C672,245,768,267,864,261.3C960,256,1056,224,1152,197.3C1248,171,1344,149,1392,138.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 4;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-card.featured {
    grid-column: span 2;
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero .container {
    flex-direction: column;
  }

  .hero-content {
    text-align: center;
    margin-bottom: 50px;
  }

  .hero-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 540px;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    padding: 80px 30px 30px;
    z-index: 99;
    transition: var(--transition);
  }

  .nav.active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-item {
    margin: 10px 0;
    width: 100%;
  }

  .nav-link {
    display: block;
    padding: 10px 0;
  }

  .menu-toggle {
    display: block;
  }

  .header-actions {
    flex-direction: column;
  }

  .header-actions .btn {
    display: none;
  }

  /* Update hero buttons in responsive mode to ensure they stay side by side */
  /* حفظ تجربه دسکتاپ در موبایل برای بخش خانه */
  .hero-content {
    padding: 0 15px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-buttons {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px; /* کاهش فاصله بین دکمه‌ها در موبایل */
  }

  .hero-buttons .btn {
    min-width: 140px; /* تنظیم عرض حداقل برای دکمه‌ها */
  }

  .hero-features {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }

  .feature {
    width: auto;
    min-width: 100px;
  }

  /* مرکز قرار دادن تمام عناصر در بخش خدمات در حالت ریسپانسیو */
  .services-section {
    text-align: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .service-icon {
    margin-left: auto;
    margin-right: auto;
  }

  /* تغییر ساختار فوتر در موبایل */
  .footer-top {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  /* روغن تور در بالا و وسط */
  .footer-about {
    order: 1;
    margin-bottom: 20px;
    text-align: center; /* مرکز قرار دادن روغن تور */
  }

  .footer-logo {
    justify-content: center; /* مرکز قرار دادن لوگو */
  }

  /* دسترسی سریع و اطلاعات تماس کنار هم */
  .footer-links-contact-wrapper {
    display: flex;
    flex-direction: row;
    gap: 20px;
    order: 2;
    margin-bottom: 30px;
  }

  .footer-links {
    flex: 1;
    order: 1; /* سمت راست */
  }

  .footer-contact {
    flex: 1;
    order: 2; /* سمت چپ */
  }

  /* شبکه‌های اجتماعی در پایین و وسط */
  .footer-social {
    order: 3;
    text-align: center;
  }

  .footer-social .social-links {
    justify-content: center;
  }

  /* تصحیح بخش تعرفه خدمات در حالت ریسپانسیو */
  /* سایر استایل‌های موجود حفظ شوند */

  /* تصحیح گرید تعرفه‌ها در موبایل */
  .pricing-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .pricing-card {
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .pricing-card.featured {
    grid-column: auto;
    order: -1; /* قرار دادن کارت ویژه در بالا */
    transform: scale(1.03);
  }
}

@media (max-width: 576px) {
  .hero-features {
    gap: 15px;
  }

  .feature {
    min-width: 80px;
  }

  .feature-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  /* حفظ دکمه‌ها کنار هم حتی در موبایل‌های کوچک */
  .hero-buttons {
    gap: 10px;
  }

  .hero-buttons .btn {
    min-width: 120px;
    padding: 8px 15px;
    font-size: 0.9rem;
  }

  .container {
    max-width: 100%;
    padding: 0 20px;
  }

  h1 {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .hero {
    padding: 120px 0 80px;
  }

  .btn {
    padding: 10px 20px;
  }

  /* سایر استایل‌های موجود حفظ شوند */

  .pricing-card {
    max-width: 320px;
  }

  /* Add additional responsive styles for CTA section on small screens */
  .cta-actions {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .cta-actions .btn {
    width: 100%;
    max-width: 250px;
    margin-bottom: 5px;
  }

  .cta-title {
    font-size: 1.8rem;
  }

  .cta-text {
    font-size: 1rem;
  }
}

/* اضافه کردن مدیا کوئری برای موبایل‌های کوچک */
@media (max-width: 375px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .pricing-title {
    font-size: 1.3rem;
  }

  .price {
    font-size: 2.2rem;
  }

  .footer-title {
    font-size: 1rem;
  }

  .social-link {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }
}




        .nav-item.dropdown {
            position: relative;
          }
          
          .dropdown-toggle {
            display: flex;
            align-items: center;
            gap: 5px;
          }
          
          .dropdown-toggle i {
            font-size: 0.8rem;
            transition: transform 0.3s ease;
          }
          
          .nav-item.dropdown:hover .dropdown-toggle i {
            transform: rotate(180deg);
          }
          
          .dropdown-menu {
            position: absolute;
            top: 100%;
            right: 0;
            min-width: 380px;
            background-color: var(--dark-bg);
            border-radius: var(--border-radius);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            padding: 10px 0;
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: all 0.3s ease;
            z-index: 100;
            border: 1px solid var(--border-color);
          }
          
          .nav-item.dropdown:hover .dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
          }
          
          .dropdown-item {
            display: block;
            padding: 8px 15px;
            color: var(--text-light);
            transition: all 0.3s ease;
            font-size: 0.9rem;
          }
          
          .dropdown-item:hover {
            background-color: var(--primary-color);
            color: var(--white);
          }
          
          /* Mobile Dropdown */
          @media (max-width: 992px) {
            .dropdown-menu {
                position: static;
                background-color: rgba(0, 0, 0, 0.1);
                box-shadow: none;
                border: none;
                padding: 0;
                max-height: 0;
                overflow: hidden;
                opacity: 1;
                visibility: visible;
                transform: none;
                transition: max-height 0.3s ease;
            }
            
            .nav-item.dropdown.active .dropdown-menu {
                max-height: 500px;
            }
            
            .dropdown-item {
                padding: 10px 20px 10px 0;
            }
          }



/* زیرمنوی دوم (سرویس‌ها و سامانه‌ها) */
.dropdown-submenu {
    position: relative;
}
.dropdown-submenu-content {
    position: absolute;
    top: 0;
    left: 100%; /* منوی دوم در سمت راست منوی اول قرار می‌گیرد */
    min-width: 280px;
    background-color: var(--dark-bg);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    z-index: 101; /* بالاتر از منوی اول */
}
.dropdown-submenu:hover .dropdown-submenu-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* استایل‌دهی به آیتم‌های زیرمنوی دوم */
.dropdown-submenu-content .dropdown-item {
    padding: 8px 15px;
    background-color: gray;
    color: var(--dark-bg);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}
.dropdown-submenu-content .dropdown-item:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

