/*
 * DrAlaa Visual Polish V37 — designed for clinic's Arabic RTL identity.
 * 1) Genuine light-grey-suit portrait, 2) text reveal and gold underline,
 * 3) green-to-gold card swipe, 4) compact PAGE-WIDE section spacing.
 * Progressive enhancement; no visual effects modify medical photographs.
 */

/* Legacy Elementor applied ~60–102px vertical padding to every section.
 * Tighten only homepage top-level sections and preserve self-managed
 * premium sections whose spacing is already carefully controlled. */
body.dc37-active.dc15-active .site-content .elementor.elementor-2695 > section.elementor-top-section:not(.dralaa-hm-hero):not(.dc24-services):not(.dc25-experience):not(.dc29-video-section):not(.dc30-booking):not(.dc31-reviews):not(.dc32-gallery):not(.dc33-marquee-section):not(.dc34-compare-section):not(.dc35-steps-section):not(.dc36-contact-hub){
  padding-top:clamp(25px,3.1vw,44px)!important;
  padding-bottom:clamp(25px,3.1vw,44px)!important;
}
body.dc37-active.dc15-active .site-content .dralaa-hm-hero{
  margin-bottom:clamp(20px,2.9vw,42px)!important;
}
body.dc37-active.dc15-active .site-content .dc15-services{
  padding-top:clamp(28px,3.7vw,51px)!important;
}
body.dc37-active.dc15-active .site-content .elementor.elementor-2695 > section.elementor-top-section{
  margin-block:0!important;
}
/* Hero has a deliberate overlap; never compress its own layout. */
body.dc37-active.dc15-active .site-content .dralaa-hm-hero{
  margin-top:0!important;
}
body.dc37-active .site-content section.dc36-contact-hub{
  padding-top:clamp(25px,3vw,39px)!important;
  padding-bottom:clamp(25px,3vw,38px)!important;
}
body.dc37-active .site-content section.dc36-contact-hub .dc36-main{
  gap:clamp(19px,3vw,41px)!important;
}
body.dc37-active .site-content section.dc36-contact-hub h2#dc36-heading{
  margin-bottom:10px!important;
  max-width:21ch!important;
  line-height:1.55!important;
}
body.dc37-active .site-content section.dc36-contact-hub h2#dc36-heading .dc37-title-first{
  display:inline-block!important;
  color:#12483c!important;
  font:inherit!important;
}
body.dc37-active .site-content section.dc36-contact-hub h2#dc36-heading em{
  position:relative!important;
  display:inline-block!important;
  padding-bottom:6px!important;
  color:#997449!important;
  font-style:normal!important;
}
body.dc37-active .site-content section.dc36-contact-hub h2#dc36-heading em::after{
  content:""!important;
  position:absolute!important;
  bottom:1px!important;
  right:0!important;
  width:100%!important;
  height:3px!important;
  border-radius:99px!important;
  background:linear-gradient(90deg,#16846a,#dbad6e,#bd945e)!important;
  transform-origin:right center!important;
}
body.dc37-active .site-content section.dc36-contact-hub p.dc36-lead{
  margin-bottom:15px!important;
}
body.dc37-active .site-content section.dc36-contact-hub .dc36-benefits{
  gap:10px!important;
  margin-bottom:15px!important;
}

/* Swipe overlays: strong visible effect on hover, keyboard focus & touch
 * with guaranteed foreground contrast on both light and dark states. */
