:root {
   --brand-light: #fbb03b;
   --brand: #f7931e;
   --brand-dark: #f15a24;
   --brand-deep: #c73f1b;
   --surface: #ffffff;
   --surface-muted: rgba(255, 255, 255, 0.75);
   --text-dark: #0f172a;
   --text-muted: #64748b;
 }

body {
  font-family: 'Cairo', 'Poppins', sans-serif;
  background: #f8fafc;
  color: var(--text-dark);
  scroll-behavior: smooth;
  padding-top: 82px;
}

html,
body {
  overflow-x: hidden;
}

.top-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(135deg, rgba(247, 147, 30, 0.9), rgba(193, 63, 23, 0.9));
}

 .navbar .nav-link {
   color: #f8fafc !important;
   font-weight: 600;
   transition: opacity 0.3s ease, transform 0.3s ease;
 }

 .navbar .nav-link:hover,
 .navbar .nav-link.active {
   opacity: 1;
   transform: translateY(-2px);
 }

 .navbar .nav-link {
   opacity: 0.7;
 }

.lang-switcher {
  min-width: 140px;
  font-weight: 700;
  border-radius: 999px;
  padding-inline: 20px;
  background: #fff;
  color: var(--brand-dark);
  border: none;
  box-shadow: 0 12px 24px -18px rgba(0, 0, 0, 0.6);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lang-switcher:hover,
.lang-switcher:focus {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px -16px rgba(0, 0, 0, 0.55);
}

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

 .hero-section {
   min-height: 100vh;
   background: radial-gradient(circle at top left, rgba(247, 147, 30, 0.18), transparent 50%),
     radial-gradient(circle at bottom right, rgba(193, 63, 23, 0.22), transparent 55%), #0f172a;
   color: #fff;
 }

 .hero-overlay {
   background: linear-gradient(135deg, rgba(247, 147, 30, 0.55), rgba(193, 63, 23, 0.65));
   z-index: 1;
 }

 .hero-section .container {
   position: relative;
   z-index: 2;
 }

 .brand-gradient {
   background: linear-gradient(135deg, var(--brand), var(--brand-dark));
   color: #fff;
 }

 .brand-badge {
   background: rgba(255, 255, 255, 0.12);
   color: #fff;
   font-weight: 600;
   letter-spacing: 0.04em;
 }

 .text-brand {
   color: var(--brand-dark) !important;
 }

 .btn-brand {
   background: linear-gradient(135deg, var(--brand), var(--brand-dark));
   color: #fff;
   border: none;
 }

 .btn-brand:hover {
   background: linear-gradient(135deg, var(--brand-dark), var(--brand));
   color: #fff;
 }

.hero-gallery {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  overflow: hidden;
}

.hero-illustration {
  width: 100%;
  height: clamp(320px, 55vh, 460px);
  object-fit: cover;
  display: block;
}

 .section-padding {
   padding: 100px 0;
 }

@media (max-width: 991px) {
  .section-padding {
    padding: 70px 0;
  }

  .process-row,
  .process-row.reverse {
    flex-direction: column;
  }

  .process-media img {
    min-height: 220px;
  }
}

@media (max-width: 767px) {
  body {
    padding-top: 120px;
  }

  .top-banner .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  .lang-switcher {
    width: 100%;
    max-width: 220px;
  }

  .hero-section {
    min-height: auto;
    padding-top: 32px;
  }

  .hero-section .row {
    flex-direction: column-reverse;
    text-align: center;
    gap: 24px;
  }

  .hero-illustration {
    height: 260px;
  }

  .story-panel,
  .capabilities-highlight,
  .contact-map,
  .contact-card {
    padding: 24px;
  }

  .timeline-item {
    padding-inline-start: 24px;
  }
}

 .section-card,
 .service-card,
 .contact-card,
 .presence-card,
 .portfolio-card {
   background: var(--surface);
   border-radius: 24px;
   box-shadow: 0 20px 45px -30px rgba(15, 23, 42, 0.6);
   padding: 32px;
 }

 .section-card {
   backdrop-filter: blur(10px);
 }

.section-title {
  font-size: clamp(2rem, 2.6vw, 2.6rem);
  font-weight: 700;
  color: var(--text-dark);
}

 .section-subtitle {
   max-width: 760px;
   margin: 0 auto;
   color: var(--text-muted);
   font-size: 1.075rem;
 }

.section-badge {
  background: rgba(247, 147, 30, 0.12);
  color: var(--brand-dark);
  letter-spacing: 0.05em;
  font-weight: 600;
  padding: 8px 18px;
}

.metrics-row {
  --metric-gap: 24px;
}

.metric-card {
  background: linear-gradient(135deg, rgba(247, 147, 30, 0.12), rgba(193, 63, 23, 0.14));
  border-radius: 22px;
  padding: 28px;
  height: 100%;
  border: 1px solid rgba(247, 147, 30, 0.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 18px 35px -28px rgba(15, 23, 42, 0.65);
}

.metric-value {
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  font-weight: 700;
  color: var(--brand-dark);
  line-height: 1;
  margin-bottom: 12px;
}

.metric-value span {
  font-size: 1.4rem;
  margin-inline-start: 4px;
}

.metric-label {
  margin: 0;
  color: var(--text-dark);
  font-weight: 600;
}

.about-overview {
  margin-bottom: 16px;
}

.identity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 24px;
}

.identity-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 30px 60px -42px rgba(15, 23, 42, 0.58);
}

