@import url("https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700&display=swap");

:root {
  --brand-primary: #0f1e2e;
  --brand-secondary: #1f3a56;
  --brand-accent: #c7a250;
  --brand-dark: #0b1220;
  --brand-light: #f8f9fa;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Tajawal", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  direction: rtl;
  text-align: right;
  background-color: var(--brand-light);
  color: var(--brand-dark);
}

a {
  text-decoration: none;
}

.navbar {
  border-bottom: 1px solid #eee;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--brand-primary);
  font-weight: 700;
}

.brand-mark {
  width: 36px;
  height: 36px;
}

.btn-brand {
  background-color: var(--brand-accent);
  color: var(--brand-dark);
  border: 0;
}

.btn-brand:hover {
  background-color: #b8923f;
  color: var(--brand-dark);
}

.hero {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  color: #fff;
  padding: 96px 0 72px 0;
}

.hero-carousel .carousel-item {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  color: #fff;
  padding: 96px 0 72px 0;
}

.hero-carousel .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.6);
}

.hero-carousel .carousel-indicators .active {
  background-color: var(--brand-accent);
}

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
  filter: invert(1);
}

.animate {
  opacity: 0;
  transform: translateY(14px);
  transition: all 0.6s ease;
}

.delay-1 {
  transition-delay: 0.15s;
}

.delay-2 {
  transition-delay: 0.3s;
}

.hero-carousel .carousel-item.active .animate {
  opacity: 1;
  transform: translateY(0);
}

.hero .lead {
  font-size: 1.15rem;
  opacity: 0.95;
}

.section-title {
  color: var(--brand-primary);
  font-weight: 700;
}

.service-card {
  border: 1px solid #eee;
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.service-card .card-media {
  position: relative;
}
.service-card .card-media img {
  display: block;
  width: 100%;
  border-radius: 8px;
}
.whatsapp-fab {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #25d366;
  color: #0b1220;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  z-index: 1;
}
.whatsapp-fab:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.24);
}

.badge-brand {
  background-color: var(--brand-accent);
  color: var(--brand-dark);
}

.features-list li {
  margin-bottom: 8px;
}

.testimonial-card {
  border: 1px solid #eee;
  border-radius: 12px;
  background-color: #fff;
}

.cta-strip {
  background-color: var(--brand-secondary);
  color: #fff;
  padding: 32px 0;
  border-radius: 12px;
}

.footer {
  background-color: var(--brand-primary);
  color: #fff;
  padding: 24px 0;
  position: relative;
  overflow: hidden;
}

.footer a {
  color: #fff;
}
 
.footer-title {
  font-weight: 700;
  margin-bottom: 12px;
}
.footer .container {
  position: relative;
  z-index: 1;
}
.footer-links a {
  display: block;
  margin-bottom: 8px;
  opacity: 0.9;
}
.footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
}
.social-list {
  display: flex;
  gap: 12px;
}
.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--brand-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
}
.social-link:hover {
  background-color: var(--brand-accent);
  color: var(--brand-dark);
}

.contact-card {
  border: 1px solid #eee;
  border-radius: 12px;
}

.map-wrapper {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eee;
}

.form-label {
  font-weight: 600;
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #25d366;
  color: #0b1220;
  padding: 8px 12px;
  border-radius: 999px;
}

.page-header {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  color: #fff;
  padding: 48px 0;
  border-bottom: 0;
  position: relative;
  overflow: hidden;
}

.page-header h1 {
  color: #fff;
  font-weight: 800;
}

.page-header .text-muted {
  color: rgba(255, 255, 255, 0.85) !important;
}
 
.page-header .container {
  position: relative;
  z-index: 1;
}

.steps {
  counter-reset: step;
}

.steps .step {
  position: relative;
  padding-right: 44px;
  margin-bottom: 24px;
}

.steps .step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  right: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--brand-accent);
  color: var(--brand-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.steps .step-title {
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--brand-primary);
}

.steps .step-desc {
  color: #444;
}

