/* ===== Google Fonts ===== */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* ===== CSS Variables ===== */
:root {
  --primary: #e63946;
  --primary-dark: #b71c2a;
  --primary-light: #ff4d5e;
  --primary-glow: rgba(230, 57, 70, 0.4);
  --bg-dark: #0a0a0f;
  --bg-card: #12121a;
  --bg-card-hover: #1a1a25;
  --bg-glass: rgba(18, 18, 26, 0.7);
  --bg-glass-hover: rgba(26, 26, 37, 0.8);
  --text-primary: #f1f1f1;
  --text-secondary: #a0a0b0;
  --text-muted: #6b6b80;
  --border-color: rgba(255, 255, 255, 0.06);
  --border-glow: rgba(230, 57, 70, 0.3);
  --gradient-primary: linear-gradient(135deg, #e63946, #b71c2a);
  --gradient-dark: linear-gradient(180deg, #0a0a0f 0%, #111118 100%);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px rgba(230, 57, 70, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --font-ar: 'Tajawal', sans-serif;
  --font-en: 'Outfit', sans-serif;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-ar);
  background: var(--bg-dark);
  color: var(--text-primary);
  direction: rtl;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  outline: none;
}

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

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-dark);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(230, 57, 70, 0.2); }
  50% { box-shadow: 0 0 40px rgba(230, 57, 70, 0.4); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 20px rgba(37, 211, 102, 0.2); }
  50% { box-shadow: 0 0 40px rgba(37, 211, 102, 0.45); }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  15% { transform: translateX(-6px); }
  30% { transform: translateX(6px); }
  45% { transform: translateX(-4px); }
  60% { transform: translateX(4px); }
  75% { transform: translateX(-2px); }
  90% { transform: translateX(2px); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition-normal);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 10px 0;
  box-shadow: var(--shadow-md);
}

/* ===== Scroll Progress Bar ===== */
.scroll-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 1001;
  background: transparent;
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--gradient-primary);
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 10px rgba(230, 57, 70, 0.4);
  transition: width 0.05s linear;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  transition: var(--transition-normal);
}

.nav-logo:hover img {
  box-shadow: var(--shadow-glow);
}

.nav-logo span {
  font-size: 1.3rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--font-en);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-normal);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: rgba(230, 57, 70, 0.08);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  right: 50%;
  transform: translateX(50%);
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width var(--transition-normal);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 40%;
}

.nav-cta {
  padding: 10px 24px !important;
  background: var(--gradient-primary) !important;
  color: white !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
  transition: all var(--transition-normal) !important;
}

.nav-cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 25px rgba(230, 57, 70, 0.4) !important;
}

.nav-cta::after {
  display: none !important;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 8px;
  z-index: 1001;
}

.menu-toggle span {
  width: 26px;
  height: 2.5px;
  background: var(--text-primary);
  border-radius: 3px;
  transition: all var(--transition-normal);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero Section ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
  animation: slideInRight 1s ease;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(230, 57, 70, 0.1);
  border: 1px solid rgba(230, 57, 70, 0.2);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--primary-light);
  margin-bottom: 24px;
  animation: fadeIn 1s ease 0.3s both;
}

.hero-badge i {
  font-size: 0.75rem;
  animation: pulse-glow 2s infinite;
  border-radius: 50%;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease 0.4s both;
}

.hero-title .highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 36px;
  max-width: 520px;
  animation: fadeInUp 1s ease 0.6s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.8s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--gradient-primary);
  color: white;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 700;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 20px rgba(230, 57, 70, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(230, 57, 70, 0.4);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  transition: all var(--transition-normal);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(230, 57, 70, 0.05);
  transform: translateY(-3px);
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 50px;
  animation: fadeInUp 1s ease 1s both;
}

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

.stat-number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  font-family: var(--font-en);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.hero-image {
  flex: 0 0 auto;
  animation: slideInLeft 1s ease 0.3s both;
}

.hero-image-wrapper {
  position: relative;
  width: 380px;
  height: 380px;
  animation: float 6s ease-in-out infinite;
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(230, 57, 70, 0.3);
  box-shadow: 0 0 60px rgba(230, 57, 70, 0.15);
}

.hero-image-wrapper::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px dashed rgba(230, 57, 70, 0.15);
  animation: rotate 30s linear infinite;
}

.hero-image-wrapper::after {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 1px dashed rgba(230, 57, 70, 0.08);
  animation: rotate 50s linear infinite reverse;
}

/* Particles */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.3;
  animation: float 8s ease-in-out infinite;
}

/* ===== Section Common ===== */
.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(230, 57, 70, 0.08);
  border: 1px solid rgba(230, 57, 70, 0.15);
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--primary-light);
  margin-bottom: 16px;
  font-weight: 500;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.section-title .highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ===== Services Section ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition-slow);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
  background: var(--bg-card-hover);
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: rgba(230, 57, 70, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  color: var(--primary);
  transition: all var(--transition-normal);
}

