:root {
  --orange-primary: #f47320;
  --orange-deep: #e8521a;
  --orange-red: #c94a0e;
  --orange-bright: #ffa500;
  --gold: #f5a623;
  --dark: #0d0d0d;
  --dark-2: #111827;
  --dark-3: #1f2937;
  --gray-1: #374151;
  --gray-2: #6b7280;
  --gray-3: #9ca3af;
  --gray-4: #e5e7eb;
  --white: #ffffff;
  --white-75: rgba(255, 255, 255, 0.75);
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.18);
  --shadow-orange: 0 8px 32px rgba(244, 115, 32, 0.3);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============ SKIP LINK (Accessibility) ============ */
.skip-link {
  position: absolute;
  top: -100px;
  right: 16px;
  background: var(--orange-primary);
  color: white;
  padding: 10px 20px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  z-index: 99999;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
  color: white;
}

/* ============ FOCUS VISIBLE (Keyboard navigation) ============ */
:focus-visible {
  outline: 2px solid var(--orange-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--orange-bright);
  outline-offset: 3px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Cairo", "Tajawal", sans-serif;
  background: var(--white);
  color: var(--dark);
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
  line-height: 1.7;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg,
      var(--orange-primary),
      var(--orange-deep));
}

::-webkit-scrollbar-track {
  background-color: var(--dark-2);
}

a.nav-link.dropdown-toggle {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.navbar-nav .dropdown-toggle::after {
  display: none !important;
}

@media (min-width: 992px) {
  .navbar-expand-lg .navbar-nav .dropdown-menu {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 60px;
  }

  a.nav-link.dropdown-toggle {
    gap: 5px;
  }
}

a.nav-link.dropdown-toggle i {
  font-size: 10px;
}

/* ============================================
   FLOATING CONTACTS
   ============================================ */
.floating-contacts {
  position: fixed;
  left: 24px;
  bottom: 50px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  animation: float-pulse 2s ease-in-out infinite;
}

.float-btn:hover {
  transform: scale(1.15);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
  color: white;
}

.call-btn {
  background: linear-gradient(135deg,
      var(--orange-primary),
      var(--orange-deep));
}

.call-btn:hover {
  box-shadow: var(--shadow-orange);
}

.whatsapp-btn {
  background: rgb(37, 211, 102);
  animation-delay: 0.5s;
}

.whatsapp-btn:hover {
  box-shadow: rgba(37, 211, 102, 0.6) 0px 12px 40px;
}

@keyframes float-pulse {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

/* ============ NAVBAR ============ */
#mainNav {
  background: transparent;
  padding: 20px 0;
  transition: var(--transition);
  z-index: 1000;
}

#mainNav.scrolled {
  background: rgb(13 13 13 / 85%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgb(59 52 52 / 30%);
  border-bottom: 2px solid var(--orange-primary);
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg,
      var(--orange-primary),
      var(--orange-deep));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  box-shadow: var(--shadow-orange);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-main {
  font-size: 20px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 2px;
}

.logo-sub {
  font-size: 9px;
  font-weight: 400;
  color: var(--orange-bright);
  letter-spacing: 3px;
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 600;
  font-size: 15px;
  padding: 8px 16px !important;
  position: relative;
  transition: var(--transition);
}

/* Underline effect removed (unused) */

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--orange-bright) !important;
}

/* Fix Bootstrap dropdown toggle arrow in RTL */
.navbar-nav .dropdown-toggle::after {
  display: inline-block;
  margin-right: 6px;
  margin-left: 0;
  vertical-align: middle;
  border-top: 5px solid currentColor;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  border-bottom: 0;
  transition: transform 0.3s ease;
  opacity: 0.7;
}

.navbar-nav .dropdown.show .dropdown-toggle::after {
  transform: rotate(180deg);
  opacity: 1;
}

/* Dropdown menu: open below, aligned to right in RTL */
.dropdown-menu.mega-drop {
  background: var(--dark-2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 12px;
  min-width: 280px;
  box-shadow: var(--shadow-lg);
  margin-top: 4px !important;
  top: 60px;
}

.mega-drop .dropdown-item {
  color: rgba(255, 255, 255, 0.8);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 10px;
}

.mega-drop .dropdown-item:hover {
  background: rgba(244, 115, 32, 0.15);
  color: var(--orange-bright);
}

.mega-drop .dropdown-item i {
  font-size: 16px;
  color: var(--orange-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-right: 24px;
}

.nav-phone {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  direction: ltr;
  transition: color 0.3s;
}

.nav-phone:hover {
  color: var(--orange-bright);
}

.btn-primary-orange {
  background: linear-gradient(135deg,
      var(--orange-primary),
      var(--orange-deep));
  color: white !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: var(--shadow-orange);
}

.btn-primary-orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(244, 115, 32, 0.5);
}

.toggler-icon {
  color: white;
  font-size: 28px;
  cursor: pointer;
}

.navbar-toggler {
  border: none;
  background: none !important;
  box-shadow: none !important;
}

/* ============ HERO ============ */
.hero-section {
  position: relative;
  min-height: 100vh;
  background: var(--dark);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%,
      rgba(244, 115, 32, 0.18) 0%,
      transparent 60%),
    radial-gradient(ellipse 60% 80% at 20% 80%,
      rgba(232, 82, 26, 0.12) 0%,
      transparent 50%),
    linear-gradient(135deg, #0d0d0d 0%, #111827 50%, #0d0d0d 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%,
      black 0%,
      transparent 100%);
}

/* Floating shapes */
.float-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  animation: float 8s ease-in-out infinite;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--orange-primary), transparent);
  top: -100px;
  right: 20%;
  animation-delay: 0s;
  animation-duration: 10s;
}

.shape-2 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--gold), transparent);
  bottom: 10%;
  left: 15%;
  animation-delay: -3s;
}

.shape-3 {
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, var(--orange-bright), transparent);
  top: 40%;
  right: 5%;
  animation-delay: -5s;
  animation-duration: 7s;
}

.shape-4 {
  width: 100px;
  height: 100px;
  background: var(--orange-deep);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  top: 20%;
  left: 30%;
  animation-delay: -2s;
  animation-duration: 12s;
}

.shape-5 {
  width: 80px;
  height: 80px;
  background: var(--orange-primary);
  border-radius: 50%;
  bottom: 30%;
  right: 40%;
  animation-delay: -7s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  33% {
    transform: translateY(-20px) rotate(5deg);
  }

  66% {
    transform: translateY(10px) rotate(-3deg);
  }
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(244, 115, 32, 0.15), transparent);
  top: -200px;
  right: -100px;
  animation: orbPulse 6s ease-in-out infinite;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(232, 82, 26, 0.1), transparent);
  bottom: -150px;
  left: -100px;
  animation: orbPulse 8s ease-in-out infinite reverse;
}

@keyframes orbPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.6;
  }

  50% {
    transform: scale(1.2);
    opacity: 1;
  }
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(244, 115, 32, 0.15);
  border: 1px solid rgba(244, 115, 32, 0.3);
  color: var(--orange-bright);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 32px;
  animation: fadeSlideUp 0.8s ease forwards;
}

@media (max-width: 991.9px) {
  .hero-badge {
    margin: 22px 0 10px;
  }
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--orange-bright);
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

.hero-title {
  /* font-size: 45px; */
  font-weight: 900;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 24px;
  font-family: "Cairo", sans-serif;
  text-align: center;
}

.title-line {
  display: block;
  opacity: 0;
  animation: fadeSlideUp 0.9s ease forwards;
}

.line-1 {
  animation-delay: 0.2s;
}

.line-2 {
  animation-delay: 0.4s;
}

.highlight-word {
  background: linear-gradient(135deg,
      var(--orange-primary),
      var(--orange-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 520px;
  line-height: 1.8;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeSlideUp 0.9s ease 0.6s forwards;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  /* margin-bottom: 56px; */
  opacity: 0;
  animation: fadeSlideUp 0.9s ease 0.8s forwards;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg,
      var(--orange-primary),
      var(--orange-deep));
  color: white;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(244, 115, 32, 0.4);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-hero-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(244, 115, 32, 0.6);
  color: white;
}

.btn-hero-primary:hover::before {
  opacity: 1;
}

.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.btn-hero-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  color: white;
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  opacity: 0;
  animation: fadeSlideUp 0.9s ease 1s forwards;
}

.hero-stats .stat-item {
  text-align: center;
}

.stat-num {
  display: block;
  font-size: 28px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}

.stat-lbl {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
  display: block;
}

.stat-sep {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-device-wrap {
  position: relative;
  width: 360px;
  opacity: 0;
  animation: fadeSlideIn 1.2s ease 0.5s forwards;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.device-mockup {
  background: linear-gradient(145deg, #1a1a2e, #16213e);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  animation: deviceFloat 5s ease-in-out infinite;
}

@keyframes deviceFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

.device-screen {
  padding: 0;
}

.screen-content {
  background: #0f172a;
}

.screen-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #1e293b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.screen-dots {
  display: flex;
  gap: 6px;
}

.screen-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.screen-dots span:nth-child(1) {
  background: #ff5f57;
}

.screen-dots span:nth-child(2) {
  background: #ffbd2e;
}

.screen-dots span:nth-child(3) {
  background: #28c940;
}

.screen-url {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  direction: ltr;
  text-align: center;
}

.screen-body {
  padding: 20px;
}

.screen-nav-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  margin-bottom: 20px;
}

.screen-hero-block {
  background: linear-gradient(135deg,
      rgba(244, 115, 32, 0.15),
      rgba(232, 82, 26, 0.08));
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
  border: 1px solid rgba(244, 115, 32, 0.2);
}

.scr-title-lines {
  margin-bottom: 12px;
}

.scr-line {
  height: 8px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  margin-bottom: 8px;
}

.scr-line.short {
  width: 60%;
}

.scr-btn {
  height: 28px;
  width: 100px;
  background: linear-gradient(135deg,
      var(--orange-primary),
      var(--orange-deep));
  border-radius: 20px;
  opacity: 0.9;
}

.screen-cards {
  display: flex;
  gap: 10px;
}

.scr-card {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 18px;
}

.scr-card.c1 {
  color: var(--orange-primary);
}

.scr-card.c2 {
  color: var(--gold);
}

.scr-card.c3 {
  color: var(--orange-bright);
}

.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 50px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  box-shadow: var(--shadow-md);
  animation: badgeFloat 4s ease-in-out infinite;
}

.badge-top {
  top: -20px;
  left: -40px;
  animation-delay: 0s;
}

.badge-bottom {
  bottom: -15px;
  right: -30px;
  animation-delay: -2s;
}

.floating-badge i {
  color: var(--orange-primary);
  font-size: 16px;
}

@keyframes badgeFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.floating-tech {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  direction: ltr;
  animation: techFloat 6s ease-in-out infinite;
}

.tech-1 {
  top: 30px;
  right: -50px;
  animation-delay: 0s;
}

.tech-2 {
  bottom: 80px;
  left: -50px;
  animation-delay: -2s;
}

.tech-3 {
  top: 50%;
  right: -50px;
  animation-delay: -4s;
}

