:root {
  --oryx-primary: #21a9df;
  --oryx-primary-dark: #0f7da8;
  --oryx-primary-soft: rgba(33, 169, 223, 0.14);
  --oryx-navy: #0b2942;
  --oryx-navy-soft: #1a3a55;
  --oryx-gold: #c9a25b;
  --oryx-gold-dark: #a8853f;
  --oryx-gold-soft: #f4ead4;
  --oryx-teal: #1aa6a0;
  --oryx-teal-soft: #d6f1ef;
  --oryx-dark: #111217;
  --oryx-gray: #6b7280;
  --oryx-bg: #f7fafc;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  color: var(--oryx-dark);
  background: #ffffff;
}

/* =========================
   Navbar
   ========================= */
.navbar {
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(11, 41, 66, 0.05);
  transition: box-shadow 0.25s ease, background-color 0.25s ease,
    backdrop-filter 0.25s ease;
}

.navbar.scrolled {
  box-shadow: 0 8px 26px rgba(11, 41, 66, 0.1);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
}

.logo-img {
  height: 44px;
  width: auto;
  transition: transform 0.4s ease;
}

.navbar-brand:hover .logo-img {
  transform: scale(1.05) rotate(-2deg);
}

.nav-link {
  position: relative;
  font-weight: 500;
  color: var(--oryx-navy);
  transition: color 0.25s ease;
}

.nav-link i {
  color: var(--oryx-primary-dark);
  margin-inline-end: 0.35rem;
  transition: color 0.25s ease, transform 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  inset-inline-start: 50%;
  inset-inline-end: 50%;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--oryx-primary), var(--oryx-gold));
  transition: inset-inline-start 0.3s ease, inset-inline-end 0.3s ease,
    opacity 0.3s ease;
  opacity: 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--oryx-primary-dark);
}

.nav-link:hover::after,
.nav-link.active::after {
  inset-inline-start: 18%;
  inset-inline-end: 18%;
  opacity: 1;
}

.nav-link:hover i {
  transform: translateY(-1px);
  color: var(--oryx-gold-dark);
}

.btn-outline-primary {
  border-color: var(--oryx-primary);
  color: var(--oryx-primary-dark);
  transition: all 0.25s ease;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus-visible {
  background: linear-gradient(
    135deg,
    var(--oryx-primary) 0%,
    var(--oryx-gold) 100%
  );
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(201, 162, 91, 0.25);
}

/* =========================
   Hero
   ========================= */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 15% 20%, rgba(33, 169, 223, 0.12), transparent 45%),
    radial-gradient(circle at 85% 70%, rgba(201, 162, 91, 0.10), transparent 45%),
    radial-gradient(circle at 50% 100%, rgba(11, 41, 66, 0.06), transparent 50%),
    linear-gradient(140deg, #f5fbff 0%, #eef6fb 100%);
  padding: 5rem 0 4rem;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
}

.hero::before {
  width: 360px;
  height: 360px;
  top: -120px;
  inset-inline-start: -100px;
  background: radial-gradient(circle, rgba(33, 169, 223, 0.35), transparent 70%);
  animation: blobFloat 22s ease-in-out infinite;
}

.hero::after {
  width: 320px;
  height: 320px;
  bottom: -120px;
  inset-inline-end: -80px;
  background: radial-gradient(circle, rgba(201, 162, 91, 0.30), transparent 70%);
  animation: blobFloat 26s ease-in-out infinite reverse;
}

