
/* ===== Arabic – Kufyan ===== */
@font-face {
  font-family: "KufyanArabic";
  src: url("../fonts/KUFYAN-ARABIC-BLACK-(REGULAR).woff2") format("woff2"),
       url("../fonts/KUFYAN-ARABIC-BLACK-(REGULAR).TTF") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
  /* نطاق اليونيكود العربي */
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}

@font-face{
  font-family: "Amer LT";
  src: url("../fonts/Amer-LT-Regular.woff2") format("woff2"),
       url("../fonts/Amer-LT-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:lang(ar), [dir="rtl"] {
  font-family: "KufyanArabic", Tahoma, "Segoe UI", system-ui, sans-serif;
  font-weight: 900;
}
:lang(en), [dir="ltr"] {
  font-family: "Amer LT", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}



:root {
  --bg: #117bc7;
  --fg: #ffffff;
  --brand: #38bdf8;
  --muted: #94a3b8;
  --text: #005db3;
  --light: #f8fafc;
}

:lang(ar), [dir="rtl"] {
  font-family: 'KufyanArabic', Tahoma, 'Segoe UI', system-ui, sans-serif;
  font-weight: 900;
}


* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #5fd8f7;
  background: #fff;
}
html,
body {
  overflow-x: hidden;
}
.hero-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}
:root {
  scroll-behavior: smooth;
}

/* === Header overlays the hero (transparent) === */
.hero-header,
.hero > header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  background: transparent;
  box-shadow: none;
  min-height: 64px;
  padding: 10px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
}
.logo img {
  height: 56px;
  width: auto;
  display: block;
}

.hamburger {
  --color: #fff;
  --size: 44px;
  --thickness: 3px;
  --gap: 6px;
  width: var(--size);
  height: var(--size);
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  color: var(--color);
  cursor: pointer;
  border-radius: 10px;
}

.hamburger::before,
.hamburger::after {
  content: none !important;
}

.hamburger > span {
  position: relative;
  display: block;
  width: 24px;
  height: var(--thickness);
  background: currentColor;
  border-radius: 999px;
}
.hamburger > span::before,
.hamburger > span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: var(--thickness);
  background: currentColor;
  border-radius: 999px;
}
.hamburger > span::before {
  transform: translateY(calc(-1 * (var(--gap) + var(--thickness))));
}
.hamburger > span::after {
  transform: translateY(calc(var(--gap) + var(--thickness)));
}

.hamburger:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.hero-header .hamburger {
  --color: #fff;
}

/* Sidebar (right) */
.sidebar {
  position: fixed;
  right: 0;
  top: 0;
  height: 100dvh;
  width: 300px;
  background: #0b1220;
  color: #cfe7ff;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  z-index: 60;
  padding: 22px;
  box-shadow: -10px 0 30px rgba(2, 6, 23, 0.35);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.sidebar.open {
  transform: translateX(0);
}
.sidebar .close {
  align-self: flex-end;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  border-radius: 10px;
  padding: 6px 10px;
  cursor: pointer;
}
.sidebar nav a {
  display: block;
  color: #e2f3ff;
  text-decoration: none;
  padding: 12px 10px;
  border-radius: 10px;
}
.sidebar nav a:hover {
  background: rgba(255, 255, 255, 0.08);
}
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 55;
}
.overlay.show {
  opacity: 1;
  pointer-events: auto;
}
/* ==== Force inner pages header to look invisible ==== */
.inner-page .hero-header {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent !important;
  box-shadow: none !important;
  min-height: 0 !important;
  padding: 8px 0 !important;
  z-index: 100 !important;
}

.inner-page .hero-header .hamburger {
  --color: #fff !important;
}

.inner-page .page-header {
  margin-top: 0 !important;
  padding-top: 40px;
}

/* Hero Slider full-screen */
.hero {
  position: relative;
  isolation: isolate;
  padding: 0 !important;
  margin: 0;
}
.swiper {
  width: 100%;
  height: 100vh;
}
.swiper-slide {
  position: relative;
  display: grid;
  place-items: center;
  padding: 60px 20px;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.slide-bg{
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  transform-origin: center;
  transform: scale(1.15);            /* البداية مكبّرة */
  animation: zoomOut 4s ease-in-out infinite;
}

@keyframes zoomOut{
  0%   { transform: scale(1.15); }   /* كبير */
  60%  { transform: scale(1.00); }   /* يظهر كله */
  100% { transform: scale(1.15); }   /* يرجع يعيد من الأول */
}

.slide-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.slide-content {
  max-width: 900px;
}
.slide-content h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 5vw, 52px);
  line-height: 1.1;
  font-weight: 900;
    color: #117bc7;

}
.slide-content p {
  margin: 0 0 22px;
  font-size: clamp(15px, 2.2vw, 18px);
  color: #117bc7;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 12px;
  text-decoration: none;
  color: #0b1220;
  background: var(--brand);
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(56, 189, 248, 0.35);
}
.btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.swiper-pagination-bullet {
  background: #fff;
  opacity: 0.6;
}
/* لبطاقة السلايدر */
.swiper.myHero .swiper-slide{ 
  position: relative;
}

