/* -------------------------------------------------------------
 * HAZEM SPINE SURGERY ELEMENTOR WIDGETS DESIGN SYSTEM
 * ------------------------------------------------------------- */

:root {
  --hazem-primary: #0B7387;
  --hazem-primary-hover: #075261;
  --hazem-primary-rgb: 11, 115, 135;
  
  --hazem-accent: #F99236;
  --hazem-accent-hover: #e07d22;
  --hazem-accent-rgb: 249, 146, 54;
  
  --hazem-dark: #0F172A;
  --hazem-light: #F8FAFC;
  --hazem-gray-light: #F1F5F9;
  --hazem-gray: #64748B;
  --hazem-border: #E2E8F0;
  
  --hazem-glass-bg: rgba(255, 255, 255, 0.85);
  --hazem-glass-border: rgba(255, 255, 255, 0.4);
  --hazem-shadow: 0 10px 30px -10px rgba(11, 115, 135, 0.15);
  --hazem-shadow-lg: 0 20px 40px -15px rgba(11, 115, 135, 0.25);
  
  --hazem-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --hazem-radius: 12px;
  --hazem-radius-lg: 24px;
}

/* -------------------------------------------------------------
 * 1. HEADER WIDGET STYLES
 * ------------------------------------------------------------- */
.hazem-header-container {
  font-family: 'Inter', sans-serif;
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid var(--hazem-border);
  position: sticky;
  top: 0;
  z-index: 9999;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

body:not(.elementor-editor-active) .hazem-header-container {
  position: fixed;
  top: 0;
  left: 0;
}

/* WordPress Admin Bar Compatibility */
body.admin-bar:not(.elementor-editor-active) .hazem-header-container {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar:not(.elementor-editor-active) .hazem-header-container {
    top: 46px;
  }
}

/* Default Body Spacing to prevent Cumulative Layout Shift (CLS) */
@media screen and (min-width: 1025px) {
  body:not(.elementor-editor-active) {
    padding-top: 118px;
  }
}


.hazem-top-bar {
  background: #E1924B;
  padding: 0 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #ffffff;
  transition: margin-top 0.3s cubic-bezier(0.25, 1, 0.5, 1), 
              opacity 0.2s ease, 
              height 0.3s ease;
  height: 38px;
  box-sizing: border-box;
  overflow: hidden;
}

.hazem-top-bar-info {
  display: flex;
  gap: 24px;
}

.hazem-info-item {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #ffffff;
  transition: var(--hazem-transition);
}

.hazem-info-item:hover {
  color: #f8ebdd;
}

.hazem-info-item svg {
  width: 16px;
  height: 16px;
  fill: #ffffff;
  transition: var(--hazem-transition);
}

.hazem-top-bar-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1.5px solid #ffffff;
  color: #ffffff !important;
  padding: 4px 14px;
  border-radius: 20px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--hazem-transition);
}

.hazem-top-bar-cta a:hover {
  background: #ffffff;
  color: #E1924B !important;
  transform: translateY(-1px);
}

.hazem-top-bar-cta a svg {
  fill: currentColor;
}

/* Scrolled Header State */
.hazem-header-container.scrolled {
  background: transparent;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.hazem-header-container.scrolled::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: -1;
  pointer-events: none;
}

.hazem-header-container.scrolled .hazem-top-bar {
  margin-top: -38px;
  opacity: 0;
  pointer-events: none;
}

.hazem-main-header {
  padding: 16px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.hazem-logo {
  position: relative;
  display: inline-block;
  height: 48px;
  width: 250px;
  text-decoration: none !important;
}

.hazem-logo-img {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 100%;
  max-height: 48px;
  width: auto;
  opacity: 1;
  transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
              transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 2;
}

.hazem-logo-text {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%) translateX(-12px);
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
              transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 1;
  font-family: 'Outfit', 'Inter', sans-serif;
  font-weight: 800;
  font-size: 19px;
  text-transform: uppercase;
  color: var(--hazem-primary, #0B7387) !important;
  white-space: nowrap;
  letter-spacing: -0.5px;
  display: inline-flex;
  align-items: center;
}

.hazem-logo-text span {
  color: var(--hazem-dark, #0F172A) !important;
  font-weight: 400;
  text-transform: none;
}

/* Hover state transitions */
.hazem-logo:hover .hazem-logo-img {
  opacity: 0;
  transform: translateY(-50%) translateX(12px);
  pointer-events: none;
}

.hazem-logo:hover .hazem-logo-text {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.hazem-nav-menu {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hazem-nav-link {
  font-weight: 600;
  color: var(--hazem-dark);
  text-decoration: none;
  font-size: 15px;
  position: relative;
  padding: 8px 0;
  white-space: nowrap;
  transition: var(--hazem-transition);
}

.hazem-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--hazem-primary);
  transition: var(--hazem-transition);
}

.hazem-nav-link:hover {
  color: var(--hazem-primary);
}

.hazem-nav-link:hover::after {
  width: 100%;
}

/* Services Mega Menu & Dropdown Styles */
.hazem-nav-menu > li.hazem-mega-menu-parent {
  position: static;
}

.hazem-mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: transparent;
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.08);
  border-bottom: 4px solid var(--hazem-primary, #0B7387);
  border-top: 1px solid var(--hazem-border, #E2E8F0);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  padding: 30px 5%;
}

.hazem-mega-menu::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: -1;
  pointer-events: none;
}

/* Show mega menu on hover */
.hazem-mega-menu-parent:hover .hazem-mega-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.hazem-mega-menu-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.hazem-mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.hazem-mega-menu-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}

/* Booklet Card Wrapper for Mega Menu Column */
.hazem-mega-menu-card-wrapper {
  position: relative;
  width: 100%;
  max-width: 280px;
  margin: 15px auto 10px auto;
  perspective: 1000px;
  overflow: visible;
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Background slanted sheet mimicking orange folder */
.hazem-mega-menu-card-bg-sheet {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--undercard-color, #F99236);
  border-radius: 12px;
  z-index: 1;
  transform: rotate(2deg);
  transform-origin: center;
  box-shadow: 0 6px 18px rgba(249, 146, 54, 0.12);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), 
              background-color 0.3s ease, 
              box-shadow 0.3s ease;
}

/* Front card (printed brochure/bulletin) */
.hazem-mega-menu-card-main {
  position: relative;
  z-index: 2;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--hazem-border, #E2E8F0);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  padding: 16px;
  transform: rotate(-1.5deg);
  transform-origin: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), 
              box-shadow 0.5s ease;
  flex: 1;
  height: 100%;
}

/* Internal booklet pattern/details */
.hazem-mega-menu-card-main::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  bottom: 6px;
  border: 1px dashed rgba(11, 115, 135, 0.15);
  border-radius: 8px;
  pointer-events: none;
  z-index: 1;
}

