:root {
  --primary-color: #f79c1e;
  --whatsapp-color: #25D366;
  --dark-bg: #222;
  --light-bg: #f7f7f7;
  --text-color: #333
}

body {
  font-family: 'Cairo', Tahoma, Arial, sans-serif;
  font-size: 16px;
  background: var(--light-bg);
  color: var(--text-color);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  transition: background-color 0.3s, color 0.3s
}

body.lang-ar {
  direction: rtl
}

body.lang-fr {
  direction: ltr
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px
}

header {
  background: var(--dark-bg);
  color: #fff;
  padding: 10px 0;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgb(0 0 0 / .1)
}

.header-nav {
  display: flex;
  justify-content: space-between;
  align-items: center
}

nav a {
  color: #fff;
  margin: 0 10px;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s
}

nav a:hover {
  color: var(--primary-color)
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-grow: 1
}

.btn-whatsapp {
  background: var(--whatsapp-color);
  color: #fff
}

.btn-buy {
  background: var(--primary-color);
  color: #fff
}

.btn:hover {
  opacity: .95;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgb(0 0 0 / .1)
}

.btn-group {
  display: flex;
  gap: 10px;
  margin-top: 15px
}

[data-lang] {
  display: none !important
}

body.lang-ar [data-lang="ar"] {
  display: revert !important
}

body.lang-fr [data-lang="fr"] {
  display: revert !important
}

main {
  padding: 30px 0
}

.grid {
  display: grid;
  gap: 20px;
  padding: 20px 0
}

.grid.cols-4 {
  grid-template-columns: repeat(4, 1fr)
}

.grid.cols-3 {
  grid-template-columns: repeat(3, 1fr)
}

.card-product,
.product {
  background: #fff;
  border: 1px solid #eee;
  padding: 15px;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 4px 8px rgb(0 0 0 / .05);
  transition: transform 0.3s
}

.card-product:hover {
  transform: translateY(-3px)
}

.product img,
.card-product img {
  width: 100%;
  max-height: 200px;
  object-fit: contain;
  margin-bottom: 10px;
  border-radius: 6px
}

.price-tag {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
  margin: 10px 0
}

.price-tag span.price {
  display: block
}

.product-info p {
  font-size: 14px;
  color: #555;
  margin-bottom: 5px
}

.main-image {
  width: 100%;
  max-height: 250px;
  object-fit: contain;
  border-radius: 6px
}

.thumbnail-container {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 10px
}

.thumbnail-container .thumb {
  width: 50px;
  height: 50px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid #ddd;
  border-radius: 4px;
  transition: border 0.3s
}

.thumbnail-container .thumb:hover,
.thumbnail-container .thumb.active {
  border-color: var(--primary-color)
}

#contact {
  background: #fff;
  padding: 40px 0
}

.card-body {
  padding: 20px
}

details {
  border: 1px solid #ddd;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 6px;
  background: #fafafa
}

summary {
  font-weight: 700;
  cursor: pointer;
  outline: none;
  padding: 5px 0
}

details p {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #eee
}

footer {
  background: var(--dark-bg);
  color: #fff;
  padding: 30px 0 10px;
  margin-top: 20px
}

.foot {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgb(255 255 255 / .1)
}

.foot h4 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 18px
}

.foot ul {
  list-style: none;
  padding: 0
}

.foot ul li a {
  color: #ccc;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  transition: color 0.3s
}

.foot a:hover {
  color: #fff
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  z-index: 9999;
  background-color: var(--whatsapp-color);
  color: #fff;
  font-size: 24px;
  text-align: center;
  padding: 10px 15px;
  border-radius: 50%;
  z-index: 999;
  box-shadow: 0 4px 8px rgb(0 0 0 / .3);
  text-decoration: none;
  transition: background-color 0.3s, transform 0.3s
}

body.lang-ar .whatsapp-float {
  left: 20px;
  right: auto
}

body.lang-fr .whatsapp-float {
  left: auto;
  right: 20px
}

.whatsapp-float:hover {
  background-color: #1ebe5d;
  transform: scale(1.05)
}

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0 0 0 / .5);
  padding-top: 50px;
  opacity: 0;
  transition: opacity 0.3s ease
}

.modal.show {
  display: block;
  opacity: 1
}

.modal-content {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 90%;
  max-width: 500px;
  border-radius: 10px;
  position: relative;
  transform: translateY(-50px);
  transition: transform 0.3s ease
}

.modal.show .modal-content {
  transform: translateY(0)
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
  margin-bottom: 15px;
  padding-bottom: 10px
}

.modal-close {
  color: #aaa;
  font-size: 28px;
  font-weight: 700;
  cursor: pointer;
  background: none;
  border: none
}

.modal-close:hover,
.modal-close:focus {
  color: var(--primary-color);
  text-decoration: none
}

.form-group {
  margin-bottom: 15px
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box
}

.form-group input[readonly] {
  background-color: #eee;
  cursor: not-allowed
}

