/* ====== RESET & BASE ====== */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { width: 100%; scroll-behavior: smooth; }

body {
  width: 100%;
  min-height: 100vh;
  font-family: 'Cairo', 'Inter', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
  color: #ffffff;
  line-height: 1.7;
  background: transparent;
}

body[data-lang="en"] {
  font-family: 'Inter', 'Cairo', system-ui, sans-serif;
}

::selection { background: #00d4ff; color: #000; }

/* ====== SCROLL REVEAL ANIMATIONS ====== */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

body[data-lang="en"] .reveal-left {
  transform: translateX(-60px);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* ====== DIMMER OVERLAY ====== */
.dimmer-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  pointer-events: none;
  z-index: 5;
  transition: background 0.1s ease;
}

/* ====== BRIGHTNESS CONTROL ====== */
.brightness-control {
  position: fixed;
  bottom: 24px; left: 24px;
  z-index: 1001;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  padding: 8px 14px;
}

.brightness-control span { font-size: 14px; color: rgba(255,255,255,0.7); }

.brightness-control input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 80px; height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px; outline: none; cursor: pointer;
}

.brightness-control input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 14px; height: 14px;
  background: #00d4ff; border-radius: 50%; cursor: pointer;
  box-shadow: 0 0 10px rgba(0,212,255,0.5);
}

.brightness-control input[type="range"]::-moz-range-thumb {
  width: 14px; height: 14px;
  background: #00d4ff; border-radius: 50%; cursor: pointer; border: none;
  box-shadow: 0 0 10px rgba(0,212,255,0.5);
}

/* ====== FLOAT RESET BUTTON ====== */
.float-reset-btn {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 1001;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.15);
  border: 1px solid rgba(0, 212, 255, 0.3);
  color: #00d4ff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.float-reset-btn:hover {
  background: rgba(0, 212, 255, 0.3);
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(0,212,255,0.3);
}

/* ====== CANVAS ====== */
#frame-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  display: block;
  z-index: 1;
  pointer-events: none;
}

/* ====== SITE CONTENT ====== */
.site-content {
  position: relative;
  z-index: 10;
  width: 100%;
}

/* ====== HEADER ====== */
.main-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  width: 100%; height: 70px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  z-index: 1000;
}

.main-header .logo img {
  height: 42px; width: auto;
  object-fit: contain; display: block;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.9); text-shadow: 0 0 25px rgba(255,255,255,0.15);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.main-nav a:hover { color: #00d4ff; }

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; right: 0;
  width: 0; height: 2px;
  background: #00d4ff;
  transition: width 0.3s ease;
}

body[data-lang="en"] .main-nav a::after { right: auto; left: 0; }
.main-nav a:hover::after { width: 100%; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-toggle {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.lang-toggle:hover {
  background: rgba(0, 212, 255, 0.12);
  border-color: rgba(0, 212, 255, 0.3);
  color: #00d4ff;
}

.header-cta {
  padding: 10px 26px;
  background: #00d4ff;
  color: #000;
  text-decoration: none;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.25);
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 212, 255, 0.45);
}

/* ====== HERO SECTION ====== */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 140px 64px 100px;
  max-width: 1400px;
  margin: 0 auto;
  gap: 60px;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 650px;
  flex: 1;
}

/* Hero Side Card */
.hero-side-card {
  background: rgba(8, 8, 14, 0.65);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 24px;
  padding: 32px 28px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  min-width: 280px;
  max-width: 320px;
  flex-shrink: 0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 212, 255, 0.05);
}

.side-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.side-card-dot {
  width: 8px; height: 8px;
  background: #00d4ff;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
  animation: pulse 2.5s infinite;
}

.side-card-label {
  font-size: 13px;
  color: #00d4ff;
  text-shadow: 0 0 15px rgba(0,212,255,0.4);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.side-stats {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.side-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

body[data-lang="en"] .side-stat {
  align-items: flex-start;
}

.side-stat-num {
  font-size: 36px;
  font-weight: 800;
  text-shadow: 0 0 25px rgba(255,255,255,0.3);
  color: #ffffff;
  line-height: 1;
  letter-spacing: -1px;
}

.side-stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8); text-shadow: 0 0 20px rgba(255,255,255,0.1);
  font-weight: 500;
}

