html {
  scroll-behavior: smooth;
}

*,
::after,
::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: linear-gradient(135deg, #11091d, #0d031d);
  min-height: 100vh;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
}

ul {
  list-style-type: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}

header {
  position: relative;
}

nav {
  padding: 10px 20px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(15, 15, 24, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* fixed nav */
.fixed-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(15, 15, 24, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.fixed-nav .links a {
  color: #fff;
}

.fixed-nav .links a:hover {
  color: #fff;
}

/* .fixed-nav .links-container {
  height: auto !important;
} */
.nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-toggle {
  font-size: 1.5rem;
  color: #ffffff;
  background: transparent;
  border-color: transparent;
  transition: all 0.3s linear;
  cursor: pointer;
}

.nav-toggle:hover {
  color: #f5eded;
}


.navbar-logo {
  display: flex;
  align-items: center;
}

.navbar-logo-img {
  height: 40px;
  margin-right: 20px;
}

.navbar-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: #fff;
}

.links-container {
  height: 0;
  overflow: hidden;
  transition: all 0.3s linear;
}

.show-links {
  height: 200px;
}


.links a {
  background: transparent;
  color: #ffffff;
  font-size: 1rem;
  text-transform: capitalize;
  display: block;
  transition: all 0.3s linear;
  font-weight: bold;
  padding-top: 1rem;
}

.links a:hover {
  color: #9874fc;
}


/* NAVBAR RESPONSIVE  */
@media screen and (min-width: 768px) {
  nav {
    background: rgba(15, 15, 24, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-center {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
  }

  .nav-header {
    padding: 0;
  }

  .nav-toggle {
    display: none;
  }

  .links-container {
    height: auto !important;
  }

  .links {
    display: flex;
    margin-top: 0;
  }

  .links a {
    background: transparent;
    position: relative;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s ease;
    display: block;
    transition: all 0.3s linear;
    margin: 0 1rem;
    padding: 0;
  }

  .links a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    width: 100%;
    height: 2px;
    background-color: #9874fc;
    transition: transform 0.3s ease-in-out;
  }

  .links a:hover {
    color: #fff;
  }

  .links a:hover::after {
    transform: translateX(-50%) scaleX(1);
  }
}




.p-c {
  margin-top: 120px;
  text-align: center;
  padding: 0 20px;
}

.profile-img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  margin: auto;
}

.profile-img::before {
  content: "";
  position: absolute;
  top: 220px;
  left: 50%;
  width: 270px;
  height: 270px;
  transform: translate(-135px, -135px);
  background: radial-gradient(circle,
      rgba(255, 255, 255, 0.87) 0%,
      rgba(179, 0, 255, 0.4) 50%,
      transparent 70%);
  filter: blur(20px);
  z-index: -1;
}

#p-p {
  width: 180px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.p-c h1 {
  font-size: 3rem;
  margin-top: 30px;
}

.p-c h2 {
  margin: 30px 0;
  font-size: 3.5rem;
  font-weight: bold;
  color: rgb(153, 153, 248);
}

.text-gradient {
  background: linear-gradient(to right, #c084fc, #7530b9);

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  /* For non-WebKit browsers (optional fallback) */
  background-clip: text;
  color: transparent;
}

.p-c h3 {
  font-size: 1.3rem;
  color: #b3b3b3;
  margin-bottom: -30px;
  font-weight: 600;
  margin-top: 20px;
}

.p-c p {
  font-size: 1.3rem;
  /* line-height: 1.8; */
}

@media (max-width: 768px) {
  .p-c h1 {
    font-size: 2rem;
  }

  .p-c h2 {
    font-size: 2.5rem;
  }

  .p-c h3 {
    font-size: 1.1rem;
    align-items: center;
    text-align: center;
  }

  .p-c p {
    font-size: 1.1rem;
  }

  #t {
    font-size: 1.1rem !important;
  }
}

.t-w {
  display: inline-block;
  position: relative;
  min-width: max-content;
}

#t {
  font-family: 'Fira Code', monospace;
  font-weight: bold;
  font-size: 1.46rem;
  white-space: nowrap;
  overflow: hidden;
  border-right: 3px solid #fff;
  animation: blink 0.6s step-end infinite;
  text-align: left;
  width: 20ch;
}

.gradient-project {
  background: #df77ff;
  -webkit-background-clip: text;
  /* For WebKit browsers */
  background-clip: text;
  /* Standard property */
  -webkit-text-fill-color: transparent;
}

.gradient-design {
  background: #fd6262;
  -webkit-background-clip: text;
  /* For WebKit browsers */
  background-clip: text;
  /* Standard property */
  -webkit-text-fill-color: transparent;
}

.gradient-technical {
  background: #ffc862;
  -webkit-background-clip: text;
  /* For WebKit browsers */
  background-clip: text;
  /* Standard property */
  -webkit-text-fill-color: transparent;
}

.gradient-team {
  background: #9999f8;
  -webkit-background-clip: text;
  /* For WebKit browsers */
  background-clip: text;
  /* Standard property */
  -webkit-text-fill-color: transparent;
}

.gradient-community {
  background: #62c4fd;
  -webkit-background-clip: text;
  /* For WebKit browsers */
  background-clip: text;
  /* Standard property */
  -webkit-text-fill-color: transparent;
}


@keyframes blink {

  from,
  to {
    border-color: transparent;
  }

  50% {
    border-color: white;
  }
}

.s {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 30px auto;
}

.s div {
  background-color: #2c2c3a00;
  padding: 20px;
  border-radius: 10px;
  width: 150px;
  text-align: center;
  background: transparent;
}

.s h3 {
  font-size: 2.7rem;
  font-weight: bold;
  margin: 0;
}

.s p {
  font-size: 1.1rem;
  font-weight: 600;
  color: #b3b3b3;
}

.s-i {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 15px;
  width: 100%;
  max-width: 300px;
  margin: 5px auto;
  text-align: center;
  margin-top: -20px;
}

.s-i a {
  width: 35px;
  height: 35px;
  transition: transform 0.2s ease-in-out;
  filter: invert(100%) brightness(100%);
}

.s-i a:hover {
  transform: scale(1.15);
}

@media (max-width: 768px) {
  .s-i {
    max-width: 100%;
  }

  .s-i a {
    width: 35px;
    height: 35px;
  }
}

.c-b {
  margin-top: 30px;
  text-align: center;
}

.c-b a {
  display: inline-block;
  padding: 10px 20px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #ffffff;
  background-color: transparent;
  text-decoration: none;
  border-radius: 5px;
  border: 2px solid #7530b9;
  transition: transform 0.3s ease-in-out, background-color 0.3s;
}

.c-b a:hover {
  transform: scale(0.95);
  background-color: #3c2455;
}

.m-w {
  padding: 40px 20px;
  text-align: center;
}

.m-w h1 {
  font-size: 3rem;
  margin-bottom: 30px;
}

.ex-container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  height: 100%;
  box-sizing: border-box;
  gap: 30px;
  padding: 10px;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
}

