/* =========================================
   SmartFlow AI — האתר האלקטרומכני של רונן
   Main Stylesheet — RTL Hebrew
   ========================================= */

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

:root {
  --primary:      #00e5ff;
  --primary-dark: #00b8d4;
  --accent:       #7c4dff;
  --accent2:      #00ff9d;
  --dark:         #040d1a;
  --dark2:        #071428;
  --dark3:        #0a1f3a;
  --card-bg:      rgba(10, 31, 58, 0.75);
  --card-border:  rgba(0, 229, 255, 0.15);
  --text:         #e2eaf5;
  --text-muted:   #7fa0c0;
  --white:        #ffffff;
  --grad1: linear-gradient(135deg, #00e5ff, #7c4dff);
  --grad2: linear-gradient(135deg, #040d1a 0%, #071428 100%);
  --shadow-glow: 0 0 40px rgba(0,229,255,0.25);
  --radius: 16px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  --font-main: 'Heebo', sans-serif;
  --font-tech: 'Orbitron', monospace;
}

html { scroll-behavior: smooth; }

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

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

/* ---- PARTICLES CANVAS ---- */
#particles-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.45;
}

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

/* =========================================
   NAVBAR
   ========================================= */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  background: rgba(4, 13, 26, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,229,255,0.08);
  transition: var(--transition);
}
#navbar.scrolled {
  background: rgba(4, 13, 26, 0.97);
  box-shadow: 0 2px 30px rgba(0,229,255,0.1);
}
.nav-container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo img {
  height: 44px;
  width: 44px;
  object-fit: contain;
  border-radius: 50%;
  border: 1.5px solid var(--primary);
  box-shadow: 0 0 12px rgba(0,229,255,0.35);
}
.nav-brand {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.nav-brand .highlight { color: var(--primary); font-family: var(--font-tech); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links li a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}
.nav-links li a:hover,
.nav-links li a.active {
  color: var(--primary);
  background: rgba(0,229,255,0.08);
}
.nav-links li a i { font-size: 0.8rem; }

.nav-cta {
  background: var(--grad1) !important;
  color: var(--dark) !important;
  font-weight: 700 !important;
  padding: 9px 18px !important;
  border-radius: 10px !important;
  box-shadow: 0 0 20px rgba(0,229,255,0.3);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 4px 30px rgba(0,229,255,0.5) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-main);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}
.btn-primary {
  background: var(--grad1);
  color: var(--dark);
  box-shadow: 0 4px 24px rgba(0,229,255,0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0,229,255,0.5); }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: rgba(0,229,255,0.1); transform: translateY(-3px); }

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.1); transform: translateY(-3px); }

.btn-white {
  background: var(--white);
  color: var(--dark);
  font-weight: 700;
}
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }

/* =========================================
   SECTION COMMON
   ========================================= */
section { position: relative; z-index: 1; padding: 90px 24px; }

.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header.light h2,
.section-header.light p { color: var(--white); }
.section-header.light p { color: rgba(255,255,255,0.7); }

.section-tag {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(0,229,255,0.1);
  border: 1px solid rgba(0,229,255,0.3);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}
.section-cta { text-align: center; margin-top: 50px; }

/* =========================================
   HERO
   ========================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 24px 80px;
  max-width: 1280px;
  margin: 0 auto;
  gap: 60px;
  position: relative;
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,229,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}
.hero-content { flex: 1; position: relative; z-index: 2; }
.hero-visual {
  flex: 0 0 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.25);
  border-radius: 50px;
  font-size: 0.82rem;
  color: var(--primary);
  margin-bottom: 28px;
  font-weight: 500;
}
.pulse-dot {
  width: 8px; height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse-anim 2s infinite;
}
@keyframes pulse-anim {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,229,255,0.5); }
  50%       { box-shadow: 0 0 0 8px rgba(0,229,255,0); }
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.18;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
}
.hero-title .line1, .hero-title .line3 { color: var(--white); }
.hero-title .line2 { font-family: var(--font-tech); }

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

.hero-sub {
  font-size: 1.08rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.9;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 50px; }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}
.stat { text-align: center; }
.stat-num {
  font-size: 2.2rem;
  font-weight: 900;
  font-family: var(--font-tech);
  color: var(--primary);
  line-height: 1;
}
.stat span { font-size: 1.4rem; font-weight: 700; color: var(--primary); }
.stat p { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.06em; }
.stat-divider { width: 1px; height: 50px; background: rgba(0,229,255,0.2); }

/* ---- LOGO ORBIT ---- */
.logo-orbit-wrapper {
  position: relative;
  width: 360px;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-logo-img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid rgba(0,229,255,0.4);
  box-shadow: 0 0 60px rgba(0,229,255,0.3), 0 0 120px rgba(124,77,255,0.2);
  z-index: 2;
  position: relative;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-16px); }
}

