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

:root {
  --color-primary: #AF3836;
  --color-primary-light: #C74B49;
  --color-primary-dark: #8A2B2A;
  --color-accent: #D4A84B;
  --color-accent-light: #E0BC6E;
  --color-accent-dark: #B8923A;
  --color-bg: #0A0A0A;
  --color-bg-secondary: #111111;
  --color-bg-card: #1A1A1A;
  --color-bg-card-hover: #222222;
  --color-surface: #161616;
  --color-border: #2A2A2A;
  --color-text: #F1F5F9;
  --color-text-secondary: #94A3B8;
  --color-text-muted: #64748B;
  --color-success: #10B981;
  --color-error: #EF4444;
  --gradient-primary: linear-gradient(135deg, #AF3836 0%, #C74B49 50%, #D65C5A 100%);
  --gradient-accent: linear-gradient(135deg, #D4A84B 0%, #E0BC6E 50%, #ECD08C 100%);
  --gradient-hero: linear-gradient(135deg, #0A0A0A 0%, #111111 30%, #1A1A1A 70%, #0A0A0A 100%);
  --gradient-card: linear-gradient(180deg, #1A1A1A 0%, #111111 100%);
  --font-arabic: 'Tajawal', sans-serif;
  --font-english: 'Inter', sans-serif;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -4px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6), 0 8px 10px -6px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 30px rgba(175, 56, 54, 0.2);
  --shadow-glow-accent: 0 0 30px rgba(212, 168, 75, 0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --transition-fast: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

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

.en-font {
  font-family: var(--font-english);
}

::selection {
  background-color: var(--color-primary);
  color: white;
}

::-webkit-scrollbar {
  width: 6px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 3px;
}

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

/* ==================== Utilities ==================== */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-accent {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-bg {
  background: var(--gradient-primary);
}

.gradient-bg-accent {
  background: var(--gradient-accent);
}

.glass {
  background: rgba(26, 26, 48, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.glass-light {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==================== Navbar ==================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition-base);
}

.navbar.scrolled {
  background: rgba(10, 10, 20, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.6rem 0;
}

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

.nav-logo {
  font-family: var(--font-english);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
  color: white;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-fast);
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition-fast);
  border-radius: 1px;
}

.nav-links a:hover {
  color: white;
}

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

.nav-links a.active {
  color: white;
}

.nav-cta {
  padding: 0.6rem 1.5rem;
  background: var(--gradient-primary);
  color: white;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-base);
  box-shadow: 0 4px 15px rgba(175, 56, 54, 0.3);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(175, 56, 54, 0.4);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--transition-fast);
}

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

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

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 20, 0.98);
    backdrop-filter: blur(30px);
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    z-index: 999;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 1.2rem;
  }

  .mobile-toggle {
    display: flex;
    z-index: 1001;
  }
}

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

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(to top, var(--color-bg-secondary) 0%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--color-primary-light);
  border-radius: 50%;
  opacity: 0.3;
  animation: float 15s infinite;
}

