/* Base Reset & Variables */
:root {
  --primary: #14b8b1;
  --primary-dark: #0fa3a0;
  --primary-light: #e6f7f6;
  --secondary: #0d1b2a;
  --danger: #dc3545;
  --text-dark: #1e2637;
  --text-gray: #64748b;
  --bg-light: #f0fdff;
  --bg-white: #ffffff;
  --border-color: #e8edf2;
  --shadow-sm:
    0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md:
    0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 50px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "IBM Plex Sans Arabic", "Tajawal", sans-serif;
  color: var(--text-gray);
  line-height: 1.6;
  background-color: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--secondary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  font-family: "IBM Plex Sans Arabic", "Tajawal", sans-serif;
  font-size: 14px !important;
}
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Utilities */
.text-primary {
  color: var(--secondary) !important;
}

.text-primary1 {
  color: #25d366 !important;
}

.text-danger {
  color: var(--danger) !important;
}

.text-center {
  text-align: center;
}

.text-muted {
  color: #94a3b8;
  font-size: 0.9rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

.block {
  display: flex;
  width: 100%;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
}

.btn-outline {
  background-color: #fff;
  border-color: var(--border-color);
  color: var(--secondary);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.why-mbassat {
  padding: 40px 0;
}
.why-mbassat::before {
  content: "";
  background: url(./assets/images/teal6.png);
  background-size: 110% 130%;
  background-position: -100px -20px;
  background-repeat: no-repeat;
  width: 100%;
  height: 300px;
  display: inline-block;
  position: absolute;
}
.btn-outline-primary {
  background-color: transparent;
  border-color: var(--primary);
  color: var(--primary);
}
html[dir="ltr"] .numbered-card:hover {
  background-position: 95px 15px;
}
.btn-outline-primary:hover {
  background-color: var(--primary);
  color: white;
}

.btn-outline-white {
  background-color: transparent;
  border-color: white;
  color: white;
}

.btn-outline-white:hover {
  background-color: white;
  color: var(--primary);
}

.btn-md {
  padding: 10px 24px;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
}

.btn-outline-alt {
  background-color: var(--bg-white);
  border-color: var(--border-color);
  color: var(--secondary);
}

.btn-outline-alt:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Language Switcher */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
  padding: 5px 13px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.lang-switch:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Navbar */
.navbar {
  background-color: var(--bg-white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow:
    0 1px 0 var(--border-color),
    0 4px 12px rgba(0, 0, 0, 0.04);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 65px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  font-weight: 600;
  color: var(--secondary);
  position: relative;
  font-size: 14px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--primary);
  border-radius: 2px;
}

/* Hero Section */
.hero {
  padding: 60px 0 70px;
  position: relative;
  background-color: var(--bg-white);
  overflow: hidden;
  animation: heroFadeIn 0.8s ease both;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Wavy lines decoration */
.hero::before {
  content: "";
  position: absolute;
  bottom: 21px;
  left: 0;
  right: -30px;
  height: 60%;
  background-image: url(assets/images/teal.png);
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 100% 100%;
  z-index: 0;
  pointer-events: none;
  width: 110%;
  transform: scaleY(1);
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
  flex-direction: row-reverse;
}

.hero-content {
  flex: 0.8;
  max-width: 450px;
}

.hero-content h1 {
  font-size: 2.7rem;
  margin-bottom: 24px;
  line-height: 1.2;
}

.hero-content h1 span {
  color: var(--primary);
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 32px;
  color: var(--secondary);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.hero-features {
  display: flex;
  gap: 24px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--secondary);
}

.hero-features span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-image {
  flex: 1;
}

.hero-image img {
  margin: 0 auto;
  max-width: 100%;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 28px;
}

.section-header h2 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.section-header h2 span {
  color: var(--primary);
}

.section-header p {
  font-size: 1.1rem;
}

/* Comparison Section */
.comparison {
  padding: 80px 0;
  background-color: var(--bg-light);
  background-image: url(assets/images/teal6.png);
  background-repeat: no-repeat;
  background-position: -60px 225px;
  background-size: 110% 70%;
}

.comparison-grid {
  display: flex;
  justify-content: center;
  gap: 60px;
}

.comparison-grid .divider {
  width: 1px;
  background-color: var(--border-color);
  align-self: stretch;
  margin: 10px 0;
}

.compare-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.compare-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.compare-title i {
  font-size: 2rem;
}

.compare-title h3 {
  font-size: 1.4rem;
  margin: 0;
}

.compare-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.compare-col ul li {
  font-size: 1rem;
  font-weight: 500;
  color: var(--secondary);
}

/* Core Features Section */
.core-features {
  padding: 40px 0;
  background: url(./assets/images/teal2.png);
  background-size: 102% 70%;
  background-position: -30px 50px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: -240px;
  left: -10px;
  right: 0;
  bottom: 0;
  background-image: url(assets/images/teal.png);
  background-size: 100%;
  background-position: center;
  opacity: 0.15;
  filter: grayscale(100%);
  transform: rotate(-3deg) scale(1);
  transition:
    opacity 0.3s ease,
    filter 0.3s ease,
    transform 0.3s ease;
  z-index: -1;
  background-repeat: no-repeat;
  display: none;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary);
  background: #ffffff8a;
}

.feature-card:hover::before {
  filter: grayscale(0%);
  opacity: 0.5;
}

.feature-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--primary-light), #c8f0f0);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2.2rem;
  color: var(--primary);
  transition: background 0.25s ease;
  display: none;
}

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, #c8f0f0, var(--primary-light));
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--primary);
}

