:root {
  --primary: #ee5c1d;
  --dark: #0f172a;
  --accent: #38bdf8;
  --background: #f8fafc;
  --muted: #64748b;
  --white: #ffffff;
  --border: rgba(15, 23, 42, 0.1);
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--dark);
  font-family: "Cairo", "Inter", system-ui, sans-serif;
  text-align: start;
  overflow-x: hidden;
}

body.ltr {
  font-family: "Inter", "Cairo", system-ui, sans-serif;
}

a {
  text-decoration: none;
}

.navbar {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.navbar .container {
  gap: 0.75rem;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  color: var(--dark);
  font-weight: 800;
  min-width: 0;
  white-space: normal;
  line-height: 1.25;
}

.brand-mark {
  width: 65px;
  height: 50px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
}
/* .brand-mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  margin-inline-end: 0.55rem;
} */

.nav-link {
  color: var(--dark);
  font-weight: 700;
  text-align: start;
}

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

.btn {
  border-radius: 8px;
  font-weight: 800;
  padding: 0.75rem 1.1rem;
}

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary {
  border-color: var(--primary);
  color: var(--primary);
}

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

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

.section-title {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.section-title h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
}

.section-title p {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero {
  position: relative;
  min-height: 100vh;
  height: auto;
  padding: 120px 0 60px;
  display: flex;
  align-items: center;
  overflow: visible;
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(15, 23, 42, 0.92), rgba(37, 99, 235, 0.68)),
    url("../assets/hero/hero.jpg") center/cover no-repeat,
    linear-gradient(135deg, #0f172a, #2563eb);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero-content {
  max-width: 700px;
  width: 100%;
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.8rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  margin-bottom: 1rem;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(2.45rem, 6vw, 5rem);
  line-height: 0.9;
  font-weight: 900;
}

.hero p,
.page-hero p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.17rem;
  max-width: 680px;
}

.hero-actions {
  justify-content: flex-start;
}

.stats-strip {
  position: relative;
  z-index: 2;
  margin-top: -72px;
}

.stat-card,
.glass-card,
.service-card,
.product-card,
.contact-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow);
  border-radius: 8px;
  backdrop-filter: blur(14px);
}

.stat-card {
  padding: 1.5rem;
  text-align: center;
}

.stat-card strong {
  display: block;
  color: var(--primary);
  font-size: 2.2rem;
  font-weight: 900;
}

.glass-card {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0,0,0,.12);
    transition: .3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,.18);
}

.glass-card h2 {
    font-size: 34px;
    font-weight: 900;
    color: #0056d6;
    margin-bottom: 8px;
}

.glass-card h3 {
    font-size: 26px;
    font-weight: 700;
    color: #111;
    margin-bottom: 20px;
    position: relative;
}

.glass-card h3::after {
    content: "";
    display: block;
    width: 70px;
    height: 4px;
    background: #0056d6;
    margin-top: 10px;
    border-radius: 10px;
}

.glass-card p {
    font-size: 18px;
    font-weight: 500;
    color: #666;
    line-height: 1.9;
}
.service-card {
  height: 100%;
  padding: 1.6rem;
  text-align: start;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.icon-box {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.11);
  color: var(--primary);
  font-size: 1.45rem;
  margin-bottom: 1rem;
}

.service-card h3,
.product-card h3 {
  font-size: 1.2rem;
  font-weight: 900;
}

.service-card p,
.product-card p,
.glass-card p {
  color: var(--muted);
}

.split-band {
  background: var(--dark);
  color: var(--white);
}

.split-band p {
  color: rgba(255, 255, 255, 0.72);
}

.check-list {
  display: grid;
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  text-align: start;
}

.check-list i {
  flex: 0 0 auto;
  color: var(--accent);
  margin-top: 0.25rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  text-align: start;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

[data-products-grid] {
  align-items: stretch;
}

[data-products-grid] > [class*="col-"] {
  display: flex;
}

.product-card:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 4px;
}

.product-card:hover,
.product-card:focus-visible {
  border-color: rgba(37, 99, 235, 0.28);
}

.product-image-frame {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(56, 189, 248, 0.16)),
    #eef4ff;
}

.product-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #e2e8f0;
}