.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(0,229,255,0.2);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: orbit-spin linear infinite;
}
.orbit-1 { width: 260px; height: 260px; animation-duration: 8s; }
.orbit-2 { width: 320px; height: 320px; animation-duration: 12s; animation-direction: reverse; }
.orbit-3 { width: 360px; height: 360px; animation-duration: 18s; border-color: rgba(124,77,255,0.15); }

@keyframes orbit-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}
.orbit-dot {
  position: absolute;
  top: -4px; left: 50%;
  transform: translateX(-50%);
  width: 8px; height: 8px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary);
}
.orbit-2 .orbit-dot { background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.orbit-3 .orbit-dot { background: var(--accent2); box-shadow: 0 0 10px var(--accent2); }

/* =========================================
   SERVICES OVERVIEW
   ========================================= */
.services-overview {
  background: var(--dark2);
  max-width: 100%;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: var(--transition);
  backdrop-filter: blur(12px);
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 100%; height: 3px;
  background: var(--grad1);
  transform: scaleX(0);
  transform-origin: right;
  transition: var(--transition);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0,229,255,0.35);
  box-shadow: var(--shadow-glow);
}
.service-card.featured {
  border-color: rgba(0,229,255,0.4);
  background: rgba(0,229,255,0.06);
  box-shadow: 0 0 40px rgba(0,229,255,0.12);
}
.service-badge {
  position: absolute;
  top: 18px; left: 18px;
  background: var(--grad1);
  color: var(--dark);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-icon-wrap {
  position: relative;
  width: 60px; height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-icon-bg {
  position: absolute;
  inset: 0;
  background: var(--grad1);
  border-radius: 14px;
  opacity: 0.15;
  transition: var(--transition);
}
.service-card:hover .service-icon-bg { opacity: 0.3; }
.service-icon-wrap i {
  font-size: 1.6rem;
  color: var(--primary);
  position: relative;
  z-index: 1;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.8;
}
.service-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.service-features li {
  font-size: 0.85rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-features li i { color: var(--accent2); font-size: 0.75rem; }

.service-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.service-link:hover { gap: 10px; }

/* =========================================
   WHY US
   ========================================= */
.why-us {
  background: var(--dark3);
  overflow: hidden;
}
.why-bg-pattern {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(124,77,255,0.1) 0%, transparent 65%),
              radial-gradient(ellipse at 20% 50%, rgba(0,229,255,0.07) 0%, transparent 55%);
  pointer-events: none;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.why-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}
.why-card:hover {
  background: rgba(0,229,255,0.05);
  border-color: rgba(0,229,255,0.25);
  transform: translateY(-6px);
}
.why-icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  background: var(--grad1);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,229,255,0.3);
}
.why-icon i { font-size: 1.5rem; color: var(--dark); }
.why-card h4 { font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.why-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }

/* =========================================
   AI STRIP
   ========================================= */