.hero-title {
  font-weight: 800;
  line-height: 1.2;
  color: var(--oryx-navy);
  background: linear-gradient(
    100deg,
    var(--oryx-navy) 0%,
    var(--oryx-primary-dark) 60%,
    var(--oryx-gold-dark) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: heroFadeUp 0.9s ease-out 0.1s both;
}

.hero .lead {
  animation: heroFadeUp 0.9s ease-out 0.25s both;
}

.hero h2.h5 {
  color: var(--oryx-navy);
  animation: heroFadeUp 0.9s ease-out 0.4s both;
}

.hero-list {
  padding-inline-start: 0;
}

.hero-list li {
  margin-bottom: 0.5rem;
  list-style: none;
  opacity: 0;
  transform: translateY(8px);
  animation: heroFadeUp 0.6s ease-out forwards;
}

.hero-list li:nth-child(1) {
  animation-delay: 0.55s;
}
.hero-list li:nth-child(2) {
  animation-delay: 0.7s;
}
.hero-list li:nth-child(3) {
  animation-delay: 0.85s;
}

.hero-cta-row {
  opacity: 0;
  transform: translateY(8px);
  animation: heroFadeUp 0.6s ease-out 0.95s forwards;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-weight: 600;
  border-radius: 10px;
  padding: 0.6rem 1.25rem;
  border-width: 2px;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.25s ease,
    background 0.25s ease, color 0.25s ease;
}

.hero-cta i {
  font-size: 1.05rem;
  line-height: 1;
  flex-shrink: 0;
}

.hero-cta:focus-visible {
  outline: 2px solid var(--oryx-gold);
  outline-offset: 3px;
}

.hero-cta-primary {
  border: none;
  color: #ffffff;
  background: linear-gradient(
    135deg,
    var(--oryx-primary) 0%,
    var(--oryx-primary-dark) 45%,
    var(--oryx-gold) 100%
  );
  box-shadow: 0 6px 18px rgba(33, 169, 223, 0.28);
}

.hero-cta-primary:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(201, 162, 91, 0.35);
}

.hero-cta-outline {
  border-color: var(--oryx-primary);
  color: var(--oryx-primary-dark);
  background: rgba(255, 255, 255, 0.65);
}

.hero-cta-outline:hover {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(
    135deg,
    var(--oryx-primary) 0%,
    var(--oryx-gold) 100%
  );
  box-shadow: 0 6px 18px rgba(201, 162, 91, 0.22);
}

.hero-list li i {
  color: var(--oryx-primary);
  margin-inline-end: 0.5rem;
  transition: transform 0.25s ease, color 0.25s ease;
}

.hero-list li:hover i {
  color: var(--oryx-gold-dark);
  transform: scale(1.15);
}

/* =========================
   Sections
   ========================= */
.section {
  padding: 4rem 0;
  position: relative;
}

.section-title {
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--oryx-navy);
}

.title-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.title-with-icon i {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(33, 169, 223, 0.18) 0%,
    rgba(201, 162, 91, 0.18) 100%
  );
  color: var(--oryx-primary-dark);
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(33, 169, 223, 0.12);
}

.accent-line {
  width: 84px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--oryx-primary) 0%,
    var(--oryx-gold) 100%
  );
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(33, 169, 223, 0.25);
}

/* =========================
   Service Cards
   ========================= */
.service-card {
  position: relative;
  border: 1px solid #e8edf2;
  border-radius: 14px;
  height: 100%;
  background: #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease,
    border-color 0.3s ease;
  box-shadow: 0 4px 14px rgba(11, 41, 66, 0.04);
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  inset-inline-end: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--oryx-primary),
    var(--oryx-gold)
  );
  transform: scaleX(0);
  transform-origin: var(--bar-origin, left);
  transition: transform 0.4s ease;
}

[dir="rtl"] .service-card::before {
  --bar-origin: right;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(33, 169, 223, 0.18);
  border-color: rgba(33, 169, 223, 0.25);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #e6f7fd, #f3fbff);
  color: var(--oryx-primary-dark);
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 8px 18px rgba(33, 169, 223, 0.22);
}

