/* ==========================================================================
   TERACOLOGY LUXURY UI COMPONENTS STYLESHEET — 100% RESPONSIVE NO-OVERFLOW EDITION
   ========================================================================== */

/* --------------------------------------------------
   0. WORDPRESS-STYLE ADMIN TOP BAR
-------------------------------------------------- */
.admin-top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 38px;
  background: #080c13;
  border-bottom: 1px solid rgba(56, 225, 219, 0.3);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  font-family: 'Cairo', 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem;
  color: #c9d1d9;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

body.has-admin-bar {
  padding-top: 38px !important;
}

body.has-admin-bar .navbar {
  top: 38px !important;
}

.admin-bar-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #c9d1d9;
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 4px;
  transition: all 0.2s ease;
  cursor: pointer;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
}

.admin-bar-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #38e1db;
}

.admin-bar-item.highlight {
  background: rgba(0, 161, 156, 0.18);
  color: #38e1db;
  border: 1px solid rgba(56, 225, 219, 0.3);
  font-weight: 700;
}

.admin-bar-badge {
  background: #00a19c;
  color: #070a0e;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 10px;
  font-size: 0.7rem;
}

.admin-bar-dropdown {
  position: relative;
}

.admin-bar-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: #111722;
  border: 1px solid rgba(56, 225, 219, 0.25);
  border-radius: 6px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.9);
  min-width: 170px;
  display: none;
  flex-direction: column;
  padding: 4px;
  z-index: 10001;
}

.admin-bar-dropdown:hover .admin-bar-dropdown-menu {
  display: flex;
}

.admin-bar-dropdown-link {
  padding: 7px 12px;
  color: #e6edf3;
  text-decoration: none;
  font-size: 0.78rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s ease;
}

.admin-bar-dropdown-link:hover {
  background: rgba(0, 161, 156, 0.15);
  color: #38e1db;
}

@media (max-width: 768px) {
  .admin-bar-text-mobile-hide {
    display: none;
  }
}

/* --------------------------------------------------
   1. NAVBAR & HEADER
-------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  z-index: 1000;
  padding: 10px 0;
  background: var(--bg-glass-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  padding: 8px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85);
  border-bottom-color: var(--brand-border);
}

.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo img {
  height: 78px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-smooth);
}

.nav-logo:hover img {
  transform: scale(1.03);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-drawer-header,
.mobile-drawer-cta,
.mobile-submenu-toggle {
  display: none !important;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-link-dropdown-wrap {
  display: inline-flex;
  align-items: center;
}

.nav-link {
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  background: transparent;
  border: none;
  text-decoration: none;
}

[dir="rtl"] .nav-link {
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-gradient);
  transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.desktop-chevron {
  font-size: 0.65rem;
  margin-left: 4px;
  transition: transform var(--transition-smooth);
  color: var(--brand-cyan);
}

[dir="rtl"] .desktop-chevron {
  margin-left: 0;
  margin-right: 4px;
}

.nav-item:hover .desktop-chevron {
  transform: rotate(180deg);
}

/* Services Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  width: 320px;
  background: var(--bg-card);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85), 0 0 25px var(--brand-glow);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  z-index: 100;
}

[dir="rtl"] .dropdown-menu {
  left: auto;
  right: 50%;
  transform: translateX(50%) translateY(12px);
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

[dir="rtl"] .nav-item:hover .dropdown-menu {
  transform: translateX(50%) translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.925rem;
  font-weight: 600;
  transition: var(--transition-smooth);
}

[dir="rtl"] .dropdown-item {
  font-size: 1.02rem;
  font-weight: 600;
}

.dropdown-item:hover {
  background: rgba(var(--brand-primary-rgb), 0.15);
  color: #ffffff;
  transform: translateX(4px);
}

[dir="rtl"] .dropdown-item:hover {
  transform: translateX(-4px);
}

.dropdown-item-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.lang-switch-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.lang-switch-btn:hover {
  background: rgba(var(--brand-primary-rgb), 0.18);
  border-color: var(--brand-primary);
  color: #ffffff;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--brand-primary);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 6px;
}

.mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  pointer-events: none;
}

.mobile-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* --------------------------------------------------
   2. BUTTONS
-------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 30px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.925rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand-gradient);
  color: #070a0e;
  box-shadow: 0 8px 24px var(--brand-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(var(--brand-primary-rgb), 0.45);
  filter: brightness(1.1);
  color: #000000;
}

.btn-outline {
  background: rgba(17, 23, 34, 0.6);
  color: var(--brand-cyan);
  border: 1px solid var(--brand-border);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(var(--brand-primary-rgb), 0.15);
  border-color: var(--brand-primary);
  transform: translateY(-3px);
  color: #ffffff;
}

.btn-whatsapp {
  background: #25D366;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: #20BA5A;
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.55);
  transform: translateY(-3px);
  color: #ffffff;
}

/* --------------------------------------------------
   3. HOME HERO SECTION
-------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 0 70px;
  margin-bottom: 40px;
  background: linear-gradient(180deg, rgba(7, 10, 14, 0.5) 0%, rgba(7, 10, 14, 0.96) 100%), url('/assets/images/hero_bg.jpg') center/cover no-repeat;
  overflow: hidden;
  width: 100%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(var(--brand-primary-rgb), 0.15) 0%, rgba(7, 10, 14, 0.96) 80%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 970px;
  width: 100%;
  text-align: center;
  animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) backwards;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  font-size: clamp(1.85rem, 3.0vw, 3.45rem);
  margin-bottom: 20px;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.9);
  line-height: 1.25;
  animation: heroFadeUp 0.9s 0.15s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.hero-subtitle {
  font-size: clamp(1.0rem, 1.5vw, 1.25rem);
  max-width: 820px;
  margin: 0 auto 34px;
  color: #e2e8f0;
  line-height: 1.8;
  animation: heroFadeUp 0.9s 0.25s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: heroFadeUp 0.9s 0.35s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

/* --------------------------------------------------
   4. INFINITE MARQUEE (SMOOTH & ZERO OVERFLOW ON MOBILE)
-------------------------------------------------- */
.marquee-section {
  background: var(--bg-dark-surface);
  padding: 26px 0;
  margin-bottom: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
  direction: ltr !important; /* Force LTR coordinate root for seamless infinite looping in Arabic & English */
}

