/**
 * START - Hero Component Styles - By INFXO
 */
.am-hero-seamless,
.am-hero-seamless * {
  box-sizing: border-box;
}

.am-hero-seamless {
  position: relative;
  min-height: 90vh;
  padding-top: 60px;
  overflow: hidden;
  direction: rtl;
  font-family: 'Cairo', 'Tajawal', sans-serif !important;
  background-color: #ffffff;
  /* Faint background cover across devices */
  background-image: 
    linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(253, 248, 250, 0.90) 45%, rgba(246, 232, 239, 0.96) 100%),
    url('https://am-eg.com/wp-content/uploads/2026/11/am-medical-hospital-equipment-hero-bg.webp');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

.am-container {
  max-width: 1420px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 3;
}

/* 1. Ultra-Faint Engraved AM Watermark */
.am-watermark-bg {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(14rem, 28vw, 32rem);
  font-weight: 900;
  font-family: 'Cairo', sans-serif;
  letter-spacing: -16px;
  color: rgba(113, 18, 64, 0.022);
  user-select: none;
  pointer-events: none;
  z-index: 1;
  line-height: 0.8;
  white-space: nowrap;
}

/* 2. Faint Fluid Cardiac Pulse Wave */
.am-cardiac-flow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.16;
  overflow: hidden;
}

.am-cardiac-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.am-cardiac-path {
  fill: none;
  stroke: #711240;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 2600;
  stroke-dashoffset: 2600;
  animation: amEcgRunLoop 6s linear infinite;
}

@keyframes amEcgRunLoop {
  0% { stroke-dashoffset: 2600; }
  100% { stroke-dashoffset: 0; }
}

/* 3. Cardiac Heart Badge */
.am-vital-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: 40px;
  border: 1px solid rgba(113, 18, 64, 0.12);
  box-shadow: 0 4px 15px rgba(113, 18, 64, 0.05);
  margin-bottom: 22px;
}

.am-heart-icon-wrap {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fdf2f6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #711240;
  animation: amHeartBeatAnimation 1.4s ease-in-out infinite;
}

@keyframes amHeartBeatAnimation {
  0%, 100% { transform: scale(1); }
  14% { transform: scale(1.22); }
  28% { transform: scale(1); }
  42% { transform: scale(1.15); }
  70% { transform: scale(1); }
}

.am-vital-text {
  font-size: 13px;
  font-weight: 800;
  color: #711240;
  letter-spacing: 0.3px;
}

.am-vital-rate {
  font-size: 11.5px;
  font-weight: 800;
  color: #047857;
  background: #ecfdf5;
  padding: 2px 9px;
  border-radius: 20px;
}

/* 4. Balanced Two-Column Layout */
.am-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 46px;
}

/* Main Headline with Highlight Styling */
.am-hero-title {
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 900;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 18px;
  font-family: 'Cairo', sans-serif !important;
}