.side-stat-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #00d4ff, rgba(0, 212, 255, 0.1));
  border-radius: 1px;
  margin-top: 4px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: none;
  color: #00d4ff;
  font-size: 16px;
  padding: 0;
  border-radius: 0;
  width: fit-content;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-shadow: 0 0 15px rgba(0,212,255,0.4);
}

.hero-badge-dot {
  width: 8px; height: 8px;
  background: #00d4ff;
  border-radius: 50%;
  animation: pulse 2.5s infinite;
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.6);
}

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

.hero-title {
  font-size: 56px;
  font-weight: 800;
  text-shadow: 0 0 40px rgba(255,255,255,0.25), 0 0 80px rgba(255,255,255,0.08);
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: #ffffff;
  text-shadow: 0 0 40px rgba(255,255,255,0.3), 0 0 80px rgba(255,255,255,0.1);
}

.hero-title .highlight { color: #00d4ff; }

.hero-subtitle {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85); text-shadow: 0 0 30px rgba(255,255,255,0.15);
  line-height: 1.8;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  margin-top: 4px;
}

.btn-primary {
  background: #00d4ff;
  color: #000;
  border: none;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.35);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  font-family: inherit;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

/* ====== ABOUT SECTION ====== */
.about-section {
  padding: 120px 64px;
  max-width: 1400px;
  margin: 0 auto;
}

.about-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.about-top-row {
  display: flex;
  justify-content: flex-start;
}

.about-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: none;
  color: #00d4ff;
  font-size: 16px;
  padding: 0;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-shadow: 0 0 15px rgba(0,212,255,0.4);
}

.about-label-dot {
  width: 8px; height: 8px;
  background: #00d4ff;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.6);
  animation: pulse 2.5s infinite;
}

.about-main-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-title-col {
  display: flex;
  justify-content: flex-start;
}

.about-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  letter-spacing: -1px;
  text-align: right;
  text-shadow: 0 0 40px rgba(255,255,255,0.25), 0 0 80px rgba(255,255,255,0.1);
}

body[data-lang="en"] .about-title {
  text-align: left;
}

.about-title .highlight {
  color: #00d4ff;
  text-shadow: 0 0 40px rgba(0,212,255,0.3);
}

.about-desc-col {
  display: flex;
  align-items: center;
}

.about-desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.85;
  text-shadow: 0 0 30px rgba(255,255,255,0.15);
  text-align: right;
}

body[data-lang="en"] .about-desc {
  text-align: left;
}