.marquee-title {
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 700;
  padding: 0 16px;
  direction: rtl;
}

[dir="ltr"] .marquee-title {
  direction: ltr;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
  direction: ltr !important;
  animation: marquee-anim 36s linear infinite;
  will-change: transform;
}

@keyframes marquee-anim {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

.partner-logo-item {
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.partner-logo-item i {
  color: var(--brand-primary);
  font-size: 1.1rem;
}

.partner-logo-item:hover {
  border-color: var(--brand-primary);
  color: #ffffff;
  background: rgba(var(--brand-primary-rgb), 0.1);
  box-shadow: 0 0 15px var(--brand-glow);
}

/* --------------------------------------------------
   5. SECTIONS & REFINED HEADERS
-------------------------------------------------- */
.section {
  padding: 80px 0;
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.section-header {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 45px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 8px;
}

.section-title {
  font-size: clamp(1.6rem, 2.5vw, 2.45rem);
  font-weight: 800;
  margin-bottom: 14px;
  color: #ffffff;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.section-title .brand-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* --------------------------------------------------
   6. OUR STORY SPLIT SECTION
-------------------------------------------------- */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: stretch;
}

.story-text-card {
  background: var(--bg-card);
  border: 1px solid var(--brand-border);
  padding: 38px 32px;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 25px var(--brand-glow);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

[dir="rtl"] .story-text-card {
  align-items: flex-start;
}

.story-text-card p {
  color: var(--text-muted);
  font-size: 1.025rem;
  line-height: 1.85;
}

.story-3d-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--brand-border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px var(--brand-glow);
  height: 100%;
  min-height: 320px;
  display: flex;
}

.story-3d-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.story-3d-visual:hover img {
  transform: scale(1.03);
}

/* --------------------------------------------------
   7. SERVICES GRID (RESPONSIVE)
-------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 26px;
}

.service-card-lux {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card-lux:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.85), 0 0 30px var(--brand-glow);
  border-color: var(--brand-primary);
}

.service-card-img-box {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  display: block;
  cursor: pointer;
}

.service-card-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card-lux:hover .service-card-img-box img {
  transform: scale(1.08);
}

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 10, 14, 0.15) 0%, rgba(17, 23, 34, 0.95) 100%);
}

.service-card-floating-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(7, 10, 14, 0.88);
  border: 1px solid var(--brand-border);
  color: var(--brand-cyan);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(10px);
}

[dir="rtl"] .service-card-floating-badge {
  right: auto;
  left: 14px;
}

.service-card-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #ffffff;
  font-weight: 700;
}

.service-card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 18px;
  flex-grow: 1;
}

.service-card-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* --------------------------------------------------
   8. STATS COUNTER & IMAGE SHOWCASE
-------------------------------------------------- */
.stats-section {
  background: linear-gradient(180deg, var(--bg-dark-surface) 0%, var(--bg-dark) 100%);
  border-top: 1px solid var(--brand-border);
  border-bottom: 1px solid var(--brand-border);
  padding: 75px 0;
  width: 100%;
  overflow: hidden;
}

.stats-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.stat-box {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 12px;
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition-smooth);
}

.stat-box:hover {
  border-color: var(--brand-primary);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 0 20px var(--brand-glow);
}

.stat-number {
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 800;
  color: var(--brand-primary);
  line-height: 1;
  margin-bottom: 6px;
  text-shadow: 0 0 20px var(--brand-glow);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.concept-showcase-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--brand-border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 25px var(--brand-glow);
}

.concept-showcase-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.concept-showcase-card:hover img {
  transform: scale(1.03);
}

/* --------------------------------------------------
   9. 4-STEP STRATEGIC PROCESS
-------------------------------------------------- */
.process-flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.process-step-box {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px 20px;
  border-radius: var(--radius-lg);
  position: relative;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.process-step-box:hover {
  border-color: var(--brand-primary);
  background: var(--bg-card-hover);
  transform: translateY(-6px);
  box-shadow: 0 12px 32px var(--brand-glow);
}

.process-step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.process-step-number {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--brand-primary);
  line-height: 1;
}

.process-step-arrow-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(var(--brand-primary-rgb), 0.12);
  border: 1px solid var(--brand-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-cyan);
  font-size: 0.85rem;
}

.process-step-title {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: #ffffff;
  font-weight: 700;
}

.process-step-desc {
  font-size: 0.925rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* --------------------------------------------------
   10. WHY PARTNER WITH US (3x2 CARDS)
-------------------------------------------------- */
.why-us-grid-3x2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.why-us-card-lux {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 30px 24px;
  border-radius: var(--radius-lg);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.why-us-card-lux::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--brand-gradient);
  opacity: 0;
  transition: var(--transition-smooth);
}

.why-us-card-lux:hover {
  border-color: var(--brand-primary);
  background: var(--bg-card-hover);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85), 0 0 25px var(--brand-glow);
}