.feature-card p {
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.feature-list {
  display: inline-flex;
  flex-direction: column;
  gap: 12px;
  text-align: right;
  margin: 0 auto;
}

.feature-list li {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  font-weight: 500;
  color: var(--secondary);
}

/* Devices Section */
.devices {
  padding: 10px 0;
  background-color: var(--bg-light);
  padding-top: 10px;
  background-image: url(./assets/images/teal6.png);
  background-size: 110% 100%;
  background-repeat: no-repeat;
  background-position: -40px 105px;
}

.devices-container {
  display: flex;
  align-items: center;
  gap: 20px;
  background-color: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 40px 20px;
  flex-direction: row-reverse;
  /* box-shadow:
    0 25px 50px -12px rgba(20, 184, 177, 0.15),
    0 0 0 1px rgba(20, 184, 177, 0.05); */
  position: relative;
  overflow: hidden;
  z-index: 1;
  background-image: url(./assets/images/teal2.png);
  background-size: 100% 92%;
  background-repeat: no-repeat;
  background-position: -5px 90px;
  border: 1px solid #d7ecef;
}
.container.devices-container1 {
  /* display: flex; */
  /* align-items: center; */
  gap: 40px;

  border-radius: var(--radius-lg);
  padding: 30px 40px;
  flex-direction: row-reverse;
  /* box-shadow: 0 25px 50px -12px rgba(20, 184, 177, 0.15), 0 0 0 1px rgba(20, 184, 177, 0.05); */
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.devices-container::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(20, 184, 177, 0.12) 0%,
    transparent 70%
  );
  border-radius: 50%;
  z-index: -1;
  opacity: 0;
}

.devices-container::after {
  content: "";
  position: absolute;
  bottom: -150px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(20, 184, 177, 0.08) 0%,
    transparent 70%
  );
  border-radius: 50%;
  z-index: -1;
  opacity: 0;
}

html[dir="ltr"] .devices-container {
  /* No background image needed anymore */
}

.devices-text {
  flex: 1.7;
  position: relative;
  z-index: 2;
}

.devices-text h2 {
  font-size: 2.8rem;
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 18px;
  color: var(--secondary);
  line-height: 1.2;
  -webkit-text-fill-color: var(--secondary);
  background: none;
}

.devices-text h2 span {
  color: var(--primary);
  -webkit-text-fill-color: var(--primary);
}

/* Side border on paragraph */
.text-with-border {
  border-right: 4px solid var(--primary);
  padding-right: 16px;
  margin-bottom: 32px;
}

html[dir="ltr"] .text-with-border {
  border-right: none;
  border-left: 4px solid var(--primary);
  padding-right: 0;
  padding-left: 16px;
}

.text-with-border p {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--text-gray);
}

/* ── Horizontal Feature Card ── */
.features-horizontal-card {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.feature-hz {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  flex: 1;
  transition: background 0.2s;
  background: #fff;
}

.feature-hz:hover {
  background: transparent;
}

.feature-hz-divider {
  width: 1px;
  background-color: var(--border-color);
  align-self: stretch;
  margin: 12px 6px;
}

.feature-hz-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
  flex-shrink: 0;
  display: none;
}

.feature-hz-text h4 {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 2px;
}

.feature-hz-text p {
  font-size: 0.78rem;
  color: var(--text-gray);
  line-height: 1.4;
}

/* ── Image Side ── */
.devices-image {
  flex: 1.5;
  text-align: center;
  position: relative;
  z-index: 2;
}

@keyframes floatDevice {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
  100% {
    transform: translateY(0px);
  }
}

.devices-image img {
  width: 100%;
  display: block;
  animation: floatDevice 5s ease-in-out infinite;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.1));
  position: relative;
  z-index: 2;
}

/* Paper plane + dashed line */
.bg-paper-plane {
  position: absolute;
  bottom: -10px;
  left: -10px;
  width: 140px;
  height: 80px;
  pointer-events: none;
  z-index: 3;
  display: none;
}

.bg-paper-plane .dashed-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.bg-paper-plane i {
  position: absolute;
  bottom: 6px;
  left: 6px;
  font-size: 1.8rem;
  color: var(--primary);
  transform: rotate(-30deg);
  filter: drop-shadow(0 4px 8px rgba(20, 184, 177, 0.3));
}

/* ── Scroll Animations ── */
.fade-in-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

.fade-in-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Why Mubassat Section */
.why-mubassat {
  padding: 60px 0;
}
.why-mubassat::before {
  content: "";
  background: url(./assets/images/teal6.png);
  background-size: 110% 130%;
  background-position: -100px -20px;
  background-repeat: no-repeat;
  width: 100%;
  height: 300px;
  display: inline-block;
  position: absolute;
}
.why-header h2 {
  display: inline-block;
}

.why-header h2 span {
  position: relative;
  color: var(--secondary);
}

.why-header h2 span::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--primary);
  border-radius: 2px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.why-item {
  text-align: center;
  padding: 24px 16px;
  position: relative;
}

.why-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 25%;
  bottom: 25%;
  left: 0;
  width: 1px;
  background-color: var(--border-color);
}

.why-item i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 12px;
  display: inline-block;
}

.why-item h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--secondary);
}

.why-item p {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.5;
}

/* Support Banner Section */
.support-banner {
  padding: 20px 0;
}