@media (max-width:1024px) {
  .grid.cols-4 {
    grid-template-columns: repeat(2, 1fr)
  }

  .foot {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media (max-width:768px) {
  .grid.cols-3 {
    grid-template-columns: repeat(2, 1fr)
  }

  .foot {
    grid-template-columns: 1fr;
    text-align: center
  }
}

@media (max-width:480px) {

  .grid.cols-4,
  .grid.cols-3,
  .grid.cols-2 {
    grid-template-columns: 1fr
  }

  .header-nav {
    flex-direction: column;
    gap: 10px
  }

  .lang-switcher {
    width: 100%;
    text-align: center
  }

  .btn {
    padding: 10px 15px;
    font-size: 14px
  }

  .btn-group {
    flex-direction: column
  }

  .whatsapp-float {
    bottom: 20px;
    left: 20px
  }

  body.lang-fr .whatsapp-float {
    left: auto;
    right: 20px
  }

  :root {
    --primary-color: #f79c1e;
    --whatsapp-color: #25D366;
    --dark-bg: #1e40af;
    --light-bg: #f7f7f7;
    --text-color: #333
  }

  img {
    max-width: 100%;
    height: auto;
    --loading: lazy
  }

  @media (max-width:480px) {

    .grid.cols-4,
    .grid.cols-3 {
      grid-template-columns: 1fr
    }

    .modal-content {
      width: 95%;
      margin: 10% auto
    }
  }
}

:root {
  --primary: #1f2937;
  --secondary: #2563eb;
  --accent: #f59e0b;
  --light: #f9fafb;
  --dark: #111827;
  --success: #16a34a;
  --shadow: rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
  --text: #0a0a0a;
  --muted: #6b7280;
  --brand: #16a34a;
  --accent: #FF8C00;
  --danger: #FF8C00;
  --ok: #16a34a;
  --chip: #eef2ff;
  --card: #fff;
  --footer: #0f172a
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

body {
  font-family: 'Cairo', 'Noto Sans Arabic', sans-serif;
  direction: rtl;
  background-color: #f8f9f8;
  color: #333;
  transition: var(--transition);
  padding-top: 0 !important
}

body.lang-fr {
  font-family: 'Cairo', sans-serif;
  direction: ltr
}

header {
  background: rgb(31 41 55 / .95);
  color: #f9fafb;
  padding: 1rem 0;
  box-shadow: 0 4px 12px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000
}

header.scrolled {
  padding: .6rem 0;
  background: rgb(17 24 39 / .97);
  backdrop-filter: blur(10px)
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap
}

.brand {
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 700;
  font-size: 1.5rem
}

.brand img {
  height: 50px;
  border-radius: 8px;
  border: 2px solid rgb(255 255 255 / .15)
}

header.scrolled .brand img {
  height: 40px
}

.brand-text-ar,
.brand-text-fr {
  display: flex;
  flex-direction: column
}

.brand-text-fr {
  display: none
}

body.lang-fr .brand-text-ar {
  display: none
}

body.lang-fr .brand-text-fr {
  display: flex
}

.brand small {
  font-size: .85rem;
  font-weight: 500;
  color: rgb(255 255 255 / .85);
  margin-top: 4px
}

nav {
  flex-grow: 1;
  display: flex;
  justify-content: center
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem
}

nav a {
  color: #e5e7eb;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 6px
}

nav a:hover,
nav a.active {
  color: var(--accent);
  background: rgb(255 255 255 / .08)
}

nav a[data-lang="fr"] {
  display: none
}

body.lang-fr nav a[data-lang="fr"] {
  display: inline-block
}

body.lang-fr nav a[data-lang="ar"] {
  display: none
}

.header-controls {
  display: flex;
  gap: 15px
}

.contact-buttons {
  display: flex;
  gap: 10px
}

.contact-btn,
.whatsapp-btn {
  padding: 8px 16px;
  border-radius: 25px;
  font-weight: 600;
  color: #fff;
  text-decoration: none
}

.contact-btn {
  background: var(--secondary)
}

.whatsapp-btn {
  background: var(--success)
}

.contact-btn[data-lang="fr"],
.whatsapp-btn[data-lang="fr"] {
  display: none
}

body.lang-fr .contact-btn[data-lang="fr"],
body.lang-fr .whatsapp-btn[data-lang="fr"] {
  display: flex
}

body.lang-fr .contact-btn[data-lang="ar"],
body.lang-fr .whatsapp-btn[data-lang="ar"] {
  display: none
}

.language-toggle .lang-btn {
  background: rgb(255 255 255 / .1);
  border: 1px solid rgb(255 255 255 / .3);
  color: #fff;
  padding: 6px 15px;
  border-radius: 20px
}

.language-toggle .lang-btn.active {
  background: var(--accent);
  color: var(--dark)
}

.feature {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp 0.6s ease forwards
}

.feature:nth-child(1) {
  animation-delay: 0.1s
}

.feature:nth-child(2) {
  animation-delay: 0.2s
}

.feature:nth-child(3) {
  animation-delay: 0.3s
}

.feature:nth-child(4) {
  animation-delay: 0.4s
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0)
  }
}

h1 {
  letter-spacing: -.5px
}

.features-bar {
  background: #fff;
  border-top: 1px solid #e5e7eb;
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 15px 20px;
  box-shadow: 0 3px 10px var(--shadow);
  flex-wrap: wrap
}

.feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--dark);
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp 0.6s ease forwards
}

.feature-text-ar {
  display: inline
}

.feature-text-fr {
  display: none
}

body.lang-fr .feature-text-ar {
  display: none
}

body.lang-fr .feature-text-fr {
  display: inline
}

body.lang-fr .features-bar {
  direction: ltr
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem
}

@media (max-width:992px) {
  .menu-toggle {
    display: block
  }

  nav {
    display: none;
    width: 100%
  }

  nav.active {
    display: flex
  }

  nav ul {
    flex-direction: column;
    width: 100%;
    background: rgb(17 24 39 / .98);
    border-radius: 10px;
    margin-top: 15px
  }

  nav a {
    padding: 12px
  }
}