/* الخلفية والظل (للتأكد من الطبقات) */
.swiper.myHero .slide-bg{
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  z-index: 1;
}
.swiper.myHero .slide-overlay{
  position: absolute; inset: 0;
  /* لو عندك لون/جراديانت هنا */
  z-index: 2;
}

/* ↓↓↓ نزّل الكلام لتحت ↓↓↓ */
.swiper.myHero .slide-content{
  position: absolute;
  z-index: 3;                     /* فوق الـ overlay */
  bottom: clamp(24px, 10vh, 120px); /* المسافة من تحت (مرنة حسب الشاشة) */
  left: 50%;
  transform: translateX(-50%);     /* وسط أفقيًا - احذفي السطرين دول لو عايزة محاذاة يسار */
  width: min(92%, 1000px);
  text-align: center;              /* بدّليها لـ left لو هتعملي محاذاة يسار */
  padding: 0 16px;
}

/* على الشاشات الواسعة: خلي المحتوى يمين */
@media (min-width: 768px){
  .swiper.myHero .slide-content{
    left: auto;         /* إلغاء اليسار */
    right: 6vw;         /* لاصق ناحية اليمين */
    transform: none;    /* إلغاء translateX */
    text-align: right;  /* محاذاة النص يمين */
  }
}
/* قاعدة أساسية: النص في أسفل المنتصف (تفيد التابلت كمان) */
.swiper.myHero .swiper-slide{ position: relative; }
.swiper.myHero .slide-content{
  position: absolute;
  z-index: 3;
  bottom: clamp(24px, 10vh, 120px);
  left: 50%;
  transform: translateX(-50%);
  width: min(92%, 1000px);
  text-align: center;
  padding: 0 16px;
}

/* الموبايل: يمين */
@media (max-width: 767.98px){
  .swiper.myHero .slide-content{
    right: 5vw;
    left: auto;
    transform: none;
    bottom: 8vh;           /* عدّليها حسب ارتفاع الهيرو */
    text-align: right;
  }
}

/* الشاشات الواسعة: يمين */
@media (min-width: 768px){
  .swiper.myHero .slide-content{
    left: auto;
    right: 6vw;
    transform: none;
    text-align: right;
  }
}


.swiper-pagi
nation-bullet-active {
  background: var(--brand);
  opacity: 1;
}
.swiper-button-prev,
.swiper-button-next {
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  filter: drop-shadow(0 6px 15px rgba(0, 0, 0, 0.45));
}


/* Sections */
section {
  padding: 70px 20px;
}
/* === About Section === */
.about {
  padding: 100px 20px;
  background: #f8fafc;
}

.about-title {
  text-align: center;
  margin-bottom: 50px;
}

.about-title h2 {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #005db3;
  font-family: "Josefin Sans", sans-serif;
}
.about-title h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  margin: 15px auto 0;
  background: #117bc7;
  border-radius: 2px;
}

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

.about-text h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #005db3;
}

.about-text .highlight {
  color: #117bc7;
}

.about-text p {
  font-size: 18px;
  line-height: 1.6;
  color: #444;
}

.about-img img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.about-img img:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}
/* Vision / Mission / Values */
.about-vmv {
  padding: 80px 20px;
  background: #f8fafc;
}

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

.vmv-box {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vmv-box i {
  font-size: 36px;
  color: #117bc7;
  margin-bottom: 12px;
}

.vmv-box h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #0069c8;
}

.vmv-box p {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
}

.vmv-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

/* Responsive */
@media (max-width: 980px) {
  .vmv-grid {
    grid-template-columns: 1fr;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-text {
    order: 2;
    direction: rtl;
    text-align: right;
  }
  .about-text .highlight {
    direction: ltr;
    unicode-bidi: isolate;
    color: #117bc7;
    font-weight: 700;
  }

  .about-img {
    order: 1;
  }
}

.about-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 30px;
}

.icon-box {
  text-align: center;
  min-width: 120px;
  transition: transform 0.3s ease;
}