@keyframes techFloat {

  0%,
  100% {
    transform: translateY(0) rotate(-3deg);
  }

  50% {
    transform: translateY(-10px) rotate(3deg);
  }
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

.scroll-dot {
  width: 6px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}

.scroll-dot::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: var(--orange-primary);
  border-radius: 3px;
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
  0% {
    top: -40%;
  }

  100% {
    top: 100%;
  }
}

/* ============ SERVICES STRIP ============ */
.services-strip {
  background: var(--dark-2);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 20px 0;
  overflow: hidden;
  direction: ltr;
}

.strip-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
  animation: stripScroll 60s linear infinite;
  width: max-content;
  will-change: transform;
}

.services-strip:hover .strip-inner {
  animation-play-state: paused;
}

.strip-inner span:not(.strip-dot) {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}

.strip-dot {
  width: 6px !important;
  height: 6px !important;
  background: var(--orange-primary) !important;
  border-radius: 50%;
  flex-shrink: 0;
}

@keyframes stripScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ============ GENERAL SECTION STYLES ============ */
section {
  padding: 100px 0;
}

.section-tag {
  display: inline-block;
  background: rgba(244, 115, 32, 0.1);
  border: 1px solid rgba(244, 115, 32, 0.25);
  color: var(--orange-primary);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.tag-light {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--orange-bright);
}

.section-title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 900;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 16px;
  font-family: "Cairo", sans-serif;
}

.section-subtitle {
  font-size: 17px;
  color: var(--gray-2);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

.section-desc {
  font-size: 16px;
  color: var(--gray-1);
  line-height: 1.9;
  margin-bottom: 24px;
}

.section-head {
  margin-bottom: 16px;
}

.text-grad {
  background: linear-gradient(135deg, var(--orange-primary), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-orange {
  color: var(--orange-bright);
}

/* ============ ABOUT INTRO ============ */
.about-intro {
  background: var(--white);
  overflow: hidden;
}

.about-visual-wrap {
  position: relative;
  padding: 40px 0;
}

.about-img-main {
  height: 400px;
}

@media (max-width: 767.9px) {
  .about-img-main {
    height: 300px;
  }
}

.about-img-main img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform 0.5s ease;
  object-fit: cover;
}

.about-img-main:hover img {
  transform: scale(1.02);
}

.about-img-float {
  position: absolute;
  bottom: 0;
  left: -30px;
  width: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 4px solid white;
  transition: transform 0.5s ease;
  height: 135px;
}

.about-img-float:hover {
  transform: scale(1.05);
}

.about-img-float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.exp-badge-float {
  position: absolute;
  top: 20px;
  right: -20px;
  background: linear-gradient(135deg,
      var(--orange-primary),
      var(--orange-deep));
  color: white;
  padding: 20px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-orange);
  animation: deviceFloat 4s ease-in-out infinite;
}

.exp-num {
  display: block;
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
}

.exp-lbl {
  font-size: 12px;
  opacity: 0.9;
  font-weight: 600;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0;
}

.feat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-1);
}

.feat-item i {
  color: var(--orange-primary);
  font-size: 18px;
  flex-shrink: 0;
}

.btn-main-orange {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg,
      var(--orange-primary),
      var(--orange-deep));
  color: white;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow-orange);
  transition: var(--transition);
}

.btn-main-orange:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(244, 115, 32, 0.5);
  color: white;
}

/* ============ SERVICES CARDS ============ */
.service-card {
  position: relative;
  height: 210px;
  background: #fff;
  border-radius: 24px;
  padding: 35px 25px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid #eee;
  transition:
    height .55s cubic-bezier(.22, 1, .36, 1),
    transform .45s ease,
    box-shadow .45s ease;
}


.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      #f47320,
      #ffad66);
  opacity: 0;
  transition: .6s ease;
}


.service-icon {
  position: relative;
  width: 85px;
  height: 85px;
  margin: 0 auto 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 24px;

  background: linear-gradient(135deg,
      #fff0e5,
      #fff);

  color: #f47320;
  font-size: 38px;

  z-index: 2;

  transition:
    transform .7s cubic-bezier(.22, 1, .36, 1),
    color .4s ease,
    background .4s ease;
}


.service-card h3 {
  position: relative;
  z-index: 2;

  text-align: center;

  font-size: 20px;
  font-weight: 800;

  color: #222;

  margin: 0;

  transition: .45s ease;
}


.service-card p {
  position: relative;
  z-index: 2;

  color: #fff;

  line-height: 1.8;
  font-size: 14px;

  margin-top: 25px;

  opacity: 0;
  max-height: 0;

  overflow: hidden;

  transform: translateY(20px);

  transition:
    opacity .5s ease,
    transform .5s ease,
    max-height .6s ease;
}


.card-link {
  position: relative;
  z-index: 2;

  color: #fff;
  font-weight: 700;

  opacity: 0;

  transition: .5s ease;
}



.service-card:hover {
  height: 380px;

  transform: translateY(-8px);

  box-shadow:
    0 25px 60px rgba(244, 115, 32, .25);
}


.service-card:hover::before {
  opacity: 1;
}


.service-card:hover .service-icon {

  transform:
    translate(90px, -15px) scale(.78);

  background: transparent;
  color: #fff;
}


.service-card:hover h3 {

  text-align: right;
  color: #fff;
  margin-top: -35px;

}


.service-card:hover p {

  opacity: 1;
  max-height: 150px;
  transform: translateY(0);

}


.service-card:hover .card-link {

  opacity: 1;

}


.card-glow {

  position: absolute;

  width: 180px;
  height: 180px;

  border-radius: 50%;

  background: rgba(255, 255, 255, .15);

  bottom: -90px;
  left: -90px;

  opacity: 0;

  transition: .6s;
}


.service-card:hover .card-glow {

  opacity: 1;
  transform: scale(2);

}

/* ============ SOLUTIONS ============ */
.solutions-section {
  background: white;
}

.solution-card {
  background: white;
  border: 1px solid var(--gray-4);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.solution-card-alt {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-3) 100%);
  border-color: rgba(255, 255, 255, 0.1);
}

.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.solution-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}

.solution-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg,
      var(--orange-primary),
      var(--orange-deep));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  box-shadow: var(--shadow-orange);
  flex-shrink: 0;
}

.solution-header h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
}

.solution-card-alt .solution-header h3 {
  color: white;
}

.solution-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.sol-feat {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--gray-1);
  line-height: 1.6;
}

.solution-card-alt .sol-feat {
  color: rgba(255, 255, 255, 0.75);
}

.sol-feat i {
  color: var(--orange-primary);
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.btn-solution {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg,
      var(--orange-primary),
      var(--orange-deep));
  color: white;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}

.btn-solution:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-orange);
  color: white;
}

.solution-visual {
  position: absolute;
  bottom: -30px;
  left: -20px;
  opacity: 0.04;
}

.bg-icon {
  font-size: 160px;
}

/* ============ WHY US ============ */
.whyus-section {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

.whyus-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-3) 100%);
}

.whyus-section .container {
  position: relative;
  z-index: 1;
}

.text-white-75 {
  color: rgba(255, 255, 255, 0.75);
  font-size: 16px;
  line-height: 1.8;
}

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

.stat-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition);
}

.stat-box:hover {
  background: rgba(244, 115, 32, 0.15);
  border-color: rgba(244, 115, 32, 0.3);
  transform: translateY(-4px);
}

.sbox-num {
  display: block;
  font-size: 32px;
  font-weight: 900;
  color: var(--orange-bright);
  line-height: 1;
  margin-bottom: 6px;
}

.sbox-lbl {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

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

.reason-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition);
}

.reason-item:hover {
  background: rgba(244, 115, 32, 0.1);
  border-color: rgba(244, 115, 32, 0.25);
  transform: translateY(-3px);
}

.reason-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg,
      rgba(244, 115, 32, 0.2),
      rgba(232, 82, 26, 0.1));
  border: 1px solid rgba(244, 115, 32, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--orange-bright);
  flex-shrink: 0;
  transition: var(--transition);
}

.reason-item:hover .reason-icon {
  background: linear-gradient(135deg,
      var(--orange-primary),
      var(--orange-deep));
  border-color: transparent;
  color: white;
}

.reason-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: white;
  margin-bottom: 6px;
}

.reason-item p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  margin: 0;
}

/* ============ PORTFOLIO ============ */
.portfolio-section {
  background: #f8f9fa;
}

.portfolio-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  background: white;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.portfolio-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  object-position: top;
}

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

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(13, 13, 13, 0.9) 0%,
      rgba(13, 13, 13, 0.3) 60%,
      transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.overlay-content h4 {
  color: white;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.overlay-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  margin-bottom: 12px;
}

.btn-view {
  display: inline-block;
  background: linear-gradient(135deg,
      var(--orange-primary),
      var(--orange-deep));
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}

.btn-view:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-orange);
  color: white;
}

.portfolio-info {
  padding: 20px 24px;
}

.port-cat {
  display: inline-block;
  background: rgba(244, 115, 32, 0.1);
  color: var(--orange-primary);
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
}

.portfolio-info h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
}

/* ===== STATS ===== */
.stats-section {
  /* background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  overflow: hidden; */
  inset: 0;
  background: linear-gradient(135deg,
      var(--orange-red) 0%,
      var(--orange-primary) 50%,
      var(--gold) 100%);
  padding: 50px 0;
  position: relative;
}

.stat-item {
  padding: 48px 24px 0;
  text-align: center;
  position: relative;
}

.stats-section .stat-item::after {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255, 255, 255, 0.18);
}

@media (max-width: 767px) {
  .stats-section .stat-item:nth-child(2):after {
    display: none;
  }
}

.stat-item:last-child::after {
  display: none;
}

.stat-big {
  display: block;
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 900;
  color: white;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-big sup {
  font-size: 0.5em;
  vertical-align: super;
  color: var(--accent);
}

.stat-name {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
}

/* ============ CTA SECTION ============ */
.cta-section {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      var(--orange-red) 0%,
      var(--orange-primary) 50%,
      var(--gold) 100%);
}

.cta-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.s1 {
  width: 300px;
  height: 300px;
  top: -100px;
  right: -100px;
}

.s2 {
  width: 200px;
  height: 200px;
  bottom: -80px;
  left: 20%;
}

.s3 {
  width: 150px;
  height: 150px;
  top: 50%;
  left: -50px;
  transform: translateY(-50%);
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  color: white;
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cta-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  color: var(--orange-primary);
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.btn-cta-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
  color: var(--orange-deep);
}

.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: white;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}

.btn-cta-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: white;
  color: white;
  transform: translateY(-2px);
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--dark);
  overflow: hidden;
}

.footer-top {
  padding: 80px 0 48px;
}

.footer-logo .logo-main,
.footer-logo .logo-sub {
  color: white;
}

.footer-about {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  line-height: 1.8;
  margin: 20px 0 24px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.soc-btn {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  text-decoration: none;
  transition: var(--transition);
}

.soc-btn:hover {
  background: var(--orange-primary);
  border-color: var(--orange-primary);
  color: white;
  transform: translateY(-3px);
}

.footer-heading {
  font-size: 16px;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a::before {
  content: "";
  width: 0;
  height: 1px;
  background: var(--orange-primary);
  transition: width 0.3s;
}

.footer-links a:hover {
  color: var(--orange-bright);
  padding-right: 8px;
}

.footer-links a:hover::before {
  width: 16px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fc-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.fc-item i {
  color: var(--orange-primary);
  font-size: 15px;
  margin-top: 2px;
  flex-shrink: 0;
}

.fc-item a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  direction: ltr;
}

.fc-item a:hover {
  color: var(--orange-bright);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.3);
  font-size: 13px;
  margin: 0;
}

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  left: 32px;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 26px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
  animation: whatsappPulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.6);
  color: white;
}