.why-us-card-lux:hover::before {
  opacity: 1;
}

.why-us-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: rgba(var(--brand-primary-rgb), 0.12);
  border: 1px solid var(--brand-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-cyan);
  font-size: 1.3rem;
  margin-bottom: 18px;
  transition: var(--transition-smooth);
}

.why-us-card-lux:hover .why-us-icon-wrap {
  background: var(--brand-gradient);
  color: #070a0e;
  transform: scale(1.08);
  box-shadow: 0 0 20px var(--brand-glow);
}

.why-us-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.why-us-card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* --------------------------------------------------
   11. TESTIMONIALS (3-CARD MULTI CAROUSEL SLIDER)
-------------------------------------------------- */
.testimonials-carousel-wrapper {
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
  overflow: hidden;
  width: 100%;
}

.testimonials-carousel-viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 10px 0 20px;
  width: 100%;
}

.testimonials-carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  width: 100%;
}

.testimonial-carousel-slide {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
  padding: 0 10px;
  box-sizing: border-box;
}

.testimonial-card-lux {
  background: var(--bg-card);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  height: 100%;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.75), 0 0 20px var(--brand-glow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

.testimonial-card-lux:hover {
  transform: translateY(-5px);
  border-color: var(--brand-cyan);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.9), 0 0 30px var(--brand-glow);
}

.testimonial-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.testimonial-stars {
  color: var(--brand-amber);
  font-size: 0.95rem;
  display: flex;
  gap: 3px;
}

.verified-pill {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(var(--brand-primary-rgb), 0.12);
  border: 1px solid var(--brand-border);
  color: var(--brand-cyan);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
}

.testimonial-quote-lux {
  font-size: 0.975rem;
  line-height: 1.8;
  color: #f1f5f9;
  margin-bottom: 20px;
  font-style: normal;
  flex-grow: 1;
}

.testimonial-author-box {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px;
}

.testimonial-avatar-initials {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(var(--brand-primary-rgb), 0.2);
  border: 2px solid var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  flex-shrink: 0;
  box-shadow: 0 0 15px var(--brand-glow);
}

.testimonial-name {
  font-size: 0.925rem;
  font-weight: 700;
  color: #ffffff;
}

.testimonial-role {
  font-size: 0.775rem;
  color: var(--text-dim);
}

/* Carousel Controls */
.carousel-nav-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}

