:root {
  --primary-gradient: linear-gradient(135deg, #4facfe 0%, #667eea 100%);
  --secondary-gradient: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
  --accent-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --accent-color: #4facfe;
  --dark-bg: #0a0e1a;
  --card-bg: rgba(15, 20, 35, 0.95);
  --text-light: #e8ecff;
}

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

body {
  font-family: "Inter", sans-serif;
  background: var(--dark-bg);
  color: var(--text-light);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Space Grotesk", sans-serif;
}

/* Navbar */
.navbar {
  background: rgba(10, 14, 26, 0.95);
  backdrop-filter: blur(14px);
  padding: 1rem 0;
  box-shadow: 0 2px 20px rgba(79, 172, 254, 0.15);
}
.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.navbar .logo {
  height: 55px;
  border: 1px solid #fff;
}
.nav-link {
  color: var(--text-light) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s;
}
.nav-link:hover {
  color: #4facfe !important;
}

/* Background sections */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 100px;
  background-image: linear-gradient(
      135deg,
      rgba(10, 14, 30, 0.88),
      rgba(15, 20, 40, 0.92)
    ),
    url("https://images.pexels.com/photos/1181675/pexels-photo-1181675.jpeg?auto=compress&cs=tinysrgb&w=1600");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.solutions-section {
  padding: 100px 0;
  position: relative;
  background: radial-gradient(circle at top, #1a2344, #0a0e1a);
}
.industries-section {
  padding: 100px 0;
  position: relative;
  background-image: linear-gradient(
      135deg,
      rgba(8, 12, 25, 0.97),
      rgba(15, 20, 50, 0.96)
    ),
    url("https://images.pexels.com/photos/373543/pexels-photo-373543.jpeg?auto=compress&cs=tinysrgb&w=1600");
  background-size: cover;
  background-position: center;
}
.contact-section {
  padding: 100px 0;
  position: relative;
  background-image: linear-gradient(
      135deg,
      rgba(10, 15, 32, 0.97),
      rgba(18, 25, 55, 0.95)
    ),
    url("https://images.pexels.com/photos/5380642/pexels-photo-5380642.jpeg?auto=compress&cs=tinysrgb&w=1600");
  background-size: cover;
  background-position: center;
}

/* Glows */
.hero-section::before,
.industries-section::before,
.contact-section::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(79, 172, 254, 0.25) 0%,
    transparent 70%
  );
  top: -200px;
  right: -200px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hero-section::after,
.industries-section::after,
.contact-section::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(102, 126, 234, 0.22) 0%,
    transparent 70%
  );
  bottom: -150px;
  left: -150px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.hero-content,
.hero-image,
.section-inner {
  position: relative;
  z-index: 1;
}
.hero-image {
  animation: float 6s ease-in-out infinite;
}

.hero-title {
  font-size: 3.3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}
.gradient-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 1.2rem;
  color: #c8d2f5;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.btn-primary-custom {
  background: var(--primary-gradient);
  border: none;
  padding: 12px 32px;
  font-weight: 600;
  border-radius: 999px;
  transition: transform 0.3s, box-shadow 0.3s;
  color: white;
}
.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(79, 172, 254, 0.6);
}
.btn-outline-custom {
  border: 2px solid #4facfe;
  color: #4facfe;
  padding: 10px 32px;
  font-weight: 600;
  border-radius: 999px;
  background: transparent;
  transition: all 0.3s;
}
.btn-outline-custom:hover {
  background: #4facfe;
  color: white;
  transform: translateY(-2px);
}

.section-title {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
}
.section-subtitle {
  text-align: center;
  color: #cbd5ff;
  font-size: 1.05rem;
  margin-bottom: 3.5rem;
}

.bg-pattern {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  background-image: linear-gradient(
      rgba(79, 172, 254, 0.1) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(79, 172, 254, 0.1) 1px, transparent 1px);
  background-size: 55px 55px;
  pointer-events: none;
  top: 0;
  left: 0;
  z-index: 0;
}

/* Services */
.services-section {
  padding: 100px 0;
  background: radial-gradient(circle at top, #1a2344, #0a0e1a);
  position: relative;
}
.service-card {
  background: var(--card-bg);
  border-radius: 18px;
  padding: 2rem;
  height: 100%;
  border: 1px solid rgba(79, 172, 254, 0.25);
  transition: all 0.3s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}
.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(79, 172, 254, 0.7);
  box-shadow: 0 18px 45px rgba(79, 172, 254, 0.5);
}
.service-icon {
  font-size: 3rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
}
.service-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.service-description {
  color: #c8d2f5;
  line-height: 1.6;
}

/* Solution Cards with Images */
.solution-card {
  background: rgba(15, 22, 42, 0.96);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(79, 172, 254, 0.25);
  transition: all 0.3s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  height: 100%;
}
.solution-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 45px rgba(79, 172, 254, 0.5);
  border-color: rgba(79, 172, 254, 0.6);
}
.solution-card-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #1a2344 0%, #0f1628 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.solution-card-image img,
.solution-card-image svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.solution-card-content {
  padding: 1.5rem;
}
.solution-card-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #4facfe;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.solution-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}
.solution-list li {
  padding: 0.35rem 0;
  color: #dde3ff;
  font-size: 0.95rem;
}
.solution-list li::before {
  content: "•";
  color: #4facfe;
  margin-right: 0.5rem;
  font-weight: bold;
}