.icon-box i {
  font-size: 36px;
  color: #117bc7;
  margin-bottom: 8px;
}
.icon-box span {
  display: block;
  margin-top: 5px;
  font-weight: 600;
  color: #117bc7;
}

.icon-box:hover {
  transform: translateY(-8px);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}
.muted {
  color: var(--muted);
}
/* ===== Categories ===== */
.categories {
  padding: 80px 20px;
  background: #fff;
}
.categories-title {
  text-align: center;
  margin-bottom: 40px;
}
.categories-title h2 {
  font-family: "Josefin Sans", sans-serif;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #117bc7;
}
.categories-title h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  margin: 14px auto 0;
  background: #117bc7;
  border-radius: 2px;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
@media (max-width: 1100px) {
  .cat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 900px) {
  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .cat-grid {
    grid-template-columns: 1fr;
  }
}

.cat-card {
  background: #f8fafc;
  border: 1px solid #e6eef5;
  /* border-radius: 16px; */
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(2, 6, 23, 0.06);
  transform-style: preserve-3d;
  will-change: transform, box-shadow;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.3s ease;
  /* ظهور متدرّج */
  opacity: 0;
  transform: translateY(30px);
}
.cat-card.show {
  opacity: 1;
  transform: translateY(0);
}

.cat-card:hover {
  box-shadow: 0 18px 44px rgba(2, 6, 23, 0.12);
}

.cat-media {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #0069c8;
}
.cat-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 0.6s ease, filter 0.6s ease;
}
.cat-card:hover .cat-media img {
  transform: scale(1.14);
  filter: saturate(1.05);
}

/* أيقونة طايرة */
.cat-icon {
  position: absolute;
  top: 14px;
  left: 14px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: #fff;
  color: #117bc7;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(2, 6, 23, 0.12);
  transform: translateZ(30px);
  animation: floatIcon 3.2s ease-in-out infinite;
}
.cat-icon i {
  font-size: 18px;
}
@keyframes floatIcon {
  0%,
  100% {
    transform: translateZ(30px) translateY(0);
  }
  50% {
    transform: translateZ(30px) translateY(-6px);
  }
}

.shine {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.25) 20%,
    transparent 40%
  );
  transform: translateX(-120%) skewX(-20deg);
  transition: transform 0.8s ease;
}
.cat-card:hover .shine {
  transform: translateX(120%) skewX(-20deg);
}

.cat-body {
  padding: 18px;
  text-align: right;
}
.cat-body h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #0069c8;
  font-weight: 800;
}
.cat-body p {
  margin: 0 0 12px;
  color: #334155;
  line-height: 1.8;
  font-size: 15px;
}
.cat-link {
  display: inline-block;
  color: #117bc7;
  text-decoration: none;
  font-weight: 800;
  border-bottom: 2px solid rgba(17, 123, 199, 0.25);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.cat-link:hover {
  color: #0069c8;
  border-color: #0069c8;
  transform: translateY(-2px);
}
/* ==== Hover Info Overlay ==== */
.hover-info {
  position: absolute;
  inset: 0;
  background: rgba(55, 65, 81, 0.85);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.hover-info h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 800;
  color: #38bdf8;
}

.hover-info p {
  font-size: 15px;
  line-height: 1.8;
  max-width: 260px;
}

.cat-card:hover .hover-info {
  opacity: 1;
  transform: translateY(0);
}
/* Animated gradient border */
.cat-card {
  position: relative;
}
.cat-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 16px;
  background: conic-gradient(
    from 0deg,
    #117bc7,
    #38bdf8,
    #117bc7,
    #0069c8,
    #117bc7
  );
  z-index: 0;
  filter: blur(0.4px);
  animation: spinGrad 6s linear infinite;
  transition: opacity 0.25s ease;
  opacity: 0;
}
.cat-card:hover::before {
  opacity: 0.45;
}

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

.cat-card > * {
  position: relative;
  z-index: 1;
}

.cat-card {
  background-clip: padding-box;
}
/* CTA inside overlay */
.hover-cta {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #117bc7;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 22px rgba(17, 123, 199, 0.25);
}
.hover-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 10px 28px rgba(17, 123, 199, 0.35);
}

