:root {
  /* Dark Theme (Default) */
  --bg-color: #0f172a;
  --text-color: #f1f5f9;
  --primary-color: #8b5cf6;
  /* Violet */
  --secondary-color: #06b6d4;
  /* Cyan */
  --accent-color: #f43f5e;
  /* Rose */
  --glass-bg: rgba(15, 23, 42, 0.7);
  --glass-border: rgba(255, 255, 255, 0.1);
  --card-bg: rgba(30, 41, 59, 0.5);
  --nav-height: 80px;
  --shadow-color: rgba(0, 0, 0, 0.3);
  --glow-primary: 0 0 20px rgba(139, 92, 246, 0.5);
  --glow-secondary: 0 0 20px rgba(6, 182, 212, 0.5);
}

[data-theme="light"] {
  --bg-color: #f8fafc;
  --text-color: #1e293b;
  --primary-color: #7c3aed;
  --secondary-color: #0891b2;
  --accent-color: #e11d48;
  --glass-bg: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(0, 0, 0, 0.05);
  --card-bg: rgba(255, 255, 255, 0.6);
  --shadow-color: rgba(0, 0, 0, 0.1);
  --glow-primary: 0 0 15px rgba(124, 58, 237, 0.3);
  --glow-secondary: 0 0 15px rgba(8, 145, 178, 0.3);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Vazirmatn", sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  direction: rtl;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
  line-height: 1.6;
}

/* Background Gradients */
body::before {
  content: "";
  position: fixed;
  top: -20%;
  left: -10%;
  width: 50%;
  height: 50%;
  background: radial-gradient(circle, var(--primary-color) 0%, transparent 60%);
  opacity: 0.15;
  filter: blur(100px);
  z-index: -1;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  bottom: -20%;
  right: -10%;
  width: 50%;
  height: 50%;
  background: radial-gradient(circle, var(--secondary-color) 0%, transparent 60%);
  opacity: 0.15;
  filter: blur(100px);
  z-index: -1;
  pointer-events: none;
}

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  gap: 0.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  box-shadow: var(--glow-primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.7);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--primary-color);
  color: var(--text-color);
}

.btn-outline:hover {
  background: rgba(139, 92, 246, 0.1);
  transform: translateY(-2px);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 3rem;
  background: linear-gradient(to left, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  right: 0;
  background: var(--primary-color);
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Theme Toggle */
.theme-toggle {
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle:hover {
  background: var(--glass-border);
}

/* Mobile Menu */
.menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--bg-color);
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  overflow-y: auto;
  border: 1px solid var(--primary-color);
  box-shadow: 0 0 50px rgba(139, 92, 246, 0.2);
  transform: translateY(20px);
  transition: transform 0.3s ease;
  direction: rtl;
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-color);
  cursor: pointer;
  transition: color 0.3s;
}

.modal-close:hover {
  color: var(--accent-color);
}

.modal-content h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.modal-content ul {
  list-style-position: inside;
  margin: 1.5rem 0;
}

.modal-content li {
  margin-bottom: 0.8rem;
}

/* Calculator Styles */
.calculator-section {
  background: var(--card-bg);
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  margin-top: 4rem;
}

.calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.calc-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.calc-select {
  width: 100%;
  padding: 0.8rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: var(--text-color);
  font-family: inherit;
}

.calc-result {
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
  padding: 1.5rem;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 15px;
  border: 1px solid var(--primary-color);
  color: var(--secondary-color);
}

/* Floating Action Button */
.fab-container {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.fab-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s, background 0.3s;
  font-size: 1.5rem;
}

.fab-btn:hover {
  transform: scale(1.1);
}

.fab-whatsapp {
  background: #25D366;
}

.fab-telegram {
  background: #0088cc;
}

.fab-instagram {
  background: #E1306C;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--nav-height);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Animated Floating Shapes */
.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  filter: blur(60px);
  animation: float 20s ease-in-out infinite;
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: var(--primary-color);
  top: -10%;
  right: -5%;
  animation-delay: 0s;
}

.shape-2 {
  width: 300px;
  height: 300px;
  background: var(--secondary-color);
  bottom: -10%;
  left: -5%;
  animation-delay: -5s;
}