@media screen and (max-width: 930px) {
  .ex-container {
    flex-direction: column;
  }
}

.g {
  display: block;
  background: transparent;
  border-radius: 10px;
  margin: 0 auto;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 4px 15px #00000062;
  color: inherit;
  border: 2px solid rgba(153, 153, 248, 0.24);
  transition: border-color 0.4s ease, border-width 0.4s ease, background 0.3s ease;
}

.g:hover {
  border: 2px solid rgb(153, 153, 248);
  transition: border-color 0.4s ease, border-width 0.4s ease;
  background: rgba(44, 44, 58, 0.05);
}

.g a {
  text-decoration: none;
}

.g-t {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.g h3 {
  margin-top: 10px;
  font-size: 2rem;
  color: #ffffff;
  transition: color 0.4s ease;
}

.g:hover h3 {
  color: #9999f8;
}

.g-s {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 15px;
  margin-top: 20px;
}

.g-s p {
  margin: 0;
  font-size: 1.5rem;
  color: #ffffff;
  font-weight: bold;
  text-align: center;
}

.g-s span {
  display: block;
  font-size: 1.3rem;
  color: #ffffff;
  font-weight: bold;
}

.g-d {
  font-size: 1rem;
  color: #d1d1d1;
  line-height: 1.5;
  text-align: center;
  margin-top: 10px;
  padding: 10px;
  background: transparent;
  border-radius: 5px;
}

@keyframes t {
  0% {
    content: "Project Management";
  }

  25% {
    content: "Business Management";
  }

  50% {
    content: "Team Leadership";
  }

  75% {
    content: "Community Management";
  }
}

.g-container {
  position: relative;
  padding-bottom: 20px;
}

.g-info {
  position: relative;
  max-height: 50px;
  opacity: 0.3;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out, opacity 0.3s ease-in-out;
  text-align: center;
  background: rgba(44, 44, 58, 0);
  border-radius: 10px;
  padding: 10px;
}

.g-expanded .g-info {
  max-height: 800px;
  opacity: 1;
}

.g-toggle {
  font-size: 1.5rem;
  color: white;
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 0);
  transition: transform 0.5s ease, bottom 0.5s ease;
  opacity: 1;
  pointer-events: auto;
  z-index: 100;
}