/* Hover effects to shift the card stack physically */
.hazem-mega-menu-card-wrapper:hover .hazem-mega-menu-card-main {
  transform: rotate(-0.5deg) translateY(-5px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.hazem-mega-menu-card-wrapper:hover .hazem-mega-menu-card-bg-sheet {
  transform: rotate(3.5deg) translateY(2px);
  background-color: var(--undercard-hover-color, #e07d22);
  box-shadow: 0 8px 20px rgba(249, 146, 54, 0.18);
}

/* Header styling */
.hazem-mega-menu-card-header {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hazem-mega-menu-card-brand-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hazem-mega-menu-card-brand-logo {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-weight: 800;
  font-size: 9px;
  text-transform: uppercase;
  color: var(--hazem-primary, #0B7387);
  letter-spacing: 1px;
}

.hazem-mega-menu-card-brand-tag {
  font-size: 8px;
  color: var(--hazem-primary, #0B7387);
  font-weight: 600;
  background-color: rgba(11, 115, 135, 0.06);
  padding: 3px 8px;
  border-radius: 12px;
  letter-spacing: 0.2px;
}

.hazem-mega-menu-card-title {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--hazem-dark, #0F172A);
  line-height: 1.3;
  margin: 2px 0 0 0;
  transition: color 0.3s ease;
}

.hazem-mega-menu-card-wrapper:hover .hazem-mega-menu-card-title {
  color: var(--hazem-primary, #0B7387);
}

/* Media styling */
.hazem-mega-menu-card-media {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 110px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--hazem-border, #E2E8F0);
}

.hazem-mega-menu-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.hazem-mega-menu-card-wrapper:hover .hazem-mega-menu-card-media img {
  transform: scale(1.05);
}

/* Badge overlay on bottom-left of image */
.hazem-mega-menu-card-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  z-index: 3;
  background-color: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #ffffff;
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.2px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

/* Footer & Excerpt styling */
.hazem-mega-menu-card-footer {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  justify-content: space-between;
}

.hazem-mega-menu-card-excerpt {
  font-size: 11px;
  color: var(--hazem-gray, #64748B);
  line-height: 1.4;
  margin: 0;
}

/* Read More Action Button */
.hazem-mega-menu-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background-color: var(--hazem-primary, #0B7387);
  color: #ffffff !important;
  font-size: 11.5px;
  font-weight: 600;
  text-decoration: none !important;
  padding: 8px 12px;
  border-radius: 6px;
  width: 100%;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 2px 6px rgba(11, 115, 135, 0.1);
}

.hazem-mega-menu-card-btn:hover {
  background-color: var(--hazem-primary-hover, #075261);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(11, 115, 135, 0.18);
}

.hazem-mega-menu-card-btn svg {
  transition: transform 0.3s ease;
}

.hazem-mega-menu-card-btn:hover svg {
  transform: translateX(3px);
}

/* Card-internal Sub-pages Navigation List inside Mega Menu */
.hazem-mega-menu-card-subpages {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid var(--hazem-border, #E2E8F0);
  padding-top: 12px;
  margin-top: 4px;
  flex: 1;
}

.hazem-mega-menu-card-subpage-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--hazem-dark, #0F172A) !important;
  text-decoration: none !important;
  transition: all 0.3s ease;
  padding: 3px 0;
  border-bottom: 1px dashed rgba(226, 232, 240, 0.5);
}

.hazem-mega-menu-card-subpages li:last-child .hazem-mega-menu-card-subpage-link {
  border-bottom: none;
}

.hazem-mega-menu-card-subpage-link svg {
  width: 9px;
  height: 9px;
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.3s ease;
  color: var(--hazem-accent, #F99236);
}

.hazem-mega-menu-card-subpage-link:hover {
  color: var(--hazem-accent, #F99236) !important;
  padding-left: 4px;
}

.hazem-mega-menu-card-subpage-link:hover svg {
  opacity: 1;
  transform: translateX(0);
}

/* Arrow transition */
.hazem-mega-menu-parent:hover .hazem-submenu-arrow,
.hazem-dropdown-parent:hover .hazem-submenu-arrow {
  transform: rotate(180deg);
  color: var(--hazem-primary, #0B7387);
}

/* Standard Dropdown Menu fallback styles */
.hazem-dropdown-parent {
  position: relative;
}

.hazem-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  min-width: 220px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  border-radius: 8px;
  border-top: 3px solid var(--hazem-primary, #0B7387);
  list-style: none;
  padding: 10px 0;
  margin: 10px 0 0 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.hazem-dropdown-parent:hover .hazem-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hazem-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--hazem-dark, #0F172A);
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.hazem-dropdown-menu a:hover {
  background: var(--hazem-gray-light, #F1F5F9);
  color: var(--hazem-primary, #0B7387);
}

/* Mobile responsive styles */
@media (max-width: 991px) {
  .hazem-mega-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 10px 0 10px 15px;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  
  .hazem-mega-menu-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .hazem-mega-menu-col {
    gap: 10px;
    margin-bottom: 15px;
  }
  
  .hazem-mega-menu-card-wrapper {
    max-width: 100%;
    margin: 5px 0;
    perspective: none;
  }
  
  .hazem-mega-menu-card-bg-sheet {
    display: none;
  }
  
  .hazem-mega-menu-card-main {
    transform: none !important;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
    background: transparent;
  }
  
  .hazem-mega-menu-card-main::before {
    display: none;
  }
  
  .hazem-mega-menu-card-brand-bar {
    display: none;
  }
  
  .hazem-mega-menu-card-media {
    display: none;
  }
  
  .hazem-mega-menu-card-excerpt {
    display: none;
  }
  
  .hazem-mega-menu-card-btn {
    display: none;
  }
  
  .hazem-mega-menu-card-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--hazem-primary, #0B7387);
  }
  
  .hazem-mega-menu-card-subpages {
    border-top: none;
    padding-top: 0;
    margin-top: 5px;
    gap: 6px;
    padding-left: 10px;
  }
  
  .hazem-mega-menu-card-subpage-link {
    font-size: 12px;
    padding: 3px 0;
    border-bottom: none;
  }
  
  .hazem-mega-menu-card-subpage-link svg {
    display: none;
  }
  
  .hazem-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 5px 0 5px 15px;
    margin: 0;
  }
}

/* Responsive Burger for Header */
.hazem-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hazem-menu-toggle svg {
  width: 24px;
  height: 24px;
  fill: var(--hazem-dark);
}

@media (max-width: 991px) {
  .hazem-top-bar {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  .hazem-top-bar-info {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
  .hazem-menu-toggle {
    display: block;
  }
  .hazem-nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    border-bottom: 2px solid var(--hazem-primary);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    z-index: 999;
    gap: 15px;
  }
  .hazem-nav-menu.active {
    display: flex;
  }
  .hazem-main-header {
    position: relative;
  }
}

/* -------------------------------------------------------------
 * 2. HERO WIDGET STYLES
 * ------------------------------------------------------------- */
.hazem-hero-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 5%;
  overflow: hidden;
}

.hazem-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(270deg, rgba(15, 23, 42, 0.75) 0%, rgba(15, 23, 42, 0.35) 60%, rgba(15, 23, 42, 0.1) 100%);
  z-index: 1;
}

.hazem-hero-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end; /* Position card on the right */
}

.hazem-hero-card {
  max-width: 650px;
  background: var(--hazem-glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--hazem-glass-border);
  padding: 48px;
  border-radius: var(--hazem-radius-lg);
  box-shadow: var(--hazem-shadow-lg);
  animation: fadeInUp 0.8s ease-out;
}

.hazem-hero-h1 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.2;
  color: var(--hazem-dark);
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hazem-hero-sub {
  font-size: 15px;
  line-height: 1.7;
  color: var(--hazem-gray);
  margin-bottom: 32px;
  border-left: 4px solid var(--hazem-primary);
  padding-left: 20px;
}

.hazem-hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hazem-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 30px;
  text-decoration: none;
  transition: var(--hazem-transition);
  cursor: pointer;
}

.hazem-btn-primary {
  background: var(--hazem-primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(11, 115, 135, 0.4);
}

.hazem-btn-primary:hover {
  background: var(--hazem-accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 146, 54, 0.4);
}

.hazem-btn-secondary {
  background: transparent;
  color: var(--hazem-primary);
  border: 2px solid var(--hazem-primary);
  transition: var(--hazem-transition);
}

.hazem-btn-secondary:hover {
  background: var(--hazem-accent);
  border-color: var(--hazem-accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 146, 54, 0.2);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .hazem-hero-card {
    padding: 24px;
    border-radius: var(--hazem-radius);
  }
  .hazem-hero-ctas {
    flex-direction: column;
    width: 100%;
  }
  .hazem-btn {
    width: 100%;
  }
}

/* -------------------------------------------------------------
 * 3. PROFILE WIDGET STYLES
 * ------------------------------------------------------------- */
/* -------------------------------------------------------------
 * 3. PROFILE WIDGET STYLES (Redesigned: 3-Column Layout)
 * ------------------------------------------------------------- */
.hazem-profile-section {
  padding: 120px 5% 100px 5%;
  background: #ffffff;
  position: relative;
  overflow: visible; /* Crucial for overlapping center portrait */
}

.hazem-profile-3col {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 40px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  align-items: start;
}

/* Left Column: Biography & Qualifications */
.hazem-profile-col-bio {
  display: flex;
  flex-direction: column;
}

.hazem-profile-name {
  font-size: 38px;
  font-weight: 800;
  color: var(--hazem-primary);
  margin: 0 0 8px 0;
  letter-spacing: -0.5px;
}

.hazem-profile-qualifications {
  font-size: 13px;
  font-weight: 700;
  color: var(--hazem-accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
}

.hazem-profile-bio-text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--hazem-gray);
  margin: 0 0 20px 0;
}

/* Styled publication button box */
.hazem-profile-pub-box {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  align-self: flex-start;
  background: #ffffff;
  border: 1px solid var(--hazem-border);
  padding: 14px 20px;
  border-radius: var(--hazem-radius);
  text-decoration: none;
  color: var(--hazem-dark);
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: var(--hazem-transition);
  margin-top: 15px;
}

.hazem-profile-pub-box:hover {
  border-color: var(--hazem-primary);
  box-shadow: var(--hazem-shadow);
  transform: translateY(-2px);
}

.hazem-profile-pub-box svg {
  width: 24px;
  height: 24px;
  fill: var(--hazem-primary);
}

/* Center Column: Portrait overlapping borders */
.hazem-profile-col-photo {
  position: relative;
  z-index: 10;
  margin-top: -120px; /* Pulls portrait up over the top border */
  margin-bottom: -100px; /* Overlaps bottom border */
  text-align: center;
}

.hazem-profile-col-photo img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 15px 30px rgba(11, 115, 135, 0.25));
  transition: var(--hazem-transition);
}

.hazem-profile-col-photo:hover img {
  transform: translateY(-5px) scale(1.02);
}

/* Right Column: Experience and Training List */
.hazem-profile-col-experience {
  display: flex;
  flex-direction: column;
}

.hazem-profile-exp-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--hazem-dark);
  margin: 0 0 16px 0;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hazem-profile-exp-list {
  display: flex;
  flex-direction: column;
}

.hazem-profile-exp-item {
  display: flex;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--hazem-border);
}

.hazem-profile-exp-item:first-child {
  padding-top: 0;
}

.hazem-profile-exp-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hazem-profile-exp-marker {
  width: 8px;
  height: 8px;
  background: var(--hazem-accent);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 7px;
}

.hazem-profile-exp-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--hazem-dark);
  font-weight: 500;
  margin: 0 0 0 16px;
}

@media (max-width: 991px) {
  .hazem-profile-3col {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .hazem-profile-col-photo {
    margin-top: 0;
    margin-bottom: 0;
    order: -1; /* portrait shows at top on tablet/mobile */
    max-width: 320px;
    margin: 0 auto;
  }
}

/* -------------------------------------------------------------
 * 4. SPECIALIZATIONS HUB WIDGET (Redesigned: Angled 2-Column Brick Grid)
 * ------------------------------------------------------------- */
.hazem-spec-section {
  padding: 140px 5% 100px 5%;
  background: #063b45; /* Dark background matching image */
  clip-path: polygon(0 60px, 100% 0, 100% 100%, 0 100%); /* Angled top slant */
  position: relative;
  overflow: hidden;
}

.hazem-spec-container {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

/* Left Column: Heading and biography details */
.hazem-spec-info {
  display: flex;
  flex-direction: column;
}

.hazem-spec-info h2 {
  font-size: 38px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
}

.hazem-spec-info-line {
  width: 60px;
  height: 3px;
  background: var(--hazem-accent);
  margin: 20px 0 24px 0;
}

.hazem-spec-info-desc {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 32px 0;
}

/* Read More button layout */
.hazem-spec-info-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  align-self: flex-start;
  text-decoration: none;
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  transition: var(--hazem-transition);
}

.hazem-spec-info-btn-icon {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--hazem-transition);
}

.hazem-spec-info-btn-icon svg {
  width: 18px;
  height: 18px;
  fill: #ffffff;
  transition: transform 0.3s;
}

.hazem-spec-info-btn:hover {
  color: var(--hazem-accent);
}

.hazem-spec-info-btn:hover .hazem-spec-info-btn-icon {
  background: var(--hazem-accent);
  border-color: var(--hazem-accent);
}

.hazem-spec-info-btn:hover .hazem-spec-info-btn-icon svg {
  transform: translateX(3px);
}

/* Right Column: 2x2 Offset Brick Grid */
.hazem-spec-brick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.hazem-spec-brick-col {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Shift the second column down to create the offset brick effect */
.hazem-spec-brick-col-shifted {
  margin-top: 40px;
}

/* Card base styles */
.hazem-spec-card {
  border-radius: var(--hazem-radius-lg);
  padding: 36px;
  transition: var(--hazem-transition);
  display: flex;
  flex-direction: column;
  height: max-content;
}

.hazem-spec-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Dark Card (Teal) */
.hazem-spec-card-dark {
  background: #0B7387;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.hazem-spec-card-dark .hazem-spec-title {
  color: #ffffff;
}

.hazem-spec-card-dark .hazem-spec-desc {
  color: rgba(255, 255, 255, 0.85);
}

.hazem-spec-card-dark .hazem-spec-icon-box {
  background: rgba(255, 255, 255, 0.1);
}

.hazem-spec-card-dark .hazem-spec-icon-box svg {
  fill: #ffffff;
}

.hazem-spec-card-dark .hazem-spec-cta {
  color: var(--hazem-accent);
}

.hazem-spec-card-dark .hazem-spec-cta:hover {
  color: #ffffff;
}

/* Light Card (Cream) */
.hazem-spec-card-light {
  background: #FFF8F2; /* Custom cream background matching branding */
  border: 1px solid rgba(249, 146, 54, 0.1);
  color: var(--hazem-dark);
}

.hazem-spec-card-light .hazem-spec-title {
  color: var(--hazem-dark);
}

.hazem-spec-card-light .hazem-spec-desc {
  color: var(--hazem-gray);
}

.hazem-spec-card-light .hazem-spec-icon-box {
  background: rgba(11, 115, 135, 0.08);
}

.hazem-spec-card-light .hazem-spec-icon-box svg {
  fill: var(--hazem-primary);
}

.hazem-spec-card-light .hazem-spec-cta {
  color: var(--hazem-primary);
}

.hazem-spec-card-light .hazem-spec-cta:hover {
  color: var(--hazem-accent);
}

/* Common Card elements */
.hazem-spec-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.hazem-spec-icon-box svg {
  width: 28px;
  height: 28px;
}

.hazem-spec-title {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.hazem-spec-desc {
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 24px 0;
}

.hazem-spec-cta {
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--hazem-transition);
  margin-top: auto;
}

.hazem-spec-cta:hover {
  gap: 10px;
}

@media (max-width: 991px) {
  .hazem-spec-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .hazem-spec-brick-col-shifted {
    margin-top: 0; /* Remove shift on mobile for layout stack */
  }
}

@media (max-width: 575px) {
  .hazem-spec-brick-grid {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------------
 * 5. SUCCESS STORIES & PATIENT OUTCOMES (Before & After Slider)
 * ------------------------------------------------------------- */
.hazem-success-section {
  padding: 100px 5%;
  background: var(--hazem-light);
}

.hazem-case-title {
  font-size: 20px;
  font-weight: 700;
}

.hazem-testimonial-card .hazem-case-title {
  font-size: 18px;
}

.hazem-case-desc {
  font-size: 14px;
}

.hazem-success-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Before/After slider frame */
.hazem-slider-wrapper {
  position: relative;
  width: 100%;
  height: 550px; /* Default uniform slider height */
  border-radius: var(--hazem-radius-lg);
  overflow: hidden;
  box-shadow: var(--hazem-shadow-lg);
  user-select: none;
}

.hazem-slider-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.hazem-slider-after {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

/* The 'Before' overlay image container */
.hazem-slider-before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%; /* Set to 100% of parent width to prevent image squishing */
  height: 100%;
  overflow: hidden;
  z-index: 2;
  -webkit-clip-path: inset(0 50% 0 0); /* Default clip at 50% */
  clip-path: inset(0 50% 0 0);
  pointer-events: none; /* Let drag events pass through to handle or base container */
}

.hazem-slider-before .hazem-slider-image {
  max-width: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Navigation Tabs for Multiple Views in Success Stories Slider */
.hazem-slider-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.hazem-slider-tab-btn {
  background: #ffffff;
  color: var(--hazem-gray);
  border: 1px solid var(--hazem-border);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--hazem-transition);
}

.hazem-slider-tab-btn:hover {
  border-color: var(--hazem-primary);
  color: var(--hazem-primary);
}

.hazem-slider-tab-btn.active {
  background: var(--hazem-primary);
  color: #ffffff;
  border-color: var(--hazem-primary);
  box-shadow: 0 4px 10px rgba(11, 115, 135, 0.2);
}

/* The draggable slider bar */
.hazem-slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%; /* JS dynamic positioning */
  width: 4px;
  background: #ffffff;
  z-index: 3;
  cursor: ew-resize;
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.hazem-slider-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: var(--hazem-primary);
  border: 3px solid #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: background 0.2s;
}

.hazem-slider-handle:hover .hazem-slider-button {
  background: var(--hazem-accent);
}

.hazem-slider-button svg {
  width: 20px;
  height: 20px;
  fill: #ffffff;
}

/* Image Labels */
.hazem-slider-label {
  position: absolute;
  bottom: 16px;
  padding: 6px 14px;
  background: rgba(15, 23, 42, 0.7);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  z-index: 4;
}

.hazem-slider-label-before {
  left: 16px;
}

.hazem-slider-label-after {
  right: 16px;
}

/* Testimonial Panel */
.hazem-testimonial-card {
  background: #ffffff;
  padding: 40px;
  border-radius: var(--hazem-radius-lg);
  box-shadow: var(--hazem-shadow);
  border-left: 6px solid var(--hazem-primary);
}

.hazem-quote-icon {
  width: 40px;
  height: 40px;
  fill: rgba(11, 115, 135, 0.15);
  margin-bottom: 20px;
}

.hazem-testimonial-text {
  font-size: 18px;
  line-height: 1.6;
  color: var(--hazem-dark);
  font-style: italic;
  margin-bottom: 24px;
}

.hazem-patient-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hazem-patient-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--hazem-gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--hazem-primary);
}

.hazem-patient-name {
  font-weight: 700;
  color: var(--hazem-dark);
  font-size: 16px;
}

.hazem-patient-case {
  font-size: 13px;
  color: var(--hazem-gray);
  margin-top: 2px;
}

@media (max-width: 991px) {
  .hazem-success-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* -------------------------------------------------------------
 * 6. FAQ ACCORDION WIDGET
 * ------------------------------------------------------------- */
.hazem-faq-section {
  padding: 100px 5%;
  background: #ffffff;
}

.hazem-faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hazem-faq-item {
  border: 1px solid var(--hazem-border);
  border-radius: var(--hazem-radius);
  overflow: hidden;
  transition: var(--hazem-transition);
}

.hazem-faq-item[open] {
  border-color: var(--hazem-primary);
  box-shadow: var(--hazem-shadow);
}

.hazem-faq-summary {
  list-style: none;
  outline: none;
  cursor: pointer;
  padding: 24px 30px;
  font-size: 16px;
  font-weight: 700;
  color: var(--hazem-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: var(--hazem-transition);
}

/* Remove default marker in Webkit */
.hazem-faq-summary::-webkit-details-marker {
  display: none;
}

.hazem-faq-summary:hover {
  background: var(--hazem-gray-light);
  color: var(--hazem-primary);
}

.hazem-faq-icon {
  width: 20px;
  height: 20px;
  fill: var(--hazem-primary);
  transition: transform 0.3s ease;
}

.hazem-faq-item[open] .hazem-faq-icon {
  transform: rotate(180deg);
  fill: var(--hazem-accent);
}

.hazem-faq-content {
  padding: 0 30px 24px 30px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--hazem-gray);
  border-top: 1px solid transparent;
  animation: slideDown 0.3s ease-out;
}

.hazem-faq-item[open] .hazem-faq-content {
  border-top: 1px solid var(--hazem-border);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* -------------------------------------------------------------
 * 7. FOOTER & LOCAL SEO / BOOKING FORM
 * ------------------------------------------------------------- */
.hazem-footer-section {
  padding: 100px 5% 40px 5%;
  background: var(--hazem-dark);
  color: var(--hazem-light);
}

.hazem-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto 60px auto;
}

/* Appointment Form Card */
.hazem-booking-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: var(--hazem-radius-lg);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.hazem-booking-card h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #fff;
}

.hazem-booking-card p {
  color: var(--hazem-gray);
  font-size: 14px;
  margin-bottom: 24px;
}

.hazem-form-group {
  margin-bottom: 20px;
}

.hazem-form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--hazem-light);
  margin-bottom: 8px;
}

.hazem-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 12px 16px;
  font-size: 14px;
  color: #fff;
  border-radius: 8px;
  outline: none;
  font-family: inherit;
  transition: var(--hazem-transition);
}

.hazem-input:focus {
  border-color: var(--hazem-accent);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(249, 146, 54, 0.25);
}

/* Select element styling reset */
select.hazem-input {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 20px;
  padding-right: 40px;
}

select.hazem-input option {
  background: var(--hazem-dark);
  color: #fff;
}

.hazem-form-submit {
  width: 100%;
  border: none;
  background: var(--hazem-accent);
  color: #fff;
  padding: 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(249, 146, 54, 0.3);
  transition: var(--hazem-transition);
}

.hazem-form-submit:hover {
  background: var(--hazem-accent-hover);
  transform: translateY(-1px);
}

.hazem-form-feedback {
  margin-top: 15px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  display: none;
  padding: 10px;
  border-radius: 6px;
}

.hazem-form-feedback.success {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  display: block;
}

.hazem-form-feedback.error {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  display: block;
}

/* Maps and SEO coordinates panel */
.hazem-seo-panel {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.hazem-seo-title {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
}

.hazem-seo-contacts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.hazem-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.hazem-contact-item svg {
  width: 24px;
  height: 24px;
  fill: var(--hazem-accent);
  flex-shrink: 0;
}

.hazem-contact-item h4 {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 6px 0;
  color: var(--hazem-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hazem-contact-item p,
.hazem-contact-item a {
  font-size: 15px;
  color: #fff;
  text-decoration: none;
  margin: 0;
  font-weight: 500;
  transition: var(--hazem-transition);
}

.hazem-contact-item a:hover {
  color: var(--hazem-accent);
}

.hazem-map-wrapper {
  width: 100%;
  height: 300px;
  border-radius: var(--hazem-radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.hazem-map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Copyright footer strip */
.hazem-footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--hazem-gray);
  flex-wrap: wrap;
  gap: 16px;
}

.hazem-footer-compliance {
  display: flex;
  gap: 20px;
}

@media (max-width: 991px) {
  .hazem-footer-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

/* -------------------------------------------------------------
 * 8. CASES CAROUSEL STYLES
 * ------------------------------------------------------------- */
.hazem-carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hazem-carousel-track {
  position: relative;
  width: 100%;
  min-height: 550px;
}

.hazem-case-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  pointer-events: none;
}

.hazem-case-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  z-index: 2;
  pointer-events: auto;
}

.hazem-carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.hazem-carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--hazem-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--hazem-transition);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.hazem-carousel-btn:hover {
  background: var(--hazem-primary);
  border-color: var(--hazem-primary);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(11, 115, 135, 0.2);
}

.hazem-carousel-btn:hover svg {
  fill: #ffffff;
}

.hazem-carousel-btn svg {
  width: 24px;
  height: 24px;
  fill: var(--hazem-gray);
  transition: fill 0.3s;
}

.hazem-carousel-indicator {
  font-size: 15px;
  font-weight: 700;
  color: var(--hazem-dark);
}

/* -------------------------------------------------------------
 * 9. GLOBAL PRESENCE WIDGET STYLES
 * ------------------------------------------------------------- */
.hazem-presence-section {
  padding: 80px 5%;
  font-family: 'Inter', sans-serif;
  background: var(--hazem-light);
  overflow: hidden;
}

.hazem-presence-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

/* Left Column: Narrative Content */
.hazem-presence-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hazem-presence-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--hazem-primary);
  line-height: 1.2;
  margin: 0;
}

