.elementor-164 .elementor-element.elementor-element-caa825b{--display:flex;}body.elementor-page-164:not(.elementor-motion-effects-element-type-background), body.elementor-page-164 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:var( --e-global-color-6a76d07 );}/* Start custom CSS for html, class: .elementor-element-a70b230 *//* ================================
   HYDROGRAFIX – GALERIE (CSS كامل)
   - Cards: image FULL (contain) + blur fill للخلفية
   - Modal JS: no hash = no jump to top
================================== */

.hg-gal{
  --bg:#070B14;
  --panel:#0B1220;
  --panel2:#0A1424;
  --text:#EAF0FF;
  --muted:rgba(234,240,255,.72);
  --line:rgba(255,255,255,.10);
  --orange:#FF8A00;
  --orange2:#FFB15A;

  background:
    radial-gradient(1000px 700px at 12% 0%, rgba(255,138,0,.14), transparent 60%),
    radial-gradient(900px 650px at 90% 10%, rgba(49,130,255,.10), transparent 55%),
    linear-gradient(180deg, #050812 0%, var(--bg) 30%, #050812 100%);
  color: var(--text);
  padding: 0 0 70px;
  overflow:hidden;
}

.hg-gal *{ box-sizing:border-box; }
.hg-gal img{ max-width:100%; display:block; }

.hg-gal-wrap{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
}

/* HERO */
.hg-gal-hero{ padding: 34px 0 18px; }
.hg-gal-hero-in{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 18px;
  align-items: stretch;
}
.hg-gal-kicker{
  display:inline-flex;
  gap:10px;
  align-items:center;
  color: var(--muted);
  font-weight: 800;
  letter-spacing:.35px;
  text-transform: uppercase;
  font-size: 12px;
  margin: 0 0 10px;
}
.hg-gal-hero-text{
  background: rgba(11,18,32,.72);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 30px 90px rgba(0,0,0,.45);
  backdrop-filter: blur(10px);
}
.hg-gal-hero-text h1{
  margin: 0 0 10px;
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.6px;
}
.hg-gal-sub{
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 15px;
}

.hg-gal-hero-actions{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
  margin-bottom: 14px;
}
.hg-gal-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 16px;
  border-radius: 14px;
  text-decoration:none;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .25px;
  font-size: 13px;
  background: linear-gradient(180deg, var(--orange2), var(--orange));
  color: #0B1220;
  border: 1px solid rgba(255,138,0,.55);
  box-shadow: 0 18px 40px rgba(255,138,0,.18);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.hg-gal-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 24px 55px rgba(255,138,0,.22);
  filter: saturate(1.05);
}
.hg-gal-btn-ghost{
  background: rgba(255,255,255,.04);
  color: var(--text);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: none;
}
.hg-gal-btn-ghost:hover{ box-shadow: 0 16px 40px rgba(0,0,0,.35); }

.hg-gal-stats{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
  margin-top: 10px;
}
.hg-gal-stat{
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: 12px;
}
.hg-gal-stat strong{
  display:block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing:.25px;
}
.hg-gal-stat span{
  display:block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 700;
  font-size: 12px;
}

/* HERO ART */
.hg-gal-hero-art{
  position: relative;
  border-radius: 22px;
  border: 1px solid var(--line);
  background:
    radial-gradient(500px 320px at 30% 30%, rgba(255,138,0,.18), transparent 60%),
    radial-gradient(520px 340px at 70% 70%, rgba(70,140,255,.14), transparent 55%),
    linear-gradient(180deg, rgba(11,18,32,.65), rgba(11,18,32,.85));
  overflow:hidden;
  box-shadow: 0 30px 90px rgba(0,0,0,.45);
}
.hg-gal-orb{
  position:absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  opacity: .9;
}
.hg-gal-orb-1{
  left: -90px; top: -90px;
  background: radial-gradient(circle at 30% 30%, rgba(255,177,90,.95), rgba(255,138,0,.10) 60%, transparent 72%);
}
.hg-gal-orb-2{
  right: -120px; bottom: -120px;
  background: radial-gradient(circle at 30% 30%, rgba(90,160,255,.75), rgba(90,160,255,.08) 60%, transparent 72%);
}
.hg-gal-feature{
  position:absolute;
  inset: 18px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  gap: 6px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(0,0,0,.22));
}
.hg-gal-feature-badge{
  width:max-content;
  padding: 8px 10px;
  border-radius: 999px;
  font-weight: 950;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing:.25px;
  background: rgba(255,138,0,.14);
  border: 1px solid rgba(255,138,0,.35);
  color: var(--orange2);
}
.hg-gal-feature-title{ font-size: 18px; font-weight: 950; }
.hg-gal-feature-sub{ color: var(--muted); font-weight: 700; font-size: 13px; }

