/* Base Styles */
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Onest", sans-serif;
  overflow: hidden;
}

/* Navbar */
.nav-bar {
  background-color: #ffffff;
  padding: 1rem 9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.nav-logo {
  height: 2.5rem;
  width: auto;
}

.nav-link {
  position: relative;
  display: inline-block;
  color: #5454FF;
  font-size: 1.3rem;
  text-decoration: none;
  font-weight: 600;
  transition: ease-in-out 0.2s all;
}

.nav-link:hover{
  color: #FE94FF;
}

body.popup-open .nav-bar,
body.popup-open .nav-logo,
body.popup-open .nav-link {
  display: none !important;
}

/* Underline animation */
/* .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background-color: #fe94ff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease-in-out;
}

.nav-link:hover::after {
  transform: scaleX(1);
} */

/* Page Layout */
.content-split {
  display: flex;
  justify-content: center;
  padding: 0 9rem;
}

/* Sidebars */
.side-bar {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  /* position: fixed; */
  /* top: 4rem; */
}

.left-side-bar {
  left: 9rem;
  gap: 4rem;
}

.right-side-bar {
  right: 9rem;
}

/* Main Content */
.about-content-wrapper {
  flex: 1;
  margin-top: 4rem;
  padding: 0 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;

  height: 95lvh;
  overflow-y: scroll;

}

.about-content-wrapper::-webkit-scrollbar {
  display: none;  /* Chrome, Safari */
}

/* Header Section */
.about-header-container {
  background-color: #5454FF;
  height: 50rem;
  width: 100%;
  margin-top: 8rem;
}

.about-header-img {
  /* height: 37rem; */
  height: 33rem;
  margin: -5rem 0 0 2rem;
  cursor: url('/imgs/about/cursor.svg'), auto;
}

/* Custom cursor element */
.custom-cursor {
  position: fixed;
  width: 200px;
  height: 200px;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease-out;
  opacity: 0;
}

.custom-cursor.visible {
  opacity: 1;
}

.about-header-img {
  cursor: none !important;
}

.about-header-h1-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: 2rem;
}

.about-header-h1-icon {
  height: 3rem;
}

.about-header-h1 {
  color: #ffffff;
  font-size: 2.5rem;
  font-weight: 600;
  margin: 1.5rem 0;
}

.about-header-p {
  /* margin-left: 2rem; */
  margin-top: -.2rem;
  padding: 0 28px;
  color: #ffffff;
  font-size: 1.2rem;
}


/* Scroll */

.scroll-wrapper {
  width: 100%;
  overflow: hidden;
}

.scrolling-container {
  display: flex;
  width: max-content;
  gap: 1rem;
  animation: scroll-left 100s linear infinite;
}

.scrolling-text-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.scroll-text {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
  white-space: nowrap;
}

.scroll-svg {
  height: 1.1rem;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


/* .scroll-wrapper{
  width: 100%;
  display: flex;
  align-items: center;
}

.scrolling-text-wrapper{
  display: flex;
  align-items: center;
  gap: 1rem;
}

.scroll-text{
  color: #ffff;
  font-size: 1.4rem;
  font-weight: 600;
}

.scroll-svg{
  height: 1.1rem;
} */

/* Yellow Card */
.about-yellow-card {
  background-color: #FFE67F;
  border: 0.45rem dashed #ffffff;
  margin: 2.5rem 0;
  padding: 2rem 0;
  width: 100%;
}

.yellow-card-h1 {
  color: #5454FF;
  margin: 0;
}

.yellow-card-p {
  color: #5454FF;
  margin: 1rem 2rem 0;
}

/* Cards Grid */
.about-cards-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 1rem 0;
}

.about-card {
  background-color: #fff;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.about-card-icon {
  height: 2rem;
}

.about-card-title {
  margin: 0;
  font-size: 1.7rem;
}

.about-card-p,
.about-footer-p {
  font-size: 1.2rem;
  /* font-weight: 500; */
  font-weight: 400;
  line-height: 1.8rem;
  margin: 1rem 0;
}

/* Footer */
.about-footer-card {
  background-color: #fff;
  padding: 1rem;
  border-radius: 20px;
  margin: 1rem 0 4rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 6rem;
}

.about-footer-h1 {
  font-size: 6rem;
  font-weight: 600;
  margin: 1rem 0;
  background: linear-gradient(45deg, #5454FF, #FFE67F, #FE94FF);
  background-size: 400% 400%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 10s ease infinite;
}

/* Gradient Animation */
@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