.particle:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { top: 20%; right: 15%; animation-delay: 2s; width: 6px; height: 6px; }
.particle:nth-child(3) { bottom: 30%; left: 20%; animation-delay: 4s; }
.particle:nth-child(4) { top: 40%; right: 25%; animation-delay: 1s; width: 3px; height: 3px; }
.particle:nth-child(5) { bottom: 20%; right: 30%; animation-delay: 3s; width: 5px; height: 5px; }
.particle:nth-child(6) { top: 60%; left: 5%; animation-delay: 2.5s; }
.particle:nth-child(7) { bottom: 10%; left: 40%; animation-delay: 5s; width: 6px; height: 6px; }
.particle:nth-child(8) { top: 5%; right: 5%; animation-delay: 1.5s; }
.particle:nth-child(9) { top: 50%; right: 10%; animation-delay: 3.5s; width: 3px; height: 3px; }
.particle:nth-child(10) { bottom: 40%; left: 35%; animation-delay: 4.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.2; }
  25% { opacity: 0.5; }
  50% { transform: translateY(-30px) scale(1.5); opacity: 0.3; }
  75% { opacity: 0.5; }
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: 
    linear-gradient(rgba(175, 56, 54, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(175, 56, 54, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  background: #0A0A0A;
  pointer-events: none;
}

.hero-video-bg video {
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: center top;
  position: absolute;
  top: 0;
  left: 0;
}

.video-desktop { display: block; }
.video-mobile { display: none; }

@media (max-width: 768px) {
  .video-desktop { display: none; }
  .video-mobile { display: block; height: 100%; object-position: center; }
  .hero { min-height: 90vh; align-items: flex-end; padding-bottom: 3rem; }
  .hero-actions { flex-wrap: nowrap; gap: 0.6rem; }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary { font-size: 0.8rem; padding: 0.6rem 1.2rem; white-space: nowrap; }
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.5rem 1.2rem;
  background: rgba(175, 56, 54, 0.1);
  border: 1px solid rgba(175, 56, 54, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--color-primary-light);
  margin-bottom: 2rem;
  animation: fadeInUp 0.6s ease-out;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--color-success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.9); }
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

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

.hero p {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--color-text-secondary);
  line-height: 1.8;
  max-width: 650px;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.9rem 2rem;
  background: var(--gradient-primary);
  color: white;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition-base);
  box-shadow: 0 4px 20px rgba(175, 56, 54, 0.35);
  font-family: var(--font-arabic);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(175, 56, 54, 0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.9rem 2rem;
  background: transparent;
  color: white;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: var(--transition-base);
  font-family: var(--font-arabic);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

.hero-visual {
  position: absolute;
  left: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 400px;
  height: 400px;
  pointer-events: none;
  z-index: 2;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.15;
}

.hero-shape-1 {
  width: 300px;
  height: 300px;
  background: var(--color-primary);
  top: 0;
  right: 0;
  animation: morphShape 8s ease-in-out infinite;
}

.hero-shape-2 {
  width: 200px;
  height: 200px;
  background: var(--color-accent);
  bottom: 20%;
  left: 10%;
  animation: morphShape 8s ease-in-out infinite 2s;
}

@keyframes morphShape {
  0%, 100% { border-radius: 50%; transform: scale(1) rotate(0deg); }
  33% { border-radius: 40% 60% 60% 40% / 40% 50% 60% 50%; transform: scale(1.1) rotate(10deg); }
  66% { border-radius: 60% 40% 40% 60% / 50% 60% 40% 50%; transform: scale(0.95) rotate(-5deg); }
}

@media (max-width: 1024px) {
  .hero-visual { display: none; }
  .hero-content { max-width: 100%; }
  .hero { text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
}

/* ==================== Stats Section ==================== */
.stats-section {
  position: relative;
  padding: 6rem 0;
  background: var(--color-bg-secondary);
  overflow: hidden;
}

@media (min-width: 769px) {
  .stats-section { display: none; }
  .video-mobile-only { display: none; }
}

@media (max-width: 768px) {
  .video-mobile-only { display: block; width: 100%; background: #000; position: relative; }
  .video-mobile-only::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to top, var(--color-bg) 0%, transparent 100%);
    pointer-events: none;
    z-index: 2;
  }
  .video-mobile-only + .section { margin-top: -65px; position: relative; z-index: 3; background: var(--color-bg); }
}

.stats-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(175, 56, 54, 0.08) 0%, transparent 70%);
  pointer-events: none;
  animation: statGlow 8s ease-in-out infinite alternate;
}

.stats-section::after {
  content: '';
  position: absolute;
  bottom: -40%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 168, 75, 0.06) 0%, transparent 70%);
  pointer-events: none;
  animation: statGlow 10s ease-in-out infinite alternate-reverse;
}

@keyframes statGlow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -30px) scale(1.2); }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.stat-card {
  position: relative;
  text-align: center;
  padding: 3rem 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 24px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  cursor: default;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(175, 56, 54, 0.15);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(175, 56, 54, 0.03) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.stat-card:hover .stat-glow {
  opacity: 1;
}

.stat-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, rgba(175, 56, 54, 0.12), rgba(175, 56, 54, 0.05));
  border: 1px solid rgba(175, 56, 54, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-light);
  transition: all 0.4s ease;
}

