/* Guest homepage: one page bg + teal welcome */
html[data-theme="dark"] body,
html[data-theme="dark"] section.hero-section,
html[data-theme="dark"] section.hero-section.hero-1,
html[data-theme="dark"] section.hero-section.hero-1.fix,
html[data-theme="dark"] section.hero-section.hero-1.bg-cover,
html[data-theme="dark"] #home.hero-section,
html[data-theme="dark"] section.feature-section,
html[data-theme="dark"] section.feature-section.fix,
html[data-theme="dark"] section.feature-section.section-padding,
html[data-theme="dark"] section.footer-section,
html[data-theme="dark"] .footer-bg,
html[data-theme="dark"] .footer-section,
html[data-theme="dark"] footer {
  background: #0b1218 !important;
  background-color: #0b1218 !important;
  background-image: none !important;
}
html[data-theme="dark"] section.hero-section.hero-1 {
  background:
    radial-gradient(ellipse at 80% 18%, rgba(45,212,191,.16), transparent 48%),
    radial-gradient(ellipse at 12% 88%, rgba(37,99,235,.10), transparent 55%),
    #0b1218 !important;
}
html[data-theme="dark"] .feature-section .container,
html[data-theme="dark"] .feature-section .feature-content,
html[data-theme="dark"] .footer-widgets-wrapper,
html[data-theme="dark"] .footer-bottom {
  background: transparent !important;
  background-color: transparent !important;
}
html[data-theme="dark"] .feature-box-item {
  background: #121a24 !important;
  border: 1px solid rgba(45,212,191,.10) !important;
  box-shadow: 0 12px 32px rgba(0,0,0,.28) !important;
  border-radius: 18px !important;
}
html[data-theme="dark"] .hero-section .hero-content h6{
  color:#5eead4 !important;
  background:rgba(45,212,191,.10) !important;
  border:1px solid rgba(45,212,191,.38) !important;
  box-shadow: 0 0 28px rgba(45,212,191,.14) !important;
  letter-spacing:.16em !important;
  text-transform:uppercase !important;
  opacity:1 !important;
  visibility:visible !important;
}
html[data-theme="dark"] .hero-section .hero-content h1,
html[data-theme="dark"] .hero-section .hero-content h1 span,
html[data-theme="dark"] .hero-section .hero-content h1 .highlight{
  color:#ffffff !important;
  opacity:1 !important;
  visibility:visible !important;
  letter-spacing:-.02em !important;
  text-shadow: 0 8px 32px rgba(0,0,0,.35) !important;
}
html[data-theme="dark"] .hero-section .hero-content p{
  color:#94a3b8 !important;
  opacity:1 !important;
  visibility:visible !important;
}
html[data-theme="dark"] .hero-section .hero-button .theme-btn{
  box-shadow: 0 10px 28px rgba(37,99,235,.35) !important;
}
html[data-theme="dark"] .feature-section .section-title h6,
html[data-theme="dark"] .feature-section .sub-title,
html[data-theme="dark"] .feature-section .sec-sub-title{
  color:#5eead4 !important;
  letter-spacing:.18em !important;
}

/* Arabic: keep header order like English, no letter-spacing on Arabic glyphs */
html[dir="rtl"] header#header-sticky.ribal-pub-header .header-main,
html[dir="rtl"] header#header-sticky.header-1 .header-main {
  direction: ltr !important;
}
html[dir="rtl"] .hero-section .hero-content h6,
html[dir="rtl"] .hero-section .hero-content h1,
html[dir="rtl"] .hero-section .hero-content h1 span,
html[dir="rtl"] .hero-section .hero-content p,
html[dir="rtl"] .feature-section .section-title h6,
html[dir="rtl"] .feature-section .sub-title {
  letter-spacing: 0 !important;
}