.identity-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.identity-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.identity-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-illustration {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 60px -42px rgba(15, 23, 42, 0.58);
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(247, 147, 30, 0.08);
}

.about-illustration img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-note {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.78), transparent 68%);
  color: #fff;
  padding: 18px;
  font-size: 0.95rem;
  font-weight: 600;
}

.story-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.story-visual {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.05);
}

.story-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.story-caption {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 16px;
}

.timeline-wrapper {
  margin-top: 40px;
}

.timeline-wrapper .timeline {
  position: relative;
  margin: 0 auto;
  padding: 0;
  max-width: 820px;
}

.timeline::before {
  content: '';
  position: absolute;
  inset-block: 0;
  inset-inline-start: 50%;
  width: 2px;
  background: linear-gradient(180deg, rgba(247, 147, 30, 0), rgba(247, 147, 30, 0.7), rgba(193, 63, 23, 0.9));
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin: 30px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.timeline-year {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-dark);
  background: rgba(247, 147, 30, 0.12);
  padding: 10px 20px;
  border-radius: 999px;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 48px;
}

.timeline-content {
  background: var(--surface);
  padding: 22px 28px;
  border-radius: 20px;
  box-shadow: 0 20px 40px -32px rgba(15, 23, 42, 0.6);
  max-width: 480px;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.service-card {
  border: 1px solid rgba(15, 23, 42, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 55px -35px rgba(15, 23, 42, 0.6);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(247, 147, 30, 0.18), rgba(193, 63, 23, 0.18));
  color: var(--brand-dark);
  font-size: 1.45rem;
  margin-bottom: 20px;
}



.process-roadmap {
  display: grid;
  gap: 32px;
}

.process-row {
  display: flex;
  gap: 28px;
  align-items: stretch;
}

.process-row.reverse {
  flex-direction: row-reverse;
}

.process-info {
  background: var(--surface);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 26px;
  padding: 28px;
  box-shadow: 0 30px 60px -42px rgba(15, 23, 42, 0.6);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(247, 147, 30, 0.14);
  border-radius: 999px;
  font-weight: 700;
  color: var(--brand-dark);
  font-size: 0.9rem;
}

.process-deliverables {
  margin: 0;
  padding-inline-start: 22px;
  display: grid;
  gap: 6px;
  color: var(--text-dark);
  font-size: 0.98rem;
}

.process-deliverables li::marker {
  color: var(--brand-dark);
}

.process-media {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(247, 147, 30, 0.1);
  box-shadow: 0 30px 60px -44px rgba(15, 23, 42, 0.55);
  display: flex;
  flex-direction: column;
}

.process-media img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.media-caption {
  padding: 16px 18px;
  font-weight: 600;
  color: var(--text-dark);
  background: rgba(255, 255, 255, 0.85);
}

.methodology-flow {
  display: grid;
  gap: 32px;
}

.methodology-block {
  display: flex;
  gap: 28px;
  align-items: stretch;
  background: var(--surface);
  border-radius: 32px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 35px 70px -44px rgba(15, 23, 42, 0.6);
  overflow: hidden;
}

.methodology-block.alternate {
  flex-direction: row-reverse;
}

.methodology-text {
  flex: 1 1 55%;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.methodology-visual {
  flex: 1 1 35%;
  min-height: 260px;
  background: rgba(247, 147, 30, 0.12);
  display: flex;
  align-items: stretch;
}

.methodology-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.methodology-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(247, 147, 30, 0.18);
  border-radius: 999px;
  font-weight: 700;
  color: var(--brand-dark);
  font-size: 0.95rem;
}

.methodology-list {
  margin: 0;
  padding-inline-start: 22px;
  display: grid;
  gap: 6px;
  color: var(--text-dark);
  font-size: 0.97rem;
}

.methodology-list li::marker {
  color: var(--brand-dark);
}


.industry-card {
  background: var(--surface);
  border-radius: 24px;
  padding: 28px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 24px 50px -38px rgba(15, 23, 42, 0.55);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.industry-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(247, 147, 30, 0.18), rgba(193, 63, 23, 0.18));
  color: var(--brand-dark);
  font-size: 1.6rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.gallery-item {
  border-radius: 24px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 24px 50px -38px rgba(15, 23, 42, 0.55);
  display: flex;
  flex-direction: column;
}

.gallery-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .gallery-item img {
    height: 210px;
  }
}

.gallery-caption {
  padding: 16px 18px;
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 600;
}