/* Animated gradient border for cards */
.cat-card {
  position: relative;
}
.cat-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 16px;
  background: conic-gradient(
    from 0deg,
    #117bc7,
    #38bdf8,
    #117bc7,
    #0069c8,
    #117bc7
  );
  filter: blur(0.4px);
  animation: spinGrad 6s linear infinite;
  transition: opacity 0.25s ease;
  opacity: 0;
  z-index: 0;
}
.cat-card:hover::before {
  opacity: 0.45;
}
.cat-card > * {
  position: relative;
  z-index: 1;
}
@keyframes spinGrad {
  to {
    transform: rotate(360deg);
  }
}
.hover-info {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 18px;
  background: rgba(30, 41, 59, 0.82);
  color: #fff;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.hover-info h4 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
}
.hover-info p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.95;
}
.cat-card:hover .hover-info {
  opacity: 1;
  transform: translateY(0);
}

.cat-icon {
  z-index: 2;
}

.cat-card.show {
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.cat-card:hover {
  box-shadow: 0 24px 50px rgba(2, 6, 23, 0.16);
}

.services {
  background: var(--light);
}
.services-clean {
  padding: 80px 20px;
  background: #fff;
}

.services-title {
  text-align: center;
  margin-bottom: 40px;
}
.services-title h2 {
  font-family: "Josefin Sans", sans-serif;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #117bc7;
}
.services-title h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  margin: 14px auto 0;
  background: #117bc7;
  border-radius: 2px;
}

.services-grid-plain {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.service-item {
  background: #f8fafc;
  border-radius: 12px;
  padding: 25px;
  border-right: 4px solid #117bc7;
  text-align: right;
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: all 0.6s ease;
}
.service-item.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.service-item:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.08);
}

.service-icon {
  font-size: 36px;
  color: #117bc7;
  margin-bottom: 15px;
  display: block;
}

.service-item h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 800;
  color: #117bc7;
}
.service-item p {
  margin: 0;
  color: #333;
  line-height: 1.9;
  font-size: 16px;
}

@media (max-width: 980px) {
  .services-grid-plain {
    grid-template-columns: 1fr;
  }
  .service-item {
    border-right-width: 3px;
  }
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 8px 30px rgba(2, 6, 23, 0.06);
}
.services-clean {
  padding: 80px 20px;
  background: #fff;
}
.services-title {
  text-align: center;
  margin-bottom: 40px;
}
.services-title h2 {
  font-family: "Josefin Sans", sans-serif;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #117bc7;
}
.services-title h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  margin: 14px auto 0;
  background: #117bc7;
  border-radius: 2px;
}

/* KPIs */
.svc-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 0 30px;
}
.kpi-box {
  text-align: center;
  background: #f8fafc;
  border-radius: 12px;
  padding: 14px;
  border: 1px solid #e6eef5;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.kpi-box strong {
  display: block;
  color: #117bc7;
  font-size: 22px;
}
.kpi-box span {
  color: #334155;
  font-size: 13px;
}
.kpi-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.06);
}
@media (max-width: 980px) {
  .svc-kpis {
    grid-template-columns: 1fr;
  }
}

.services-grid-plain {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}
@media (max-width: 980px) {
  .services-grid-plain {
    grid-template-columns: 1fr;
  }
}

.service-item {
  background: #f8fafc;
  border-radius: 12px;
  padding: 25px;
  text-align: right;
  border-right: 4px solid #117bc7;
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.25s ease;
}
.service-item.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.service-item:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.08);
}

.service-icon {
  font-size: 36px;
  color: #117bc7;
  margin-bottom: 12px;
  display: block;
}
.service-item h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 800;
  color: #117bc7;
}
.service-item p {
  margin: 0;
  color: #333;
  line-height: 1.9;
  font-size: 16px;
}

/* CTA */
.services-cta {
  text-align: center;
  margin-top: 26px;
}
.svc-btn {
  display: inline-block;
  padding: 12px 18px;
  background: #117bc7;
  color: #fff;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.svc-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}
/* ===== FAQ ===== */
.faq {
  padding: 80px 20px;
  background: #fff;
}
.faq-title {
  text-align: center;
  margin-bottom: 40px;
}
.faq-title h2 {
  font-family: "Josefin Sans", sans-serif;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #117bc7;
}
.faq-title h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  margin: 14px auto 0;
  background: #117bc7;
  border-radius: 2px;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid #e6eef5;
  border-radius: 12px;
  background: #f8fafc;
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.faq-item:hover {
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.06);
}