.am-title-highlight {
  color: #711240 !important;
  background: linear-gradient(135deg, #711240 0%, #9c276a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 900;
  padding: 0 4px;
}

/* 5. Rich Description & Red Dot List Styling */
.am-hero-desc {
  font-size: 15.5px;
  color: #334155;
  font-family: 'Tajawal', sans-serif;
  font-weight: 500;
  line-height: 1.8;
  max-width: 600px;
  margin-bottom: 22px;
}

.am-hero-desc p {
  margin: 0 0 12px 0;
  line-height: 1.8;
}

.am-hero-desc ul,
.am-hero-desc .hero-list {
  list-style: none !important;
  margin: 14px 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.am-hero-desc ul li,
.am-hero-desc .hero-list li {
  position: relative !important;
  list-style: none !important;
  padding-inline-start: 22px !important;
  padding-inline-end: 0 !important;
  margin: 0 !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  color: #334155 !important;
  line-height: 1.65 !important;
}

/* Large Medical Identity Red Dot */
.am-hero-desc ul li::before,
.am-hero-desc .hero-list li::before {
  content: '' !important;
  position: absolute !important;
  top: 8px !important;
  right: 0 !important;
  width: 9px !important;
  height: 9px !important;
  border-radius: 50% !important;
  background: #711240 !important;
  box-shadow: 0 0 8px rgba(113, 18, 64, 0.45) !important;
  flex-shrink: 0 !important;
}

/* 6. Department Capsules Styling */
.am-dept-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.am-dept-chip {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(113, 18, 64, 0.12);
  color: #334155;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.am-dept-chip:hover {
  border-color: #711240;
  background: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(113, 18, 64, 0.08);
}

.am-dept-chip strong {
  color: #0f172a;
  font-weight: 800;
}

.am-chip-badge {
  color: #711240;
  font-weight: 900;
  font-size: 11px;
  background: #fdf2f6;
  padding: 2px 6px;
  border-radius: 12px;
}

/* Actions */
.am-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.am-btn-primary {
  background: #711240;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  padding: 13px 32px;
  border-radius: 50px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 24px rgba(113, 18, 64, 0.28);
  transition: all 0.25s ease;
}

.am-btn-primary:hover {
  background: #4b0728;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(113, 18, 64, 0.38);
  color: #ffffff;
}

.am-btn-outline {
  background: rgba(255, 255, 255, 0.92);
  color: #334155;
  font-size: 15px;
  font-weight: 800;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  border: 1.5px solid #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.am-btn-outline:hover {
  border-color: #711240;
  color: #711240;
  background: #ffffff;
  transform: translateY(-2px);
}

/* 7. Unified 2x2 Stats Grid */
.am-stats-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 580px;
}

.am-stat-box {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(113, 18, 64, 0.08);
  border-top: 3.5px solid #711240 !important;
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 18px -4px rgba(113, 18, 64, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.am-stat-box:hover {
  background: #ffffff;
  border-color: rgba(113, 18, 64, 0.2);
  border-top-color: #711240 !important;
  transform: translateY(-3px);
  box-shadow: 0 12px 26px -6px rgba(113, 18, 64, 0.12);
}

.am-stat-num {
  font-size: 25px;
  font-weight: 900;
  color: #711240;
  line-height: 1.1;
  letter-spacing: -0.3px;
}

.am-stat-lbl {
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  margin-top: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
}

/* 8. Left Grand Showcase Box */
.am-hero-showcase {
  width: 100%;
}

.am-showcase-box {
  width: 100%;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 25px 60px -15px rgba(113, 18, 64, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  padding: 30px;
  position: relative;
}

.am-showcase-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(113, 18, 64, 0.07);
}

.am-showcase-title-wrap {
  flex: 1;
}

.am-showcase-title {
  font-size: 16.5px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.35;
}

.am-showcase-sub {
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
  margin-top: 4px;
}

.am-live-tag {
  font-size: 12px;
  font-weight: 800;
  color: #047857;
  background: #ecfdf5;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  border: 1px solid #d1fae5;
}

.am-live-tag::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #047857;
  box-shadow: 0 0 8px #047857;
}

.am-dept-tiles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.am-tile {
  background: #ffffff;
  border: 1px solid rgba(113, 18, 64, 0.06);
  border-radius: 18px;
  padding: 18px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.am-tile:hover {
  border-color: #fbcfe8;
  background: #fffbfe;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -6px rgba(113, 18, 64, 0.1);
}

.am-tile-badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 900;
  padding: 3px 9px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.am-tile h4 {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
  transition: color 0.2s;
}

.am-tile:hover h4 {
  color: #711240;
}

.am-tile p {
  font-size: 12px;
  color: #64748b;
  line-height: 1.45;
}

.am-showcase-footer {
  margin-top: 20px;
  background: #fdf5f8;
  border: 1px solid rgba(113, 18, 64, 0.08);
  border-radius: 14px;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 800;
  color: #711240;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* 9. Brand Logos Ribbon (Dynamic Images) */
.am-seamless-bottom {
  margin-top: 48px;
  padding-bottom: 38px;
  position: relative;
  z-index: 2;
}

.am-ribbon-label {
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 16px;
}

.am-marquee-viewport {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.am-marquee-track {
  display: flex;
  width: max-content;
  animation: amMarqueeSmooth 28s linear infinite;
}

.am-marquee-track:hover {
  animation-play-state: paused;
}

.am-marquee-group {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-inline-end: 28px;
}

/* Brand Card Pill Supporting Image & Text */
.am-brand-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 30px;
  padding: 8px 24px;
  min-height: 48px;
  box-shadow: 0 4px 14px rgba(113, 18, 64, 0.04);
  transition: all 0.25s ease;
  cursor: pointer;
  text-decoration: none;
}

.am-brand-item:hover {
  background: #ffffff;
  border-color: #711240;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(113, 18, 64, 0.1);
}

.am-brand-logo-img {
  max-height: 32px;
  max-width: 90px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: grayscale(100%) opacity(0.85);
  transition: all 0.25s ease;
}

.am-brand-item:hover .am-brand-logo-img {
  filter: grayscale(0%) opacity(1);
}

.am-brand-logo-txt {
  font-size: 14.5px;
  font-weight: 900;
  color: #334155;
  letter-spacing: 0.6px;
  font-family: 'Cairo', sans-serif;
  transition: color 0.2s;
}

.am-brand-item:hover .am-brand-logo-txt {
  color: #711240;
}

/* Burgundy Glowing Dot */
.am-brand-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #711240;
  box-shadow: 0 0 10px rgba(113, 18, 64, 0.7);
  flex-shrink: 0;
}

@keyframes amMarqueeSmooth {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}

@media (max-width: 1100px) {
  .am-hero-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .am-stats-grid-2x2 {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .am-hero-seamless {
    background-size: cover;
    background-position: center center;
    padding-top: 40px;
  }
  .am-stats-grid-2x2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .am-stat-box {
    padding: 12px 10px;
  }
  .am-stat-num {
    font-size: 20px;
  }
  .am-stat-lbl {
    font-size: 11px;
  }
  .am-dept-tiles-grid {
    grid-template-columns: 1fr;
  }
  .am-showcase-box {
    padding: 18px;
  }
}
/**
 * END - Hero Component Styles - infxo.com
 */