:root {
  --navy: #191432;
  --lime: #b9a0fb;
  --muted: #777382;
  --line: #e9e5f0;
  --soft: #f8f6fc;
  --purple: #7250cf;
  --ink: #191432;
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}

body {
  margin: 0;
  color: var(--navy);
  background: #fff;
  font-family: 'IBM Plex Sans Arabic', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.8;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #93b430;
  outline-offset: 5px;
}

.wrap {
  width: min(1240px, calc(100% - 96px));
  margin-inline: auto;
}

/* Topbar */
.topbar {
  min-height: 39px;
  background: linear-gradient(100deg, #7650d5, #453193);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 12px;
  padding: 7px 20px;
}

.topbar a {
  margin-inline-start: 20px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.44);
}

.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a88aea;
  flex-shrink: 0;
}

/* Sticky Header Wrapper */
.header-sticky-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(233, 229, 240, 0.7);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

:root[data-theme="dark"] .header-sticky-wrapper,
body.dark-mode .header-sticky-wrapper {
  background: rgba(15, 23, 42, 0.95) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.header-sticky-wrapper.is-scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

:root[data-theme="dark"] .header-sticky-wrapper.is-scrolled,
body.dark-mode .header-sticky-wrapper.is-scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
}

.header-sticky-wrapper.is-scrolled .header {
  height: 88px;
}

.header-sticky-wrapper.is-scrolled .brand img {
  width: 135px;
  max-height: 54px;
  height: auto;
}

/* Hide Service Numbers next to Services */
.nob-service-num {
  display: none !important;
}

/* Header */
.header {
  height: 105px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand {
  font-size: 43px;
  font-weight: 700;
  line-height: 1;
  position: relative;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand img {
  display: block;
  width: 150px;
  max-height: 64px;
  height: auto;
  object-fit: contain;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), filter 0.3s ease, opacity 0.3s ease;
}

.brand-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  background: #a88aea;
  border-radius: 50%;
  margin-right: 5px;
}