.stat-card:hover .stat-icon {
  background: linear-gradient(135deg, rgba(175, 56, 54, 0.2), rgba(175, 56, 54, 0.08));
  transform: scale(1.1) rotate(-5deg);
  border-color: rgba(175, 56, 54, 0.2);
}

.stat-number {
  font-family: var(--font-english);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  font-weight: 500;
  line-height: 1.6;
  max-width: 220px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .stats-section { padding: 3rem 0; }
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }
  .stat-card {
    padding: 1.2rem 0.5rem;
  }
  .stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    margin-bottom: 0.5rem;
  }
  .stat-icon svg {
    width: 16px;
    height: 16px;
  }
  .stat-number {
    font-size: clamp(1.1rem, 4vw, 1.4rem);
  }
  .stat-label {
    font-size: 0.65rem;
    max-width: 100%;
    line-height: 1.4;
  }
}

/* ==================== Section Common ==================== */
.section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.35rem 1rem;
  background: rgba(175, 56, 54, 0.08);
  border: 1px solid rgba(175, 56, 54, 0.15);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--color-primary-light);
  font-weight: 500;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
}

.section-title-right {
  text-align: right;
  margin-right: 0;
  margin-left: auto;
}

/* ==================== Partners / Logo Cloud ==================== */
.partners-section {
  padding: 4rem 0;
  background: var(--color-bg);
  overflow: hidden;
}

.partners-track {
  display: flex;
  gap: 4rem;
  animation: scrollLogos 30s linear infinite;
  width: max-content;
}

.partner-logo {
  flex-shrink: 0;
  height: 40px;
  opacity: 0.35;
  transition: var(--transition-base);
  filter: grayscale(1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
}

.partner-logo:hover {
  opacity: 0.7;
  filter: grayscale(0);
}

.partner-logo svg, .partner-logo img {
  height: 100%;
  width: auto;
}

@keyframes scrollLogos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.partners-wrapper {
  position: relative;
}

.partners-wrapper::before,
.partners-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.partners-wrapper::before {
  right: 0;
  background: linear-gradient(to left, var(--color-bg), transparent);
}

.partners-wrapper::after {
  left: 0;
  background: linear-gradient(to right, var(--color-bg), transparent);
}

/* ==================== Service Cards ==================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  position: relative;
  padding: 2.5rem;
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: var(--transition-base);
  overflow: hidden;
  cursor: default;
}

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

.service-card:hover {
  border-color: rgba(175, 56, 54, 0.3);
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card .icon-wrap {
  width: 56px;
  height: 56px;
  background: rgba(175, 56, 54, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--transition-base);
}

.service-card:hover .icon-wrap {
  background: rgba(175, 56, 54, 0.2);
  transform: scale(1.05);
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

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

.service-card .card-number {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  font-family: var(--font-english);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  line-height: 1;
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    padding: 1.8rem;
  }
}

/* ==================== Portfolio ==================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.portfolio-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  transition: var(--transition-base);
  aspect-ratio: 4/3;
  cursor: pointer;
}

.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(175, 56, 54, 0.3);
}

.portfolio-card .card-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-card);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.portfolio-card .card-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/pr.png');
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  transition: var(--transition-slow);
}

.portfolio-card:hover .card-bg::after {
  opacity: 0.4;
  transform: scale(1.05);
}

.portfolio-card .card-bg .pattern {
  font-size: 6rem;
  opacity: 0.05;
  font-weight: 900;
  font-family: var(--font-english);
  user-select: none;
}

.portfolio-card .card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 20, 0.92) 0%, rgba(10, 10, 20, 0.4) 50%, rgba(10, 10, 20, 0.15) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  opacity: 1;
  transition: var(--transition-base);
}

.portfolio-card:hover .card-overlay {
  background: linear-gradient(to top, rgba(10, 10, 20, 0.96) 0%, rgba(10, 10, 20, 0.5) 40%, rgba(10, 10, 20, 0.2) 100%);
}

.portfolio-card:hover .card-overlay h4 {
  color: var(--color-primary-light);
}

.portfolio-card .card-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(175, 56, 54, 0.2);
  border: 1px solid rgba(175, 56, 54, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  color: var(--color-primary-light);
  margin-bottom: 0.75rem;
  width: fit-content;
}

.portfolio-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.portfolio-card p {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.portfolio-card .card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.portfolio-card:hover .card-image {
  transform: scale(1.05);
}

.portfolio-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.5rem 1.2rem;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
  font-family: var(--font-arabic);
}

.filter-btn:hover,
.filter-btn.active {
  background: rgba(175, 56, 54, 0.15);
  border-color: rgba(175, 56, 54, 0.3);
  color: var(--color-primary-light);
}

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

/* ==================== Why Us Section ==================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.why-card {
  display: flex;
  gap: 1.2rem;
  padding: 1.8rem;
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: var(--transition-base);
}

.why-card:hover {
  border-color: rgba(175, 56, 54, 0.3);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.why-card .icon-box {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(175, 56, 54, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

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

@media (max-width: 768px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
  .why-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

/* ==================== Contact Form ==================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.form-control {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: white;
  font-size: 0.95rem;
  font-family: var(--font-arabic);
  transition: var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(175, 56, 54, 0.15);
}

.form-control::placeholder {
  color: var(--color-text-muted);
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

.contact-info-card {
  padding: 2.5rem;
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--color-border);
}

.contact-info-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-info-item .icon-box {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(175, 56, 54, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-item h5 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-info-item p {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ==================== CTA Section ==================== */
.cta-section {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0.05;
}

.cta-content {
  position: relative;
  text-align: center;
  max-width: 650px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1rem;
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
  line-height: 1.8;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  margin-top: 1rem;
  line-height: 1.8;
  max-width: 300px;
}

.footer h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 0.7rem;
}