.service-card:hover .service-icon {
  background: var(--gradient-primary);
  color: white;
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== Portfolio Section ===== */
.portfolio-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.portfolio-tab {
  padding: 10px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition-normal);
  cursor: pointer;
}

.portfolio-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.portfolio-tab.active {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.portfolio-category {
  margin-bottom: 48px;
}

.category-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 28px;
  padding-right: 16px;
  border-right: 3px solid var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.category-title i {
  color: var(--primary);
  font-size: 1.2rem;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-slow);
  position: relative;
  group: true;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}

.project-image {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--bg-card-hover);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.project-card:hover .project-image img {
  transform: scale(1.08);
}

.project-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 15, 0.8), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.project-card:hover .project-image-overlay {
  opacity: 1;
}

.project-info {
  padding: 24px;
}

.project-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  transition: color var(--transition-normal);
}

.project-card:hover .project-info h3 {
  color: var(--primary);
}

.project-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.project-actions {
  display: flex;
  gap: 12px;
}

.btn-preview {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  background: rgba(230, 57, 70, 0.1);
  color: var(--primary);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--transition-normal);
  border: 1px solid rgba(230, 57, 70, 0.2);
}

.btn-preview:hover {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
}

.btn-order {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  background: var(--gradient-primary);
  color: white;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--transition-normal);
}

.btn-order:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

/* Blog Cards */
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-slow);
  padding: 28px;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}

.blog-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(230, 57, 70, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 16px;
  transition: all var(--transition-normal);
}

.blog-card:hover .blog-icon {
  background: var(--gradient-primary);
  color: white;
  transform: scale(1.1);
}

.blog-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.blog-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* ===== Contact Section ===== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}

.contact-form-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-form-container h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.contact-form-container > p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

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

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.92rem;
  transition: all var(--transition-normal);
  direction: rtl;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: rgba(230, 57, 70, 0.03);
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23a0a0b0' viewBox='0 0 16 16'%3E%3Cpath d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 16px center;
  cursor: pointer;
}

.form-group select option {
  background: var(--bg-card);
  color: var(--text-primary);
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

/* Form validation visual states */
.form-group input.valid,
.form-group select.valid,
.form-group textarea.valid {
  border-color: rgba(37, 211, 102, 0.5);
  box-shadow: 0 0 0 2px rgba(37, 211, 102, 0.08);
}

.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
  border-color: rgba(230, 57, 70, 0.5);
  box-shadow: 0 0 0 2px rgba(230, 57, 70, 0.08);
}

.shake {
  animation: shake 0.5s ease-in-out;
}

.char-counter {
  display: block;
  text-align: left;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 6px;
  font-family: var(--font-en);
  transition: color var(--transition-normal);
}

[dir="rtl"] .char-counter {
  text-align: right;
}

.char-counter.warning {
  color: var(--primary-light);
}

.btn-whatsapp-send {
  width: 100%;
  padding: 14px;
  background: #25d366;
  color: white;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all var(--transition-normal);
  margin-top: 6px;
}

.btn-whatsapp-send:hover {
  background: #1ebe5a;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-send i {
  font-size: 1.1rem;
}

/* Contact Info Side */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%;
}

.contact-map {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-color);
  flex: 1;
  min-height: 220px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(0.5) brightness(0.8);
  transition: filter var(--transition-normal);
}

.contact-map:hover iframe {
  filter: grayscale(0) brightness(1);
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-cards-row {
  display: flex;
  gap: 12px;
  width: 100%;
}

.contact-cards-row .contact-card {
  flex: 1;
}

@media (max-width: 576px) {
  .contact-cards-row {
    flex-direction: column;
  }
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
}

.contact-card:hover {
  border-color: var(--border-glow);
  transform: translateX(-6px);
  box-shadow: var(--shadow-glow);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(230, 57, 70, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
  flex-shrink: 0;
  transition: all var(--transition-normal);
}

.contact-card:hover .contact-card-icon {
  background: var(--gradient-primary);
  color: white;
}

.contact-card-content h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.contact-card-content p {
  font-size: 0.8rem;
  color: var(--text-muted);
  direction: ltr;
  text-align: right;
}

.contact-card.working-hours {
  cursor: default;
}

.contact-card.working-hours:hover {
  transform: none !important;
  box-shadow: none !important;
  border-color: var(--border-color) !important;
}

.contact-card.working-hours:hover .contact-card-icon {
  background: rgba(230, 57, 70, 0.1) !important;
  color: var(--primary) !important;
}

/* ===== About Section ===== */
.about-wrapper {
  display: flex;
  align-items: center;
  gap: 60px;
}

.about-image {
  flex: 0 0 280px;
}

.about-image img {
  width: 280px;
  height: 280px;
  border-radius: var(--radius-xl);
  object-fit: cover;
  border: 2px solid rgba(230, 57, 70, 0.2);
  box-shadow: var(--shadow-glow);
}

.about-content {
  flex: 1;
}

.about-content h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.about-content h3 .highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-content p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 28px;
}

.about-social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition-normal);
}