/* ====== INFO GRID SECTION ====== */
.info-grid-section {
  padding: 0 64px 100px;
  max-width: 1400px;
  margin: 0 auto;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.info-box {
  background: rgba(8, 8, 14, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 36px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.info-box-label {
  font-size: 12px;
  color: #00d4ff;
  text-shadow: 0 0 12px rgba(0,212,255,0.4);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.info-box-label::before {
  content: '';
  width: 5px; height: 5px;
  background: #00d4ff;
  border-radius: 50%;
}

.info-box-title {
  font-size: 22px;
  font-weight: 600;
  text-shadow: 0 0 20px rgba(255,255,255,0.1);
  margin-bottom: 10px;
  color: #ffffff;
}

.info-box-title .highlight { color: #00d4ff; }

.info-box-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 12px 28px;
  border-radius: 100px;
  font-size: 14px;
  margin-top: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  font-weight: 500;
}

.info-box-btn:hover {
  background: rgba(0, 212, 255, 0.12);
  border-color: rgba(0, 212, 255, 0.25);
}

.info-box-img {
  width: 100%; height: 170px;
  background: rgba(0, 212, 255, 0.04);
  border-radius: 14px;
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.testimonial-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-header {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8); text-shadow: 0 0 20px rgba(255,255,255,0.1);
  line-height: 1.7;
  margin-bottom: 28px;
}

.testimonial-stars {
  display: flex;
  gap: 5px;
  margin-bottom: 14px;
}

.star {
  color: #00d4ff;
  font-size: 18px;
}

.testimonial-big {
  font-size: 72px;
  font-weight: 700;
  text-shadow: 0 0 50px rgba(255,255,255,0.2);
  line-height: 1;
  margin-bottom: 28px;
  color: #ffffff;
}

.testimonial-card {
  display: flex;
  gap: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 22px;
}

.testimonial-avatar {
  width: 50px; height: 50px;
  border-radius: 14px;
  background: rgba(0, 212, 255, 0.12);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  color: #00d4ff;
}

.testimonial-quote {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9); text-shadow: 0 0 25px rgba(255,255,255,0.15);
  line-height: 1.7;
  margin-bottom: 10px;
}

.testimonial-author {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.95); text-shadow: 0 0 30px rgba(255,255,255,0.2); text-shadow: 0 0 15px rgba(255,255,255,0.08);
}

.testimonial-author span { color: #00d4ff; }

/* ====== CONTENT SECTIONS ====== */
.content-section {
  position: relative;
  width: 100%;
  padding: 110px 64px;
  max-width: 1400px;
  margin: 0 auto;
}

.content-section.alt-bg {
  background: rgba(4, 4, 8, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  max-width: 100%;
}

.content-section.alt-bg .section-header,
.content-section.alt-bg .cards-grid,
.content-section.alt-bg .projects-grid,
.content-section.alt-bg .testimonials-side,
.content-section.alt-bg .process-steps {
  max-width: 1400px;
  margin: 0 auto;
}

/* ====== SECTION HEADER (SMALLER STYLE) ====== */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header.simple {
  text-align: right;
  margin-bottom: 56px;
}

body[data-lang="en"] .section-header.simple {
  text-align: left;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 50px;
  color: #00d4ff;
  font-size: 12px;
  text-shadow: 0 0 12px rgba(0,212,255,0.4);
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: 0.3px;
}

.section-tag::before {
  content: '';
  width: 5px; height: 5px;
  background: #00d4ff;
  border-radius: 50%;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  text-shadow: 0 0 25px rgba(255,255,255,0.15);
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.2;
  letter-spacing: -0.3px;
}

.section-title.large {
  font-size: 36px;
}

.section-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75); text-shadow: 0 0 20px rgba(255,255,255,0.1);
  max-width: 500px;
  line-height: 1.7;
}

/* ====== GLASS CARDS ====== */
.cards-grid {
  display: grid;
  gap: 24px;
}

.cards-grid.four { grid-template-columns: repeat(4, 1fr); }
.cards-grid.three { grid-template-columns: repeat(3, 1fr); }

.glass-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 22px;
  padding: 36px 28px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  cursor: grab;
  user-select: none;
}

.glass-card:active { cursor: grabbing; }

.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.35), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(0, 212, 255, 0.15);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

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

.glass-card.floating {
  position: fixed !important;
  z-index: 999 !important;
  cursor: grabbing;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.glass-card.dropped {
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card-icon {
  width: 54px; height: 54px;
  background: rgba(0, 212, 255, 0.07);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.glass-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 0 20px rgba(255,255,255,0.15);
  text-shadow: 0 0 20px rgba(255,255,255,0.15);
  margin-bottom: 10px;
}

.glass-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8); text-shadow: 0 0 20px rgba(255,255,255,0.1);
  line-height: 1.7;
}

/* Service Cards */
.service-card { position: relative; }

.service-num {
  position: absolute;
  top: 22px; left: 22px;
  font-size: 48px;
  font-weight: 800;
  color: rgba(0, 212, 255, 0.05);
  line-height: 1;
}

body[data-lang="en"] .service-num {
  left: auto; right: 22px;
}

/* ====== FEATURES ROW ====== */
.features-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.feature-item {
  text-align: center;
  padding: 36px 28px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  transition: all 0.35s ease;
}

.feature-item:hover {
  border-color: rgba(0, 212, 255, 0.15);
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.03);
}

