/* ================= Synexa Solutions - Custom Styles ================= */
:root{
  --primary:#6C5DD3;
  --primary-dark:#5647c9;
  --primary-light:#EFECFC;
  --blue:#2F80ED;
  --dark:#0b0b14;
  --dark-2:#12121c;
  --text-dark:#161629;
  --text-gray:#6b7280;
  --bg-light:#f6f7fb;
  --border-light:#eceef4;
  --font-heading:'Bai Jamjuree', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body:-apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-arabic:'Cairo', 'GE SS Two', 'GE SS', Tahoma, Arial, sans-serif;
}

*{box-sizing:border-box;}

body{
  font-family:var(--font-body);
  color:var(--text-dark);
  background:#fff;
  overflow-x:hidden;
  font-size:15px;
}

h1,h2,h3,h4,h5{
  font-family:var(--font-heading);
  font-weight:600;
  color:var(--text-dark);
}

p{ color:var(--text-gray); }

html[lang="ar"] body,
html[dir="rtl"] body{
  font-family:var(--font-arabic);
}
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4, html[lang="ar"] h5,
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] h4, html[dir="rtl"] h5{
  font-family:var(--font-arabic);
}

a{ text-decoration:none; }

.text-primary-c{ color:var(--primary) !important; }
.text-blue-c{ color:var(--blue) !important; }