.banner-container {
  background-color: var(--secondary);
  border-radius: var(--radius-lg);
  border: 0px solid #2a3a5c;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  overflow: hidden;
  position: relative;
  color: white;
  min-height: 260px;
}
.banner-container::before {
  content: "";
  background: url(./assets/images/teal5.png);
  background-size: 40% 90%;
  background-position: 260px -30px;
  background-repeat: no-repeat;
  width: 100%;
  height: 300px;
  display: inline-block;
  position: absolute;
  transform: rotate(-25deg);
}
html[dir="ltr"] .banner-container::before {
  content: "";
  background-image: url(assets/images/teal5.png);
  background-position: 900px 20px;
  background-repeat: no-repeat;
  width: 100%;
  background-size: contain;
  height: 300px;
  display: inline-block;
  position: absolute;
  transform: rotate(0deg);
}
.banner-icon-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 20px;
  z-index: 1;
}

.banner-icon-container i {
  font-size: 7rem;
  color: var(--primary);
  opacity: 0.85;
}

.banner-content {
  flex: 1;
  padding: 20px 40px 20px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: right;
  z-index: 1;
}

.support-subtitle {
  color: #94b8c8;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 4px;
}

.banner-content h2 {
  font-size: 2.6rem;
  color: white;
  margin-bottom: 16px;
  font-weight: 800;
}

.banner-content p {
  color: #94a3b8;
  font-size: 1.05rem;
  margin-bottom: 20px;
  line-height: 1.7;
}

.banner-image {
  flex: 0.7;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  z-index: 1;
  position: relative;
  margin-bottom: -4px;
}

.banner-image img {
  max-width: 110%;
  max-height: 280px;
  object-fit: contain;
  object-position: bottom left;
  margin-left: -20px;
  filter: drop-shadow(0 32px 20px rgba(0, 0, 0, 0.45))
    drop-shadow(0 16px 10px rgba(20, 184, 177, 0.18))
    drop-shadow(0 4px 4px rgba(0, 0, 0, 0.3));
}

/* Security Section */
.security {
  padding: 40px 0 60px;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.security-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px 12px;
  position: relative;
}

.security-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 25%;
  bottom: 25%;
  left: 0;
  width: 0.1rem;
  background-color: #0d1b2a42;
}
.security-item:hover {
  background: #eefafb;
  border-radius: 15px;
  /* background-image: url(assets/images/teal5_1a.png) !important; */
  background-position: -20px -90px;
  background-repeat: no-repeat;
  background-size: 46%;
}
.security-item:hover::after {
  display: none;
}
.security-item i {
  font-size: 2.5rem;
  color: var(--primary);
  flex-shrink: 0;
}

.security-text {
  text-align: center;
}

.security-item h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
  color: var(--secondary);
}

.security-item p {
  font-size: 0.85rem;
  color: var(--text-gray);
  line-height: 1.5;
}

/* Pricing Section */
.pricing {
  padding: 50px 0;
  background-color: #fff;
  background-image: url(assets/images/teal4.png);
  background-repeat: no-repeat;
  background-position: -260px 180px;
  background-size: 125% 50%;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 850px;
  margin: 0 auto;
}

.pricing-card {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 40px;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.pricing-card.highlighted {
  border: 2px solid var(--secondary);
  box-shadow: var(--shadow-md);
}

.badge-top {
  position: absolute;
  top: -14px;
  right: 40px;
  background-color: var(--secondary);
  color: white;
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
}

.pricing-header {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 24px;
  /* border-bottom: 1px solid var(--border-color); */
}

.pricing-header h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.price {
  font-size: 1.1rem;
  color: var(--text-gray);
  margin-bottom: 12px;
  font-weight: 500;
}

.price span {
  font-size: 3rem;
  font-weight: 800;
  color: var(--secondary);
}

.pricing-header p {
  font-size: 0.95rem;
  color: var(--secondary);
}

.price-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.price-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--secondary);
  font-size: 0.95rem;
}

/* FAQ Section */
.faq {
  padding: 50px 0;
  background: var(--bg-light);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid #0d1b2a;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  cursor: pointer;
  background-color: var(--bg-white);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
    min-height:85px;
}

.faq-item:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1rem;
  color: var(--secondary);
}

.faq-question i {
  color: var(--text-gray);
}

/* Footer CTA */
/* Footer CTA */
.footer-cta {
  padding: 70px 0 40px;
  background-color: var(--bg-white);
}

.footer-container {
  background-color: #0d1b2a;
  background-image:
    url("assets/images/teal4_cta.png"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0 C300,0 300,120 600,120 L0,120 Z' fill='%2314B8B1'/%3E%3C/svg%3E");
  background-size:
    40% 170%,
    100% 100%;
  background-position:
    right -15px,
    center;
  background-repeat: no-repeat, no-repeat;
  border-radius: 100px;
  padding: 40px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-right: 130px;
}

.footer-text h2 {
  font-size: 2rem;
  margin-bottom: 0px;
  color: #fff;
  font-weight: 800;
  line-height: 1.2;
}
.footer-buttons .btn-primary {
  background: #0d1b2a;
}
.footer-text p {
  font-size: 1rem;
  color: #fff;
  font-weight: 600;
}

.footer-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* Button modifiers */
.btn-md {
  padding: 10px 24px;
  font-size: 0.95rem;
  border-radius: 8px;
}

.btn-outline-alt {
  background-color: var(--bg-white);
  border: 1px solid var(--primary);
  color: var(--secondary);
}

.btn-outline-alt:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* FAQ Answer (Accordion) */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.35s ease,
    padding 0.3s ease;
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.8;
  padding: 0 4px;
}

