/* ORBITA Corporate Website - Dark Futuristic Theme */
/* Color Palette: #0B0F1A (background), #00D1FF (cyan/primary), #6CFF00 (green/secondary) */

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

/* CSS Variables */
:root {
  --bg-dark: #0B0F1A;
  --bg-dark-secondary: #111827;
  --primary: #00D1FF;
  --secondary: #6CFF00;
  --text-white: #FFFFFF;
  --text-gray-300: #D1D5DB;
  --text-gray-400: #9CA3AF;
  --text-gray-500: #6B7280;
  --border-cyan: rgba(0, 209, 255, 0.2);
  --border-cyan-strong: rgba(0, 209, 255, 0.3);
  --glow-cyan: rgba(0, 209, 255, 0.3);
  --glow-green: rgba(108, 255, 0, 0.3);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Cairo', 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-white);
  line-height: 1.6;
  min-height: 100vh;
}

body.rtl {
  direction: rtl;
  text-align: right;
}

body.ltr {
  direction: ltr;
  text-align: left;
}

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

ul {
  list-style: none;
}

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

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: rgba(11, 15, 26, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-cyan);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  padding: 0 1.5rem;
}

.nav-logo img {
  height: 48px;
  width: auto;
}

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

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-gray-300);
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--secondary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: transparent;
  border: none;
  color: var(--text-gray-300);
  font-size: 0.875rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.lang-toggle:hover {
  color: var(--primary);
}

/* Mobile Navigation */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-gray-300);
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border-cyan);
  padding: 1.5rem;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu .nav-link {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
}

.mobile-menu .nav-link:hover {
  background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
  .nav-links,
  .nav-actions {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .mobile-lang-toggle {
    display: flex;
    margin-bottom: 1rem;
  }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0, 209, 255, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

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

.hero-subtitle {
  font-size: clamp(1rem, 3vw, 1.5rem);
  color: var(--text-gray-300);
  max-width: 800px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  padding-top: 2rem;
}

@media (min-width: 640px) {
  .hero-cta {
    flex-direction: row;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background: var(--secondary);
  color: #000;
  box-shadow: 0 0 20px var(--glow-green);
}

.btn-primary:hover {
  box-shadow: 0 0 30px rgba(108, 255, 0, 0.6);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: rgba(0, 209, 255, 0.1);
}

.btn-ghost {
  background: transparent;
  color: var(--primary);
}

.btn-ghost:hover {
  color: var(--secondary);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  height: 56px;
}

/* Trust Strip */
.trust-strip {
  position: relative;
  padding: 3rem 1.5rem;
  border-top: 1px solid var(--border-cyan-strong);
  border-bottom: 1px solid var(--border-cyan-strong);
}

.trust-text {
  text-align: center;
  margin-bottom: 2.5rem;
}

.trust-text p {
  font-size: 1.125rem;
  color: #BFC7D5;
  font-weight: 500;
  letter-spacing: 0.025em;
}

.trust-logos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: center;
  justify-items: center;
}

@media (min-width: 640px) {
  .trust-logos {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .trust-logos {
    grid-template-columns: repeat(6, 1fr);
  }
}

.trust-logo {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  padding: 0.75rem;
  border: 1px solid var(--border-cyan);
  backdrop-filter: blur(4px);
}

.trust-logo img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.trust-logo:hover img {
  opacity: 1;
}

/* Services Section */
.services {
  padding: 6rem 1.5rem;
  border-top: 1px solid rgba(75, 85, 99, 0.5);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 1rem;
}

.section-divider {
  width: 4rem;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  margin: 0 auto;
  border-radius: 2px;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid rgba(75, 85, 99, 0.5);
  background: rgba(17, 24, 39, 0.5);
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: rgba(0, 209, 255, 0.5);
  background: rgba(17, 24, 39, 0.8);
}

.service-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, rgba(0, 209, 255, 0.2), rgba(108, 255, 0, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.service-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.875rem;
  color: var(--text-gray-400);
  line-height: 1.7;
}

.services-cta {
  text-align: center;
  margin-top: 3rem;
}

/* CTA Section */
.cta-section {
  padding: 5rem 1.5rem;
  border-top: 1px solid rgba(75, 85, 99, 0.5);
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 0;
}

.cta-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 1.5rem;
}

.cta-text {
  font-size: 1.125rem;
  color: var(--text-gray-300);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta-btn {
  background: linear-gradient(90deg, #a3e635, #22c55e);
  color: #000;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(108, 255, 0, 0.3);
}

.cta-btn:hover {
  background: linear-gradient(90deg, #bef264, #4ade80);
}

/* Footer */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-cyan);
  padding: 3rem 1.5rem;
}

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

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.footer-logo {
  width: 2.5rem;
  height: 2.5rem;
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.125rem;
}

.footer-brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-white);
}

.footer-desc {
  color: var(--text-gray-400);
  max-width: 400px;
  line-height: 1.7;
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-link {
  color: var(--text-gray-400);
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--secondary);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-gray-400);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(0, 209, 255, 0.1);
  margin-top: 3rem;
  padding-top: 2rem;
  text-align: center;
}

.footer-copyright {
  color: var(--text-gray-500);
  font-size: 0.75rem;
}

/* About Page */
.page-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
  padding-top: 5rem;
}

.page-title {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 1.25rem;
  color: var(--text-gray-400);
  line-height: 1.7;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 6rem;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.about-card {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  border: 1px solid var(--border-cyan);
  backdrop-filter: blur(4px);
}

.about-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-icon.primary {
  background: rgba(0, 209, 255, 0.1);
  color: var(--primary);
}

.about-icon.secondary {
  background: rgba(108, 255, 0, 0.1);
  color: var(--secondary);
}

.about-icon svg {
  width: 2rem;
  height: 2rem;
}

.about-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 1rem;
}

.about-card-text {
  color: var(--text-gray-400);
  line-height: 1.7;
}

/* Contact Page */
.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 6rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-cyan);
  border-radius: 1.5rem;
  overflow: hidden;
  backdrop-filter: blur(4px);
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info {
  background: rgba(0, 209, 255, 0.1);
  padding: 3rem;
  border-right: 1px solid var(--border-cyan);
}

.contact-info-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-item-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  flex-shrink: 0;
}

.contact-item-title {
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.25rem;
}

.contact-item-text {
  color: var(--text-gray-400);
  font-size: 0.875rem;
}

.contact-form {
  padding: 3rem;
}

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

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-gray-300);
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  color: var(--text-white);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
}

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

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

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-submit {
  width: 100%;
  background: var(--secondary);
  color: #000;
  font-weight: 700;
  padding: 1rem;
  font-size: 1.125rem;
}

.form-submit:hover {
  background: #5ED400;
}

/* Services Page */
.services-page {
  padding: 2rem 1.5rem 6rem;
}

.services-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .services-page-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-page-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* Utility Classes */
.text-center { text-align: center; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-8 { margin-top: 2rem; }
.hidden { display: none; }

@media (min-width: 768px) {
  .md-flex { display: flex; }
  .md-hidden { display: none; }
}