.faq-q {
  width: 100%;
  text-align: right;
  padding: 16px 18px;
  background: #fff;
  border: none;
  outline: none;
  cursor: pointer;
  font-weight: 800;
  color: #0069c8;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}
.faq-q::after {
  content: "\f107";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-right: auto;
  transition: transform 0.25s ease;
  color: #117bc7;
}
.faq-item.open .faq-q::after {
  transform: rotate(180deg);
}

.faq-a {
  padding: 0 18px;
  line-height: 1.9;
  color: #334155;
  background: #f8fafc;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.2s ease;
  border-top: 1px solid #e6eef5;
}
.faq-item.open .faq-a {
  padding: 14px 18px 18px;
}

.faq-a.animating {
  transition: none;
}

@media (max-width: 640px) {
  .faq-q {
    font-size: 15px;
    padding: 14px 16px;
  }
  .faq-a {
    font-size: 15px;
  }
}

/* Section shell */
.contact {
  padding: 80px 20px;
  background: #fff;
}
.contact-title {
  text-align: center;
  margin-bottom: 40px;
}
.contact-title h2 {
  font-family: "Josefin Sans", sans-serif;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #117bc7;
}
.contact-title h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  margin: 14px auto 0;
  background: #117bc7;
  border-radius: 2px;
}

/* Two-column layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 980px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Info Card */
.contact-card {
  background: #f8fafc;
  border: 1px solid #e6eef5;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.04);
}
.contact-block {
  margin-bottom: 18px;
}
.country {
  margin: 0 0 6px;
  color: #e03131;
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
}
.company {
  margin: 0 0 6px;
  color: #0069c8;
  font-weight: 800;
  font-size: 16px;
}
.addr {
  margin: 0;
  color: #334155;
  line-height: 1.8;
}

.contact-meta {
  margin-top: 12px;
}
.meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
}
.meta-row i {
  color: #117bc7;
}
.meta-row a {
  color: #117bc7;
  text-decoration: none;
}
.meta-row a:hover {
  text-decoration: underline;
}

/* Socials */
.social-row {
  margin-top: 16px;
  display: flex;
  gap: 14px;
}
.social-row a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #dbe6ee;
  border-radius: 10px;
  color: #117bc7;
  transition: 0.2s ease;
}
.social-row a:hover {
  transform: translateY(-3px);
  background: #117bc7;
  color: #fff;
}