.feature-dot {
  width: 14px; height: 14px;
  background: #00d4ff;
  border-radius: 50%;
  margin: 0 auto 22px;
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.35);
}

.feature-item h4 {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 0 20px rgba(255,255,255,0.15);
  text-shadow: 0 0 20px rgba(255,255,255,0.15);
  margin-bottom: 10px;
}

.feature-item p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75); text-shadow: 0 0 20px rgba(255,255,255,0.1);
  line-height: 1.6;
}

/* ====== PROJECTS ====== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.project-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 22px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: grab;
  user-select: none;
}

.project-card:active { cursor: grabbing; }

.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 212, 255, 0.15);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.project-card.floating {
  position: fixed !important;
  z-index: 999 !important;
  cursor: grabbing;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.project-img {
  width: 100%; height: 200px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.project-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 0 20px rgba(255,255,255,0.15);
  text-shadow: 0 0 20px rgba(255,255,255,0.15);
  padding: 26px 26px 8px;
}

.project-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75); text-shadow: 0 0 20px rgba(255,255,255,0.1);
  padding: 0 26px 26px;
}

/* ====== PROCESS STEPS ====== */
.process-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.step {
  text-align: center;
  max-width: 230px;
  padding: 34px 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 22px;
  transition: all 0.4s ease;
}

.step:hover {
  border-color: rgba(0, 212, 255, 0.15);
  transform: translateY(-6px);
}

.step-num {
  width: 52px; height: 52px;
  background: #00d4ff;
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  margin: 0 auto 22px;
}

.step h4 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 0 20px rgba(255,255,255,0.15);
  text-shadow: 0 0 20px rgba(255,255,255,0.15);
  margin-bottom: 10px;
}

.step p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75); text-shadow: 0 0 20px rgba(255,255,255,0.1);
  line-height: 1.6;
}

.step-arrow {
  color: #00d4ff;
  flex-shrink: 0;
}

/* ====== TESTIMONIALS SIDE CARD ====== */
.testimonials-side {
  display: flex;
  justify-content: flex-end;
}

body[data-lang="en"] .testimonials-side {
  justify-content: flex-start;
}

.testimonials-card-side {
  background: rgba(8, 8, 14, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 24px;
  padding: 32px;
  width: 420px;
  max-width: 100%;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  cursor: grab;
  user-select: none;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.testimonials-card-side:active { cursor: grabbing; }

.testimonials-card-side:hover {
  border-color: rgba(0, 212, 255, 0.15);
  transform: translateY(-4px);
}

.testimonials-card-side.floating {
  position: fixed !important;
  z-index: 999 !important;
  cursor: grabbing;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.testimonials-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.testimonials-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75); text-shadow: 0 0 20px rgba(255,255,255,0.1);
  font-weight: 500;
}

.testimonials-year {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.testimonials-stars {
  color: #00d4ff;
  font-size: 18px;
  margin-bottom: 22px;
  letter-spacing: 2px;
}

.testimonial-slide {
  display: none;
}

.testimonial-slide.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.testimonial-slide-text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.95); text-shadow: 0 0 30px rgba(255,255,255,0.2);
  line-height: 1.8;
  margin-bottom: 22px;
  font-style: italic;
}

.testimonial-slide-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.testimonial-slide-author .author-avatar {
  width: 44px; height: 44px;
  background: rgba(0, 212, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #00d4ff;
}

.testimonial-slide-author strong {
  display: block;
  color: #ffffff;
  font-size: 15px;
  text-shadow: 0 0 15px rgba(255,255,255,0.2);
  font-weight: 700;
}

.testimonial-slide-author span {
  display: block;
  color: rgba(255, 255, 255, 0.95); text-shadow: 0 0 30px rgba(255,255,255,0.2); text-shadow: 0 0 15px rgba(255,255,255,0.08);
  font-size: 13px;
}

.testimonials-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 18px;
}

.testimonials-prev,
.testimonials-next {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 18px;
  font-family: inherit;
}