@keyframes whatsappPulse {

  0%,
  100% {
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow:
      0 8px 24px rgba(37, 211, 102, 0.7),
      0 0 0 8px rgba(37, 211, 102, 0.1);
  }
}

/* ============ SCROLL REVEAL â€” DIRECTIONAL ============ */
.reveal-section {
  opacity: 1;
}

/* Base reveal state â€” hidden */
.reveal {
  opacity: 0;
  transition:
    opacity 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

/* Directional starting positions */
.reveal.reveal-up {
  opacity: 1;
  transform: translate(0, 0) scale(1)
}

.reveal.reveal-left {
  transform: translateX(56px);
}

/* comes from left  (slides in from left) */
.reveal.reveal-right {
  transform: translateX(-56px);
}

/* comes from right (slides in from right) */
.reveal.reveal-fade-up {
  transform: translateY(24px) scale(0.97);
}

/* Revealed = fully visible */
.reveal.revealed {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ============ ANIMATIONS ============ */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============ PERFORMANCE OPTIMIZATIONS ============ */
/* GPU-accelerate elements that animate frequently */
.float-btn,
.device-mockup,
.floating-badge,
.floating-tech,
.float-shape,
.hero-orb,
.exp-badge-float {
  will-change: transform;
}

/* Contain layout for heavy sections */
.services-section,
.portfolio-section,
.solutions-section {
  contain: layout style;
}

/* Optimize image rendering */
.portfolio-img img,
.about-img-main img,
.about-img-float img,
.team-img img {
  image-rendering: auto;
  backface-visibility: hidden;
}

/* Smooth font rendering */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 992px) {
  .hero-visual {
    display: none;
  }

  .hero-stats {
    gap: 0;
    /* justify-content: center; */
  }

  .stat-item {
    padding: 48px 22px;
  }

  .reasons-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-img-float {
    display: none;
  }

  .exp-badge-float {
    top: 10px;
    right: 10px;
  }

  .navbar-collapse {
    background: rgba(13, 13, 13, 0.98);
    padding: 20px;
    border-radius: var(--radius-lg);
    margin-top: 16px;
  }

  .nav-actions {
    margin-right: 0;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
}

@media (max-width: 768px) {
  section {
    padding: 64px 0;
  }

  .hero-ctas {
    flex-direction: column;
    margin-bottom: 0;
  }

  .hero-desc {
    margin-bottom: 24px;
    font-size: 14px;
  }

  .stat-item {
    gap: 12px !important;
  }

  .btn-hero-primary,
  .btn-hero-ghost {
    text-align: center;
    justify-content: center;
  }

  .hero-stats {
    flex-wrap: nowrap !important;
    justify-content: center;
    gap: 0 !important;
  }

  .stat-sep {
    display: none;
  }

  .about-visual-wrap {
    padding: 20px 0;
  }

  .solution-card {
    padding: 32px 24px;
  }

  .reasons-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand .logo-wrap {
    margin-bottom: 0;
  }

  .hero-device-wrap {
    width: 100%;
    max-width: 320px;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .floating-tech {
    display: none;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 36px;
  }

  .section-title {
    font-size: 26px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .whatsapp-float {
    bottom: 20px;
    left: 20px;
  }
}

/* ============ INNER PAGES ============ */
.page-hero {
  min-height: 40vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-3) 100%);
  position: relative;
  overflow: hidden;
  padding: 140px 0 80px;
}

.section-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.section-bg img {
  object-fit: cover;
  height: -webkit-fill-available;
}

.section-bg .overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(90deg,
      rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0.5));
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 80% 50%,
      rgba(244, 115, 32, 0.15),
      transparent);
}

.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  color: white;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 500px;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.breadcrumb-nav a {
  color: var(--orange-bright);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.breadcrumb-nav span {
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
}

/* Team Cards */
.team-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-4);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.team-img {
  aspect-ratio: 1;
  overflow: hidden;
}

.team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.team-card:hover .team-img img {
  transform: scale(1.05);
}

.team-info {
  padding: 24px;
}

.team-info h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.team-info p {
  font-size: 14px;
  color: var(--orange-primary);
  font-weight: 600;
  margin: 0;
}

/* Contact Form */
.contact-form-wrap {
  background: white;
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-4);
}

.form-control,
.form-select {
  border: 1px solid var(--gray-4);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-family: "Cairo", sans-serif;
  font-size: 15px;
  color: var(--dark);
  transition: var(--transition);
  background: #f9fafb;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--orange-primary);
  box-shadow: 0 0 0 3px rgba(244, 115, 32, 0.1);
  background: white;
}

.form-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-1);
  margin-bottom: 8px;
}

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg,
      var(--orange-primary),
      var(--orange-deep));
  color: white;
  padding: 16px;
  border: none;
  border-radius: 50px;
  font-size: 17px;
  font-weight: 700;
  font-family: "Cairo", sans-serif;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-orange);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(244, 115, 32, 0.5);
}

.contact-info-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-4);
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: var(--transition);
}

.contact-info-card:hover {
  transform: translateX(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(244, 115, 32, 0.2);
}

.ci-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg,
      var(--orange-primary),
      var(--orange-deep));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: white;
  flex-shrink: 0;
  box-shadow: var(--shadow-orange);
}

.ci-content h5 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.ci-content a,
.ci-content p {
  font-size: 15px;
  color: var(--gray-2);
  text-decoration: none;
  margin: 0;
}

.ci-content a:hover {
  color: var(--orange-primary);
}

/* Service Detail */
.service-detail-content h2 {
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 16px;
}

.service-detail-content p {
  font-size: 16px;
  color: var(--gray-1);
  line-height: 1.9;
  margin-bottom: 20px;
}

.feature-check-list {
  list-style: none;
  padding: 0;
}

.feature-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--gray-1);
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-4);
}

.feature-check-list li:last-child {
  border-bottom: none;
}

.feature-check-list li i {
  color: var(--orange-primary);
  font-size: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

.sidebar-widget {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-4);
  margin-bottom: 24px;
}

.sidebar-widget a,
.sidebar-widget span {
  color: var(--gray-1);
}

.sidebar-widget h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--orange-primary);
  display: inline-block;
}

.service-nav-list {
  list-style: none;
  padding: 0;
}

.service-nav-list li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: var(--gray-1);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: var(--transition);
  margin-bottom: 3px;
}

.service-nav-list li a:hover,
.service-nav-list li a.active {
  background: rgba(244, 115, 32, 0.08);
  color: var(--orange-primary);
}

.service-nav-list li a i {
  color: var(--orange-primary);
}

#particles-js {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}

#particles-js canvas {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

/* ============================================================
   HERO SPLIT LAYOUT â€” SERVICES PANEL (LEFT) + CONTENT (RIGHT)
   ============================================================ */

.hero-split-row {
  gap: 0;
}

/* ---- Services Panel ---- */
.hero-services-col {
  position: relative;
  z-index: 3;
}

.hero-services-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(244, 115, 32, 0.18);
  border-radius: var(--radius-lg);
  padding: 28px 22px 22px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 0 40px rgba(244, 115, 32, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  animation: fadeSlideLeft 0.9s ease both;
}

@keyframes fadeSlideLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hsp-header {
  margin-bottom: 18px;
}

.hsp-tag {
  display: inline-block;
  background: rgba(244, 115, 32, 0.15);
  color: var(--orange-bright);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(244, 115, 32, 0.3);
  margin-bottom: 8px;
}

.hsp-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
  margin: 0;
}

.hsp-title-accent {
  color: var(--orange-primary);
}

/* ---- Service Items ---- */
.hsp-services-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hsp-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: fadeItemIn 0.5s ease calc(var(--delay, 0.1s) + 0.4s) both;
}

@keyframes fadeItemIn {
  from {
    opacity: 0;
    transform: translateX(-16px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hsp-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(244, 115, 32, 0.08) 0%,
      transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: var(--radius-sm);
}

.hsp-item:hover {
  border-color: rgba(244, 115, 32, 0.35);
  background: rgba(244, 115, 32, 0.07);
  transform: translateX(-4px);
}

.hsp-item:hover::before {
  opacity: 1;
}

.hsp-item:hover .hsp-icon {
  background: var(--orange-primary);
  color: white;
  box-shadow: 0 4px 16px rgba(244, 115, 32, 0.45);
  transform: scale(1.1);
}

.hsp-item:hover .hsp-arrow {
  color: var(--orange-bright);
  transform: translateX(-4px);
}

.hsp-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 10px;
  background: rgba(244, 115, 32, 0.12);
  color: var(--orange-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: var(--transition);
}

.hsp-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hsp-name {
  color: var(--white);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
}

.hsp-desc {
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
  font-weight: 400;
}

.hsp-arrow {
  color: rgba(255, 255, 255, 0.2);
  font-size: 20px;
  transition: var(--transition);
  flex-shrink: 0;
}

/* ---- CTA button ---- */
.hsp-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--orange-primary);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(244, 115, 32, 0.3);
  padding: 7px 16px;
  border-radius: 20px;
  transition: var(--transition);
  background: rgba(244, 115, 32, 0.06);
}

.hsp-cta:hover {
  background: var(--orange-primary);
  color: white;
  border-color: var(--orange-primary);
  box-shadow: 0 4px 20px rgba(244, 115, 32, 0.4);
  gap: 10px;
}

/* ---- Vertical Divider ---- */
.hero-divider-col {
  justify-content: center;
  align-items: stretch;
  position: absolute;
  z-index: 3;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.hero-divider-col .vdiv-orb::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  width: 1px;
  height: 250px;
  background: linear-gradient(to bottom,
      transparent,
      rgba(244, 115, 32, 0.5) 40%,
      rgba(244, 115, 32, 0.5) 60%,
      transparent);
  margin: 15px 0;
}

.hero-divider-col .vdiv-orb::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  width: 1px;
  height: 200px;
  background: linear-gradient(to bottom,
      transparent,
      rgba(244, 115, 32, 0.5) 40%,
      rgba(244, 115, 32, 0.5) 60%,
      transparent);
  margin: 15px 0;
}

.vdiv-orb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange-primary);
  box-shadow: 0 0 16px 4px rgba(244, 115, 32, 0.6);
  margin: 8px 0;
  animation: orbGlow 2s ease-in-out infinite;
}

@keyframes orbGlow {

  0%,
  100% {
    box-shadow: 0 0 10px 3px rgba(244, 115, 32, 0.5);
  }

  50% {
    box-shadow: 0 0 22px 7px rgba(244, 115, 32, 0.85);
  }
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .hero-services-col {
    margin-bottom: 40px;
  }

  .hero-services-panel {
    padding: 22px 16px 18px;
  }

  .hsp-title {
    font-size: 1.1rem;
  }

  .hsp-item {
    padding: 8px 10px;
  }

  .hsp-item:hover {
    transform: none;
  }
}