.footer ul a {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--transition-fast);
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

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

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: var(--transition-fast);
}

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

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

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

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

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

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

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ==================== Page Hero ==================== */
.page-hero {
  position: relative;
  padding: 10rem 0 5rem;
  overflow: hidden;
  background: var(--gradient-hero);
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  max-width: 600px;
  line-height: 1.8;
}

.page-hero .breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.page-hero .breadcrumb a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.page-hero .breadcrumb a:hover {
  color: var(--color-primary-light);
}

/* ==================== About Page Specific ==================== */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-story .visual {
  position: relative;
}

.about-story .visual-box {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-story .visual-box .deco-text {
  font-size: 5rem;
  font-weight: 900;
  opacity: 0.05;
  font-family: var(--font-english);
  user-select: none;
}

.about-story .floating-card {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  padding: 1.2rem 1.8rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.about-story .floating-card p {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}

.about-story .floating-card strong {
  color: var(--color-primary-light);
  font-family: var(--font-english);
}

@media (max-width: 768px) {
  .about-story {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-story .floating-card {
    bottom: -1rem;
    right: 0;
  }
}

/* ==================== About Revamp Section ==================== */
.about-revamp {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
  background: linear-gradient(180deg, #0A0A0A 0%, #0F0F0F 30%, #111111 60%, #0A0A0A 100%);
}
/* Background Decorations */
.about-revamp-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.about-revamp-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.glow-1 {
  width: 500px;
  height: 500px;
  top: -20%;
  right: -10%;
  background: radial-gradient(circle, rgba(175,56,54,0.12) 0%, transparent 70%);
  animation: revampGlow1 8s ease-in-out infinite;
}
.glow-2 {
  width: 400px;
  height: 400px;
  bottom: -10%;
  left: -5%;
  background: radial-gradient(circle, rgba(212,168,75,0.08) 0%, transparent 70%);
  animation: revampGlow2 10s ease-in-out infinite;
}
.glow-3 {
  width: 300px;
  height: 300px;
  top: 40%;
  left: 30%;
  background: radial-gradient(circle, rgba(175,56,54,0.06) 0%, transparent 70%);
  animation: revampGlow3 12s ease-in-out infinite;
}
@keyframes revampGlow1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.1); }
}
@keyframes revampGlow2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-20px, 20px) scale(1.15); }
}
@keyframes revampGlow3 {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}
.about-revamp-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(175,56,54,0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(212,168,75,0.02) 0%, transparent 50%);
  background-size: 100% 100%;
}
.about-revamp-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(175,56,54,0.1), transparent);
}
.line-1 { top: 15%; left: 5%; right: 5%; }
.line-2 { top: 50%; left: 0; right: 0; opacity: 0.3; background: linear-gradient(90deg, transparent, rgba(175,56,54,0.05), transparent); }
.line-3 { bottom: 20%; left: 10%; right: 10%; }
.about-revamp-diamond {
  position: absolute;
  top: 12%;
  left: 8%;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(175,56,54,0.1);
  transform: rotate(45deg);
  animation: revampDiamond 6s ease-in-out infinite;
}
@keyframes revampDiamond {
  0%, 100% { transform: rotate(45deg) scale(1); border-color: rgba(175,56,54,0.1); }
  50% { transform: rotate(45deg) scale(1.3); border-color: rgba(175,56,54,0.25); }
}
.about-revamp-dot {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-primary);
  opacity: 0.3;
}
.dot-1 { top: 25%; right: 15%; animation: revampDot 3s ease-in-out infinite; }
.dot-2 { top: 60%; left: 10%; animation: revampDot 3s ease-in-out infinite 0.7s; }
.dot-3 { bottom: 30%; right: 25%; animation: revampDot 3s ease-in-out infinite 1.4s; }
.dot-4 { top: 10%; left: 25%; animation: revampDot 3s ease-in-out infinite 2.1s; }
@keyframes revampDot {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.8); box-shadow: 0 0 10px rgba(175,56,54,0.5); }
}
/* Inner Grid */
.about-revamp-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
/* Content Side */
.about-revamp-content {
  position: relative;
}
/* Tag */
.revamp-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.2rem;
  border: 1px solid rgba(175,56,54,0.35);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-primary-light);
  letter-spacing: 0.3px;
  margin-bottom: 1.5rem;
  position: relative;
  box-shadow: 0 0 25px rgba(175,56,54,0.1);
}
.revamp-tag-glow {
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: transparent;
  animation: revampTagGlow 2s ease-in-out infinite;
}
@keyframes revampTagGlow {
  0%, 100% { box-shadow: 0 0 15px rgba(175,56,54,0.15); }
  50% { box-shadow: 0 0 35px rgba(175,56,54,0.3); }
}
.revamp-tag-dot {
  width: 6px;
  height: 6px;
  background: var(--color-primary-light);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(175,56,54,0.9);
  animation: revampTagDot 1.5s ease-in-out infinite;
}
@keyframes revampTagDot {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 8px rgba(175,56,54,0.9); }
  50% { opacity: 0.4; transform: scale(0.7); box-shadow: 0 0 4px rgba(175,56,54,0.4); }
}
/* Title */
.revamp-title {
  font-family: var(--font-arabic);
  font-weight: 900;
  font-size: 2.1rem;
  line-height: 1.45;
  margin-bottom: 1.2rem;
  color: var(--color-text);
}
.revamp-glow-text {
  color: var(--color-primary-light);
  text-shadow: 0 0 30px rgba(175,56,54,0.35), 0 0 60px rgba(175,56,54,0.15);
  position: relative;
  display: inline-block;
}
.revamp-glow-text::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  box-shadow: 0 0 15px rgba(175,56,54,0.5);
  border-radius: 2px;
}
.revamp-divider {
  width: 50px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 3px;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 15px rgba(175,56,54,0.4);
}
/* Text */
.revamp-text {
  color: var(--color-text-secondary);
  line-height: 1.9;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
/* Mini Stats */
.revamp-stats {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 1rem 1.5rem;
  background: rgba(26,26,26,0.6);
  border: 1px solid rgba(175,56,54,0.15);
  border-radius: var(--radius-md);
  margin-bottom: 1.8rem;
  backdrop-filter: blur(8px);
}
.revamp-stat-item {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.revamp-stat-num {
  font-family: var(--font-english);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-primary-light);
}
.revamp-stat-label {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  font-weight: 500;
}
.revamp-stat-divider {
  width: 1px;
  height: 30px;
  background: rgba(175,56,54,0.2);
}
/* Button */
.revamp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(175,56,54,0.5);
  background: linear-gradient(135deg, rgba(175,56,54,0.2), rgba(175,56,54,0.05));
  color: var(--color-text);
  font-family: var(--font-arabic);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 0 20px rgba(175,56,54,0.08);
}
.revamp-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(175,56,54,0.3), rgba(175,56,54,0.1));
  opacity: 0;
  transition: opacity 0.4s ease;
}
.revamp-btn:hover::before { opacity: 1; }
.revamp-btn:hover {
  border-color: var(--color-primary-light);
  box-shadow: 0 0 40px rgba(175,56,54,0.3);
  transform: translateY(-2px);
  color: white;
}
.revamp-btn-text, .revamp-btn-icon {
  position: relative;
  z-index: 1;
  display: flex;
}
/* Visual Side */
.about-revamp-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}
/* Image Wrap */
.revamp-image-wrap {
  position: relative;
  width: 90%;
  max-width: 420px;
  border-radius: var(--radius-lg);
}
.revamp-image-border {
  position: absolute;
  inset: -12px;
  border: 1px solid rgba(175,56,54,0.2);
  border-radius: calc(var(--radius-lg) + 8px);
  animation: revampBorderPulse 4s ease-in-out infinite;
}
@keyframes revampBorderPulse {
  0%, 100% { border-color: rgba(175,56,54,0.2); box-shadow: 0 0 20px rgba(175,56,54,0.05); }
  50% { border-color: rgba(175,56,54,0.4); box-shadow: 0 0 50px rgba(175,56,54,0.15); }
}
.revamp-image-inner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(175,56,54,0.25);
  box-shadow: 0 0 40px rgba(175,56,54,0.1);
}
.revamp-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.5s ease;
}
.revamp-image:hover {
  transform: scale(1.02);
}
/* Floating Icons */
.revamp-float-icon {
  position: absolute;
  width: 44px;
  height: 44px;
  background: rgba(22,22,22,0.9);
  border: 1px solid rgba(175,56,54,0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 20px rgba(175,56,54,0.08);
  animation: revampFloat 4s ease-in-out infinite;
  z-index: 2;
}
.fi-1 { top: 0; right: 2%; animation-delay: 0s; }
.fi-2 { top: 22%; left: 0; animation-delay: 0.6s; }
.fi-3 { bottom: 18%; right: 0; animation-delay: 1.2s; }
.fi-4 { bottom: 2%; left: 5%; animation-delay: 1.8s; }
.fi-5 { top: 50%; right: -4%; animation-delay: 2.4s; }
@keyframes revampFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-8px) rotate(2deg); }
  66% { transform: translateY(6px) rotate(-1deg); }
}
/* Floating Badge */
.revamp-float-badge {
  position: absolute;
  bottom: -0.3rem;
  left: -0.3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 0.6rem 1.2rem;
  background: rgba(22,22,22,0.92);
  border: 1px solid rgba(175,56,54,0.3);
  border-radius: var(--radius-md);
  box-shadow: 0 0 30px rgba(175,56,54,0.1);
  backdrop-filter: blur(12px);
  z-index: 3;
  animation: revampBadge 3s ease-in-out infinite;
}
.revamp-badge-num {
  font-family: var(--font-english);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-primary-light);
}
.revamp-badge-label {
  font-size: 0.65rem;
  color: var(--color-text-muted);
  font-weight: 500;
}
@keyframes revampBadge {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
}
@media (max-width: 768px) {
  .about-revamp { padding: 4rem 0; }
  .about-revamp-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-revamp-content { order: 1; }
  .about-revamp-visual { order: -1; min-height: 300px; }
  .revamp-title { font-size: 1.4rem; }
  .revamp-stats { padding: 0.8rem 1rem; }
  .revamp-stat-num { font-size: 1.1rem; }
  .revamp-stat-label { font-size: 0.65rem; }
  .revamp-image-wrap { width: 95%; max-width: 320px; }
  .revamp-float-icon { width: 36px; height: 36px; }
  .revamp-float-icon svg { width: 16px; height: 16px; }
  .fi-1 { top: 0; right: 0; }
  .fi-2 { top: 18%; left: 0; }
  .fi-4 { left: 0; }
  .revamp-float-badge { bottom: 0; left: 0; }
  .line-1, .line-2, .line-3 { display: none; }
  .about-revamp-diamond { display: none; }
}