.hazem-presence-experience {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-left: 3px solid var(--hazem-accent);
  padding-left: 16px;
}

.hazem-presence-exp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--hazem-accent);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hazem-presence-exp-badge svg {
  width: 20px;
  height: 20px;
  fill: var(--hazem-accent);
}

.hazem-presence-subtitle {
  font-size: 16px;
  color: var(--hazem-gray);
  line-height: 1.6;
  margin: 0;
}

/* Country List Cards */
.hazem-countries-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 10px;
}

.hazem-country-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--hazem-border);
  border-radius: var(--hazem-radius);
  padding: 24px;
  transition: var(--hazem-transition);
  cursor: pointer;
}

.hazem-country-card-line {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--hazem-border);
  border-radius: 4px 0 0 4px;
  transition: var(--hazem-transition);
}

.hazem-country-card:hover,
.hazem-country-card.active {
  box-shadow: var(--hazem-shadow);
  border-color: var(--hazem-primary);
  transform: translateY(-2px);
}

.hazem-country-card:hover .hazem-country-card-line,
.hazem-country-card.active .hazem-country-card-line {
  background: var(--hazem-accent);
}

.hazem-country-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.hazem-country-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--hazem-dark);
  margin: 0;
  transition: var(--hazem-transition);
}

.hazem-country-card:hover .hazem-country-name,
.hazem-country-card.active .hazem-country-name {
  color: var(--hazem-primary);
}