.presence-card {
  padding: 0;
  overflow: hidden;
}

.presence-note {
  margin-top: 18px;
  padding: 16px 20px;
  border-radius: 20px;
  background: rgba(247, 147, 30, 0.12);
  color: var(--brand-dark);
  font-weight: 600;
  line-height: 1.6;
}

 .presence-header {
   display: flex;
   justify-content: space-between;
   align-items: center;
   padding: 22px 28px;
   background: linear-gradient(135deg, var(--brand-dark), var(--brand));
   color: #fff;
 }

 .presence-location {
   font-weight: 700;
   text-transform: uppercase;
 }

 .presence-status {
   background: rgba(255, 255, 255, 0.22);
   padding: 5px 14px;
   border-radius: 999px;
   font-size: 0.85rem;
 }

 .presence-body {
   padding: 28px;
 }

 .portfolio-card {
   overflow: hidden;
   padding: 0;
   display: flex;
   flex-direction: column;
 }

 .portfolio-image {
   width: 100%;
   aspect-ratio: 4 / 3;
   overflow: hidden;
 }

 .portfolio-image img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   transition: transform 0.4s ease;
 }

 .portfolio-card:hover .portfolio-image img {
   transform: scale(1.08);
 }

.portfolio-body {
  padding: 28px;
  color: var(--text-muted);
}

.case-highlights {
  margin: 16px 0 0;
  padding-inline-start: 20px;
  color: var(--text-dark);
  font-size: 0.98rem;
  display: grid;
  gap: 6px;
}

.case-highlights li {
  line-height: 1.5;
}

.capabilities-highlight ul li::marker {
  color: var(--brand-dark);
}

 .capabilities-visual {
   height: 100%;
   min-height: 320px;
   background: linear-gradient(135deg, rgba(247, 147, 30, 0.18), rgba(193, 63, 23, 0.18));
   padding: 1px;
 }

 .image-placeholder {
   width: 100%;
   height: 100%;
   min-height: 320px;
   border-radius: 20px;
   background: repeating-linear-gradient(
       -45deg,
       rgba(255, 255, 255, 0.5),
       rgba(255, 255, 255, 0.5) 12px,
       rgba(255, 255, 255, 0.65) 12px,
       rgba(255, 255, 255, 0.65) 24px
     ),
     rgba(15, 23, 42, 0.12);
   color: rgba(15, 23, 42, 0.65);
   display: grid;
   place-items: center;
   text-align: center;
   padding: 32px;
   font-weight: 600;
 }

 .clients-logos .logo-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
   gap: 18px;
 }

 .logo-item {
   aspect-ratio: 3 / 2;
   border: 1px dashed rgba(15, 23, 42, 0.2);
   border-radius: 16px;
   display: grid;
   place-items: center;
   color: var(--text-muted);
   font-weight: 600;
   background: rgba(248, 250, 252, 0.7);
 }

 .testimonial-card {
   border-radius: 24px;
   padding: 36px;
 }

 .contact-card,
.contact-form {
  border: 1px solid rgba(15, 23, 42, 0.08);
}

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

.social-links {
  margin: 0;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.04);
  color: var(--text-dark);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.social-link:hover {
  transform: translateY(-2px);
  background: rgba(247, 147, 30, 0.12);
  color: var(--brand-dark);
}

.social-link .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--surface);
  color: var(--brand-dark);
  font-size: 1.2rem;
}

.contact-form form .form-control {
  border-radius: 16px;
  padding: 14px 16px;
  border-color: rgba(15, 23, 42, 0.14);
}

 .contact-form form .form-control:focus {
   border-color: var(--brand);
   box-shadow: 0 0 0 3px rgba(247, 147, 30, 0.2);
 }

 .footer {
   background: linear-gradient(135deg, var(--brand-dark), var(--brand-deep));
   color: #fff;
 }

 .footer-links a {
   font-weight: 600;
   opacity: 0.85;
   transition: opacity 0.25s ease;
 }

 .footer-links a:hover {
   opacity: 1;
 }

 .lang {
   transition: opacity 0.3s ease, transform 0.3s ease;
 }

.lang.hidden {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  display: none !important;
}

 @media (max-width: 767px) {
   .navbar .nav-link {
     opacity: 1;
   }

   .section-card,
   .service-card,
   .contact-card,
   .presence-card,
   .portfolio-card {
     padding: 24px;
   }

   .hero-slider {
     height: 320px;
   }

  .testimonial-card {
    padding: 28px;
  }

  .service-detail-card {
    grid-template-columns: 1fr;
  }

  .methodology-block,
  .methodology-block.alternate {
    flex-direction: column;
  }

  .methodology-text {
    padding: 24px;
  }

  .methodology-visual {
    min-height: 220px;
  }

  .timeline::before {
    inset-inline-start: 24px;
    transform: none;
  }

  .timeline-item {
    align-items: flex-start;
    text-align: start;
    padding-inline-start: 48px;
  }

  .timeline-content {
    max-width: 100%;
  }
}