.faq-item {
  border-bottom: 1px solid #eee;
  padding: 16px 0;
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-question {
  font-weight: 700;
  color: var(--brand-primary);
}

.faq-answer {
  color: #444;
}
 
.hide-text * {
  visibility: hidden;
}

.testimonial-vert {
  height: 180px;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: testimonialsScroll 18s linear infinite;
}

.testimonial-item + .testimonial-item {
  border-top: 1px solid #eee;
  padding-top: 12px;
  margin-top: 0;
}

@keyframes testimonialsScroll {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

.article {
  max-width: 820px;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}
.article-content h2 {
  color: var(--brand-primary);
  font-weight: 700;
}
.article-content p {
  color: #222;
}

.clients-section {
  padding: 48px 0;
}
.clients-marquee {
  overflow: hidden;
}
.clients-track {
  display: flex;
  gap: 24px;
  animation: clientsScroll 36s linear infinite;
}
.clients-marquee:hover .clients-track {
  animation-play-state: paused;
}
.client-badge {
  min-width: 160px;
  height: 64px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
  font-weight: 700;
  opacity: 0.85;
  transition: all 0.2s ease;
}
.client-badge:hover {
  opacity: 1;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}
.client-logo {
  max-height: 36px;
  width: auto;
  filter: grayscale(1);
  transition: filter 0.2s ease;
}
.client-badge:hover .client-logo {
  filter: grayscale(0);
}
 
.hero-carousel {
  position: relative;
  overflow: hidden;
}
.hero-particles {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.footer-particles {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.hero-polygons {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.hero-polygons .poly {
  opacity: 0.2;
  transform-origin: 50% 50%;
  will-change: transform;
}
.hero-polygons .poly-1 {
  animation: float1 16s ease-in-out infinite alternate;
}
.hero-polygons .poly-2 {
  animation: float2 20s ease-in-out infinite alternate;
}
.hero-polygons .poly-3 {
  animation: float3 18s ease-in-out infinite alternate;
}
.hero-polygons .poly-4 {
  animation: float4 22s ease-in-out infinite alternate;
}
.hero-polygons .poly-5 {
  animation: float5 24s ease-in-out infinite alternate;
}
.hero-polygons .poly-6 {
  animation: float6 26s ease-in-out infinite alternate;
}
.hero-polygons .poly-7 {
  animation: float7 23s ease-in-out infinite alternate;
}
.hero-polygons .poly-8 {
  animation: float8 25s ease-in-out infinite alternate;
}
@keyframes float1 {
  0% { transform: translateY(0); }
  100% { transform: translateY(-16px); }
}
@keyframes float2 {
  0% { transform: translateY(0); }
  100% { transform: translateY(-12px); }
}
@keyframes float3 {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}
@keyframes float4 {
  0% { transform: translateY(0); }
  100% { transform: translateY(-14px); }
}
@keyframes float5 {
  0% { transform: translateY(0) translateX(0); }
  100% { transform: translateY(-12px) translateX(4px); }
}
@keyframes float6 {
  0% { transform: translateY(0) translateX(0); }
  100% { transform: translateY(-10px) translateX(-4px); }
}
@keyframes float7 {
  0% { transform: translateY(0) translateX(0); }
  100% { transform: translateY(-8px) translateX(3px); }
}
@keyframes float8 {
  0% { transform: translateY(0) translateX(0); }
  100% { transform: translateY(-9px) translateX(-3px); }
}
.hero-carousel .carousel-inner {
  position: relative;
  z-index: 1;
}
@media (max-width: 768px) {
  .hero-polygons .poly-3,
  .hero-polygons .poly-4 {
    display: none;
  }
  .hero-polygons .poly {
    opacity: 0.12;
  }
}
@keyframes clientsScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.solutions-section {
  background-color: transparent;
}
.solutions-tabs .nav-link {
  border-radius: 999px;
  background-color: #fff;
  border: 1px solid #eee;
  color: var(--brand-primary);
  padding: 8px 16px;
  margin: 0 6px;
}
.solutions-tabs .nav-link.active {
  background-color: var(--brand-accent);
  border-color: var(--brand-accent);
  color: var(--brand-dark);
}
.solutions-card {
  border: 1px solid #eee;
  border-radius: 12px;
  background-color: #fff;
  padding: 16px;
}
.solutions-card .icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background-color: var(--brand-light);
  color: var(--brand-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  font-size: 18px;
}
.solutions-card .icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}