.features-bar .feature {
  transition: all 0.25s ease;
  cursor: default
}

.features-bar .feature i {
  transition: transform 0.25s ease, color 0.25s ease
}

.features-bar .feature:hover i {
  transform: translateY(-3px);
  color: var(--secondary)
}

.features-bar .feature span {
  font-size: .95rem;
  white-space: nowrap
}

.features-bar [data-lang="fr"] {
  display: none
}

body.lang-fr .features-bar [data-lang="ar"] {
  display: none
}

body.lang-fr .features-bar [data-lang="fr"] {
  display: inline
}

.quick-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  background: rgb(255 255 255 / .08);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgb(255 255 255 / .15);
  flex-wrap: wrap
}

.qa-btn {
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: .9rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap
}

.qa-btn.call {
  background: #2563eb;
  color: #fff
}

.qa-btn.whatsapp {
  background: #16a34a;
  color: #fff
}

.qa-btn.lang {
  background: rgb(255 255 255 / .15);
  color: #fff
}

.qa-btn.lang.active {
  background: var(--accent);
  color: var(--dark)
}

.qa-btn:hover {
  transform: translateY(-2px);
  opacity: .95
}

.qa-btn[data-lang="fr"] {
  display: none
}

body.lang-fr .qa-btn[data-lang="fr"] {
  display: inline-flex
}

body.lang-fr .qa-btn[data-lang="ar"] {
  display: none
}

@media (max-width:768px) {
  .quick-actions {
    gap: 8px
  }

  .qa-btn {
    flex: 1;
    text-align: center
  }
}

.header-actions {
  display: flex;
  gap: 12px;
  align-items: center
}

.dropdown {
  position: relative
}

.dropbtn {
  border: none;
  cursor: pointer;
  padding: 8px 18px;
  border-radius: 25px;
  font-weight: 600;
  color: #fff;
  transition: all 0.3s ease;
  font-family: inherit
}

.dropbtn.contact {
  background: #2563eb
}

.dropbtn.contact:hover {
  background: #1d4ed8
}

.dropbtn.lang {
  background: #f59e0b;
  color: #111827
}

.dropbtn.lang:hover {
  background: #fbbf24
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 110%;
  right: 0;
  background: #fff;
  min-width: 160px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgb(0 0 0 / .15);
  overflow: hidden;
  z-index: 1000
}

.dropdown-content a {
  display: block;
  padding: 10px 15px;
  color: #1f2937;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s ease
}

.dropdown-content a:hover {
  background: #f3f4f6
}

.dropdown:hover .dropdown-content {
  display: block
}

.header-actions {
  margin-top: 12px;
  display: flex;
  justify-content: center
}

.lang-switch {
  display: flex;
  gap: 10px
}

.lang-btn {
  padding: 6px 14px;
  border-radius: 20px;
  background: rgb(255 255 255 / .15);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s
}

.lang-btn:hover {
  background: #f59e0b;
  color: #111
}

.icon-nav ul {
  display: flex;
  gap: 22px;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
  justify-content: center
}

.icon-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e5e7eb;
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  padding: 8px 12px;
  border-radius: 10px;
  transition: all 0.25s ease
}

.icon-nav a i {
  color: var(--accent);
  font-size: 1rem;
  transition: transform 0.25s ease
}

.icon-nav a:hover {
  background: rgb(255 255 255 / .08);
  color: var(--accent)
}

.icon-nav a:hover i {
  transform: translateY(-2px)
}

.icon-nav [data-lang="fr"] {
  display: none
}

body.lang-fr .icon-nav [data-lang="ar"] {
  display: none
}

body.lang-fr .icon-nav [data-lang="fr"] {
  display: inline
}

.follow-hover {
  position: relative
}

.follow-menu {
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  background: #111827;
  padding: 10px 12px;
  border-radius: 14px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 999
}

.follow-menu a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgb(255 255 255 / .08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #facc15;
  font-size: 16px
}

@media (hover:hover) {

  .follow-hover:hover .follow-menu,
  .lang-hover:hover .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0)
  }
}

.follow-menu,
.lang-menu {
  position: absolute;
  top: 110%;
  right: 0;
  background: #fff;
  border-radius: 12px;
  padding: 8px;
  display: flex;
  gap: 10px;
  box-shadow: 0 10px 25px rgb(0 0 0 / .15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all .25s ease;
  z-index: 999
}

.follow-hover.active .follow-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(-6px)
}

@media (max-width:768px) {
  .follow-menu {
    bottom: auto;
    top: 120%
  }
}

.follow-menu a:hover {
  transform: translateY(-3px)
}

.follow-menu a:nth-child(1):hover {
  background: #1877f2
}

.follow-menu a:nth-child(2):hover {
  background: #e1306c
}

.follow-menu a:nth-child(3):hover {
  background: #25d366
}

.follow-menu a:nth-child(4):hover {
  background: #000
}

.icon-nav .lang-item span {
  font-size: .75rem;
  font-weight: 700
}

.lang-hover {
  position: relative
}

.lang-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  padding: 6px 8px;
  border-radius: 50%;
  transition: background 0.25s ease
}

.lang-icon:hover {
  background: rgb(255 255 255 / .15)
}

