/* =========================
   ABOUT SIGNX SECTION
========================= */
.about-signx {
  background: var(--bg);
  padding: 70px 0 0;
  overflow: hidden;
}

/* ---- Top row ---- */
.asx-top-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
  margin-bottom: 60px;
}

.asx-text-col { display: flex; flex-direction: column; }

.asx-eyebrow {
  font-family: 'Cairo', 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.asx-heading {
  font-family: 'Cairo', 'Montserrat', sans-serif;
  font-size: clamp(42px, 5vw, 45px);
  font-weight: 750;
  color: rgba(15, 23, 42, 0.98);
  line-height: 1.1;
  margin-bottom: 16px;
}

.asx-blue {
  background: #3b82f6;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.asx-green { color: var(--blue); }

.asx-rule {
  width: 52px;
  height: 4px;
  background: var(--blue);
  border-radius: 4px;
  margin-bottom: 28px;
}

.asx-body {
  font-family: 'Cairo', 'Montserrat', sans-serif;
  font-size: 14px;
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 16px;
  max-width: 520px;
}

/* ---- Feature cards ---- */
.asx-features-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.asx-feat-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 32px 28px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: var(--transition);
}
.asx-feat-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(15, 23, 42, 0.10); }

.asx-feat-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.asx-feat-icon svg { width: 32px; height: 32px; }
.asx-feat-icon-blue   { background: rgba(37,  99, 235, 0.08); }
.asx-feat-icon-teal   { background: rgba(16, 185, 129, 0.08); }
.asx-feat-icon-purple { background: rgba(139, 92, 246, 0.08); }

.asx-feat-title {
  font-family: 'Cairo', 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 12px;
}

.asx-feat-body { font-family: 'Cairo', 'Montserrat', sans-serif; font-size: 14px; color: var(--gray); line-height: 1.7; }

/* ---- Right visual column ---- */
.asx-visual-col {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.asx-kiosk-wrap { position: relative; width: 100%; max-width: 560px; }

.asx-kiosk-img-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.15);
  position: relative;
  z-index: 1;
}
.asx-kiosk-img { width: 100%; height: auto; display: block; object-fit: cover; }

/* Floating card */
.asx-float-card {
  position: absolute;
  top: 30px; left: -80px;
  z-index: 10;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 22px 24px 16px;
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.12);
  width: 200px;
  animation: asx-float 4s ease-in-out infinite;
}

@keyframes asx-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.asx-float-icon {
  width: 44px; height: 44px;
  background: rgba(37, 99, 235, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.asx-float-icon svg { width: 26px; height: 26px; }

.asx-float-title { font-family: 'Cairo', 'Montserrat', sans-serif; font-size: 15px; font-weight: 800; color: var(--navy); line-height: 1.3; margin-bottom: 6px; }
.asx-float-sub   { font-family: 'Cairo', 'Montserrat', sans-serif; font-size: 12px; color: var(--gray); line-height: 1.6; margin-bottom: 10px; }
.asx-float-rule  { width: 32px; height: 3px; background: var(--blue); border-radius: 3px; }

/* Connector dot */
.asx-connector-dot {
  position: absolute;
  bottom: 40%; left: -20px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--blue);
  z-index: 5;
  box-shadow: 0 0 0 5px rgba(37,99,235,0.15);
}

/* ---- Mission / Vision row ---- */
.asx-mv-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
  padding-bottom: 60px;
}

.asx-mv-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.asx-mv-card:hover { box-shadow: 0 16px 40px rgba(15, 23, 42, 0.10); transform: translateY(-3px); }

.asx-mv-card-inner {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 32px 32px 20px;
  flex: 1;
}

.asx-mv-content { flex: 1; }

.asx-mv-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.asx-icon-blue  { background: rgba(37, 99, 235, 0.08); }
.asx-icon-blue  svg { width: 28px; height: 28px; }
.asx-icon-green { background: rgba(37, 99, 235, 0.08); }
.asx-icon-green svg { width: 28px; height: 28px; }

.asx-mv-title { font-family: 'Cairo', 'Montserrat', sans-serif; font-size: 24px; font-weight: 800; margin-bottom: 8px; }

.asx-mv-rule { width: 36px; height: 3px; border-radius: 3px; margin-bottom: 14px; }
.asx-rule-blue  { background: var(--blue); }
.asx-rule-green { background: var(--blue); }

.asx-mv-body { font-family: 'Cairo', 'Montserrat', sans-serif; font-size: 16px; color: var(--gray); line-height: 1.7; flex: 1; }

.asx-mv-deco { height: 70px; overflow: hidden; margin-top: auto; }
.asx-deco-svg { width: 100%; height: 100%; }

/* ---- Bottom bar ---- */
.asx-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 28px 48px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  margin-bottom: 0;
}

.asx-bar-item  { display: flex; align-items: center; gap: 14px; }