/* Form */
.contact-form {
  background: #f8fafc;
  border: 1px solid #e6eef5;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.04);
}
.contact-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 640px) {
  .contact-form .row {
    grid-template-columns: 1fr;
  }
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}
.field label {
  font-weight: 700;
  color: #0069c8;
}
.field input,
.field textarea {
  border: 1px solid #dbe6ee;
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea {
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  border-color: #117bc7;
  box-shadow: 0 0 0 3px rgba(17, 123, 199, 0.12);
}
.form-note {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 600;
  min-height: 20px;
}
.form-note.success {
  color: #0a7c3d;
}
.form-note.error {
  color: #c92a2a;
}

/* ===== Footer ===== */
.site-footer {
  background: #0069c8;
  color: #e6f0f6;
  padding: 40px 20px 24px;
  margin-top: 40px;
}
.site-footer .container {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 1.2fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
.footer-apps .store-badges {
  display: flex;
  gap: 10px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.footer-apps .store-badge img {
  height: 40px;
  width: auto;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
  transition: transform 0.18s ease;
}
.footer-apps .store-badge:hover img {
  transform: translateY(-2px);
}

.footer-col {
  min-width: 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.footer-brand img {
  height: 40px;
  width: auto;
  display: block;
}
.footer-col .contact-block .company,
.footer-col .contact-block .addr {
  color: #fff;
}

.footer-title {
  margin: 0 0 10px;
  font-size: 16px;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.3px;
}
.footer-text {
  margin: 0;
  line-height: 1.9;
  color: #e6eef5;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin: 8px 0;
}
.footer-links a {
  color: #cfe3ff;
  text-decoration: none;
  transition: 0.2s ease;
}
.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-contact li {
  margin: 10px 0;
  line-height: 1.8;
  color: #e6eef5;
}
.footer-contact i {
  margin-left: 6px;
  color: #38bdf8;
}
.footer-contact a {
  color: #cfe3ff;
  text-decoration: none;
}
.footer-contact a:hover {
  text-decoration: underline;
  color: #fff;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}
.footer-social a:hover {
  transform: translateY(-3px);
  background: #117bc7;
  border-color: transparent;
}

.footer-map .map-wrap {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.footer-map iframe {
  width: 100%;
  height: 220px;
  border: 0;
  display: block;
}
.footer-map .map-note {
  display: block;
  margin-top: 8px;
  color: #cfe3ff;
  opacity: 0.9;
}
.map-switch {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}
.map-switch button {
  flex: 1;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}
.map-switch button:hover {
  background: rgba(255, 255, 255, 0.15);
}
.map-switch button.active {
  background: #117bc7;
  border-color: #117bc7;
  color: #fff;
}

/* Force LTR inside footer */
.site-footer {
  direction: ltr;
}

/* 3 columns (Brand+Apps / Contact / Map) */
.footer-grid {
  grid-template-columns: 1.2fr 1fr 1.2fr;
}

/* Icon spacing in LTR (use logical property so it also works if you switch back) */
.footer-contact i {
  margin-inline-end: 6px; /* replaces margin-left */
  margin-left: 0; /* override old rule if present */
}

/* App badges */
.footer-apps .store-badges {
  display: flex;
  gap: 10px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.footer-apps .store-badge img {
  height: 40px;
  width: auto;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
  transition: transform 0.18s ease;
}
.footer-apps .store-badge:hover img {
  transform: translateY(-2px);
}
/* ===== Footer mobile fix ===== */
@media (max-width: 576px){

  /* الحاوية العامة */
  .site-footer,
  footer { overflow-x: hidden; }

  .site-footer .container{
    padding: 20px 14px !important;
  }

  /* شبكة الفوتر: من 3 أعمدة → عمود واحد */
  .footer-grid{
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    align-items: start;
  }

  /* رتّبي الأعمدة (لو عندك 3 بلوكات: براند/كونتاكت/خريطة) */
  .footer-brand   { order: 1; }
  .footer-contact { order: 2; }
  .footer-map     { order: 3; }

  /* اللوجو والمسافات */
  .footer-brand .logo img{ height: 36px; width: auto; }
  .footer-brand .contact-meta,
  .footer-brand .social-row{ margin-top: 10px; }

  /* أيقونات السوشيال */
  .social-row{
    display: flex; gap: 10px; flex-wrap: wrap;
  }
  .social-row a{ font-size: 18px; }

  /* أزرار المتجر */
  .store-badges{
    display: flex; gap: 10px; flex-wrap: wrap;
  }
  .store-badges img{ height: 34px; width: auto; }

  /* عناوين الدول ونصوص العناوين */
  .country, .company{ color:#fff !important; }
  .footer-contact .addr,
  .footer-contact .contact-meta a,
  .footer-contact .contact-meta{
    color:#fff !important;
    line-height: 1.6;
    word-break: break-word;
  }
  .footer-contact .meta-row{
    display: flex; align-items: center; gap: 8px;
    margin: 6px 0;
  }

  /* تابّات Egypt / USA */
  .country-tabs,
  .footer-map .tabs{
    display:flex; gap:8px; flex-wrap:wrap;
  }
  .country-tabs button,
  .footer-map .tabs button{
    padding: 6px 10px; font-size: 13px;
  }

  /* الخريطة */
  .footer-map iframe{
    width: 100% !important;
    min-height: 220px !important;
    border-radius: 10px;
  }

  /* محاذاة العناصر */
  .footer-grid > *{
    text-align: left;    /* للإنجليزي */
  }

  /* لو الخلفية زرقاء قوية – خفّضي تباين الظل */
  .site-footer, footer{
    /* background-color: #003970;  لو مستخدماه بالفعل سيبيه */
  }
}

#backToTop {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #117bc7;
  color: #fff;
  font-size: 18px;
  border: none;
  display: none;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  transition: background 0.25s ease, transform 0.25s ease;
}
#backToTop:hover {
  background: #0069c8;
  transform: translateY(-3px);
}
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}
.reveal.show {
  opacity: 1;
  transform: translateY(0);
}
#loader {
  position: fixed;
  inset: 0;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #eee;
  border-top-color: #117bc7;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.hover-info {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  color: #fff;
  background: rgba(30, 41, 59, 0.86);
  opacity: 0;
  transform: translateY(8px);
  transition: 0.35s ease;
}
.hover-info h4 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
}
.hover-info p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.92;
}
.cat-card:hover .hover-info {
  opacity: 1;
  transform: translateY(0);
}
/* ===== Page Header  ===== */
.page-header {
  background: #0069c8;
  background-image: radial-gradient(
      ellipse at 20% -20%,
      rgba(255, 255, 255, 0.08),
      transparent 45%
    ),
    radial-gradient(
      ellipse at 120% 20%,
      rgba(255, 255, 255, 0.06),
      transparent 50%
    );
  color: #fff;
  padding: 34px 0 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.page-header__inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 120px;
}
.page-header__text {
  max-width: 800px;
  text-align: right;
}
.page-header h1 {
  margin: 0 0 6px;
  font-size: clamp(22px, 3.6vw, 32px);
  font-weight: 800;
  letter-spacing: 0.3px;
}
.page-header p {
  margin: 0 0 10px;
  color: #e6f0f6;
  opacity: 0.9;
  line-height: 1.8;
  font-size: 15px;
}
.breadcrumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  color: #cfe3ff;
  opacity: 0.95;
}
.breadcrumbs a {
  color: #38bdf8;
  text-decoration: none;
  border-bottom: 1px dashed rgba(56, 189, 248, 0.35);
}
.breadcrumbs a:hover {
  color: #fff;
  border-bottom-color: transparent;
}
.breadcrumbs span {
  opacity: 0.6;
}

.categories .categories-title {
  margin-top: 18px;
}

.readmore-bar {
  height: 2.2cm;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-radius: 14px;
  background: linear-gradient(180deg, #0069c8, #004a8f);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.readmore-bar i {
  transition: transform 0.3s;
}
.readmore-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease;
  margin-top: 10px;
  line-height: 1.8;
}
.readmore-content.open {
  max-height: 2200px;
  padding: 16px;
}
.readmore-open .readmore-bar i {
  transform: rotate(180deg);
}

/*  */

/* ===== Product Extra Blocks ===== */

/* Specs grid */
#pSpecs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 12px;
}
#pSpecs div {
  background: #f9fafb;
  padding: 10px 12px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  color: #374151;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
