/* HDG Services Carousel — scoped to avoid affecting Elementor or the theme */
.hdg-services {
  --hdg-bg: #0E263B;
  --hdg-accent: #00b8e9;
  background: var(--hdg-bg);
  color: #fff;
  width: 100%;
  padding: 60px 16px 72px;
  box-sizing: border-box;
  isolation: isolate;
  font-family: 'Inter', Arial, sans-serif;
}
.hdg-services *, .hdg-services *::before, .hdg-services *::after {box-sizing:border-box}
.hdg-services .hdg-container {max-width:1320px;margin:0 auto}
.hdg-services .hdg-header {text-align:center;margin-bottom:42px}
.hdg-services .hdg-label {font-family:'Inter',sans-serif;font-size:12px;font-weight:700;letter-spacing:2px;color:var(--hdg-accent);margin-bottom:14px}
.hdg-services .hdg-title {font-family:'Poppins',sans-serif;font-size:clamp(28px,3.3vw,43px);font-weight:500;line-height:1.24;color:#fff;margin:0;letter-spacing:-.5px}
.hdg-services .hdg-mobile-title,.hdg-services .hdg-mobile-subtitle,.hdg-services .hdg-swipe-hint {display:none}
.hdg-services .hdg-track {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.hdg-services .hdg-card {position:relative;min-width:0;background:#102d45;border:1px solid rgba(0,184,233,.35);border-radius:14px;padding:10px 10px 22px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 0 13px rgba(0,184,233,.09);transition:border-color .35s ease,box-shadow .35s ease,transform .35s ease}
.hdg-services .hdg-card::before {content:"";position:absolute;z-index:2;top:0;left:50%;width:0;height:2px;background:var(--hdg-accent);box-shadow:0 0 15px var(--hdg-accent);transform:translateX(-50%);transition:width .4s ease}
.hdg-services .hdg-image {width:100%;aspect-ratio:1.37/1;overflow:hidden;position:relative;border-radius:10px;background:#092035}
.hdg-services .hdg-image img {width:100%;height:100%;display:block;object-fit:cover;transition:transform .7s cubic-bezier(.2,.7,.2,1)}
.hdg-services .hdg-image-placeholder {width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:15px;color:#89b9d1;background:radial-gradient(circle at 60% 40%,#21506a,#0b2032 70%);font-size:10px;letter-spacing:1.5px;font-weight:700;text-align:center}
.hdg-services .hdg-glass-icon {display:block;width:75px;height:65px;border:2px solid #70b1d0;position:relative;transform:skewY(-5deg);opacity:.68}
.hdg-services .hdg-glass-icon:before {content:"";position:absolute;left:50%;top:0;bottom:0;border-left:2px solid #70b1d0}
.hdg-services .hdg-glass-icon:after {content:"";position:absolute;left:0;right:0;top:50%;border-top:2px solid #70b1d0}
.hdg-services .hdg-name {font-family:'Poppins',sans-serif;font-size:21px;font-weight:500;line-height:1.35;text-align:center;color:#fff;margin:22px 8px 9px;min-height:56px}
.hdg-services .hdg-description {font-family:'Inter',Arial,sans-serif;font-size:15px;font-weight:400;line-height:1.6;color:#d3e1eb;text-align:center;margin:5px 10px 24px;flex-grow:1}
.hdg-services .hdg-cta {position:relative;isolation:isolate;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;align-self:center;gap:12px;max-width:100%;margin-top:auto;padding:12px 20px;border:1px solid rgba(0,184,233,.52);border-radius:8px;background:linear-gradient(110deg,#061a2b,#0c354e);box-shadow:inset 0 0 8px rgba(0,184,233,.07);color:#fff!important;font-family:'Poppins',sans-serif;font-size:14px;font-weight:500;line-height:1.35;text-decoration:none!important;transition:transform .25s ease,border-color .3s ease,box-shadow .3s ease}
.hdg-services .hdg-cta::before {content:"";position:absolute;top:0;left:-80%;width:48%;height:100%;z-index:-1;background:linear-gradient(90deg,transparent,rgba(70,210,255,.32),transparent);transform:skewX(-22deg);pointer-events:none}
.hdg-services .hdg-cta-arrow {display:inline-block;font-family:Arial,sans-serif;font-size:19px;transition:transform .3s ease}
.hdg-services .hdg-cta:active {transform:scale(.97)}
.hdg-services .hdg-cta:focus-visible,.hdg-services .hdg-arrow:focus-visible,.hdg-services .hdg-track:focus-visible {outline:2px solid #61dfff;outline-offset:3px}
@media (hover:hover) {
  .hdg-services .hdg-card:hover {transform:translateY(-7px);border-color:var(--hdg-accent);box-shadow:0 12px 35px rgba(0,184,233,.19),0 0 18px rgba(0,184,233,.15)}
  .hdg-services .hdg-card:hover::before {width:75%}
  .hdg-services .hdg-card:hover img {transform:scale(1.075)}
  .hdg-services .hdg-cta:hover {color:#fff!important;transform:translateY(-3px);border-color:var(--hdg-accent);box-shadow:0 0 20px rgba(0,184,233,.28),inset 0 0 12px rgba(0,184,233,.13)}
  .hdg-services .hdg-cta:hover::before {animation:hdg-button-shine .85s ease}
  .hdg-services .hdg-cta:hover .hdg-cta-arrow {transform:translateX(5px)}
}
@keyframes hdg-button-shine {from{left:-80%}to{left:150%}}
@keyframes hdg-enter {from{opacity:0;transform:translateY(26px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes hdg-fade {from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
.hdg-services.hdg-in-view .hdg-header {animation:hdg-fade .7s ease-out backwards}
.hdg-services.hdg-in-view .hdg-card {animation:hdg-enter .7s ease-out backwards}
.hdg-services.hdg-in-view .hdg-card:nth-child(1) {animation-delay:.08s}
.hdg-services.hdg-in-view .hdg-card:nth-child(2) {animation-delay:.16s}
.hdg-services.hdg-in-view .hdg-card:nth-child(3) {animation-delay:.24s}
.hdg-services.hdg-in-view .hdg-card:nth-child(4) {animation-delay:.32s}
.hdg-services.hdg-in-view .hdg-card:nth-child(5) {animation-delay:.40s}
.hdg-services.hdg-in-view .hdg-card:nth-child(6) {animation-delay:.48s}
.hdg-services.hdg-in-view .hdg-card:first-child .hdg-cta::before {animation:hdg-button-shine 1s ease 1.05s backwards}
.hdg-services .hdg-navigation {display:none}
@media (min-width:768px) and (max-width:1024px) {.hdg-services .hdg-track {grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:767px) {
  .hdg-services {padding:38px 0 46px;overflow:hidden}
  .hdg-services .hdg-header {padding:0 20px;margin-bottom:16px}
  .hdg-services .hdg-label {font-size:12px;margin-bottom:11px}
  .hdg-services .hdg-desktop-title {display:none}
  .hdg-services .hdg-mobile-title {display:block;font-size:clamp(24px,6.8vw,29px);line-height:1.23;max-width:390px;margin:0 auto}
  .hdg-services .hdg-mobile-subtitle {display:block;max-width:340px;margin:12px auto 0;font-size:14px;line-height:1.55;color:#c1d7e5}
  .hdg-services .hdg-swipe-hint {display:inline-flex;align-items:center;gap:10px;margin-top:17px;padding:8px 14px;border:1px solid rgba(0,184,233,.38);border-radius:40px;background:rgba(0,184,233,.09);color:#90e5fb;font-size:10px;font-weight:700;letter-spacing:1px}
  .hdg-services .hdg-hint-icon {display:inline-block;font-size:19px;line-height:1;animation:hdg-swipe 2.1s ease-in-out 3}
  .hdg-services .hdg-track {display:flex;gap:14px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding-left:20px;scroll-behavior:smooth;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding:10px 66px 25px 20px}
  .hdg-services .hdg-track::-webkit-scrollbar {display:none}
  .hdg-services .hdg-card {flex:0 0 calc(100% - 46px);width:calc(100% - 46px);scroll-snap-align:start;scroll-snap-stop:always;padding:9px 9px 19px;border-radius:14px;opacity:.76;transform:none;box-shadow:none;transition:opacity .35s ease,border-color .35s ease,box-shadow .35s ease}
  .hdg-services .hdg-card.hdg-active {opacity:1;border-color:rgba(0,184,233,.85);box-shadow:0 0 22px rgba(0,184,233,.18)}
  .hdg-services .hdg-card.hdg-active::before {width:65%;animation:hdg-line .65s ease both}
  .hdg-services .hdg-image {aspect-ratio:1/.86}
  .hdg-services .hdg-name {font-size:21px;margin:19px 4px 9px;min-height:0}
  .hdg-services .hdg-description {font-size:14px;line-height:1.55;min-height:45px;margin:8px 7px 20px}
  .hdg-services .hdg-cta {font-size:14px;padding:12px 18px;margin-bottom:3px}
  .hdg-services .hdg-navigation {display:flex;align-items:center;justify-content:space-between;max-width:420px;padding:4px 25px 0;margin:0 auto}
  .hdg-services .hdg-arrow {display:flex;align-items:center;justify-content:center;width:46px;height:46px;flex:0 0 46px;background:#061f30;border:1px solid rgba(0,184,233,.65);border-radius:50%;color:#fff;font-size:26px;line-height:1;padding:0;cursor:pointer;box-shadow:0 0 10px rgba(0,184,233,.12);transition:transform .25s ease,background .25s ease,box-shadow .25s ease}
  .hdg-services .hdg-arrow:active {transform:scale(.9);background:rgba(0,184,233,.22)}
  .hdg-services.hdg-in-view:not(.hdg-used) .hdg-next {animation:hdg-pulse-arrow 2.3s ease-in-out 3;animation-delay:1s}
  .hdg-services .hdg-nav-center {display:flex;flex-direction:column;align-items:center;gap:9px}
  .hdg-services .hdg-count {font-family:'Inter',sans-serif;color:#aec3d4;font-size:13px;letter-spacing:1.2px}
  .hdg-services .hdg-count strong {color:#fff;font-weight:700}
  .hdg-services .hdg-dots {display:flex;gap:7px;align-items:center}
  .hdg-services .hdg-dot {display:block;width:6px;height:6px;border-radius:10px;background:#62798d;transition:width .35s ease,background .35s ease}
  .hdg-services .hdg-dot.active {width:24px;background:var(--hdg-accent);box-shadow:0 0 8px rgba(0,184,233,.45)}
}
@keyframes hdg-swipe {0%,100%{transform:translateX(-4px)}50%{transform:translateX(6px)}}
@keyframes hdg-line {from{width:0}to{width:65%}}
@keyframes hdg-pulse-arrow {0%,100%{box-shadow:0 0 9px rgba(0,184,233,.1);transform:translateX(0)}50%{box-shadow:0 0 22px rgba(0,184,233,.43);transform:translateX(4px)}}
@media (prefers-reduced-motion:reduce) {
  .hdg-services *,.hdg-services *::before,.hdg-services *::after {animation:none!important;scroll-behavior:auto!important;transition:none!important}
}