.lang-menu {
  position: absolute;
  top: 130%;
  right: 50%;
  transform: translateX(50%);
  background: #fff;
  border-radius: 10px;
  min-width: 140px;
  box-shadow: 0 10px 25px rgb(0 0 0 / .15);
  display: none;
  overflow: hidden;
  z-index: 1000
}

.lang-menu a {
  display: block;
  padding: 10px 14px;
  text-decoration: none;
  color: #1f2937;
  font-weight: 600;
  font-size: .9rem;
  transition: background 0.2s ease;
  text-align: center
}

.lang-menu a:hover {
  background: #f3f4f6
}

.lang-hover:hover .lang-menu {
  display: block
}

body.lang-fr .lang-menu {
  direction: ltr
}

.main-header {
  background: #8f89dd;
  padding: 20px 0 10px
}

.brand-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  text-align: center;
  margin-bottom: 15px
}

.logo {
  width: 60px;
  border-radius: 10px
}

.brand-text h1 {
  font-size: 20px;
  color: #fff
}

.brand-text span {
  font-size: 14px;
  opacity: .8
}

.brand-text p {
  font-size: 14px;
  color: #f1f1f1
}

.icon-nav ul {
  display: flex;
  justify-content: center;
  gap: 22px;
  list-style: none
}

.icon-nav a {
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px
}

.icon-nav i {
  color: #ffb703
}

.follow-hover,
.lang-hover {
  position: relative
}

.follow-menu,
.lang-menu {
  position: absolute;
  top: 140%;
  right: 0;
  background: #fff;
  padding: 8px;
  border-radius: 10px;
  display: none;
  gap: 8px;
  white-space: nowrap
}

.follow-menu a,
.lang-menu a {
  color: #1f2937;
  font-weight: 600
}

.follow-hover:hover .follow-menu,
.lang-hover:hover .lang-menu {
  display: flex
}

.has-dropdown {
  position: relative
}

.dropdown-menu {
  position: absolute;
  top: 120%;
  right: 0;
  background: #fff;
  border-radius: 12px;
  min-width: 150px;
  box-shadow: 0 10px 25px rgb(0 0 0 / .15);
  display: none;
  z-index: 999
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: #1f2937;
  text-decoration: none;
  font-weight: 500
}

.dropdown-menu a:hover {
  background: #f3f4f6
}

.dropdown-menu.social {
  display: none;
  gap: 12px;
  padding: 12px
}

.dropdown-menu.social a {
  font-size: 18px
}

.has-dropdown.active .dropdown-menu {
  display: block
}

html {
  scroll-behavior: smooth
}

.has-dropdown {
  position: relative
}

.has-dropdown:hover .dropdown-menu {
  display: block !important;
  opacity: 1;
  visibility: visible
}

.dropdown-menu {
  display: none;
  position: absolute;
  background: #fff;
  min-width: 150px;
  box-shadow: 0 8px 16px rgb(0 0 0 / .2);
  z-index: 9999;
  border-radius: 8px;
  padding: 10px 0;
  top: 100%;
  left: 0
}

.dropdown-menu a {
  color: #333 !important;
  padding: 10px 20px;
  display: block;
  text-decoration: none;
  font-size: 14px;
  text-align: right
}

.dropdown-menu a:hover {
  background-color: #f1f1f1
}

.fixed .dropdown-menu {
  top: 100%
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgb(255 255 255 / .1);
  padding: 8px 15px;
  border-radius: 12px;
  transition: all 0.3s ease;
  color: white !important;
  text-decoration: none
}

.lang-btn:hover {
  background: #f39c12;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgb(243 156 18 / .3)
}

.lang-btn i {
  font-size: 16px;
  color: #f39c12
}

.lang-btn:hover i {
  color: #fff
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 110%;
  left: 0;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgb(0 0 0 / .2);
  min-width: 140px;
  overflow: hidden;
  z-index: 1000
}

.dropdown-menu a {
  color: #2c3e50 !important;
  padding: 12px 15px;
  display: block;
  font-size: 14px;
  transition: background 0.2s
}

.dropdown-menu a:hover {
  background: #f8f9fa;
  color: #f39c12 !important
}

.has-dropdown:hover .dropdown-menu {
  display: block;
  animation: fadeIn 0.3s ease
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

  {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Cairo", system-ui
}

a {
  color: inherit;
  text-decoration: none
}

.container {
  max-width: 1200px;
  margin-inline: auto;
  padding: 0 16px
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #8a82dc;
  border-bottom: 1px solid #aebb6f
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0
}

.brand {
  font-weight: 800;
  font-size: 22px
}

.brand small {
  display: block;
  font-size: .85rem;
  font-weight: 500;
  color: rgb(255 255 255 / .85);
  margin-top: 4px;
  letter-spacing: .3px
}

nav ul {
  display: flex;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0
}

nav a {
  padding: 8px 12px;
  border-radius: 10px
}

nav a:hover {
  background: #f5f7ff
}

.lang-toggle {
  margin-inline-start: auto;
  display: flex;
  gap: 8px
}

.btn,
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 800;
  border: 1px solid #e5e7eb;
  background: #fff;
  cursor: pointer
}

.wa,
.btn-whatsapp {
  background: #25D366;
  border: none;
  color: #fff
}

.call {
  background: #10b981;
  border: none;
  color: #fff
}

.hero {
  padding: 50px 0 36px;
  position: relative
}

.intro-section {
  max-width: 1100px;
  margin: 60px auto 40px;
  padding: 0 20px;
  text-align: center
}

.intro-title-ar {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.4
}