.carousel-arrow-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--brand-border);
  color: var(--brand-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.carousel-arrow-btn:hover {
  background: var(--brand-gradient);
  color: #070a0e;
  transform: scale(1.08);
  box-shadow: 0 0 15px var(--brand-glow);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.carousel-dot.active {
  width: 24px;
  border-radius: var(--radius-full);
  background: var(--brand-primary);
  box-shadow: 0 0 10px var(--brand-primary);
}

/* --------------------------------------------------
   12. DYNAMIC SCOPE BUILDER (100% RESPONSIVE)
-------------------------------------------------- */
.calculator-wrap {
  background: var(--bg-card);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 25px var(--brand-glow);
  margin-top: 40px;
  width: 100%;
}

.calc-step-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-cyan);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.calc-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.calc-type-card {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--bg-dark-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.calc-type-card.active, .calc-type-card:hover {
  background: rgba(var(--brand-primary-rgb), 0.15);
  border-color: var(--brand-primary);
  box-shadow: 0 0 20px var(--brand-glow);
}

.calc-type-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.calc-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  margin-bottom: 26px;
}

.calc-feature-card {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-dark-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.calc-feature-card.active {
  background: rgba(var(--brand-primary-rgb), 0.2);
  border-color: var(--brand-cyan);
  box-shadow: 0 0 15px var(--brand-glow);
}

.calc-feature-name {
  font-size: 0.925rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.calc-feature-checkbox {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid var(--brand-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #070a0e;
  flex-shrink: 0;
}

.calc-feature-card.active .calc-feature-checkbox {
  background: var(--brand-cyan);
  border-color: var(--brand-cyan);
}

.calc-summary-box {
  background: var(--bg-dark-surface);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

/* --------------------------------------------------
   13. PROPOSAL FORM SECTION
-------------------------------------------------- */
.quote-section {
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-surface) 100%);
  border-top: 1px solid var(--brand-border);
  padding: 80px 0;
  width: 100%;
  overflow: hidden;
}

.quote-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
}

.quote-info-side {
  padding-right: 8px;
}

[dir="rtl"] .quote-info-side {
  padding-right: 0;
  padding-left: 8px;
}

.social-icons-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.social-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--brand-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
  font-size: 1.1rem;
  transition: var(--transition-smooth);
}

.social-icon-btn:hover {
  background: var(--brand-gradient);
  color: #070a0e;
  transform: translateY(-3px);
  box-shadow: 0 0 20px var(--brand-glow);
}

.quote-form-card {
  background: var(--bg-card);
  border: 1px solid var(--brand-border);
  padding: 34px 28px;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px var(--brand-glow);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  display: block;
  font-size: 0.825rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 600;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 14px;
  background: rgba(7, 10, 14, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 15px var(--brand-glow);
  background: rgba(7, 10, 14, 0.95);
}

.form-select option {
  background: var(--bg-card);
  color: var(--text-main);
}

/* --------------------------------------------------
   14. COMPACT INNER PAGE HERO
-------------------------------------------------- */
.service-hero-immersive {
  position: relative;
  padding-top: calc(var(--header-height) + 1.25rem);
  padding-bottom: 2rem;
  margin-bottom: 40px;
  overflow: hidden;
  text-align: center;
  min-height: auto;
  width: 100%;
}

.service-hero-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  filter: blur(2px);
  z-index: 0;
}

.service-hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 40%, rgba(var(--brand-primary-rgb), 0.18) 0%, rgba(7, 10, 14, 0.96) 80%);
  z-index: 1;
}

.service-hero-content {
  position: relative;
  z-index: 2;
  max-width: 950px;
  margin: 0 auto;
}

.service-hero-content .hero-title {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  margin-bottom: 12px;
}

.service-hero-content .hero-subtitle {
  font-size: 1.025rem;
  margin-bottom: 22px;
  line-height: 1.7;
}

.service-split-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  margin: 1rem 0 3.5rem;
  background: var(--bg-card);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.service-mockup-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--brand-border);
  box-shadow: 0 0 30px var(--brand-glow);
}

.service-mockup-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.deliverables-grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.deliverable-card {
  background: var(--bg-dark-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: var(--transition-smooth);
}

.deliverable-card:hover {
  border-color: var(--brand-primary);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px var(--brand-glow);
}

.deliverable-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.deliverable-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.scope-box {
  background: rgba(4, 106, 105, 0.15);
  border: 1px dashed var(--brand-border);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-top: 18px;
}

.scope-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-cyan);
  margin-bottom: 10px;
}

.scope-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.scope-pill {
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.825rem;
  color: var(--text-main);
}

/* --------------------------------------------------
   15. 3-COLUMN UNIFIED VISION / MISSION / PROMISE
-------------------------------------------------- */
.vision-mission-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 70px;
}

