/* ========================
   Top Head
======================== */
.top-head {
  position: relative;
  z-index: 1030;
  padding: 10px 0;

  background: linear-gradient(
    -45deg,
    #0b0b0b,
    #111111,
    rgba(0, 0, 0, 0.79),
    #111111,
    #0b0b0b
  );
  background-size: 300% 300%;
  background-position: 0% 50%;

  box-shadow: inset 0 -1px 0 rgba(212, 175, 55, 0.15);
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);

  transition: transform 0.3s ease;
}

/* Background animation */
@keyframes subtleMove {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 50% 50%; }
}

/* Hide on scroll */
.top-head.hidden {
  transform: translateY(-100%);
}

/* ========================
   Text & Icon
======================== */
.top-head .tophead-txt {
  font-family: var(--sectionp);
  text-transform: uppercase;
  color: #f0c040;
  text-shadow: 0 0 4px rgba(212, 175, 55, 0.3);
  font-size: clamp(0.75rem, 2vw, 1rem);
}

.top-head .icon-edu {
  color: #f0c040;
  font-size: 18px;
  transition: color 0.3s ease, transform 0.3s ease;
}

/* ========================
   Social Icons
======================== */
.social a {
  font-size: 28px;
  color: #f0c040;
  transition: transform 0.3s ease, color 0.3s ease;
}

/* Hover animation */
.social a:hover {
  transform: translateY(-3px);
}

/* Brand colors */
.social a.fa-facebook-square:hover {
  color: #1877f2;
}

.social a.fa-instagram-square:hover {
  color: #dd2a7b; /* fallback */
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #feda77);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.social a.fa-youtube-square:hover {
  color: #ff0000;
}

/* ========================
   Responsive
======================== */
@media (max-width: 992px) {
  .top-head .row > div {
    justify-content: center !important;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .top-head {
    padding: 8px 0;
  }
}