/* =============================================
   AL-BASERA WEBSITE – STYLES.CSS
   Premium RTL Arabic Design
   ============================================= */

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

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

:root {
  --primary: #00d4ff;
  --primary-dark: #0099bb;
  --accent: #7c3aed;
  --accent-light: #a855f7;
  --bg-dark: #020817;
  --bg-card: #0d1627;
  --bg-card2: #111827;
  --border: rgba(0, 212, 255, 0.15);
  --border-hover: rgba(0, 212, 255, 0.4);
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --gradient-main: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
  --gradient-bg: linear-gradient(180deg, #020817 0%, #050d1a 50%, #020817 100%);
  --shadow-glow: 0 0 40px rgba(0, 212, 255, 0.15);
  --shadow-card: 0 4px 32px rgba(0, 0, 0, 0.4);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Cairo', 'Tajawal', sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--bg-dark);
  color: var(--text-primary);
  direction: rtl;
  text-align: right;
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

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

/* ---- SECTION ---- */
.section { padding: 100px 0; position: relative; }
.section:nth-child(even) { background: linear-gradient(180deg, #030f20 0%, #050d1a 100%); }

/* ---- SECTION HEADER ---- */
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-block;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 20px;
  border-radius: 100px;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #f1f5f9 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-desc { color: var(--text-secondary); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}
.btn-primary {
  background: var(--gradient-main);
  color: #fff;
  box-shadow: 0 4px 24px rgba(0, 212, 255, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(0, 212, 255, 0.5);
  filter: brightness(1.1);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: rgba(0, 212, 255, 0.1);
  transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; }

/* ===============================
   NAVBAR
   =============================== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  background: transparent;
}
.navbar.scrolled {
  background: rgba(2, 8, 23, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-img { height: 48px; width: auto; }
.logo-text-fallback { 
  display: flex; 
  align-items: center; 
  gap: 10px; 
}
.logo-icon { font-size: 1.8rem; }
.logo-words { display: flex; flex-direction: column; }
.logo-ar { font-size: 1.2rem; font-weight: 900; color: var(--primary); line-height: 1.2; }
.logo-en { font-size: 0.7rem; font-weight: 600; color: var(--text-secondary); letter-spacing: 2px; text-transform: uppercase; line-height: 1; }

/* Use logo-words only when fallback is hidden */
.nav-logo > .logo-words { display: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  right: 16px;
  left: 16px;
  height: 2px;
  background: var(--gradient-main);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===============================
   HERO
   =============================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 120px 60px 60px;
  position: relative;
  overflow: hidden;
  gap: 48px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0, 212, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at center, black 0%, transparent 100%);
}
.particles { position: absolute; inset: 0; overflow: hidden; }
.particle {
  position: absolute;
  border-radius: 50%;
  animation: float-particle linear infinite;
  opacity: 0;
}
@keyframes float-particle {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 0.6; }
  100% { transform: translateY(-100px) scale(1); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  flex: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: 100px;
  padding: 8px 20px;
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 24px;
  animation: fadeInDown 0.8s ease both;
}
.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.7); }
  50% { box-shadow: 0 0 0 6px rgba(0, 212, 255, 0); }
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.2s both;
}
.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  color: var(--text-secondary);
  font-size: 1.15rem;
  margin-bottom: 36px;
  animation: fadeInUp 0.8s ease 0.4s both;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: fadeInUp 0.8s ease 0.6s both;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  animation: fadeInUp 0.8s ease 0.8s both;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 32px;
  backdrop-filter: blur(10px);
}
.stat-item { flex: 1; text-align: center; min-width: 80px; }
.stat-number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}
.stat-suffix { font-size: 1.5rem; font-weight: 900; color: var(--primary); }
.stat-label { font-size: 0.8rem; color: var(--text-secondary); margin-top: 4px; display: block; }
.stat-divider { width: 1px; height: 48px; background: var(--border); margin: 0 8px; }

/* HERO VISUAL */
.hero-visual {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 1.2s ease 0.5s both;
}
.tech-sphere {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sphere-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  animation: spin-ring linear infinite;
}
.ring-1 {
  width: 280px; height: 280px;
  border-color: rgba(0, 212, 255, 0.2);
  animation-duration: 20s;
}
.ring-2 {
  width: 220px; height: 220px;
  border-color: rgba(124, 58, 237, 0.3);
  animation-duration: 14s;
  animation-direction: reverse;
}
.ring-3 {
  width: 160px; height: 160px;
  border-color: rgba(0, 212, 255, 0.35);
  animation-duration: 9s;
  border-style: dashed;
}
@keyframes spin-ring { to { transform: rotate(360deg); } }

.sphere-core {
  width: 90px;
  height: 90px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, rgba(124, 58, 237, 0.1) 100%);
  border: 1px solid rgba(0, 212, 255, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 60px rgba(0, 212, 255, 0.2);
  animation: pulse-core 3s ease infinite;
}
.sphere-core svg { width: 60px; height: 60px; }
@keyframes pulse-core {
  0%, 100% { box-shadow: 0 0 40px rgba(0, 212, 255, 0.2), 0 0 80px rgba(124, 58, 237, 0.1); }
  50% { box-shadow: 0 0 60px rgba(0, 212, 255, 0.4), 0 0 120px rgba(124, 58, 237, 0.2); }
}