.asx-bar-icon {
  width: 48px; height: 48px;
  background: rgba(37, 99, 235, 0.07);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.asx-bar-icon svg { width: 26px; height: 26px; }

.asx-bar-text         { display: flex; flex-direction: column; line-height: 1.3; }
.asx-bar-text strong  { font-family: 'Cairo', 'Montserrat', sans-serif; font-size: 15px; font-weight: 800; color: var(--navy); }
.asx-bar-text span    { font-family: 'Cairo', 'Montserrat', sans-serif; font-size: 13px; color: var(--gray); }

.asx-bar-divider { width: 1px; height: 50px; background: #E2E8F0; flex-shrink: 0; }

/* Legacy about grid (old design, kept for compatibility) */
.about-grid   { grid-template-columns: 1fr 1.2fr; display: grid; gap: 100px; align-items: center; }
.about-left   { display: flex; flex-direction: column; justify-content: center; height: 100%; }
.section-title { font-size: 56px; margin-bottom: 20px; }
.section-title span { color: var(--blue); }
.about-item   { display: flex; gap: 20px; padding: 30px; border-radius: 20px; transition: var(--transition); margin-bottom: 20px; align-items: flex-start; }
.about-item.active { background: white; box-shadow: 0 20px 40px rgba(15, 23, 42, 0.05); border-left: 5px solid var(--blue); }
.about-icon   { width: 60px; height: 60px; background: rgba(15, 23, 42, 0.05); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--blue); flex-shrink: 0; transition: var(--transition); }
.about-item.active .about-icon { background: var(--gradient); color: white; box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2); }
.item-text h4 { margin-bottom: 8px; }

/* =========================
   RTL — About
========================= */
[dir="rtl"] .about-signx        { direction: rtl; }

/* Top row */
[dir="rtl"] .asx-top-row        { direction: rtl; }
[dir="rtl"] .asx-text-col       { text-align: right; }

/* Eyebrow, heading, body — same font sizes as LTR */
[dir="rtl"] .asx-eyebrow        { font-size: 13px; letter-spacing: 3px; }
[dir="rtl"] .asx-heading        { font-size: clamp(42px, 5vw, 45px); }
[dir="rtl"] .asx-body           { font-size: 14px; max-width: 520px; }

/* Rule — anchor to right */
[dir="rtl"] .asx-rule           { margin-right: 0; margin-left: auto; }

/* Visual column */
[dir="rtl"] .asx-visual-col     { justify-content: flex-start; }
[dir="rtl"] .asx-float-card     { left: auto; right: -80px; text-align: right; }
[dir="rtl"] .asx-float-title    { font-size: 15px; }
[dir="rtl"] .asx-float-sub      { font-size: 12px; }
[dir="rtl"] .asx-float-rule     { margin-left: auto; margin-right: 0; }
[dir="rtl"] .asx-connector-dot  { left: auto; right: -20px; }

/* Feature cards */
[dir="rtl"] .asx-feat-card      { text-align: right; }
[dir="rtl"] .asx-feat-icon      { margin-right: 0; margin-left: auto; }
[dir="rtl"] .asx-feat-title     { font-size: 14px; }
[dir="rtl"] .asx-feat-body      { font-size: 14px; }

/* Mission / Vision cards */
[dir="rtl"] .asx-mv-card-inner  { flex-direction: row-reverse; }
[dir="rtl"] .asx-mv-content     { text-align: right; }
[dir="rtl"] .asx-mv-title       { font-size: 24px; }
[dir="rtl"] .asx-mv-body        { font-size: 16px; }
[dir="rtl"] .asx-mv-rule        { margin-right: 0; margin-left: auto; }

/* Bottom bar */
[dir="rtl"] .asx-bottom-bar     { flex-direction: row-reverse; }
[dir="rtl"] .asx-bar-item       { flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .asx-bar-text strong { font-size: 15px; }
[dir="rtl"] .asx-bar-text span   { font-size: 13px; }

/* Legacy */
[dir="rtl"] .about-grid         { direction: rtl; }
[dir="rtl"] .about-item         { flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .about-item.active  { border-left: none; border-right: 5px solid var(--blue); }
[dir="rtl"] .inner-border-left  { border-left: none; border-right: 3px solid var(--teal); padding-left: 0; padding-right: 20px; }
[dir="rtl"] .interactive-controls { flex-direction: row-reverse; }

/* =========================
   RESPONSIVE — About
========================= */
@media (max-width: 1200px) {
  .asx-float-card { left: -40px; }
  [dir="rtl"] .asx-float-card { right: -40px; left: auto; }
}

@media (max-width: 992px) {
  .asx-top-row    { grid-template-columns: 1fr; gap: 48px; }
  .asx-visual-col { justify-content: center; }
  .asx-kiosk-wrap { max-width: 100%; }
  .asx-float-card { left: 0; top: -70px; }
  .asx-connector-dot { display: none; }
  .asx-body       { max-width: 100%; }
  [dir="rtl"] .asx-body      { max-width: 100%; }
  [dir="rtl"] .asx-float-card { right: 0; left: auto; top: -70px; }
}

@media (max-width: 768px) {
  .asx-heading         { font-size: clamp(32px, 8vw, 42px); }
  [dir="rtl"] .asx-heading { font-size: clamp(32px, 8vw, 42px); }
  .asx-mv-row          { grid-template-columns: 1fr; }
  .asx-mv-card-inner   { flex-direction: column; }
  [dir="rtl"] .asx-mv-card-inner { flex-direction: column; }
  [dir="rtl"] .asx-mv-content    { text-align: right; }
  .asx-features-row    { grid-template-columns: 1fr; }
  .asx-bottom-bar      { flex-direction: column; gap: 20px; padding: 28px 24px; align-items: flex-start; }
  .asx-bar-divider     { width: 100%; height: 1px; }
  [dir="rtl"] .asx-bottom-bar { align-items: flex-end; }
  [dir="rtl"] .asx-bar-item   { flex-direction: row-reverse; }
}

@media (max-width: 640px) {
  .asx-bottom-bar { padding: 20px 16px; }
}

@media (max-width: 480px) {
  .asx-heading          { font-size: 28px; }
  [dir="rtl"] .asx-heading { font-size: 28px; }
}