.faq-answer ul {
    padding-right: 18px;
    padding-left: 18px;
}
.faq-answer ul li {
    list-style: disc;
}
.faq-item.open .faq-answer {
  max-height: 100%;
  padding-top: 12px;
}

.faq-item.open .faq-question {
  color: var(--primary);
}

.faq-item.open .faq-question i {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-question i {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

/* Hamburger Button */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--secondary);
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px 20px;
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-color);
}

.mobile-menu a {
  font-weight: 600;
  color: var(--secondary);
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 1rem;
}

.mobile-menu a:last-child {
  border-bottom: none;
  margin-top: 15px;
}

/* =========================================
   Trial Modal Styles
   ========================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14, 25, 45, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--bg-white);
  width: 100%;
  max-width: 650px;
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-overlay.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--bg-light);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-color);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s;
}

.modal-close:hover {
  background: var(--danger-color);
  color: #030303;
  transform: rotate(90deg);
}
.price span.symbol {
  font-size: 2rem;
  font-weight: 400;
  color: var(--secondary);
  display: inline-block;
  line-height: 30px;
  position: relative;
  top: -10px;
}
.price span.symbol.arabic {
  top: -13px;
  font-size: 24px;
  margin-left: 5px;
  margin-right: 5px;
}
/* Video Modal Styles */
.video-modal-card {
  max-width: 850px;
  width: 95%;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

html[dir="rtl"] .value-props-card {
  background-position: -70px -80px;
}
.video-modal-card .modal-close {
  top: -45px;
  right: 0;
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.video-modal-card .modal-close:hover {
  background: white;
  color: #333;
  transform: rotate(90deg);
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  background: #000;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.modal-header {
  text-align: center;
  margin-bottom: 18px;
}

.modal-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.6rem;
  color: white;
  margin: 0 auto 14px;
  box-shadow: 0 8px 16px -8px var(--primary);
  transform: rotate(-5deg);
}

.modal-header h2 {
  font-size: 1.5rem;
  color: var(--secondary);
  margin-bottom: 6px;
}

.modal-header p {
  color: var(--text-color);
  font-size: 0.95rem;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.modal-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.modal-field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--secondary);
}

.modal-field input,
.modal-field textarea {
  padding: 10px 14px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.9rem;
  transition: all 0.2s;
  background: var(--bg-light);
  resize: vertical;
}

.modal-field input:focus,
.modal-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(45, 203, 115, 0.1);
}

.modal-submit {
  margin-top: 4px;
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  justify-content: center;
}

/* Success State */
.modal-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 0;
}

.success-icon {
  font-size: 4rem;
  color: var(--primary);
  margin-bottom: 20px;
  animation: scaleIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-success h3 {
  font-size: 1.5rem;
  color: var(--secondary);
  margin-bottom: 10px;
}

.modal-success p {
  color: var(--text-color);
}

@keyframes scaleIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@media (max-width: 600px) {
  .modal-card {
    padding: 22px 18px;
    margin: 0;
    width: 100%;
  }
  .modal-form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .modal-header h2 {
    font-size: 1.3rem;
  }
}

.mobile-menu a.btn {
  text-align: center;
  margin-top: 4px;
}

.mobile-menu.open {
  display: flex;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-container,
  .banner-container {
    flex-direction: column;
  }

  .devices-container {
    flex-direction: column;
    padding: 30px 24px;
    gap: 30px;
  }

  .devices-text {
    text-align: center;
  }

  .hero-content {
    text-align: center;
    max-width: 100%;
  }

  .hero-buttons,
  .hero-features {
    justify-content: center;
  }

  .banner-image {
    max-width: 100%;
  }

  .features-grid,
  .pricing-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .why-grid,
  .security-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-item:nth-child(even)::after,
  .security-item:nth-child(even)::after {
    display: none;
  }

  .comparison-grid {
    gap: 40px;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .device-labels {
    justify-content: space-evenly;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-actions .btn {
    display: none;
  }

  .nav-actions {
    margin-right: auto;
  }

  .nav-hamburger {
    display: block;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .device-labels {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
  }

  .device-labels span {
    font-size: 0.85rem;
  }

  .devices-text h2 {
    font-size: 1.6rem;
  }

  .why-grid,
  .security-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .why-item::after,
  .security-item::after {
    display: none;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .footer-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-buttons .btn {
    text-align: center;
    justify-content: center;
  }

  .section-header h2 {
    font-size: 1.7rem;
  }

  .banner-content {
    padding: 30px 24px;
  }

  .banner-content h2 {
    font-size: 1.6rem;
  }
}

/* Checkout Page Styles */
.bg-light-page {
  background-color: var(--bg-light);
}

.checkout-page {
  padding: 60px 0;
}

.checkout-container {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}

.checkout-header {
  margin-bottom: 30px;
}

.checkout-header h2 {
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 8px;
}

.checkout-header p {
  color: var(--text-gray);
}

.checkout-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 30px;
  margin-bottom: 30px;
}

.checkout-card h3 {
  font-size: 1.25rem;
  color: var(--secondary);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-dark);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.2s;
  background-color: #fcfcfc;
}
.form-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='black' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 50px;
}
html[dir="rtl"] .form-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='black' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 10px center;
  padding-right: 15px;
}
.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  background-color: white;
  box-shadow: 0 0 0 3px var(--primary-light);
}

.form-group input.field-error,
.form-group select.field-error {
  border-color: #e53e3e;
  background-color: #fff5f5;
  box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.15);
}

/* --- Checkout Step Indicator --- */
.checkout-steps {
  display: flex;
  align-items: center;
  padding: 24px 30px;
  border-bottom: 1px solid var(--border-color);
  background: #f8fbfc;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.step {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-gray);
}