.ai-strip {
  background: var(--grad1);
  padding: 60px 24px;
}
.ai-strip-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.ai-strip-icon {
  width: 72px; height: 72px;
  background: rgba(0,0,0,0.2);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ai-strip-icon i { font-size: 2rem; color: var(--white); }
.ai-strip-text { flex: 1; }
.ai-strip-text h3 { font-size: 1.35rem; font-weight: 800; color: var(--dark); margin-bottom: 6px; }
.ai-strip-text p { font-size: 0.92rem; color: rgba(4,13,26,0.75); }
.ai-strip .btn-white { flex-shrink: 0; }

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials { background: var(--dark2); }

.testimonials-slider {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  min-height: 240px;
}
.testimonial-card {
  display: none;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  backdrop-filter: blur(12px);
  animation: fadeInCard 0.5s ease;
}
.testimonial-card.active { display: block; }

@keyframes fadeInCard {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.stars { margin-bottom: 18px; }
.stars i { color: #ffd700; font-size: 1rem; }

.testimonial-card > p {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.author-avatar i { font-size: 2.8rem; color: var(--primary); opacity: 0.7; }
.testimonial-author strong { display: block; color: var(--white); font-size: 0.95rem; }
.testimonial-author span { font-size: 0.8rem; color: var(--text-muted); }

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: var(--transition);
}
.dot.active { background: var(--primary); box-shadow: 0 0 8px var(--primary); }

/* =========================================
   CTA SECTION
   ========================================= */
.cta-section {
  background: var(--dark3);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(0,229,255,0.08) 0%, transparent 70%);
}
.cta-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.cta-content h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; color: var(--white); margin-bottom: 16px; }
.cta-content p { font-size: 1.05rem; color: var(--text-muted); margin-bottom: 40px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: #020a15;
  border-top: 1px solid rgba(0,229,255,0.08);
  padding: 60px 24px 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-brand img { width: 60px; height: 60px; object-fit: contain; border-radius: 50%; border: 1.5px solid rgba(0,229,255,0.3); }
.footer-brand p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }
.footer-brand p span { color: var(--primary); font-family: var(--font-tech); font-size: 0.82rem; }

.footer h4 { font-size: 0.9rem; font-weight: 700; color: var(--white); margin-bottom: 18px; text-transform: uppercase; letter-spacing: 0.05em; }
.footer ul { display: flex; flex-direction: column; gap: 10px; }
.footer ul li a {
  font-size: 0.87rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.footer ul li a i { font-size: 0.7rem; color: var(--primary); }
.footer ul li a:hover { color: var(--primary); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  flex-wrap: wrap;
  gap: 10px;
}

/* =========================================
   AOS — SCROLL ANIMATIONS
   ========================================= */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-aos].aos-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   PAGE INNER — SERVICES / ABOUT / CONTACT
   ========================================= */
.page-hero {
  padding: 130px 24px 80px;
  text-align: center;
  background: var(--dark2);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 60%, rgba(0,229,255,0.08) 0%, transparent 65%);
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 900; color: var(--white); margin-bottom: 14px; position: relative; z-index: 1; }
.page-hero p { font-size: 1.05rem; color: var(--text-muted); max-width: 560px; margin: 0 auto; position: relative; z-index: 1; }

/* ---- SERVICE DETAIL CARDS ---- */
.services-detail {
  max-width: 1200px;
  margin: 0 auto;
}
.service-detail-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  padding: 50px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  margin-bottom: 30px;
  transition: var(--transition);
  backdrop-filter: blur(12px);
}
.service-detail-card:hover { border-color: rgba(0,229,255,0.3); box-shadow: var(--shadow-glow); }
.service-detail-card.reverse { direction: ltr; }
.service-detail-card.reverse .sdc-text { direction: rtl; }

.sdc-icon-big {
  width: 100px; height: 100px;
  background: var(--grad1);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 12px 36px rgba(0,229,255,0.3);
}
.sdc-icon-big i { font-size: 2.8rem; color: var(--dark); }

.sdc-text h2 { font-size: 1.6rem; font-weight: 800; color: var(--white); margin-bottom: 14px; }
.sdc-text p  { font-size: 0.92rem; color: var(--text-muted); line-height: 1.9; margin-bottom: 20px; }
.sdc-list    { display: flex; flex-direction: column; gap: 10px; }
.sdc-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.9rem; color: var(--text);
}
.sdc-list li i { color: var(--accent2); font-size: 0.8rem; }

