/* Header */
header ul > li > a:hover {
  background-color: #4488f4;
  transition: all 0.5s;
}

header{
  z-index: 1000 !important;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0; /* removes the small gap so it looks smooth */
}

/* .fadeRight {
  animation: fadeRight 1.2s ease-out forwards;
} */

/* delays for staggered effect */
/* .delay-1 {
  animation-delay: 0.2s;
  opacity: 0;
}
.delay-2 {
  animation-delay: 0.4s;
  opacity: 0;
}
.delay-3 {
  animation-delay: 0.6s;
  opacity: 0;
}
.delay-4 {
  animation-delay: 0.8s;
  opacity: 0;
}
.delay-5 {
  animation-delay: 1s;
  opacity: 0;
} */

/* keyframes */
@keyframes fadeRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}






/* footer  */
:root {
  --bg: #0f1724; /* footer background */
  --muted-1: #cbd5e1; /* body text */
  --muted-2: #94a3b8; /* subdued text */
  --accent: #6366f1; /* indigo accent */
  --panel: #111827;
  --glass: rgba(255, 255, 255, 0.03);
}



/* FOOTER */
footer {
  background: var(--bg);
  color: var(--muted-1);
  padding: 48px 20px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

/* .wrap {
  max-width: 1200px;
  margin: 0 auto;
} */

/* Brand row (logo + name) */
footer .brand-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
footer .brand {
  /* display: flex;
  align-items: center;
   */
  gap: 14px;
  text-decoration: none;
}
footer .brand img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 100%;
  border: 2px solid rgba(255, 255, 255, 0.06);
  padding: 6px;
  background: var(--glass);
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.6);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  margin: auto;
}
footer .brand:hover img {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 30px rgba(63, 63, 254, 0.12);
}

footer .brand h1 {
  margin: 0;
  font-size: 20px;
  color: #fff;
  line-height: 1;
  letter-spacing: 0.2px;
}
footer .brand p {
  margin: 0;
  font-size: 13px;
  color: var(--muted-2);
  margin-top: 2px;
}

/* Grid layout */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}

@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.col h3 {
  font-size: 15px;
  margin: 0 0 14px 0;
  color: #fff;
  letter-spacing: 0.6px;
  font-weight: 600;
  position: relative;
}
.col h3::after {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  margin-top: 8px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), #8b5cf6);
  opacity: 0.95;
}

.contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.contact-item i {
  color: var(--accent);
  min-width: 20px;
  margin-top: 3px;
  font-size: 16px;
}
.contact-item .text {
  font-size: 14px;
  color: var(--muted-1);
  line-height: 1.6;
}

.social-icons {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.social-icons a {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  text-decoration: none;
  color: #fff;
  transition: all 0.26s cubic-bezier(0.2, 0.9, 0.2, 1);
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.45);
}
.social-icons a:hover {
  transform: translateY(-6px) scale(1.04);
  background: var(--accent);
  /* background: hwb(230.1deg 18.82% 40.78%); */
  color: white;
}

/* .social-icons a:nth-child(1):hover{
  background: 	#000000;
}
.social-icons a:nth-child(2):hover{
  background: #1877F2;
}
.social-icons a:nth-child(3):hover{
  background: #0A66C2;
}
.social-icons a:nth-child(4):hover{
  background: linear-gradient(115deg, #f9ce34, #ee2a7b, #6228d7);
} */

.quick-links,
.courses {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}
.quick-links a,
.courses a {
  color: var(--muted-1);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.7;
  transition: color 0.22s ease, transform 0.22s ease;
  width: auto;
}
.quick-links a:hover,
.courses a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

/* bottom row */
.footer-bottom {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted-2);
  font-size: 13px;
}
.footer-bottom a {
  color: var(--muted-2);
  text-decoration: none;
  margin-left: 10px;
  transition: color 0.18s ease;
}
.footer-bottom a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* small helper styles */
.muted {
  color: var(--muted-2);
}
.muted a {
  color: var(--muted-1);
}

/* Scroll Animations: initial offscreen and show class toggled by JS */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: all 0.72s cubic-bezier(0.2, 0.9, 0.2, 1);
}
.fade-up.show {
  opacity: 1;
  transform: none;
}

/* subtle focus for accessibility */
footer a:focus {
  outline: 3px solid rgba(99, 102, 241, 0.18);
  outline-offset: 3px;
  border-radius: 6px;
}

#navbar{
  right: 0;
}

@media (max-width: 768px) {
  #navbar{
    position: fixed !important;
    font-size: 1.2rem !important;
    top: 0;
    bottom: 0;
    z-index: 50;
  }

  #navBackground{
    z-index: 40;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
  }

  #navbar > ul{
    flex-direction: column;
    align-items: start !important;
  }

  .items-center{
    align-items: center;
  }

  #navbar{
    right: -100%;
    transition: all 0.5s ease-in-out;
  }



}