body.dc37-active .site-content section.dc36-contact-hub .dc36-benefit{
  isolation:isolate!important;
  position:relative!important;
  outline-offset:3px!important;
  cursor:default!important;
  transition:box-shadow .32s ease,border-color .32s ease,translate .32s ease!important;
}
body.dc37-active .site-content section.dc36-contact-hub .dc36-benefit::after{
  content:""!important;
  position:absolute!important;
  z-index:0!important;
  inset:0!important;
  pointer-events:none!important;
  background:linear-gradient(126deg,#0d4c46 0%,#176f56 100%)!important;
  transform:scaleX(0)!important;
  transform-origin:right center!important;
  transition:transform .46s cubic-bezier(.2,.73,.25,1)!important;
}
body.dc37-active .site-content section.dc36-contact-hub .dc36-benefit::before{
  z-index:2!important;
  height:3px!important;
  background:linear-gradient(90deg,#ddb982,#f4d9a1)!important;
}
body.dc37-active .site-content section.dc36-contact-hub .dc36-benefit > *{
  position:relative!important;
  z-index:1!important;
}
body.dc37-active .site-content section.dc36-contact-hub .dc36-benefit h3,
body.dc37-active .site-content section.dc36-contact-hub .dc36-benefit p{
  transition:color .32s ease!important;
}
body.dc37-active .site-content section.dc36-contact-hub .dc36-benefit:is(:hover,:focus-visible,.dc37-picked){
  border-color:#b7a071!important;
  box-shadow:0 12px 26px rgba(12,72,55,.18)!important;
  translate:0 -3px!important;
}
body.dc37-active .site-content section.dc36-contact-hub .dc36-benefit:is(:hover,:focus-visible,.dc37-picked)::after{
  transform:scaleX(1)!important;
}
body.dc37-active .site-content section.dc36-contact-hub .dc36-benefit:is(:hover,:focus-visible,.dc37-picked)::before{
  width:100%!important;
}
body.dc37-active .site-content section.dc36-contact-hub .dc36-benefit:is(:hover,:focus-visible,.dc37-picked) h3{
  color:#fff!important;
}
body.dc37-active .site-content section.dc36-contact-hub .dc36-benefit:is(:hover,:focus-visible,.dc37-picked) p{
  color:#d6e9de!important;
}
body.dc37-active .site-content section.dc36-contact-hub .dc36-benefit-icon{
  transition:background-color .3s ease,color .3s ease,border-color .3s ease!important;
}
body.dc37-active .site-content section.dc36-contact-hub .dc36-benefit:is(:hover,:focus-visible,.dc37-picked) .dc36-benefit-icon{
  background:rgba(255,249,229,.13)!important;
  border-color:rgba(249,226,180,.29)!important;
  color:#f4d398!important;
}
body.dc37-active .site-content section.dc36-contact-hub .dc36-benefit:focus-visible,
body.dc37-active .site-content section.dc36-contact-hub .dc36-step:focus-visible{
  outline:3px solid #c6985b!important;
  outline-offset:3px!important;
}
/* Timeline steps also have a graceful directional swipe. */
body.dc37-active .site-content section.dc36-contact-hub li.dc36-step{
  position:relative!important;
  isolation:isolate!important;
  overflow:hidden!important;
  transition:border-color .32s ease,box-shadow .32s ease!important;
}
body.dc37-active .site-content section.dc36-contact-hub li.dc36-step::before{
  content:""!important;
  position:absolute!important;
  z-index:0!important;
  inset:0!important;
  background:linear-gradient(115deg,rgba(221,180,110,.22),rgba(255,255,255,.1))!important;
  transform:scaleX(0)!important;
  transform-origin:right!important;
  transition:transform .43s cubic-bezier(.22,.76,.22,1)!important;
}
body.dc37-active .site-content section.dc36-contact-hub li.dc36-step > *{
  position:relative!important;
  z-index:1!important;
}
body.dc37-active .site-content section.dc36-contact-hub li.dc36-step:is(:hover,:focus-visible,.dc37-picked){
  border-color:rgba(239,208,151,.67)!important;
  box-shadow:0 8px 22px rgba(1,22,22,.14)!important;
}
body.dc37-active .site-content section.dc36-contact-hub li.dc36-step:is(:hover,:focus-visible,.dc37-picked)::before{
  transform:scaleX(1)!important;
}
body.dc37-active .site-content section.dc36-contact-hub .dc36-step-num{
  transition:background-color .3s ease,transform .3s ease!important;
}
body.dc37-active .site-content section.dc36-contact-hub li.dc36-step:is(:hover,:focus-visible,.dc37-picked) .dc36-step-num{
  background:rgba(239,207,143,.28)!important;
  transform:scale(1.06)!important;
}

/* The actual light-grey jacket photo: preserve content, no synthetic
 * face/background alterations. Add photo depth & a traveling highlight. */
body.dc37-active .site-content section.dc36-contact-hub figure.dc36-portrait{
  max-width:515px!important;
  border:1px solid rgba(204,176,126,.5)!important;
  background:linear-gradient(140deg,#fff,#e6f1e7)!important;
  box-shadow:0 23px 48px rgba(8,70,52,.15),0 0 0 5px rgba(228,202,154,.07)!important;
}
body.dc37-active .site-content section.dc36-contact-hub .dc36-image-frame{
  position:relative!important;
  isolation:isolate!important;
  height:clamp(305px,29vw,374px)!important;
  background:#19342e!important;
}
body.dc37-active .site-content section.dc36-contact-hub img.dc36-doctor-photo{
  object-fit:cover!important;
  object-position:center 46%!important;
  filter:contrast(1.035) saturate(.99)!important;
  transform:scale(1.05)!important;
}
body.dc37-active .site-content section.dc36-contact-hub .dc36-photo-overlay{
  background:linear-gradient(180deg,rgba(7,38,37,.10),transparent 38%,rgba(7,38,37,.67))!important;
}
body.dc37-active .site-content section.dc36-contact-hub .dc36-image-frame::before{
  content:""!important;
  position:absolute!important;
  z-index:2!important;
  inset:-35% -65%!important;
  pointer-events:none!important;
  opacity:0;
  background:linear-gradient(100deg,transparent 35%,rgba(253,225,170,.05) 42%,rgba(255,248,213,.33) 50%,rgba(255,255,255,.1) 58%,transparent 68%)!important;
  mix-blend-mode:screen;
  transform:translateX(120%) skewX(-18deg);
}
body.dc37-active .site-content section.dc36-contact-hub .dc36-image-frame::after{
  content:""!important;
  position:absolute!important;
  z-index:2!important;
  inset:8px!important;
  border-radius:10px!important;
  border:1px solid rgba(255,228,181,.21)!important;
  pointer-events:none!important;
}
body.dc37-active .site-content section.dc36-contact-hub .dc36-image-halo{
  width:200px!important;
  height:200px!important;
  background:radial-gradient(circle,rgba(221,178,97,.28),transparent 72%)!important;
}
body.dc37-active .site-content section.dc36-contact-hub .dc36-photo-chip{
  border-color:rgba(250,228,187,.4)!important;
  background:rgba(12,70,56,.88)!important;
  box-shadow:0 6px 18px rgba(1,40,34,.2)!important;
}
body.dc37-active .site-content section.dc36-contact-hub .dc36-booking-steps{
  margin-top:clamp(16px,2.5vw,25px)!important;
  padding:15px 19px!important;
}

/* Visible but calm motion with a stable no-JS base. */
@media(prefers-reduced-motion:no-preference){
  body.dc37-active .site-content section.dc36-contact-hub.dc36-inview .dc37-title-first{
    animation:dc37-title-rise .72s cubic-bezier(.2,.76,.23,1) both!important;
  }
  body.dc37-active .site-content section.dc36-contact-hub.dc36-inview h2#dc36-heading em{
    animation:dc37-title-rise .8s .18s cubic-bezier(.2,.76,.23,1) both!important;
  }
  body.dc37-active .site-content section.dc36-contact-hub.dc36-inview h2#dc36-heading em::after{
    animation:dc37-underline 5.8s ease-in-out infinite!important;
  }
  body.dc37-active .site-content section.dc36-contact-hub.dc36-inview p.dc36-lead{
    animation:dc37-title-rise .75s .28s ease-out both!important;
  }
  body.dc37-active .site-content section.dc36-contact-hub.dc36-inview .dc36-image-frame{
    animation:dc37-photo-hover 6.5s ease-in-out infinite!important;
  }
  body.dc37-active .site-content section.dc36-contact-hub.dc36-inview .dc36-image-frame::before{
    animation:dc37-photo-sheen 7.2s cubic-bezier(.2,.6,.28,1) infinite!important;
  }
  body.dc37-active .site-content section.dc36-contact-hub.dc36-inview .dc36-image-halo{
    animation:dc37-halo 5s ease-in-out infinite!important;
  }
  body.dc37-active .site-content section.dc36-contact-hub.dc36-inview .dc36-benefit:nth-child(1){
    animation:dc37-card-entrance .62s .1s ease-out both!important;
  }
  body.dc37-active .site-content section.dc36-contact-hub.dc36-inview .dc36-benefit:nth-child(2){
    animation:dc37-card-entrance .62s .2s ease-out both!important;
  }
  body.dc37-active .site-content section.dc36-contact-hub.dc36-inview .dc36-benefit:nth-child(3){
    animation:dc37-card-entrance .62s .3s ease-out both!important;
  }
  @keyframes dc37-title-rise{
    from{opacity:.36;transform:translateY(16px)}
    to{opacity:1;transform:translateY(0)}
  }
  @keyframes dc37-card-entrance{
    from{opacity:.45;transform:translateY(12px)}
    to{opacity:1;transform:translateY(0)}
  }
  @keyframes dc37-underline{
    0%{transform:scaleX(.15);opacity:.3}
    18%,76%{transform:scaleX(1);opacity:1}
    100%{transform:scaleX(.15);opacity:.3}
  }
  @keyframes dc37-photo-hover{
    0%,100%{translate:0 0}
    50%{translate:0 -7px}
  }
  @keyframes dc37-photo-sheen{
    0%,19%{opacity:0;transform:translateX(120%) skewX(-18deg)}
    32%{opacity:.7}
    51%{opacity:.6;transform:translateX(-120%) skewX(-18deg)}
    58%,100%{opacity:0;transform:translateX(-120%) skewX(-18deg)}
  }
  @keyframes dc37-halo{
    0%,100%{opacity:.62;scale:1}
    50%{opacity:1;scale:1.11}
  }
}
@media(max-width:880px){
  body.dc37-active .site-content section.dc36-contact-hub figure.dc36-portrait{
    max-width:580px!important;
  }
  body.dc37-active .site-content section.dc36-contact-hub .dc36-image-frame{
    height:clamp(270px,49vw,355px)!important;
  }
}
@media(max-width:680px){
  body.dc37-active.dc15-active .site-content .elementor.elementor-2695 > section.elementor-top-section:not(.dralaa-hm-hero):not(.dc24-services):not(.dc25-experience):not(.dc29-video-section):not(.dc30-booking):not(.dc31-reviews):not(.dc32-gallery):not(.dc33-marquee-section):not(.dc34-compare-section):not(.dc35-steps-section):not(.dc36-contact-hub){
    padding-top:22px!important;
    padding-bottom:22px!important;
  }
  body.dc37-active.dc15-active .site-content .dralaa-hm-hero{
    margin-bottom:20px!important;
  }
  body.dc37-active .site-content section.dc36-contact-hub{
    padding:24px 15px 28px!important;
  }
  body.dc37-active .site-content section.dc36-contact-hub .dc36-image-frame{
    height:clamp(236px,58vw,315px)!important;
  }
  body.dc37-active .site-content section.dc36-contact-hub .dc36-benefit{
    cursor:pointer!important;
  }
  body.dc37-active .site-content section.dc36-contact-hub .dc36-benefit{
    flex-direction:row!important;
    align-items:flex-start!important;
  }
  body.dc37-active .site-content section.dc36-contact-hub .dc36-booking-steps{
    padding:13px!important;
    margin-top:16px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  body.dc37-active .site-content section.dc36-contact-hub .dc36-image-frame,
  body.dc37-active .site-content section.dc36-contact-hub .dc36-image-frame::before,
  body.dc37-active .site-content section.dc36-contact-hub h2#dc36-heading em::after{
    animation:none!important;
  }
  body.dc37-active .site-content section.dc36-contact-hub .dc36-image-frame::before{
    opacity:0!important;
  }
  body.dc37-active .site-content section.dc36-contact-hub .dc36-benefit::after,
  body.dc37-active .site-content section.dc36-contact-hub li.dc36-step::before{
    transition:none!important;
  }
}