/* Variant: gold (accounting) */
.service-card[data-variant="gold"] .service-icon {
  background: linear-gradient(145deg, #faf0d8, #fff7e1);
  color: var(--oryx-gold-dark);
}

.service-card[data-variant="gold"]:hover .service-icon {
  box-shadow: 0 8px 18px rgba(201, 162, 91, 0.30);
}

/* Variant: navy (custom dev) */
.service-card[data-variant="navy"] .service-icon {
  background: linear-gradient(145deg, #dde7f2, #eaf1f9);
  color: var(--oryx-navy);
}

.service-card[data-variant="navy"]:hover .service-icon {
  box-shadow: 0 8px 18px rgba(11, 41, 66, 0.25);
}

/* Variant: teal (integration) */
.service-card[data-variant="teal"] .service-icon {
  background: linear-gradient(145deg, var(--oryx-teal-soft), #ecfaf8);
  color: var(--oryx-teal);
}

.service-card[data-variant="teal"]:hover .service-icon {
  box-shadow: 0 8px 18px rgba(26, 166, 160, 0.25);
}

/* Variant: purple (ERP / systems) */
.service-card[data-variant="purple"] .service-icon {
    background: linear-gradient(145deg, #efe7ff, #f6f1ff);
    color: #6f42c1;
}

.service-card[data-variant="purple"]:hover .service-icon {
    box-shadow: 0 8px 18px rgba(111, 66, 193, 0.25);
}

/* Variant: orange (support / maintenance) */
.service-card[data-variant="orange"] .service-icon {
    background: linear-gradient(145deg, #fff1e6, #fff8f2);
    color: #fd7e14;
}

.service-card[data-variant="orange"]:hover .service-icon {
    box-shadow: 0 8px 18px rgba(253, 126, 20, 0.25);
}

.service-card h3 {
  color: var(--oryx-navy);
}

/* =========================
   Brand / Odoo modules images
   ========================= */
.odoo-modules-img,
.brand-image {
  width: 100%;
  border-radius: 14px;
  border: 1px solid #e8edf2;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.odoo-modules-img:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(11, 41, 66, 0.10);
}

.hero .brand-image {
  animation: floatSoft 5s ease-in-out infinite;
  box-shadow: 0 12px 30px rgba(33, 169, 223, 0.16);
}

.hero .brand-image:hover {
  box-shadow: 0 16px 36px rgba(201, 162, 91, 0.25);
}

/* =========================
   Clients Carousel
   ========================= */
.client-box {
  border: 1px dashed #cbd5e1;
  background: #f8fafc;
  border-radius: 12px;
  padding: 1.25rem;
}

.clients-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  isolation: isolate;
}

.clients-viewport {
  position: relative;
  flex: 1;
  overflow: hidden;
  padding: 1rem 0;
  z-index: 1;
}

.clients-track {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  will-change: transform;
  transition: transform 0.75s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.clients-track.is-no-transition {
  transition: none !important;
}

[dir="rtl"] .clients-track {
  direction: ltr;
}

.client-card {
  flex: 0 0 calc((100% - 2.5rem) / 3);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--oryx-dark);
  background: #ffffff;
  border: 1px solid #deebf2;
  border-radius: 16px;
  padding: 1.2rem;
  min-height: 170px;
  box-shadow: 0 8px 20px rgba(11, 41, 66, 0.06);
  transform: scale(0.85);
  opacity: 0.55;
  filter: grayscale(0.15);
  transition: transform 0.6s ease, opacity 0.6s ease,
    box-shadow 0.6s ease, border-color 0.5s ease, filter 0.6s ease;
}

.client-card:hover {
  color: var(--oryx-dark);
  border-color: rgba(33, 169, 223, 0.3);
}

.client-card.is-center {
  transform: scale(1.05);
  opacity: 1;
  filter: none;
  border-color: rgba(201, 162, 91, 0.55);
  box-shadow: 0 18px 36px rgba(201, 162, 91, 0.20),
    0 8px 20px rgba(33, 169, 223, 0.12);
  z-index: 2;
}

.client-logo-image {
  width: 100%;
  max-width: 140px;
  height: 64px;
  object-fit: contain;
  filter: saturate(1.02) contrast(1.02);
}

.client-logo-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  height: 48px;
  padding: 0 1rem;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    var(--oryx-primary-soft) 0%,
    var(--oryx-gold-soft) 100%
  );
  color: var(--oryx-navy);
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 0.95rem;
}

.clients-nav {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: #ffffff;
  color: var(--oryx-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  z-index: 2;
  isolation: isolate;
  box-shadow: 0 8px 22px rgba(11, 41, 66, 0.10);
  transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.clients-nav i {
  font-size: 1.05rem;
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.knob-ring {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  padding: 2px;
  background: conic-gradient(
    from 0deg,
    var(--oryx-primary) 0deg,
    var(--oryx-gold) 130deg,
    rgba(255, 255, 255, 0) 200deg,
    var(--oryx-primary) 360deg
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  z-index: 1;
  opacity: 0.7;
  pointer-events: none;
  animation: knobSpin 6s linear infinite;
  transition: opacity 0.3s ease;
}

.clients-nav:hover {
  transform: scale(1.06);
  color: var(--oryx-primary-dark);
  box-shadow: 0 12px 28px rgba(33, 169, 223, 0.30);
}

.clients-nav:hover i {
  transform: scale(1.1);
}

.clients-nav:hover .knob-ring {
  opacity: 1;
  animation-duration: 2.2s;
}

.clients-nav:focus-visible {
  outline: 2px solid var(--oryx-gold);
  outline-offset: 3px;
}

.clients-dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.4rem;
}

.clients-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(33, 169, 223, 0.28);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width 0.35s ease, background 0.3s ease,
    box-shadow 0.3s ease, transform 0.25s ease;
}

.clients-dot:hover:not(.is-active) {
  background: rgba(33, 169, 223, 0.55);
  transform: scale(1.25);
}

.clients-dot.is-active {
  width: 28px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--oryx-primary) 0%,
    var(--oryx-gold) 100%
  );
  box-shadow: 0 0 12px rgba(201, 162, 91, 0.6),
    0 0 6px rgba(33, 169, 223, 0.5);
}

.clients-dot:focus-visible {
  outline: 2px solid var(--oryx-gold);
  outline-offset: 3px;
}

/* =========================
   Contact / Social
   ========================= */
.contact-section-lead {
  max-width: 36rem;
  margin-bottom: 2rem;
  color: #4a5f73;
}

.contact-layout {
  align-items: stretch;
}

.contact-panel {
  position: relative;
  height: 100%;
  background: #ffffff;
  border: 1px solid #e8edf2;
  border-radius: 16px;
  padding: 1.65rem 1.5rem;
  padding-top: calc(1.65rem + 3px);
  box-shadow: 0 10px 28px rgba(11, 41, 66, 0.07);
  overflow: hidden;
}

.contact-panel::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  inset-inline-end: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--oryx-primary),
    var(--oryx-gold)
  );
}