.hazem-country-badge {
  background: rgba(11, 115, 135, 0.1);
  color: var(--hazem-primary);
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hazem-country-desc {
  font-size: 14px;
  color: var(--hazem-gray);
  line-height: 1.6;
  margin: 0;
}

/* Right Column: Globe & Interactive overlays */
.hazem-presence-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hazem-globe-wrapper {
  position: relative;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(11, 115, 135, 0.08) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* HUD elements */
.hazem-hud-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(11, 115, 135, 0.15);
  pointer-events: none;
}

.hazem-hud-ring.ring-outer {
  width: 100%;
  height: 100%;
  animation: hazem-spin-clockwise 40s linear infinite;
}

.hazem-hud-ring.ring-inner {
  width: 90%;
  height: 90%;
  border-style: dotted;
  animation: hazem-spin-counter 30s linear infinite;
}

.hazem-hud-grid {
  position: absolute;
  width: 80%;
  height: 80%;
  border-radius: 50%;
  background: radial-gradient(circle, transparent 59%, rgba(11, 115, 135, 0.03) 60%),
              repeating-linear-gradient(0deg, transparent, transparent 19px, rgba(11, 115, 135, 0.01) 20px),
              repeating-linear-gradient(90deg, transparent, transparent 19px, rgba(11, 115, 135, 0.01) 20px);
  pointer-events: none;
}

.hazem-lottie-globe {
  width: 380px;
  height: 380px;
  z-index: 1;
}

/* SVG Connections Overlay */
.hazem-connections-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.hazem-connection-line {
  fill: none;
  stroke: var(--hazem-primary);
  stroke-width: 1.5;
  stroke-dasharray: 4, 4;
  opacity: 0.25;
  transition: opacity 0.5s ease, stroke-width 0.5s ease, stroke 0.5s ease;
}

.hazem-connection-line.active {
  opacity: 1;
  stroke-width: 2.5;
  stroke: var(--hazem-accent);
  animation: hazem-dash-flow 1.5s linear infinite;
}

/* Pins styling */
.hazem-globe-pin {
  position: absolute;
  width: 20px;
  height: 20px;
  transform: translate(-50%, -50%);
  z-index: 3;
  cursor: pointer;
}

.hazem-pin-dot {
  width: 8px;
  height: 8px;
  background: var(--hazem-accent);
  border-radius: 50%;
  position: absolute;
  left: 6px;
  top: 6px;
  box-shadow: 0 0 10px var(--hazem-accent);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.hazem-pin-ripple {
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--hazem-accent);
  opacity: 0;
  transform: scale(0.5);
  animation: hazem-ripple-animation 2s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
  pointer-events: none;
}

.hazem-globe-pin.pin-0 .hazem-pin-dot { background: var(--hazem-primary); box-shadow: 0 0 10px var(--hazem-primary); }
.hazem-globe-pin.pin-0 .hazem-pin-ripple { border-color: var(--hazem-primary); }

.hazem-globe-pin.pin-1 .hazem-pin-dot { background: var(--hazem-accent); box-shadow: 0 0 10px var(--hazem-accent); }
.hazem-globe-pin.pin-1 .hazem-pin-ripple { border-color: var(--hazem-accent); }

.hazem-globe-pin.pin-2 .hazem-pin-dot { background: var(--hazem-primary); box-shadow: 0 0 10px var(--hazem-primary); }
.hazem-globe-pin.pin-2 .hazem-pin-ripple { border-color: var(--hazem-primary); }

.hazem-pin-ripple.ripple-delayed {
  animation-delay: 1s;
}

.hazem-globe-pin:hover .hazem-pin-dot,
.hazem-globe-pin.active .hazem-pin-dot {
  transform: scale(1.5);
  background: var(--hazem-accent) !important;
  box-shadow: 0 0 15px var(--hazem-accent) !important;
}

/* Tooltips */
.hazem-pin-tooltip {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--hazem-border);
  box-shadow: var(--hazem-shadow-lg);
  border-radius: 8px;
  padding: 8px 14px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  z-index: 10;
  pointer-events: none;
  backdrop-filter: blur(10px);
}

.hazem-pin-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.95) transparent transparent transparent;
}

.hazem-globe-pin:hover .hazem-pin-tooltip,
.hazem-globe-pin.active .hazem-pin-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.tooltip-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tooltip-header strong {
  font-size: 13px;
  color: var(--hazem-dark);
}

.tooltip-badge {
  font-size: 10px;
  background: rgba(249, 146, 54, 0.1);
  color: var(--hazem-accent);
  padding: 2px 6px;
  border-radius: 6px;
  font-weight: 700;
}

/* Keyframes */
@keyframes hazem-spin-clockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes hazem-spin-counter {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@keyframes hazem-ripple-animation {
  0% { transform: scale(0.5); opacity: 0; }
  10% { opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0; }
}

@keyframes hazem-dash-flow {
  to {
    stroke-dashoffset: -20;
  }
}

/* Responsive styles */
@media (max-width: 991px) {
  .hazem-presence-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hazem-presence-visual {
    order: -1; /* visual on top for tablet/mobile */
  }
  .hazem-globe-wrapper {
    width: 350px;
    height: 350px;
  }
  .hazem-lottie-globe {
    width: 300px;
    height: 300px;
  }
}

/* -------------------------------------------------------------
 * 8. DOCTOR HERO, ABOUT, & SERVICES WIDGETS (LISA SIMPSON DESIGN)
 * ------------------------------------------------------------- */
.hazem-doc-hero-section {
  background: #ffffff;
  padding: 80px 5%;
  font-family: 'Inter', sans-serif;
  overflow: hidden;
}

.hazem-doc-hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.hazem-doc-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hazem-doc-hero-greeting {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 54px;
  font-weight: 800;
  color: #0A1D37;
  margin: 0 0 10px 0;
  line-height: 1.15;
  letter-spacing: -1.5px;
}

.hazem-doc-hero-subtitle {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--hazem-primary);
  margin: 0 0 20px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hazem-doc-hero-desc {
  font-size: 16px;
  color: var(--hazem-gray);
  line-height: 1.6;
  margin: 0 0 35px 0;
}

.hazem-doc-hero-cta {
  margin-bottom: 50px;
}

.hazem-doc-hero-stats {
  display: flex;
  gap: 30px;
  border-top: 1px solid var(--hazem-border);
  padding-top: 30px;
}

.hazem-doc-hero-stat-item {
  flex: 1;
  padding-right: 20px;
  border-right: 1px solid var(--hazem-border);
}

.hazem-doc-hero-stat-item:last-child {
  border-right: none;
  padding-right: 0;
}

.hazem-doc-hero-stat-num {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 38px;
  font-weight: 800;
  color: #0A1D37;
  line-height: 1;
  margin-bottom: 8px;
}

.hazem-doc-hero-stat-lbl {
  font-size: 13px;
  color: var(--hazem-gray);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

.hazem-doc-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hazem-doc-hero-img-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
}

.hazem-doc-hero-img-wrapper img {
  width: 100%;
  height: auto;
  border-radius: var(--hazem-radius-lg);
  object-fit: cover;
  box-shadow: 0 15px 35px rgba(10, 29, 55, 0.08);
}

/* Floating badge for Hero */
.hazem-doc-hero-badge {
  position: absolute;
  bottom: 25px;
  right: -30px;
  background: rgba(235, 243, 254, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  padding: 22px 25px;
  width: 250px;
  box-shadow: 0 20px 40px rgba(10, 29, 55, 0.12);
  z-index: 10;
}

.hazem-doc-hero-badge-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(11, 115, 135, 0.15);
  padding-bottom: 12px;
}

.hazem-doc-hero-badge-header svg {
  width: 28px;
  height: 28px;
  fill: #0A1D37;
}

.hazem-doc-hero-badge-header span {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  color: #0A1D37;
  letter-spacing: 0.5px;
}

.hazem-doc-hero-badge-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hazem-doc-hero-badge-item {
  font-size: 14px;
  font-weight: 600;
  color: #506578;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.2;
}

.hazem-doc-hero-badge-item::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--hazem-primary);
  flex-shrink: 0;
}

/* About Section */
.hazem-doc-about-section {
  background: #ffffff;
  padding: 80px 5%;
  font-family: 'Inter', sans-serif;
}

.hazem-doc-about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
}

.hazem-doc-about-visual {
  display: flex;
  justify-content: center;
}

.hazem-doc-about-img-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
}

.hazem-doc-about-img-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 32px;
  box-shadow: 0 15px 35px rgba(10, 29, 55, 0.06);
}

/* Floating stack of tabs overlay */
.hazem-doc-about-tabs-stack {
  position: absolute;
  bottom: 30px;
  right: -30px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 10;
}

.hazem-doc-about-tab-item {
  background: #ffffff;
  border: 1px solid #E2E8F0;
  color: #506578;
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  white-space: nowrap;
  transition: var(--hazem-transition);
}

.hazem-doc-about-tab-item.active {
  background: #0A1D37;
  border-color: #0A1D37;
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(10, 29, 55, 0.2);
}

.hazem-doc-about-content {
  display: flex;
  flex-direction: column;
}

.hazem-doc-about-tagline {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--hazem-primary);
  margin-bottom: 12px;
}

.hazem-doc-about-name {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: #0A1D37;
  margin: 0 0 8px 0;
  line-height: 1.2;
  letter-spacing: -1px;
}

.hazem-doc-about-subtitle {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--hazem-primary);
  margin: 0 0 25px 0;
}

.hazem-doc-about-desc {
  font-size: 15px;
  color: var(--hazem-gray);
  line-height: 1.7;
  margin-bottom: 35px;
}

.hazem-doc-about-desc p {
  margin-bottom: 15px;
}

.hazem-doc-about-desc p:last-child {
  margin-bottom: 0;
}

.hazem-doc-about-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid var(--hazem-border);
  padding-top: 30px;
}

.hazem-doc-about-sig-box {
  min-height: 50px;
  display: flex;
  align-items: center;
}

.hazem-doc-about-sig-img {
  max-height: 60px;
  width: auto;
  object-fit: contain;
}

.hazem-doc-about-sig-text {
  font-family: 'Kristi', 'Brush Script MT', cursive;
  font-size: 38px;
  color: #0A1D37;
  line-height: 1;
}

/* Services Grid Section */
.hazem-doc-services-section {
  background: #EBF3FE;
  padding: 85px 5%;
  font-family: 'Inter', sans-serif;
}

.hazem-doc-services-container {
  max-width: 1200px;
  margin: 0 auto;
}

.hazem-doc-services-header {
  text-align: center;
  margin-bottom: 55px;
}

.hazem-doc-services-tagline {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--hazem-primary);
  margin-bottom: 10px;
}

.hazem-doc-services-title {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: #0A1D37;
  margin: 0 0 12px 0;
  letter-spacing: -1px;
}

.hazem-doc-services-desc {
  font-size: 16px;
  color: var(--hazem-gray);
  max-width: 600px;
  margin: 0 auto;
}

.hazem-doc-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.hazem-service-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 45px 35px;
  box-shadow: 0 10px 30px rgba(10, 29, 55, 0.02);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: var(--hazem-transition);
  display: flex;
  flex-direction: column;
}

.hazem-service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(10, 29, 55, 0.08);
}

.hazem-service-card-icon {
  margin-bottom: 25px;
  color: var(--hazem-primary);
  display: inline-flex;
}

.hazem-service-card-icon i,
.hazem-service-card-icon svg {
  font-size: 32px;
  width: 36px;
  height: 36px;
  fill: currentColor;
}

.hazem-service-card-icon svg[fill="none"] {
  fill: none;
  stroke: currentColor;
}

.hazem-service-card-title {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #0A1D37;
  margin: 0 0 15px 0;
  line-height: 1.3;
}

.hazem-service-card-desc {
  font-size: 14px;
  color: var(--hazem-gray);
  line-height: 1.6;
  margin: 0 0 25px 0;
  flex-grow: 1;
}

.hazem-service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  color: var(--hazem-primary);
  transition: var(--hazem-transition);
}

.hazem-service-card-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: var(--hazem-transition);
}

.hazem-service-card-link:hover {
  color: var(--hazem-accent);
}