.product-card .product-img {
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  padding: 1.25rem;
  background: transparent;
  transform: scale(1);
  transition: transform 0.28s ease;
}

.product-card:hover .product-img,
.product-card:focus-visible .product-img {
  transform: scale(1.04);
}

.product-image-frame.image-missing::after {
  content: "Image unavailable";
  color: var(--muted);
  font-weight: 700;
}

.product-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.4rem;
}

.product-card-body p {
  flex: 1;
}

.product-card-action {
  pointer-events: none;
}

.product-motion-section {
  overflow: hidden;
  background: linear-gradient(135deg, #eef5ff 0%, #f8fafc 48%, #e9f8ff 100%);
}

.motion-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.motion-title {
  max-width: 440px;
  margin: 0.8rem 0 1rem;
  color: var(--dark);
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 900;
  line-height: 1.05;
}

.motion-copy {
  max-width: 490px;
  margin-bottom: 1.6rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.product-motion-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 8px solid var(--white);
  border-radius: 24px;
  background: var(--dark);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.22);
}

.product-motion-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.motion-glow {
  position: absolute;
  z-index: 1;
  inset: auto -22% -52% 25%;
  height: 70%;
  pointer-events: none;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.42);
  filter: blur(30px);
  animation: motion-glow-pulse 3.6s ease-in-out infinite;
}

.motion-label {
  position: absolute;
  z-index: 2;
  right: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  max-width: calc(100% - 2rem);
  padding: 0.6rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(10px);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
}

.motion-label-dot {
  width: 0.5rem;
  height: 0.5rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
  animation: motion-dot-pulse 1.8s infinite;
}

@keyframes motion-glow-pulse {
  50% { transform: translate(-10%, -10%) scale(1.14); opacity: 0.68; }
}

@keyframes motion-dot-pulse {
  70% { box-shadow: 0 0 0 0.5rem rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .motion-glow,
  .motion-label-dot {
    animation: none;
  }
}

.cta-band {
  background:
    linear-gradient(120deg, rgba(37, 99, 235, 0.96), rgba(56, 189, 248, 0.78)),
    var(--primary);
  color: var(--white);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.86);
}

.page-hero {
  padding: 150px 0 92px;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(15, 23, 42, 0.95), rgba(37, 99, 235, 0.7)),
    url("../assets/hero/hero.jpg") center/cover no-repeat,
    linear-gradient(135deg, #0f172a, #2563eb);
}

.owner-image {
  width: auto;
  max-height: 430px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.modal-product-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(56, 189, 248, 0.16)),
    #eef4ff;
  margin-bottom: 1rem;
  padding: 1.25rem;
}

.modal.fade .modal-dialog {
  transform: translateY(22px) scale(0.96);
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.22s ease;
}

.modal.show .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal.fade .modal-content {
  opacity: 0;
  transition: opacity 0.22s ease, box-shadow 0.28s ease;
}

.modal.show.modal-ready .modal-content {
  opacity: 1;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.28);
}

.modal-content {
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  overflow: hidden;
}

.contact-card {
  padding: 1.7rem;
  text-align: start;
}

.form-label {
  display: block;
  text-align: start;
}

.form-control {
  border-radius: 8px;
  padding: 0.8rem 0.95rem;
  border-color: var(--border);
  text-align: start;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.16);
}

.qr-img {
  width: 145px;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--white);
  padding: 0.6rem;
}

.site-footer {
  background: var(--dark);
  color: var(--white);
  padding: 64px 0 22px;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a:hover {
  color: var(--accent);
}

.footer-title {
  font-weight: 900;
  margin-bottom: 1rem;
  text-align: start;
}

.footer-links {
  list-style: none;
  padding-inline-start: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
  text-align: start;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 2rem;
  padding-top: 1rem;
}


.carousel-item img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 10px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0,0,0,.6);
    border-radius: 50%;
    padding: 20px;
}

.carousel-item img {
    width: 100%;
    height: 500px;
    object-fit: contain;
    background: #f5f5f5;
}

.product-video,
.carousel-item img {
    width: 100%;
    height: 450px;
    object-fit: contain;
    background: #f5f5f5;
    border-radius: 12px;
}