/* BAR */
.hg-gal-bar{
  margin: 16px 0 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(11,18,32,.62);
  backdrop-filter: blur(10px);
}
.hg-gal-chips{ display:flex; gap:10px; flex-wrap:wrap; }
.hg-gal-chip{
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing:.25px;
  font-size: 12px;
  color: rgba(234,240,255,.9);
}
.hg-gal-chip-active{
  background: rgba(255,138,0,.14);
  border-color: rgba(255,138,0,.35);
  color: var(--orange2);
}
.hg-gal-note{
  display:flex;
  align-items:center;
  gap: 10px;
  color: var(--muted);
  font-weight: 800;
  font-size: 12px;
}
.hg-gal-dot{
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 6px rgba(255,138,0,.14);
}

/* GRID */
.hg-gal-grid{
  display:grid;
  grid-template-columns: repeat(12, minmax(0,1fr));
  gap: 14px;
}

/* Cards */
.hg-gal-card{
  grid-column: span 4;
  text-decoration:none;
  color: inherit;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(11,18,32,.55);
  overflow:hidden;
  box-shadow: 0 22px 65px rgba(0,0,0,.42);
  transform: translateZ(0);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, filter .25s ease;
  position:relative;
}
.hg-gal-card:hover{
  transform: translateY(-6px);
  border-color: rgba(255,138,0,.40);
  box-shadow: 0 30px 85px rgba(0,0,0,.55);
  filter: saturate(1.05);
}

/* Media: FULL image + blur fill */
.hg-gal-media{
  position:relative;
  margin:0;
  aspect-ratio: 4/3;
  overflow:hidden;
  background: rgba(0,0,0,.22);
}
.hg-gal-tall .hg-gal-media{ aspect-ratio: 4/5; }
.hg-gal-wide{ grid-column: span 8; }
.hg-gal-wide .hg-gal-media{ aspect-ratio: 16/9; }

/* blurred layer from same img */
.hg-gal-media::before{
  content:"";
  position:absolute;
  inset:-12%;
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  transform: scale(1.10);
  filter: blur(18px) brightness(.55) saturate(1.05);
  opacity: .95;
}

/* real image FULL */
.hg-gal-media img{
  position: relative;
  z-index: 1;
  width:100%;
  height:100%;
  object-fit: contain;
  object-position:center;
  filter: contrast(1.06);
  transition: filter .35s ease;
}
.hg-gal-card:hover .hg-gal-media img{
  filter: contrast(1.08) saturate(1.08);
}

/* gloss overlay */
.hg-gal-media::after{
  content:"";
  position:absolute;
  inset:-20%;
  z-index:2;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.16) 52%, transparent 64%);
  transform: translateX(-40%) rotate(8deg);
  transition: transform .55s ease;
  pointer-events:none;
  opacity: .45;
}
.hg-gal-card:hover .hg-gal-media::after{
  transform: translateX(55%) rotate(8deg);
}

/* badge */
.hg-gal-badge{
  position:absolute;
  left: 12px; top: 12px;
  z-index:3;
  padding: 8px 10px;
  border-radius: 999px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing:.25px;
  font-size: 12px;
  background: rgba(0,0,0,.38);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  color: var(--orange2);
}

/* CTA STRIP */
.hg-gal-cta{
  margin-top: 18px;
  display:flex;
  justify-content:space-between;
  gap: 14px;
  align-items:center;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(900px 280px at 10% 0%, rgba(255,138,0,.18), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(0,0,0,.20));
  box-shadow: 0 30px 90px rgba(0,0,0,.45);
}
.hg-gal-cta h2{ margin:0 0 6px; font-size:18px; font-weight:950; }
.hg-gal-cta p{ margin:0; color:var(--muted); font-weight:800; font-size:13px; }

/* ===== JS MODAL (No jump) ===== */
.hg-gal-modal{
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(0,0,0,.78);
  z-index: 99999;
}
.hg-gal-modal.is-open{ display: grid; }

.hg-gal-modal-bg{
  position:absolute;
  inset:0;
  background: transparent;
  border:0;
  cursor: pointer;
}

.hg-gal-modal-in{
  position: relative;
  width: min(1100px, 92vw);
  border-radius: 20px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(11,18,32,.92);
  box-shadow: 0 40px 140px rgba(0,0,0,.65);
}
.hg-gal-modal-in img{
  width: 100%;
  height: auto;
  max-height: 76vh;
  object-fit: contain;
  background: rgba(0,0,0,.15);
}

.hg-gal-modal-x{
  position:absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  cursor: pointer;
}
.hg-gal-modal-x:hover{ border-color: rgba(255,138,0,.55); color: var(--orange2); }

html.hg-gal-noscroll, body.hg-gal-noscroll{ overflow: hidden !important; }

/* Responsive */
@media (max-width: 980px){
  .hg-gal-hero-in{ grid-template-columns: 1fr; }
  .hg-gal-wide{ grid-column: span 12; }
  .hg-gal-card{ grid-column: span 6; }
}
@media (max-width: 640px){
  .hg-gal-card{ grid-column: span 12; }
  .hg-gal-bar{ flex-direction:column; align-items:flex-start; }
  .hg-gal-cta{ flex-direction:column; align-items:flex-start; }
}/* End custom CSS */