.hazem-service-card-link:hover svg {
  transform: translateX(4px);
}

/* Highlighted (Dark Navy) Card style */
.hazem-service-card.highlighted {
  background: #0A1D37;
  border-color: #0A1D37;
  box-shadow: 0 15px 35px rgba(10, 29, 55, 0.15);
}

.hazem-service-card.highlighted .hazem-service-card-title {
  color: #ffffff;
}

.hazem-service-card.highlighted .hazem-service-card-desc {
  color: rgba(255, 255, 255, 0.7);
}

.hazem-service-card.highlighted .hazem-service-card-icon {
  color: var(--hazem-accent);
}

.hazem-service-card.highlighted .hazem-service-card-link {
  color: #ffffff;
}

.hazem-service-card.highlighted .hazem-service-card-link:hover {
  color: var(--hazem-accent);
}

/* Button Rounding and premium states */
.hazem-btn.round {
  border-radius: 30px;
}

/* Media Queries for all 3 Widgets */
@media (max-width: 991px) {
  .hazem-doc-hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hazem-doc-hero-content {
    align-items: center;
  }
  .hazem-doc-hero-greeting {
    font-size: 42px;
  }
  .hazem-doc-hero-stats {
    width: 100%;
    justify-content: center;
  }
  .hazem-doc-hero-badge {
    right: 0;
    bottom: -15px;
    margin: 0 auto;
  }
  
  .hazem-doc-about-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hazem-doc-about-visual {
    order: -1;
  }
  .hazem-doc-about-tabs-stack {
    right: 0;
    bottom: -20px;
  }
  
  .hazem-doc-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .hazem-doc-hero-greeting {
    font-size: 32px;
  }
  .hazem-doc-hero-stats {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  .hazem-doc-hero-stat-item {
    border-right: none;
    border-bottom: 1px solid var(--hazem-border);
    padding-right: 0;
    padding-bottom: 15px;
    width: 100%;
  }
  .hazem-doc-hero-stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .hazem-doc-hero-badge {
    position: static;
    margin-top: 20px;
    width: 100%;
  }
  
  .hazem-doc-about-tabs-stack {
    position: static;
    margin-top: 20px;
    width: 100%;
  }
  .hazem-doc-about-tab-item {
    white-space: normal;
    text-align: center;
  }
  
  .hazem-doc-about-footer {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  
  .hazem-doc-services-grid {
    grid-template-columns: 1fr;
  }
  .hazem-doc-services-title {
    font-size: 30px;
  }
}

/* -------------------------------------------------------------
 * 9. PROHEALTH SERVICES WIDGETS
 * ------------------------------------------------------------- */

/* Hero Widget Styling */
.hazem-services-hero {
  background: linear-gradient(to right, #0E294B 0%, #0E294B 40%, rgba(14, 41, 75, 0.4) 70%, rgba(14, 41, 75, 0) 100%), var(--hazem-services-hero-bg) no-repeat center right / cover;
  padding: 100px 5% 140px 5%;
  font-family: 'Inter', sans-serif;
  overflow: hidden;
  position: relative;
}

.hazem-services-hero-container {
  max-width: 1200px;
  margin: 0 auto 60px auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.hazem-services-hero-content {
  display: flex;
  flex-direction: column;
}

.hazem-services-hero-tagline {
  margin-bottom: 20px;
}

.hazem-services-hero-tagline span {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 8px 18px;
  font-family: 'Outfit', 'Inter', sans-serif;
  font-weight: 700;
  color: #ffffff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: fit-content;
  display: inline-block;
}

.hazem-services-hero-title {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 56px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin: 0 0 20px 0;
  letter-spacing: -1.5px;
}

.hazem-services-hero-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin: 0 0 40px 0;
  max-width: 520px;
}

.hazem-services-hero-cta {
  display: flex;
  align-items: center;
}

.hazem-services-hero-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  color: #ffffff;
  text-decoration: none;
  font-family: 'Outfit', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 16px;
  transition: var(--hazem-transition);
}

.hazem-services-hero-play-btn .play-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0E294B;
  box-shadow: 0 10px 25px rgba(14, 41, 75, 0.15);
  transition: var(--hazem-transition);
}

.hazem-services-hero-play-btn .play-icon-wrapper svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  margin-left: 3px;
}

.hazem-services-hero-play-btn:hover .play-icon-wrapper {
  transform: scale(1.1);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.5);
  background: var(--hazem-accent);
  color: #ffffff;
}

/* Visual Column */
.hazem-services-hero-visual {
  position: relative;
  width: 100%;
  height: 520px;
  display: flex;
  align-items: flex-end;
}

.doctor-img-container {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
}

.doctor-portrait-main {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
}

.family-img-container {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60%;
  height: 75%;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  z-index: 1;
}

.family-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Floating Badge */
.hazem-services-hero-badge {
  position: absolute;
  top: 15%;
  right: 5%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 18px;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 20px 40px rgba(14, 41, 75, 0.12);
  z-index: 10;
}

.avatar-stack {
  display: flex;
}

.avatar-stack img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  margin-right: -10px;
  object-fit: cover;
}

.avatar-stack img:last-child {
  margin-right: 0;
}

.badge-info {
  display: flex;
  flex-direction: column;
}

.badge-num {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: #0E294B;
  line-height: 1.1;
}

.badge-lbl {
  font-size: 11px;
  color: #506578;
  font-weight: 600;
  white-space: nowrap;
}

.badge-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #00BA37;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

.badge-check svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
}

/* Glassmorphism Stats Bar */
.hazem-services-hero-stats-wrapper {
  position: relative;
  z-index: 10;
  margin-top: -70px;
  padding: 0 5%;
}

.hazem-services-hero-stats-container {
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 24px;
  padding: 35px 25px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.stat-box-item {
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0 10px;
}

.stat-box-item:last-child {
  border-right: none;
}

.stat-box-num {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 6px 0;
  line-height: 1;
}

.stat-box-lbl {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  margin: 0;
}

/* About Widget Styling */
.hazem-services-about-section {
  background: #ffffff;
  padding: 90px 5%;
  font-family: 'Inter', sans-serif;
}

.hazem-services-about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.hazem-services-about-content {
  display: flex;
  flex-direction: column;
}

.hazem-services-about-tagline {
  font-size: 14px;
  font-weight: 700;
  color: var(--hazem-primary);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hazem-services-about-title {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: #0A1D37;
  line-height: 1.2;
  margin: 0 0 20px 0;
  letter-spacing: -1px;
}

.hazem-services-about-desc {
  font-size: 15px;
  color: var(--hazem-gray);
  line-height: 1.7;
}

.hazem-services-about-desc p {
  margin-bottom: 15px;
}

.hazem-services-about-desc p:last-child {
  margin-bottom: 0;
}

.hazem-services-about-visual {
  display: flex;
  justify-content: center;
}

.hazem-services-about-img-wrapper {
  width: 100%;
  max-width: 460px;
}

.hazem-services-about-img-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 32px;
  box-shadow: 0 15px 35px rgba(10, 29, 55, 0.05);
}

/* Departments Widget Styling */
.hazem-services-dept-section {
  background: #ffffff;
  padding: 90px 5%;
  font-family: 'Inter', sans-serif;
}

.hazem-services-dept-container {
  max-width: 1200px;
  margin: 0 auto;
}

.hazem-services-dept-header {
  text-align: center;
  margin-bottom: 50px;
}

.hazem-services-dept-tagline {
  font-size: 14px;
  font-weight: 700;
  color: var(--hazem-primary);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hazem-services-dept-title {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: #0A1D37;
  margin: 0;
  letter-spacing: -1px;
}

.hazem-services-dept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.hazem-services-dept-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 20px;
  padding: 35px 30px;
  text-decoration: none;
  transition: var(--hazem-transition);
  box-shadow: 0 5px 15px rgba(10, 29, 55, 0.01);
}

.hazem-services-dept-card:hover {
  transform: translateY(-6px);
  border-color: var(--hazem-primary);
  box-shadow: 0 20px 40px rgba(10, 29, 55, 0.06);
}

.hazem-services-dept-card-icon {
  color: var(--hazem-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: #EBF3FE;
  border-radius: 12px;
  flex-shrink: 0;
}

.hazem-services-dept-card-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hazem-services-dept-card-title {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #0A1D37;
  line-height: 1.3;
}

/* Responsive Styles for Services Widgets */
@media (max-width: 991px) {
  .hazem-services-hero {
    background: linear-gradient(to bottom, rgba(14, 41, 75, 0.85) 0%, #0E294B 100%), var(--hazem-services-hero-bg) no-repeat center center / cover !important;
    padding: 70px 5% 100px 5%;
  }
  .hazem-services-hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hazem-services-hero-content {
    align-items: center;
  }
  .hazem-services-hero-title {
    font-size: 42px;
  }
  .hazem-services-hero-visual {
    height: 400px;
    justify-content: center;
  }
  .doctor-img-container {
    width: 80%;
  }
  .hazem-services-hero-badge {
    right: 10%;
    top: 5%;
  }
  .hazem-services-hero-stats-wrapper {
    margin-top: -40px;
  }
  .hazem-services-hero-stats-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .stat-box-item {
    border-right: none;
  }
  
  .hazem-services-about-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hazem-services-about-visual {
    order: -1;
  }
  
  .hazem-services-dept-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .hazem-services-hero-title {
    font-size: 32px;
  }
  .hazem-services-hero-visual {
    height: 320px;
  }
  .family-img-container {
    display: none; /* Hide family portrait on mobile for spacing */
  }
  .doctor-img-container {
    width: 100%;
  }
  .hazem-services-hero-badge {
    position: static;
    margin-top: 15px;
    width: 100%;
    justify-content: center;
  }
  .hazem-services-hero-stats-container {
    grid-template-columns: 1fr;
    padding: 25px 15px;
  }
  
  .hazem-services-about-title {
    font-size: 30px;
  }
  
  .hazem-services-dept-title {
    font-size: 30px;
  }
  .hazem-services-dept-grid {
    grid-template-columns: 1fr;
  }
  .hazem-services-dept-card {
    padding: 25px 20px;
  }
}

/* -------------------------------------------------------------
 * SERVICES WIDGETS - CTA & LISTING UPDATES
 * ------------------------------------------------------------- */

/* 1. Services widget - CTA */
.hazem-services-cta-section {
  background: #ffffff;
  padding: 60px 5%;
  font-family: 'Inter', sans-serif;
}

.hazem-services-cta-box {
  background: linear-gradient(135deg, var(--hazem-primary) 0%, var(--hazem-primary-hover) 100%);
  border-radius: 28px;
  padding: 65px 7% 65px 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: var(--hazem-shadow-lg);
}

.hazem-services-cta-content {
  flex: 1.2;
  max-width: 600px;
  z-index: 2;
  position: relative;
}

.hazem-services-cta-heading {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin: 0 0 28px 0;
  letter-spacing: -1px;
}

.hazem-services-cta-action {
  display: block;
}

.hazem-services-cta-btn {
  display: inline-block;
  background: #ffffff;
  color: var(--hazem-primary);
  font-family: 'Outfit', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 15px 36px;
  border-radius: 12px;
  text-decoration: none;
  transition: var(--hazem-transition);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04);
}

.hazem-services-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  background: #f4fbfb;
  color: var(--hazem-primary-hover);
}

.hazem-services-cta-visual {
  flex: 0.8;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  position: relative;
  z-index: 2;
  height: 250px;
}

.hazem-services-cta-visual img {
  max-width: 100%;
  height: 120%;
  object-fit: contain;
  position: absolute;
  bottom: -65px;
  right: 0;
  display: block;
}

/* CTA Decor Plus Elements */
.cta-decor-plus {
  position: absolute;
  color: rgba(255, 255, 255, 0.15);
  pointer-events: none;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-decor-plus svg {
  width: 100%;
  height: 100%;
}

.cta-decor-plus.plus-1 {
  top: 15%;
  left: 45%;
  width: 60px;
  height: 60px;
}

.cta-decor-plus.plus-2 {
  bottom: 20%;
  left: 32%;
  width: 40px;
  height: 40px;
}

.cta-decor-plus.plus-3 {
  top: 35%;
  right: 8%;
  width: 80px;
  height: 80px;
}

/* 2. Services widget - Listing (Vertical Tabs) */
.hazem-services-listing-section {
  background: #ffffff;
  padding: 80px 3%;
  font-family: 'Inter', sans-serif;
}

.hazem-services-listing-container {
  max-width: 1400px;
  width: 95%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 50px;
  align-items: start;
}

.hazem-services-listing-tabs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-right: 1px solid rgba(226, 232, 240, 0.8);
  padding-right: 25px;
}

.listing-tab-btn {
  background: transparent !important;
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
  outline: none !important;
  padding: 18px 24px !important;
  text-align: left !important;
  font-family: 'Outfit', 'Inter', sans-serif !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  color: #506578 !important;
  border-radius: 12px !important;
  cursor: pointer !important;
  transition: var(--hazem-transition) !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  box-shadow: none !important;
  white-space: normal !important;
}

.listing-tab-btn:hover {
  color: var(--hazem-primary) !important;
  background: rgba(11, 115, 135, 0.05) !important;
  border-color: var(--hazem-primary) !important;
}

.listing-tab-btn.active {
  color: #ffffff !important;
  background: linear-gradient(90deg, var(--hazem-primary) 0%, var(--hazem-primary-hover) 100%) !important;
  border-color: transparent !important;
  box-shadow: 0 10px 20px rgba(11, 115, 135, 0.12) !important;
}

.listing-tab-btn .btn-indicator {
  width: 4px;
  height: 0%;
  background: #ffffff;
  position: absolute;
  right: 0;
  top: 25%;
  bottom: 25%;
  border-radius: 2px 0 0 2px;
  transition: var(--hazem-transition);
}

.listing-tab-btn.active .btn-indicator {
  height: 50%;
}

.hazem-services-listing-panes {
  position: relative;
  min-height: 480px;
}

.listing-pane-item {
  display: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(14, 41, 75, 0.08);
  opacity: 0;
  min-height: 480px;
}

.listing-pane-item.active {
  display: flex;
  align-items: stretch;
  animation: hazemTabFadeIn 0.5s ease-in-out forwards;
}

@keyframes hazemTabFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.listing-pane-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
  width: 100%;
}

