/* VAPT HUB — home.css : premium enterprise homepage (complete + enhanced animations) */

/* ============================================================
   GLOBAL CYBER ENHANCEMENTS (Shapes, Glows, Buttons)
   ============================================================ */

/* Generic Cyber Shape (Replaces simple corners) */
.cyber-shape {
  position: relative;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}
.cyber-shape-img {
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 30px 100%, 0 calc(100% - 30px));
}

/* Hover Glow & Lift Effect - strictly separated from perspective */
.glow-hover {
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}
.glow-hover:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 10px 30px rgba(255, 20, 40, 0.15);
  border-color: var(--red);
  z-index: 10;
}

/* Float Animations for Items */
.float-item { animation: floatAnim 4s ease-in-out infinite; }
.float-item:nth-child(even) { animation-delay: 1s; }
.float-item:nth-child(3n) { animation-delay: 2s; }
@keyframes floatAnim { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* Pulsing Button Animation */
.pulse-btn {
  position: relative;
  overflow: hidden;
}
.pulse-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--red);
  opacity: 0;
  transform: scale(1);
  transition: all 0.6s ease-out;
}
.pulse-btn:hover::after {
  opacity: 1;
  transform: scale(1.15, 1.3);
  opacity: 0;
  border-color: transparent;
}

/* Enhanced Chips */
.cyber-chip {
  display: inline-block;
  border: 1px solid var(--red30);
  background: rgba(255, 20, 40, 0.05);
  padding: 8px 14px;
  font-family: var(--f-sec);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--tx2);
  text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  transition: .3s;
}
.cyber-chip:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  box-shadow: 0 0 15px rgba(255, 20, 40, 0.6);
  transform: translateY(-2px);
  animation-play-state: paused;
}