.shape-3 {
  width: 200px;
  height: 200px;
  background: var(--accent-color);
  top: 50%;
  left: 10%;
  animation-delay: -10s;
}

.shape-4 {
  width: 150px;
  height: 150px;
  background: var(--primary-color);
  bottom: 20%;
  right: 15%;
  animation-delay: -15s;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  25% {
    transform: translate(30px, -30px) rotate(5deg);
  }

  50% {
    transform: translate(-20px, 20px) rotate(-5deg);
  }

  75% {
    transform: translate(20px, 10px) rotate(3deg);
  }
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(6, 182, 212, 0.2));
  border: 1px solid var(--primary-color);
  border-radius: 30px;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--secondary-color);
  animation: pulse-badge 2s ease-in-out infinite;
}

.hero-badge i {
  color: var(--primary-color);
}

@keyframes pulse-badge {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.4);
  }

  50% {
    box-shadow: 0 0 20px 5px rgba(139, 92, 246, 0.2);
  }
}

.hero-content {
  max-width: 800px;
  z-index: 1;
  padding: 2rem;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-color);
  opacity: 0.8;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

/* Glow Button Effect */
.btn-glow {
  animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
  }

  50% {
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.8), 0 0 60px rgba(6, 182, 212, 0.4);
  }
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 1.5rem 2rem;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.85rem;
  opacity: 0.7;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--glass-border);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.6;
  animation: bounce 2s ease-in-out infinite;
}