.header nav {
  display: flex;
  gap: 28px;
  font-size: 16px;
  font-weight: 600;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.header nav a {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  background: transparent !important;
  transition: color 0.25s ease, transform 0.25s ease;
  display: inline-block;
}

.header nav a:hover {
  color: var(--purple);
  transform: translateY(-1px);
}

.header-actions {
  display: flex;
  gap: 23px;
  align-items: center;
}

/* Buttons */
.language {
  display: none !important;
}

.menu {
  display: none !important;
}

.theme-toggle {
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: inherit;
  display: grid;
  place-items: center;
  transition: background .2s, color .2s, transform .2s;
}

.language:hover,
.theme-toggle:hover {
  background: var(--soft);
  transform: translateY(-2px);
}

.theme-toggle .icon-sun {
  display: none;
}

.dark-mode .theme-toggle .icon-moon {
  display: none;
}

.dark-mode .theme-toggle .icon-sun {
  display: block;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform .2s, background .2s, box-shadow .2s;
}

.button:hover {
  transform: translateY(-3px);
}

.dark {
  background: var(--purple);
  color: #fff;
}

.dark:hover {
  background: #5f3bbd;
}

.lime {
  background: var(--lime);
  color: var(--navy);
}

.header-cta {
  font-size: 12px;
  padding: 8px 16px;
  gap: 8px;
  white-space: nowrap;
  border-radius: 8px;
  height: 38px;
}

.menu {
  display: none;
}

/* Icons */
.icon {
  width: 19px;
  height: 19px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.benefit-icon .icon,
.service-icon .icon {
  width: 30px;
  height: 30px;
}

.socials .icon {
  width: 15px;
  height: 15px;
}

.socials button,
.close,
.menu {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.text-link .icon,
.read .icon,
.topbar .icon {
  width: 15px;
  height: 15px;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-items: center;
  padding-block: 45px 55px;
}

.eyebrow,
.short-line {
  display: none !important;
}

.hero h1 {
  font-size: clamp(45px, 4.5vw, 65px);
  line-height: 1.35;
  letter-spacing: -2px;
  margin: 0 0 25px;
  font-weight: 600;
}

.hero h1 .h1-line {
  white-space: nowrap;
  display: inline-block;
}

mark {
  color: var(--purple);
  background: transparent;
  padding-inline: 2px;
}

.lead {
  font-size: 17px;
  max-width: 455px;
  color: var(--muted);
  line-height: 1.95;
  margin-bottom: 27px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 30px;
}

.text-link {
  font-size: 13px;
  display: flex;
  gap: 20px;
  align-items: center;
}

.micro {
  font-size: 11px;
  color: var(--muted);
  margin-top: 21px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-art {
  height: 500px;
  border-radius: 28px 100px 28px 28px;
  background: #f4f0fb;
  position: relative;
  overflow: hidden;
  direction: ltr;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Hero Full Screen Background Video Mode (Edge to Edge - NOB Style) */
.hero-full-screen-video {
  position: relative;
  width: 100%;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 0;
  margin-bottom: 30px;
  padding: 100px 20px 80px;
}

.hero-full-screen-video .hero-bg-video-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-full-screen-video .hero-bg-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border: none;
  pointer-events: none;
}

.hero-full-screen-video .hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(16, 20, 38, 0.4) 0%, rgba(16, 20, 38, 0.65) 100%);
  z-index: 2;
}

.hero-full-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero-full-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.hero-full-title {
  font-size: clamp(34px, 4.8vw, 62px);
  line-height: 1.25;
  color: #ffffff;
  font-weight: 700;
  margin: 0;
  letter-spacing: -1px;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.8), 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero-full-title mark {
  color: #c084fc;
  background: transparent;
  text-shadow: 0 4px 25px rgba(192, 132, 252, 0.4);
}

.hero-full-lead {
  font-size: clamp(16px, 1.8vw, 20px);
  color: #ffffff;
  line-height: 1.8;
  max-width: 680px;
  margin: 0;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.85);
}

.hero-full-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.hero-btn-primary {
  background: #ffffff;
  color: #101d39;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 34px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-btn-primary:hover {
  background: #f3e8ff;
  color: #6b21a8;
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(168, 85, 247, 0.3);
}

.hero-btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-weight: 600;
  font-size: 16px;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .hero-full-screen-video {
    min-height: 75vh;
    padding: 70px 16px 50px;
  }
  
  .hero-full-title {
    font-size: clamp(28px, 6.5vw, 40px);
    line-height: 1.3;
  }

  .hero-full-lead {
    font-size: 15px;
    line-height: 1.7;
  }

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

  .hero-btn-primary, .hero-btn-secondary {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

.growth-card {
  position: absolute;
  top: 25px;
  left: 20px;
  padding: 15px 19px;
  background: #fffffff2;
  border-radius: 12px;
  box-shadow: 0 12px 35px #5130840c;
  direction: rtl;
  z-index: 2;
}

.growth-card small {
  font-size: 10px;
  color: var(--muted);
  display: block;
}

.growth-card strong {
  font-size: 28px;
  line-height: 1.4;
  display: inline-block;
}

.growth-card span {
  color: #6f9b7d;
  font-size: 11px;
  margin-right: 10px;
}

.growth-spark {
  height: 30px;
  width: 120px;
  display: block;
  margin-top: 6px;
}

.roas-card {
  position: absolute;
  bottom: 35px;
  left: 20px;
  background: #fff;
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: 0 15px 35px #101d3912;
  border: 1px solid #ece8f5;
  direction: rtl;
  min-width: 190px;
  z-index: 2;
}

.mini-label {
  font-size: 10px;
  color: var(--muted);
}

.roas-card>div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 27px;
}

.roas-card strong {
  font-size: 39px;
  line-height: 1.4;
}

.roas-card strong span {
  font-size: 23px;
}

.roas-card small {
  font-size: 9px;
}

.roas-card small span {
  color: #7b59c1;
  margin-right: 15px;
}

.mini-bars {
  display: flex;
  align-items: end;
  gap: 4px;
  height: 33px;
}

.mini-bars i {
  height: 12px;
  width: 7px;
  background: #b396ea;
}

.mini-bars i:nth-child(2) {
  height: 19px;
}

.mini-bars i:nth-child(3) {
  height: 25px;
}

.mini-bars i:nth-child(4) {
  height: 33px;
}

/* Benefits Section & Bar */
.benefits-section {
  width: 100% !important;
  background: linear-gradient(110deg, #19152f, #352566) !important;
  padding: 42px 0;
  margin: 30px 0;
  box-sizing: border-box;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
}

.benefits-section .benefits {
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Standalone .benefits with .wrap (e.g. about.php) */
section.benefits.wrap {
  background: linear-gradient(110deg, #19152f, #352566) !important;
  border-radius: 20px;
  padding: 34px 28px;
  margin: 40px auto;
  box-shadow: 0 10px 30px rgba(25, 21, 47, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.benefits>div {
  display: flex;
  gap: 17px;
  align-items: center;
  padding-inline: 30px;
  border-inline-end: 1px solid rgba(255, 255, 255, 0.16) !important;
}

.benefits>div:first-child {
  padding-inline-start: 0;
}

.benefits>div:last-child {
  border: 0 !important;
}

.benefit-icon {
  font-size: 28px;
  color: #c9b4ff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.benefit-icon .icon {
  stroke: #c9b4ff !important;
  color: #c9b4ff !important;
  width: 32px;
  height: 32px;
}

.benefits h3 {
  font-size: 15px;
  margin: 0;
  font-weight: 700;
  color: #ffffff !important;
}

.benefits p {
  font-size: 12.5px;
  color: #e0d5fc !important;
  opacity: 0.92;
  margin: 3px 0 0;
}

.benefits>div:hover .benefit-icon {
  transform: scale(1.15) rotate(5deg);
  color: #ffffff !important;
}

.benefits>div:hover .benefit-icon .icon {
  stroke: #ffffff !important;
  color: #ffffff !important;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
}

.skip {
  position: fixed;
  top: -100px;
  z-index: 100;
  background: var(--lime);
  padding: 15px;
}

.skip:focus {
  top: 0;
}

/* General Sections */
.section {
  padding-block: 96px;
}

.section h2 {
  font-size: 38px;
  line-height: 1.5;
  margin: 0 0 22px;
  font-weight: 600;
  letter-spacing: -.8px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 35px;
}

.section-head h2 {
  margin-bottom: 0;
}

.section-head .eyebrow {
  margin-bottom: 12px;
}

.section-intro {
  max-width: 320px;
  color: var(--muted);
  font-size: 14px;
}

.outline {
  border: 1px solid var(--line);
  background: transparent;
}

em {
  font-style: normal;
  color: var(--purple);
}

/* About Section */
.about {
  background: #faf9fc;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 85px;
  align-items: center;
}

.about-copy h2 {
  white-space: nowrap;
  font-size: clamp(15px, 3.4vw, 36px);
  margin-bottom: 20px;
}

.about-copy p {
  font-size: 15px;
  color: var(--muted);
}

.about-copy h3 {
  font-size: 23px;
  margin: 30px 0 10px;
}

.about-visual {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.circle {
  width: 330px;
  height: 330px;
  border: 55px solid #292044;
  border-top-color: #292044;
  border-right-color: #292044;
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(-135deg) scale(0.9);
  opacity: 0;
  position: absolute;
  transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
}

.about-visual.active .circle,
.about-visual.reveal.active .circle,
.about-layout.active .circle {
  transform: rotate(45deg) scale(1);
  opacity: 1;
}

.circle:before {
  content: '';
  position: absolute;
  inset: -56px;
  border: 1px solid #cab9ef;
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 1s ease 0.2s, transform 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.about-visual.active .circle:before,
.about-visual.reveal.active .circle:before,
.about-layout.active .circle:before {
  opacity: 1;
  transform: scale(1);
}

.circle:after {
  content: '';
  position: absolute;
  width: 65px;
  height: 65px;
  background: #a78ade;
  border-radius: 50%;
  bottom: -11px;
  right: -17px;
  transform: scale(0);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 1s, opacity 0.4s ease 1s;
}

.about-visual.active .circle:after,
.about-visual.reveal.active .circle:after,
.about-layout.active .circle:after {
  transform: scale(1);
  opacity: 1;
}

.circle-text {
  text-align: center;
  font-size: 30px;
  line-height: 1.6;
  font-weight: 500;
}

.circle-text b {
  color: var(--purple);
  font-weight: 500;
}

.visual-caption {
  position: absolute;
  bottom: 0;
  right: 0;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--muted);
}

/* NOB Interactive Services Section (as shown in user screenshot) */
.nob-services-section {
  background: linear-gradient(180deg, #191432 0%, #241a45 100%);
  color: #ffffff;
  padding: 85px 0;
  position: relative;
  overflow: hidden;
}

.nob-services-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 45px;
  gap: 30px;
  flex-wrap: wrap;
}

.nob-services-title-wrap .eyebrow {
  color: #b9a0fb;
  margin-bottom: 8px;
}

.nob-main-services-title {
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  line-height: 1.1;
  letter-spacing: -1px;
}

.nob-services-intro {
  font-size: 16px;
  color: #d1c9eb;
  max-width: 480px;
  margin: 0;
  line-height: 1.7;
}

/* Accordion Container */
.nob-accordion-container {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.nob-service-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.3s ease;
}

.nob-service-item.active {
  background: rgba(255, 255, 255, 0.03);
}

/* Header Row */
.nob-service-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 8px;
  cursor: pointer;
  user-select: none;
  transition: color 0.3s ease;
}

.nob-service-header:hover {
  color: #b9a0fb;
}

.nob-service-num {
  font-size: 14px;
  color: #b9a0fb;
  font-weight: 600;
  min-width: 60px;
  direction: ltr;
  text-align: right;
}

.nob-service-title {
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  flex-grow: 1;
  margin-inline-start: 20px;
  transition: color 0.3s ease;
}

.nob-service-item.active .nob-service-title {
  color: #b9a0fb;
}

.nob-service-arrow {
  font-size: 13px;
  color: #b9a0fb;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, color 0.3s ease;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
}

.nob-service-item.active .nob-service-arrow {
  transform: rotate(180deg);
  background: var(--purple);
  color: #ffffff;
}

/* Body Collapsible Panel */
.nob-service-body {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, padding 0.4s ease;
  padding: 0 8px;
}

.nob-service-item.active .nob-service-body {
  max-height: 900px;
  opacity: 1;
  padding: 10px 8px 36px 8px;
}

.nob-service-sub {
  font-size: 17px;
  font-weight: 500;
  color: #e2dbf8;
  margin: 0 0 26px;
  line-height: 1.6;
  max-width: 800px;
}

/* Grid inside expanded body */
.nob-service-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 26px;
}

@media (max-width: 900px) {
  .nob-service-content-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Sub-services Pills */
.nob-subservices-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nob-subservices-label {
  font-size: 12px;
  font-weight: 600;
  color: #b9a0fb;
  letter-spacing: 1px;
}

.nob-subservices-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.nob-subservices-pills span {
  background: #ffffff;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 18px;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s ease, background 0.25s ease;
}

.nob-subservices-pills span:hover {
  transform: translateY(-2px);
  background: #b9a0fb;
  color: var(--navy);
}

/* Visual Artwork Frame */
.nob-service-visual {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  max-height: 260px;
}

.nob-service-visual img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

/* Service CTA Button */
.nob-service-footer-cta {
  margin-top: 15px;
}

.nob-service-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(114, 80, 207, 0.4);
  border: 1px solid rgba(185, 160, 251, 0.4);
  color: #ffffff;
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.nob-service-btn:hover {
  background: var(--purple);
  border-color: var(--purple);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(114, 80, 207, 0.4);
}

/* Stats Section */
.stats {
  background: linear-gradient(110deg, #19152f, #352566);
  color: white;
  text-align: center;
  padding: 55px 0;
}

.stats .eyebrow {
  justify-content: center;
  color: #c9b4ff;
  margin-bottom: 8px;
}

.stats h2 {
  font-size: 30px;
  margin: 0 0 38px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stats-grid>div+div {
  border-inline-start: 1px solid #ffffff28;
}

.stats strong {
  font-size: 44px;
  line-height: 1.4;
  font-weight: 500;
  display: block;
  direction: ltr;
  color: #e0d5fc;
}

.stats span {
  font-size: 12px;
  color: #b8c0d1;
}

/* Selected Results / Cases - NOB Card Design (as shown in user screenshot) */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .case-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .case-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Category Filter Bar (our_projects.php) */
.filter-bar-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 32px 0 45px;
}

.filter-btn {
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--navy);
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

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

.filter-btn.active {
  background: var(--purple);
  color: #ffffff;
  border-color: var(--purple);
  box-shadow: 0 6px 18px rgba(114, 80, 207, 0.25);
}

/* Individual Nob Project Card */
.nob-project-card {
  background: #ffffff;
  border: 1px solid rgba(114, 80, 207, 0.12);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 10px 30px -10px rgba(25, 20, 50, 0.06);
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.nob-project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #7250cf 0%, #b9a0fb 100%);
  opacity: 0.8;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.nob-project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px -10px rgba(114, 80, 207, 0.2);
  border-color: rgba(114, 80, 207, 0.4);
}

.nob-project-card:hover::before {
  opacity: 1;
}

/* Card Header Bar Inside White Card */
.nob-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

.nob-card-title-group {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nob-card-year {
  color: #8c8898;
  font-weight: 500;
  font-size: 13px;
}

.nob-card-title {
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nob-card-dots {
  color: #c0bacd;
  font-size: 16px;
  letter-spacing: 2px;
  line-height: 1;
  transition: color 0.25s ease;
}

.nob-project-card:hover .nob-card-dots {
  color: var(--purple);
}

/* Main Image Box */
.nob-card-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: var(--navy);
}

.nob-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.nob-project-card:hover .nob-card-media img {
  transform: scale(1.05);
}

/* Overlay gradient for image text contrast */
.nob-card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}

/* Top-Left Tag Badges Floating on Image */
.nob-card-tags {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 6px;
  z-index: 3;
  flex-wrap: wrap;
}

.nob-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  color: #ffffff;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.nob-tag.purple {
  background: rgba(114, 80, 207, 0.9);
}

.nob-tag.dark-purple {
  background: rgba(37, 29, 69, 0.9);
}

.nob-tag.teal {
  background: rgba(0, 150, 136, 0.9);
}

.nob-tag.cyan {
  background: rgba(0, 172, 193, 0.9);
}

.nob-tag.magenta {
  background: rgba(156, 39, 176, 0.9);
}

/* Center Image Title Overlay */
.nob-card-center-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  color: #ffffff;
  z-index: 2;
}

.nob-card-center-text h4 {
  font-size: 22px;
  font-weight: 800;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  line-height: 1.3;
}

.nob-card-center-text span {
  font-size: 13px;
  opacity: 0.9;
  margin-bottom: 6px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.case-art {
  height: 230px;
  background: linear-gradient(135deg, #f5f0fd, #ede6f8);
  border-radius: 16px;
  margin: 12px 12px 0 12px;
  position: relative;
  overflow: hidden;
  padding: 20px;
  direction: ltr;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.35s ease;
}

.case:hover .case-art {
  transform: scale(1.01);
}

.case-art .chart-label {
  font-size: 11px;
  font-weight: 600;
  color: #777382;
  letter-spacing: 0.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.case-art .chart-label-bottom {
  margin-top: auto;
}

.chart-bars {
  height: 120px;
  display: flex;
  gap: 14px;
  align-items: flex-end;
  justify-content: center;
  padding: 10px 0;
  z-index: 2;
}

.chart-bars i {
  width: 26px;
  background: linear-gradient(180deg, var(--purple) 0%, #a482f7 100%);
  border-radius: 5px 5px 0 0;
  transition: height 0.6s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
}

.chart-bars i:nth-child(even) {
  background: linear-gradient(180deg, var(--lime) 0%, #dcd0ff 100%);
}

.case:hover .chart-bars i {
  filter: brightness(1.08);
}

.case-art.dark-art {
  background: linear-gradient(135deg, #191432 0%, #2e2154 100%);
  color: #ffffff;
}

.case-art.dark-art .chart-label {
  color: #b9a0fb;
}

.case-art .art-metric {
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  margin: 5px 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
  line-height: 1;
  z-index: 2;
}

.case-art .art-metric small {
  font-size: 22px;
  color: var(--lime);
}

.line-chart {
  width: 100%;
  height: 105px;
  margin-top: auto;
  z-index: 2;
}

.chart-line-path {
  stroke-dasharray: 400;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1s ease;
}

.case:hover .chart-line-path {
  animation: dashDraw 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes dashDraw {
  0% {
    stroke-dashoffset: 400;
  }

  100% {
    stroke-dashoffset: 0;
  }
}

.pulse-circle {
  animation: pulseDot 2s infinite ease-in-out;
  transform-origin: center;
}

@keyframes pulseDot {

  0%,
  100% {
    r: 4;
    fill: #ffffff;
  }

  50% {
    r: 6;
    fill: var(--lime);
  }
}

.map-art {
  background-color: #f1ecfa;
  background-image:
    linear-gradient(35deg, transparent 42%, #ffffff 42%, #ffffff 48%, transparent 48%),
    linear-gradient(100deg, transparent 30%, #ffffff 30%, #ffffff 36%, transparent 36%),
    linear-gradient(160deg, transparent 60%, #ffffff 60%, #ffffff 66%, transparent 66%);
}

.map-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 52px;
  height: 52px;
  border-radius: 50% 50% 50% 0;
  transform: translate(-50%, -50%) rotate(-45deg);
  background: linear-gradient(135deg, var(--purple), #5733bd);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 25px rgba(114, 80, 207, 0.35);
  animation: pinFloat 3s infinite ease-in-out;
  z-index: 2;
}

.map-pin span {
  transform: rotate(45deg);
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
}

@keyframes pinFloat {

  0%,
  100% {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  50% {
    transform: translate(-50%, -60%) rotate(-45deg);
  }
}

.map-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: #ffffff;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  box-shadow: 0 6px 20px rgba(25, 20, 50, 0.08);
  border: 1px solid var(--line);
  z-index: 2;
  transition: transform 0.3s ease;
}

.case:hover .map-badge {
  transform: translateY(-2px);
  border-color: var(--purple);
}

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

.case-body .tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--purple);
  margin-bottom: 8px;
  display: block;
}

.case-body h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--navy);
  margin: 0 0 10px;
  transition: color 0.25s ease;
}

.case:hover .case-body h3 {
  color: var(--purple);
}

.case-body p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 20px;
}

.case-footer {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}

.case-footer span {
  font-size: 11px;
  font-weight: 500;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--soft);
  color: var(--navy);
  transition: all 0.25s ease;
}

.case:hover .case-footer span {
  border-color: #d1c2f7;
  background: #f3ecff;
  color: var(--purple);
}

/* Preserved Partners Section */
.partners {
  background: #faf9fc;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.partners-subhead {
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--purple);
  font-weight: 600;
  margin-bottom: 16px;
  display: block;
}

.accreditation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-bottom: 45px;
}

.accreditation-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.accreditation-card:hover {
  transform: translateY(-5px);
  border-color: #c9b8ef;
  box-shadow: 0 12px 30px rgba(118, 80, 213, 0.1);
}

.accreditation-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: var(--soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.accreditation-icon img {
  max-width: 48px;
  max-height: 48px;
  object-fit: contain;
}

.accreditation-card h3 {
  font-size: 18px;
  margin: 0 0 6px;
  font-weight: 600;
}

.accreditation-card p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.trust-section-title {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  margin-bottom: 25px;
  font-weight: 500;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 20px;
  align-items: center;
}

.trust-card {
  background: #ffffff;
  border: 1px solid rgba(114, 80, 207, 0.18);
  border-radius: 14px;
  padding: 16px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 85px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  box-shadow: 0 4px 15px rgba(25, 20, 50, 0.04);
}

.trust-card:hover {
  transform: translateY(-4px);
  border-color: #7250cf;
  box-shadow: 0 10px 25px rgba(114, 80, 207, 0.18);
}

.trust-card img,
.trust-card svg {
  max-height: 50px;
  max-width: 125px;
  object-fit: contain;
  opacity: 1;
  transition: opacity .2s ease, transform .2s ease, filter .2s ease;
  filter: none;
}

.trust-card:hover img,
.trust-card:hover svg {
  opacity: 1;
  transform: scale(1.03);
}

.trust-card strong {
  color: #7250cf;
  font-weight: 700;
}

/* Premium Testimonials Section */
.testimonials-section {
  background: linear-gradient(180deg, #ffffff 0%, #faf8fe 100%);
  position: relative;
  overflow: hidden;
}

.dark-mode .testimonials-section {
  background: linear-gradient(180deg, #191432 0%, #130f28 100%);
}

.testimonials-slider-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.testimonials-slider-wrapper {
  position: relative;
  width: 100%;
}

.testimonials-grid {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-block: 15px 30px;
  scrollbar-width: none;
}

.testimonials-grid::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 19px);
  min-width: 320px;
  scroll-snap-align: start;
  background: #ffffff;
  border: 1px solid rgba(114, 80, 207, 0.12);
  border-radius: 20px;
  padding: 32px 28px 28px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 10px 30px -10px rgba(25, 20, 50, 0.06);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px -10px rgba(114, 80, 207, 0.2);
  border-color: rgba(114, 80, 207, 0.4);
}

.card-accent-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #7250cf 0%, #b9a0fb 100%);
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.testimonial-card:hover .card-accent-bar {
  opacity: 1;
}

.card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.stars-rating {
  display: flex;
  gap: 4px;
  align-items: center;
}

.star-icon {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  fill: #f59e0b !important;
  display: inline-block !important;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(245, 158, 11, 0.3));
  transition: transform 0.2s ease;
}

.testimonial-card:hover .star-icon {
  transform: scale(1.1);
}

.verified-badge {
  font-size: 11px;
  font-weight: 600;
  color: #10b981;
  background: rgba(16, 185, 129, 0.08);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.2);
  white-space: nowrap;
}

.testimonial-quote {
  font-size: 15px;
  line-height: 1.85;
  color: var(--navy);
  margin: 0;
  font-weight: 400;
  flex: 1;
  position: relative;
  z-index: 2;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7250cf 0%, #5f3bbd 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 6px 16px rgba(114, 80, 207, 0.3);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.testimonial-card:hover .author-avatar {
  transform: scale(1.08) rotate(-4deg);
}

.author-info strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.author-info span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.quote-mark {
  position: absolute;
  left: 0;
  bottom: -10px;
  font-size: 60px;
  font-family: Georgia, serif;
  line-height: 1;
  color: rgba(114, 80, 207, 0.12);
  pointer-events: none;
  font-weight: 900;
  transition: color 0.3s ease, transform 0.3s ease;
}

.testimonial-card:hover .quote-mark {
  color: rgba(114, 80, 207, 0.25);
  transform: translateY(-4px) scale(1.1);
}

/* ===================================================
   Video Testimonials Section (آراء العملاء بالفيديو)
   =================================================== */
.video-testimonials-section {
  background: linear-gradient(180deg, #faf8fe 0%, #f4f0fd 100%);
  position: relative;
  overflow: hidden;
  padding-top: 10px;
}

.dark-mode .video-testimonials-section {
  background: linear-gradient(180deg, #130f28 0%, #0d0a1d 100%);
}

.home-reels-slider-wrapper {
  position: relative;
  width: 100%;
}

.home-reels-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-block: 15px 30px;
  scrollbar-width: none;
}

.home-reels-track::-webkit-scrollbar {
  display: none;
}

.home-reel-card {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 270px;
  max-width: 360px;
  aspect-ratio: 9 / 16;
  scroll-snap-align: start;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  background: #090412;
  border: 1px solid rgba(114, 80, 207, 0.25);
  box-shadow: 0 16px 40px rgba(15, 10, 30, 0.15);
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s, border-color 0.35s;
}

.dark-mode .home-reel-card {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.home-reel-card:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 24px 50px rgba(114, 80, 207, 0.3);
  border-color: rgba(255, 207, 73, 0.55);
}

.home-reel-video-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

.home-reel-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000000;
}

.home-reel-top-bar {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 5;
}

.home-reel-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.home-reel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  display: inline-block;
}

.home-reel-sound-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.home-reel-sound-btn:hover {
  transform: scale(1.1);
  background: #7250cf;
}

.home-reel-sound-btn .icon {
  width: 17px;
  height: 17px;
}

.home-reel-play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 4;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.home-reel-play-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 207, 73, 0.92);
  color: #21143f;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s ease, background 0.25s ease;
}

.home-reel-card:hover .home-reel-play-circle {
  transform: scale(1.1);
  background: #ffcf49;
}

.home-reel-play-circle .icon {
  width: 24px;
  height: 24px;
  margin-right: -2px;
}

.home-reel-card.is-playing .home-reel-play-overlay {
  opacity: 0;
}

.home-reel-card.is-playing:hover .home-reel-play-overlay {
  opacity: 0.85;
}

.home-reel-bottom-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 45px 18px 18px;
  background: linear-gradient(to top, rgba(10, 4, 20, 0.96) 0%, rgba(10, 4, 20, 0.7) 65%, transparent 100%);
  z-index: 5;
  pointer-events: none;
}

.home-reel-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 6px;
}

.home-reel-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 8px;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.home-reel-client {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #ffcf49;
  font-weight: 600;
}

.home-reel-check {
  color: #10b981;
  font-weight: 800;
  font-size: 13px;
}

@media (max-width: 900px) {
  .home-reel-card {
    flex: 0 0 calc(50% - 12px);
  }
}

@media (max-width: 600px) {
  .home-reel-card {
    flex: 0 0 82%;
    min-width: 240px;
  }
}

/* Dark Mode Adjustments */
.dark-mode .testimonial-card,
.dark-mode .nob-project-card,
.dark-mode .blog,
.dark-mode .trust-card {
  background: rgba(30, 25, 55, 0.85) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

.dark-mode .trust-card img,
.dark-mode .trust-card svg {
  filter: brightness(0) invert(1) !important;
  opacity: 0.95 !important;
}

.dark-mode .trust-card strong {
  color: #ffffff !important;
}

.dark-mode .nob-card-title,
.dark-mode .blog h3 {
  color: #ffffff;
}

.dark-mode .nob-card-year,
.dark-mode .blog-meta {
  color: #a099b2;
}

.dark-mode .testimonial-quote {
  color: #e9e5f0;
}

.dark-mode .testimonial-author {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.dark-mode .author-info strong {
  color: #ffffff;
}

.dark-mode .quote-mark {
  color: rgba(255, 255, 255, 0.08);
}

/* Dots Pagination */
.slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(114, 80, 207, 0.25);
  cursor: pointer;
  padding: 0;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.35s ease;
}

.slider-dot.active {
  width: 32px;
  background: var(--purple);
}

.dark-mode .slider-dot {
  background: rgba(255, 255, 255, 0.2);
}

.dark-mode .slider-dot.active {
  background: #a887ed;
}

/* Responsive */
@media(max-width: 900px) {
  .testimonial-card {
    flex: 0 0 calc(50% - 14px);
    min-width: 280px;
  }
}

@media(max-width: 600px) {
  .testimonial-card {
    flex: 0 0 88%;
    min-width: 260px;
    padding: 24px 20px 20px;
  }
}

/* Insights / Blog */
.insights {
  background: #faf9fc;
}

.blog-slider-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.slider-arrows {
  display: flex;
  gap: 10px;
}

.slider-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s, color 0.2s;
}

.slider-btn:hover {
  background: var(--purple);
  color: #fff;
  border-color: var(--purple);
  transform: translateY(-2px);
}

.dark-mode .slider-btn {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.blog-slider-wrapper {
  position: relative;
  width: 100%;
}

.blog-grid {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-block: 15px 30px;
  scrollbar-width: none;
}

.blog-grid::-webkit-scrollbar {
  display: none;
}

.blog-grid .blog {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 300px;
  scroll-snap-align: start;
}

@media(max-width: 900px) {
  .blog-grid .blog {
    flex: 0 0 calc(50% - 12px);
    min-width: 270px;
  }
}

@media(max-width: 600px) {
  .blog-grid .blog {
    flex: 0 0 85%;
    min-width: 250px;
  }
}

.blog {
  background: #ffffff;
  border: 1px solid rgba(114, 80, 207, 0.12);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 10px 30px -10px rgba(25, 20, 50, 0.06);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #7250cf 0%, #b9a0fb 100%);
  opacity: 0.8;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.blog:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px -10px rgba(114, 80, 207, 0.2);
  border-color: rgba(114, 80, 207, 0.4);
}

.blog:hover::before {
  opacity: 1;
}

.blog-art {
  height: 195px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(at 70% 20%, #a78ee0, #342554);
}

.blog-art.b {
  background: radial-gradient(at 30% 10%, #ae95e5, #2a1c4d);
}

.blog-art.c {
  background: radial-gradient(at 70% 0%, #b399e0, #5a3b83);
}

.stairs {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 100px;
  transform: skewY(-9deg);
}

.stairs i {
  width: 46px;
  height: 35px;
  background: #c2a5f8;
  box-shadow: 8px 6px #6a479e;
}

.stairs i:nth-child(2) {
  height: 64px;
}

.stairs i:nth-child(3) {
  height: 95px;
  background: #f0e4ff;
}

.orb {
  width: 100px;
  height: 100px;
  border: 22px solid #c0a5f3;
  border-radius: 50%;
  position: absolute;
  transform: rotate(-35deg);
  box-shadow: 8px 12px 20px #20143135;
}

.orb+.orb {
  width: 90px;
  height: 90px;
  border-color: #7150b0;
  margin-left: 90px;
  margin-top: 45px;
}

.blog-symbol {
  position: absolute;
  left: 38px;
  top: 24px;
  color: #dac5ff;
  font-size: 30px;
}

.search-graphic {
  width: 200px;
  background: #fff;
  padding: 13px 18px;
  border-radius: 7px;
  box-shadow: 0 18px 35px #101d3915;
  transform: rotate(-9deg);
  font-size: 15px;
  letter-spacing: 4px;
  color: #6d4aa9;
}

.search-graphic span {
  float: right;
}

.blog button {
  background: none;
  border: 0;
  text-align: inherit;
  color: inherit;
  padding: 0;
  width: 100%;
}

.blog h3 {
  font-size: 19px;
  line-height: 1.7;
  margin: 16px 0 13px;
}

.blog-meta {
  font-size: 11px;
  color: var(--muted);
}

.blog .read {
  display: block;
  font-size: 12px;
  margin-top: 16px;
}

/* FAQ */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.65fr;
  gap: 80px;
}

.faq-intro p {
  font-size: 14px;
  color: var(--muted);
  max-width: 250px;
}

.faq-intro a {
  font-size: 13px;
  display: inline-block;
  border-bottom: 1px solid var(--navy);
  margin-top: 17px;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

.faq-list details:first-child {
  border-top: 1px solid var(--line);
}

summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 15px;
  font-weight: 500;
}

summary::-webkit-details-marker {
  display: none;
}

.faq-list summary:before {
  content: "";
  order: 2;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 5px;
  background: linear-gradient(currentColor, currentColor) center/12px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center/1.5px 12px no-repeat;
}

.faq-list details[open] summary:before {
  background: linear-gradient(currentColor, currentColor) center/12px 1.5px no-repeat;
}

details p {
  font-size: 14px;
  color: var(--muted);
  padding-inline-end: 25px;
  line-height: 1.9;
}

/* Contact */
.contact {
  background: linear-gradient(110deg, #1b1731, #2b204b);
  color: #fff;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 95px;
}

.contact .eyebrow {
  color: #c8b2f6;
}

.contact h2 {
  font-size: 43px;
}

.contact-intro>p {
  color: #b1bace;
  font-size: 15px;
  max-width: 300px;
}

.contact-info {
  margin-top: 40px;
  font-size: 13px;
}

.contact-info>div {
  margin-bottom: 12px;
}

.temp {
  font-size: 11px;
  color: #aeb8cb;
}

.contact form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 36px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field label {
  font-size: 12px;
  color: #d7deea;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(15, 23, 42, 0.6);
  color: #f8fafc;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 14px;
  min-width: 0;
  transition: all 0.25s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #94a3b8;
  opacity: 0.75;
}

.field select option {
  background: #0f172a;
  color: #f8fafc;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: #8b5cf6;
  background: rgba(15, 23, 42, 0.9);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.25);
}

.full {
  grid-column: 1 / -1;
}

.contact .button {
  width: 100%;
  justify-content: space-between;
  background: #a887ed;
  color: #fff;
}

.contact .button:hover {
  background: #916ddb;
}

.form-note {
  font-size: 11px;
  color: #bdc6d9;
  margin: 0;
}

.form-status {
  padding: 10px 15px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 5px;
  font-size: 13px;
}

/* Footer */
.footer {
  width: 100% !important;
  max-width: 100% !important;
  background: #110d24;
  padding: 65px 0 35px;
  position: relative;
  box-sizing: border-box;
  color: #ffffff !important;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding-bottom: 35px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.footer-links {
  display: flex;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
  flex-wrap: wrap;
}

.footer-links a {
  color: #ffffff !important;
  opacity: 0.95;
  transition: all 0.25s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #ffffff !important;
  opacity: 1;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}

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

.socials button,
.socials a {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 14px;
  color: #ffffff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.socials button .icon,
.socials a .icon {
  stroke: #ffffff !important;
  color: #ffffff !important;
}

.socials button svg[fill="currentColor"],
.socials a svg[fill="currentColor"] {
  fill: #ffffff !important;
}

.socials button:hover,
.socials a:hover {
  background: linear-gradient(135deg, #7c3aed, #6366f1) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.35) !important;
}

.socials button:hover .icon,
.socials a:hover .icon {
  stroke: #ffffff !important;
  color: #ffffff !important;
}

.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  color: #ffffff !important;
  opacity: 0.95;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-bottom span {
  color: #ffffff !important;
}

.footer .brand img {
  width: 195px;
  height: auto;
  max-height: 75px;
  object-fit: contain;
  filter: brightness(0) invert(1) !important;
  opacity: 1 !important;
}

footer.footer .brand .logo-white-img {
  display: block !important;
}

footer.footer .brand .logo-color-img {
  display: none !important;
}

footer.footer .brand .logo-auto-img {
  display: block !important;
  filter: brightness(0) invert(1) !important;
}

/* WhatsApp Floating Button */
.floating.whatsapp {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 999;
  display: flex;
  gap: 10px;
  align-items: center;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 25px -5px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0.4);
  border-radius: 50px;
  padding: 13px 22px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: whatsappGlow 3s infinite;
}

[dir="ltr"] .floating.whatsapp {
  left: auto;
  right: 30px;
}

.floating.whatsapp:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 15px 30px -5px rgba(37, 211, 102, 0.6), 0 0 20px rgba(37, 211, 102, 0.4);
  color: #ffffff;
}

.floating.whatsapp .wa-icon {
  width: 24px;
  height: 24px;
  fill: #ffffff;
  stroke: none;
}

@keyframes whatsappGlow {
  0% {
    box-shadow: 0 10px 25px -5px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0.5);
  }

  70% {
    box-shadow: 0 10px 25px -5px rgba(37, 211, 102, 0.5), 0 0 0 14px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 10px 25px -5px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.mobile-bottom {
  display: none;
}

/* Dialog */
dialog {
  border: 0;
  border-radius: 20px;
  padding: 35px;
  max-width: 650px;
  width: calc(100% - 40px);
  background: #ffffff;
  color: #191432;
  max-height: 80vh;
  line-height: 1.9;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

dialog::backdrop {
  background: rgba(16, 29, 57, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

dialog .close {
  position: absolute;
  left: 18px;
  top: 18px;
  background: #f1f5f9;
  color: #0f172a;
  border: 0;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

[dir="ltr"] dialog .close {
  left: auto;
  right: 18px;
}

dialog h2 {
  font-size: 22px;
  font-weight: 700;
  margin-top: 10px;
  margin-bottom: 12px;
  color: #191432;
}

dialog p {
  color: #475569;
  font-size: 15px;
  margin: 0;
}

body.dark-mode dialog,
:root[data-theme="dark"] dialog {
  background: #191432 !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7) !important;
}

body.dark-mode dialog h2,
:root[data-theme="dark"] dialog h2 {
  color: #ffffff !important;
}

body.dark-mode dialog p,
:root[data-theme="dark"] dialog p {
  color: #cbd5e1 !important;
}

body.dark-mode dialog .close,
:root[data-theme="dark"] dialog .close {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
}

/* Contact Modal Popup */
dialog.contact-modal {
  border: 0;
  border-radius: 24px;
  padding: 0;
  max-width: 620px;
  width: calc(100% - 32px);
  background: linear-gradient(135deg, #1b1731 0%, #2b204b 100%);
  color: #ffffff;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.12);
  overflow: hidden;
  max-height: 90vh;
  margin: auto;
}

dialog.contact-modal::backdrop {
  background: rgba(16, 29, 57, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.contact-modal-box {
  position: relative;
  padding: 38px 32px 32px;
  max-height: 90vh;
  overflow-y: auto;
}

.contact-modal-box .close-modal {
  position: absolute;
  top: 22px;
  left: 22px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 10;
}

[dir="ltr"] .contact-modal-box .close-modal {
  left: auto;
  right: 22px;
}

.contact-modal-box .close-modal:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: rotate(90deg) scale(1.05);
}

.contact-modal-header {
  margin-bottom: 24px;
  padding-inline-end: 45px;
}

.contact-modal-header h2 {
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.contact-modal-header p {
  font-size: 14px;
  color: #b1bace;
  line-height: 1.6;
}

.contact-modal form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-modal .field label {
  color: #d7deea;
  font-size: 12px;
  font-weight: 500;
}

.contact-modal .field input,
.contact-modal .field select,
.contact-modal .field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #ffffff;
  color: var(--navy);
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 13px;
  min-width: 0;
  box-sizing: border-box;
}

.contact-modal .field input:focus,
.contact-modal .field select:focus {
  outline: 3px solid rgba(215, 248, 109, 0.5);
  outline-offset: 2px;
}

.contact-modal .button {
  width: 100%;
  justify-content: space-between;
  background: #a887ed;
  color: #ffffff;
  padding: 14px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.contact-modal .button:hover {
  background: #916ddb;
}

@media (max-width: 600px) {
  dialog.contact-modal {
    width: calc(100% - 36px) !important;
    max-width: 90vw !important;
    max-height: 84vh !important;
    border-radius: 20px !important;
    margin: auto !important;
  }

  .contact-modal-box {
    padding: 24px 18px 20px !important;
    max-height: 84vh !important;
  }

  .contact-modal-header h2 {
    font-size: 20px !important;
  }

  .contact-modal-header p {
    font-size: 13px !important;
  }

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

  .contact-modal .field input,
  .contact-modal .field select {
    padding: 10px 12px;
    font-size: 13px;
  }
}

/* LTR adjustments */
[dir=ltr] .hero h1 {
  font-size: 53px;
  letter-spacing: -1.5px;
}

[dir=ltr] .brand {
  direction: rtl;
}

[dir=ltr] .hero-art {
  direction: ltr;
}

/* Dark Mode Overrides */
.dark-mode,
body.dark-mode {
  --page: #0f172a;
  --surface: #0f172a;
  --surface-2: #1e293b;
  --ink: #f8fafc;
  --muted: #94a3b8;
  --line: rgba(255, 255, 255, 0.08);
  background: #0f172a !important;
  color: #f8fafc !important;
}

/* Logo Light / Dark Mode Styling */
.brand .logo-white-img {
  display: none !important;
}

body.dark-mode .brand .logo-color-img,
.dark-mode .brand .logo-color-img {
  display: none !important;
}

body.dark-mode .brand .logo-white-img,
.dark-mode .brand .logo-white-img {
  display: block !important;
}

body.dark-mode .brand .logo-auto-img,
.dark-mode .brand .logo-auto-img {
  filter: brightness(0) invert(1) !important;
}

.dark-mode .menu {
  color: #ffffff !important;
}

.dark-mode .header,
.dark-mode .footer,
.dark-mode .section,
.dark-mode .about,
.dark-mode .insights,
.dark-mode .partners,
.dark-mode .stats,
body.dark-mode .section,
body.dark-mode .about,
body.dark-mode .insights,
body.dark-mode .partners,
body.dark-mode .stats {
  background: transparent !important;
  border-top: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  color: #f8fafc !important;
}

.dark-mode .hero-art {
  background: var(--surface-2);
}

.dark-mode .footer {
  border-color: var(--line);
}

.dark-mode .section-intro,
.dark-mode .lead,
.dark-mode .about-copy p,
.dark-mode .case p,
.dark-mode .faq-intro p,
.dark-mode .faq-list p,
.dark-mode .blog-meta,
.dark-mode .temp,
.dark-mode .accreditation-card p,
.dark-mode .trust-section-title {
  color: var(--muted);
}

.dark-mode .service-card,
.dark-mode .case-footer span,
.dark-mode .outline,
.dark-mode .accreditation-card {
  border-color: var(--line);
}

.dark-mode .accreditation-card {
  background: var(--surface-2);
}

body.dark-mode .trust-card,
:root[data-theme="dark"] .trust-card {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
  color: #ffffff !important;
}

body.dark-mode .trust-card strong,
:root[data-theme="dark"] .trust-card strong {
  color: #ffffff !important;
}

body.dark-mode .trust-card img,
body.dark-mode .trust-card svg,
:root[data-theme="dark"] .trust-card img,
:root[data-theme="dark"] .trust-card svg {
  filter: brightness(0) invert(1) !important;
  opacity: 0.9 !important;
}

body.dark-mode .trust-card:hover,
:root[data-theme="dark"] .trust-card:hover {
  border-color: #b9a0fb !important;
  box-shadow: 0 8px 24px rgba(185, 160, 251, 0.3) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

body.dark-mode .trust-card:hover img,
body.dark-mode .trust-card:hover svg,
:root[data-theme="dark"] .trust-card:hover img,
:root[data-theme="dark"] .trust-card:hover svg {
  opacity: 1 !important;
  filter: brightness(0) invert(1) drop-shadow(0 0 6px rgba(185, 160, 251, 0.5)) !important;
}

.dark-mode .accreditation-icon {
  background: var(--surface);
}

.dark-mode .faq-list details,
.dark-mode .faq-list details:first-child {
  border-color: var(--line);
}

/* Pure White Background for Form Inputs across Light and Dark Mode */
.field input,
.field select,
.field textarea,
.contact-form-card .field input,
.contact-form-card .field select,
.contact-form-card .field textarea,
.contact-modal .field input,
.contact-modal .field select,
.contact-modal .field textarea,
#contact form input,
#contact form select,
#contact form textarea,
#contact-form input,
#contact-form select,
#contact-form textarea,
#contact-page-form input,
#contact-page-form select,
#contact-page-form textarea,
.dark-mode .field input,
.dark-mode .field select,
.dark-mode .field textarea,
body.dark-mode .field input,
body.dark-mode .field select,
body.dark-mode .field textarea,
body.dark-mode input[type="text"],
body.dark-mode input[type="email"],
body.dark-mode input[type="tel"],
body.dark-mode select,
body.dark-mode textarea,
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 12px !important;
  padding: 14px 18px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.field input::placeholder,
.field textarea::placeholder,
.contact-form-card .field input::placeholder,
.contact-form-card .field textarea::placeholder,
.dark-mode .field input::placeholder,
.dark-mode .field textarea::placeholder,
body.dark-mode input::placeholder,
body.dark-mode textarea::placeholder,
input::placeholder,
textarea::placeholder {
  color: #64748b !important;
  opacity: 1 !important;
}

.field select option,
.contact-form-card .field select option,
.dark-mode .field select option,
body.dark-mode select option,
select option {
  background: #ffffff !important;
  color: #0f172a !important;
}

.dark-mode .footer-links a,
.dark-mode .footer-bottom,
.dark-mode .footer-bottom span {
  color: #ffffff !important;
}

.dark-mode .mobile-bottom {
  background: #18152a;
  border-color: var(--line);
}

.dark-mode .mobile-bottom>button {
  background: #2a2344;
}

.dark-mode .header nav,
body.dark-mode .header nav,
body.dark-mode #navigation {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.dark-mode .header nav a,
body.dark-mode .header nav a,
body.dark-mode #navigation a {
  background: transparent !important;
  border: none !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #f8fafc !important;
}

.dark-mode .header nav a:hover,
body.dark-mode .header nav a:hover,
body.dark-mode #navigation a:hover {
  color: #b9a0fb !important;
}

/* Media Queries */
@media(min-width: 1500px) {
  .hero {
    gap: 100px;
  }

  .hero-art {
    height: 535px;
  }
}

@media(max-width: 1100px) {
  .wrap {
    width: calc(100% - 60px);
  }

  .header {
    gap: 20px;
  }

  .header nav {
    gap: 15px;
    font-size: 12px;
  }

  .hero {
    gap: 35px;
  }

  .hero-art {
    height: 460px;
  }

  .hero h1 {
    font-size: 56px;
  }

  .benefits>div {
    padding-inline: 18px;
  }

  .benefits h3 {
    font-size: 12px;
  }

  .about-layout {
    gap: 40px;
  }

  .contact-layout {
    gap: 50px;
  }

  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}

@media(max-width: 1024px) {
  .wrap {
    width: calc(100% - 40px);
  }

  .topbar {
    font-size: 10px;
    gap: 7px;
    text-align: center;
  }

  .topbar a {
    display: none;
  }

  .header {
    width: 100% !important;
    max-width: 100% !important;
    padding-inline: 20px;
    margin-inline: 0;
    box-sizing: border-box;
    height: 85px;
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 8px 24px rgba(25, 20, 50, 0.08);
    backdrop-filter: blur(14px);
  }

  .dark-mode .header {
    background: rgba(18, 16, 30, 0.94);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  }

  .brand {
    font-size: 35px;
  }

  .brand img {
    width: 88px;
  }

  .footer .brand img {
    width: 96px;
  }

  .header nav {
    display: none;
    position: absolute;
    top: 85px;
    left: 0;
    right: 0;
    width: 100%;
    background: #ffffff !important;
    z-index: 9999 !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2) !important;
    border-bottom: 1px solid var(--line) !important;
    border-radius: 0 0 18px 18px !important;
    padding: 24px 20px !important;
    box-sizing: border-box !important;
  }

  body.dark-mode .header nav,
  :root[data-theme="dark"] .header nav,
  body.dark-mode #navigation,
  :root[data-theme="dark"] #navigation {
    background: #191432 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6) !important;
    padding: 24px 20px !important;
  }

  .header nav.open {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }

  .header nav a {
    padding: 10px 14px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    color: var(--navy) !important;
    transition: background 0.2s ease, color 0.2s ease !important;
  }

  body.dark-mode .header nav a,
  :root[data-theme="dark"] .header nav a {
    color: #f8fafc !important;
  }

  .header nav a:hover {
    background: rgba(114, 80, 207, 0.08) !important;
    color: var(--purple) !important;
  }

  body.dark-mode .header nav a:hover,
  :root[data-theme="dark"] .header nav a:hover {
    background: rgba(185, 160, 251, 0.12) !important;
    color: #b9a0fb !important;
  }

  .header-actions {
    gap: 8px;
    align-items: center;
  }

  .language,
  .theme-toggle {
    width: 34px;
    height: 34px;
  }

  .language .icon,
  .theme-toggle .icon {
    width: 17px;
    height: 17px;
  }

  .header-cta {
    font-size: 11px;
    padding: 6px 12px;
    gap: 6px;
    white-space: nowrap;
    border-radius: 7px;
    height: 34px;
    line-height: 1;
  }

  .menu {
    display: flex !important;
    background: none;
    border: 0;
    font-size: 23px;
    color: var(--navy);
    cursor: pointer;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 25px 30px;
  }

  .hero h1 {
    font-size: clamp(20px, 5.2vw, 26px);
    line-height: 1.3;
    letter-spacing: -0.5px;
    text-wrap: balance;
    word-break: keep-all;
  }

  .hero h1 .h1-line {
    white-space: nowrap;
    display: inline-block;
    max-width: 100%;
  }

  [dir=ltr] .hero h1 {
    font-size: clamp(20px, 5.5vw, 26px);
  }

  .hero .eyebrow {
    font-size: 12px;
    margin-bottom: 17px;
  }

  .lead {
    font-size: 15px;
    margin-top: 19px;
  }

  .hero-buttons {
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
  }

  .button {
    font-size: 12px;
    padding: 10px 16px;
    gap: 10px;
    white-space: nowrap;
  }

  .text-link {
    font-size: 12px;
    gap: 8px;
  }

  .micro {
    margin-bottom: 5px;
  }

  .hero-art {
    height: 360px;
    border-radius: 20px 65px 20px 20px;
  }

  .hero-photo {
    object-position: 62% center;
  }

  .growth-card {
    left: 12px;
    right: auto;
    top: 16px;
    padding: 12px;
  }

  .growth-card strong {
    font-size: 24px;
  }

  .growth-card span {
    margin-right: 10px;
  }

  .roas-card {
    bottom: 20px;
    left: 12px;
    padding: 12px 15px;
    min-width: 160px;
  }

  .roas-card strong {
    font-size: 33px;
  }

  .benefits {
    grid-template-columns: 1fr 1fr;
    gap: 24px 0;
    padding-block: 25px;
  }

  .benefits>div {
    padding-inline: 12px;
    gap: 10px;
  }

  .benefits>div:nth-child(odd) {
    padding-inline-start: 0;
  }

  .benefits>div:nth-child(even) {
    border: 0;
  }

  .benefits h3 {
    font-size: 12px;
  }

  .benefits p {
    font-size: 10px;
  }

  .benefit-icon {
    font-size: 24px;
  }

  .section {
    padding-block: 50px;
  }

  .section h2,
  .contact h2,
  .stats h2,
  .about-copy h2,
  .nob-main-services-title {
    font-size: clamp(20px, 5.5vw, 24px) !important;
    line-height: 1.35 !important;
    text-wrap: balance;
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .about-visual {
    min-height: 300px;
    grid-row: 2;
  }

  .circle {
    width: 245px;
    height: 245px;
    border-width: 40px;
  }

  .circle:before {
    inset: -41px;
  }

  .circle:after {
    width: 50px;
    height: 50px;
    bottom: -8px;
    right: -12px;
  }

  .circle-text {
    font-size: 24px;
  }

  .visual-caption {
    font-size: 8px;
  }

  .about-copy p {
    font-size: 14px;
  }

  .section-head {
    align-items: start;
    gap: 18px;
  }

  .section-head .button {
    padding: 10px;
    font-size: 10px;
    white-space: nowrap;
  }

  .section-intro {
    display: none;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  /* Mobile Slider for Case Grid (نتائج مبنية على الأرقام) */
  #work .case-grid,
  .case-grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-block: 15px 30px;
    scrollbar-width: none;
    margin-inline: calc(-1 * min(24px, 4vw));
    padding-inline: min(24px, 4vw);
  }

  #work .case-grid::-webkit-scrollbar,
  .case-grid::-webkit-scrollbar {
    display: none;
  }

  #work .case-grid .nob-project-card,
  .case-grid .nob-project-card {
    flex: 0 0 84%;
    min-width: 270px;
    max-width: 340px;
    scroll-snap-align: start;
  }

  .service-card {
    padding: 25px;
  }

  .service-top {
    margin-bottom: 25px;
  }

  .service-card p {
    min-height: 0;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px 0;
  }

  .stats strong {
    font-size: 36px;
  }

  .stats span {
    font-size: 11px;
  }

  .stats-grid>div:nth-child(3) {
    border: 0;
  }

  .trust-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }

  .trust-card {
    padding: 6px 4px !important;
    min-height: 65px !important;
    border-radius: 8px !important;
  }

  .trust-card img {
    max-height: 48px !important;
    max-width: 94% !important;
  }

  .case-art {
    height: 235px;
  }

  .case h3 {
    font-size: 21px;
  }

  .blog-art {
    height: 210px;
  }

  .blog h3 {
    font-size: 17px;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .faq-intro p {
    max-width: none;
  }

  .faq-list summary {
    font-size: 14px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-info {
    margin-top: 20px;
  }

  .contact form {
    gap: 15px 12px;
  }

  .field input,
  .field select {
    padding: 12px 9px;
    font-size: 12px;
  }

  .footer-top {
    flex-wrap: wrap;
    align-items: start;
  }

  .footer-links {
    gap: 17px;
    flex-wrap: wrap;
    font-size: 11px;
  }

  .footer-bottom {
    gap: 15px;
    flex-direction: column;
  }

  .footer {
    padding-bottom: 100px;
  }

  .floating,
  .floating.whatsapp {
    display: none !important;
  }

  .mobile-bottom {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 10px 16px;
    padding-bottom: max(10px, env(safe-area-inset-bottom));
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    gap: 12px;
    box-shadow: 0 -6px 25px rgba(0, 0, 0, 0.08);
    align-items: center;
    justify-content: space-between;
  }

  .dark-mode .mobile-bottom {
    background: #18152a;
    border-top-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 -6px 25px rgba(0, 0, 0, 0.4);
  }

  .mobile-bottom .mobile-wa-btn {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    background: #25D366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
    transition: transform 0.2s ease;
    flex-shrink: 0;
  }

  .mobile-bottom .mobile-wa-btn:active {
    transform: scale(0.92);
  }

  .mobile-bottom .mobile-wa-btn .wa-icon {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: #ffffff;
    stroke-width: 1.8;
  }

  .mobile-bottom .mobile-cta-btn {
    flex: 1;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border-radius: 999px;
    background: var(--purple);
    background: linear-gradient(135deg, #7250cf 0%, #5b3bb5 100%);
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(114, 80, 207, 0.4);
    transition: transform 0.2s ease, opacity 0.2s ease;
    white-space: nowrap;
  }

  .mobile-bottom .mobile-cta-btn:active {
    transform: scale(0.97);
  }
}

/* Scroll Reveal & Micro Animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

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

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

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

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

.growth-card {
  animation: floatSlow 4s ease-in-out infinite alternate;
}

.roas-card {
  animation: floatSlow 5s ease-in-out infinite alternate-reverse;
}

@keyframes floatSlow {
  0% {
    transform: translateY(0px);
  }

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

.service-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -15px rgba(114, 80, 207, 0.25);
  border-color: rgba(114, 80, 207, 0.4);
}

.case {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.case:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -10px rgba(16, 29, 57, 0.15);
}

.benefit-icon {
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.benefits>div:hover .benefit-icon {
  transform: scale(1.15) rotate(5deg);
  background-color: transparent !important;
  color: #ffffff !important;
}

@media(prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
    animation: none !important;
  }
}

/* Project Details Page Dark Mode Styles */
.dark-mode .project-hero,
.dark-mode .nob-stats-section,
.dark-mode .story-section,
.dark-mode .gallery-section {
  color: var(--ink);
}

.dark-mode .project-title {
  color: var(--ink) !important;
}

.dark-mode .project-desc {
  color: var(--muted) !important;
}

.dark-mode .meta-item {
  background: var(--surface-2) !important;
  border-color: var(--line) !important;
  color: var(--ink) !important;
}

.dark-mode .meta-item strong {
  color: #a78bfa !important;
}

.dark-mode .nob-stat-card {
  background: var(--surface-2) !important;
  border-color: var(--line) !important;
}

.dark-mode .nob-stat-number {
  color: var(--ink) !important;
}

.dark-mode .nob-stat-label {
  color: var(--ink) !important;
}

.dark-mode .nob-stat-sub {
  color: var(--muted) !important;
}

.dark-mode .story-card {
  background: var(--surface-2) !important;
  border-color: var(--line) !important;
}

.dark-mode .story-card h3 {
  color: var(--ink) !important;
}

.dark-mode .story-card p {
  color: var(--muted) !important;
}

.dark-mode .story-icon {
  background: rgba(167, 139, 250, 0.15) !important;
  color: #a78bfa !important;
}

.dark-mode .back-link {
  background: var(--surface-2) !important;
  color: var(--ink) !important;
  border-color: var(--line) !important;
}

.dark-mode .back-link:hover {
  background: #8d70ca !important;
  color: #ffffff !important;
}

.dark-mode .section-title {
  color: var(--ink) !important;
}

@media (max-width: 640px) {
  .stats-cards-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .nob-stat-card {
    padding: 16px 12px !important;
    border-radius: 14px !important;
  }

  .nob-stat-number {
    font-size: 24px !important;
    margin-bottom: 6px !important;
    gap: 2px !important;
  }

  .nob-stat-number small {
    font-size: 13px !important;
  }

  .nob-stat-label {
    font-size: 12px !important;
    margin-bottom: 4px !important;
    line-height: 1.3 !important;
  }

  .nob-stat-sub {
    font-size: 10px !important;
    line-height: 1.25 !important;
  }
}

/* Interactive Booking Modal System */
.booking-steps-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.05);
  padding: 6px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.booking-step-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #a099b2;
  transition: all 0.3s ease;
}

.booking-step-tab .step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.booking-step-tab.active {
  background: #7250cf;
  color: #ffffff;
}

.booking-step-tab.active .step-num {
  background: #ffffff;
  color: #7250cf;
}

.booking-step-title {
  font-size: 15px;
  color: #ffffff;
  margin-bottom: 16px;
  font-weight: 600;
}

.booking-dates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(125px, 1fr));
  gap: 10px;
  max-height: 280px;
  overflow-y: auto;
  padding-inline-end: 4px;
}

.date-slot-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.date-slot-card:hover {
  border-color: #b9a0fb;
  background: rgba(185, 160, 251, 0.15);
  transform: translateY(-2px);
}

.date-slot-card.selected {
  background: #7250cf;
  border-color: #b9a0fb;
  box-shadow: 0 6px 18px rgba(114, 80, 207, 0.4);
}

.date-slot-card .date-day {
  font-size: 11px;
  color: #b1bace;
  display: block;
}

.date-slot-card.selected .date-day {
  color: #dcd0ff;
}

.date-slot-card .date-num {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin-top: 2px;
  display: block;
}

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

.time-slot-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 14px 10px;
  text-align: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  color: #ffffff;
  transition: all 0.25s ease;
}

.time-slot-card:hover {
  border-color: #b9a0fb;
  background: rgba(185, 160, 251, 0.15);
}

.time-slot-card.selected {
  background: #7250cf;
  border-color: #b9a0fb;
  box-shadow: 0 6px 18px rgba(114, 80, 207, 0.4);
}

.selected-meta-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(114, 80, 207, 0.2);
  border: 1px solid rgba(185, 160, 251, 0.3);
  padding: 8px 14px;
  border-radius: 8px;
  margin-bottom: 18px;
  font-size: 13px;
  color: #e0d5fc;
}

.change-step-btn {
  background: none;
  border: 0;
  color: #b9a0fb;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
}

/* About Page Dark Mode & Custom Styles */
.about-page-hero {
  padding-top: 140px;
  padding-bottom: 60px;
  background: linear-gradient(180deg, #faf8fe 0%, #ffffff 100%);
  color: var(--navy);
}

.about-hero-title {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 20px;
  color: var(--navy);
}

.about-hero-title mark {
  color: var(--purple);
}

.about-hero-lead {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.8;
}

body.dark-mode .about-page-hero {
  background: linear-gradient(180deg, #12101e 0%, #19162a 100%) !important;
  color: #ffffff !important;
}

body.dark-mode .about-hero-title {
  color: #ffffff !important;
}

body.dark-mode .about-hero-title mark {
  color: #b9a0fb !important;
}

body.dark-mode .about-hero-lead {
  color: #b1bace !important;
}

/* Hero Video Background Mode Styles */
.hero-video-mode {
  position: relative;
  overflow: hidden;
}
.hero-video-art {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}
.hero-video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  display: block;
}

/* Comprehensive Dark Mode Color System */
body.dark-mode {
  background-color: #0f172a !important;
  color: #f8fafc !important;
}

body.dark-mode .header-sticky-wrapper {
  background: rgba(15, 23, 42, 0.95) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body.dark-mode .header {
  background: transparent !important;
}

body.dark-mode #navigation a {
  color: #f1f5f9 !important;
}

body.dark-mode #navigation a:hover {
  color: #b9a0fb !important;
}

body.dark-mode .topbar {
  background: linear-gradient(100deg, #372476, #20134f) !important;
}

body.dark-mode .brand img {
  filter: brightness(0) invert(1);
}

body.dark-mode .hero-copy h1,
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4 {
  color: #ffffff !important;
}

body.dark-mode .hero-copy p.lead,
body.dark-mode p.lead,
body.dark-mode p {
  color: #cbd5e1 !important;
}

body.dark-mode .eyebrow {
  color: #b9a0fb !important;
}

body.dark-mode .eyebrow .short-line {
  background: #b9a0fb !important;
}

body.dark-mode .nob-accordion-container .nob-service-item {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

body.dark-mode .nob-service-title {
  color: #ffffff !important;
}

body.dark-mode .nob-service-sub {
  color: #cbd5e1 !important;
}

body.dark-mode .nob-subservices-box {
  background: rgba(255, 255, 255, 0.03) !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
}

body.dark-mode .nob-subservices-label {
  color: #a78bfa !important;
}

body.dark-mode .nob-subservices-pills span {
  background: rgba(185, 160, 251, 0.12) !important;
  color: #e0d5fc !important;
  border: 1px solid rgba(185, 160, 251, 0.25) !important;
}

body.dark-mode .stats {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

body.dark-mode .stats h2 {
  color: #ffffff !important;
}

body.dark-mode .stats strong {
  color: #b9a0fb !important;
}

body.dark-mode .stats span {
  color: #cbd5e1 !important;
}

body.dark-mode .footer {
  background: #090d19 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  color: #ffffff !important;
}

body.dark-mode .footer-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}

body.dark-mode .footer-links a {
  color: #ffffff !important;
}

body.dark-mode .footer-links a:hover {
  color: #ffffff !important;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.7) !important;
}

body.dark-mode .socials button,
body.dark-mode .socials a {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
}

body.dark-mode .socials button:hover,
body.dark-mode .socials a:hover {
  background: linear-gradient(135deg, #8b5cf6, #6366f1) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  box-shadow: 0 10px 25px rgba(139, 92, 246, 0.4) !important;
}

body.dark-mode .footer-bottom,
body.dark-mode .footer-bottom span {
  border-top: none !important;
  color: #ffffff !important;
}

body.dark-mode .card,
body.dark-mode .blog-card,
body.dark-mode .testimonial-card,
body.dark-mode .trust-card {
  background: #1e293b !important;
  border-color: #334155 !important;
  color: #f8fafc !important;
}

body.dark-mode .faq-list details {
  background: transparent !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #f8fafc !important;
}

body.dark-mode .faq-list details:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
}

body.dark-mode .faq-list summary {
  color: #ffffff !important;
}

/* ==========================================================================
   CONTACT PAGE & FORM CARDS STYLES (`contact.php`)
   ========================================================================== */

/* Hero Section */
.contact-hero-section {
  padding: 50px 0 30px;
}

.contact-hero-title {
  font-size: 38px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.25;
}

.dark-mode .contact-hero-title,
body.dark-mode .contact-hero-title {
  color: #ffffff !important;
}

.contact-hero-lead {
  font-size: 16px;
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

.dark-mode .contact-hero-lead,
body.dark-mode .contact-hero-lead {
  color: #cbd5e1 !important;
}

/* Main Grid Layout */
.contact-grid-container {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 991px) {
  .contact-grid-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Left Info Card */
.contact-info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.dark-mode .contact-info-card,
body.dark-mode .contact-info-card {
  background: rgba(15, 23, 42, 0.75) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5) !important;
  backdrop-filter: blur(16px) !important;
}

.info-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.dark-mode .info-card-title,
body.dark-mode .info-card-title {
  color: #ffffff !important;
}

.info-card-desc {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

.dark-mode .info-card-desc,
body.dark-mode .info-card-desc {
  color: #94a3b8 !important;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.info-item-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(124, 58, 237, 0.12);
  color: #7c3aed;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.info-item-icon:hover {
  transform: scale(1.06);
}

.dark-mode .info-item-icon,
body.dark-mode .info-item-icon {
  background: rgba(139, 92, 246, 0.2) !important;
  color: #c4b5fd !important;
}

.dark-mode .whatsapp-info-icon,
body.dark-mode .whatsapp-info-icon {
  background: rgba(37, 211, 102, 0.2) !important;
  color: #25d366 !important;
}

.info-item-icon .icon {
  width: 22px;
  height: 22px;
}

.info-label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 3px;
}

.dark-mode .info-label,
body.dark-mode .info-label {
  color: #94a3b8 !important;
}

.info-val {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s ease;
}

.dark-mode .info-val,
body.dark-mode .info-val {
  color: #f8fafc !important;
}

a.info-val:hover {
  color: #7c3aed;
}

.dark-mode a.info-val:hover,
body.dark-mode a.info-val:hover {
  color: #c4b5fd !important;
}

.info-social-box {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.dark-mode .info-social-box,
body.dark-mode .info-social-box {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.socials-row {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.socials-row a {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: all 0.25s ease;
}

.dark-mode .socials-row a,
body.dark-mode .socials-row a {
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #e2e8f0 !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

.socials-row a:hover {
  background: #7c3aed;
  color: #ffffff;
  border-color: #7c3aed;
  transform: translateY(-2px);
}

.dark-mode .socials-row a:hover,
body.dark-mode .socials-row a:hover {
  background: #8b5cf6 !important;
  color: #ffffff !important;
  border-color: #8b5cf6 !important;
}

.socials-row .icon {
  width: 18px;
  height: 18px;
}

/* Right Form Card */
.contact-form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.dark-mode .contact-form-card,
body.dark-mode .contact-form-card {
  background: rgba(15, 23, 42, 0.75) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5) !important;
  backdrop-filter: blur(16px) !important;
}

.form-card-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.dark-mode .form-card-title,
body.dark-mode .form-card-title {
  color: #ffffff !important;
}

.form-card-subtitle {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

.dark-mode .form-card-subtitle,
body.dark-mode .form-card-subtitle {
  color: #94a3b8 !important;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

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

.contact-form-card .field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  display: block;
}

.dark-mode .contact-form-card .field label,
body.dark-mode .contact-form-card .field label {
  color: #cbd5e1 !important;
}

.contact-form-card button[type="submit"] {
  background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%) !important;
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  padding: 16px 28px !important;
  border-radius: 14px !important;
  border: none !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.35) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  margin-top: 10px;
}

.contact-form-card button[type="submit"]:hover {
  background: linear-gradient(135deg, #6d28d9 0%, #4f46e5 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 30px rgba(124, 58, 237, 0.5) !important;
}

/* Services Page Modern Responsive Grid & Cards */
.services-hero-title {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.services-hero-lead {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--muted);
  line-height: 1.8;
  max-width: 750px;
  margin: 0 auto 30px;
}

.services-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 50px;
}

@media (max-width: 991px) {
  .services-cards-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.service-page-card {
  background: var(--surface, #19162a);
  border: 1px solid var(--line, rgba(255, 255, 255, 0.1));
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

body.dark-mode .service-page-card {
  background: rgba(15, 23, 42, 0.75) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(16px) !important;
}

.service-page-card:hover {
  transform: translateY(-6px);
  border-color: #8b5cf6 !important;
  box-shadow: 0 20px 40px -10px rgba(139, 92, 246, 0.3);
}

.service-card-media {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: #0f172a;
}

@media (max-width: 640px) {
  .service-card-media {
    height: 190px;
  }
}

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

.service-page-card:hover .service-card-media img {
  transform: scale(1.06);
}

.service-card-num {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  color: #b9a0fb;
  font-size: 14px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

[dir="ltr"] .service-card-num {
  right: auto;
  left: 16px;
}

.service-card-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

@media (max-width: 640px) {
  .service-card-content {
    padding: 20px;
  }
}

.service-card-title {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 12px;
  color: var(--navy);
  line-height: 1.4;
}

body.dark-mode .service-card-title {
  color: #ffffff !important;
}

.service-card-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 20px;
  flex-grow: 1;
}

body.dark-mode .service-card-desc {
  color: #cbd5e1 !important;
}

.service-sub-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.service-sub-pills span {
  background: rgba(139, 92, 246, 0.12);
  color: #a78bfa;
  border: 1px solid rgba(139, 92, 246, 0.25);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  transition: all 0.2s ease;
}

.service-sub-pills span:hover {
  background: #8b5cf6;
  color: #ffffff;
}

.service-card-footer {
  margin-top: auto;
}

/* Dark Mode Fixes for Project Details & Portfolio Cards */
body.dark-mode .cat-detail-card,
:root[data-theme="dark"] .cat-detail-card,
[data-theme="dark"] .cat-detail-card,
body.dark-mode .story-card,
:root[data-theme="dark"] .story-card,
[data-theme="dark"] .story-card {
  background: #1e293b !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #f8fafc !important;
}

body.dark-mode .cat-detail-card h3,
:root[data-theme="dark"] .cat-detail-card h3,
[data-theme="dark"] .cat-detail-card h3,
body.dark-mode .cat-card-text,
:root[data-theme="dark"] .cat-card-text,
[data-theme="dark"] .cat-card-text,
body.dark-mode .cat-detail-card p,
:root[data-theme="dark"] .cat-detail-card p,
[data-theme="dark"] .cat-detail-card p {
  color: #e2e8f0 !important;
}

body.dark-mode .cat-detail-card strong,
:root[data-theme="dark"] .cat-detail-card strong,
[data-theme="dark"] .cat-detail-card strong {
  color: #a78bfa !important;
}

/* Mobile Gallery Slider */
@media (max-width: 768px) {
  .gallery-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 15px !important;
    gap: 14px !important;
    direction: rtl !important;
    scrollbar-width: none !important;
  }
  .gallery-grid::-webkit-scrollbar {
    display: none !important;
  }
  .gallery-item {
    flex: 0 0 82% !important;
    min-width: 250px !important;
    scroll-snap-align: start !important;
  }
  .gallery-item img {
    height: 220px !important;
  }
}

/* Mobile Responsiveness for all Forms, Inputs, and Contact Sections */
@media (max-width: 991px) {
  .contact-layout {
    grid-template-columns: 1fr !important;
    gap: 35px !important;
  }
}

@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
  }

  .contact form,
  #contact-form,
  #contact-page-form,
  .booking-form,
  .contact-form-card,
  .forms-container,
  .modal-form,
  form.contact-form,
  #bookingForm,
  #contactForm,
  #appointmentForm,
  #leadForm {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding: 22px 16px !important;
    border-radius: 18px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .field,
  .form-group,
  .contact form .field,
  .contact form div,
  #contact-form .field,
  #contact-page-form .field,
  .forms-container > div {
    grid-column: 1 / -1 !important;
    width: 100% !important;
  }

  .field input,
  .field select,
  .field textarea,
  .form-control,
  .contact form input,
  .contact form select,
  .contact form textarea,
  #contact-form input,
  #contact-form select,
  #contact-form textarea {
    font-size: 14px !important;
    padding: 12px 14px !important;
    height: auto !important;
    min-height: 48px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .field label,
  .form-group label {
    font-size: 13px !important;
    font-weight: 600 !important;
  }

  .contact form button,
  .contact form input[type="submit"],
  .field button[type="submit"],
  .contact form .btn,
  #contact-form button,
  #contact-page-form button {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    font-size: 15px !important;
    padding: 14px 20px !important;
  }
}