.intro-title-fr {
  font-size: 1.4rem;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 25px;
  letter-spacing: .3px
}

.intro-desc-ar {
  font-size: 1.1rem;
  line-height: 2;
  color: #374151;
  max-width: 900px;
  margin: 0 auto 12px
}

.intro-desc-fr {
  font-size: 1rem;
  line-height: 1.9;
  color: #6b7280;
  max-width: 900px;
  margin: 0 auto;
  direction: ltr
}

.intro-title-fr,
.intro-desc-fr {
  display: none
}

body.lang-fr .intro-title-ar,
body.lang-fr .intro-desc-ar {
  display: none
}

body.lang-fr .intro-title-fr,
body.lang-fr .intro-desc-fr {
  display: block
}

.wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  color: #0a0a0a;
  position: relative;
  z-index: 10;
  background: rgb(255 255 255 / .95);
  padding: 20px;
  border-radius: 12px;
  margin-top: 20px;
  max-width: 600px
}

.pill {
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e5e7eb;
  font-weight: 700
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px
}

.badge {
  background: var(--chip);
  border: 1px solid #e5e7ff;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700
}

section {
  padding: 36px 0
}

h2 {
  margin: 0 0 16px;
  font-size: 26px
}

.grid {
  display: grid;
  gap: 16px
}

.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr))
}

.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr))
}

.card {
  background: var(--card);
  border: 1px solid #eef0f4;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgb(0 0 0 / .04)
}

.card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: contain;
  background: #fff;
  display: block
}

.card.desktop img {
  aspect-ratio: 16/9;
  object-fit: contain
}

.card-body {
  padding: 16px
}

.kicker {
  color: var(--brand);
  font-weight: 800
}

.muted {
  color: var(--muted);
  font-size: 14px
}

.price {
  font-size: 22px;
  font-weight: 900;
  color: var(--danger)
}

.meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px
}

.stock {
  color: var(--ok);
  font-weight: 800
}

.cta {
  display: flex;
  gap: 10px;
  margin-top: 12px
}

.chip {
  border: 1px dashed #e5e7eb;
  border-radius: 12px;
  padding: 6px 10px;
  background: #fff
}

.t-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr))
}

.t-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 16px
}

.stars {
  color: #f59e0b;
  font-weight: 800
}

details {
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff
}

details[open] {
  border-color: #d1d5db
}

details summary {
  cursor: pointer;
  font-weight: 800;
  margin-bottom: 6px
}

footer {
  background: var(--footer);
  color: #e5e7eb;
  margin-top: 28px
}

.foot {
  display: grid;
  gap: 24px;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  padding: 32px 16px
}

.foot h4 {
  margin: 0 0 10px
}

.foot a {
  color: #fff;
  opacity: .9
}

[data-lang] {
  display: none
}

body.lang-ar [data-lang="ar"] {
  display: revert
}

body.lang-fr [data-lang="fr"] {
  display: revert
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0 0 0 / .5)
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center
}

.modal-content {
  background-color: #fff;
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 4px 20px rgb(0 0 0 / .3)
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px
}

.modal-header h2 {
  margin: 0
}

.modal-close {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #999
}

.copy {
  text-align: center;
  padding: 15px 0
}

.copy .container {
  margin: 0 auto;
  text-align: center
}

.modal-close:hover {
  color: #000
}

.form-group {
  margin-bottom: 15px
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 700
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit
}

.form-group textarea {
  resize: vertical;
  min-height: 100px
}

@media (max-width:1024px) {
  .cols-4 {
    grid-template-columns: repeat(2, 1fr)
  }

  .cols-3 {
    grid-template-columns: repeat(2, 1fr)
  }

  .t-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media (max-width:640px) {

  .cols-4,
  .cols-3,
  .t-grid {
    grid-template-columns: 1fr
  }

  header .nav {
    flex-wrap: wrap
  }

  .modal-content {
    width: 95%;
    padding: 20px
  }

  img {
    max-width: 80%;
    height: auto
  }

  @media (max-width:480px) {

    .grid.cols-4,
    .grid.cols-3 {
      grid-template-columns: 1fr
    }

    .modal-content {
      width: 95%;
      margin: 10% auto
    }
  }
}

.product-filters {
  margin-bottom: 30px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center
}

.filter-btn {
  padding: 8px 16px;
  background: #f0f0f0;
  border: 2px solid #ddd;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s
}

.no-ads {
  position: relative;
  z-index: 10
}

.filter-btn.active {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color)
}

.laptop-card {
  position: relative;
  transition: transform 0.3s
}

.laptop-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgb(0 0 0 / .1)
}

.featured-badge,
.gaming-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ff4757;
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  z-index: 1
}

.gaming-badge {
  background: #3742fa
}

.specs {
  margin: 15px 0;
  font-size: 14px
}

.spec-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  border-bottom: 1px dotted #eee;
  padding-bottom: 4px
}

.spec-label {
  font-weight: 600;
  color: #555
}

.spec-value {
  color: #333;
  font-weight: 500
}

.price-section {
  margin: 15px 0
}

.price {
  font-size: 24px;
  font-weight: 800;
  color: var(--danger)
}

.old-price {
  text-decoration: line-through;
  color: #999;
  font-size: 16px
}

.price-perf {
  font-size: 12px;
  color: #2ed573;
  font-weight: 600
}

.stock.available {
  color: #2ed573;
  font-weight: 600
}

.stock.low {
  color: #ffa502;
  font-weight: 600
}

