/* ============================================
   E-Hospital Hero CSS - Figma node 4:9
   Colors: #0096CC (primary), #004767 (dark)
============================================ */

:root {
  --eh-primary:        #0096CC;
  --eh-deep-blue:      #004767;
  --eh-light-blue:     #6996A8;
  --eh-grey:           #4B5563;
  --eh-stroke:         #F5F6F8;
  --eh-bg-start:       #F5F7FA;
  --eh-bg-end:         #E9EEF3;
}

/* ---- Header login button ---- */
.eh-login-btn {
  background: var(--eh-primary) !important;
  color: #ffffff !important;
  font-family: "DM Sans", sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  padding: 8px 22px !important;
  border-radius: 16px !important;
  border: none !important;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.2s ease;
}
.eh-login-btn:hover { background: #007aaa !important; color: #fff !important; }

/* ---- Hero wrapper ---- */
.eh-hero-section {
  background: linear-gradient(160deg, var(--eh-bg-start) 0%, var(--eh-bg-end) 100%);
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}

.eh-hero-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 580px;
  position: relative;
  gap: 40px;
}

/* ---- Sol tərəf: mətn ---- */
.eh-hero-left {
  flex: 0 0 520px;
  padding-top: 20px;
  padding-bottom: 60px;
  z-index: 2;
}

.eh-hero-title {
  font-family: "Manrope", sans-serif !important;
  font-weight: 600 !important;
  font-size: 52px !important;
  line-height: 62px !important;
  color: var(--eh-deep-blue) !important;
  margin: 0 0 20px !important;
}
.eh-hero-title .eh-accent { color: var(--eh-primary); }

.eh-hero-subtitle {
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 26px;
  color: var(--eh-light-blue);
  margin: 0 0 36px;
  max-width: 380px;
}

.eh-hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.eh-hero-cta-btn {
  background: var(--eh-primary) !important;
  color: #ffffff !important;
  font-family: "DM Sans", sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  padding: 12px 28px !important;
  border-radius: 16px !important;
  border: none !important;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: background 0.2s;
  flex-shrink: 0;
}
.eh-hero-cta-btn:hover { background: #007aaa !important; color: #fff !important; }

/* Social proof */
.eh-social-proof {
  display: flex;
  align-items: center;
  gap: 14px;
}
.eh-avatar-stack {
  display: flex;
  align-items: center;
}
.eh-avatar-stack .eh-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
  margin-right: -10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.eh-avatar-stack .eh-avatar:last-child { margin-right: 0; }
.eh-proof-count {
  font-family: "Manrope", sans-serif;
  font-weight: 700; font-size: 28px;
  color: var(--eh-deep-blue);
  display: block; line-height: 1;
  margin-bottom: 4px;
  margin-left: 14px;
}
.eh-proof-label {
  font-family: "DM Sans", sans-serif;
  font-size: 14px; color: var(--eh-grey);
  display: block; margin-left: 14px;
}

/* ---- Sağ tərəf: şəkil ---- */
.eh-hero-right {
  flex: 0 0 460px;
  height: 580px;
  position: relative;
  align-self: flex-end;
}

/* bg-shape artıq lazım deyil (şəkilin özündə rounded corners var) */
.eh-hero-bg-shape { display: none; }

.eh-hero-image-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

.eh-hero-doctor-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 28px 28px 0 0;
}

/* Floating tags */
.eh-floating-tags {
  position: absolute;
  bottom: -5px;
  left: -140px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 5;
}
.eh-float-tags-row {
  display: flex;
  gap: 12px;
}
.eh-float-tag {
  background: #ffffff;
  border-radius: 16px;
  padding: 10px 18px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--eh-deep-blue);
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.eh-float-tag:hover { background: var(--eh-primary); color: #fff; }
.eh-float-tag-1, .eh-float-tag-2, .eh-float-tag-3, .eh-float-tag-4 {
  position: static; opacity: 1;
}

/* ---- Search bar ---- */
.eh-search-section {
  padding: 24px 120px 48px;
  position: relative; z-index: 10;
}

.eh-search-bar {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0,40,65,0.08);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 860px;
  border: 1px solid var(--eh-stroke);
}

.eh-search-input-group {
  background: #F8FAFC;
  border: 1px solid var(--eh-stroke);
  border-radius: 14px;
  padding: 0 18px;
  height: 46px;
  flex: 1;
  min-width: 180px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eh-search-input-group input {
  border: none; outline: none; background: transparent;
  font-family: "DM Sans", sans-serif; font-size: 15px;
  color: var(--eh-deep-blue); width: 100%;
}
.eh-search-input-group input::placeholder { color: var(--eh-deep-blue); opacity: 0.45; }

.eh-filter-btn {
  background: #F8FAFC;
  border: 1px solid var(--eh-stroke);
  border-radius: 14px;
  padding: 0 18px;
  height: 46px;
  min-width: 148px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  color: var(--eh-deep-blue);
  cursor: pointer;
  text-decoration: none;
  flex-shrink: 0;
  transition: border-color 0.2s;
}
.eh-filter-btn:hover { border-color: var(--eh-primary); color: var(--eh-primary); }
.eh-filter-btn .ph { font-size: 18px; }
.eh-filter-btn .eh-arrow { margin-left: auto; font-size: 12px; opacity: 0.6; }

.eh-search-btn {
  background: var(--eh-primary);
  color: #ffffff;
  border-radius: 14px;
  border: none;
  padding: 0 28px;
  height: 46px;
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}
.eh-search-btn:hover { background: #007aaa; }

/* ---- Responsive ---- */
@media (max-width: 1400px) {
  .eh-hero-inner    { padding: 0 60px; }
  .eh-search-section { padding: 24px 60px 48px; }
  .eh-hero-right    { flex: 0 0 400px; height: 520px; }
  .eh-hero-left     { flex: 0 0 440px; }
}
@media (max-width: 1150px) {
  .eh-hero-right    { flex: 0 0 340px; height: 450px; }
  .eh-hero-left     { flex: 0 0 380px; }
  .eh-hero-title    { font-size: 40px !important; line-height: 50px !important; }
  .eh-floating-tags { left: -60px; }
}
@media (max-width: 992px) {
  .eh-hero-inner    { padding: 0 30px; flex-direction: column; min-height: auto; gap: 32px; }
  .eh-hero-left     { flex: none; padding-top: 20px; padding-bottom: 0; max-width: 100%; }
  .eh-hero-right    { flex: none; width: 100%; max-width: 440px; height: 400px; align-self: center; }
  .eh-hero-title    { font-size: 36px !important; line-height: 44px !important; }
  .eh-floating-tags { display: none; }
  .eh-search-section { padding: 20px 30px 40px; }
  .eh-search-bar    { flex-wrap: wrap; }
}
@media (max-width: 576px) {
  .eh-hero-inner    { padding: 0 20px; }
  .eh-hero-title    { font-size: 28px !important; line-height: 36px !important; }
  .eh-search-section { padding: 16px 20px 32px; }
  .eh-filter-btn    { flex: 1; min-width: 0; }
}