.mouse {
  width: 26px;
  height: 40px;
  border: 2px solid var(--text-color);
  border-radius: 15px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {

  0%,
  100% {
    opacity: 1;
    top: 8px;
  }

  50% {
    opacity: 0.3;
    top: 18px;
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

.scroll-indicator span {
  font-size: 0.75rem;
}

/* Services / Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
  backdrop-filter: blur(5px);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px var(--shadow-color);
  border-color: var(--primary-color);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card p {
  opacity: 0.8;
  font-size: 0.95rem;
}

.read-more-hint {
  font-size: 0.85rem;
  color: var(--primary-color);
  margin-top: 1rem;
  display: inline-block;
  font-weight: bold;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s;
}

.card:hover .read-more-hint {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
footer {
  background: var(--bg-color);
  padding: 4rem 2rem 2rem;
  border-top: 1px solid var(--glass-border);
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--text-color);
  text-decoration: none;
  opacity: 0.7;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a i {
  font-size: 0.7rem;
  transition: transform 0.3s;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--secondary-color);
}

.footer-links a:hover i {
  transform: translateX(-5px);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card-bg);
  color: var(--text-color);
  text-decoration: none;
  transition: all 0.3s;
  border: 1px solid var(--glass-border);
}

.social-btn:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

/* Modern Footer */
.footer-modern {
  margin-top: 4rem;
  border-top: none;
  padding: 0;
}

/* Newsletter Section */
.footer-newsletter {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(6, 182, 212, 0.1));
  padding: 3rem 2rem;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.newsletter-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.newsletter-text h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.newsletter-text h3 i {
  color: var(--primary-color);
}

.newsletter-text p {
  opacity: 0.7;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  flex: 1;
  max-width: 500px;
}

.newsletter-form input {
  flex: 1;
  padding: 0.875rem 1.25rem;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: var(--text-color);
  font-family: inherit;
  min-width: 200px;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* Footer Main Content */
.footer-main {
  padding: 4rem 2rem;
  background: var(--bg-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Footer Brand */
.footer-brand {
  max-width: 300px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-color);
  text-decoration: none;
  margin-bottom: 1rem;
}

.footer-logo span {
  color: var(--primary-color);
}

.footer-logo i {
  color: var(--secondary-color);
}

.footer-brand p {
  font-size: 0.9rem;
  opacity: 0.7;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* Footer Social */
.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color);
  text-decoration: none;
  transition: all 0.3s;
}

.footer-social a:hover {
  transform: translateY(-3px);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* Footer Contact */
.footer-contact {
  list-style: none;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-contact i {
  color: var(--primary-color);
  width: 20px;
  text-align: center;
}

.footer-contact a,
.footer-contact span {
  color: var(--text-color);
  text-decoration: none;
  opacity: 0.8;
  transition: all 0.3s;
}

.footer-contact a:hover {
  opacity: 1;
  color: var(--secondary-color);
}

/* Footer Bottom */
.footer-bottom {
  padding: 1.5rem 2rem;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid var(--glass-border);
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.9rem;
  opacity: 0.7;
}

.made-with {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.made-with i {
  color: #e11d48;
  animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.6);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.toast {
  padding: 1rem 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: slideUp 0.3s ease;
  min-width: 300px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.toast.success {
  border-color: #10b981;
}

.toast.success .toast-icon {
  color: #10b981;
}

.toast.error {
  border-color: #ef4444;
}

.toast.error .toast-icon {
  color: #ef4444;
}

.toast-icon {
  font-size: 1.25rem;
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.toast-message {
  font-size: 0.9rem;
  opacity: 0.7;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Strict Copyright */
.copyright {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  opacity: 0.8;
  font-size: 0.9rem;
  font-weight: bold;
  letter-spacing: 0.5px;
}

/* Privacy/Terms Specific */
.legal-content {
  max-width: 900px;
  margin: 4rem auto;
  padding: 2rem;
  background: var(--card-bg);
  border-radius: 20px;
  border: 1px solid var(--glass-border);
}

.legal-content h1 {
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.legal-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.legal-content ul {
  padding-right: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

/* ==================== CONTACT SECTION ==================== */
.contact-section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
  opacity: 0.08;
  filter: blur(80px);
  pointer-events: none;
}

.contact-subtitle {
  text-align: center;
  font-size: 1.1rem;
  max-width: 600px;
  margin: -1.5rem auto 3rem auto;
  opacity: 0.8;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

/* Contact Info Cards */
.contact-info-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.contact-card:hover {
  transform: translateX(-8px);
  border-color: var(--primary-color);
  box-shadow: 0 10px 40px rgba(139, 92, 246, 0.15);
}

.contact-card-icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: white;
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
}

.contact-card-content h4 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  color: var(--text-color);
}

.contact-card-content p,
.contact-card-content .contact-link {
  font-size: 0.95rem;
  color: var(--text-color);
  opacity: 0.8;
  text-decoration: none;
  transition: color 0.3s;
}

.contact-link:hover {
  color: var(--primary-color);
  opacity: 1;
}

.contact-badge {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(6, 182, 212, 0.2));
  border: 1px solid var(--primary-color);
  color: var(--secondary-color);
  border-radius: 20px;
  margin-top: 0.5rem;
}

/* Contact Form Container */
.contact-form-container {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 2.5rem;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.contact-form-container::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--secondary-color) 0%, transparent 70%);
  opacity: 0.1;
  filter: blur(60px);
}

.form-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--glass-border);
}

.form-header-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.form-header h3 {
  font-size: 1.3rem;
  color: var(--text-color);
  margin-bottom: 0.25rem;
}

.form-header p {
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Form Styles */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  position: relative;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: var(--text-color);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
  outline: none;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238b5cf6' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 1rem center;
}

.form-group label {
  position: absolute;
  right: 1rem;
  top: 1rem;
  color: var(--text-color);
  opacity: 0.6;
  font-size: 0.95rem;
  pointer-events: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-group label i {
  color: var(--primary-color);
}

.form-group input:focus+label,
.form-group input:not(:placeholder-shown)+label,
.form-group textarea:focus+label,
.form-group textarea:not(:placeholder-shown)+label {
  top: -0.6rem;
  right: 0.75rem;
  font-size: 0.8rem;
  background: var(--bg-color);
  padding: 0.1rem 0.5rem;
  border-radius: 4px;
  opacity: 1;
  color: var(--primary-color);
}

.form-group .select-label {
  top: -0.6rem;
  right: 0.75rem;
  font-size: 0.8rem;
  background: var(--bg-color);
  padding: 0.1rem 0.5rem;
  border-radius: 4px;
  opacity: 1;
  color: var(--primary-color);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.15);
}

.form-line {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to left, var(--primary-color), var(--secondary-color));
  transition: width 0.3s ease;
  border-radius: 0 0 12px 12px;
}

.form-group input:focus~.form-line,
.form-group textarea:focus~.form-line {
  width: 100%;
}

/* Submit Button */
.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border: none;
  border-radius: 12px;
  color: white;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(139, 92, 246, 0.4);
}

.submit-btn .btn-icon {
  display: flex;
  align-items: center;
  transition: transform 0.3s;
}

.submit-btn:hover .btn-icon {
  transform: translateX(-5px);
}

.submit-btn .btn-loader {
  display: none;
}

.submit-btn.loading .btn-text,
.submit-btn.loading .btn-icon {
  opacity: 0;
}

.submit-btn.loading .btn-loader {
  display: flex;
  position: absolute;
}

/* Form Success Message */
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem;
}

.form-success.active {
  display: flex;
}

.form-success .success-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #10b981, #059669);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  margin-bottom: 1.5rem;
  animation: successPulse 0.6s ease;
}

@keyframes successPulse {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  50% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.form-success h4 {
  font-size: 1.4rem;
  color: #10b981;
  margin-bottom: 0.5rem;
}

.form-success p {
  opacity: 0.7;
}

/* Social Links Enhanced */
.contact-social-section {
  text-align: center;
  padding: 2.5rem;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.contact-social-section h4 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.social-links-enhanced {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.social-link-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text-color);
  transition: all 0.3s ease;
  padding: 1rem 1.5rem;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.1);
  border: 1px solid transparent;
  min-width: 100px;
}

.social-link-item:hover {
  transform: translateY(-5px);
  border-color: currentColor;
}

.social-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  transition: all 0.3s;
}