.stock.out {
  color: #ff4757;
  font-weight: 600
}

.cta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 15px 0
}

.btn.wa {
  background: var(--whatsapp-color);
  color: #6432e3;
  text-align: center
}

.compare-btn {
  background: #747d8c;
  color: #fff;
  border: none
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--primary);
  cursor: pointer;
  padding: 10px;
  border-radius: 10px;
  transition: var(--transition);
  background: rgb(26 86 219 / .05)
}

.features {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 10px 0
}

.chip {
  background: #eef2ff;
  color: #4f46e5;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px
}

.warranty-chip {
  background: #dcfce7;
  color: #166534
}

@media (max-width:768px) {
  .grid.cols-4 {
    grid-template-columns: repeat(2, 1fr)
  }

  .spec-item {
    flex-direction: column
  }
}

@media (max-width:480px) {
  .grid.cols-4 {
    grid-template-columns: 1fr
  }

  .product-filters {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 10px
  }
}

@media (max-width:768px) {
  .icon-nav {
    display: block !important;
    position: sticky;
    top: 0;
    z-index: 999;
    background: #8f88e3;
    border-top: 1px solid rgb(255 255 255 / .15)
  }

  .icon-nav ul {
    display: flex;
    flex-direction: row;
    gap: 18px;
    padding: 10px 14px;
    margin: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none
  }

  .icon-nav ul::-webkit-scrollbar {
    display: none
  }

  .icon-nav li {
    flex: 0 0 auto
  }

  .icon-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: .75rem;
    white-space: nowrap;
    color: #fff;
    opacity: .85
  }

  .icon-nav a i {
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: #ffb703
  }

  .icon-nav a.active {
    opacity: 1
  }

  .icon-nav a.active i {
    color: #fff;
    transform: scale(1.15)
  }
}

.icon-nav.fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%
}

<style>.testimonial-card:hover {
  box-shadow: 0 5px 15px rgb(0 0 0 / .1) !important;
  transform: translateY(-5px)
}

.rating-input i:hover {
  transform: scale(1.2)
}

@media (max-width:768px) {
  .testimonials-grid {
    grid-template-columns: 1fr !important
  }

  #new-testimonial-form {
    grid-template-columns: 1fr !important
  }
}

:root {
  --brand-primary: #3b82f6;
  --brand-accent: #f39c12;
  --bg-dark: #0f172a;
  --text-muted: #94a3b8
}

.main-footer {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #1e293b 100%);
  color: #e2e8f0;
  padding-top: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif
}

.footer-promo-bar {
  background: linear-gradient(90deg, var(--brand-accent) 0%, #e67e22 100%);
  padding: 15px 0;
  text-align: center;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 15px rgb(0 0 0 / .2)
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto
}

.footer-column h4 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 3px;
  background: var(--brand-accent);
  border-radius: 2px
}

.newsletter-section {
  max-width: 800px;
  margin: 20px auto 40px;
  background: rgb(255 255 255 / .03);
  border: 1px solid rgb(255 255 255 / .1);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  backdrop-filter: blur(5px)
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 20px auto 0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden
}

.newsletter-form input {
  flex: 1;
  border: none;
  padding: 15px;
  outline: none;
  font-size: 14px
}

.newsletter-form button {
  background: var(--brand-accent);
  color: #fff;
  border: none;
  padding: 0 25px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s
}

.footer-bottom {
  border-top: 1px solid rgb(255 255 255 / .05);
  padding: 30px 20px;
  max-width: 1200px;
  margin: 0 auto
}

.bottom-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap
}

.bottom-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s
}

.bottom-links a:hover {
  color: var(--brand-accent)
}

@media (max-width:992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr
  }
}

@media (max-width:600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center
  }

  .footer-column h4::after {
    right: 50%;
    transform: translateX(50%)
  }

  .footer-column .social-icons {
    justify-content: center
  }
}

:root {
  --brand-main: #3b82f6;
  --brand-gold: #f39c12;
  --footer-bg: #0f172a;
  --card-bg: rgba(255, 255, 255, 0.03)
}

.rayhana-footer {
  background: linear-gradient(135deg, var(--footer-bg) 0%, #1e293b 100%);
  color: #e2e8f0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  direction: rtl
}

.promo-banner {
  background: linear-gradient(90deg, #10b981 0%, #3b82f6 100%);
  padding: 15px 0;
  text-align: center;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 4px 10px rgb(0 0 0 / .2)
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px
}

.footer-col h4 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
  display: inline-block
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 3px;
  background: var(--brand-gold);
  border-radius: 2px
}

.bottom-utility-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 40px;
  display: flex;
  flex-direction: column;
  align-items: center
}

.newsletter-card-modern {
  background: var(--card-bg);
  border: 1px solid rgb(255 255 255 / .1);
  border-radius: 20px;
  padding: 40px;
  width: 100%;
  max-width: 800px;
  text-align: center;
  margin-bottom: 40px;
  backdrop-filter: blur(10px)
}

.newsletter-form-modern {
  display: flex;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 20px;
  box-shadow: 0 10px 20px rgb(0 0 0 / .2)
}

.newsletter-form-modern input {
  flex: 1;
  border: none;
  padding: 15px;
  outline: none;
  font-size: 14px;
  color: #333
}

.newsletter-form-modern button {
  background: var(--brand-gold);
  color: #fff;
  border: none;
  padding: 0 30px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s
}

.final-links {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  justify-content: center
}