.listing-pane-title {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 34px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 16px 0;
  letter-spacing: -0.5px;
}

.listing-pane-desc {
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 850px;
}

.listing-pane-desc p {
  margin: 0 0 12px 0;
}

.listing-pane-desc p:last-child {
  margin-bottom: 0;
}

.listing-pane-read-more-wrapper {
  margin-top: 15px;
  margin-bottom: 5px;
}

.listing-read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--hazem-accent);
  color: #ffffff !important;
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 25px;
  text-decoration: none !important;
  transition: var(--hazem-transition);
  box-shadow: 0 4px 15px rgba(249, 146, 54, 0.25);
  border: none;
  cursor: pointer;
}

.listing-read-more-btn:hover {
  background-color: var(--hazem-accent-hover);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 146, 54, 0.4);
}

.listing-read-more-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: transform 0.2s ease;
}

.listing-read-more-btn:hover svg {
  transform: translateX(4px);
}

.listing-pane-procedures {
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 25px;
}

.listing-procedures-heading {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 18px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.listing-pane-procedures-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 10px;
  width: 100%;
}

.listing-procedure-link {
  display: inline-block !important;
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(4px);
}

.listing-procedure-link:hover {
  background-color: #ffffff;
  color: var(--hazem-primary) !important;
  border-color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive Overrides for CTA and Listing */
@media (max-width: 991px) {
  .hazem-services-cta-box {
    padding: 50px 40px;
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 30px;
  }
  .hazem-services-cta-content {
    max-width: 100%;
  }
  .hazem-services-cta-visual {
    width: 260px;
    height: 200px;
    margin-top: 20px;
  }
  .hazem-services-cta-visual img {
    position: static;
    height: 100%;
    margin-bottom: 0;
  }
  .plus-3 {
    display: none;
  }

  .hazem-services-listing-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hazem-services-listing-tabs {
    flex-direction: row;
    border-right: none;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    padding-right: 0;
    padding-bottom: 18px;
    overflow-x: auto;
    gap: 10px;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .listing-tab-btn {
    padding: 12px 22px;
    font-size: 14px;
    display: inline-block;
  }
  .listing-tab-btn .btn-indicator {
    display: none;
  }
  .listing-pane-item {
    min-height: auto;
  }
  .listing-pane-content {
    padding: 40px 30px;
  }
}

@media (max-width: 767px) {
  .hazem-services-cta-heading {
    font-size: 28px;
  }
  .hazem-services-cta-btn {
    width: 100%;
    text-align: center;
  }
  .listing-pane-title {
    font-size: 26px;
    text-align: center;
  }
  .listing-pane-content {
    text-align: center;
    align-items: center;
    padding: 30px 20px;
  }
  .listing-pane-procedures-grid {
    justify-content: center;
  }
  .listing-procedures-heading {
    justify-content: center;
  }
}

/* -------------------------------------------------------------
 * 8. PARENT SERVICE SLIDER WIDGET STYLES
 * ------------------------------------------------------------- */
.hazem-parent-service-slider-section {
  width: 100%;
  background: #ffffff;
  padding: 60px 0;
}

.hazem-parent-service-slider-container {
  max-width: 1400px;
  width: 95%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: var(--hazem-dark);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--hazem-shadow-lg);
  min-height: 580px;
}

/* Left Column: Image Slider */
.hazem-parent-slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 500px;
  overflow: hidden;
}

.hazem-parent-slider-slides {
  width: 100%;
  height: 100%;
  position: relative;
}

.hazem-parent-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  display: flex;
  align-items: flex-end;
  padding: 40px;
}

.hazem-parent-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hazem-parent-slide-content {
  color: #ffffff;
  max-width: 500px;
  z-index: 3;
  transform: translateY(20px);
  transition: transform 0.8s ease;
  margin-bottom: 50px; /* space for dots controls */
}

.hazem-parent-slide.active .hazem-parent-slide-content {
  transform: translateY(0);
}

.hazem-parent-slide-title {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 10px 0;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.hazem-parent-slide-desc {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* Slider Controls */
.hazem-slider-controls {
  position: absolute;
  bottom: 40px;
  left: 40px;
  z-index: 10;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hazem-slider-play-pause {
  background: none !important;
  border: none !important;
  color: #ffffff !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: transform 0.2s ease !important;
  min-width: 0 !important;
  min-height: 0 !important;
  box-shadow: none !important;
  outline: none !important;
}

.hazem-slider-play-pause:hover {
  transform: scale(1.1) !important;
}

.hazem-slider-play-pause svg {
  width: 16px !important;
  height: 16px !important;
  fill: currentColor !important;
}

.hazem-slider-dots {
  display: flex !important;
  gap: 8px !important;
}

.hazem-slider-dot {
  width: 8px !important;
  height: 8px !important;
  min-width: 8px !important;
  min-height: 8px !important;
  max-width: 8px !important;
  max-height: 8px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.4) !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer !important;
  transition: background 0.3s ease, transform 0.3s ease !important;
  box-shadow: none !important;
  outline: none !important;
}

.hazem-slider-dot:hover {
  background: rgba(255, 255, 255, 0.8) !important;
}

.hazem-slider-dot.active {
  background: var(--hazem-accent) !important;
  transform: scale(1.25) !important;
}

/* Right Column: Glassmorphic Booking Form */
.hazem-parent-slider-form-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: radial-gradient(circle at 10% 20%, rgba(11, 115, 135, 0.15) 0%, transparent 80%);
}

.hazem-parent-slider-form-card {
  width: 100%;
  max-width: 440px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 35px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

.hazem-form-header {
  margin-bottom: 24px;
}

.hazem-form-title {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px 0;
}

.hazem-form-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  line-height: 1.4;
}

.hazem-form-group {
  margin-bottom: 16px;
}

.hazem-form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  color: #ffffff;
  outline: none;
  transition: all 0.3s ease;
}

.hazem-form-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.hazem-form-input:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--hazem-primary);
  box-shadow: 0 0 10px rgba(11, 115, 135, 0.25);
}

.hazem-form-select {
  appearance: none;
  cursor: pointer;
}

.hazem-form-select option {
  background: var(--hazem-dark);
  color: #ffffff;
}

.hazem-form-date::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
}

.hazem-form-submit-btn {
  width: 100% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  background-color: var(--hazem-accent) !important;
  color: #ffffff !important;
  font-family: 'Outfit', 'Inter', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  padding: 14px !important;
  border-radius: 10px !important;
  border: none !important;
  cursor: pointer !important;
  transition: var(--hazem-transition) !important;
  box-shadow: 0 4px 15px rgba(249, 146, 54, 0.25) !important;
  margin-top: 10px !important;
  outline: none !important;
}

.hazem-form-submit-btn:hover {
  background-color: var(--hazem-accent-hover) !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(249, 146, 54, 0.4) !important;
}



.hazem-form-submit-btn svg {
  transition: transform 0.2s ease;
}

.hazem-form-submit-btn:hover svg {
  transform: translateX(4px);
}

/* Form Response Feedback styling */
.hazem-form-feedback {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.4;
}

.hazem-form-feedback.success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.hazem-form-feedback.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}

/* Responsiveness */
@media (max-width: 991px) {
  .hazem-parent-service-slider-container {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hazem-parent-slider-wrapper {
    height: 450px;
  }
}

@media (max-width: 767px) {
  .hazem-parent-service-slider-section {
    padding: 30px 0;
  }

  .hazem-parent-slider-wrapper {
    height: 380px;
  }

  .hazem-parent-slide {
    padding: 25px;
  }

  .hazem-parent-slide-title {
    font-size: 26px;
  }

  .hazem-slider-controls {
    bottom: 25px;
    left: 25px;
  }

  .hazem-parent-slider-form-wrapper {
    padding: 25px;
  }

  .hazem-parent-slider-form-card {
    padding: 25px;
  }
}

/* -------------------------------------------------------------
 * 18. SERVICE CARD WIDGET STYLES
 * ------------------------------------------------------------- */
.hazem-service-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 0;
}

.hazem-service-card-wrapper {
  position: relative;
  width: 100%;
  max-width: 390px;
  margin: 25px auto;
  perspective: 1000px;
  overflow: visible;
}

/* Background slanted sheet mimicking orange folder */
.hazem-service-card-bg-sheet {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--undercard-color, #F99236);
  border-radius: 16px;
  z-index: 1;
  transform: rotate(var(--undercard-angle, 3.5deg));
  transform-origin: center;
  box-shadow: 0 8px 24px rgba(249, 146, 54, 0.18);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), 
              background-color 0.3s ease, 
              box-shadow 0.3s ease;
}