@media (max-width: 576px) {
  .hsp-desc {
    display: none;
  }

  .hsp-name {
    font-size: 13px;
  }

  .hero-services-panel {
    padding: 18px 14px;
  }
}

/* Override hero-content to align RIGHT side content to right (RTL) */
.hero-split-row .hero-content {
  align-items: flex-start;
  text-align: right;
  animation: fadeSlideRight 0.9s ease 0.15s both;
  position: relative;
}

@media (min-width: 992px) {
  .hero-content {
    width: calc(50% + 6px);
  }

  .hero-orbital-col {
    width: calc(50% - 6px);
  }
}

@keyframes fadeSlideRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-split-row .hero-title {
  text-align: right;
}

.hero-split-row .hero-stats {
  justify-content: flex-start;
}

.hero-split-row .hero-ctas {
  justify-content: flex-start;
}

@media (max-width: 991px) {
  .hero-split-row .hero-content {
    align-items: center;
    text-align: center;
  }

  .hero-split-row .hero-title {
    text-align: center;
  }

  .hero-split-row .hero-stats,
  .hero-split-row .hero-ctas {
    justify-content: center;
  }
}

/* ============================================================
   ORBITAL SERVICES DISPLAY â€” hero section
   ============================================================ */

.hero-orbital-col {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- Main wrapper ---- */
.orbital-wrap {
  position: relative;
  width: 420px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: orbitalEntrance 1s ease 0.2s both;
}

@keyframes orbitalEntrance {
  from {
    opacity: 0;
    transform: scale(0.7) rotate(-30deg);
  }

  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

/* ---- Background decorative rings ---- */
.orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(244, 115, 32, 0.12);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.orb-ring-1 {
  width: 420px;
  height: 420px;
  border-color: rgba(244, 115, 32, 0.1);
  animation: ringPulse 4s ease-in-out infinite;
}

.orb-ring-2 {
  width: 340px;
  height: 340px;
  border-color: rgba(244, 115, 32, 0.16);
  animation: ringPulse 4s ease-in-out infinite 0.8s;
}

.orb-ring-3 {
  width: 260px;
  height: 260px;
  border-color: rgba(244, 115, 32, 0.22);
  animation: ringPulse 4s ease-in-out infinite 1.6s;
}

@keyframes ringPulse {

  0%,
  100% {
    opacity: 0.6;
  }

  50% {
    opacity: 1;
  }
}

/* ---- Orbit track (rotates) ---- */
.orbit-track {
  position: absolute;
  width: 420px;
  height: 420px;
  top: 0;
  left: 0;
  animation: orbitSpin 22s linear infinite;
  transform-origin: center;
}

.orbit-track:hover {
  animation-play-state: paused;
}

@keyframes orbitSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* ---- Each node positioned around the circle ---- */
.orbit-node {
  position: absolute;
  width: 52px;
  height: 52px;
  top: 50%;
  left: 50%;
  /* 8 nodes = 45deg apart */
  transform: translate(-50%, -50%) rotate(calc(var(--i) * 45deg)) translateY(-195px) rotate(calc(var(--i) * -45deg));
}

/* Counter-rotate the dot so icon stays upright */
.orbit-dot {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: rgba(13, 13, 13, 0.85);
  border: 1.5px solid rgba(244, 115, 32, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange-primary);
  font-size: 18px;
  cursor: pointer;
  animation: counterSpin 22s linear infinite;
  transition:
    border-color 0.3s,
    background 0.3s,
    box-shadow 0.3s,
    transform 0.3s;
  position: relative;
  backdrop-filter: blur(8px);
  box-shadow:
    0 0 14px rgba(244, 115, 32, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.orbit-track:hover .orbit-dot {
  animation-play-state: paused;
}

@keyframes counterSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(-360deg);
  }
}

.orbit-dot:hover {
  background: rgba(244, 115, 32, 0.2);
  border-color: var(--orange-primary);
  box-shadow:
    0 0 28px rgba(244, 115, 32, 0.55),
    0 0 6px rgba(244, 115, 32, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: scale(1.22) rotate(-360deg);
  /* keep counter-rotating but scale up */
  color: white;
  z-index: 10;
}

/* Active dot (JS-set) */
.orbit-dot.active {
  background: rgba(244, 115, 32, 0.25);
  border-color: var(--orange-bright);
  box-shadow:
    0 0 32px rgba(244, 115, 32, 0.7),
    0 0 10px rgba(244, 115, 32, 0.4);
  color: white;
  transform: scale(1.28) rotate(-360deg);
}

/* ---- Center nucleus ---- */
.orbit-nucleus {
  position: relative;
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.nucleus-core {
  position: relative;
  z-index: 6;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%,
      rgba(244, 115, 32, 0.28) 0%,
      rgba(13, 13, 13, 0.95) 65%);
  border: 2px solid rgba(244, 115, 32, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
  padding: 12px;
  box-shadow:
    0 0 40px rgba(244, 115, 32, 0.2),
    inset 0 0 30px rgba(244, 115, 32, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: all 0.4s ease;
}

.nucleus-icon {
  font-size: 20px;
  margin-bottom: 5px;
  color: var(--orange-primary);
  transition: all 0.35s ease;
  line-height: 1;
}

.nuc-title {
  color: var(--white);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.2;
  display: block;
  transition: all 0.35s ease;
  margin-bottom: 5px;
}

.nuc-desc {
  color: rgba(255, 255, 255, 0.4);
  font-size: 9.5px;
  font-weight: 400;
  line-height: 1.3;
  display: block;
  transition: all 0.35s ease;
}

/* Active state of nucleus */
.orbit-nucleus.nucleus-active .nucleus-core {
  border-color: var(--orange-bright);
  box-shadow:
    0 0 55px rgba(244, 115, 32, 0.4),
    inset 0 0 40px rgba(244, 115, 32, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.orbit-nucleus.nucleus-active .nucleus-icon {
  color: var(--orange-bright);
  transform: scale(1.15);
}

/* ---- Pulsing rings around nucleus ---- */
.nucleus-pulse {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(244, 115, 32, 0.5);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  animation: nucleusPulse 3s ease-out infinite;
  pointer-events: none;
}

.pulse-1 {
  width: 130px;
  height: 130px;
  animation-delay: 0s;
}

.pulse-2 {
  width: 130px;
  height: 130px;
  animation-delay: 1s;
  border-color: rgba(244, 115, 32, 0.3);
}

.pulse-3 {
  width: 130px;
  height: 130px;
  animation-delay: 2s;
  border-color: rgba(244, 115, 32, 0.15);
}

@keyframes nucleusPulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }

  100% {
    transform: translate(-50%, -50%) scale(2.2);
    opacity: 0;
  }
}

/* ---- Corner badge ---- */
.orbital-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(244, 115, 32, 0.12);
  border: 1px solid rgba(244, 115, 32, 0.3);
  color: var(--orange-bright);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  white-space: nowrap;
  animation: badgeFadeIn 1s ease 1.2s both;
  backdrop-filter: blur(6px);
}

@keyframes badgeFadeIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* ---- Responsive ---- */
@media (max-width: 1199px) {
  .orbital-wrap {
    width: 370px;
    height: 370px;
  }

  .orb-ring-1 {
    width: 370px;
    height: 370px;
  }

  .orb-ring-2 {
    width: 300px;
    height: 300px;
  }

  .orb-ring-3 {
    width: 230px;
    height: 230px;
  }

  .orbit-track {
    width: 370px;
    height: 370px;
  }

  .orbit-node {
    transform: translate(-50%, -50%) rotate(calc(var(--i) * 45deg)) translateY(-170px) rotate(calc(var(--i) * -45deg));
  }
}

@media (max-width: 991px) {
  .hero-orbital-col {
    margin-bottom: 40px;
  }

  .orbital-wrap {
    width: 320px;
    height: 320px;
  }

  .orb-ring-1 {
    width: 320px;
    height: 320px;
  }

  .orb-ring-2 {
    width: 258px;
    height: 258px;
  }

  .orb-ring-3 {
    width: 198px;
    height: 198px;
  }

  .orbit-track {
    width: 320px;
    height: 320px;
  }

  .orbit-node {
    transform: translate(-50%, -50%) rotate(calc(var(--i) * 45deg)) translateY(-145px) rotate(calc(var(--i) * -45deg));
  }

  .orbit-dot {
    width: 44px;
    height: 44px;
    font-size: 15px;
  }

  .nucleus-core {
    width: 110px;
    height: 110px;
  }

  .orbit-nucleus {
    width: 110px;
    height: 110px;
  }
}

@media (max-width: 576px) {
  .orbital-wrap {
    width: 280px;
    height: 280px;
  }

  .orb-ring-1 {
    width: 280px;
    height: 280px;
  }

  .orb-ring-2 {
    width: 220px;
    height: 220px;
  }

  .orb-ring-3 {
    width: 165px;
    height: 165px;
  }

  .orbit-track {
    width: 280px;
    height: 280px;
  }

  .orbit-node {
    transform: translate(-50%, -50%) rotate(calc(var(--i) * 45deg)) translateY(-123px) rotate(calc(var(--i) * -45deg));
  }

  .orbit-dot {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }

  .nucleus-core {
    width: 96px;
    height: 96px;
  }

  .orbit-nucleus {
    width: 96px;
    height: 96px;
  }

  .nuc-desc {
    display: none;
  }
}

/* ============================================================
   PERFORMANCE & ACCESSIBILITY IMPROVEMENTS
   ============================================================ */

/* Reduce paint on scroll-heavy sections */
.strip-inner,
.orbit-track,
.float-shape,
.hero-orb {
  transform: translateZ(0);
}

/* Lazy-load images don't shift layout */
img[loading="lazy"] {
  min-height: 1px;
}

/* Better focus ring for keyboard nav (supplement existing :focus-visible) */
.btn-hero-primary:focus-visible,
.btn-main-orange:focus-visible,
.btn-solution:focus-visible,
.btn-cta-white:focus-visible,
.btn-cta-outline:focus-visible,
.btn-primary-orange:focus-visible {
  outline: 3px solid var(--orange-bright);
  outline-offset: 4px;
}

/* Ensure floating buttons have adequate touch target */
.float-btn {
  min-width: 44px;
  min-height: 44px;
}

/* Service-detail sidebar sticky on desktop */
@media (min-width: 992px) {
  .sidebar-sticky {
    position: sticky;
    top: 100px;
  }
}

/* About page: story section reveal helpers */
.about-story-col-text>* {
  /* stagger handled by JS, just ensure no flash */
  will-change: opacity, transform;
}

/* Smooth image loading to avoid layout jump */
.about-img-main img,
.portfolio-img img,
.section-bg img {
  display: block;
  width: 100%;
}

/* Prevent animation jank on low-end devices by containing repaints */
.hero-section,
.whyus-section,
.cta-section {
  isolation: isolate;
}

/* â”€â”€ Improved reveal timing for about & service-detail â”€â”€ */
/* Slightly longer reveal for bigger content blocks */
.service-detail-content .reveal,
.sidebar-widget.reveal {
  transition-duration: 0.75s;
}

/* Feature list items â€” tighter stagger cap */
.feature-check-list li.reveal {
  transition-duration: 0.55s;
}

/* About value boxes */
.reveal-section .col-lg-4>div.reveal,
.reveal-section .col-md-4>div.reveal {
  transition-duration: 0.7s;
}

/* ============================================================
   PORTFOLIO PAGE STYLES
   ============================================================ */

/* â”€â”€ Light mode overrides for portfolio page â”€â”€ */
body.portfolio-page {
  background: #f8f9fa;
  color: var(--dark);
}

body.portfolio-page .portfolio-section {
  background: #f8f9fa;
}

body.portfolio-page .port-card {
  background: #ffffff;
  border: 1px solid #e9ecef;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.07);
}

body.portfolio-page .port-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

body.portfolio-page .port-title {
  color: var(--dark);
}

body.portfolio-page .port-desc {
  color: #6b7280;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.portfolio-page .portfolio-count {
  color: #6b7280;
}

body.portfolio-page .portfolio-empty p {
  color: #6b7280;
}

body.portfolio-page .portfolio-empty i {
  color: #9ca3af;
}

body.portfolio-page .section-title {
  color: var(--dark) !important;
}

body.portfolio-page .section-desc {
  color: #6b7280 !important;
}

body.portfolio-page .section-tag {
  background: rgba(244, 115, 32, 0.1);
  color: var(--orange-primary);
}

/* Filter Tabs */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 50px;
}

.filter-btn {
  padding: 10px 24px;
  border: 2px solid rgba(244, 115, 32, 0.3);
  background: transparent;
  color: #6b7280;
  border-radius: 50px;
  font-family: "Cairo", sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.filter-btn:hover {
  border-color: var(--orange-primary);
  color: var(--orange-primary);
  transform: translateY(-2px);
}

.filter-btn.active {
  background: linear-gradient(135deg,
      var(--orange-primary),
      var(--orange-deep));
  border-color: transparent;
  color: white;
  box-shadow: var(--shadow-orange);
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

/* Portfolio Card */
.port-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  /* background: var(--dark-2); */
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
}

.port-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

/* Image container with scroll effect on hover */
.port-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  cursor: pointer;
}

.port-img-wrap img {
  width: 100%;
  height: auto;
  min-height: 100%;
  display: block;
  transform: translateY(0);
  transition: none;
  object-fit: cover;
  object-position: top;
}

.port-img-wrap.scrolling img {
  transition: transform 4s linear;
  transform: translateY(calc(-100% + 220px));
}

.port-img-wrap.reset-scroll img {
  transition: transform 0.6s ease;
  transform: translateY(0);
}

/* Overlay with buttons */
.port-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(13, 13, 13, 0.92) 0%,
      rgba(13, 13, 13, 0.3) 60%,
      transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  /* opacity: 0; */
  transition: opacity 0.35s ease;
}

.port-img-wrap:hover .port-overlay {
  opacity: 1;
}

.port-action-btns {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 8px;
}

.port-action-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  font-family: "Cairo", sans-serif;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.port-action-btn:hover {
  transform: translateY(-2px);
}

.btn-quick-preview {
  background: linear-gradient(135deg,
      var(--orange-primary),
      var(--orange-deep));
  color: white;
}

.btn-quick-preview:hover {
  box-shadow: var(--shadow-orange);
  color: white;
}

.btn-live-preview {
  background: rgba(255, 255, 255, 0.15);
  /* backdrop-filter: blur(10px); */
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-live-preview:hover {
  background: rgba(255, 255, 255, 0.25);
  color: white;
}

.btn-client-preview {
  background: rgba(245, 166, 35, 0.2);
  color: var(--gold);
  border: 1px solid rgba(245, 166, 35, 0.4);
}

.btn-client-preview:hover {
  background: var(--gold);
  color: var(--dark);
}

/* Card Body */
.port-body {
  padding: 20px;
}

.port-cat-badge {
  display: inline-block;
  background: rgba(244, 115, 32, 0.12);
  color: var(--orange-primary);
  border: 1px solid rgba(244, 115, 32, 0.2);
  border-radius: 50px;
  padding: 3px 14px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}

.port-title {
  color: var(--dark);
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 6px;
  line-height: 1.4;
}

.port-desc {
  color: var(--gray-3);
  font-size: 13px;
  line-height: 1.6;
  margin: 6px 0;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* .port-body a {
  margin-top: 5px;
} */

/* Hidden items */
.port-card.hidden {
  display: none;
}

/* Count badge */
.portfolio-count {
  color: var(--gray-3);
  font-size: 14px;
  margin-bottom: 30px;
  text-align: center;
}

.portfolio-count span {
  color: var(--orange-primary);
  font-weight: 700;
}

/* Empty state */
.portfolio-empty {
  text-align: center;
  padding: 60px 20px;
  display: none;
}

.portfolio-empty i {
  font-size: 48px;
  color: var(--gray-3);
  margin-bottom: 16px;
}

.portfolio-empty p {
  color: var(--gray-3);
  font-size: 16px;
}

/* ===== QUICK PREVIEW MODAL (Slider) ===== */
.qp-modal {
  border-radius: 16px;
  overflow: hidden;
}

.qp-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  backdrop-filter: blur(8px);
  will-change: opacity;
}

.qp-modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.qp-modal {
  background: var(--dark-2);
  border-radius: var(--radius-lg);
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  border: 1px solid rgba(244, 115, 32, 0.2);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
  transform: translateY(14px) scale(0.96);
  opacity: 0;
  position: relative;
  will-change: transform, opacity;
  display: flex;
  flex-direction: column;
}

.qp-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--dark-2);
  z-index: 10;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  flex-shrink: 0;
}

.qp-modal-title {
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
  margin: 0;
}

.qp-modal-title span {
  color: var(--orange-primary);
}

.qp-close-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: var(--gray-3);
  font-size: 18px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qp-close-btn:hover {
  background: rgba(244, 115, 32, 0.15);
  color: var(--orange-primary);
  border-color: var(--orange-primary);
}

.qp-modal-body {
  padding: 20px;
  flex: 1;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.qp-modal-body::-webkit-scrollbar {
  display: none;
}

/* â”€â”€ Slider Styles â”€â”€ */
.qp-slider-wrap {
  position: relative;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  margin-bottom: 20px;
  aspect-ratio: 16/9;
}

.qp-slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.qp-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
}

.qp-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.qp-slide-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  padding: 20px 16px 12px;
  font-size: 14px;
  font-weight: 700;
}