/* ==================== Services Page ==================== */
.service-detail-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 3rem;
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  margin-bottom: 2rem;
  transition: var(--transition-base);
  align-items: center;
}

.service-detail-card:hover {
  border-color: rgba(175, 56, 54, 0.2);
  box-shadow: var(--shadow-glow);
}

.service-detail-card .icon-main {
  width: 64px;
  height: 64px;
  background: rgba(175, 56, 54, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.service-detail-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.service-detail-card p {
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.service-detail-card ul {
  list-style: none;
  padding: 0;
}

.service-detail-card ul li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.service-detail-card ul li svg {
  color: var(--color-success);
  flex-shrink: 0;
}

.service-detail-card .visual-box {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.service-detail-card .visual-box .deco-icon {
  font-size: 5rem;
  opacity: 0.06;
  font-weight: 900;
}

@media (max-width: 768px) {
  .service-detail-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.8rem;
  }
  .service-detail-card .visual-box {
    order: -1;
  }
}

/* ==================== Process Timeline ==================== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.process-step {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  position: relative;
  transition: var(--transition-base);
}

.process-step:hover {
  border-color: rgba(175, 56, 54, 0.3);
  transform: translateY(-5px);
}

.process-step .step-num {
  width: 44px;
  height: 44px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-english);
  font-weight: 800;
  font-size: 1rem;
  color: white;
  margin: 0 auto 1rem;
}

.process-step h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .process-steps {
    grid-template-columns: 1fr;
  }
}

/* ==================== Why Us Page Features ==================== */
.features-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.feature-col {
  padding: 2rem;
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.feature-col h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
}

.feature-col ul {
  list-style: none;
}

.feature-col ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.feature-col ul li:last-child {
  border-bottom: none;
}

.feature-col .check {
  color: var(--color-success);
}

.feature-col .cross {
  color: var(--color-error);
}

@media (max-width: 768px) {
  .features-comparison {
    grid-template-columns: 1fr;
  }
}

/* ==================== Testimonials ==================== */
.testimonial-card {
  padding: 2rem;
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: var(--transition-base);
}

.testimonial-card:hover {
  border-color: rgba(175, 56, 54, 0.3);
  transform: translateY(-3px);
}

.testimonial-card .stars {
  display: flex;
  gap: 3px;
  margin-bottom: 1rem;
  color: var(--color-accent);
}

.testimonial-card blockquote {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.testimonial-card .author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: white;
  font-family: var(--font-english);
}

.testimonial-card .author-info h5 {
  font-size: 0.9rem;
  font-weight: 600;
}

.testimonial-card .author-info span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==================== Portfolio Detail Page ==================== */
.portfolio-hero {
  padding: 10rem 0 4rem;
  background: var(--gradient-hero);
}

.portfolio-hero .project-meta {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.portfolio-hero .meta-item {
  text-align: center;
}

.portfolio-hero .meta-item .label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.portfolio-hero .meta-item .value {
  font-size: 1.1rem;
  font-weight: 700;
}

/* ==================== RTL Specific ==================== */
[dir="rtl"] .nav-links a::after {
  left: auto;
  right: 0;
}

[dir="rtl"] .hero-actions {
  justify-content: flex-start;
}

[dir="rtl"] .filter-btn {
  font-family: var(--font-arabic);
}

/* ==================== Extra Utilities ==================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-balance {
  text-wrap: balance;
}

.fade-in {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* Loading shimmer */
.shimmer {
  background: linear-gradient(90deg, var(--color-bg-card) 25%, var(--color-bg-card-hover) 50%, var(--color-bg-card) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

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

/* Noise texture overlay */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.015;
  mix-blend-mode: overlay;
}
