/* FONT IMPORT */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

/* GLOBAL STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

/* ===== NAVBAR ===== */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 60px;
  height: 70px;
  background-color: #5e4b8b;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.15);
  position: sticky;
  top: 0;
  z-index: 100;
}

/* LOGO */
.logo a {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: 1px;
  transition: 0.3s ease;
}

.logo a:hover {
  color: #ffd86b;
  transform: scale(1.1);
}

/* NAV LINKS */
nav ul {
  display: flex;
  gap: 40px;
  list-style: none;
}

nav ul li a {
  text-decoration: none;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  position: relative;
  padding: 8px 0;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #ffd86b;
}

nav ul li a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px;
  transform: translateX(-50%);
  width: 0%;
  height: 3px;
  background: #ffd86b;
  border-radius: 50px;
  transition: all 0.35s ease;
}

nav ul li a:hover::after {
  width: 60%;
}

/* ===== HAMBURGER MENU ===== */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background: #fff;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.hamburger.toggle span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.toggle span:nth-child(2) {
  opacity: 0;
}

.hamburger.toggle span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

nav ul.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 70px;
  right: 0;
  background-color: #5e4b8b;
  width: 100%;
  text-align: center;
  padding: 20px 0;
  gap: 20px;
  box-shadow: 0px 5px 15px rgba(0,0,0,0.2);
}

/* ===== ABOUT SECTION ===== */
.about-section {
  padding: 100px 60px;
  background-color: #f5f1ff; /* static light purple background */
}

.about-content {
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 40px;
}

.about-text h2 {
  font-size: 36px;
  color: #5e4b8b;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 18px;
  color: #333;
  line-height: 1.6;
  max-width: 800px;
  margin-bottom: 30px;
}

/* SKILLS */
.skills {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.skill {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.skill p {
  font-weight: 600;
  color: #5e4b8b;
  margin-bottom: 5px;
}

.skill-bar {
  width: 100%;
  height: 20px;
  background-color: #ddd;
  border-radius: 50px;
  overflow: hidden;
  position: relative;
}

.skill-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #ffd86b, #fff1a8);
  border-radius: 50px;
  text-align: right;
  padding-right: 10px;
  line-height: 20px;
  color: #5e4b8b;
  font-weight: 600;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .about-section {
    padding: 80px 40px;
  }

  nav {
    padding: 12px 40px;
  }

  nav ul {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

@media (max-width: 600px) {
  .about-section {
    padding: 60px 20px;
  }

  .about-text h2 {
    font-size: 28px;
  }

  .about-text p {
    font-size: 16px;
  }
}