.vm-card {
  background: var(--bg-card);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.vm-card:hover {
  border-color: var(--brand-cyan);
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8), 0 0 25px var(--brand-glow);
}

.vm-icon-box {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: rgba(var(--brand-primary-rgb), 0.12);
  border: 1px solid var(--brand-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-cyan);
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.vm-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.vm-card-desc {
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 0.95rem;
}

/* --------------------------------------------------
   16. VALUES & ADVANTAGES CARDS
-------------------------------------------------- */
.values-grid-luxury {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.value-card-lux {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
}

.value-card-lux:hover {
  border-color: var(--brand-primary);
  background: var(--bg-card-hover);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 25px var(--brand-glow);
}

.value-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.value-card-num {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--brand-cyan);
  line-height: 1;
}

.value-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(var(--brand-primary-rgb), 0.12);
  border: 1px solid var(--brand-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
  font-size: 1.1rem;
}

.value-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.value-card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* Service Advantages */
.advantages-grid-lux {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.advantage-card-lux {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  transition: var(--transition-smooth);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.advantage-card-lux:hover {
  border-color: var(--brand-primary);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px var(--brand-glow);
}

.advantage-icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(var(--brand-primary-rgb), 0.14);
  border: 1px solid var(--brand-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-cyan);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.advantage-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.advantage-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --------------------------------------------------
   17. REGIONAL & GLOBAL REACH HUB
-------------------------------------------------- */
.reach-hub-box {
  background: var(--bg-card);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  margin-top: 70px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px var(--brand-glow);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: center;
}

.reach-hub-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.reach-hub-desc {
  color: var(--text-muted);
  line-height: 1.85;
  font-size: 1.025rem;
  margin-bottom: 16px;
}

.reach-features-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.reach-feature-item {
  background: var(--bg-dark-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: var(--transition-smooth);
}

.reach-feature-item:hover {
  border-color: var(--brand-primary);
  transform: translateX(4px);
}

[dir="rtl"] .reach-feature-item:hover {
  transform: translateX(-4px);
}

.reach-feature-item i {
  font-size: 1.3rem;
  color: var(--brand-cyan);
  flex-shrink: 0;
}

.reach-feature-title {
  font-size: 1.0rem;
  font-weight: 700;
  color: #ffffff;
}

.reach-feature-sub {
  font-size: 0.825rem;
  color: var(--text-dim);
}

/* --------------------------------------------------
   18. FAQ ACCORDION
-------------------------------------------------- */
.faq-container {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item.active {
  border-color: var(--brand-primary);
  box-shadow: 0 8px 30px var(--brand-glow);
}

.faq-question {
  width: 100%;
  padding: 18px 20px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: inherit;
  font-size: 1.0rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  text-align: left;
}

[dir="rtl"] .faq-question {
  text-align: right;
}

.faq-icon {
  font-size: 0.85rem;
  color: var(--brand-primary);
  transition: transform var(--transition-smooth);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 20px 18px;
}

.faq-answer-text {
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
}

/* --------------------------------------------------
   19. PORTFOLIO PAGE
-------------------------------------------------- */
.portfolio-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.portfolio-filter-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.portfolio-filter-btn.active, .portfolio-filter-btn:hover {
  background: rgba(var(--brand-primary-rgb), 0.2);
  border-color: var(--brand-primary);
  color: #ffffff;
  box-shadow: 0 0 20px var(--brand-glow);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 26px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-primary);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.85), 0 0 30px var(--brand-glow);
}

.project-img-wrap {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

.project-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 10, 14, 0.1) 0%, rgba(7, 10, 14, 0.85) 100%);
}

.project-card-body {
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-category-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.project-title {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #ffffff;
}

.project-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 14px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.project-tag {
  font-size: 0.725rem;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-dim);
}

.project-metric-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: rgba(var(--brand-primary-rgb), 0.12);
  border: 1px solid var(--brand-border);
  color: var(--brand-cyan);
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: auto;
}

/* --------------------------------------------------
   20. FLOATING WHATSAPP & FOOTER
-------------------------------------------------- */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #ffffff;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45);
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

[dir="rtl"] .floating-whatsapp {
  right: auto;
  left: 2rem;
}

.floating-whatsapp:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 14px 40px rgba(37, 211, 102, 0.65);
  color: #ffffff;
}

.site-footer {
  background: #040608;
  padding: 65px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  width: 100%;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-brand img {
  height: 80px;
  width: auto;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin: 16px 0;
  max-width: 340px;
}

.footer-col-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
}

