/* ===== MODERN COMPACT NAVBAR ===== */

.navHi-navbar {
  position: sticky;
  top: 0;
  z-index: 9999;
  height: 94px;
  background: rgba(10, 25, 50, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.navHi-container {
  max-width: 1200px;
  margin: auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.logo-box img {
  height: 55px;
  width: auto;
}

.logo-text h3 {
  font-size: 18px;
  color: #fff;
}

.logo-text span {
  font-size: 11px;
  color: #94a3b8;
}

/* MENU */
.navHi-menu {
  display: flex;
  align-items: center;
  gap: 18px;
}

.navHi-menu a {
  position: relative;
  color: #e2e8f0;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.25s;
}

.navHi-menu a:hover {
  color: #60a5fa;
  background: rgba(96,165,250,0.08);
}

/* underline */
.navHi-menu a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 50%;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg,#60a5fa,#3b82f6);
  transform: translateX(-50%);
  transition: 0.3s;
}

.navHi-menu a:hover::after {
  width: 70%;
}

/* CTA */
.navHi-cta {
  background: linear-gradient(135deg,#f97316,#fb923c);
  padding: 7px 16px;
  border-radius: 20px;
  color: white;
  font-size: 13px;
}

/* ===== MEGA MENU ===== */

.navHi-mega {
  position: relative;
}

.navHi-mega-dropdown {
  position: absolute;
  top: 120%;
  left: 50%;
  transform: translateX(-50%) translateY(10px) scale(0.98);
  width: 880px;
  max-width: 95vw;
  background: #ffffff;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
  opacity: 0;
  transition: all 0.25s ease;
  backdrop-filter: blur(10px);
}

.navHi-mega:hover .navHi-mega-dropdown {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
}

/* GRID */
.navHi-mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

/* ===== CARD ===== */
.navHi-group {
  background: #ffffff;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #eef2ff;
  transition: 0.3s;
}

.navHi-group:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

/* TITLE */
.navHi-group h4 {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #1e3a8a;
}

/* ICON COLORS */
.fa-java { color: #f97316; }
.fa-python { color: #22c55e; }
.fa-brain { color: #3b82f6; }
.fa-layer-group { color: #8b5cf6; }
.fa-shield-alt { color: #ef4444; }
.fa-aws { color: #0ea5e9; }
.fa-bullhorn { color: #ec4899; }
.fa-tools { color: #64748b; }

/* DESC */
.navHi-desc {
  font-size: 11px;
  color: #64748b;
  margin-bottom: 6px;
}

/* META */
.navHi-meta {
  font-size: 10.5px;
  background: #f1f5f9;
  padding: 4px 6px;
  border-radius: 6px;
  margin-bottom: 6px;
}

/* LINKS */
.navHi-sub a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #334155;
  padding: 4px 0;
  text-decoration: none;
}

.navHi-sub a::before {
  content: "•";
  color: #60a5fa;
}

.navHi-sub a:hover {
  color: #2563eb;
  transform: translateX(4px);
}

/* BUTTON */
.navHi-btn {
  display: inline-block;
  margin-top: 6px;
  padding: 6px 10px;
  background: linear-gradient(135deg,#2563eb,#3b82f6);
  color: white;
  border-radius: 6px;
  font-size: 11px;
}

/* BADGE */
.navHi-badge.trending {
  background: #fee2e2;
  color: #dc2626;
  font-size: 9px;
  padding: 2px 5px;
  border-radius: 5px;
}

/* HIGHLIGHT FIRST */
.navHi-group:first-child {
  background: linear-gradient(135deg,#eff6ff,#dbeafe);
  border: 1px solid #93c5fd;
}

/* ===== MOBILE ===== */

.navHi-toggle {
  display: none;
}

@media (max-width:768px){

  .navHi-toggle {
    display: block;
  }

  .navHi-menu {
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background: #07142b;
    flex-direction: column;
    padding: 12px 0;
    display: none;
  }

  .navHi-menu.active {
    display: flex;
  }

  .navHi-mega-dropdown {
    position: static;
    transform: none;
    width: 100%;
    box-shadow: none;
    background: transparent;
  }

  .navHi-mega-grid {
    grid-template-columns: 1fr;
  }
}
.navHi-mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;   /* reduced from 18 */
}

/* make ALL cards equal */

.navHi-group {
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  min-height: 150px;   /* reduced from 210 → compact */
  padding: 12px;       /* reduced from 16 */
}
.navHi-sub {
  flex-grow: 1; /* pushes button to bottom */
}
.navHi-sub a {
  color: #1e293b !important;  /* dark visible text */
}

.navHi-desc {
  color: #475569;  /* better contrast */
}

.navHi-meta {
  color: #334155;
}

.navHi-desc {
  margin-bottom: 4px;  /* less gap */
  font-size: 10.5px;
}

.navHi-meta {
  margin-bottom: 4px;
  padding: 3px 5px;
}

.navHi-sub a {
  padding: 2px 0;   /* tighter list */
  font-size: 11.5px;
}
.navHi-group h4 {
  color: #0f172a;
}
.navHi-sub a:hover {
  color: #2563eb;
  font-weight: 500;
}
.navHi-btn {
  width: fit-content;
  align-self: flex-start;
  margin-top: 5px;
  font-size: 10.5px;
  padding: 5px 8px;
}
.navHi-group {
  padding: 16px;
}

.mobile-call-btn::before{
  content:"";
  position:absolute;
  width:100%;
  height:100%;
  border-radius:50%;
  background:rgba(34,197,94,0.4);
  animation:pulse 1.5s infinite;
  z-index:-1;
}
@media (max-width:768px){

  .navHi-menu{
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;

    background: linear-gradient(180deg,#07142b,#0b1c3c);

    flex-direction: column;
    align-items: center;

    padding: 12px 0;
    display: none;
    z-index: 1000;
  }

  .navHi-menu.active{
    display: flex;
  }

}
@media (max-width:768px){

  .navHi-menu > a,
  .navHi-mega > a{
    width: 92%;
    padding: 14px;
    margin: 6px 0;

    border-radius: 10px;
    background: rgba(255,255,255,0.05);

    font-size: 16px;
    text-align: center;
  }

}
@media (max-width:768px){

  .navHi-mega-dropdown{
    position: static;
    transform: none;
    width: 100%;

    display: none;
    background: rgba(255,255,255,0.03);

    padding: 10px;
    border-radius: 12px;
  }

  .navHi-mega.active .navHi-mega-dropdown{
    display: block;
  }

}
@media (max-width:768px){

  .navHi-mega-grid{
    grid-template-columns: 1fr;
    gap: 12px;
  }

}
@media (max-width:768px){

  .navHi-group{
    width: 100%;
    padding: 12px;
    min-height: auto;
  }

}
@media (max-width:768px){

  .navHi-group h4{
    color: #e2e8f0;
  }

  .navHi-desc{
    color: #94a3b8;
  }

  .navHi-sub a{
    color: #e2e8f0;
  }

}
@media (max-width:768px){

  .navHi-btn{
    width: 100%;
    text-align: center;
    padding: 10px;
    margin-top: 10px;
  }

}
@media (max-width:768px){

  .navHi-mega-dropdown{
    animation: slideDown 0.3s ease;
  }

  @keyframes slideDown{
    from{
      opacity:0;
      transform: translateY(-10px);
    }
    to{
      opacity:1;
      transform: translateY(0);
    }
  }
}
@media (max-width:768px){

  .navHi-mega{
    width: 100%;
  }

  .navHi-mega-dropdown{
    position: static !important;   /* remove absolute positioning */
    transform: none !important;    /* remove center shift */
    left: 0 !important;

    width: 100%;
    margin-top: 8px;

    border-radius: 12px;
    padding: 12px;

    background: rgba(255,255,255,0.05); /* optional clean look */
  }

}
@media (max-width:768px){

  .navHi-sub a:hover{
    background: transparent; /* disable desktop hover */
    transform: none;
  }

}
@media (max-width:768px){

  .navHi-btn{
    width: 100%;
    text-align: center;

    padding: 12px;
    margin-top: 10px;

    border-radius: 10px;

    background: linear-gradient(135deg,#2563eb,#3b82f6);
    color: #474747;
    font-weight: 600;

    box-shadow: 0 6px 18px rgba(37,99,235,0.35);

    transition: all 0.2s ease;
  }

  .navHi-btn:active{
    transform: scale(0.97);
    box-shadow: 0 3px 10px rgba(37,99,235,0.3);
  }

}
@media (max-width:768px){

  .navHi-sub{
    margin-top: 6px;
  }

  .navHi-sub a{
    margin-bottom: 4px;
  }

}
@media (max-width:768px){

  .navHi-sub a:not(:last-child){
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

}
@media (max-width:768px){

  .logo-text{
    display: flex !important;
    flex-direction: column;
    margin-left: 8px;
     width: 100%;
  }

}
@media (max-width:768px){

  .logo-text h3{

    color: #fff;
 font-size: 10px;   /* reduced */
    line-height: 0.8;
    margin: 0;
    font-weight: 500;
     width: 100%;
}
}
@media (max-width:768px){

  .logo-text span{
    font-size: 6px;
    color: #94a3b8;
     width: 100%;
  }

}
@media (max-width:768px){

  .navHi-container{
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .logo-box{
    display: flex;
    align-items: center;
     width: 100%;
  }

}
@media (max-width:768px){

  .logo-text{
    max-width: 180px;
  }

}
@media (max-width:768px){
  .navHi-cta{
    display: none;
  }
}
@media (max-width:768px){
  .navHi-cta{
    display: none;
  }
}

@media (max-width:768px){

  .navHi-container{
    display: flex;
    align-items: center;
    height: 80px;
  }

}
@media (max-width:768px){

  .logo-box{
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .logo-text{
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
  }

}
@media (max-width:768px){

  .logo-text h3{
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.3px;

    color: #ffffff;
    margin: 0;
  }

}
@media (max-width:768px){

  .logo-text span{
    font-size: 10px;
    color: #94a3b8;   /* soft gray */
    margin-top: 2px;

    line-height: 1.2;
  }

}
@media (max-width:768px){

  .logo-box img{
    height: 36px;
    border-radius: 8px;   /* modern touch */
  }

}
@media (max-width:768px){

  .navHi-container{
    padding: 0 12px;
  }

}
.logo-text h3 span{
  color: #60a5fa;   /* blue highlight */
}
@media (max-width:768px){
  .logo-text span{
    display: flex;
  }
}

.navHi-sub a{
  position: relative;

  display: flex;
  align-items: center;

  padding: 8px 10px;
  margin-bottom: 6px;

  border-radius: 8px;

  background: linear-gradient(90deg, rgba(59,130,246,0.06), rgba(59,130,246,0.02));

  font-size: 12px;
  color: #1e293b;

  transition: all 0.25s ease;
}
.navHi-sub a:hover{
  background: linear-gradient(90deg, rgba(59,130,246,0.15), rgba(59,130,246,0.05));

  color: #2563eb;

  transform: translateX(5px);
}
.navHi-sub a i{
  font-size: 10px;
  margin-right: 6px;
  color: #60a5fa;
}
.navHi-sub a{
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.navHi-sub a:hover{
  background: rgba(59,130,246,0.12);
  color: #2563eb;
  transform: translateX(4px);
}
@media (max-width:768px){

  .navHi-sub a{
    padding: 10px 10px;
    border-radius: 8px;
    margin-bottom: 6px;
 background: rgba(139,92,246,0.1);
}
}
@media (max-width:768px){

  .navHi-sub a{
    padding: 10px 12px;
    font-size: 13px;
    border-radius: 10px;
  }

}