.social-link:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.social-link i {
  font-size: 1.1rem;
}

.social-link.facebook:hover { color: #1877f2; border-color: #1877f2; }
.social-link.telegram:hover { color: #0088cc; border-color: #0088cc; }
.social-link.whatsapp:hover { color: #25d366; border-color: #25d366; }
.social-link.website:hover { color: var(--primary); }
.social-link.phone:hover { color: #4caf50; border-color: #4caf50; }
.social-link.map:hover { color: #ea4335; border-color: #ea4335; }

/* ===== Footer ===== */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  padding: 48px 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-color);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--primary);
}

.footer-logo span {
  font-size: 1.4rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--font-en);
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 350px;
}

.footer-hours {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 4px;
  margin-bottom: 8px;
}

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

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1rem;
  transition: all var(--transition-normal);
}

.footer-social a:hover {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
  transform: translateY(-3px);
}

.footer-column h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}

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

.footer-column ul li a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-column ul li a:hover {
  color: var(--primary);
  transform: translateX(-4px);
}

.footer-column ul li a i {
  font-size: 0.7rem;
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--primary);
  font-weight: 600;
  transition: color var(--transition-normal);
}

.footer-bottom a:hover {
  color: var(--primary-light);
}

.developer-credit {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.developer-credit i {
  color: var(--primary);
}

/* ===== Floating Buttons ===== */
.floating-buttons {
  display: contents;
}

.btn-float {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: white;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  border: none;
  position: fixed;
  bottom: 24px;
  z-index: 999;
}

.btn-float:hover {
  transform: scale(1.1) translateY(-3px);
}

.btn-float-whatsapp {
  background: #25d366;
  animation: pulse-green 3s infinite;
  right: 24px;
}

.btn-float-whatsapp:hover {
  box-shadow: 0 0 30px rgba(37, 211, 102, 0.4);
}

.btn-float-top {
  background: var(--gradient-primary);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  left: 24px;
}

.btn-float-top.visible {
  opacity: 1;
  visibility: visible;
}

.btn-float-top:hover {
  box-shadow: 0 0 25px rgba(230, 57, 70, 0.4);
}

/* ===== Section Divider ===== */
.section-divider {
  width: 60px;
  height: 3px;
  background: var(--gradient-primary);
  margin: 0 auto 20px;
  border-radius: 3px;
}

/* ===== Loading Screen ===== */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.preloader-logo-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 4s ease-in-out infinite;
}

.preloader-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(230, 57, 70, 0.3);
  box-shadow: 0 0 30px rgba(230, 57, 70, 0.2);
  z-index: 2;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.preloader-logo-wrapper::before {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 2px dashed rgba(230, 57, 70, 0.25);
  animation: rotate 15s linear infinite;
  z-index: 1;
}

.preloader-logo-wrapper::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  border: 1px dashed rgba(230, 57, 70, 0.12);
  animation: rotate 25s linear infinite reverse;
  z-index: 1;
}