.final-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s
}

.final-links a:hover {
  color: var(--brand-gold)
}

.social-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: 0.3s
}

.social-icon-box:hover {
  transform: translateY(-3px);
  filter: brightness(1.2)
}

@media (max-width:992px) {
  .footer-main-grid {
    grid-template-columns: 1fr 1fr
  }
}

@media (max-width:600px) {
  .footer-main-grid {
    grid-template-columns: 1fr;
    text-align: center
  }

  .footer-col h4::after {
    right: 50%;
    transform: translateX(50%)
  }
}

<style>.newsletter-section {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #fff;
  padding: 50px 30px;
  margin: 40px auto;
  border-radius: 20px;
  text-align: center;
  max-width: 1000px;
  width: 90%;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / .3);
  border: 1px solid rgb(255 255 255 / .1)
}

.newsletter-input-group {
  display: flex;
  max-width: 600px;
  margin: 0 auto;
  gap: 10px;
  background: rgb(255 255 255 / .05);
  padding: 8px;
  border-radius: 12px;
  border: 1px solid rgb(255 255 255 / .1)
}

.newsletter-input {
  flex: 1;
  background: #fff0;
  border: none;
  padding: 12px 20px;
  color: #fff;
  font-size: 1rem;
  outline: none
}

.newsletter-input::placeholder {
  color: #94a3b8
}

.newsletter-btn {
  background: #f39c12;
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px
}

.newsletter-btn:hover {
  background: #e67e22;
  transform: scale(1.02)
}

.footer-bottom-link {
  color: #94a3b8;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s
}

.footer-bottom-link:hover {
  color: #f39c12
}

@media (max-width:768px) {
  .newsletter-input-group {
    flex-direction: column;
    background: #fff0;
    border: none;
    padding: 0
  }

  .newsletter-input {
    background: rgb(255 255 255 / .05);
    border-radius: 10px;
    margin-bottom: 10px;
    border: 1px solid rgb(255 255 255 / .1)
  }
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  text-align: center
}

.policy-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap
}

.policy-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s
}

.policy-links a:hover {
  color: #f39c12
}

.newsletter-box {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  padding: 40px 20px;
  border-radius: 20px;
  margin-bottom: 30px;
  border: 1px solid rgb(255 255 255 / .1)
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 20px auto 0;
  gap: 0;
  background: #fff;
  border-radius: 10px;
  overflow: hidden
}

.newsletter-form input {
  flex: 1;
  border: none;
  padding: 15px;
  outline: none;
  font-size: 14px
}

.newsletter-form button {
  background: #f39c12;
  color: #fff;
  border: none;
  padding: 0 25px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s
}

.newsletter-form button:hover {
  background: #e67e22
}

.copyright-line {
  border-top: 1px solid rgb(71 85 105 / .3);
  padding-top: 20px;
  color: #64748b;
  font-size: 13px
}

@media (max-width:1024px) {
  footer .container>div:first-child {
    grid-template-columns: repeat(2, 1fr) !important
  }
}

@media (max-width:768px) {
  footer .container>div:first-child {
    grid-template-columns: 1fr !important;
    gap: 30px !important
  }

  footer .container>div:last-child {
    flex-direction: column !important;
    text-align: center !important;
    gap: 15px !important
  }
}

footer a:hover {
  color: var(--brand) !important
}

// Pulse animation on promo banner .top - banner{background:linear - gradient(90deg,#16a34a,#f59e0b);color:#fff;padding:10px 15px;font - weight:600;text - align:center;font - size:.95rem}.lang-ar [data-lang="fr"]{display:none}.lang-fr [data-lang="ar"]{display:none}
.business-software-section {
  padding: 60px 15px;
  background: #f9fafb;
  direction: rtl;
  text-align: right;
}

.section-title {
  font-size: 28px;
  font-weight: bold;
  color: #111827;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 15px;
  color: #4b5563;
  margin-bottom: 35px;
}

.software-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.software-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.software-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.software-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #1f2933;
}

.software-card p {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 20px;
}

.btn-inquiry {
  background: #2563eb;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-inquiry:hover {
  background: #1d4ed8;
}

.contact-note {
  margin-top: 40px;
  background: #eef2ff;
  padding: 20px;
  border-radius: 10px;
}

.contact-note p {
  margin-bottom: 10px;
  font-weight: 500;
}

.contact-links {
  display: flex;
  gap: 15px;
}

.contact-link {
  text-decoration: none;
  background: #111827;
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 14px;
}

.contact-link.whatsapp {
  background: #16a34a;
}

::-webkit-inner-spin-button .software-wrapper {
  background: #fdfbe9;
  padding: 60px 15px;
  text-align: center;
  direction: rtl;
  font-family: "Cairo", sans-serif;
}

.main-title {
  font-size: 30px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 15px;
  color: #4b5563;
  margin-bottom: 35px;
}

.software-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  max-width: 900px;
  margin: 0 auto;
}

.software-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 30px 25px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.software-name {
  font-size: 18px;
  font-weight: 700;
  color: #16a34a;
  margin-bottom: 10px;
}

.software-desc {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 20px;
}

.software-btn {
  display: block;
  background: #22c55e;
  color: #fff;
  text-decoration: none;
  padding: 14px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  transition: background 0.3s ease;
}

.software-btn:hover {
  background: #16a34a;
}

.software-type {
  margin-top: 12px;
  font-size: 13px;
  color: #2563eb;
  background: #eef2ff;
  padding: 8px;
  border-radius: 10px;
}

