/**
 * START - header section css - INFXO
 */
.infxo-header-wrapper {
  width: 100%;
  position: relative;
  z-index: 999;
  font-family: 'Cairo', 'Tajawal', sans-serif;
  direction: rtl;
}

.infxo-header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 1. Top Bar (Single Line, Burgundy & Harmonized) */
.infxo-topbar {
  background: #711240;
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.infxo-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow-x: auto;
}

.infxo-topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.infxo-topbar-highlight {
  color: #fce7f3;
  font-weight: 700;
}

.infxo-topbar-sep {
  color: rgba(255, 255, 255, 0.25);
  font-weight: 300;
  flex-shrink: 0;
}

.infxo-topbar-icon-clock {
  width: 14px;
  height: 14px;
  color: #fde047;
  flex-shrink: 0;
}

.infxo-topbar-wa a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4ade80;
  text-decoration: none;
  transition: opacity 0.2s;
}

.infxo-topbar-wa a:hover {
  opacity: 0.85;
}

.infxo-topbar-icon-wa {
  width: 14px;
  height: 14px;
  fill: #4ade80;
  flex-shrink: 0;
}

/* 2. Main Header */
.infxo-main-header {
  background: #ffffff;
  padding: 14px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid #ebebeb;
}

.infxo-main-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Brand & Logo Area (Right side in RTL) */
.infxo-brand-area {
  flex-shrink: 0;
  order: 1;
}

.infxo-brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.infxo-brand-text {
  display: flex;
  flex-direction: column;
  text-align: right;
  min-width: 180px;
}

.infxo-brand-main {
  font-size: 26px;
  font-weight: 900;
  color: #711240;
  line-height: 1;
}

.infxo-brand-sub {
  font-size: 11px;
  font-weight: 700;
  color: #555555;
  margin-top: 3px;
  white-space: nowrap;
}

.infxo-badge-seal {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 2px solid #711240;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(113, 18, 64, 0.15);
  overflow: hidden;
  flex-shrink: 0;
}

.infxo-seal-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.infxo-seal-text {
  font-size: 9px;
  font-weight: 800;
  color: #711240;
  text-align: center;
  line-height: 1.1;
}

/* WordPress Dynamic Navigation & Dropdowns (Center) */
.infxo-nav-menu {
  flex: 1;
  margin: 0 20px;
  order: 2;
  display: flex;
  justify-content: center;
}

.infxo-nav-list,
.infxo-nav-list ul {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.infxo-nav-list li {
  position: relative;
}

.infxo-nav-list li a {
  font-size: 14.5px;
  font-weight: 700;
  color: #1e293b;
  text-decoration: none;
  padding: 8px 0;
  display: block;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.infxo-nav-list li a:hover,
.infxo-nav-list li.current-menu-item > a,
.infxo-nav-list li.current_page_item > a {
  color: #711240;
}

/* Sub-menu / Dropdown Styling */
.infxo-nav-list li.menu-item-has-children > a::after {
  content: '▼';
  font-size: 7px;
  margin-right: 5px;
  vertical-align: middle;
  opacity: 0.5;
}

.infxo-nav-list li ul.sub-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  border: 1px solid #e2e8f0;
  min-width: 210px;
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 100;
}

.infxo-nav-list li:hover > ul.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.infxo-nav-list li ul.sub-menu li {
  width: 100%;
}

.infxo-nav-list li ul.sub-menu li a {
  padding: 9px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
  white-space: nowrap;
}

.infxo-nav-list li ul.sub-menu li a:hover {
  background: #f8fafc;
  color: #711240;
  padding-right: 22px;
}

/* Action Creative CTA Buttons (Left in RTL with Zoom Effect) */
.infxo-header-ctas {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  order: 3;
}

.infxo-hdr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.infxo-hdr-btn-quote {
  background: #f1f5f9;
  color: #1e293b;
  padding: 11px 22px;
  border: 1px solid #cbd5e1;
}

.infxo-hdr-btn-quote:hover {
  background: #e2e8f0;
  color: #711240;
  transform: scale(1.03);
}

.infxo-hdr-btn-wa {
  background: #711240;
  color: #ffffff;
  padding: 11px 24px;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(113, 18, 64, 0.35);
}

.infxo-hdr-btn-wa:hover {
  background: #560a2f;
  transform: scale(1.04);
  box-shadow: 0 6px 20px rgba(113, 18, 64, 0.5);
}

/* Zooming WhatsApp Icon */
.infxo-wa-icon-wrap {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.infxo-hdr-btn-wa:hover .infxo-wa-icon-wrap {
  transform: scale(1.2);
}

.infxo-whatsapp-svg {
  width: 18px;
  height: 18px;
  fill: #4ade80;
}

@media (max-width: 1280px) {
  .infxo-nav-list {
    gap: 14px;
  }
  .infxo-nav-list li a {
    font-size: 13.5px;
  }
}

@media (max-width: 1024px) {
  .infxo-nav-menu {
    display: none;
  }
  .infxo-topbar {
    font-size: 11px;
  }
}
/**
 * END - header section css - infxo.com
 */