.sdc-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.sdc-visual-box {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: rgba(0,229,255,0.04);
  border: 1px dashed rgba(0,229,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sdc-visual-box i { font-size: 6rem; color: rgba(0,229,255,0.15); }

/* ---- ABOUT PAGE ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto 80px;
}
.about-photo {
  position: relative;
}
.about-photo-frame {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.about-photo-frame i { font-size: 10rem; color: rgba(0,229,255,0.15); }
.about-photo-badge {
  position: absolute;
  bottom: -20px; right: 20px;
  background: var(--grad1);
  color: var(--dark);
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 8px 24px rgba(0,229,255,0.35);
}

.about-text h2 { font-size: 2rem; font-weight: 900; color: var(--white); margin-bottom: 18px; }
.about-text p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.9; margin-bottom: 16px; }

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.skill-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 22px;
  transition: var(--transition);
}
.skill-item:hover { border-color: rgba(0,229,255,0.3); }
.skill-label { display: flex; justify-content: space-between; font-size: 0.88rem; color: var(--text); margin-bottom: 10px; }
.skill-bar { height: 6px; background: rgba(255,255,255,0.07); border-radius: 3px; overflow: hidden; }
.skill-fill { height: 100%; background: var(--grad1); border-radius: 3px; width: 0; transition: width 1.5s cubic-bezier(0.4,0,0.2,1); }

/* ---- CONTACT PAGE ---- */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 50px;
  max-width: 1100px;
  margin: 0 auto;
}
.contact-info { display: flex; flex-direction: column; gap: 24px; }

.contact-info-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: var(--transition);
}
.contact-info-card:hover { border-color: rgba(0,229,255,0.3); transform: translateX(-6px); }
.contact-info-icon {
  width: 52px; height: 52px;
  background: var(--grad1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon i { font-size: 1.2rem; color: var(--dark); }
.contact-info-text h4 { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 4px; }
.contact-info-text a,
.contact-info-text span { font-size: 1rem; font-weight: 600; color: var(--white); transition: var(--transition); }
.contact-info-text a:hover { color: var(--primary); }

.contact-form {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(12px);
}
.contact-form h3 { font-size: 1.4rem; font-weight: 800; color: var(--white); margin-bottom: 28px; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-muted); margin-bottom: 8px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--white);
  font-family: var(--font-main);
  font-size: 0.92rem;
  transition: var(--transition);
  direction: rtl;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(0,229,255,0.04);
  box-shadow: 0 0 0 3px rgba(0,229,255,0.1);
}
.form-group textarea { resize: vertical; min-height: 130px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-submit {
  width: 100%;
  background: var(--grad1);
  color: var(--dark);
  font-size: 1rem;
  font-weight: 700;
  padding: 15px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.form-submit:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0,229,255,0.4); }

.form-success {
  display: none;
  text-align: center;
  padding: 30px;
  color: var(--accent2);
}
.form-success i { font-size: 3rem; margin-bottom: 14px; }
.form-success h4 { font-size: 1.2rem; color: var(--white); margin-bottom: 8px; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .hero { flex-direction: column-reverse; text-align: center; padding-top: 110px; }
  .hero-content { display: flex; flex-direction: column; align-items: center; }
  .hero-sub { text-align: center; }
  .hero-btns { justify-content: center; }
  .hero-visual { flex: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .service-detail-card { grid-template-columns: 1fr; padding: 36px; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-wrapper { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: rgba(4,13,26,0.97);
    padding: 20px;
    border-bottom: 1px solid rgba(0,229,255,0.1);
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-links li a { padding: 12px 16px; font-size: 1rem; }

  .logo-orbit-wrapper { width: 260px; height: 260px; }
  .hero-logo-img { width: 140px; height: 140px; }
  .orbit-1 { width: 180px; height: 180px; }
  .orbit-2 { width: 220px; height: 220px; }
  .orbit-3 { width: 260px; height: 260px; }

  .hero-stats { gap: 16px; }
  .stat-num { font-size: 1.8rem; }

  .why-grid { grid-template-columns: 1fr 1fr; }
  .ai-strip-inner { flex-direction: column; text-align: center; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .cta-btns { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  section { padding: 60px 16px; }
  .why-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 12px; }
  .stat-divider { display: none; }
}