.step-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--border-color);
  color: var(--text-gray);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
}

.step.active .step-circle {
  background: var(--primary);
  color: white;
  box-shadow: 0 0 0 4px var(--primary-light);
}

.step.active .step-text {
  color: var(--secondary);
  font-weight: 600;
}

.step-text {
  font-size: 0.9rem;
  font-weight: 500;
}

.step-line {
  flex: 1;
  height: 2px;
  background: var(--border-color);
  margin: 0 12px;
}

/* --- Form Padding & Section Title --- */
.checkout-card.p-0 {
  padding: 0;
  overflow: hidden;
}

.form-padded {
  padding: 28px 30px 30px;
}

.form-section-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.form-section-title i {
  font-size: 1.1rem;
}

.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.payment-option {
  cursor: pointer;
}

.payment-option input {
  display: none;
}

.payment-option-content {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  transition: all 0.2s;
  background-color: white;
}

.payment-option input:checked + .payment-option-content {
  border-color: var(--primary);
  background-color: var(--primary-light);
}

.payment-details {
  border: 1px solid var(--primary);
  border-top: none;
  background-color: var(--primary-light);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  padding: 16px 20px;
  margin-top: -16px; /* offset the gap in .payment-methods */
  margin-bottom: 8px;
}

/* Adjust active option border radius so it flows into details */
.payment-option.active .payment-option-content {
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  border-bottom: 1px dashed var(--primary);
}

.payment-option-icon {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--secondary);
}

.payment-option-icon.mada {
  color: #2196f3;
}

.payment-option-icon i {
  font-size: 1.5rem;
}

.checkout-sidebar {
  position: sticky;
  top: 100px;
}

/* --- New Summary Box --- */
.checkout-summary-box {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.summary-header {
  background: var(--secondary);
  color: white;
  padding: 22px 28px;
}

.summary-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: white;
}

.summary-header p {
  font-size: 0.875rem;
  opacity: 0.75;
  color: white;
}

.summary-body {
  padding: 24px 28px;
}

.summary-main-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.plan-name-full {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--secondary);
}

.plan-price-main {
  font-size: 1rem;
  font-weight: 700;
  color: var(--secondary);
}

.summary-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.summary-item.plan-details {
  align-items: flex-start;
}

.plan-name {
  display: flex;
  flex-direction: column;
  font-weight: 700;
  color: var(--secondary);
}

.plan-cycle {
  font-size: 0.85rem;
  color: var(--text-gray);
  font-weight: 400;
  margin-top: 4px;
}

.plan-price {
  font-weight: 700;
}

.summary-divider {
  height: 1px;
  background-color: var(--border-color);
  margin: 20px 0;
}

.summary-item.total {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary);
}

.summary-note {
  font-size: 0.85rem;
  color: var(--text-gray);
  margin: 24px 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.summary-note i {
  color: #10b981;
  font-size: 1.1rem;
}

.checkout-submit-btn {
  width: 100%;
  padding: 16px;
  font-size: 1.1rem;
}

.summary-label {
  font-size: 0.9rem;
  color: var(--text-gray);
}

.summary-value {
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 500;
}

.summary-total-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.total-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--secondary);
}

.total-value {
  font-size: 1.2rem;
  font-weight: 800;
}

/* --- Summary Badges --- */
.summary-badges {
  display: flex;
  justify-content: space-around;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border-color);
  gap: 8px;
}

.badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-gray);
}

.badge-item i {
  font-size: 1.4rem;
  color: var(--primary);
}

/* --- Assistance Box --- */
.assistance-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #e6f7f7;
  border: 1px solid #b2e6e6;
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

.assistance-icon {
  font-size: 1.4rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.assistance-content h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 6px;
}

.assistance-content p {
  font-size: 0.85rem;
  color: var(--text-dark);
  line-height: 1.6;
}

.assistance-content a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
}

@media (max-width: 992px) {
  .checkout-container {
    grid-template-columns: 1fr;
  }

  .checkout-sidebar {
    position: static;
    order: -1;
  }
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   Floating WhatsApp Button
   ========================================= */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  left: 30px; /* Left for RTL, will override for LTR */
  background-color: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 32px;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
  text-decoration: none;
}

.floating-whatsapp:hover {
  background-color: #128c7e;
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 6px 15px rgba(37, 211, 102, 0.6);
  color: white;
}

@media (max-width: 768px) {
  .floating-whatsapp {
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    font-size: 28px;
  }
  .footer-container {
    border-radius: 20px;
    padding-right: 40px;
  }
  .comparison-grid {
    flex-direction: column;
  }

  /* Devices section responsive */
  .devices-container {
    flex-direction: column;
    padding: 40px 28px;
    gap: 36px;
  }
  .devices-text h2 {
    font-size: 2.2rem;
  }
  .devices-image {
    width: 100%;
  }
  .features-horizontal-card {
    flex-direction: column;
  }
  .feature-hz-divider {
    width: auto;
    height: 1px;
    margin: 0 12px;
  }
}

/* ── Value Props Section ── */
.value-props {
  padding: 90px 0;
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.icon-badge-inner1 i {
  font-size: 44px;
}

.value-props-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  position: relative;
  z-index: 1;
}

/* Card Common Styling */
.value-props-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 20px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.3s ease;
  z-index: 1;
}

.value-props-card:hover {
  transform: translateY(-8px);
}

/* Theme 1: Red Card */
.value-props-card.red-card {
  border: 1px solid rgb(239 68 68 / 50%);
  background-color: #f0fdff;
}