.solution-category-header {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Industries */
.industry-badge {
  background: rgba(79, 172, 254, 0.12);
  border: 1px solid rgba(79, 172, 254, 0.4);
  border-radius: 999px;
  padding: 12px 24px;
  display: inline-block;
  margin: 0.5rem;
  font-weight: 500;
  transition: all 0.3s;
}
.industry-badge:hover {
  background: rgba(79, 172, 254, 0.25);
  transform: scale(1.05);
}
.industries-graphics {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.industry-graphic {
  width: 150px;
  height: 150px;
  background: rgba(8, 12, 28, 0.9);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(79, 172, 254, 0.2);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
  transition: all 0.3s;
}
.industry-graphic:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 18px 40px rgba(79, 172, 254, 0.6);
}

/* Team */
.team-section {
  padding: 100px 0;
  background: radial-gradient(circle at top, #1e2848, #0a0e1a);
}
.team-location {
  display: inline-block;
  margin: 1rem;
  padding: 1rem 2rem;
  background: rgba(15, 22, 42, 0.96);
  border-radius: 14px;
  border: 1px solid rgba(79, 172, 254, 0.4);
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s;
}
.team-location:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 35px rgba(79, 172, 254, 0.5);
}
.team-location i {
  color: #4facfe;
  margin-right: 0.5rem;
}

/* Contact */
.contact-card {
  background: rgba(10, 15, 35, 0.93);
  border: 1px solid rgba(102, 126, 234, 0.5);
  border-radius: 18px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
  backdrop-filter: blur(8px);
}
.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 45px rgba(102, 126, 234, 0.6);
}
.contact-icon {
  font-size: 2.5rem;
  color: #667eea;
  margin-bottom: 1rem;
}
.contact-info {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}
.contact-info a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s;
}
.contact-info a:hover {
  color: #4facfe;
}

.contact-form-card {
  background: rgba(8, 12, 30, 0.96);
  border-radius: 18px;
  padding: 2rem;
  border: 1px solid rgba(79, 172, 254, 0.3);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.7);
}
.contact-form-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}
.form-label {
  font-weight: 500;
  color: #dde3ff;
}
.form-control,
.form-select {
  background: rgba(5, 8, 22, 0.95);
  border: 1px solid rgba(79, 172, 254, 0.25);
  color: #dde3ff;
}
.form-control:focus,
.form-select:focus {
  border-color: #4facfe;
  box-shadow: 0 0 0 0.2rem rgba(79, 172, 254, 0.3);
  background: rgba(5, 8, 22, 0.98);
  color: #ffffff;
}
.form-control::placeholder {
  color: #7b8fc9;
}
.btn-submit {
  background: var(--accent-gradient);
  border: none;
  padding: 0.7rem 1.8rem;
  font-weight: 600;
  border-radius: 999px;
  color: white;
  transition: transform 0.25s, box-shadow 0.25s;
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.6);
}

/* Footer */
footer {
  background: #080c18;
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid rgba(79, 172, 254, 0.15);
  color: #9ba5c5;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.4rem;
  }
  .hero-subtitle {
    font-size: 1.05rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .hero-image {
    margin-top: 2rem;
  }
}

/* About Us Section Styles */
.about-section {
  padding: 100px 0;
  background: radial-gradient(circle at top, #1a2344, #0a0e1a);
  position: relative;
}

.about-content {
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  text-align: justify;
  color: rgba(255, 255, 255, 0.9);
}

.about-content strong {
  color: #667eea;
  font-weight: 600;
}

/* Footer Styles */
footer {
  padding: 2rem 0;
  background: #0a0e1a;
  border-top: 1px solid rgba(102, 126, 234, 0.2);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Social Media Links Styles */
.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
  transition: all 0.3s ease;
  border: 1px solid rgba(102, 126, 234, 0.3);
}

.social-links a:hover {
  background: #667eea;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.social-links .bi {
  font-size: 30px;
  line-height: 1;
}

@media (max-width: 768px) {
  .footer-content {
    text-align: center;
  }

  .social-links {
    margin-top: 0.5rem;
  }
}


/* ===================================
   RTL Support for Arabic Version
   =================================== */

html[dir="rtl"] body {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .navbar-nav {
    margin-left: 0 !important;
    margin-right: auto !important;
}

html[dir="rtl"] .nav-link {
    margin: 0 0 0 0.5rem;
}

html[dir="rtl"] .d-flex.gap-3 {
    flex-direction: row-reverse;
}

html[dir="rtl"] .solution-list li::before {
    margin-right: 0;
    margin-left: 0.5rem;
}

html[dir="rtl"] .team-location i {
    margin-right: 0;
    margin-left: 0.5rem;
}
/*
html[dir="rtl"] .solution-card-title {
    flex-direction: row-reverse;
}*/

html[dir="rtl"] .about-content p {
    text-align: right;
}

html[dir="rtl"] .form-label,
html[dir="rtl"] .form-control,
html[dir="rtl"] .form-select,
html[dir="rtl"] textarea {
    text-align: right;
}

html[dir="rtl"] .social-links .bi {
    direction: ltr;
}

html[dir="rtl"] .hero-content {
    text-align: right;
}

html[dir="rtl"] .section-title,
html[dir="rtl"] .section-subtitle {
    text-align: center;
}

html[dir="rtl"] .service-description {
    text-align: right;
}