/* Prev / Next arrows */
.qp-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition:
    background 0.25s,
    border-color 0.25s;
  backdrop-filter: blur(4px);
}

.qp-arrow:hover {
  background: var(--orange-primary);
  border-color: var(--orange-primary);
}

.qp-arrow-prev {
  right: 12px;
}

.qp-arrow-next {
  left: 12px;
}

/* Dots indicator */
.qp-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

.qp-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all 0.25s;
  border: none;
  padding: 0;
}

.qp-dot.active {
  background: var(--orange-primary);
  width: 24px;
  border-radius: 4px;
}

/* Thumbnails strip */
.qp-thumbs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  overflow-x: auto;
  padding-bottom: 4px;
  justify-content: center;
}

.qp-thumb {
  min-width: 80px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s;
  flex-shrink: 0;
  background: transparent;
  padding: 0;
}

.qp-thumb.active {
  border-color: var(--orange-primary);
}

.qp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qp-info-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  background: var(--dark-3);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.qp-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gray-3);
  font-size: 14px;
}

.qp-info-item i {
  color: var(--orange-primary);
  font-size: 16px;
}

.qp-info-item strong {
  color: var(--white);
}

/* ===== PORTFOLIO SECTION ===== */
/* 
.portfolio-section {
  padding: 100px 0;
  background: var(--dark);
  min-height: 70vh;
}

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .port-action-btns {
    flex-wrap: wrap;
  }

  .port-action-btn {
    font-size: 11px;
    padding: 7px 10px;
  }
}

@media (max-width: 576px) {
  .portfolio-filters {
    gap: 8px;
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: 13px;
  }

  .qp-arrow {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
} */

/* ============================================================
   CONTACT US PAGE STYLES
   ============================================================ */
.contact-page-section {
  padding: 100px 0 80px;
  background: #f8f9fa;
}

.contact-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.contact-form-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid #f1f3f5;
}

.contact-info-item:last-child {
  border-bottom: none;
}

.ci-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg,
      var(--orange-primary),
      var(--orange-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  flex-shrink: 0;
}

.ci-text h5 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 4px;
}

.ci-text a,
.ci-text span {
  color: #6b7280;
  font-size: 14px;
  text-decoration: none;
  display: block;
  line-height: 1.6;
}

.ci-text a:hover {
  color: var(--orange-primary);
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  color: var(--dark);
  margin-bottom: 8px;
}

.contact-form .form-control {
  width: 100%;
  padding: 13px 18px;
  border: 2px solid #e9ecef;
  border-radius: var(--radius-sm);
  font-family: "Cairo", sans-serif;
  font-size: 14px;
  color: var(--dark);
  background: #f8f9fa;
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
  outline: none;
}

.contact-form .form-control:focus {
  border-color: var(--orange-primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(244, 115, 32, 0.1);
}

.contact-form textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

.btn-send-msg {
  background: linear-gradient(135deg,
      var(--orange-primary),
      var(--orange-deep));
  color: white;
  border: none;
  padding: 14px 40px;
  border-radius: 50px;
  font-family: "Cairo", sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-send-msg:hover {
  box-shadow: var(--shadow-orange);
  transform: translateY(-2px);
}

.contact-map-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  margin-top: 40px;
}

.contact-map-wrap iframe {
  width: 100%;
  height: 380px;
  border: none;
  display: block;
}

.social-contact-strip {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.scs-btn {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: white;
  text-decoration: none;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}

.scs-btn:hover {
  transform: translateY(-3px);
  color: white;
}

.scs-facebook {
  background: #1877f2;
}

.scs-whatsapp {
  background: #25d366;
}

.scs-linkedin {
  background: #0a66c2;
}

.scs-email {
  background: var(--orange-primary);
}

.form-success-msg {
  display: none;
  background: #d1fae5;
  border: 1px solid #6ee7b7;
  color: #065f46;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-weight: 600;
  margin-top: 16px;
  text-align: center;
}

/* ============================================================
   PROJECT DETAILS PAGE STYLES
   ============================================================ */
.project-detail-section {
  padding: 80px 0 100px;
  background: #f8f9fa;
}

.project-main-slider {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  aspect-ratio: 16/9;
  margin-bottom: 16px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
}

.pms-track {
  display: flex;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.pms-slide {
  min-width: 100%;
  height: 100%;
}

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

.pms-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: background 0.25s;
  backdrop-filter: blur(4px);
}

.pms-arrow:hover {
  background: var(--orange-primary);
}

.pms-arrow-prev {
  right: 16px;
}

.pms-arrow-next {
  left: 16px;
}

.pms-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
  margin-top: 38px;
}

.pms-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d1d5db;
  cursor: pointer;
  border: none;
  padding: 0;
  transition: all 0.25s;
}

.pms-dot.active {
  background: var(--orange-primary);
  width: 24px;
  border-radius: 4px;
}

.pms-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 30px;
  justify-content: center;
}

.pms-thumb {
  min-width: 90px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s;
  flex-shrink: 0;
}

.pms-thumb.active {
  border-color: var(--orange-primary);
}

.pms-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Sidebar */
.project-sidebar .info-box {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 24px;
}