.social-link-item.telegram .social-icon-wrap {
  background: linear-gradient(135deg, #0088cc, #00a2ff);
}

.social-link-item.telegram:hover {
  color: #0088cc;
  background: rgba(0, 136, 204, 0.1);
}

.social-link-item.whatsapp .social-icon-wrap {
  background: linear-gradient(135deg, #25D366, #128C7E);
}

.social-link-item.whatsapp:hover {
  color: #25D366;
  background: rgba(37, 211, 102, 0.1);
}

.social-link-item.instagram .social-icon-wrap {
  background: linear-gradient(135deg, #E1306C, #F56040, #FFDC80);
}

.social-link-item.instagram:hover {
  color: #E1306C;
  background: rgba(225, 48, 108, 0.1);
}

.social-link-item.aparat .social-icon-wrap {
  background: linear-gradient(135deg, #ED145B, #FF5A5F);
}

.social-link-item.aparat:hover {
  color: #ED145B;
  background: rgba(237, 20, 91, 0.1);
}

.social-link-item.youtube .social-icon-wrap {
  background: linear-gradient(135deg, #FF0000, #CC0000);
}

.social-link-item.youtube:hover {
  color: #FF0000;
  background: rgba(255, 0, 0, 0.1);
}

.social-link-item span {
  font-size: 0.9rem;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg-color);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    align-items: center;
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    border-bottom: 1px solid var(--glass-border);
  }

  .nav-links.active {
    transform: translateY(0);
    box-shadow: 0 10px 20px var(--shadow-color);
  }

  .menu-btn {
    display: block;
  }

  .fab-container {
    bottom: 1rem;
    left: 1rem;
  }

  /* Contact Section Responsive */
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-info-grid {
    order: 2;
  }

  .contact-form-container {
    order: 1;
    padding: 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-header {
    flex-direction: column;
    text-align: center;
  }

  .contact-card {
    padding: 1.25rem;
  }

  .contact-card:hover {
    transform: translateX(0) translateY(-5px);
  }

  .social-links-enhanced {
    gap: 1rem;
  }

  .social-link-item {
    padding: 0.75rem 1rem;
    min-width: 80px;
  }

  .contact-social-section {
    padding: 1.5rem;
  }

  /* Hero Responsive */
  .hero-badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
  }

  .stat-divider {
    display: none;
  }

  .scroll-indicator {
    display: none;
  }

  /* Footer Responsive */
  .newsletter-content {
    flex-direction: column;
    text-align: center;
  }

  .newsletter-form {
    flex-direction: column;
    max-width: 100%;
    width: 100%;
  }

  .newsletter-form input {
    min-width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .footer-brand {
    max-width: 100%;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-links a {
    justify-content: center;
  }

  .footer-contact li {
    justify-content: center;
  }

  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
  }

  /* Back to Top */
  .back-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 45px;
    height: 45px;
  }
}