.contact-panel-title {
  color: var(--oryx-navy);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.contact-panel-intro {
  color: #5a6d7e;
  font-size: 0.95rem;
  margin-bottom: 1.35rem;
}

.contact-details {
  list-style: none;
  padding: 0;
  margin: 0 0 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.contact-detail-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--oryx-primary-dark);
  background: var(--oryx-primary-soft);
  font-size: 1.1rem;
}

.contact-detail-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #7a8b9a;
  margin-bottom: 0.15rem;
}

.contact-detail a {
  color: var(--oryx-navy);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.25s ease;
}

.contact-detail a:hover {
  color: var(--oryx-gold-dark);
}

.contact-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.35rem;
}

.contact-form-heading {
  color: var(--oryx-navy);
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.oryx-contact-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.oryx-contact-form .form-label {
  font-weight: 600;
  color: var(--oryx-navy);
  margin-bottom: 0.35rem;
}

.oryx-contact-form .form-control,
.oryx-contact-form .form-select {
  border-radius: 10px;
  border-color: #d8e4ee;
  padding: 0.55rem 0.85rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.oryx-contact-form .form-control:focus,
.oryx-contact-form .form-select:focus {
  border-color: var(--oryx-primary);
  box-shadow: 0 0 0 0.2rem var(--oryx-primary-soft);
}

.oryx-contact-form .form-text {
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.contact-form-fields {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form-row {
  margin-bottom: 0;
}

.contact-form-actions {
  margin-top: 0.25rem;
  padding-top: 1rem;
  border-top: 1px solid #e8edf2;
}

.contact-form-actions .alert {
  margin-bottom: 0.75rem;
}

.contact-form-submit {
  width: 100%;
  padding: 0.7rem 1.25rem;
}

.contact-form-submit .contact-submit-spinner {
  margin-inline-start: 0.35rem;
}

@media (max-width: 575.98px) {
  .contact-quick-actions .hero-cta {
    flex: 1 1 100%;
    width: 100%;
  }

  .contact-form-submit {
    width: 100%;
  }
}

.oryx-form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#contact-form:focus {
  outline: none;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--oryx-primary);
  margin-inline-end: 0;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease,
    box-shadow 0.25s ease;
}

.social-links a:hover {
  background: linear-gradient(
    135deg,
    var(--oryx-gold),
    var(--oryx-gold-dark)
  );
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(201, 162, 91, 0.35);
}

/* =========================
   Reveal animations
   ========================= */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-fade {
  transform: none;
}

.reveal-scale {
  transform: scale(0.96);
}

.reveal-scale.is-visible {
  transform: scale(1);
}

/* =========================
   Keyframes
   ========================= */
@keyframes floatSoft {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes blobFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -20px) scale(1.08);
  }
  66% {
    transform: translate(-20px, 25px) scale(0.95);
  }
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 8px 22px rgba(33, 169, 223, 0.35);
  }
  50% {
    box-shadow: 0 8px 30px rgba(201, 162, 91, 0.45);
  }
}