.orbit-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  animation: orbit linear infinite;
}
.d1 { animation-duration: 6s; transform-origin: 140px center; top: calc(50% - 5px); right: calc(50% - 5px); }
.d2 { animation-duration: 9s; transform-origin: 110px center; top: calc(50% - 5px); right: calc(50% - 5px); background: var(--accent-light); box-shadow: 0 0 10px var(--accent-light); animation-direction: reverse; }
.d3 { animation-duration: 4.5s; transform-origin: 80px center; top: calc(50% - 5px); right: calc(50% - 5px); background: #00ff88; box-shadow: 0 0 10px #00ff88; }
@keyframes orbit { to { transform: rotate(360deg); } }

/* SCROLL INDICATOR */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  animation: bounce 2s ease infinite;
}
.scroll-arrow {
  width: 28px;
  height: 28px;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(45deg);
  opacity: 0.6;
}
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* ===============================
   ABOUT
   =============================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.about-text p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.9;
}
.about-highlights { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.highlight-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(0, 212, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  font-weight: 600;
}
.highlight-item:hover {
  border-color: var(--border-hover);
  background: rgba(0, 212, 255, 0.08);
  transform: translateX(-4px);
}
.highlight-icon { font-size: 1.3rem; flex-shrink: 0; }
.about-cards { display: flex; flex-direction: column; gap: 20px; }
.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}
.info-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.card-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.card-icon-wrap.cyan { background: rgba(0, 212, 255, 0.12); color: var(--primary); border: 1px solid rgba(0, 212, 255, 0.2); }
.card-icon-wrap.purple { background: rgba(124, 58, 237, 0.12); color: var(--accent-light); border: 1px solid rgba(124, 58, 237, 0.2); }
.card-icon-wrap.blue { background: rgba(59, 130, 246, 0.12); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.2); }
.info-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.info-card p { color: var(--text-secondary); font-size: 0.95rem; }

/* ===============================
   SERVICES
   =============================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: var(--transition);
  cursor: default;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--gradient-main);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 68px;
  height: 68px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(124, 58, 237, 0.1) 100%);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.25) 0%, rgba(124, 58, 237, 0.2) 100%);
  border-color: rgba(0, 212, 255, 0.5);
  transform: scale(1.05);
}
.service-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; }
.service-card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.75; margin-bottom: 20px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.service-tags span {
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
}

/* ===============================
   PROJECTS
   =============================== */
.projects { background: var(--bg-dark) !important; }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.project-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.project-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.project-card:hover::after { opacity: 1; }
.project-card.featured {
  border-color: rgba(0, 212, 255, 0.3);
  background: linear-gradient(135deg, #0d1627 0%, #0a1020 100%);
}
.project-card.in-progress { border-color: rgba(124, 58, 237, 0.3); }
.project-badge {
  display: inline-block;
  background: var(--gradient-main);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.project-badge.progress { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.project-icon { font-size: 2rem; margin-bottom: 14px; }
.project-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; line-height: 1.5; }
.project-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; margin-bottom: 16px; }
.project-tech { display: flex; flex-wrap: wrap; gap: 6px; }
.project-tech span {
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.2);
  color: var(--accent-light);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
}

/* ===============================
   CLIENTS
   =============================== */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.client-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.client-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
}
.client-icon {
  font-size: 2.5rem;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto;
}
.client-icon.banking { background: rgba(0, 212, 255, 0.1); }
.client-icon.telecom { background: rgba(124, 58, 237, 0.1); }
.client-icon.gov { background: rgba(245, 158, 11, 0.1); }
.client-icon.religious { background: rgba(16, 185, 129, 0.1); }
.client-card h4 { font-size: 0.95rem; font-weight: 700; line-height: 1.4; }
.client-type {
  font-size: 0.78rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 3px 12px;
  font-weight: 500;
}

/* ===============================
   CONTACT
   =============================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.contact-item:hover { border-color: var(--border-hover); transform: translateX(-4px); }
.contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.contact-item h4 { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 4px; font-weight: 600; }
.contact-item p { font-weight: 600; }

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.9rem; font-weight: 600; color: var(--text-secondary); }
.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: var(--transition);
  direction: rtl;
  text-align: right;
  resize: none;
  outline: none;
}
.form-group input[dir="ltr"] { direction: ltr; text-align: left; }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: rgba(0, 212, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

.form-success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-sm);
  padding: 16px;
  color: #34d399;
  font-weight: 600;
  text-align: center;
}
.hidden { display: none; }

/* ===============================
   FOOTER
   =============================== */
.footer {
  background: #010610;
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.logo-icon-small { font-size: 1.8rem; }
.footer-logo-ar { display: block; font-size: 1.1rem; font-weight: 900; color: var(--primary); }
.footer-logo-en { display: block; font-size: 0.7rem; color: var(--text-muted); letter-spacing: 2px; text-transform: uppercase; }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.8; }
.footer-links h4, .footer-services h4, .footer-contact h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.footer-links ul li, .footer-services ul li, .footer-contact ul li {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-links ul li a { color: var(--text-muted); transition: color 0.2s; }
.footer-links ul li a:hover { color: var(--primary); }
.footer-services ul li, .footer-contact ul li { cursor: default; }
.footer-bottom {
  padding: 24px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ===============================
   ANIMATIONS
   =============================== */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===============================
   RESPONSIVE
   =============================== */
@media (max-width: 1100px) {
  .hero { padding: 120px 32px 60px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 40px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero { flex-direction: column; text-align: center; padding: 120px 24px 80px; }
  .hero-visual { display: none; }
  .hero-actions { justify-content: center; }
  .hero-stats { padding: 16px 20px; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    right: 0; left: 0;
    background: rgba(2, 8, 23, 0.97);
    border-top: 1px solid var(--border);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
    backdrop-filter: blur(20px);
  }
  .nav-links.open { display: flex; }
  .nav-link { display: block; padding: 12px 16px; width: 100%; }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .stat-divider { width: 80px; height: 1px; }
  .section { padding: 64px 0; }
}