/* Shining Text Animation */
.shine-text {
  background: linear-gradient(90deg, var(--red) 0%, #ff6b6b 50%, var(--red) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shineAnim 3s linear infinite;
}
@keyframes shineAnim { to { background-position: 200% center; } }

/* ---------- cyber corners (Legacy fallback) ---------- */
.cyber-corners{position:relative;clip-path:polygon(0 0,calc(100% - 16px) 0,100% 16px,100% 100%,16px 100%,0 calc(100% - 16px))}

/* ---------- HERO : LEFT→RIGHT 5-IMAGE SLIDER ---------- */
.hm-hero{position:relative;min-height:92vh;overflow:hidden;display:flex;align-items:center}
.hm-hero-slider{position:absolute;inset:0;overflow:hidden}
.hm-slide{position:absolute;inset:0;transform:translateX(102%);visibility:hidden;
transition:transform 1.15s cubic-bezier(.72,0,.28,1),visibility 0s linear 1.15s}
.hm-slide.is-active{transform:translateX(0);visibility:visible;transition:transform 1.15s cubic-bezier(.72,0,.28,1),visibility 0s linear 0s}
.hm-slide.is-exit{transform:translateX(-102%);visibility:visible;transition:transform 1.15s cubic-bezier(.72,0,.28,1),visibility 0s linear 1.15s}
.hm-slide-bg{position:absolute;inset:0;background-size:cover;background-position:center;transform:scale(1)}
.hm-slide.is-active .hm-slide-bg{animation:hmZoom 7.5s ease-out forwards}
@keyframes hmZoom{from{transform:scale(1)}to{transform:scale(1.12)}}
.hm-slide-shade{position:absolute;inset:0;background:linear-gradient(100deg,rgba(5,5,5,.94) 0%,rgba(5,5,5,.80) 45%,rgba(5,5,5,.45) 75%,rgba(255,20,40,.10) 100%)}
.hm-slide-shade::after{content:"";position:absolute;left:0;right:0;bottom:0;height:160px;background:linear-gradient(180deg,transparent,var(--bg0))}
.hm-slide-inner{position:relative;z-index:3;display:flex;align-items:center;min-height:92vh}
.hm-slide-copy{max-width:780px}
.hm-slide-copy > *{opacity:0;transform:translateX(70px);transition:opacity .7s ease,transform .7s cubic-bezier(.2,.7,.2,1)}
.hm-slide.is-active .hm-slide-copy > *{opacity:1;transform:translateX(0)}
.hm-slide.is-active .hm-slide-copy > *:nth-child(1){transition-delay:.45s}
.hm-slide.is-active .hm-slide-copy > *:nth-child(2){transition-delay:.55s}
.hm-slide.is-active .hm-slide-copy > *:nth-child(3){transition-delay:.7s}
.hm-slide.is-active .hm-slide-copy > *:nth-child(4){transition-delay:.85s}
.hm-eyebrow{display:inline-flex;align-items:center;gap:10px;font-family:var(--f-tech);font-size:10px;font-weight:600;letter-spacing:.3em;color:var(--tx3);border:1px solid var(--red30);background:var(--red15);padding:9px 16px;text-transform:uppercase;width:max-content}
.hm-eyebrow::before{content:"";width:6px;height:6px;background:var(--red);transform:rotate(45deg)}
.hm-h1{font-size:clamp(2.4rem,5.4vw,4.4rem);font-weight:700;line-height:1.08;text-transform:uppercase;margin:22px 0 22px;color:#fff;text-shadow:0 4px 16px rgba(0,0,0,.85)}
.type-caret{display:inline-block;width:3px;height:.9em;background:var(--red);margin-left:6px;vertical-align:middle;animation:hmCaret 1s steps(2) infinite}
@keyframes hmCaret{50%{opacity:0}}
.hm-lede{max-width:600px;color:#D7DAE0;margin-bottom:30px;text-shadow:0 2px 10px rgba(0,0,0,.9)}
.hm-slide-actions{display:flex;gap:18px;flex-wrap:wrap}
.hm-slide-dots{position:absolute;bottom:54px;left:50%;transform:translateX(-50%);z-index:5;display:flex;gap:10px}
.hm-slide-dots i{width:22px;height:4px;background:rgba(255,255,255,.25);cursor:pointer;transition:.3s;clip-path:polygon(0 0,calc(100% - 3px) 0,100% 100%,3px 100%)}
.hm-slide-dots i.on{background:var(--red);box-shadow:0 0 10px rgba(255,20,40,.7)}
.hm-scroll{position:absolute;left:50%;bottom:16px;transform:translateX(-50%);z-index:5;font-family:var(--f-tech);font-size:8px;letter-spacing:.3em;color:var(--tx4);display:flex;flex-direction:column;align-items:center;gap:8px}
.hm-scroll span{width:1px;height:24px;background:linear-gradient(180deg,var(--red),transparent);animation:hmScroll 1.6s ease-in-out infinite}
@keyframes hmScroll{0%{transform:scaleY(.2);transform-origin:top}50%{transform:scaleY(1)}100%{transform:scaleY(.2)}}

/* ---------- trust ---------- */
.hm-trust{padding:26px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:rgba(9,10,13,.6)}
.hm-trust-row{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.hm-trust-item{position:relative;display:flex;align-items:center;gap:12px;padding:14px 16px;border:1px solid var(--line);background: rgba(16,17,20,.4); transition:.3s;overflow:hidden;text-decoration:none}
.hm-trust-item:hover{border-color:var(--red); background: rgba(255,20,40,.05); transform: translateY(-3px);}
.hm-trust-ico{width:26px;height:26px;color:var(--red);flex:none;transition: .3s;}
.hm-trust-ico svg{width:100%;height:100%}
.hm-trust-item:hover .hm-trust-ico { filter: drop-shadow(0 0 6px var(--red)); transform: scale(1.1); }
.hm-trust-l{font-family:var(--f-sec);font-weight:700;font-size:13px;letter-spacing:.2em;color:var(--tx2)}
.hm-trust-bar{position:absolute;left:0;bottom:0;height:2px;width:100%;background:rgba(255,255,255,.06)}
.hm-trust-bar i{display:block;height:100%;width:0;background:var(--red);transition:width .5s}
.hm-trust-item:hover .hm-trust-bar i{width:100%;animation:hmBar 1.2s linear infinite}
@keyframes hmBar{from{background-position:0 0}to{background-position:24px 0}}

/* ---------- section heads ---------- */
.hm-sec-head{margin-bottom:40px;max-width:760px}
.hm-h2{font-size:clamp(1.7rem,3.4vw,2.6rem);font-weight:700;text-transform:uppercase;line-height:1.1;margin:14px 0 12px;color:#fff}
.hm-sec-sub{color:var(--tx3)}

/* ---------- who ---------- */
.hm-who{padding:90px 0}
.hm-who-grid{display:grid;grid-template-columns:.95fr 1.05fr;gap:60px;align-items:center}
.hm-who-visual .hud-frame{aspect-ratio:1/0.96;overflow:hidden; box-shadow: 0 0 40px rgba(255,20,40,.05); transition: .5s ease;}
.hm-who-visual:hover .hud-frame{box-shadow: 0 0 60px rgba(255,20,40,.15); transform: translateY(-5px);}
.hm-img-tag{position:absolute;top:14px;left:14px;z-index:8;font-family:var(--f-tech);font-size:9px;letter-spacing:.22em;color:#fff;background:rgba(5,5,5,.75);border:1px solid var(--red30);padding:7px 12px}
.hm-who-copy p{margin-bottom:16px;color:var(--tx3)}
.hm-who-copy p strong{color:#fff}


/* ============================================================
   SERVICES FLIP CARDS + BREATHING CYBER BORDER (FOOLPROOF 3D)
   ============================================================ */
.hm-svc{padding:90px 0}
.hm-svc-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px} 

@property --svcAngle{
  syntax:'<angle>';
  initial-value:0deg;
  inherits:false;
}

/* 1. Outer wrapper holds NO 3D, only hover/reveal animations */
.card-wrapper {
  display: block;
  width: 100%;
}

/* 2. Perspective Container. This MUST NOT move on hover. */
.hm-flip {
  perspective: 1200px;
  -webkit-perspective: 1200px;
  width: 100%;
  height: 380px; 
  cursor: pointer;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

/* 3. The flipping hinge */
.hm-flip-inner {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
  border-radius: 12px;
}
.hm-flip.flipped .hm-flip-inner {
  transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
}

/* 4. The 3D faces */
.hm-flip-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(16,17,20,.95);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  overflow: hidden; /* Clips the background images nicely */
}

/* 5. Front face styling & state transitions */
.hm-flip-face.front {
  transform: rotateY(0deg);
  -webkit-transform: rotateY(0deg);
  z-index: 2;
  padding: 28px 24px 30px;
  gap: 14px;
}
.hm-flip.flipped .hm-flip-face.front {
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease 0.2s, visibility 0.3s ease 0.2s;
}
.hm-flip:not(.flipped) .hm-flip-face.front {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease 0.2s, visibility 0.3s ease 0.2s;
}

/* 6. Back face styling & state transitions */
.hm-flip-face.back {
  transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
  z-index: 1;
  background: linear-gradient(160deg, rgba(255,20,40,.16), rgba(16,17,20,.98) 55%);
  border-color: var(--red55);
  padding: 26px 24px;
  justify-content: flex-start;
  gap: 14px;
  text-align: left;
}
.hm-flip.flipped .hm-flip-face.back {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease 0.2s, visibility 0.3s ease 0.2s;
}
.hm-flip:not(.flipped) .hm-flip-face.back {
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease 0.2s, visibility 0.3s ease 0.2s;
}

/* Animated Cyber Border isolated completely inside the front face */
.hm-cyber-border {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 2px;
  background: conic-gradient(from var(--svcAngle), 
    rgba(255,20,40,0) 0deg, 
    rgba(255,20,40,0.8) 45deg, 
    #ffffff 55deg, 
    rgba(255,20,40,0.8) 65deg, 
    rgba(255,20,40,0) 110deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 5;
  animation: svcBorderSpin 3.5s linear infinite;
}
@keyframes svcBorderSpin{to{--svcAngle:360deg}}

.hm-flip-face.back h3 {
  font-size:15px; text-transform:uppercase; color:#fff; text-align:center; padding-bottom:10px; border-bottom:1px dashed rgba(255,255,255,0.1); margin-bottom:4px;
}

/* 4 Bullet Points Styling */
.hm-svc-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1; 
  position: relative;
  z-index: 2;
}
.hm-svc-points li {
  position: relative;
  padding-left: 20px;
  font-size: 13px;
  color: var(--tx2);
  line-height: 1.4;
}
.hm-svc-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 6px;
  height: 6px;
  background: var(--red);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.hm-flip-btn { justify-content:center; margin-top:auto; position: relative; z-index: 2; }
.hm-flip-hint { font-family:var(--f-tech); font-size:8px; letter-spacing:.3em; color:var(--red); margin-top:auto; padding-top:10px; text-align:center; }
.hm-svc-bg { position:absolute; inset:0; background-size:cover; background-position:center; opacity:.10; transition:opacity .4s, transform .8s; pointer-events:none; z-index: 1; }
.hm-flip:hover .hm-svc-bg { opacity:.25; transform:scale(1.08); }
.hm-svc-front > *:not(.hm-svc-bg):not(.hm-cyber-border) { position:relative; z-index:2; }
.hm-svc-micro { position:absolute; top:0; left:0; right:0; height:2px; background:repeating-linear-gradient(90deg,var(--red55) 0 8px,transparent 8px 18px); opacity:0; transition:.3s; z-index:3; }
.hm-flip:hover .hm-svc-micro { opacity:1; animation:hmDash 1.2s linear infinite; }

.hm-svc-top{display:flex;justify-content:space-between;align-items:center}
.hm-svc-ico{width:54px;height:54px;display:flex;align-items:center;justify-content:center;border:1px solid var(--line);color:var(--red);background:var(--red15);transition:.35s;flex:none; border-radius: 8px;}
.hm-svc-ico svg{width:26px;height:26px}
.hm-flip:hover .hm-svc-ico{background:var(--red);color:#fff; transform:scale(1.1); filter:drop-shadow(0 0 8px var(--red));}
.hm-svc-num{font-family:var(--f-tech);font-size:11px;letter-spacing:.24em;color:var(--tx4)}
.hm-svc-front h3{font-size:16px;font-weight:600;letter-spacing:.04em;text-transform:uppercase}
.hm-svc-front p{font-size:13px;color:var(--tx4);line-height:1.6;flex:1}


/* ---------- training flip ---------- */
.hm-train{padding:90px 0}
.hm-train-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.hm-train-front{padding:0;}
.hm-train-front .img-shell{height:170px;flex:none; overflow:hidden;}
.hm-train-front .img-shell img {transition: transform .6s ease;}
.hm-flip:hover .hm-train-front .img-shell img {transform: scale(1.1);}

.hm-train-body{padding:20px 20px 24px;display:flex;flex-direction:column;gap:10px;flex:1}
.hm-train-ico{width:42px;height:42px;display:flex;align-items:center;justify-content:center;color:var(--red);background:var(--red15);border:1px solid var(--red30); transition: .3s; border-radius: 6px;}
.hm-flip:hover .hm-train-ico {background: var(--red); color:#fff; transform: translateY(-5px);}
.hm-train-ico svg{width:22px;height:22px}
.hm-train-body h3{font-size:15px;font-weight:600;text-transform:uppercase;color:#fff}
.hm-train-cta{margin-top:40px;text-align:center}

.hm-train-back{justify-content:center; text-align:center; padding: 26px 24px;}
.hm-train-back p{font-size:13px;color:var(--tx3);line-height:1.6; margin-bottom: 10px;}
.hm-flip-meta{display:flex;gap:8px;justify-content:center;flex-wrap:wrap; margin-bottom: 16px;}
.hm-flip-meta span{font-family:var(--f-tech);font-size:9px;letter-spacing:.16em;color:var(--tx2);border:1px solid var(--line);padding:5px 10px; background: rgba(0,0,0,.3); border-radius: 4px;}


/* ---------- architecture dotted map (Theme Red & Area Glow) ---------- */
.hm-arch{position:relative;padding:40px 0}
.hm-arch-media{position:relative;overflow:hidden; box-shadow: inset 0 0 50px rgba(255,20,40,.05);}
.hm-arch-media .img-shell{aspect-ratio:21/9}
.hm-arch-net{position:absolute;inset:0;width:100%;height:100%;z-index:3}

.wm-link{stroke:var(--red);stroke-width:1.5;stroke-linecap:round;stroke-dasharray:4 4;filter:drop-shadow(0 0 8px rgba(255,20,40,.8));animation:archFlow 20s linear infinite}
@keyframes archFlow{to{stroke-dashoffset:-200}}
.wm-pulse-dot{fill:#fff;filter:drop-shadow(0 0 10px var(--red))}

.wm-tflare{fill:var(--red);opacity:0;transform-box:fill-box;transform-origin:center;transition:opacity .4s ease, transform .4s ease;filter:blur(4px)}
.wm-target-group.on .wm-tflare{opacity:0.4;transform:scale(1.4)}

.wm-tnode{fill:rgba(255,255,255,0.4);transform-box:fill-box;transform-origin:center;transition:.3s}
.wm-target-group.on .wm-tnode{fill:var(--red);filter:drop-shadow(0 0 10px var(--red));transform:scale(1.5)}

.wm-jaipur{fill:var(--red);stroke:#fff;stroke-width:1.5;transform-box:fill-box;transform-origin:center;filter:drop-shadow(0 0 14px var(--red));animation:wmJaipurPulse 2s ease-in-out infinite}
@keyframes wmJaipurPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.3)}}

.wm-hq{fill:var(--red);font-family:var(--f-tech);font-size:10px;font-weight:700;letter-spacing:.2em;filter:drop-shadow(0 0 6px rgba(255,20,40,.6))}
.hm-arch-brand{position:absolute;right:16px;bottom:14px;z-index:4;font-family:var(--f-tech);font-size:9px;letter-spacing:.3em;color:var(--tx4)}


/* ---------- why : animated VS & High-Visibility Cards ---------- */
.hm-why{padding:90px 0}
.hm-cmp{position:relative;display:grid;grid-template-columns:1fr 130px 1fr;gap:0;align-items:stretch;overflow:hidden}
.hm-cmp-scan{position:absolute;top:0;bottom:0;width:2px;left:0;background:linear-gradient(180deg,transparent,var(--red),transparent);z-index:5;opacity:0}
.hm-cmp-col{position:relative;padding:40px 34px;overflow:hidden; border:1px solid var(--line); background:rgba(16,17,20,.7); backdrop-filter: blur(8px); transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease;}

/* Radial Rotations inside cards */
.hm-cmp-col::before {
  content: ""; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  pointer-events: none; z-index: 0;
}
.hm-cmp-col.old::before {
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 60%);
  animation: rotateGlow 15s linear infinite;
}
.hm-cmp-col.new::before {
  background: radial-gradient(circle, rgba(255,20,40,0.12) 0%, transparent 60%);
  animation: rotateGlow 10s linear infinite reverse;
}
@keyframes rotateGlow { to { transform: rotate(360deg); } }

.hm-cmp-bg{position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);background-size:34px 34px;pointer-events:none}

.hm-cmp-col h3{font-family:var(--f-sec);font-weight:700;font-size:21px;letter-spacing:.15em;text-transform:uppercase;margin-bottom:8px;position:relative;z-index:2}
.cmp-badge {display: inline-block; font-family: var(--f-tech); font-size: 9px; font-weight: 700; letter-spacing: .25em; padding: 4px 10px; border-radius: 4px; margin-bottom: 22px; text-transform: uppercase; position: relative; z-index: 2;}
.old-badge {background: rgba(255,255,255,0.06); color: var(--tx3); border: 1px solid rgba(255,255,255,0.12);}
.new-badge {background: rgba(255,20,40,0.15); color: #fff; border: 1px solid var(--red); box-shadow: 0 0 12px rgba(255,20,40,0.4); animation: pulseGlow 2s infinite alternate;}
@keyframes pulseGlow { from { box-shadow: 0 0 6px rgba(255,20,40,0.3); } to { box-shadow: 0 0 16px rgba(255,20,40,0.7); } }

/* Breathing Shadows */
.hm-cmp-col.old{background:rgba(16,17,20,.65); border: 1px solid rgba(255,255,255,0.1); animation: oldTileBreathe 4s ease-in-out infinite alternate;}
.hm-cmp-col.old h3{color:#E5E7EB; text-shadow: 0 2px 10px rgba(0,0,0,0.8);}
.hm-cmp-col.old:hover{border-color: rgba(255,255,255,0.25); transform: translateY(-6px); animation-play-state: paused;}
@keyframes oldTileBreathe {
  0% { box-shadow: 0 0 0 rgba(255,255,255,0); }
  100% { box-shadow: inset 0 0 20px rgba(255,255,255,0.02); }
}

.hm-cmp-col.new{background:linear-gradient(160deg,rgba(255,20,40,.12),rgba(16,17,20,.92) 55%);border: 1px solid var(--red55); animation: newTileBreathe 3s ease-in-out infinite alternate;}
.hm-cmp-col.new:hover{border-color: var(--red); transform: translateY(-8px); animation-play-state: paused;}
@keyframes newTileBreathe {
  0% { box-shadow: 0 0 15px rgba(255,20,40,0.05), inset 0 0 15px rgba(255,20,40,0.05); }
  100% { box-shadow: 0 0 30px rgba(255,20,40,0.15), inset 0 0 30px rgba(255,20,40,0.15); border-color: var(--red); }
}

.hm-cmp-col ul{position:relative;z-index:2;list-style:none; display:flex; flex-direction:column; gap:10px;}

/* High-contrast differences on list items */
.hm-cmp-col li{
  position: relative;
  display:flex;
  gap:14px;
  align-items:center;
  padding:12px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Old learning item styling */
.hm-cmp-col.old li{
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.hm-cmp-col.old li:hover{
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateX(8px);
}
.hm-cmp-col.old .cmp-text{
  color: #D1D5DB;
  font-size: 14.5px;
  font-weight: 500;
  transition: all 0.3s ease;
}
.hm-cmp-col.old li:hover .cmp-text{
  color: #FFFFFF;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
  letter-spacing: 0.02em;
}
.hm-cmp-col.old .x{
  width: 20px;
  height: 20px;
  flex: none;
  color: #EF4444;
  opacity: 0.75;
  transition: all 0.3s ease;
}
.hm-cmp-col.old li:hover .x{
  opacity: 1;
  transform: scale(1.2) rotate(90deg);
  filter: drop-shadow(0 0 6px #EF4444);
}

/* VAPT HUB item styling */
.hm-cmp-col.new li{
  background: rgba(255, 20, 40, 0.05);
  border: 1px solid rgba(255, 20, 40, 0.2);
}
.hm-cmp-col.new li:hover{
  background: rgba(255, 20, 40, 0.15);
  border-color: var(--red);
  transform: translateX(10px) scale(1.02);
  box-shadow: 0 6px 20px rgba(255, 20, 40, 0.25);
}
.hm-cmp-col.new .cmp-text{
  color: #FFFFFF;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
  transition: all 0.3s ease;
}
.hm-cmp-col.new li:hover .cmp-text{
  color: #FFFFFF;
  text-shadow: 0 0 12px rgba(255, 20, 40, 0.9), 0 0 20px #FFFFFF;
  letter-spacing: 0.03em;
}
.hm-cmp-col.new .ok{
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--red);
  filter: drop-shadow(0 0 6px rgba(255, 20, 40, 0.8));
  transition: all 0.3s ease;
}
.hm-cmp-col.new li:hover .ok{
  color: #FFFFFF;
  transform: scale(1.25);
  filter: drop-shadow(0 0 8px #FFFFFF) drop-shadow(0 0 14px var(--red));
}

.hm-cmp-mid{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px}

/* Enhanced Glowing Zoom Flow Text */
.hm-cmp-flow {
  position: relative;
  writing-mode: vertical-rl;
  font-family: var(--f-tech);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .4em;
  color: #fff;
  padding: 24px 10px;
  background: rgba(16,17,20,0.8);
  border: 1px dashed var(--red55);
  clip-path: polygon(0 10px, 10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  animation: flowBreathe 2s ease-in-out infinite alternate;
  z-index: 2;
}
.hm-cmp-flow::before {
  content: "";
  position: absolute;
  inset: 2px;
  border: 1px solid rgba(255,20,40,0.3);
  clip-path: polygon(0 10px, 10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  pointer-events: none;
}
@keyframes flowBreathe {
  0% {
    transform: scale(0.95);
    text-shadow: 0 0 5px var(--red);
    box-shadow: 0 0 10px rgba(255,20,40,0.1) inset, 0 0 10px rgba(255,20,40,0.2);
    border-color: var(--red55);
  }
  100% {
    transform: scale(1.08);
    text-shadow: 0 0 12px var(--red), 0 0 24px #fff;
    box-shadow: 0 0 20px rgba(255,20,40,0.4) inset, 0 0 25px rgba(255,20,40,0.6);
    border-color: var(--red);
  }
}

/* VS Animation Upgrade */
.hm-vs{position:relative;width:96px;height:96px;display:flex;align-items:center;justify-content:center}
.hm-vs-ring{position:absolute;inset:0;border-radius:50%;border:2px solid transparent;border-top-color:var(--red);border-bottom-color:rgba(255,255,255,.3);animation:vsSpin 4s linear infinite; box-shadow: 0 0 18px rgba(255,20,40,.4), inset 0 0 12px rgba(255,20,40,.2);}
.hm-vs-ring.inner{inset:8px; border-width: 1.5px; border-color:transparent; border-left-color:var(--red); border-right-color:rgba(255,20,40,.8); animation:vsSpin 2.6s linear infinite reverse;}
.hm-vs-txt{position:relative;z-index:2;font-family:var(--f-tech);font-weight:700;font-size:22px;color:var(--red);text-shadow:0 0 16px rgba(255,20,40,1);animation:vsPulse 2.4s ease-in-out infinite}
@keyframes vsSpin{to{transform:rotate(360deg)}}
@keyframes vsPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.15)}}

/* ---------- practical ---------- */
.hm-prac{padding:90px 0}
.hm-prac-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}
.hm-prac-visual .hud-frame{aspect-ratio:4/3;overflow:hidden; box-shadow: 0 0 40px rgba(255,20,40,.05); transition:.5s ease;}
.hm-prac-visual:hover .hud-frame{box-shadow: 0 0 60px rgba(255,20,40,.15); transform: translateY(-5px);}
.hm-prac-copy{display:flex;gap:30px;align-items:center}
.hm-prac-ring{position:relative;width:180px;height:180px;flex:none}
.hm-prac-ring svg{width:100%;height:100%;transform:rotate(-90deg)}
.ring-bg{fill:none;stroke:rgba(255,255,255,.08);stroke-width:8}
.ring-fg{fill:none;stroke:var(--red);stroke-width:8;stroke-linecap:round;stroke-dasharray:0 314;transition:stroke-dasharray 1.6s cubic-bezier(.65,0,.35,1)}

/* 80% Practical Dashed Rotating Rings */
.ring-dash-cw {
  fill: none;
  stroke: var(--red);
  stroke-width: 1.5;
  stroke-dasharray: 8 16;
  transform-origin: center;
  animation: spinCW 10s linear infinite;
  filter: drop-shadow(0 0 4px var(--red));
}
.ring-dash-ccw {
  fill: none;
  stroke: rgba(255,255,255,0.6);
  stroke-width: 1;
  stroke-dasharray: 4 8;
  transform-origin: center;
  animation: spinCCW 7s linear infinite;
}
@keyframes spinCW { to { transform: rotate(360deg); } }
@keyframes spinCCW { to { transform: rotate(-360deg); } }

/* 80% text breathing animation */
.hm-prac-ring-c{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center}
.hm-prac-ring-c .n{font-family:var(--f-tech);font-weight:700;font-size:30px;color:#fff; text-shadow:0 0 10px rgba(255,20,40,.8);}
.breathing-text { display: inline-block; animation: breatheScale 3s ease-in-out infinite alternate; }
@keyframes breatheScale {
  0% { transform: scale(1); filter: drop-shadow(0 0 5px var(--red)); }
  100% { transform: scale(1.15); filter: drop-shadow(0 0 18px var(--red)); color: #fff; }
}

/* PRACTICAL typing animation */
.hm-prac-ring-c .l{font-family:var(--f-tech);font-size:8px;letter-spacing:.3em;color:var(--tx4); display: flex; align-items: center; justify-content: center;}
.type-prac {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid var(--red);
  color: #fff;
  text-shadow: 0 0 8px rgba(255,20,40,0.8);
  animation: typingPrac 4s steps(12, end) infinite, blinkCursor 0.7s step-end infinite;
  vertical-align: bottom;
  margin-left: 4px; 
}
@keyframes typingPrac {
  0%, 10% { max-width: 0; }
  40%, 60% { max-width: 100px; }
  90%, 100% { max-width: 0; }
}
@keyframes blinkCursor {
  0%, 100% { border-color: transparent; }
  50% { border-color: var(--red); }
}

.hm-prac-split{display:flex;gap:14px;margin:14px 0}
.hm-prac-split .p{color:var(--red);font-family:var(--f-sec);font-weight:700;letter-spacing:.14em}
.hm-prac-split .t{color:var(--tx4);font-family:var(--f-sec);font-weight:700;letter-spacing:.14em}
.hm-prac-list{list-style:none}
.hm-prac-list li{display:flex;gap:10px;align-items:center;padding:7px 0;color:var(--tx2);font-size:14px; transition: .3s;}
.hm-prac-list li:hover {color:#fff; transform: translateX(5px);}
.hm-prac-list .ok{width:16px;height:16px;color:var(--red);flex:none; filter: drop-shadow(0 0 4px var(--red));}
.hm-prac-list .ok svg{width:100%;height:100%}

/* ---------- research ---------- */
.hm-res{padding:90px 0}
.hm-res-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}
.hm-res-tags{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0 26px}
.hm-res-visual .hud-frame{aspect-ratio:1/1;overflow:hidden; box-shadow: 0 0 40px rgba(255,20,40,.05); transition:.5s ease;}
.hm-res-visual:hover .hud-frame{box-shadow: 0 0 60px rgba(255,20,40,.2); transform: translateY(-5px);}

/* ---------- industries (Updated for 11 tiles centered) ---------- */
.hm-ind{padding:90px 0}
.hm-ind-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.hm-ind-card { flex: 1 1 calc(20% - 16px); min-width: 200px; max-width: 250px; position:relative;display:flex;align-items:center;gap:10px;padding:18px;border:1px solid var(--line);background:rgba(16,17,20,.6);font-family:var(--f-sec);font-weight:600;font-size:13px;letter-spacing:.1em;color:var(--tx3);text-transform:uppercase;transition:all 0.4s ease;}
.hm-ind-card:hover{background:var(--red15); color:#fff; border-color:var(--red); transform: translateY(-10px) scale(1.05); animation-play-state: paused;}
.hm-ind-dot{width:8px;height:8px;background:var(--red30);transform:rotate(45deg);flex:none;transition:.3s}
.hm-ind-card:hover .hm-ind-dot{background:var(--red);box-shadow:0 0 12px rgba(255,20,40,1); transform: rotate(135deg);}
.float-ind { animation: floatAnim 6s ease-in-out infinite; }
.float-ind:nth-child(even) { animation-delay: 1.5s; }
.float-ind:nth-child(3n) { animation-delay: 3s; }

/* ---------- global ---------- */
.hm-global{padding:60px 0}
.hm-global-media{position:relative;overflow:hidden; border:1px solid var(--line); transition: .5s;}
.hm-global-media:hover {border-color: var(--red55); box-shadow: 0 0 40px rgba(255,20,40,.15);}
.hm-global-media .img-shell{aspect-ratio:21/9}
.hm-global-brand{position:absolute;right:16px;bottom:14px;z-index:4;font-family:var(--f-tech);font-size:9px;letter-spacing:.3em;color:var(--tx4); background:rgba(0,0,0,.6); padding:4px 8px; border:1px solid var(--line); border-radius: 4px;}

/* ---------- real world map (d3) ---------- */
.real-map-container { position: relative; width: 100%; min-height: 400px; background: rgba(9,10,13,.4); overflow: hidden; }
.wm-load { display: flex; align-items: center; justify-content: center; height: 400px; color: var(--tx3); font-family: var(--f-tech); font-size: 10px; letter-spacing: .2em; gap: 10px; }
.wm-sphere { fill: none; }
.wm-ctry { stroke: rgba(255,255,255,.06); stroke-width: 0.5px; }
.wm-india { fill: url(#wmDotRed); }
.ind-glow { fill: none; stroke: var(--red); stroke-width: 1.5; filter: drop-shadow(0 0 8px rgba(255,20,40,.8)); }
.ind-trace { fill: none; stroke: #fff; stroke-width: 2; filter: drop-shadow(0 0 6px #fff); }
.wm-arc { fill: none; stroke: rgba(255,255,255,.1); stroke-width: 1; }
.wm-arcp { fill: none; stroke: var(--red); stroke-width: 1.5; filter: drop-shadow(0 0 5px var(--red)); }
.wm-dot { fill: #fff; filter: drop-shadow(0 0 6px #fff); }
.wm-nring { fill: none; stroke: var(--red55); stroke-width: 1; transition: .3s; }
.wm-ncore { fill: var(--red); transition: .3s; }
.wm-node.hot .wm-nring { stroke: #fff; transform: scale(1.4); transform-origin: center; stroke-width: 1.5; }
.wm-node.hot .wm-ncore { fill: #fff; filter: drop-shadow(0 0 8px #fff); }
.wm-hq .hq-ring { fill: none; stroke: var(--red); stroke-width: 1.5; opacity: 0.8; }
.wm-hq .hq-ring.h2 { stroke-width: 0.5; stroke-dasharray: 4 4; transform-origin: center; animation: wmSpin 10s linear infinite; }
.wm-hq .hq-x { stroke: var(--red); stroke-width: 1; opacity: 0.5; }
.wm-hq .hq-core { fill: var(--red); filter: drop-shadow(0 0 10px var(--red)); }
.wm-hq .hq-t1 { fill: #fff; font-family: var(--f-tech); font-size: 10px; font-weight: 700; letter-spacing: .2em; }
.wm-hq .hq-t2 { fill: var(--tx4); font-family: var(--f-tech); font-size: 8px; letter-spacing: .3em; }
.wm-livelab { transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s; }
.wm-livelab rect { fill: rgba(16,17,20,.9); stroke: var(--red); stroke-width: 1; border-radius: 4px; }
.wm-livelab text { fill: #fff; font-family: var(--f-tech); font-size: 10px; font-weight: 700; letter-spacing: .1em; alignment-baseline: middle; text-anchor: middle; }
.wm-fallback { text-align: center; padding: 60px 20px; display: flex; flex-direction: column; gap: 10px; }
.wm-fallback span { font-family: var(--f-tech); font-size: 12px; color: var(--tx2); letter-spacing: .15em; }
.wm-fallback .wmf-sub { font-size: 9px; color: var(--tx4); }
@keyframes wmSpin { to { transform: rotate(360deg); } }

/* ---------- achievements ---------- */
.hm-ach{padding:90px 0}
.hm-ach-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.hm-ach-card{padding:34px 26px;border:1px solid var(--line);background:rgba(16,17,20,.6);text-align:center; position:relative; overflow:hidden;}
.hm-ach-card::after { content:""; position:absolute; inset:0; background: radial-gradient(circle at center, rgba(255,20,40,.1) 0, transparent 70%); opacity:0; transition:.4s; }
.hm-ach-card:hover::after { opacity:1; }
.hm-ach-card .n{font-family:var(--f-tech);font-weight:700;font-size:clamp(1.8rem,3vw,2.5rem);color:#fff;text-shadow:0 0 22px rgba(255,20,40,.8); position:relative; z-index:2;}
.hm-ach-card .l{margin-top:12px;font-family:var(--f-sec);font-weight:700;font-size:13px;letter-spacing:.18em;color:var(--tx2);text-transform:uppercase; position:relative; z-index:2;}

/* ---------- team ---------- */
.hm-team{padding:60px 0}
.hm-team-media{position:relative;overflow:hidden; border:1px solid var(--line); transition:.5s;}
.hm-team-media:hover{border-color:var(--red55); box-shadow: 0 0 50px rgba(255,20,40,.15);}
.hm-team-media .img-shell{aspect-ratio:21/9}
.hm-team-tags{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0 26px; justify-content:center;}

/* ---------- testimonials (Enhanced Animations & Avatar Support) ---------- */
.hm-testi{padding:90px 0}
.hm-testi-slider{overflow:hidden; padding: 30px 0;}
.hm-testi-track{display:flex;gap:24px;animation:hmSlide 40s linear infinite;width:max-content}
.hm-testi-slider:hover .hm-testi-track{animation-play-state:paused}
@keyframes hmSlide{from{transform:translateX(0)}to{transform:translateX(-50%)}}

.hm-testi-card {position:relative;flex:0 0 360px;padding:30px;border:1px solid var(--line);background:rgba(16,17,20,.8); transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;}
.float-testi { animation: floatTesti 5s ease-in-out infinite; }
.float-testi:nth-child(even) { animation-delay: 2.5s; }
@keyframes floatTesti { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.hm-testi-card:hover { transform: scale(1.03) translateY(-10px); box-shadow: 0 15px 40px rgba(255,20,40,.2); border-color: var(--red); animation-play-state: paused; z-index: 10; }
.hm-testi-q {position:absolute;top:10px;right:20px;font-family:var(--f-tech);font-size:50px;color:var(--red15); transition:.3s;}
.hm-testi-card:hover .hm-testi-q { color: var(--red); transform: translateY(-5px); text-shadow: 0 0 10px rgba(255,20,40,.5); }
.hm-testi-card p{font-size:14px;color:var(--tx2);line-height:1.6;margin-bottom:20px; position:relative; z-index:2;}
.hm-testi-who{display:flex;align-items:center;gap:14px; position:relative; z-index:2;}

/* Photo Avatar Styling */
.hm-testi-ava {width:46px;height:46px;display:flex;align-items:center;justify-content:center;background:var(--red15);color:var(--red);font-family:var(--f-tech);font-weight:700;font-size:14px; border-radius: 50%; border: 2px solid var(--red30); overflow: hidden; transition:.3s; flex: none;}
.hm-testi-card:hover .hm-testi-ava { border-color: var(--red); box-shadow: 0 0 12px rgba(255,20,40,.8); transform: scale(1.1); }
.hm-testi-info { display: flex; flex-direction: column; gap: 4px; }
.hm-testi-name { font-family: var(--f-sec); font-weight: 700; font-size: 14px; color: #fff; }
.hm-testi-role {font-family:var(--f-sec);font-weight:600;font-size:11px;letter-spacing:.14em;color:var(--tx4);text-transform:uppercase;}

.hm-testi-cta{margin-top:40px;text-align:center}

/* ---------- academic ---------- */
.hm-acad{padding:90px 0}
.hm-acad-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}
.hm-acad-list{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0 30px}
.hm-acad-visual .hud-frame{aspect-ratio:4/3;overflow:hidden; box-shadow: 0 0 40px rgba(255,20,40,.05); transition:.5s;}
.hm-acad-visual:hover .hud-frame{box-shadow: 0 0 60px rgba(255,20,40,.2); transform: translateY(-5px);}

/* ---------- ecosystem (Enhanced Animations) ---------- */
.hm-eco{padding:60px 0}
.hm-eco-wrap{display:grid;grid-template-columns:1fr auto 1fr;gap:26px;align-items:center}
.hm-eco-col{display:flex;flex-direction:column;gap:16px}
.hm-eco-chip{position:relative;display:flex;align-items:center;padding:16px 20px;background:rgba(16,17,20,.85);border:1px solid var(--line);clip-path:polygon(0 0,calc(100% - 14px) 0,100% 14px,100% 100%,14px 100%,0 calc(100% - 14px));transition:all .4s cubic-bezier(0.2, 0.8, 0.2, 1)}

/* Floating chips */
.float-eco-left { animation: floatEcoL 5s ease-in-out infinite; }
.float-eco-left:nth-child(even) { animation-delay: 2s; }
.float-eco-right { animation: floatEcoR 5s ease-in-out infinite; }
.float-eco-right:nth-child(even) { animation-delay: 2.5s; }
@keyframes floatEcoL { 0%, 100% { transform: translateY(0) translateX(0); } 50% { transform: translateY(-5px) translateX(4px); } }
@keyframes floatEcoR { 0%, 100% { transform: translateY(0) translateX(0); } 50% { transform: translateY(-5px) translateX(-4px); } }

.hm-eco-col.right .hm-eco-chip{clip-path:polygon(14px 0,100% 0,100% calc(100% - 14px),calc(100% - 14px) 100%,0 100%,0 14px)}
.hm-eco-chip:hover{border-color:var(--red);background:rgba(255,20,40,.1);transform:translateX(8px); box-shadow: 0 0 20px rgba(255,20,40,.2); animation-play-state: paused;}
.hm-eco-col.right .hm-eco-chip:hover{transform:translateX(-8px); animation-play-state: paused;}
.eco-corner{position:absolute;width:10px;height:10px;border-color:var(--red55);border-style:solid;border-width:0;transition:.3s}
.eco-corner.tl{top:0;left:0;border-top-width:2px;border-left-width:2px}
.eco-corner.tr{top:0;right:0;border-top-width:2px;border-right-width:2px}
.eco-corner.bl{bottom:0;left:0;border-bottom-width:2px;border-left-width:2px}
.eco-corner.br{bottom:0;right:0;border-bottom-width:2px;border-right-width:2px}
.hm-eco-chip:hover .eco-corner{width:18px;height:18px;border-color:var(--red); filter: drop-shadow(0 0 4px var(--red));}
.eco-line{position:absolute;top:50%;right:-30px;width:30px;height:2px;background:repeating-linear-gradient(90deg,var(--red55) 0 6px,transparent 6px 12px);animation:ecoDash 1.2s linear infinite}
.eco-line.r{right:auto;left:-30px}
@keyframes ecoDash{to{background-position:24px 0}}
.eco-name{font-family:var(--f-sec);font-weight:600;font-size:14px;letter-spacing:.1em;color:var(--tx2);text-transform:uppercase;white-space:nowrap}

.hm-eco-center{position:relative}
/* Enhanced Shield Pulse */
.hm-eco-shield{width:200px;height:auto;animation:hmShieldPulse 3s ease-in-out infinite}
@keyframes hmShieldPulse{
  0%, 100% { filter: drop-shadow(0 0 10px rgba(255,20,40,.4)) scale(1); }
  50% { filter: drop-shadow(0 0 35px rgba(255,20,40,1)) scale(1.06); }
}
/* Shining VAPT HUB Text inside shield */
.hm-eco-shield .eco-t1{font-family:'Orbitron',monospace;font-size:24px;font-weight:700;fill:#fff; animation: textGlow 2s infinite alternate;}
.hm-eco-shield .eco-t2{font-family:'Orbitron',monospace;font-size:18px;font-weight:700;fill:var(--red); animation: textGlowRed 2s infinite alternate;}
@keyframes textGlow { from { text-shadow: 0 0 5px #fff; } to { text-shadow: 0 0 15px #fff, 0 0 25px var(--red); } }
@keyframes textGlowRed { from { text-shadow: 0 0 5px var(--red); } to { text-shadow: 0 0 15px var(--red), 0 0 25px var(--red); } }

/* ---------- CTA ---------- */
.hm-cta{position:relative;padding:120px 0;overflow:hidden}
.hm-cta-media{position:absolute;inset:0}
.hm-cta-media .img-shell{position:absolute;inset:0}
.hm-cta-media .img-shell img{filter:brightness(.3) contrast(1.2)}
.hm-cta-shade{position:absolute;inset:0;background:radial-gradient(70% 90% at 50% 50%,transparent 10%,rgba(5,5,5,.95))}
.hm-cta-inner{position:relative;z-index:2;text-align:center;max-width:820px}
.hm-cta-inner p{color:var(--tx3);margin:20px 0 36px; font-size:16px; line-height: 1.6;}
.hm-cta-actions{display:flex;gap:20px;justify-content:center;flex-wrap:wrap}

/* ---------- contact ---------- */
.hm-contact{padding:60px 0}
.hm-contact-panel{position:relative;padding:30px;border:1px solid var(--red55);background:linear-gradient(160deg,rgba(255,20,40,.08),rgba(16,17,20,.9) 55%);box-shadow:0 0 50px rgba(255,20,40,.1)}
.hm-contact-panel::before{content:"";position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(0deg,transparent 0 60px,rgba(255,20,40,.06) 60px 61px)}
.hm-contact-row{display:grid;grid-template-columns:repeat(6,1fr);gap:16px}
.hm-contact-card{display:flex;flex-direction:column;gap:8px;padding:18px;border:1px solid var(--line);background:rgba(16,17,20,.7);text-decoration:none}
.hm-contact-card .l{font-family:var(--f-tech);font-size:9px;letter-spacing:.26em;color:var(--tx4); transition:.3s;}
.hm-contact-card:hover .l {color: var(--red);}
.hm-contact-card .v{font-family:var(--f-sec);font-weight:600;font-size:14px;color:var(--tx2); transition:.3s;}
.hm-contact-card:hover .v {color: #fff;}

/* ---------- responsive ---------- */
@media(max-width:1400px){
.hm-svc-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:1180px){
.hm-svc-grid{grid-template-columns:repeat(2,1fr)}
.hm-train-grid{grid-template-columns:repeat(2,1fr)}
.hm-ach-grid{grid-template-columns:repeat(2,1fr)}
.hm-contact-row{grid-template-columns:repeat(3,1fr)}
.hm-trust-row{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:1024px){
.hm-who-grid,.hm-prac-grid,.hm-res-grid,.hm-acad-grid{grid-template-columns:1fr;gap:40px}
.hm-cmp{grid-template-columns:1fr}
.hm-cmp-mid{flex-direction:row;padding:10px 0}
.hm-cmp-flow{writing-mode:horizontal-tb; padding:12px 24px; text-align:center;}
.hm-eco-wrap{grid-template-columns:1fr}
.hm-eco-center{order:-1;margin:0 auto 20px}
.hm-eco-col{flex-direction:row;flex-wrap:wrap;justify-content:center}
.eco-line{display:none}
}

/* Mobile: clean 3D flip preserved with taller card height */
@media(max-width:760px){
.hm-svc-grid,.hm-train-grid,.hm-ach-grid{grid-template-columns:1fr}
.hm-ind-grid{ flex-direction: column; align-items: stretch; }
.hm-ind-card{ max-width: 100%; width: auto; }
.hm-contact-row{grid-template-columns:1fr 1fr}
.hm-trust-row{grid-template-columns:repeat(2,1fr)}
.hm-flip{height:390px;}
.cyber-shape, .cyber-shape-img {clip-path:none; border-radius:10px;}
}