/* Front card (printed brochure/bulletin) */
.hazem-service-card-main {
  position: relative;
  z-index: 2;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--hazem-border, #E2E8F0);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  padding: 24px;
  transform: rotate(var(--frontcard-angle, -2.5deg));
  transform-origin: center;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), 
              box-shadow 0.5s ease;
}

/* Internal booklet pattern/details */
.hazem-service-card-main::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  border: 1px dashed rgba(11, 115, 135, 0.15);
  border-radius: 10px;
  pointer-events: none;
  z-index: 1;
}

/* Hover effects to shift the card stack physically */
.hazem-service-card-wrapper:hover .hazem-service-card-main {
  transform: rotate(-1deg) translateY(-8px) scale(1.01);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.hazem-service-card-wrapper:hover .hazem-service-card-bg-sheet {
  transform: rotate(5deg) translateY(4px) scale(0.99);
  background-color: var(--undercard-hover-color, #e07d22);
  box-shadow: 0 12px 30px rgba(249, 146, 54, 0.25);
}

/* Header styling */
.hazem-service-card-header {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hazem-service-card-brand-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hazem-service-card-brand-logo {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-weight: 800;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--hazem-primary, #0B7387);
  letter-spacing: 1.5px;
}

.hazem-service-card-brand-tag {
  font-size: 10px;
  color: var(--hazem-primary, #0B7387);
  font-weight: 600;
  background-color: rgba(11, 115, 135, 0.08);
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.hazem-service-card-title {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--hazem-dark, #0F172A);
  line-height: 1.35;
  margin: 4px 0 0 0;
  transition: color 0.3s ease;
}

.hazem-service-card-wrapper:hover .hazem-service-card-title {
  color: var(--hazem-primary, #0B7387);
}

/* Media styling */
.hazem-service-card-media {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--hazem-border, #E2E8F0);
}

.hazem-service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.hazem-service-card-wrapper:hover .hazem-service-card-media img {
  transform: scale(1.06);
}

/* Badge overlay on bottom-left of image, matching municipal mockup */
.hazem-service-card-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 3;
  background-color: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Footer & Excerpt styling */
.hazem-service-card-footer {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.hazem-service-card-excerpt {
  font-size: 13.5px;
  color: var(--hazem-gray, #64748B);
  line-height: 1.5;
  margin: 0;
}

.hazem-service-card-excerpt p {
  margin: 0;
}

/* Read More Action Button */
.hazem-service-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--hazem-primary, #0B7387);
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none !important;
  padding: 11px 20px;
  border-radius: 8px;
  width: 100%;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 4px 12px rgba(11, 115, 135, 0.15);
}

.hazem-service-card-btn:hover {
  background-color: var(--hazem-primary-hover, #075261);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(11, 115, 135, 0.25);
}

.hazem-service-card-btn svg {
  transition: transform 0.3s ease;
}

.hazem-service-card-btn:hover svg {
  transform: translateX(4px);
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .hazem-service-card-wrapper {
    max-width: 100%;
    margin: 20px auto;
  }
  
  .hazem-service-card-main {
    padding: 20px;
  }
}

/* =============================================================
 * SINGLE SERVICE PAGE WIDGETS STYLES
 * ============================================================= */

/* 1. Hero Widget Styling */
.hazem-single-hero-section {
  position: relative;
  padding: 80px 5%;
  min-height: 400px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: var(--hazem-radius-lg, 24px);
  margin-bottom: 40px;
}

.hazem-single-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
  transition: transform 0.8s ease;
}

.hazem-single-hero-section:hover .hazem-single-hero-bg {
  transform: scale(1.03);
}

.hazem-single-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(11, 115, 135, 0.45) 100%);
  z-index: 2;
}

.hazem-single-hero-wrapper {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1100px;
  color: #ffffff;
}

.hazem-single-hero-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.85);
}

.hazem-breadcrumb-link {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: var(--hazem-transition);
}

.hazem-breadcrumb-link:hover {
  color: var(--hazem-accent, #F99236);
}

.hazem-breadcrumb-current {
  color: #ffffff;
}

.hazem-breadcrumb-separator {
  display: inline-flex;
  align-items: center;
  opacity: 0.6;
  color: #ffffff;
}

.hazem-breadcrumb-separator svg {
  width: 6px;
  height: 10px;
}

.hazem-single-hero-title {
  font-size: clamp(30px, 4.5vw, 46px);
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 16px 0;
  color: #ffffff;
}

.hazem-single-hero-subtitle {
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.6;
  margin: 0 0 32px 0;
  color: rgba(255, 255, 255, 0.9);
  max-width: 750px;
}

.hazem-single-hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hazem-single-hero-ctas .hazem-btn {
  padding: 12px 28px;
  font-size: 14.5px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: var(--hazem-transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hazem-single-hero-ctas .hazem-btn-primary {
  background-color: var(--hazem-primary, #0B7387);
  color: #ffffff;
  border: 1px solid var(--hazem-primary, #0B7387);
}

.hazem-single-hero-ctas .hazem-btn-primary:hover {
  background-color: var(--hazem-primary-hover, #075261);
  border-color: var(--hazem-primary-hover, #075261);
  transform: translateY(-2px);
}

.hazem-single-hero-ctas .hazem-btn-secondary {
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.hazem-single-hero-ctas .hazem-btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* 2. Symptoms Widget Styling */
.hazem-single-symptoms-section {
  padding: 35px;
  background: #ffffff;
  border-radius: var(--hazem-radius, 12px);
  border: 1px solid var(--hazem-border, #E2E8F0);
  margin-bottom: 40px;
  box-shadow: var(--hazem-shadow, 0 10px 30px -10px rgba(11, 115, 135, 0.15));
}

.hazem-single-symptoms-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--hazem-dark, #0F172A);
  margin: 0 0 12px 0;
}

.hazem-single-symptoms-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--hazem-gray, #64748B);
  margin: 0 0 24px 0;
}

.hazem-single-symptoms-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hazem-single-symptom-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--hazem-dark, #0F172A);
  font-weight: 500;
  line-height: 1.4;
}

.hazem-single-symptom-icon {
  color: var(--hazem-accent, #F99236);
  margin-top: 6px;
  flex-shrink: 0;
  display: inline-flex;
}

.hazem-single-symptom-icon svg {
  width: 8px;
  height: 8px;
}

/* 3. Procedures Widget Styling */
.hazem-single-procedures-section {
  margin-bottom: 40px;
}

.hazem-single-procedures-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--hazem-dark, #0F172A);
  text-align: center;
  margin: 0 0 32px 0;
}

.hazem-single-procedures-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.hazem-single-procedure-card {
  background: #ffffff;
  border: 1px solid var(--hazem-border, #E2E8F0);
  border-radius: var(--hazem-radius, 12px);
  padding: 30px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--hazem-transition);
  box-shadow: var(--hazem-shadow, 0 10px 30px -10px rgba(11, 115, 135, 0.15));
}

.hazem-single-procedure-card:hover {
  transform: translateY(-6px);
  border-color: var(--hazem-primary, #0B7387);
  box-shadow: var(--hazem-shadow-lg, 0 20px 40px -15px rgba(11, 115, 135, 0.25));
}

.hazem-single-procedure-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(11, 115, 135, 0.08);
  color: var(--hazem-primary, #0B7387);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
  transition: var(--hazem-transition);
}

.hazem-single-procedure-card:hover .hazem-single-procedure-icon {
  background: var(--hazem-primary, #0B7387);
  color: #ffffff;
  transform: rotate(360deg);
}

.hazem-single-procedure-card-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--hazem-dark, #0F172A);
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.hazem-single-procedure-card-desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--hazem-gray, #64748B);
  margin: 0;
}

/* 4. Cases Widget Styling */
.hazem-single-cases-section {
  background: #ffffff;
  border: 1px solid var(--hazem-border, #E2E8F0);
  border-radius: var(--hazem-radius, 12px);
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: var(--hazem-shadow, 0 10px 30px -10px rgba(11, 115, 135, 0.15));
}

.hazem-single-cases-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--hazem-dark, #0F172A);
  text-align: center;
  margin: 0 0 24px 0;
  line-height: 1.3;
}

.hazem-single-cases-slider-box {
  position: relative;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  max-width: 480px;
  margin: 0 auto 24px auto;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.hazem-single-cases-testimonial {
  text-align: center;
  padding: 20px;
  background: var(--hazem-light, #F8FAFC);
  border-radius: 8px;
  border-left: 4px solid var(--hazem-primary, #0B7387);
}

.hazem-single-cases-quote {
  font-style: italic;
  font-size: 15.5px;
  color: var(--hazem-primary, #0B7387);
  margin: 0 0 8px 0;
  font-weight: 600;
  line-height: 1.4;
}

.hazem-single-cases-author {
  font-size: 13px;
  color: var(--hazem-gray, #64748B);
  font-weight: 500;
}

/* 5. FAQ Widget Styling */
.hazem-single-faq-section {
  margin-bottom: 40px;
}

.hazem-single-faq-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--hazem-dark, #0F172A);
  margin: 0 0 24px 0;
}

.hazem-single-faq-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hazem-single-faq-item {
  border: 1px solid var(--hazem-border, #E2E8F0);
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
  transition: var(--hazem-transition);
}

.hazem-single-faq-item[open] {
  border-color: var(--hazem-primary, #0B7387);
  box-shadow: 0 4px 15px rgba(11, 115, 135, 0.08);
}

.hazem-single-faq-summary {
  padding: 16px 20px;
  list-style: none;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--hazem-dark, #0F172A);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  user-select: none;
  transition: var(--hazem-transition);
}

.hazem-single-faq-summary::-webkit-details-marker {
  display: none;
}

.hazem-single-faq-summary:hover {
  color: var(--hazem-primary, #0B7387);
  background: rgba(11, 115, 135, 0.02);
}

.hazem-single-faq-icon {
  width: 18px;
  height: 18px;
  color: var(--hazem-gray, #64748B);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.hazem-single-faq-item[open] .hazem-single-faq-icon {
  transform: rotate(180deg);
  color: var(--hazem-primary, #0B7387);
}

.hazem-single-faq-content {
  padding: 0 20px 18px 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--hazem-gray, #64748B);
}

/* 6. Appointment Widget Styling */
.hazem-single-appointment-section {
  background: #ffffff;
  border: 1px solid var(--hazem-border, #E2E8F0);
  border-radius: var(--hazem-radius, 12px);
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: var(--hazem-shadow, 0 10px 30px -10px rgba(11, 115, 135, 0.15));
}

.hazem-single-appointment-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--hazem-dark, #0F172A);
  margin: 0 0 24px 0;
  line-height: 1.35;
}

.hazem-single-appointment-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.hazem-single-appointment-field input,
.hazem-single-appointment-field select {
  width: 100%;
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid var(--hazem-border, #E2E8F0);
  font-size: 14.5px;
  font-family: inherit;
  outline: none;
  background-color: var(--hazem-light, #F8FAFC);
  color: var(--hazem-dark, #0F172A);
  transition: var(--hazem-transition);
  box-sizing: border-box;
}

.hazem-single-appointment-field input:focus,
.hazem-single-appointment-field select:focus {
  border-color: var(--hazem-primary, #0B7387);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(11, 115, 135, 0.12);
}

.hazem-single-appointment-submit-wrap button {
  width: 100%;
  padding: 13px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 8px;
  background: var(--hazem-accent, #F99236);
  border: none;
  color: #ffffff;
  cursor: pointer;
  transition: var(--hazem-transition);
  box-shadow: 0 4px 12px rgba(249, 146, 54, 0.2);
}

.hazem-single-appointment-submit-wrap button:hover {
  background: var(--hazem-accent-hover, #e07d22);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(249, 146, 54, 0.3);
}

.hazem-single-appointment-submit-wrap button:disabled {
  background: var(--hazem-gray, #64748B);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.hazem-single-appointment-wa-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--hazem-border, #E2E8F0);
}

.hazem-single-appointment-wa-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--hazem-gray, #64748B);
  transition: var(--hazem-transition);
}

.hazem-single-appointment-wa-link:hover {
  color: var(--hazem-primary, #0B7387);
}

.hazem-single-appointment-wa-icon-wrapper {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #25D366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.2);
  transition: var(--hazem-transition);
}

.hazem-single-appointment-wa-icon-wrapper svg {
  width: 18px;
  height: 18px;
}

.hazem-single-appointment-wa-link:hover .hazem-single-appointment-wa-icon-wrapper {
  transform: scale(1.08);
}

.hazem-single-appointment-wa-text {
  font-size: 13.5px;
  line-height: 1.45;
  font-weight: 500;
}

/* =============================================================
 * BLOG WIDGETS STYLES
 * ============================================================= */

/* 1. Blog Hero Widget Styling */
.hazem-blog-hero-section {
  position: relative;
  padding: 80px 5%;
  min-height: 380px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: var(--hazem-radius-lg, 24px);
  margin-bottom: 50px;
}

.hazem-blog-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
  transition: transform 0.8s ease;
}

.hazem-blog-hero-section:hover .hazem-blog-hero-bg {
  transform: scale(1.03);
}

.hazem-blog-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(14, 41, 75, 0.95) 0%, rgba(14, 41, 75, 0.6) 100%);
  z-index: 2;
}

.hazem-blog-hero-wrapper {
  position: relative;
  z-index: 3;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.hazem-blog-hero-breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hazem-blog-hero-breadcrumbs .hazem-breadcrumb-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  transition: var(--hazem-transition);
}

.hazem-blog-hero-breadcrumbs .hazem-breadcrumb-link:hover {
  color: var(--hazem-accent, #E1924B);
}

.hazem-blog-hero-breadcrumbs .hazem-breadcrumb-current {
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 500;
}

.hazem-blog-hero-breadcrumbs .hazem-breadcrumb-separator {
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
}

.hazem-blog-hero-breadcrumbs .hazem-breadcrumb-separator svg {
  width: 6px;
  height: 10px;
}

.hazem-blog-hero-title {
  color: #ffffff;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 18px;
  font-family: 'Outfit', 'Inter', sans-serif;
  letter-spacing: -1px;
}

.hazem-blog-hero-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 17px;
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto;
  font-weight: 400;
}

@media (max-width: 767px) {
  .hazem-blog-hero-section {
    padding: 60px 20px;
    min-height: 320px;
  }
  .hazem-blog-hero-title {
    font-size: 30px;
  }
  .hazem-blog-hero-subtitle {
    font-size: 15px;
  }
}

/* 2. Blog Grid Widget Styling */
.hazem-blog-grid-section {
  padding: 30px 0;
  width: 100%;
}

.hazem-blog-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

@media (max-width: 991px) {
  .hazem-blog-grid-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 767px) {
  .hazem-blog-grid-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* 3. Blog Card Styling */
.hazem-blog-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: var(--hazem-radius-lg, 24px);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  border: 1px solid var(--hazem-border, #E2E8F0);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
              box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  height: 100%;
}

.hazem-blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
  border-color: rgba(11, 115, 135, 0.15);
}

.hazem-blog-card-media {
  position: relative;
  height: 220px;
  width: 100%;
  overflow: hidden;
  background-color: var(--hazem-dark, #0E294B);
}

.hazem-blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.hazem-blog-card:hover .hazem-blog-card-media img {
  transform: scale(1.06);
}

.hazem-blog-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  color: #ffffff;
  padding: 5px 12px;
  border-radius: 30px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.hazem-blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.hazem-blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 14px;
  font-size: 12.5px;
  color: var(--hazem-gray, #64748B);
  font-weight: 500;
}

.hazem-blog-card-meta time,
.hazem-blog-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hazem-blog-card-meta svg {
  color: var(--hazem-primary, #0B7387);
}

.hazem-blog-card-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
  font-family: 'Outfit', 'Inter', sans-serif;
  letter-spacing: -0.3px;
}

.hazem-blog-card-title a {
  color: var(--hazem-dark, #0E294B);
  text-decoration: none !important;
  transition: var(--hazem-transition);
}

.hazem-blog-card-title a:hover {
  color: var(--hazem-primary, #0B7387);
}

.hazem-blog-card-excerpt {
  font-size: 14px;
  color: var(--hazem-gray, #64748B);
  line-height: 1.55;
  margin: 0 0 24px 0;
  flex: 1;
}

.hazem-blog-card-footer {
  display: flex;
  align-items: center;
  margin-top: auto;
}

.hazem-blog-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--hazem-primary, #0B7387) !important;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none !important;
  transition: var(--hazem-transition);
  padding: 0;
  background: transparent;
  border: none;
}

.hazem-blog-card-btn svg {
  transition: transform 0.3s ease;
}

.hazem-blog-card-btn:hover {
  color: var(--hazem-primary-hover, #075261) !important;
}

.hazem-blog-card-btn:hover svg {
  transform: translateX(4px);
}

/* 4. Blog Pagination Styling */
.hazem-blog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 20px 0;
}

.hazem-blog-pagination .page-numbers {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--hazem-dark, #0E294B);
  border: 1px solid var(--hazem-border, #E2E8F0);
  background-color: #ffffff;
  transition: var(--hazem-transition);
  font-family: 'Outfit', sans-serif;
}

.hazem-blog-pagination .page-numbers:hover {
  background-color: var(--hazem-primary, #0B7387);
  color: #ffffff !important;
  border-color: var(--hazem-primary, #0B7387);
}

.hazem-blog-pagination .page-numbers.current {
  background-color: var(--hazem-primary, #0B7387);
  color: #ffffff !important;
  border-color: var(--hazem-primary, #0B7387);
  box-shadow: 0 4px 12px rgba(11, 115, 135, 0.2);
}

.hazem-blog-pagination .page-numbers.prev,
.hazem-blog-pagination .page-numbers.next {
  width: auto;
  padding: 0 20px;
  border-radius: 30px;
}

.hazem-blog-no-posts {
  text-align: center;
  padding: 60px 20px;
  color: var(--hazem-gray, #64748B);
  font-size: 16px;
  background-color: #ffffff;
  border-radius: var(--hazem-radius-lg, 24px);
  border: 1px solid var(--hazem-border, #E2E8F0);
}

/* =============================================================
 * CONTACT WIDGETS STYLES
 * ============================================================= */

/* 1. Contact Form Widget (Leaf Background & Centered Card) */
.hazem-contact-form-section {
  background-color: #F8FAFC;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M0 0c16.57 0 30 13.43 30 30H0V0zm30 30c16.57 0 30 13.43 30 30H30V30z' fill='%230b7387' fill-opacity='0.04'/%3E%3Cpath d='M30 0c16.57 0 30 13.43 30 30H30V0zM0 30c16.57 0 30 13.43 30 30H0V30z' fill='%23e1924b' fill-opacity='0.03'/%3E%3C/svg%3E");
  padding: 80px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hazem-contact-form-card {
  max-width: 760px;
  width: 100%;
  background: #ffffff;
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.06);
  border: 1px solid var(--hazem-border, #E2E8F0);
}

.hazem-cform-title {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  color: var(--hazem-dark, #0E294B);
  margin-bottom: 36px;
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.5px;
}

.hazem-cform-row {
  display: flex;
  gap: 24px;
}

@media (max-width: 767px) {
  .hazem-contact-form-card {
    padding: 30px 20px;
  }
  .hazem-cform-title {
    font-size: 26px;
    margin-bottom: 26px;
  }
  .hazem-cform-row {
    flex-direction: column;
    gap: 16px;
  }
}

.hazem-cform-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mt-20 {
  margin-top: 20px;
}

.hazem-cform-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--hazem-gray, #64748B);
  font-family: 'Outfit', sans-serif;
}

.hazem-cform-input {
  background-color: #F8FAFC;
  border: 1px solid var(--hazem-border, #E2E8F0);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--hazem-dark, #0E294B);
  transition: var(--hazem-transition);
}

.hazem-cform-input:focus {
  outline: none;
  border-color: var(--hazem-primary, #0B7387);
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(11, 115, 135, 0.08);
}

.hazem-cform-textarea {
  resize: vertical;
  min-height: 130px;
}

.hazem-cform-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}

.hazem-cform-submit {
  border: none;
  border-radius: 30px;
  padding: 14px 44px;
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(11, 115, 135, 0.2);
  transition: var(--hazem-transition);
}

.hazem-cform-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(11, 115, 135, 0.3);
  background-color: var(--hazem-primary-hover, #075261);
}

.hazem-cform-feedback {
  text-align: center;
  margin-top: 16px;
  font-weight: 600;
  font-size: 14.5px;
}

/* 2. Contact Info Widget (Leaf Asymmetric Card Layout) */
.hazem-contact-info-section {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  padding: 60px 0;
  align-items: center;
  width: 100%;
}

@media (max-width: 991px) {
  .hazem-contact-info-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.hazem-cinfo-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hazem-cinfo-title {
  font-size: 44px;
  font-weight: 800;
  color: var(--hazem-dark, #0E294B);
  font-family: 'Outfit', sans-serif;
  letter-spacing: -1px;
  line-height: 1.15;
}

.hazem-cinfo-desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--hazem-gray, #64748B);
}

.hazem-cinfo-action {
  margin-top: 10px;
}

.hazem-cinfo-btn {
  display: inline-flex;
  background-color: var(--hazem-dark, #0E294B);
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.5px;
  padding: 16px 38px;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(14, 41, 75, 0.15);
  transition: var(--hazem-transition);
}

.hazem-cinfo-btn:hover {
  background-color: var(--hazem-primary, #0B7387);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(11, 115, 135, 0.25);
}

.hazem-cinfo-right {
  display: flex;
  justify-content: center;
}

.hazem-cinfo-leaf {
  width: 100%;
  max-width: 440px;
  border-radius: 60px 0px 60px 0px;
  padding: 50px 44px;
  color: #ffffff;
  box-shadow: 0 15px 40px rgba(11, 115, 135, 0.12);
  background: linear-gradient(135deg, var(--hazem-primary, #0B7387) 0%, #075261 100%);
}

.hazem-cinfo-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hazem-cinfo-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.hazem-cinfo-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #ffffff;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hazem-cinfo-icon-wrapper svg {
  width: 16px;
  height: 16px;
}

.hazem-cinfo-text-wrapper {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hazem-cinfo-item-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Outfit', sans-serif;
}

.hazem-cinfo-item-value-text,
.hazem-cinfo-item-value-link {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff !important;
  line-height: 1.45;
  margin: 0;
  text-decoration: none !important;
  transition: var(--hazem-transition);
}

.hazem-cinfo-item-value-link:hover {
  color: var(--hazem-accent, #E1924B) !important;
}

/* Custom Dropdown Styling */
select.hazem-cform-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%230b7387' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 12px 8px;
  padding-right: 40px;
  cursor: pointer;
  font-weight: 500;
}

select.hazem-cform-select option {
  color: var(--hazem-dark, #0E294B);
  background-color: #ffffff;
  padding: 10px;
}