.contact-note {
  margin-top: 40px;
  background: #eef2ff;
  padding: 20px;
  border-radius: 14px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
}

.contact-link {
  text-decoration: none;
  background: #111827;
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 14px;
}

.contact-link.whatsapp {
  background: #16a34a;
}

.legal-note {
  margin-top: 18px;
  font-size: 12px;
  color: #6b7280;
}

.sentry-style {
  background: #ffffff;
  border-radius: 20px;
  padding: 28px;
  max-width: 420px;
  margin: auto;
  text-align: center;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.software-image {
  margin-bottom: 15px;
}

.software-image img {
  max-width: 230px;
}

.software-title {
  color: #16a34a;
  font-weight: 700;
  margin-bottom: 10px;
}

.software-desc {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 18px;
}

.software-price {
  font-size: 26px;
  font-weight: 800;
  color: #f97316;
  margin-bottom: 8px;
}

.software-status {
  color: #16a34a;
  font-weight: 600;
  margin-bottom: 18px;
}

.software-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-training {
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #111827;
  padding: 12px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
}

.btn-discover {
  background: #22c55e;
  color: #fff;
  padding: 14px;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
}

.btn-discover:hover {
  background: #16a34a;
}

.software-license {
  margin-top: 14px;
  background: #eef2ff;
  color: #2563eb;
  padding: 10px;
  border-radius: 12px;
  font-size: 13px;
}

/* البطاقة */
.software-card.rcpharm-card {
  background: #ffffff;
  max-width: 900px;
  margin: 40px auto;
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  display: flex;
  gap: 30px;
  padding: 30px;
}

/* الصورة */
.software-image {
  flex: 0 0 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.software-image img {
  max-width: 100%;
  height: auto;
}

/* المحتوى */
.software-content {
  flex: 1;
  text-align: right;
}

.software-title {
  font-size: 24px;
  font-weight: 800;
  color: #16a34a;
  margin-bottom: 10px;
}

.software-desc {
  font-size: 15px;
  line-height: 1.8;
  color: #4b5563;
  margin-bottom: 20px;
}

/* السعر + الحالة */
.software-meta {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
}

.software-price {
  font-size: 26px;
  font-weight: 800;
  color: #f97316;
}

.software-status {
  color: #16a34a;
  font-weight: 600;
}

/* الأزرار */
.software-actions {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.btn-training {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 12px 16px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  color: #111827;
}

.btn-discover {
  background: #22c55e;
  color: #ffffff;
  padding: 14px 18px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
}

.btn-discover:hover {
  background: #16a34a;
}

/* الرخصة */
.software-license {
  background: #eef2ff;
  color: #2563eb;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  display: inline-block;
}

/* Responsive */
@media (max-width: 768px) {
  .software-card.rcpharm-card {
    flex-direction: column;
    text-align: center;
  }

  .software-content {
    text-align: center;
  }

  .software-meta,
  .software-actions {
    justify-content: center;
    flex-wrap: wrap;
  }
}

.software-card-vertical {
  background: #ffffff;
  max-width: 420px;
  margin: 40px auto;
  padding: 28px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.software-card-vertical .software-image {
  margin-bottom: 15px;
}

.software-card-vertical .software-image img {
  max-width: 230px;
  height: auto;
}

.software-title {
  color: #16a34a;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
}

.software-desc {
  font-size: 14px;
  line-height: 1.8;
  color: #4b5563;
  margin-bottom: 16px;
}

.software-price {
  font-size: 26px;
  font-weight: 800;
  color: #f97316;
  margin-bottom: 6px;
}

.software-status {
  color: #16a34a;
  font-weight: 600;
  margin-bottom: 16px;
}

.btn-training {
  display: block;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #111827;
  padding: 12px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 10px;
}

.btn-discover {
  display: block;
  background: #22c55e;
  color: #ffffff;
  padding: 14px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  margin-bottom: 12px;
}

.btn-discover:hover {
  background: #16a34a;
}

.software-license {
  background: #eef2ff;
  color: #2563eb;
  padding: 10px;
  border-radius: 12px;
  font-size: 13px;
}

.software-unified-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.social-icon-box {
  transition: all 0.25s ease;
}

.social-icon-box:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.35);
}

.social-icon-box {
  position: relative;
}

.social-icon-box::after {
  content: attr(data-title);
  position: absolute;
  right: 55px;
  background: #111;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.25s ease;
  pointer-events: none;
}

.social-icon-box:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.social-icon-box.whatsapp {
  box-shadow: 0 0 0 2px rgba(37, 211, 102, 0.4);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, .5);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}
/* حاوية الصورة داخل البطاقة */
.software-card-vertical {
  max-width: 340px;
  width: 100%;
}

.software-card-vertical .software-image {
  width: 100%;
  height: 180px;              /* تحكم ثابت في الارتفاع */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;           /* يمنع خروج الصورة */
  margin-bottom: 12px;
}

/* الصورة نفسها */
.software-card-vertical .software-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;        /* الأهم: يحافظ على التناسب */
  display: block;
}
.software-card-vertical .software-image img {
  transition: transform 0.3s ease;
}

.software-card-vertical:hover .software-image img {
  transform: scale(1.05);
}
[data-lang="fr"] {
  display: none;
}

body.lang-fr [data-lang="fr"] {
  display: inline;
}

body.lang-fr [data-lang="ar"] {
  display: none;
}
