/* =========================================================
   HI-INFOTECH GALLERY  (Elementor classes: hi-gallery-section, hi-gallery, hi-gallery-home, hi-gallery-cta)
   Palette: navy #0A1A33 / blue #1E6BFF / cyan #00C2FF / amber #FFB020
   ========================================================= */
.hi-gallery{width:100%}
.hi-gallery .gallery{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:0!important}
.hi-gallery .gallery br{display:none}
.hi-gallery .gallery-item{width:auto!important;max-width:none!important;margin:0!important;padding:0!important;float:none!important}
.hi-gallery .gallery-icon{
  position:relative;overflow:hidden;border-radius:16px;aspect-ratio:4/3;
  background:#0A1A33;box-shadow:0 14px 34px -18px rgba(10,26,51,.45);
  transition:transform .45s var(--hi-ease,ease),box-shadow .45s var(--hi-ease,ease);
}
.hi-gallery .gallery-icon a{display:block;width:100%;height:100%}
.hi-gallery .gallery-icon img{
  width:100%!important;height:100%!important;object-fit:cover;display:block;border:0!important;
  transition:transform .7s var(--hi-ease,ease),opacity .45s;
}
/* overlay + zoom icon */
.hi-gallery .gallery-icon a::before{
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(180deg,rgba(10,26,51,0) 35%,rgba(10,26,51,.85) 100%);
  opacity:0;transition:opacity .45s;
}
.hi-gallery .gallery-icon a::after{
  content:"\f00e";font-family:"Font Awesome 5 Free";font-weight:900;font-size:18px;
  position:absolute;left:50%;top:50%;z-index:2;pointer-events:none;
  width:52px;height:52px;line-height:52px;text-align:center;border-radius:50%;
  color:#0A1A33;background:#FFB020;box-shadow:0 10px 24px -8px rgba(255,176,32,.8);
  transform:translate(-50%,-50%) scale(.6);opacity:0;transition:transform .4s var(--hi-ease,ease),opacity .4s;
}
.hi-gallery .gallery-icon:hover{transform:translateY(-6px);box-shadow:0 24px 46px -20px rgba(30,107,255,.55)}
.hi-gallery .gallery-icon:hover img{transform:scale(1.08)}
.hi-gallery .gallery-icon:hover a::before{opacity:1}
.hi-gallery .gallery-icon:hover a::after{opacity:1;transform:translate(-50%,-50%) scale(1)}
.hi-gallery .gallery-caption{display:none}

.hi-gallery-cta{margin-top:6px}

/* Tablet: full gallery 3 columns, home preview (8 photos) 2 columns */
@media (max-width:1024px){
  .hi-gallery .gallery{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
  .hi-gallery-home .gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:880px){
  .hi-gallery .gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* Mobile */
@media (max-width:767px){
  .hi-gallery .gallery{gap:10px}
  .hi-gallery .gallery-icon{border-radius:12px}
  .hi-gallery .gallery-icon a::after{width:40px;height:40px;line-height:40px;font-size:14px}
  .hi-gallery-cta,.hi-gallery-cta .elementor-button{width:100%}
  .hi-gallery-cta .elementor-button{justify-content:center}
}
@media (hover:none){
  .hi-gallery .gallery-icon:hover{transform:none}
}
@media (prefers-reduced-motion:reduce){
  .hi-gallery .gallery-icon,.hi-gallery .gallery-icon img{transition:none}
}