.testimonials-prev:hover,
.testimonials-next:hover {
  background: rgba(0, 212, 255, 0.12);
  border-color: rgba(0, 212, 255, 0.25);
  color: #00d4ff;
}

.testimonials-dots {
  display: flex;
  gap: 8px;
}

.testimonials-dots .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonials-dots .dot.active {
  background: #00d4ff;
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.4);
}

/* ====== CONTACT ====== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: center;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.info-item:hover {
  border-color: rgba(0, 212, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
}

.info-item span {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.95); text-shadow: 0 0 30px rgba(255,255,255,0.2);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  color: #ffffff;
  font-family: 'Cairo', 'Inter', sans-serif;
  font-size: 15px;
  transition: all 0.3s ease;
  outline: none;
}

body[data-lang="en"] .contact-form input,
body[data-lang="en"] .contact-form textarea {
  font-family: 'Inter', 'Cairo', sans-serif;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #00d4ff;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.08);
}

.contact-form button {
  padding: 16px 40px;
  background: #00d4ff;
  color: #000;
  border: none;
  border-radius: 14px;
  font-family: 'Cairo', 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.25);
}

body[data-lang="en"] .contact-form button {
  font-family: 'Inter', 'Cairo', sans-serif;
}

.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.45);
}

/* ====== FOOTER ====== */
.site-footer {
  position: relative;
  z-index: 10;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 60px 48px 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 0 20px rgba(255,255,255,0.2);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.75); text-shadow: 0 0 20px rgba(255,255,255,0.1);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.footer-col a:hover { color: #00d4ff; }

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  max-width: 1200px;
  margin: 0 auto;
}

.footer-bottom p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

/* ====== FLOATING ANIMATION ====== */
@keyframes floatUp {
  0% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0); }
}

.float-card {
  animation: floatUp 5s ease-in-out infinite;
}

.float-card:nth-child(2) { animation-delay: 0.5s; }
.float-card:nth-child(3) { animation-delay: 1s; }
.float-card:nth-child(4) { animation-delay: 1.5s; }
.float-card:nth-child(5) { animation-delay: 2s; }

.float-card.floating,
.float-card.dropped {
  animation: none !important;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
  .hero-section {
    padding: 120px 40px 80px;
    flex-direction: column;
    gap: 40px;
  }
  .hero-title { font-size: 42px; }
  .hero-side-card {
    width: 100%;
    max-width: 100%;
    min-width: auto;
  }
  .side-stats {
    flex-direction: row;
    justify-content: space-between;
  }
  .about-container { grid-template-columns: 1fr; gap: 40px; }
  .about-title { font-size: 32px; }
  .cards-grid.four,
  .cards-grid.three { grid-template-columns: repeat(2, 1fr); }
  .features-row { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: 1fr; }
  .contact-wrapper { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-side { justify-content: center; }
  .testimonials-card-side { width: 100%; max-width: 420px; }
}

@media (max-width: 768px) {
  .main-header { padding: 0 24px; height: 64px; }
  .main-nav { display: none; }
  .header-cta { padding: 8px 16px; font-size: 12px; }
  .hero-section { padding: 100px 24px 60px; }
  .hero-title { font-size: 32px; }
  .hero-subtitle { font-size: 15px; }
  .side-stats { flex-direction: column; }
  .about-section { padding: 60px 24px; }
  .about-main-row { grid-template-columns: 1fr; gap: 24px; }
  .about-title { font-size: 26px; text-align: center; }
  .about-title-col { justify-content: center; }
  .about-desc { text-align: center; font-size: 15px; }

  .about-top-row { justify-content: center; }
  .info-grid-section { padding: 0 24px 60px; }
  .cards-grid.four,
  .cards-grid.three { grid-template-columns: 1fr; }
  .features-row { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .process-steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
  .section-title { font-size: 26px; }
  .section-title.large { font-size: 28px; }
  .content-section { padding: 70px 24px; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .brightness-control { bottom: 16px; left: 16px; padding: 6px 10px; }
  .brightness-control input[type="range"] { width: 60px; }
  .float-reset-btn { bottom: 16px; right: 16px; width: 42px; height: 42px; }
}