#pSpecs div span {
  font-size: 13px;
  color: #6b7280;
}
#pSpecs div strong {
  font-weight: 600;
  color: #111827;
}

/* Color swatches */
#pColors {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
}
#pColors .swatch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #374151;
}
#pColors .dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--c, #e5e7eb);
  border: 1px solid #d1d5db;
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.15);
}

/* Packs */
#pPacks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}
#pPacks .pack {
  font-size: 14px;
  color: #111827;
  background: #f3f4f6;
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Downloads */
#pDownloads {
  margin-top: 12px;
}
#pDownloads a {
  color: #2563eb;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease;
}
#pDownloads a:hover {
  color: #1e40af;
}

/* FAQ */
#pFaq details {
  margin: 8px 0;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 10px 12px;
  background: #fafafa;
}
#pFaq summary {
  cursor: pointer;
  font-weight: 600;
  color: #111827;
}
#pFaq .answer {
  margin-top: 6px;
  font-size: 14px;
  color: #374151;
  line-height: 1.5;
}
/* ===== Header (Navbar) Styling ===== */
header,
.navbar {
  background: rgba(0, 40, 90, 0.55) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 12px 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.navbar .logo img {
  height: 50px;
  width: auto;
  display: block;
}

.navbar-nav .nav-link {
  color: #ffffff !important;
  font-weight: 600;
  transition: color 0.3s ease;
}
.navbar-nav .nav-link:hover {
  color: #66ccff !important;
}

/* Touch = Hover for cards (mobile only) */
@media (hover: none) and (pointer: coarse) {
  .cat-card.is-hover {
    box-shadow: 0 18px 44px rgba(2, 6, 23, 0.12);
  }
  .cat-card.is-hover .cat-media img {
    transform: scale(1.14);
    filter: saturate(1.05);
  }
  .cat-card.is-hover .shine {
    transform: translateX(120%) skewX(-20deg);
  }
  .cat-card.is-hover::before {
    opacity: 0.45;
  }
  .cat-card.is-hover .hover-info {
    opacity: 1;
    transform: translateY(0);
  }
}
/* === Amer LT — Global Webfont === */
@font-face {
  font-family: "Amer LT";
  src: url("../fonts/Amer-LT-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-sans: "Amer LT", "Cairo", "Tajawal", system-ui, -apple-system,
    "Segoe UI", Roboto, Arial, sans-serif;
}

html,
body {
  font-family: var(--font-sans) !important;
}

:where(h1, h2, h3, h4, h5, h6) {
  font-family: inherit !important;
}

.about-title h2,
.categories-title h2,
.services-title h2,
.faq-title h2,
.contact-title h2 {
  font-family: inherit !important;
}
/*  */
/*  */
.inner-page .hero-header {
  padding: 4px 0 !important;
}
.inner-page .hero-header .header-inner {
  padding: 4px 10px !important;
}
.inner-page .hero-header .logo img {
  height: 44px !important;
}

/* ===== Grid ===== */
.segments-grid {
  max-width: 1100px;
  margin: 18px auto 40px;
  padding: 0 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1100px) {
  .segments-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 860px) {
  .segments-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .segments-grid {
    grid-template-columns: 1fr;
  }
}

.segment-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* .seg-title {
  margin: 0;
  font-size: 40px;
  font-weight: 750;
  color: #0a3b7a;
} */

/* ===== 3‑Face Cube Slider ===== */
.cube-slider {
  --size: 260px;
  width: 100%;
  display: grid;
  place-items: center;
}
.cube-scene {
  width: var(--size);
  height: var(--size);
  display: grid;
  /* border-radius: 18px; */
  overflow: hidden;
  perspective: 900px;
  place-items: center;
  perspective: 1000px;
  outline: none;
}

.cube {
  --size: 260px;
  --depth: calc(var(--size) / 3.464);
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  border-radius: inherit;
  transition: transform 1s cubic-bezier(0.2, 0.6, 0.1, 1);
  will-change: transform;
}

/* Faces */
.cube-face {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  /* border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35); */
  backface-visibility: hidden;
  margin: 0; /* لو figure */
  padding: 0;
}
.cube-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Arrange 3 faces around Y axis (triangular prism style) */
.face-1 {
  transform: rotateY(0deg) translateZ(var(--depth));
}
.face-2 {
  transform: rotateY(120deg) translateZ(var(--depth));
}
.face-3 {
  transform: rotateY(240deg) translateZ(var(--depth));
}

/* Overlays */
.cube-face.shaded::after {
  content: "";
  position: absolute;
  inset: 0;
  /* background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.35)); */
}
.cube-overlay {
  position: absolute;
  inset: 0;
  padding: 20px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(1px);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  align-content: end;
  /* padding: 18px; */
  /* gap: 6px;
  z-index: 2; */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}
.cube-scene:hover .cube-overlay{ opacity: 1; } 

.cube-overlay h4 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
}
.cube-overlay p {
  margin: 0;
  font-size: 20px;
  opacity: 0.95;
}
.cube-overlay.rtl {
  direction: rtl;
  text-align: right;
}

/* Solid face with SVG icon */
.cube-face.solid {
  background: linear-gradient(135deg, #0d5aff, #18a3ff);
  display: grid;
  place-items: center;
}
.cube-face.solid.with-img {
  background: none; /* نلغي الجRADIENT القديم */
  position: relative;
}
.cube-face.solid.with-img > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* تملا الوش بالكامل */
  z-index: 0;
}
.cube-face.solid.with-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.55));
  z-index: 1;
}
.cube-face.solid .solid-inner {
  position: relative;
  z-index: 2; /* فوق الصورة والأوفرلاي */
}
.solid-inner {
  text-align: center;
  padding: 18px;
}
.solid-inner .icon {
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
  fill: #eaf2ff;
  opacity: 0.95;
}
.solid-inner h4 {
  margin: 0 0 4px;
}
.solid-inner p {
  margin: 0;
  opacity: 0.95;
}