.value-props-card.red-card:hover {
  border-color: rgba(239, 68, 68, 0.3);
  box-shadow: 0 20px 45px rgba(239, 68, 68, 0.08);
  background: #f0fdff99;
}

/* Theme 2: Green Card */
.value-props-card.green-card {
  border: 1px solid rgb(16 185 129 / 60%);
  background-color: #f0fdff;
}

.value-props-card.green-card:hover {
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: 0 20px 45px rgba(16, 185, 129, 0.08);
  background: #f0fdff99;
}

/* Custom Background Graphics for Cards */
.value-props-card.red-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 160px;
  height: 160px;
  background: radial-gradient(
    circle at bottom left,
    rgba(239, 68, 68, 0.05) 0%,
    rgba(239, 68, 68, 0.05) 70%,
    transparent 70%
  );
  z-index: -1;
  pointer-events: none;
  display: none;
}

.value-props-card.red-card::after {
  content: "";
  position: absolute;
  bottom: 30px;
  left: 30px;
  width: 60px;
  height: 80px;
  background-image: radial-gradient(#fca5a5 2px, transparent 2.5px);
  background-size: 14px 14px;
  z-index: -1;
  opacity: 0.35;
  pointer-events: none;
  display: none;
}

html[dir="ltr"] .value-props-card.red-card::before {
  left: 0;
  bottom: 0;
}
html[dir="ltr"] .value-props-card.red-card::after {
  left: 30px;
  bottom: 30px;
}

/* Green Card: Wavy lines bottom right */
.value-props-card.green-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 140px;
  height: 140px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' width='100' height='100'%3E%3Cpath d='M-20,100 C20,70 40,90 80,70 C100,60 110,80 140,60' fill='none' stroke='%2334d399' stroke-width='1.2' opacity='0.25'/%3E%3Cpath d='M-20,105 C20,75 40,95 80,75 C100,65 110,85 140,65' fill='none' stroke='%2334d399' stroke-width='1.2' opacity='0.25'/%3E%3Cpath d='M-20,110 C20,80 40,100 80,80 C100,70 110,90 140,70' fill='none' stroke='%2334d399' stroke-width='1.2' opacity='0.25'/%3E%3Cpath d='M-20,115 C20,85 40,105 80,85 C100,75 110,95 140,75' fill='none' stroke='%2334d399' stroke-width='1.2' opacity='0.25'/%3E%3Cpath d='M-20,120 C20,90 40,110 80,90 C100,80 110,100 140,80' fill='none' stroke='%2334d399' stroke-width='1.2' opacity='0.25'/%3E%3C/svg%3E");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom right;
  z-index: -1;
  pointer-events: none;
  display: none;
}

html[dir="ltr"] .value-props-card.green-card::before {
  right: 0;
  bottom: 0;
}

/* Badge Icon Wrapper */
.value-props-card-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
}

.icon-badge-outer {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.red-card .icon-badge-outer {
  background-color: #fee2e2;
}

.green-card .icon-badge-outer {
  background-color: #d1fae5;
}

.icon-badge-inner {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: white;
}

.red-card .icon-badge-inner {
  background-color: #ef4444;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

.green-card .icon-badge-inner {
  background-color: #10b981;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.red-card .icon-badge-inner i.fa-certificate {
  font-size: 1.8rem;
  color: white;
}

.red-card .icon-badge-inner i.fa-star {
  font-size: 0.8rem;
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.green-card .icon-badge-inner i.fa-check {
  font-size: 1.2rem;
  color: white;
}

/* Headers */
.value-props-card h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
  line-height: 1.3;
}

.value-props-card h3 span {
  color: inherit;
}

/* Card Separator Line */
.card-separator {
  width: 32px;
  height: 3px;
  border-radius: 10px;
  margin: 0 auto 24px;
}

.red-card .card-separator {
  background-color: #ef4444;
}

.green-card .card-separator {
  background-color: #10b981;
}

/* List Centering and Styling */
.value-props-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0;
  max-width: 320px;
  margin: 0 auto;
}

.value-props-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.98rem;
  color: #4b5563;
  font-weight: 400;
  text-align: center;
}

.value-props-list li i.fa-circle-check {
  display: none;
}

@media (max-width: 860px) {
  .value-props-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .value-props-card {
    padding: 35px 24px;
  }
  .value-props {
    padding: 60px 0;
  }
}

/* Comparison section cards — same grid but smaller */
.devices-container1 .value-props-card {
  padding: 20px 28px;
}

.devices-container1 .value-props-card h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.devices-container1 .icon-badge-outer {
  width: 56px;
  height: 56px;
  font-size: 1.2rem;
  border-radius: 14px;
}

.devices-container1 .value-props-card-icon {
  margin-bottom: 14px;
}

.devices-container1 .card-separator {
  margin-bottom: 14px;
}

.devices-container1 .value-props-list {
  gap: 10px;
}

/* Red-card in comparison section gets a different badge color */
.devices-container1 .red-card .icon-badge-outer {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.25);
}

.devices-container1 .red-card .card-separator {
  background-color: #ef4444;
}

@media (max-width: 860px) {
  .value-props-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .value-props-card {
    padding: 32px 24px;
  }
  .value-props {
    padding: 60px 0;
  }
}

/* Main Footer */
.site-footer {
  background-color: var(--bg-light);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border-color, #e2e8f0);
  margin-top: 0.5rem;
}

.site-footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.footer-logo {
  flex: 1 1 250px;
}