/* Features: kill gray title band, keep cards */
html[data-theme="dark"] .feature-section .section-title,
html[data-theme="dark"] .feature-section .sec-title,
html[data-theme="dark"] .feature-section .section-heading,
html[data-theme="dark"] .feature-section .section-title-area,
html[data-theme="dark"] .feature-section [class*="section-title"],
html[data-theme="dark"] .feature-section h2,
html[data-theme="dark"] .feature-section h3,
html[data-theme="dark"] .feature-section h6 {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  outline: 0 !important;
}
html[data-theme="dark"] .feature-section .container,
html[data-theme="dark"] .feature-section .container-fluid {
  background: transparent !important;
}
html[data-theme="dark"] .feature-section .bg-white,
html[data-theme="dark"] .feature-section .bg-light {
  background: transparent !important;
}
html[data-theme="dark"] .feature-box-item {
  background: #121a24 !important;
  border: 1px solid rgba(45,212,191,.12) !important;
  box-shadow: 0 12px 32px rgba(0,0,0,.28) !important;
  border-radius: 20px !important;
}
html[data-theme="dark"] .feature-box-item .icon,
html[data-theme="dark"] .feature-box-item .feature-icon {
  background: rgba(45,212,191,.10) !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Features: center glyph inside icon box, box stays start */
.feature-section .feature-box-item .icon,
.feature-section .feature-box-item .feature-icon,
.feature-section .feature-box-item .icon-box {
  float: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-inline: 0 !important;
}
.feature-section .feature-box-item .icon img,
.feature-section .feature-box-item .icon svg,
.feature-section .feature-box-item .icon i,
.feature-section .feature-box-item .feature-icon img,
.feature-section .feature-box-item .feature-icon svg,
.feature-section .feature-box-item .feature-icon i {
  margin: 0 auto !important;
  display: block !important;
  position: static !important;
  left: auto !important;
  right: auto !important;
  
}

/* Footer polish — dark homepage only */
html[data-theme="dark"] .footer-section,
html[data-theme="dark"] .footer-section.footer-bg,
html[data-theme="dark"] .footer-widgets-wrapper,
html[data-theme="dark"] .footer-bottom {
  background: #0b1218 !important;
  background-image: none !important;
}
html[data-theme="dark"] .footer-section .single-footer-widget h3,
html[data-theme="dark"] .footer-section .single-footer-widget .widget-title,
html[data-theme="dark"] .footer-section .widget-title {
  color: #f1f5f9 !important;
  border: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  padding-bottom: 12px !important;
  margin-bottom: 14px !important;
  position: relative !important;
  font-size: 15px !important;
  letter-spacing: .04em !important;
}
html[data-theme="dark"] .footer-section .single-footer-widget h3::after,
html[data-theme="dark"] .footer-section .single-footer-widget h3::before,
html[data-theme="dark"] .footer-section .widget-title::after,
html[data-theme="dark"] .footer-section .widget-title::before {
  content: "" !important;
  display: block !important;
  width: 28px !important;
  height: 2px !important;
  background: #2dd4bf !important;
  border: 0 !important;
  margin-top: 8px !important;
  opacity: 1 !important;
}
html[data-theme="dark"] .footer-section .footer-content p,
html[data-theme="dark"] .footer-section .single-footer-widget p {
  color: #94a3b8 !important;
  line-height: 1.7 !important;
}
html[data-theme="dark"] .footer-section a {
  color: #94a3b8 !important;
}
html[data-theme="dark"] .footer-section a:hover,
html[data-theme="dark"] .footer-section a.active {
  color: #5eead4 !important;
}
html[data-theme="dark"] .footer-section ul li {
  color: #94a3b8 !important;
  padding: 4px 0 !important;
}
html[data-theme="dark"] .footer-section ul li::before,
html[data-theme="dark"] .footer-section ul li::marker {
  color: #2dd4bf !important;
}
html[data-theme="dark"] .footer-bottom {
  border-top: 1px solid rgba(148,163,184,.12) !important;
  color: #64748b !important;
}