.btn-primary-c{
  background:var(--primary);
  border:none;
  color:#fff;
  padding:12px 14px 12px 26px;
  border-radius:10px;
  font-weight:500;
  font-size:15px;
  display:inline-flex;
  align-items:center;
  gap:10px;
  transition:all .25s ease;
}
.btn-primary-c:hover{ background:var(--primary-dark); color:#fff; transform:translateY(-2px); }
.btn-primary-c i{
  width:26px;height:26px;
  border-radius:50%;
  border:1.5px solid rgba(255,255,255,.45);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  flex-shrink:0;
}

.btn-outline-c{
  background:#fff;
  border:1px solid #e5e7eb;
  color:var(--text-dark);
  padding:13px 26px;
  border-radius:10px;
  font-weight:500;
  font-size:15px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  transition:all .25s ease;
}
.btn-outline-c:hover{ background:#f3f4f6; color:var(--text-dark); }

.section-tag{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  letter-spacing:1px;
  font-weight:600;
  color:var(--text-dark);
  text-transform:uppercase;
  margin-bottom:14px;
}
.section-tag i{ color:var(--primary); font-size:14px; }

.section-title{
  font-size:2rem;
  font-weight:600;
  margin-bottom:14px;
}
.section-sub{
  color:var(--text-gray);
  font-size:0.95rem;
  max-width:700px;
}
.center-head{ text-align:center; margin:0 auto 55px; }
.center-head .section-sub{ margin:0 auto; }

/* ===== Top bar ===== */
.topbar{
  background:linear-gradient(90deg,var(--primary),#8677e8);
  color:#fff;
  text-align:center;
  font-size:13px;
  padding:8px 0;
  letter-spacing:.3px;
}

/* ===== Navbar ===== */
.navbar-custom{
  padding:16px 0;
  background:#fff;
  border-bottom:1px solid var(--border-light);
}
.navbar-custom .navbar-brand{
  font-weight:700;
  font-size:22px;
  color:var(--text-dark);
  display:flex;
  align-items:center;
  gap:10px;
}
.navbar-brand .logo-icon{
  width:38px;height:38px;
  background:var(--primary);
  border-radius:9px;
  display:flex;align-items:center;justify-content:center;
  color:#fff;font-weight:700;font-size:18px;
}
.brand-logo-img{ height:34px; width:auto; display:block; }
.brand-logo-img[src="images/logo-ar.png"]{ width:150px; height:auto; max-height:34px; }
.navbar-brand small{
  display:block;
  font-size:9px;
  letter-spacing:2px;
  color:var(--text-gray);
  font-weight:500;
  margin-top:-2px;
}
.nav-link-custom{
  color:var(--text-dark) !important;
  font-weight:500;
  font-size:15px;
  margin:0 14px;
  position:relative;
  padding:6px 0 !important;
}
.nav-link-custom::after{
  content:'';
  position:absolute;
  left:50%;bottom:-6px;
  width:0;height:3px;
  border-radius:4px;
  background:var(--primary);
  transition:width .3s ease, left .3s ease;
}
.nav-link-custom:hover{ color:var(--primary) !important; }
.nav-link-custom:hover::after{ width:26px; left:calc(50% - 13px); }
.nav-link-custom.active{ color:var(--primary) !important; }
.nav-link-custom.active::after{ width:26px; left:calc(50% - 13px); }
.divider-v{ width:1px;height:24px;background:#e5e7eb; }
.lang-select{ font-weight:500; font-size:14px; color:var(--text-dark); display:flex; align-items:center; gap:4px; cursor:pointer; user-select:none; }
.lang-select::after{
  content:'';
  display:inline-block;
  margin-left:4px;
  border:solid var(--text-dark);
  border-width:0 2px 2px 0;
  padding:3px;
  transform:rotate(45deg);
  transition:transform .25s ease;
}
.lang-dropdown.show .lang-select::after{ transform:rotate(-135deg); }
.lang-dropdown{ position:relative; }
.lang-menu{
  min-width:130px;
  border-radius:10px;
  border:1px solid var(--border-light);
  box-shadow:0 15px 35px rgba(20,20,60,.12);
  padding:6px;
  margin-top:10px !important;
}
.lang-menu .lang-item{
  border-radius:7px;
  font-size:14px;
  font-weight:500;
  padding:9px 12px;
  color:var(--text-dark);
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.lang-menu .lang-item:hover{ background:var(--primary-light); color:var(--primary); }
.lang-menu .lang-item.active{ background:var(--primary-light); color:var(--primary); }
.lang-menu .lang-item.active::after{
  content:'\2713';
  font-weight:700;
}

/* ===== Hero ===== */
.hero{
  background:var(--bg-light);
  padding:80px 0 60px;
  position:relative;
  overflow:hidden;
}
.hero-dotgrid{
  position:absolute;
  left:0; right:0; bottom:0; height:280px;
  background-image:linear-gradient(rgba(108,93,211,.15) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(108,93,211,.15) 1px, transparent 1px);
  background-size:42px 42px;
  -webkit-mask-image:linear-gradient(180deg, transparent, #000 40%, #000 70%, transparent);
  mask-image:linear-gradient(180deg, transparent, #000 40%, #000 70%, transparent);
  transform:rotate(-2deg) scale(1.2);
  pointer-events:none;
}
.hero-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:#fff;
  border:1px solid var(--border-light);
  padding:8px 18px;
  border-radius:30px;
  font-size:13px;
  font-weight:500;
  margin-bottom:22px;
  box-shadow:0 2px 10px rgba(0,0,0,.03);
}
.hero-badge i{ color:#12b5b0; }
.hero h1{
  font-size:2.5rem;
  font-weight:600;
  line-height:1.2;
  margin-bottom:22px;
}
.hero p.lead-text{
  font-size:0.95rem;
  color:var(--text-gray);
  max-width:520px;
  margin-bottom:34px;
}
.hero-buttons{ display:flex; gap:14px; flex-wrap:wrap; }

.hero-img-wrap{
  position:relative;
}
.hero-img-inner{
  border-radius:14px;
  overflow:hidden;
  border:1px solid #e3e4ee;
  box-shadow:0 25px 50px rgba(20,20,60,.12);
  background:#fff;
}
.hero-img-topbar{
  height:26px;
  background:#eef0f6;
  border-bottom:1px solid #e3e4ee;
  display:flex;
  align-items:center;
  gap:5px;
  padding:0 12px;
}
.hero-img-topbar span{
  width:8px;height:8px;border-radius:50%;background:#cfd2e0;
}
.hero-img-inner img{ width:100%; height:404px; object-fit:cover; display:block; }

.float-card{
  position:absolute;
  background:#fff;
  border-radius:14px;
  padding:14px 18px;
  box-shadow:0 15px 35px rgba(20,20,60,.15);
  display:flex;
  align-items:center;
  gap:12px;
}
.float-card .icon-circ{
  width:38px;height:38px;
  border-radius:50%;
  background:var(--primary-light);
  color:var(--primary);
  display:flex;align-items:center;justify-content:center;
  font-size:16px;
}
.float-card h6{ margin:0; font-size:18px; font-weight:700; color:var(--text-dark); }
.float-card span{ font-size:12px; color:var(--text-gray); }
.float-card-top{ top:-20px; right:20px; }
.float-card-bottom{ bottom:-20px; left:-20px; }

.marquee-wrap{
  margin-top:60px;
  overflow:hidden;
  position:relative;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent);
}
.marquee-track{
  display:flex;
  gap:36px;
  width:max-content;
  animation:scrollLeft 28s linear infinite;
}
.marquee-track span{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--text-gray);
  font-size:14px;
  white-space:nowrap;
}
.marquee-track span i{ color:var(--primary); }
@keyframes scrollLeft{
  0%{ transform:translateX(0); }
  100%{ transform:translateX(-50%); }
}

.chat-fab{
  position:fixed;
  bottom:26px;right:26px;
  width:54px;height:54px;
  background:var(--primary);
  border-radius:50%;
  color:#fff;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 10px 25px rgba(108,93,211,.4);
  z-index:999;
  font-size:20px;
}

/* ===== About / Entity profile ===== */
.about-sec{ padding:90px 0; }
.about-img-wrap{
  position:relative;
  border-radius:20px;
  overflow:hidden;
}
.about-img-wrap img{ width:100%; height:420px; object-fit:cover; display:block; border-radius:20px; }
.about-badge{
  position:absolute;
  left:20px;bottom:20px;
  background:#fff;
  border-radius:14px;
  padding:14px 18px;
  display:flex;align-items:center;gap:12px;
  box-shadow:0 8px 18px rgba(10,10,30,.18);
}
.check-list li{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:14px;
  font-weight:500;
  color:var(--text-dark);
}
.check-list li .chk{
  width:24px;height:24px;
  background:var(--blue);
  border-radius:50%;
  color:#fff;
  font-size:12px;
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
}

/* ===== Services / Core modules ===== */
.services-sec{ padding:90px 0; background:var(--bg-light); }
.service-card{
  background:#fff;
  border-radius:16px;
  padding:28px 26px;
  height:100%;
  border:1px solid var(--border-light);
  transition:all .3s ease;
}
.service-card:hover{ transform:translateY(-6px); box-shadow:0 20px 40px rgba(20,20,60,.08); }
.service-icon-row{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:22px;
}
.service-icon-row .line{ flex:1; height:1px; background:#e5e7eb; }
.service-icon{
  width:50px;height:50px;
  border-radius:12px;
  display:flex;align-items:center;justify-content:center;
  font-size:20px;
  border:1.5px solid;
  flex-shrink:0;
}
.service-card h5{ font-weight:600; margin-bottom:10px; }
.service-card p.desc{ font-size:14px; margin-bottom:16px; }
.service-sub{
  background:var(--bg-light);
  border-radius:10px;
  padding:14px 16px;
}
.service-sub li{
  display:flex;
  gap:8px;
  font-size:13.5px;
  color:var(--text-dark);
  margin-bottom:10px;
}
.service-sub li:last-child{ margin-bottom:0; }
.service-sub li i{ font-size:13px; margin-top:3px; flex-shrink:0; }

.teal{ color:#12b5b0; border-color:#12b5b0; background:#eafbfa; }
.red{ color:#f0466e; border-color:#f0466e; background:#fdeef1; }
.indigo{ color:#5b4fe5; border-color:#5b4fe5; background:#eeecfc; }
.pink{ color:#c026d3; border-color:#c026d3; background:#faedfc; }
.teal-txt{color:#12b5b0;}
.red-txt{color:#f0466e;}
.indigo-txt{color:#5b4fe5;}
.pink-txt{color:#c026d3;}

.slider-nav{ display:flex; gap:12px; justify-content:center; margin-top:40px; }
.slider-nav button{
  width:44px;height:44px;
  border-radius:50%;
  border:1px solid #e5e7eb;
  background:#fff;
  display:flex;align-items:center;justify-content:center;
  color:var(--text-dark);
}
.slider-nav button.next{ background:var(--primary); color:#fff; border:none; }

/* ===== Why us ===== */
.why-sec{ padding:90px 0; }
.why-card{
  background:#fff;
  border:1px solid var(--border-light);
  border-radius:16px;
  padding:30px 24px;
  height:100%;
  box-shadow:0 6px 20px rgba(20,20,60,.04);
}
.why-icon{
  width:50px;height:50px;
  border-radius:12px;
  border:1.5px solid;
  display:flex;align-items:center;justify-content:center;
  font-size:20px;
  margin-bottom:20px;
}
.why-card{ position:relative; overflow:hidden; }
.why-card::after{
  content:'';
  position:absolute;
  top:0; right:0;
  width:70px; height:70px;
  background:radial-gradient(circle, rgba(108,93,211,.06), transparent 70%);
}
.why-card h5{ font-weight:600; font-size:1.05rem; }
.why-card p{ font-size:14px; margin-bottom:0; }
.green{ color:#22c55e; border-color:#22c55e; background:#eafcf1; }
.purple{ color:#a855f7; border-color:#a855f7; background:#f8eefe; }
.orange{ color:#f97316; border-color:#f97316; background:#fff3ea; }

/* ===== Industries ===== */
.industries-sec{ padding:90px 0; background:var(--bg-light); text-align:center; }
.industry-logos-wrap{
  margin:60px auto 40px;
  max-width:900px;
}
.industry-logos-img{
  width:100%;
  height:auto;
  display:block;
}
@media (max-width:576px){
  .industry-logos-wrap{ margin:40px auto 30px; }
}

/* ===== Methodology ===== */
.method-sec{ padding:90px 0; }
.funnel-wrap{ display:flex; justify-content:center; }
.funnel-img-stack{ position:relative; width:230px; user-select:none; }
.funnel-img-stack img{ width:100%; height:auto; display:block; pointer-events:none; }
.funnel-hit{
  position:absolute; left:8%; width:84%;
  cursor:pointer;
}
.funnel-hit.step-01{ top:0%; height:34%; }
.funnel-hit.step-02{ top:34%; height:15%; }
.funnel-hit.step-03{ top:49%; height:12%; }
.funnel-hit.step-04{ top:61%; height:11%; }
.funnel-hit.step-05{ top:72%; height:28%; }

.method-content{
  border:1px solid var(--border-light);
  border-radius:16px;
  padding:34px;
  min-height:330px;
}
.method-icon{
  width:44px;height:44px;
  background:var(--primary-light);
  color:var(--primary);
  border-radius:10px;
  display:flex;align-items:center;justify-content:center;
  font-size:18px;
}
.method-list li{
  display:flex;
  gap:10px;
  align-items:flex-start;
  margin-bottom:12px;
  font-size:14.5px;
  color:var(--text-dark);
}
.method-list li i{ color:var(--primary); margin-top:3px; }
.method-result{
  background:var(--bg-light);
  border-left:3px solid var(--primary);
  padding:14px 18px;
  border-radius:8px;
  font-size:14px;
  margin-top:18px;
}
.method-tabs{ display:flex; flex-direction:column; gap:10px; }
.method-tab-btn{
  text-align:left;
  background:#fff;
  border:1px solid var(--border-light);
  border-radius:10px;
  padding:12px 16px;
  font-weight:500;
  font-size:14px;
  color:var(--text-dark);
  cursor:pointer;
}
.method-tab-btn.active{ background:var(--primary); color:#fff; border-color:var(--primary); }

/* ===== Stats ===== */
.stats-sec{ padding:90px 0; }
.stats-map{ position:relative; min-height:340px; }
.stat-card{
  background:#fff;
  border-radius:16px;
  padding:22px 22px 16px;
  box-shadow:0 15px 40px rgba(20,20,60,.08);
  position:relative;
  width:180px;
}
.stat-card .stat-ico{
  position:absolute;
  top:-14px;right:14px;
  width:34px;height:34px;
  border-radius:50%;
  background:var(--primary-light);
  color:var(--primary);
  display:flex;align-items:center;justify-content:center;
  font-size:15px;
  box-shadow:0 5px 12px rgba(0,0,0,.1);
}
.stat-card h3{ font-size:2rem; font-weight:700; margin-bottom:4px; }
.stat-card span{ font-size:13px; color:var(--text-gray); }
.stats-grid{
  position:relative;
  height:360px;
}
.stats-grid .stat-card{ position:absolute; }
.stats-grid .sc1{ top:0;    left:0; }
.stats-grid .sc2{ top:-30px; left:200px; }
.stats-grid .sc3{ top:0;   left:400px; }
.stats-grid .sc4{ top:150px; left:100px; }
.stats-grid .sc5{ top:130px; left:330px; }
.dot-bg{
  position:absolute;
  inset:0;
  background-image:radial-gradient(circle, #d9dbe8 1.5px, transparent 1.5px);
  background-size:18px 18px;
  opacity:.7;
  z-index:-1;
  border-radius:20px;
  -webkit-mask-image:radial-gradient(circle at 30% 40%, #000 0%, transparent 70%);
  mask-image:radial-gradient(circle at 30% 40%, #000 0%, transparent 70%);
}
@media (max-width:576px){
  .stats-grid{ height:auto; }
  .stats-grid .stat-card{ position:static; margin-bottom:16px; }
}

/* ===== Testimonials ===== */
.testi-sec{ padding:90px 0; background:#fff; }
.testi-card{
  background:var(--bg-light);
  border-radius:16px;
  padding:60px 26px 26px;
  text-align:center;
  position:relative;
  margin-top:40px;
  height:100%;
}
.testi-avatar{
  width:64px;height:64px;
  border-radius:50%;
  object-fit:cover;
  position:absolute;
  top:-32px;left:50%;
  transform:translateX(-50%);
  border:4px solid #fff;
  box-shadow:0 8px 20px rgba(0,0,0,.12);
}
.testi-card h6{ font-weight:600; margin-bottom:2px; }
.testi-card .role{ font-size:12px; color:var(--text-gray); margin-bottom:14px; display:block; }
.testi-card p{ font-size:14px; color:var(--text-dark); font-style:italic; }
.stars{ color:#f59e0b; font-size:13px; margin-top:12px; }

/* ===== CTA ===== */
.cta-sec{
  padding:90px 0;
  background:var(--bg-light);
  position:relative;
  overflow:hidden;
}
.cta-sec::before{
  content:'';
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(108,93,211,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108,93,211,.08) 1px, transparent 1px);
  background-size:60px 60px;
  transform:rotate(-3deg) scale(1.3);
}
.cta-sec .container{ position:relative; z-index:2; }
.cta-form{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.cta-form input{
  flex:1;
  min-width:220px;
  padding:14px 18px;
  border-radius:10px;
  border:1px solid #dcdfe8;
  font-size:14px;
}
.cta-form input:focus{ outline:none; border-color:var(--primary); }
.cta-features{ display:flex; gap:26px; margin-top:20px; flex-wrap:wrap; }
.cta-features .feat{ display:flex; align-items:center; gap:10px; font-weight:500; font-size:14px; }
.cta-features .feat .circ{
  width:30px;height:30px;
  background:var(--primary);
  color:#fff;
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  font-size:13px;
}

/* ===== Footer ===== */
.footer{
  background:var(--dark);
  color:#c9c9d6;
  padding-top:70px;
}
.footer h5, .footer h6{ color:#fff; }
.footer a{ color:#c9c9d6; }
.footer a:hover{ color:#fff; }
.footer-brand{
  display:flex;align-items:center;gap:10px;
  font-size:22px; font-weight:700; color:#fff; margin-bottom:16px;
}
.footer-logo-img{ height:26px; width:auto; display:block; }
.footer-logo-img[src="images/logo-ar.png"]{ width:170px; height:auto; max-height:26px; }
.footer-links li{ margin-bottom:12px; font-size:14px; }
.footer-links a{ font-size:14px; }
.newsletter-input{
  background:#1c1c28;
  border:1px solid #2c2c3a;
  color:#fff;
  padding:12px 16px;
  border-radius:8px 0 0 8px;
  flex:1;
}
.newsletter-input::placeholder{ color:#8a8a99; }
.newsletter-btn{
  background:var(--blue);
  color:#fff;
  border:none;
  padding:12px 22px;
  border-radius:0 8px 8px 0;
  font-weight:500;
  font-size:14px;
}
.social-ic{
  width:40px;height:40px;
  border-radius:50%;
  background:#1c1c28;
  display:flex;align-items:center;justify-content:center;
  color:#fff;
}
.footer-huge{
  font-size:6vw;
  font-weight:800;
  color:#15151f;
  text-align:center;
  letter-spacing:10px;
  line-height:1;
  margin:50px 0 0;
  white-space:nowrap;
  overflow:hidden;
}
.footer-bottom{
  border-top:1px solid #21212e;
  padding:22px 0;
  font-size:13px;
  margin-top:20px;
}
.contact-item{ display:flex; gap:12px; margin-bottom:14px; font-size:14px; }
.contact-item i{ color:var(--blue); margin-top:3px; }

/* ===== Responsive ===== */
@media (max-width: 991px){
  .hero h1{ font-size:1.9rem; }
  .section-title{ font-size:1.6rem; }
  .about-img-wrap{ margin-bottom:40px; }
  .float-card{ padding:10px 14px; }
  .footer-huge{ font-size:10vw; }
  .stats-grid{ height:auto; }
  .stats-grid .stat-card{ position:static; margin-bottom:16px; width:100%; max-width:260px; }
}
@media (max-width: 767px){
  .hero{ padding:50px 0 40px; text-align:center;}
  .hero p.lead-text{ margin-left:auto;margin-right:auto; }
  .hero-buttons{ justify-content:center; flex-wrap:wrap; }
  .hero-img-wrap{ margin-top:50px; }
  .hero-img-inner img{ height:auto; aspect-ratio:4/3; }
  .navbar-custom .nav-link-custom{ margin:6px 0; }
  .float-card{ padding:8px 12px; transform:scale(.85); }
  .float-card-top{ top:-14px; right:6px; }
  .float-card-bottom{ bottom:-14px; left:6px; }
  .about-img-wrap img{ height:280px; }
  .about-badge{ left:12px; bottom:12px; padding:10px 14px; }
  .method-content{ text-align:left; }
  .industry-grid{ transform:scale(.92); }
  .stat-card{ max-width:100%; }
}
@media (max-width: 480px){
  .hero h1{ font-size:1.6rem; }
  .section-title{ font-size:1.35rem; }
  .btn-primary-c, .btn-outline-c{ width:100%; justify-content:center; }
  .hero-buttons{ flex-direction:column; gap:12px; }
  .hero-buttons a{ width:100%; justify-content:center; }
  .funnel-img-stack{ width:190px; }
}
img{ max-width:100%; }

/* ===== Mobile Navbar (design style preserved) ===== */
@media (max-width: 991.98px){
  .navbar-custom .navbar-toggler{
    margin-left:auto;
    border:1.5px solid var(--border-light);
    border-radius:10px;
    padding:8px 10px;
    transition:none;
  }
  .navbar-custom .navbar-toggler:focus{ box-shadow:0 0 0 3px rgba(108,93,211,.15); }
  .navbar-custom .navbar-toggler-icon{
    background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%236C5DD3' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }
  .navbar-custom .navbar-collapse{
    background:#fff;
    border:1px solid var(--border-light);
    border-radius:14px;
    margin-top:14px;
    padding:10px 20px;
    box-shadow:0 15px 35px rgba(20,20,60,.08);
  }
  .navbar-custom .navbar-nav{
    align-items:center;
    width:100%;
  }
  .navbar-custom .nav-link-custom{
    margin:7px 0;
    padding:6px 0 !important;
  }
  .nav-actions-mobile{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:14px;
    margin:16px 0 8px;
    padding-top:16px;
    border-top:1px solid var(--border-light);
  }
  .nav-actions-mobile .btn-primary-c{
    width:100%;
    justify-content:center;
  }
}

/* ===== RTL direction adjustments (Arabic only – design unchanged) ===== */
html[dir="rtl"] .method-content,
html[dir="rtl"] .method-tab-btn{ text-align:right; }
html[dir="rtl"] .method-result{
  border-left:none;
  border-right:3px solid var(--primary);
}
html[dir="rtl"] .lang-select::after{ margin-left:0; margin-right:4px; }
html[dir="rtl"] .footer-huge{ letter-spacing:0; }