.preloader-text {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  background: linear-gradient(90deg, #e63946, #ff4d5e, #e63946);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--font-en);
  margin-bottom: 16px;
  animation: shine 2s linear infinite;
}

.preloader-bar {
  width: 140px;
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.preloader-bar::after {
  content: '';
  display: block;
  height: 100%;
  width: 0;
  background: var(--gradient-primary);
  border-radius: 10px;
  box-shadow: 0 0 8px var(--primary-light);
  animation: load-progress 2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes load-progress {
  0% { width: 0%; }
  20% { width: 30%; }
  50% { width: 65%; }
  80% { width: 90%; }
  100% { width: 100%; }
}

@keyframes shine {
  to { background-position: 200% center; }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero .container {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-content {
    align-items: center;
    display: flex;
    flex-direction: column;
  }

  .hero-description {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-image-wrapper {
    width: 280px;
    height: 280px;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .about-wrapper {
    flex-direction: column;
    text-align: center;
  }

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

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 80px 24px 24px;
    gap: 4px;
    transition: right var(--transition-slow);
    border-left: 1px solid var(--border-color);
    z-index: 999;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    width: 100%;
    padding: 14px 20px;
    font-size: 1rem;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-image-wrapper {
    width: 220px;
    height: 220px;
  }

  .hero-stats {
    gap: 24px;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .section {
    padding: 70px 0;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .about-image {
    flex: 0 0 200px;
  }

  .about-image img {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons a {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-container {
    padding: 24px;
  }
}

/* Mobile overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
}

.nav-overlay.active {
  display: block;
}

/* ===== Language Switcher & LTR Overrides ===== */
.nav-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-lang {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: 50px;
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 700;
  transition: all var(--transition-normal);
  cursor: pointer;
  font-family: var(--font-en);
}

.btn-lang:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(230, 57, 70, 0.05);
  transform: translateY(-1px);
}

.btn-lang i {
  font-size: 0.95rem;
}

/* ====================================================
   LTR (English) — Full Layout Mirror
   ==================================================== */

/* --- Typography --- */
[dir="ltr"] body,
[dir="ltr"] input,
[dir="ltr"] select,
[dir="ltr"] textarea,
[dir="ltr"] button {
  font-family: var(--font-en);
  direction: ltr;
}

/* --- Hero Section --- */
[dir="ltr"] .hero::before {
  right: auto;
  left: -30%;
}

[dir="ltr"] .hero::after {
  left: auto;
  right: -20%;
}

[dir="ltr"] .hero .container {
  flex-direction: row-reverse;
}

[dir="ltr"] .hero-content {
  animation-name: slideInLeft;
}

[dir="ltr"] .hero-image {
  animation-name: slideInRight;
}

/* --- Section Headers — text direction is already center, no change needed --- */

/* --- Portfolio Category Titles --- */
[dir="ltr"] .category-title {
  border-right: none;
  padding-right: 0;
  border-left: 3px solid var(--primary);
  padding-left: 16px;
}

/* --- Form Inputs Direction --- */
[dir="ltr"] .form-group input,
[dir="ltr"] .form-group select,
[dir="ltr"] .form-group textarea {
  direction: ltr;
  text-align: left;
}

[dir="ltr"] .form-group select {
  background-position: right 16px center;
}

/* --- Contact Wrapper — swap columns --- */
[dir="ltr"] .contact-wrapper {
  direction: ltr;
}

/* --- Contact Cards --- */
[dir="ltr"] .contact-card:hover {
  transform: translateX(6px);
}

[dir="ltr"] .contact-card-content p {
  direction: ltr;
  text-align: left;
}

/* --- About Section — swap image and text --- */
[dir="ltr"] .about-wrapper {
  flex-direction: row-reverse;
}

/* --- Footer --- */
[dir="ltr"] .footer-column ul li a:hover {
  transform: translateX(4px);
}

[dir="ltr"] .footer-column ul li a i {
  transform: rotate(180deg);
}

[dir="ltr"] .footer-brand p {
  text-align: left;
}

/* --- Floating Buttons — swap sides --- */
[dir="ltr"] .btn-float-whatsapp {
  right: auto;
  left: 24px;
}

[dir="ltr"] .btn-float-top {
  left: auto;
  right: 24px;
}

/* --- LTR mobile menu mirroring --- */
@media (max-width: 768px) {
  [dir="ltr"] .nav-links {
    right: auto;
    left: -100%;
    border-left: none;
    border-right: 1px solid var(--border-color);
    transition: left var(--transition-slow);
  }

  [dir="ltr"] .nav-links.active {
    left: 0;
    right: auto;
  }
}

/* --- LTR responsive about section --- */
@media (max-width: 1024px) {
  [dir="ltr"] .about-wrapper {
    flex-direction: column;
  }

  [dir="ltr"] .hero .container {
    flex-direction: column-reverse;
  }
}

/* ===== Live Status Badges ===== */
.live-badge {
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 50px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.5px;
}

.live-badge.open {
  background: rgba(37, 211, 102, 0.15);
  color: #25d366;
  border: 1px solid rgba(37, 211, 102, 0.25);
  box-shadow: 0 0 10px rgba(37, 211, 102, 0.05);
}

.live-badge.closed {
  background: rgba(230, 57, 70, 0.15);
  color: #ff4d5e;
  border: 1px solid rgba(230, 57, 70, 0.25);
  box-shadow: 0 0 10px rgba(230, 57, 70, 0.05);
}

/* ===== FAQ Section ===== */
.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.faq-item:hover {
  border-color: rgba(230, 57, 70, 0.15);
}

.faq-item.active {
  border-color: var(--border-glow);
  box-shadow: 0 4px 20px rgba(230, 57, 70, 0.08);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  user-select: none;
  gap: 16px;
  transition: background var(--transition-normal);
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.02);
}

.faq-question h4 {
  font-size: 1rem;
  font-weight: 700;
  flex: 1;
  line-height: 1.6;
}

.faq-question .faq-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: rgba(230, 57, 70, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.8rem;
  transition: all var(--transition-normal);
}

.faq-item.active .faq-icon {
  background: var(--gradient-primary);
  color: white;
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-content {
  padding: 0 24px 22px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.9;
  border-top: 1px solid var(--border-color);
  padding-top: 18px;
}

