@import url("./program-details.css");

* {
  font-family: var(--font-family-frutiger-arabic) !important;
}
.dropdown-toggle::after {
  display: none;
}
.btn-primary {
  --btn-primary-color: var(--color-primary-2);
}

.btn-outline-primary {
  --btn-text-border-color: var(--color-primary-2);
}

html {
  scroll-behavior: smooth;
}

.seu-bg-pattern {
  background-color: var(--color-primary-2);
}

.bg-color-about-section {
  background: linear-gradient(
    to top,
    rgba(7, 77, 49, 0.1) 0%,
    rgba(17, 157, 101, 0.1) 50%,
    rgba(17, 157, 101, 0.1) 100%
  );
}

@media (min-width: 64em) {
  .bg-about-section {
    background: url("../img/collage-teamwork-business.png") center/cover
      no-repeat;
    background-size: 100% 100%;
  }
}

/* nav menu section */
nav {
  z-index: 1000;
}
.--nav li {
  position: relative;
  transition: color ease-in 150ms;
}
.--nav li .--nav-link::before {
  content: "";
  height: 6px;
  width: 50%;
  position: absolute;
  top: 100%;
  border-radius: 1000px;
  left: 50%;
  transform: translate(-50%, -100%);
  transition: width ease-in 150ms;
}

.--nav li:hover .--nav-link {
  color: var(--color-primary-2);
  border-radius: var(--radius-sm);
}

.--nav li:hover .--nav-link::before {
  background-color: var(--color-gray-400);
}

.--nav .--active .--nav-link.--nav-link {
  color: white;
  background-color: var(--bg-primary-default);
  border-radius: var(--radius-sm);
}

.--nav .--active .--nav-link.--nav-link::before {
  background-color: var(--bg-primary-400);
}

.breadcrumb-list {
  display: inline-flex;

  li:not(:last-child)::after {
    content: "/";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 12px;
    color: var(--color-gray-400);
    margin-inline: 8px;
  }

  li:last-child {
    color: var(--color-gray-400);
  }
}
.--side-nav .--mobile-nav {
  .--nav-link {
    &:hover span {
      transform: translateX(-4px);
    }

    &:hover::before {
      content: "";
      height: 90%;
      width: 6px;
      position: absolute;
      border-radius: 1000px;
      top: 50%;
      right: 0;
      transform: translateY(-50%);
      background-color: var(--color-gray-400);
    }
  }

  li.--active .--nav-link {
    background: var(--color-primary-2);
    color: white;
    border-radius: var(--radius-sm);

    span,
    li.--active .--nav-link:hover span {
      transform: translateX(-4px);
    }

    &::before {
      content: "";
      height: 90%;
      width: 6px;
      position: absolute;
      top: 50%;
      border-radius: 1000px;
      right: 0;
      transform: translateY(-50%);
      transition: width ease-in 150ms;
      background-color: var(--bg-primary-400);
    }
  }
}

.--side-nav.active {
  z-index: 999;
  height: calc(100vh - 104px);
}

/* Burger Menu */
.burger-menu {
  outline: 2px solid var(--color-gray-700);
  border-radius: 8px;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
}

.burger-line {
  width: 25px;
  height: 3px;
  background: var(--color-gray-700);
  margin: 3px 0;
  transition: 0.3s ease;
  border-radius: 3px;
}

/* Burger Animation */
.burger-menu.active .burger-line:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.burger-menu.active .burger-line:nth-child(2) {
  opacity: 0;
  transform: translateX(-100%);
}

.burger-menu.active .burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* hero section */

.hero-bg {
  background-image: url("../img/bg-hero.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.seu-vertical-bg-pattern {
  background-color: white;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.9),
      rgba(255, 255, 255, 0.9)
    ),
    url("../img/vertical-seu-pattern.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.nav-spot-gradient {
  width: 100%;
  height: 104px;
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.5), transparent);
}

.inset-purple {
  width: 1000px;
  height: 1000px;
  position: absolute;
  bottom: 100%;
  left: 100%;
  transform: translate(-50%, 50%);
  border-radius: 100%;
  background: radial-gradient(
    circle,
    rgba(97, 38, 157, 0.5) 0%,
    transparent 100%
  );
  z-index: 20;
}

/* ----- Footer ----- */

.footer ul li:first-child {
  border-bottom: 1px solid white;
  padding-bottom: 1rem;
}

/* Glass Sweep Animation */
.glass-sweep {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.08) 30%,
    rgba(255, 255, 255, 0.15) 50%,
    rgba(255, 255, 255, 0.08) 70%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translateX(-100%) translateY(-100%);
  transition: opacity 0.3s ease;
}

.glass-sweep-container:hover .glass-sweep {
  opacity: 1;
  animation: glassSweep 0.45s ease-in-out forwards;
}

@keyframes glassSweep {
  0% {
    transform: translateX(-100%) translateY(-100%);
  }
  100% {
    transform: translateX(100%) translateY(100%);
  }
}