.footer-link-item {
  margin-bottom: 10px;
}

.footer-link {
  color: var(--text-muted);
  font-size: 0.925rem;
  transition: var(--transition-smooth);
}

.footer-link:hover {
  color: var(--brand-cyan);
  transform: translateX(4px);
}

[dir="rtl"] .footer-link:hover {
  transform: translateX(-4px);
}

.footer-contact-link {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.footer-contact-link:hover {
  color: var(--brand-cyan);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-dim);
  font-size: 0.88rem;
  flex-wrap: wrap;
  gap: 16px;
}

/* --------------------------------------------------
   21. COMPREHENSIVE RESPONSIVE BREAKPOINTS
-------------------------------------------------- */

/* Tablet Breakpoint (max-width: 1024px) */
@media (max-width: 1024px) {
  .story-grid, .stats-container, .quote-container, .service-split-feature, .reach-hub-box {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .testimonial-carousel-slide {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .process-flow-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-us-grid-3x2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .deliverables-grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }

  .vision-mission-3col {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid-luxury, .advantages-grid-lux {
    grid-template-columns: 1fr;
  }

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

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
  :root {
    --header-height: 75px;
  }

  .navbar {
    padding: 8px 0;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(7, 10, 14, 0.98) !important;
  }

  .nav-logo img {
    height: 56px;
  }

  /* 1. HIDE HEADER CTA BUTTON ON MOBILE AND SHOW HAMBURGER MENU IN ITS PLACE */
  #nav-cta-btn {
    display: none !important;
  }

  .mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(var(--brand-primary-rgb), 0.14);
    border: 1px solid var(--brand-border);
    color: var(--brand-cyan);
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    padding: 0;
    z-index: 1001;
  }

  .mobile-toggle:hover, .mobile-toggle:active {
    background: var(--brand-gradient);
    color: #070a0e;
    box-shadow: 0 0 15px var(--brand-glow);
  }

  .nav-actions {
    gap: 10px;
  }

  /* Full Viewport Mobile Backdrop (Under Navbar) */
  .mobile-backdrop {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: rgba(0, 0, 0, 0.75) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    z-index: 998 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease !important;
    pointer-events: none !important;
  }

  .mobile-backdrop.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  /* Mobile Slide-Out Drawer with 100% Viewport Coverage & Transform */
  .nav-links {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    width: 85% !important;
    max-width: 340px !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: #080c12 !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    padding: 24px 20px 40px !important;
    gap: 10px !important;
    transform: translateX(105%) !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    border-left: 1px solid var(--brand-border) !important;
    z-index: 999999 !important;
    overflow-y: auto !important;
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.95) !important;
    list-style: none !important;
    margin: 0 !important;
  }

  [dir="rtl"] .nav-links {
    right: auto !important;
    left: 0 !important;
    transform: translateX(-105%) !important;
    border-left: none !important;
    border-right: 1px solid var(--brand-border) !important;
    box-shadow: 10px 0 50px rgba(0, 0, 0, 0.95) !important;
  }

  .nav-links.active,
  [dir="rtl"] .nav-links.active {
    transform: translateX(0) !important;
  }

  .mobile-drawer-header {
    display: flex !important;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .mobile-close-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.15rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
  }

  .mobile-close-btn:hover {
    background: rgba(var(--brand-primary-rgb), 0.2);
    color: var(--brand-cyan);
    border-color: var(--brand-cyan);
  }

  .mobile-drawer-cta {
    display: block !important;
    width: 100%;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-item {
    width: 100%;
    display: block;
  }

  .nav-link-dropdown-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
  }

  .nav-link {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    padding: 12px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
  }

  [dir="rtl"] .nav-link {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0;
  }

  .nav-link.active, .nav-link:hover {
    background: rgba(var(--brand-primary-rgb), 0.16);
    color: var(--brand-cyan);
    border-color: var(--brand-primary);
  }

  .nav-link::after {
    display: none;
  }

  .mobile-submenu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--brand-cyan);
    font-size: 0.95rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: var(--transition-smooth);
  }

  .mobile-submenu-toggle:hover {
    background: rgba(var(--brand-primary-rgb), 0.2);
    border-color: var(--brand-primary);
  }

  .nav-item-dropdown.open .mobile-submenu-toggle i {
    transform: rotate(180deg);
  }

  /* Mobile Dropdown Menu Inside Drawer - Collapsible */
  .dropdown-menu {
    position: static;
    transform: none !important;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    background: rgba(0, 0, 0, 0.35);
    border: none;
    box-shadow: none;
    margin: 0;
    padding: 0;
    border-radius: 8px;
    transition: max-height 0.35s ease, opacity 0.35s ease, padding 0.35s ease;
  }

  [dir="rtl"] .dropdown-menu {
    transform: none !important;
    right: auto;
  }

  .nav-item-dropdown.open .dropdown-menu {
    max-height: 700px;
    opacity: 1;
    visibility: visible;
    padding: 8px;
    margin-top: 6px;
    border: 1px solid rgba(255, 255, 255, 0.06);
  }

  .dropdown-item {
    padding: 10px 12px;
    font-size: 0.925rem;
    font-weight: 600;
    border-radius: 6px;
    margin-bottom: 2px;
  }

  [dir="rtl"] .dropdown-item {
    font-size: 1.0rem;
    font-weight: 600;
  }

  /* 2. MARQUEE ADJUSTMENT ON MOBILE (SMOOTH & FAST) */
  .marquee-section {
    padding: 20px 0;
    margin-bottom: 30px;
  }

  .marquee-track {
    gap: 14px;
    animation-duration: 22s;
  }

  .partner-logo-item {
    padding: 8px 14px;
    font-size: 0.825rem;
    gap: 8px;
  }

  /* Hero Adjustments on Mobile */
  .hero-section {
    padding: 110px 0 40px;
    min-height: auto;
  }

  .hero-title {
    font-size: clamp(1.75rem, 5.5vw, 2.4rem);
    margin-bottom: 16px;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-cta-group .btn {
    width: 100%;
    max-width: 320px;
  }

  /* Compact Padding & Cards on Mobile */
  .section {
    padding: 50px 0;
  }

  .section-header {
    margin-bottom: 30px;
  }

  .story-text-card {
    padding: 24px 18px;
  }

  .concept-showcase-card img {
    height: 280px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .stat-box {
    padding: 16px 10px;
  }

  .services-grid, .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .process-flow-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .why-us-grid-3x2 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .why-us-card-lux {
    padding: 24px 18px;
  }

  /* Testimonials Single Card on Mobile */
  .testimonial-carousel-slide {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 4px;
  }

  .testimonial-card-lux {
    padding: 24px 18px;
  }

  .testimonial-quote-lux {
    font-size: 0.925rem;
    line-height: 1.7;
  }

  /* Scope Builder Grid on Mobile */
  .calculator-wrap {
    padding: 22px 16px;
  }

  .calc-types-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .calc-features-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .calc-summary-box {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 14px;
  }

  .calc-summary-box .btn {
    width: 100%;
  }

  /* Forms on Mobile */
  .quote-form-card {
    padding: 24px 18px;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .form-group.full-width {
    grid-column: span 1;
  }

  /* Service Pages on Mobile */
  .service-hero-immersive {
    padding-top: calc(var(--header-height) + 1rem);
    padding-bottom: 1.5rem;
  }

  .service-hero-content .hero-title {
    font-size: 1.65rem;
  }

  .service-hero-content .hero-subtitle {
    font-size: 0.925rem;
  }

  .service-split-feature {
    padding: 22px 16px;
    margin: 0 0 2rem;
  }

  .service-mockup-img {
    height: 220px;
  }

  .deliverables-grid-6 {
    grid-template-columns: 1fr;
  }

  .vision-mission-3col {
    grid-template-columns: 1fr;
  }

  .vm-card {
    padding: 24px 18px;
  }

  .reach-hub-box {
    padding: 26px 18px;
  }

  .reach-hub-title {
    font-size: 1.45rem;
  }

  /* 3. FOOTER ON MOBILE: TECH & DESIGN SERVICES SIDE BY SIDE (2 COLUMNS) TO REDUCE HEIGHT */
  .footer-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 24px 16px !important;
  }

  .footer-brand {
    grid-column: 1 / -1; /* Brand bio spans both columns */
  }

  .footer-grid > div:nth-child(2),
  .footer-grid > div:nth-child(3) {
    grid-column: span 1; /* Tech and Design services sit side-by-side! */
  }

  .footer-grid > div:nth-child(4) {
    grid-column: 1 / -1; /* Contact info spans both columns */
    margin-top: 10px;
  }

  .footer-brand img {
    height: 65px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  /* Mobile Floating WhatsApp */
  .floating-whatsapp {
    bottom: 1.2rem;
    right: 1.2rem;
    padding: 10px 16px;
    font-size: 0.8rem;
    z-index: 999;
  }

  [dir="rtl"] .floating-whatsapp {
    right: auto;
    left: 1.2rem;
  }
}

/* Extra Small Mobile Devices (max-width: 420px) */
@media (max-width: 420px) {
  .nav-logo img {
    height: 50px;
  }

  .lang-switch-btn {
    padding: 6px 12px;
    font-size: 0.75rem;
  }

  .stat-number {
    font-size: 1.6rem;
  }

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

/* ==========================================================================
   BLOG ARTICLE EDITORIAL & FEATURED IMAGE SYSTEM
   ========================================================================== */
.article-editorial-header {
  padding: 120px 0 25px 0;
  text-align: center;
  position: relative;
}

.article-breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(13, 18, 28, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  margin-bottom: 24px;
}

.article-breadcrumbs a {
  color: var(--brand-primary);
  text-decoration: none;
}

.article-breadcrumbs a:hover {
  text-decoration: underline;
}

.article-title-main {
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.article-meta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.article-author-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 14px;
  border-radius: 20px;
  color: #ffffff;
  font-weight: 600;
}

.article-author-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
}

/* Prominent Ultra-Crisp Featured Image */
.article-hero-media-wrapper {
  width: 100%;
  max-width: 1300px;
  margin: 10px auto 40px auto;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  background: #0d121c;
  border: 1px solid rgba(56, 225, 219, 0.35);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85), 0 0 45px rgba(0, 161, 156, 0.18);
}

.article-hero-media-img {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.article-hero-media-wrapper:hover .article-hero-media-img {
  transform: scale(1.015);
}

.article-hero-media-caption {
  position: absolute;
  bottom: 12px;
  right: 14px;
  background: rgba(7, 10, 15, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  color: #e6edf3;
}

[dir="ltr"] .article-hero-media-caption {
  right: auto;
  left: 14px;
}

.article-featured-image-box {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto 36px auto;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: #0d121c;
  border: 1px solid rgba(56, 225, 219, 0.35);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 161, 156, 0.15);
}

.article-featured-img {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.article-featured-image-box:hover .article-featured-img {
  transform: scale(1.015);
}

/* Hide internal duplicate metadata header from raw HTML body */
.article-rich-content header {
  display: none !important;
}

.article-rich-content h1 {
  display: none !important; /* H1 is already in Hero */
}

/* Executive Summary Box */
.tcm-summary-box {
  background: rgba(0, 161, 156, 0.08);
  border: 1px solid rgba(56, 225, 219, 0.35);
  border-right: 4px solid #38e1db;
  border-radius: 14px;
  padding: 24px 28px;
  margin: 0 0 34px 0;
  backdrop-filter: blur(10px);
}

[dir="ltr"] .tcm-summary-box {
  border-right: 1px solid rgba(56, 225, 219, 0.35);
  border-left: 4px solid #38e1db;
}

.tcm-summary-box h2 {
  color: #38e1db !important;
  font-size: 1.25rem !important;
  margin-top: 0 !important;
  margin-bottom: 12px !important;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tcm-summary-box p {
  color: #e6edf3 !important;
  font-size: 1rem !important;
  line-height: 1.8 !important;
  margin: 0 !important;
}

/* Article Rich Body Typography */
.article-rich-content h2 {
  color: #ffffff;
  font-size: 1.55rem;
  margin-top: 40px;
  margin-bottom: 18px;
  font-weight: 800;
  line-height: 1.4;
  position: relative;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.article-rich-content h3 {
  color: #38e1db;
  font-size: 1.25rem;
  margin-top: 28px;
  margin-bottom: 14px;
  font-weight: 700;
}

.article-rich-content p {
  color: #c9d1d9;
  line-height: 1.95;
  font-size: 1.05rem;
  margin-bottom: 22px;
}

.article-rich-content ul, .article-rich-content ol {
  padding-inline-start: 24px;
  margin-bottom: 24px;
  color: #c9d1d9;
  line-height: 1.9;
}

.article-rich-content li {
  margin-bottom: 10px;
}

.article-rich-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  background: #0d121c;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.article-rich-content th {
  background: rgba(0, 161, 156, 0.15);
  color: #38e1db;
  padding: 14px 16px;
  font-weight: 700;
  text-align: inherit;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.article-rich-content td {
  padding: 12px 16px;
  color: #c9d1d9;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.article-rich-content pre {
  background: #070a0f;
  border: 1px solid rgba(56, 225, 219, 0.2);
  border-radius: 12px;
  padding: 18px 20px;
  overflow-x: auto;
  margin: 24px 0;
}

.article-rich-content code {
  color: #38e1db;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 0.92rem;
}

.article-rich-content a {
  color: #38e1db;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s ease;
}

.article-rich-content a:hover {
  color: #5ff5f0;
}