.g-toggle:hover {
  transform: translate(-50%, 0) scale(1.2);
  cursor: crosshair;
}

.g-expanded .g-toggle {
  transform: translate(-50%, 0) rotate(180deg) scale(1.2);
  transition: transform 0.5s ease;
  bottom: 0;
}

.g-info i {
  font-size: 3.2rem;
  color: #74C0FC;
  margin-bottom: 5px;
}

.g-info h2 {
  font-size: 2rem;
  margin: 10px 0;
  color: white;
}

.g-info h4 {
  font-size: 1.1rem;
  margin: 10px 0;
  color: #b3b3b3;
}

.g-info p {
  font-size: 1rem;
  color: #d1d1d1;
  max-width: 90%;
  margin: 0 auto;
  margin-top: 10px;
  margin-bottom: 20px;
  font-weight: 500;
}

.label-container {
  display: flex;
  flex-wrap: wrap;
  margin-top: 15px;
  justify-content: center;
}

.label {
  display: inline-block;
  background: rgba(43, 125, 187, 0.904);
  color: rgba(255, 255, 255, 0.884);
  padding: 4px 8px;
  border-radius: 20px;
  font-size: 12px;
  margin: 10px;
  border: .5px solid rgba(255, 255, 255, 0.603);
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.label:hover {
  background: rgba(74, 192, 252, 1);
  color: #fff;
  transform: scale(1.05);
}

.label.active {
  background: rgba(74, 192, 252, 1);
  color: #fff;
  transform: scale(1.05);
}

.g-desc {
  opacity: 1;
  transition: opacity 0.5s ease;
}

.g-desc p {
  margin-bottom: 15px;
}

.skills h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-align: center;
}

.skills h3 {
  top: 0;
  font-size: 1.5rem;
  margin-bottom: 10px;
  font-weight: bold;
  text-align: center;
}

.skills p {
  font-size: 1rem;
  line-height: 1.8;
  margin-top: 10px;
  color: rgb(179, 176, 176);
  font-weight: 600;
  text-align: center;
}

.skills-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 10px;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
}

.skills-container div {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  width: 440px;
  max-width: 500px;
  min-width: 100px;
  height: 230px;
  max-height: 250px;
  min-height: 100px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.384);
  background: linear-gradient(to right, #240e3a, #562a80, #240e3a);
  padding: 15px;
  gap: 10px;
  transition: transform 0.3s ease-in-out;
}

.skills-container div:hover {
  transform: scale(1.05);
}

.skills-container span {
  font-size: 1rem;
  font-weight: bold;
  color: #fff;
  text-align: center;
}

.footer {
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 30px;
  padding: 20px;
  color: #b3b3b3;
  text-align: center;
}