.footer-logo img {
  max-width: 85px;
  margin-bottom: 1rem;
}

.footer-logo p {
  color: var(--text-gray, #64748b);
  font-size: 0.9rem;
  max-width: 300px;
}

.footer-col {
  flex: 1 1 150px;
}

.footer-col h4 {
  color: var(--secondary, #0f172a);
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 0.8rem;
}

.footer-col ul li a {
  color: var(--text-gray, #64748b);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: var(--primary, #14b8b1);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color, #e2e8f0);
  color: var(--text-gray, #64748b);
  font-size: 0.9rem;
}

/* =====================================================
   Login Page Styling
   ===================================================== */
.login-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-white);
  position: relative;
  overflow-x: hidden;
  padding: 0;
}

.login-layout main::before {
  content: "";
  position: absolute;
  bottom: 60%;
  left: 0;
  right: -30px;
  height: 50%;
  background-image: url(assets/images/teal.png);
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 100% 50%;
  z-index: 0;
  pointer-events: none;
  width: 110%;
  transform: scaleY(1);
  opacity: 1;
}
html[dir="ltr"] .login-layout main::before {
  left: -20px;
}
/* Top corner buttons (like language toggle) */
.login-top-nav {
  position: absolute;
  top: 24px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

html[dir="rtl"] .login-top-nav {
  flex-direction: row-reverse;
}

.login-card-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 940px;
  margin: 100px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  padding: 0 24px;
}

.login-split-card {
  display: flex;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  width: 100%;
  border: 1px solid rgba(20, 184, 177, 0.15);
}

.login-illustration-col {
  flex: 1;
  background: #f0f4f8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 30px;
}

.login-illustration-col img {
  width: 100%;
  max-width: 380px;
  height: auto;
}

.login-form-col {
  flex: 1.3;
  padding: 20px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: white;
}

.login-header {
  text-align: right;
  margin-bottom: 15px;
}

html[dir="ltr"] .login-header {
  text-align: left;
}

.login-header h2 {
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 8px;
  font-weight: 700;
}

.login-header p {
  color: var(--text-gray);
  font-size: 0.95rem;
}

/* Form Styles */
.login-form {
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.form-group {
  position: relative;
  display: flex;
  flex-direction: column;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: stretch;
  border: 1.5px solid var(--border-color);
  border-radius: 30px;
  overflow: hidden;
  background-color: var(--bg-white);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.input-wrapper:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(20, 184, 177, 0.15);
}

.input-wrapper input {
  width: 100%;
  padding: 10px 15px;
  font-size: 0.95rem;
  border: none;
  background: transparent;
  color: var(--secondary);
  font-family: inherit;
  transition: all 0.2s ease;
}

.input-wrapper input:focus {
  outline: none;
}

.password-toggle-btn {
  background: #eaedf1;
  border: none;
  border-right: 1.5px solid var(--border-color);
  cursor: pointer;
  color: var(--text-gray);
  font-size: 1.1rem;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    color 0.2s,
    background-color 0.2s;
}

html[dir="rtl"] .password-toggle-btn {
  border-right: none;
  border-left: 1.5px solid var(--border-color);
}

.password-toggle-btn:hover {
  color: var(--primary);
  background: #e2e5e9;
}

.login-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

html[dir="rtl"] .login-actions {
  flex-direction: row;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  color: var(--text-gray);
}

.remember-me input {
  cursor: pointer;
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
}

.forgot-password {
  color: var(--primary);
  font-weight: 600;
}

.forgot-password:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.btn-login {
  width: auto;
  align-self: flex-start;
  padding: 12px 40px;
  font-size: 1.05rem;
  border-radius: 30px;
  margin-top: 20px;
  background-color: var(--primary);
  color: white;
  border: none;
  font-weight: 700;
  cursor: pointer;
}

html[dir="rtl"] .btn-login {
  align-self: flex-start;
}

@media (max-width: 768px) {
  .login-split-card {
    flex-direction: column;
  }
  .login-illustration-col {
    display: none;
  }
  .login-form-col {
    padding: 35px 24px;
  }
}

.login-footer {
  margin-top: 24px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-gray);
}

.login-footer a {
  color: var(--primary);
  font-weight: 600;
}

.login-footer a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* ── New Value Props Section ── */
.new-value-props {
  padding: 60px 0;
  background: #0d1b2a;
  position: relative;
  overflow: hidden;
}

.new-value-props-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  position: relative;
  z-index: 1;
}

/* Card Common Styling */
.new-value-props-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 50px 40px;
  text-align: right;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.3s ease;
  z-index: 1;
  border: 1px solid rgba(20, 184, 177, 0.15);
}

html[dir="ltr"] .new-value-props-card {
  text-align: left;
}

.new-value-props-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(20, 184, 177, 0.1);
  border-color: rgba(20, 184, 177, 0.35);
}

/* Wavy teal and gray lines background on top left of cards */
.new-value-props-card.b1 {
  background-repeat: no-repeat;
  background-size: 50% 58% !important;
  background-position: -30px -41px !important;
  background-image: url(assets/images/teal5_1a.png) !important;
}
.devices1 {
  padding: 10px 0;
  background-color: #fff;
  padding-top: 10px;
}
.new-value-props-card.b2 {
  background-image: url(assets/images/teal5_1.png);
  background-position: -70px -80px;
  background-size: 70% 60%;
  background-repeat: no-repeat;
}
html[dir="ltr"] .new-value-props-card::after {
  left: auto;
  right: 0;
  transform: scaleX(-1);
}