/* Hover & focus: pause hint */
.cube-scene:hover .cube,
.cube-scene:focus .cube {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

/* Accessibility focus */
.cube-scene:focus-visible {
  outline: 2px dashed #7ac1ff;
  outline-offset: 6px;
}
.solid-inner .icon {
  font-size: 44px;
  line-height: 1;
  color: #7ac1ff;
  margin-bottom: 10px;
}
.segments-cubes .cube-overlay,
.segments-cubes .cube-overlay h4,
.segments-cubes .cube-overlay p,
.segments-cubes .solid-inner,
.segments-cubes .solid-inner h4,
.segments-cubes .solid-inner p {
  color: #fff !important;
}
/* Action button under each segment */
.seg-actions {
  margin-top: 10px;
}
.seg-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  color: #056cc9;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.seg-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
}
.seg-btn i {
  opacity: 0.95;
}
.hero-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sidebar .side-sep {
  border: none;
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
  margin: 0.5rem 0;
}
.sidebar a.accent {
  color: #fff;
  background: #003970;
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  margin-top: 0.25rem;
  display: inline-block;
}

html,
body {
  background: #edf9f9 !important;
}
:root {
  --page-bg: #edf9f9;
}

html,
body {
  background: var(--page-bg);
}

/* خلي خدمات/Services نفس خلفية الصفحة */
.services,
.services-clean {
  background: var(--page-bg) !important;
}

/* .service-item {
  background: ;
} */
:root {
  --page-bg: #edf9f9;
}

.contact {
  background: var(--page-bg) !important;
}

.contact-form {
  background: #f0fcfc;
  border-color: #d6eeee;
}
.about-title h2 {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #005db3;
  font-family: "Josefin Sans", sans-serif;
}