.project-sidebar .info-box h4 {
  font-size: 18px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid rgba(244, 115, 32, 0.15);
}

.project-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #f1f3f5;
  font-size: 14px;
}

.project-info-row:last-child {
  border-bottom: none;
}

.project-info-row .pir-label {
  color: #6b7280;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.project-info-row .pir-label i {
  color: var(--orange-primary);
}

.project-info-row .pir-value {
  color: var(--dark);
  font-weight: 700;
}

.btn-visit-site {
  display: block;
  text-align: center;
  background: linear-gradient(135deg,
      var(--orange-primary),
      var(--orange-deep));
  color: white;
  padding: 14px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: var(--transition);
  margin-bottom: 12px;
}

.btn-visit-site:hover {
  box-shadow: var(--shadow-orange);
  color: white;
  transform: translateY(-2px);
}

.btn-visit-site-outline {
  display: block;
  text-align: center;
  border: 2px solid var(--orange-primary);
  color: var(--orange-primary);
  padding: 13px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: var(--transition);
}

.btn-visit-site-outline:hover {
  background: var(--orange-primary);
  color: white;
}

/* Project content */
.project-content-box {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 24px;
}

.project-content-box h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
}

.project-content-box p {
  color: #6b7280;
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 16px;
}

.project-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.project-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  color: #4b5563;
  font-size: 14px;
  border-bottom: 1px solid #f1f3f5;
}

.project-features-list li:last-child {
  border-bottom: none;
}

.project-features-list li i {
  color: var(--orange-primary);
  margin-top: 2px;
  flex-shrink: 0;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-tag {
  background: rgba(244, 115, 32, 0.08);
  color: var(--orange-primary);
  border: 1px solid rgba(244, 115, 32, 0.2);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
}

/* Related Projects */
.related-projects-section {
  padding: 80px 0;
  background: #fff;
}

.related-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  background: #fff;
  border: 1px solid #e9ecef;
}

.related-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.13);
}

.related-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.related-card-body {
  padding: 20px;
}

.related-card-body h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--dark);
  margin: 0 0 6px;
}

.related-card-body p {
  color: #6b7280;
  font-size: 13px;
  margin: 0 0 14px;
}

.btn-view-project {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange-primary);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: gap 0.2s;
}

.btn-view-project:hover {
  gap: 10px;
  color: var(--orange-deep);
}

/* ============================================================
   QUICK PREVIEW â€” Single Scrollable Image (image styles)
   ============================================================ */

/* Image container: full width, natural tall height */
.qp-single-img-wrap {
  width: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #0d0d0d;
}

.qp-single-img-wrap img {
  width: 100%;
  display: block;
  height: auto;
  object-fit: fill;
}

/* ============================================================
   PORT CARD â€” Overlay buttons layout (Ù…Ø¹Ø§ÙŠÙ†Ø© + ØªØ¬Ø±ÙŠØ¨ÙŠ + Ù†Ù‡Ø§Ø¦ÙŠ)
   Keep all 3 buttons in a row, Ù…Ø¹Ø§ÙŠÙ†Ø© Ù…Ø¨Ø§Ø´Ø±Ø© is the main CTA
   ============================================================ */

.port-action-btns {
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

/* Button shown OUTSIDE the card (below image, always visible) */
.port-outer-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 8px;
  font-family: "Cairo", sans-serif;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
  background: rgba(244, 115, 32, 0.1);
  color: var(--orange-primary);
  border: 1px solid rgba(244, 115, 32, 0.3);
}

.port-outer-btn:hover {
  background: var(--orange-primary);
  color: white;
  transform: translateY(-2px);
}

/* ============================================================
   PORT BODY â€” extra action row below description
   ============================================================ */
.port-outer-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}


#langToggle,
#langTogglePC {
  cursor: pointer;
  transition: var(--transition);
}

#langToggle:hover,
#langTogglePC:hover {
  transform: scale(1.2) rotate(360deg);
}

/* ============================================================
   FAQ SECTION â€” Creative Tabs
   ============================================================ */
.faq-section {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  padding: 110px 0;
}

.faq-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.14;
  pointer-events: none;
  z-index: 0;
}

.faq-glow-1 {
  width: 420px;
  height: 420px;
  background: var(--orange-primary);
  top: -140px;
  left: -120px;
}

.faq-glow-2 {
  width: 340px;
  height: 340px;
  background: var(--gold);
  bottom: -120px;
  right: -100px;
}

.faq-section .container {
  position: relative;
  z-index: 1;
}

/* ---- Layout ---- */
.faq-tabs-wrap {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 40px;
  margin-top: 56px;
  align-items: start;
}

/* ---- Tabs Nav ---- */
.faq-tabs-nav {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-right: 14px;
}

.faq-tab-indicator {
  position: absolute;
  right: 0;
  top: 0;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--orange-primary), var(--gold));
  transition: top 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.faq-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: right;
  padding: 16px 18px;
  border: 1px solid var(--gray-4);
  background: #ffffff;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  font-family: "Cairo", sans-serif;
}

.faq-tab:hover {
  border-color: var(--orange-primary);
  transform: translateX(-4px);
}

.faq-tab.active {
  background: linear-gradient(135deg, var(--orange-primary), var(--gold));
  border-color: transparent;
  box-shadow: var(--shadow-orange);
}

.faq-tab-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: rgba(244, 115, 32, 0.1);
  color: var(--orange-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-tab.active .faq-tab-icon {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.faq-tab-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.faq-tab-title {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--dark);
  transition: var(--transition);
}

.faq-tab-count {
  font-size: 12.5px;
  color: var(--gray-3);
  transition: var(--transition);
}

.faq-tab.active .faq-tab-title {
  color: #fff;
}

.faq-tab.active .faq-tab-count {
  color: rgba(255, 255, 255, 0.85);
}

.faq-tab-arrow {
  color: var(--gray-3);
  font-size: 14px;
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-tab.active .faq-tab-arrow {
  color: #fff;
  transform: translateX(-4px);
}

/* ---- Panels ---- */
.faq-panels {
  min-width: 0;
}

.faq-panel {
  display: none;
}

.faq-panel.active {
  display: block;
  animation: faqPanelIn 0.5s ease;
}

@keyframes faqPanelIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-item {
  border: 1px solid var(--gray-4);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  background: #fff;
  transition: var(--transition);
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-item.active {
  border-color: var(--orange-primary);
  box-shadow: var(--shadow-sm);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  background: none;
  border: none;
  text-align: right;
  cursor: pointer;
  font-family: "Cairo", sans-serif;
}

.faq-q-num {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(244, 115, 32, 0.08);
  color: var(--orange-primary);
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.faq-q-text {
  flex: 1;
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.6;
}

.faq-q-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f8f9fa;
  color: var(--orange-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-item.active .faq-q-icon {
  background: linear-gradient(135deg, var(--orange-primary), var(--gold));
  color: #fff;
  transform: rotate(135deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-a-inner {
  padding: 0 22px 22px 62px;
  color: var(--gray-2);
  line-height: 1.9;
  font-size: 15px;
}

.faq-a-inner p {
  margin: 0;
}

/* ---- More / CTA under FAQ ---- */
.faq-more {
  text-align: center;
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.faq-more p {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-1);
  margin: 0;
}

.btn-faq-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 30px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--orange-primary), var(--gold));
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  box-shadow: var(--shadow-orange);
  transition: var(--transition);
}

.btn-faq-more:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .faq-tabs-wrap {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .faq-tabs-nav {
    flex-direction: row;
    overflow-x: auto;
    padding: 4px 4px 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .faq-tab {
    flex: 0 0 auto;
    min-width: 210px;
  }

  .faq-tab-arrow {
    display: none;
  }

  .faq-tab-indicator {
    display: none;
  }
}

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

  .faq-tab {
    min-width: 180px;
    padding: 14px 16px;
  }

  .faq-q {
    padding: 16px 16px;
    gap: 12px;
  }

  .faq-q-text {
    font-size: 14.5px;
  }

  .faq-a-inner {
    padding: 0 16px 18px 46px;
    font-size: 14px;
  }
}

/* ============================================================
   BLOG LISTING PAGE
   ============================================================ */


.blog-search {
  max-width: 520px;
  margin: 0 auto;
  position: relative;
}

.blog-search input {
  width: 100%;
  padding: 18px 24px 18px 58px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-family: "Cairo", sans-serif;
  font-size: 15px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.blog-search input::placeholder {
  color: var(--white-75);
}

.blog-search input:focus {
  outline: none;
  border-color: var(--orange-primary);
  background: rgba(255, 255, 255, 0.1);
}

.blog-search-icon {
  position: absolute;
  top: 50%;
  left: 22px;
  transform: translateY(-50%);
  color: var(--white-75);
  font-size: 18px;
  pointer-events: none;
}

.blog-hero-stats {
  display: flex;
  justify-content: center;
  gap: 44px;
  margin-top: 44px;
  flex-wrap: wrap;
}

.blog-hero-stat {
  text-align: center;
}

.blog-hero-stat-num {
  font-size: 26px;
  font-weight: 900;
  color: var(--orange-bright);
  font-family: "Cairo", sans-serif;
}

.blog-hero-stat-label {
  font-size: 12.5px;
  color: var(--white-75);
  margin-top: 4px;
}

/* ---- Filter Bar ---- */
.blog-filter-section {
  background: #fff;
  padding: 34px 0;
  border-bottom: 1px solid var(--gray-4);
}

.blog-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.blog-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 50px;
  border: 1.5px solid var(--gray-4);
  background: #fff;
  color: var(--gray-1);
  font-size: 13.5px;
  font-weight: 700;
  font-family: "Cairo", sans-serif;
  cursor: pointer;
  transition: var(--transition);
}

.blog-filter-pill:hover {
  border-color: var(--orange-primary);
  color: var(--orange-primary);
}

.blog-filter-pill.active {
  background: linear-gradient(135deg, var(--orange-primary), var(--gold));
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-orange);
}

/* ---- Cover gradients (shared with related posts / details page) ---- */
.cover-design {
  background: linear-gradient(135deg, var(--orange-primary), var(--gold));
}

.cover-security {
  background: linear-gradient(135deg, var(--dark-3), var(--dark));
}

.cover-marketing {
  background: linear-gradient(135deg, var(--orange-red), var(--orange-deep));
}

.cover-graphic {
  background: linear-gradient(135deg, var(--gold), var(--orange-bright));
}

.cover-hosting {
  background: linear-gradient(135deg, var(--dark-2), var(--orange-deep));
}

.cover-ecommerce {
  background: linear-gradient(135deg, var(--orange-deep), var(--dark));
}

.cover-pattern {
  position: relative;
}

.cover-pattern::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.25) 1.5px,
      transparent 1.5px);
  background-size: 18px 18px;
  opacity: 0.5;
}

/* ---- Featured Spotlight ---- */
.blog-featured-section {
  padding: 80px 0 10px;
  background: #fff;
}

.blog-featured-card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-4);
  text-decoration: none;
  transition: var(--transition);
}

.blog-featured-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(244, 115, 32, 0.22);
}