/* Badge Icon Wrapper */
.new-value-props-card-icon {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 25px;
  position: relative;
  z-index: 1;
  display: none;
}

html[dir="ltr"] .new-value-props-card-icon {
  justify-content: flex-start;
}

.new-icon-badge-outer {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  transition: transform 0.3s ease;
  background: var(--primary);
}

.new-value-props-card:hover .new-icon-badge-outer {
  transform: scale(1.05);
}

/* Headers */
.new-value-props-card h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 25px;
  line-height: 1.3;
  position: relative;
  z-index: 1;
}

.new-value-props-card h3 span {
  color: var(--primary);
  font-weight: 800;
}

/* List Styling — checkmarks on the LEFT (start side) in RTL */
.new-value-props-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 1;
}

.new-value-props-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 1rem;
  color: #1e293b;
  font-weight: 600;
  text-align: right;
  flex-direction: row-reverse;
}

html[dir="ltr"] .new-value-props-list li {
  flex-direction: row;
  text-align: left;
  justify-content: flex-start;
}

.new-value-props-list li span {
  flex: 1;
}

.new-value-props-list li i.fa-circle-check {
  color: #0d1b2a;
  font-size: 1.15rem;
  flex-shrink: 0;
}

@media (max-width: 860px) {
  .new-value-props-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .new-value-props-card {
    padding: 32px 24px;
  }
  .new-value-props {
    padding: 60px 0;
  }
}

/* ── Numbered Features Section ── */
.numbered-features-section {
  padding: 60px 0;
  background: var(--bg-white, #fff);
}

.numbered-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  direction: ltr; /* Force LTR so 01 is on the left */
}

.numbered-card {
  background: #fff;
  border: 1px solid #14b8b1;
  border-radius: 12px;
  padding: 15px 15px 15px;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.numbered-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  border-color: rgb(13 27 42);
  /* background-image: url(assets/images/teal5_1a.png) !important; */
  background: #ffffff8a;
}

.n-badge {
  position: absolute;
  top: -12px;
  left: 20px;
  background: var(--primary, #14b8b1);
  color: #fff;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.85rem;
}

.n-text {
  direction: rtl; /* Text should be RTL */
  flex: 1;
  text-align: right;
  padding-right: 0px;
}

html[dir="ltr"] .n-text {
  direction: ltr;
  text-align: left;
  padding-right: 0;
  padding-left: 0px;
}

html[dir="ltr"] .n-text h3::after {
  right: auto;
  left: 0;
}

.n-icon-container {
  margin-left: 10px;
  margin-right: 5px;

  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  display: none;
}

.n-icon-container i {
  font-size: 2.8rem;
  color: var(--primary, #14b8b1);
}

.n-text h3 {
  font-size: 1.5rem;
  color: var(--secondary, #0f172a);
  margin: 0 0 0px 0;
  position: relative;
  display: inline-block;
  font-weight: 500;
  text-align: center;
  width: 100%;
}

.n-text h3::after {
  content: "";
  position: absolute;
  bottom: -6px;
  right: 0;
  width: 25px;
  height: 2px;
  background: var(--primary, #14b8b1);
  display: none;
}

.n-text p {
  font-size: 0.9rem;
  color: var(--text-gray, #64748b);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 992px) {
  .numbered-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .numbered-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .hero {
    padding: 30px 0 70px;
  }
  .hero::before {
    bottom: 130px;
    background-size: 100% 50%;
  }
  .devices {
    background-size: 110% 60%;
    background-position: -30px 185px;
  }
  .core-features {
    background-size: 130% 30%;
    background-position: -30px 70px;
  }
  .feature-hz-text h4 {
    text-align: right;
  }
  .feature-hz-text p {
    text-align: right;
  }
  .devices-container {
    background-size: 110% 30%;
    background-position: -5px 450px;
  }
  .numbered-card:hover {
    background-position: -80px -110px;
  }
  .banner-icon-container {
    display: none;
  }
  .banner-image img {
    max-width: 100%;
    max-height: 210px;
  }
  .pricing {
    background-position: -90px 570px;
    background-size: 125% 15%;
  }
  .custom-cta-wrapper::after {
    top: 120px !important;
    left: 150px !important;
    width: 100% !important;
    height: 100% !important;
    background-size: 80% !important;
  }
  .modal-overlay {
    overflow: overlay;
    align-items: flex-start;
  }
  .legal-hero {
    padding: 40px 0 40px !important;
  }
  .mobile-menu {
    gap: 2px;
    padding-top: 0;
  }
  .mobile-menu a {
    padding: 5px 0;
    border-bottom: 1px solid var(--border-color) !important;
  }
  .nav-hamburger {
    margin-right: 10px;
  }
  .login-card-wrapper {
    margin: 50px auto;
  }
  .login-split-card {
    border: 1px solid rgb(20 184 177);
  }
  .input-wrapper {
    border: 1.5px solid #596067;
  }
  .login-layout main::before {
    bottom: 70%;
    height: 30%;
  }
  html[dir="rtl"] {
    overflow-x: hidden;
  }
  .modal-form-row {
    display: block;
  }
  .why-mubassat::before,
  .why-mbassat::before {
    background-position: -10px 40px;
    height: 420px;
  }
  .banner-container::before {
    background-size: 80% 45%;
    background-position: -20px -70px;
    height: 400px;
  }
  html[dir="ltr"] .banner-content h2 {
    text-align: left;
  }
  html[dir="ltr"] .banner-container::before {
    background-position: 120px 50px;
    height: 400px;
    transform: rotate(90deg);
    bottom: 0;
  }
}