@keyframes knobSpin {
  to {
    transform: rotate(360deg);
  }
}

/* =========================
   Scroll-to-top button
   ========================= */
.scroll-top {
  position: fixed;
  bottom: 24px;
  inset-inline-end: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  color: #ffffff;
  background: linear-gradient(
    135deg,
    var(--oryx-primary) 0%,
    var(--oryx-navy) 100%
  );
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px) scale(0.85);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1050;
  animation: pulseGlow 4s ease-in-out infinite;
}

.scroll-top.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.scroll-top:hover {
  background: linear-gradient(
    135deg,
    var(--oryx-gold) 0%,
    var(--oryx-gold-dark) 100%
  );
  transform: translateY(-2px) scale(1.05);
}

/* =========================
   Footer
   ========================= */
footer {
  position: relative;
  background: var(--oryx-navy);
  color: #ffffff;
  padding: 1.5rem 0 1.25rem;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--oryx-gold) 50%,
    transparent 100%
  );
  opacity: 0.7;
}

/* =========================
   RTL fixes
   ========================= */
[dir="rtl"] .navbar-nav {
  padding-right: 0;
}

[dir="rtl"] .hero-list {
  padding-right: 0;
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 991.98px) {
  .hero {
    padding-top: 4rem;
  }

  .hero .brand-image {
    animation: none;
  }

  .clients-carousel {
    flex-wrap: nowrap;
    gap: 0.4rem;
  }

  .clients-nav {
    display: none;
  }

  .clients-dots {
    margin-top: 1rem;
  }

  .client-card {
    flex: 0 0 calc((100% - 1rem) / 1.5);
  }

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

  .scroll-top {
    bottom: 18px;
    inset-inline-end: 18px;
    width: 44px;
    height: 44px;
  }
}

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

  .reveal,
  .service-card,
  .service-icon,
  .social-links a,
  .hero .brand-image,
  .navbar,
  .nav-link::after,
  .scroll-top,
  .hero-title,
  .hero .lead,
  .hero h2.h5,
  .hero-list li,
  .hero::before,
  .hero::after,
  .clients-nav,
  .knob-ring,
  .clients-dot,
  .clients-track,
  .odoo-modules-img,
  .logo-img {
    transition: none !important;
    animation: none !important;
  }

  .client-card {
    transition: none !important;
  }

  .hero-title {
    opacity: 1;
  }

  .hero-list li {
    opacity: 1;
  }
}

@media (max-width: 575.98px) {
  .client-card {
    flex: 0 0 80%;
    min-height: 140px;
  }
}