.blog-featured-cover {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.blog-featured-cover-icon {
  font-size: 150px;
  color: rgba(255, 255, 255, 0.28);
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.blog-featured-card:hover .blog-featured-cover-icon {
  transform: scale(1.1) rotate(-6deg);
}

.blog-featured-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  color: #fff;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 12.5px;
  font-weight: 800;
}

.blog-featured-content {
  padding: 50px 46px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
}

.blog-featured-cat {
  color: var(--orange-primary);
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-featured-title {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 900;
  color: var(--dark);
  line-height: 1.45;
  margin-bottom: 18px;
  font-family: "Cairo", sans-serif;
}

.blog-featured-excerpt {
  color: var(--gray-2);
  line-height: 1.9;
  font-size: 15.5px;
  margin-bottom: 26px;
}

.blog-featured-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
  color: var(--gray-3);
  font-size: 13px;
}

.blog-featured-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-blog-read {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 13px 28px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--orange-primary), var(--gold));
  color: #fff;
  font-weight: 800;
  font-size: 14.5px;
  box-shadow: var(--shadow-orange);
  transition: var(--transition);
}

.blog-featured-card:hover .btn-blog-read {
  transform: translateX(-4px);
}

/* ---- Bento Grid ---- */
.blog-grid-section {
  padding: 40px 0 110px;
  background: #fff;
}

.blog-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 300px;
  gap: 26px;
  grid-auto-flow: dense;
}

.blog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-4);
  background: #fff;
  text-decoration: none;
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.blog-card--wide {
  grid-column: span 2;
}

.blog-card--tall {
  grid-row: span 2;
}

.blog-card--wide .blog-card-cover {
  flex: 0 0 42%;
}

.blog-card--tall .blog-card-cover {
  flex: 0 0 56%;
}

.blog-card-cover {
  position: relative;
  flex: 0 0 46%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.blog-card-cover i {
  font-size: 62px;
  color: rgba(255, 255, 255, 0.32);
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.blog-card:hover .blog-card-cover i {
  transform: scale(1.15) rotate(-6deg);
}

.blog-card-body {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.blog-card-cat {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--orange-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-card-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.6;
  margin-bottom: 8px;
  font-family: "Cairo", sans-serif;
}

.blog-card--wide .blog-card-title {
  font-size: 18.5px;
}

.blog-card-excerpt {
  font-size: 13.5px;
  color: var(--gray-2);
  line-height: 1.8;
  margin-bottom: auto;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--gray-4);
  font-size: 11.5px;
  color: var(--gray-3);
}

.blog-card-meta span:first-child {
  display: flex;
  align-items: center;
  gap: 5px;
}

.blog-card-link {
  color: var(--orange-primary);
  font-weight: 800;
  font-size: 12.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.blog-card:hover .blog-card-link {
  gap: 9px;
}

/* Filter/search states */
.blog-card.is-hidden,
.blog-featured-card.is-hidden {
  display: none;
}

.blog-empty {
  display: none;
  grid-column: 1 / -1;
  text-align: center;
  padding: 70px 20px;
  color: var(--gray-3);
}

.blog-empty.show {
  display: block;
}

.blog-empty i {
  font-size: 46px;
  margin-bottom: 14px;
  display: block;
  color: var(--gray-4);
}

.blog-empty h3 {
  font-family: "Cairo", sans-serif;
  color: var(--dark);
  font-size: 20px;
  margin-bottom: 8px;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .blog-featured-card {
    grid-template-columns: 1fr;
  }

  .blog-featured-cover {
    min-height: 260px;
  }

  .blog-bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 320px;
  }

  .blog-card--wide {
    grid-column: span 2;
  }
}

@media (max-width: 767px) {
  .blog-hero {
    padding: 150px 0 60px;
  }

  .blog-bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .blog-card--wide,
  .blog-card--tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .blog-featured-content {
    padding: 34px 26px;
  }

  .blog-hero-stats {
    gap: 26px;
  }
}

/* ============================================================
   BLOG DETAILS / ARTICLE PAGE
   ============================================================ */

.post-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: rgba(0, 0, 0, 0.06);
  z-index: 1200;
}

.post-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--orange-primary), var(--gold));
  transition: width 0.1s linear;
}

/* ---- Post Hero ---- */
.post-hero {
  position: relative;
  overflow: hidden;
  padding: 190px 0 90px;
  color: #fff;
}

.post-hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1.5px,
      transparent 1.5px);
  background-size: 20px 20px;
  opacity: 0.5;
}

.post-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0.15) 0%,
      rgba(0, 0, 0, 0.35) 100%);
}

.post-hero-ghost-icon {
  position: absolute;
  font-size: 420px;
  color: rgba(255, 255, 255, 0.08);
  left: -60px;
  bottom: -110px;
  z-index: 0;
  pointer-events: none;
}

.post-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.post-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--white-75);
  margin-bottom: 22px;
}

.post-breadcrumb a {
  color: var(--white-75);
  text-decoration: none;
  transition: var(--transition);
}

.post-breadcrumb a:hover {
  color: #fff;
}

.post-breadcrumb i {
  font-size: 10px;
}

.post-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  color: #fff;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 12.5px;
  font-weight: 800;
  margin-bottom: 22px;
}

.post-hero-title {
  font-size: clamp(28px, 4.2vw, 48px);
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 20px;
  font-family: "Cairo", sans-serif;
  color: #fff;
}

.post-hero-desc {
  font-size: 16.5px;
  color: var(--white-75);
  line-height: 1.9;
  max-width: 680px;
  margin-bottom: 34px;
}

.post-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
}

.post-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.post-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange-primary), var(--gold));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 14px;
  flex-shrink: 0;
}

.post-author-avatar.lg {
  width: 64px;
  height: 64px;
  font-size: 18px;
  margin-bottom: 16px;
}

.post-author div {
  display: flex;
  flex-direction: column;
}

.post-author-name {
  font-weight: 800;
  font-size: 14px;
  color: #fff;
}

.post-author-role {
  font-size: 12px;
  color: var(--white-75);
}

.post-meta-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  color: var(--white-75);
}

/* ---- Post Layout ---- */
.post-body-section {
  background: #fff;
  padding-top: 70px;
}

.post-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  align-items: start;
  padding-bottom: 60px;
}

/* ---- Article Content ---- */
.post-content {
  min-width: 0;
  font-family: "Cairo", sans-serif;
  color: var(--gray-1);
}

.post-lead {
  font-size: 19px;
  line-height: 2;
  color: var(--dark);
  font-weight: 500;
}

.post-content>p {
  font-size: 16px;
  line-height: 2;
  margin-bottom: 26px;
  color: var(--gray-1);
}

.post-content h2 {
  font-size: 25px;
  font-weight: 900;
  color: var(--dark);
  margin: 46px 0 20px;
  padding-right: 18px;
  border-right: 4px solid var(--orange-primary);
  line-height: 1.5;
}

.post-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.post-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--gray-1);
}

.post-list li i {
  color: var(--orange-primary);
  font-size: 17px;
  margin-top: 2px;
  flex-shrink: 0;
}

.post-callout {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(244, 115, 32, 0.06);
  border: 1px solid rgba(244, 115, 32, 0.18);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin: 12px 0 28px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--gray-1);
}

.post-callout i {
  font-size: 24px;
  color: var(--orange-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.post-callout.callout-stat {
  background: rgba(17, 24, 39, 0.04);
  border-color: var(--gray-4);
}

.post-callout.callout-stat i {
  color: var(--dark-3);
}

.post-quote {
  position: relative;
  margin: 32px 0;
  padding: 30px 34px;
  background: linear-gradient(135deg, #fff8f2, #fffefb);
  border-right: 4px solid var(--gold);
  border-radius: var(--radius-md);
}

.post-quote i {
  font-size: 30px;
  color: var(--gold);
  margin-bottom: 10px;
  display: block;
}

.post-quote p {
  font-size: 19px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.8;
  font-style: italic;
  margin: 0;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--gray-4);
}

.post-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #f8f9fa;
  color: var(--gray-1);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 50px;
}

.post-tag i {
  color: var(--orange-primary);
  font-size: 12px;
}

/* ---- Sidebar ---- */
.post-sidebar {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.post-side-card {
  background: #f8f9fa;
  border: 1px solid var(--gray-4);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
}

.post-side-card h4 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 18px;
  font-family: "Cairo", sans-serif;
}

.post-side-card h4 i {
  color: var(--orange-primary);
}

.post-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.post-toc a {
  display: block;
  padding: 9px 14px;
  border-right: 2px solid transparent;
  color: var(--gray-2);
  text-decoration: none;
  font-size: 13.5px;
  line-height: 1.6;
  transition: var(--transition);
  border-radius: 0 8px 8px 0;
}

.post-toc a:hover {
  color: var(--orange-primary);
  background: rgba(244, 115, 32, 0.06);
}

.post-toc a.active {
  color: var(--orange-primary);
  border-right-color: var(--orange-primary);
  background: rgba(244, 115, 32, 0.08);
  font-weight: 800;
}

.post-share-btns {
  display: flex;
  gap: 10px;
}

.post-share-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--gray-4);
  color: var(--gray-1);
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.post-share-btn:hover {
  transform: translateY(-3px);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-sm);
}

.post-share-btn.share-whatsapp:hover {
  background: #25d366;
}

.post-share-btn.share-x:hover {
  background: #000;
}

.post-share-btn.share-linkedin:hover {
  background: #0a66c2;
}

.post-share-btn.share-copy:hover {
  background: var(--orange-primary);
}

.post-copy-toast {
  display: block;
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--orange-primary);
  font-weight: 700;
  opacity: 0;
  transform: translateY(-4px);
  transition: var(--transition);
}

.post-copy-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.post-author-card {
  text-align: center;
}

.post-author-card h4 {
  justify-content: center;
  margin-bottom: 10px;
}

.post-author-card p {
  font-size: 13.5px;
  color: var(--gray-2);
  line-height: 1.8;
  margin-bottom: 20px;
}

.btn-side-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--orange-primary), var(--gold));
  color: #fff;
  font-weight: 800;
  font-size: 13.5px;
  box-shadow: var(--shadow-orange);
  transition: var(--transition);
}

.btn-side-cta:hover {
  color: #fff;
  transform: translateY(-2px);
}

/* ---- Related Posts ---- */
.related-posts-section {
  padding: 90px 0 110px;
  background: #f8f9fa;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 50px;
}

.related-posts-grid .blog-card-cover {
  flex: 0 0 200px;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .post-layout {
    grid-template-columns: 1fr;
  }

  .post-sidebar {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .post-side-card {
    flex: 1 1 260px;
  }

  .related-posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .post-hero {
    padding: 150px 0 60px;
  }

  .post-hero-ghost-icon {
    font-size: 260px;
  }

  .post-content h2 {
    font-size: 21px;
  }

  .post-sidebar {
    flex-direction: column;
  }

  .related-posts-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   BLOG IMAGE-STYLE CARDS (Inspired by the reference image)
   ============================================================ */

.blog-card-img {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--gray-4);
  text-decoration: none;
  transition: var(--transition);
  height: 100%;
  padding: 14px;
  box-shadow: var(--shadow-sm);
}

.blog-card-img:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

/* Default (resting) layout: image on top, title + button below.
   On hover the two blocks swap places â€” content rises to the top and the
   image drops underneath it, with the button ending up overlapping the
   image's top edge, exactly like the reference card. */
.blog-card-img__image {
  order: 2;
  height: 220px;
  border-radius: 18px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: filter 0.5s ease, transform 0.5s ease;
  animation: blogSwapFade 0.6s ease;
}

.blog-card-img:hover .blog-card-img__image {
  order: 2;
  margin-bottom: 0;
  filter: brightness(0.92);
  transform: scale(1.02);
  animation: blogSwapFade 0.6s ease, blogSwapOrderImage 0.6s steps(1, end);
}

.blog-card-img__image i {
  font-size: 52px;
  color: rgba(255, 255, 255, 0.35);
  z-index: 1;
  transition: var(--transition);
}

.blog-card-img:hover .blog-card-img__image i {
  transform: scale(1.1);
  color: rgba(255, 255, 255, 0.6);
}

.blog-card-img__content {
  order: 1;
  padding: 4px 8px 8px;
  background: #fff;
  position: relative;
  z-index: 2;
  animation: blogSwapFade 0.6s ease;
}

.blog-card-img:hover .blog-card-img__content {
  order: 1;
  animation: blogSwapFade 0.6s ease, blogSwapOrderContent 0.6s steps(1, end);
}

/* The order swap happens instantly, timed to the mid-point of the fade so
   the jump is hidden while everything is momentarily invisible */
@keyframes blogSwapFade {
  0% {
    opacity: 1;
  }

  42% {
    opacity: 0;
  }

  58% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}



.blog-card-img__title {
  font-size: 19px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.5;
  margin-bottom: 14px;
  font-family: "Cairo", sans-serif;
  transition: color 0.35s ease;
}

.blog-card-img:hover .blog-card-img__title {
  color: var(--orange-primary);
}

/* Extra content (meta + excerpt) is collapsed by default so the card only
   shows image + title + button. On hover it fades/slides up into view,
   timed to appear just after the swap has happened. */
.blog-card-img__extra {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.45s 0.32s ease, opacity 0.4s 0.32s ease;
}

.blog-card-img:hover .blog-card-img__extra {
  max-height: 220px;
  opacity: 1;
  margin-bottom: 4px;
}

.blog-card-img__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  margin-top: 2px;
}

.blog-card-img__meta span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gray-1);
  background: #f3f4f6;
  padding: 6px 14px;
  border-radius: 999px;
}

.blog-card-img__meta span i {
  color: var(--orange-primary);
  font-size: 13px;
}

.blog-card-img__excerpt {
  font-size: 14px;
  color: var(--gray-2);
  line-height: 1.8;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-img__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--dark);
  font-weight: 800;
  font-size: 14px;
  padding: 7px 7px 7px 20px;
  border: 1.5px solid var(--dark);
  border-radius: 999px;
  position: relative;
  z-index: 3;
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease,
    gap 0.35s ease, margin-bottom 0.4s 0.32s ease, box-shadow 0.4s 0.32s ease;
}

.blog-card-img__link i {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: var(--transition);
}

.blog-card-img:hover .blog-card-img__link {
  gap: 14px;
  color: var(--orange-bright);
  background: #fff;
  border-color: #fff;
  /* pull the button down so it overlaps the image sitting right beneath it,
     as if it's cut into the image â€” matching the reference card */
  margin-bottom: -34px;
  box-shadow: var(--shadow-md);
  right: -8px;
  position: absolute;
}

.blog-card-img:hover .blog-card-img__link i {
  background: var(--orange-primary);
  border-color: var(--orange-primary);
  color: #fff;
  transform: translateX(-4px);
}

/* Fade-up reveal for the meta/excerpt as they appear on hover, timed after
   the swap so the text visibly rises into its new spot at the top */
@keyframes blogCardFadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.blog-card-img:hover .blog-card-img__meta {
  animation: blogCardFadeUp 0.5s 0.34s ease both;
}

.blog-card-img:hover .blog-card-img__excerpt {
  animation: blogCardFadeUp 0.5s 0.42s ease both;
}

/* --- Related posts using same style --- */
.related-posts-grid .blog-card-img {
  box-shadow: none;
  border-color: var(--gray-4);
}

.related-posts-grid .blog-card-img__image {
  height: 150px;
}

.related-posts-grid .blog-card-img__extra {
  display: none;
}

/* --- Responsive --- */
@media (max-width: 991px) {
  .blog-card-img__image {
    height: 150px;
  }
}

@media (max-width: 576px) {
  .blog-card-img__image {
    height: 130px;
  }

  .blog-card-img__title {
    font-size: 16px;
  }
}

/* Remove old bento grid styles that are no longer used */
.blog-bento-grid,
.blog-featured-section,
.blog-filter-section {
  display: none !important;
}

.blog-card-img__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================
   POST SIDEBAR â€” Related Posts
   ============================================================ */

.post-related-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.post-related-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--gray-4);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.post-related-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(244, 115, 32, 0.08), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.post-related-item:hover {
  border-color: var(--orange-primary);
  transform: translateX(-4px);
  box-shadow: var(--shadow-sm);
}

.post-related-item:hover::before {
  opacity: 1;
}

.post-related-item:hover .post-related-arrow {
  transform: translateX(-4px);
  color: var(--orange-primary);
}

.post-related-num {
  font-size: 12px;
  font-weight: 900;
  color: var(--gray-3);
  min-width: 28px;
  font-family: "Cairo", sans-serif;
  transition: var(--transition);
}

.post-related-item:hover .post-related-num {
  color: var(--orange-primary);
}

.post-related-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.post-related-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: var(--transition);
}

.post-related-item:hover .post-related-title {
  color: var(--orange-primary);
}

.post-related-date {
  font-size: 11px;
  color: var(--gray-3);
  display: flex;
  align-items: center;
  gap: 4px;
}

.post-related-date i {
  font-size: 10px;
}

.post-related-arrow {
  color: var(--gray-4);
  font-size: 14px;
  transition: var(--transition);
  flex-shrink: 0;
}

.post-related-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange-primary);
  font-weight: 800;
  font-size: 13px;
  text-decoration: none;
  transition: var(--transition);
  padding: 6px 0;
}

.post-related-all:hover {
  gap: 12px;
  color: var(--orange-deep);
}

/* --- Responsive --- */
@media (max-width: 576px) {
  .post-related-item {
    padding: 8px 10px;
  }

  .post-related-title {
    font-size: 12px;
  }

  .post-related-date {
    font-size: 10px;
  }
}

/* ============================================
   BEFORE FAQ SECTION
   ============================================ */
.before-faq-section {
  padding: 60px 0 20px;
}

.before-faq-card {
  background: linear-gradient(135deg, var(--dark-2) 0%, var(--dark-3) 100%);
  border: 1px solid rgba(244, 115, 32, 0.2);
  border-radius: var(--radius-xl);
  padding: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.before-faq-card::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(244, 115, 32, 0.25), transparent);
  border-radius: 50%;
  pointer-events: none;
}

.quick-highlights {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.q-highlight-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.q-highlight-item:hover {
  background: rgba(244, 115, 32, 0.1);
  border-color: rgba(244, 115, 32, 0.3);
  transform: translateX(-6px);
}

.q-highlight-item .q-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--orange-primary), var(--orange-deep));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
  flex-shrink: 0;
  box-shadow: var(--shadow-orange);
}

.q-highlight-item h5 {
  color: white;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 2px 0;
}

.q-highlight-item p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  margin: 0;
}

/* ============================================
   PARTNERS AUTO SLIDER SECTION
   ============================================ */
.partners-section {
  padding: 90px 0;
  background: #f9fafb;
  overflow: hidden;
  position: relative;
}

.partners-slider-wrapper {
  margin-top: 40px;
  position: relative;
  width: 100%;
  overflow: hidden;
  /* Mask fade effect for soft edges */
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.partners-track {
  display: flex;
  align-items: center;
  gap: 32px;
  width: max-content;
  animation: partnersAutoScroll 35s linear infinite;
  will-change: transform;
  padding-top: 20px;
}

.partners-slider-wrapper:hover .partners-track {
  animation-play-state: paused;
}

.partner-card {
  width: 190px;
  height: 100px;
  background: white;
  border: 1px solid var(--gray-4);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  flex-shrink: 0;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.partner-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.65);
  transition: var(--transition);
}

.partner-card:hover {
  transform: translateY(-6px);
  border-color: rgba(244, 115, 32, 0.4);
  box-shadow: var(--shadow-md);
}

.partner-card:hover img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.08);
}

/* RTL Infinite Scroll Animation */
@keyframes partnersAutoScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(50%);
  }
}

/* =========================================================
   MOBILE: Force Hover Styles to be Always Visible
   ========================================================= */
@media (max-width: 991.98px) {

  /* ---------- SERVICES CARDS ---------- */
  /* نفس ستايل hover بالضبط */
  .service-card {
    height: 380px !important;
    transform: translateY(-8px) !important;
    box-shadow: 0 25px 60px rgba(244, 115, 32, .25) !important;
  }

  .service-card::before {
    opacity: 1 !important;
  }

  .service-card .service-icon {
    transform: translate(90px, -15px) scale(.78) !important;
    background: transparent !important;
    color: #fff !important;
  }

  .service-card h3 {
    text-align: right !important;
    color: #fff !important;
    margin-top: -35px !important;
  }

  .service-card p {
    opacity: 1 !important;
    max-height: 150px !important;
    transform: translateY(0) !important;
  }

  .service-card .card-link {
    opacity: 1 !important;
  }

  .service-card .card-glow {
    opacity: 1 !important;
    transform: scale(2) !important;
  }

  /* ---------- BLOG CARDS (blog-card-img) ---------- */
  /* نفس ستايل hover بالضبط */
  .blog-card-img {
    transform: translateY(-8px) !important;
    box-shadow: var(--shadow-lg) !important;
    border-color: transparent !important;
  }

  .blog-card-img .blog-card-img__image {
    order: 2 !important;
    margin-bottom: 0 !important;
    filter: brightness(0.92) !important;
    transform: scale(1.02) !important;
  }

  .blog-card-img .blog-card-img__image i {
    transform: scale(1.1) !important;
    color: rgba(255, 255, 255, 0.6) !important;
  }

  .blog-card-img .blog-card-img__content {
    order: 1 !important;
  }

  .blog-card-img .blog-card-img__title {
    color: var(--orange-primary) !important;
  }

  .blog-card-img .blog-card-img__extra {
    max-height: 220px !important;
    opacity: 1 !important;
    margin-bottom: 4px !important;
  }

  .blog-card-img .blog-card-img__meta {
    animation: blogCardFadeUp 0.5s 0.34s ease both !important;
  }

  .blog-card-img .blog-card-img__excerpt {
    animation: blogCardFadeUp 0.5s 0.42s ease both !important;
  }

  .blog-card-img .blog-card-img__link {
    gap: 14px !important;
    color: var(--orange-bright) !important;
    background: #fff !important;
    border-color: #fff !important;
    margin-bottom: -34px !important;
    box-shadow: var(--shadow-md) !important;
    position: absolute !important;
    right: -8px !important;
  }

  .blog-card-img .blog-card-img__link i {
    background: var(--orange-primary) !important;
    border-color: var(--orange-primary) !important;
    color: #fff !important;
    transform: translateX(-4px) !important;
  }
}

.qp-modal-overlay.active .qp-modal {
  opacity: 1;
  transform: translateY(0) scale(1);
}