/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== BASE ===== */
html {
  overflow-x: hidden;
}

body {
  font-family: "Poppins", sans-serif;
  background: #080c14;
  color: #e2e8f0;
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 70px;
}

body.light-mode {
  background: #f0f4ff;
  color: #0f172a;
}

/* ===== SCROLL PROGRESS ===== */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #7c3aed, #a78bfa, #38bdf8);
  z-index: 9999;
  border-radius: 0 2px 2px 0;
}

/* ===== SCROLL LOCK ===== */
body.no-scroll {
  overflow: hidden;
  height: 100vh;
}

/* ===== NAVBAR ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: linear-gradient(135deg, #020617, #0f172a);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transform: translateY(0);
  transition: transform 0.35s ease;
}

header.hide-nav {
  transform: translateY(-100%);
}

body.light-mode header {
  background: rgba(142, 153, 163, 0.658);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 8%;
  position: relative;
  z-index: 1001;
  transition: padding 0.3s ease;
}

.navbar.shrink {
  padding: 8px 8%;
}

.logo {
  color: #8b5cf6;
  font-weight: 600;
}

.navbar a,
.navbar a h2 {
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 25px;
}

.nav-links a {
  text-decoration: none;
  color: inherit;
  font-weight: 500;
  transition: 0.3s;
  position: relative;
  padding: 5px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: #8b5cf6;
  transition: 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links .active::after {
  width: 0%;
}

.nav-links a:hover,
.nav-links .active {
  color: #8b5cf6;
}

.theme-item button {
  border: none;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
}

/* ===== HAMBURGER ===== */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  height: 3px;
  width: 25px;
  background: currentColor;
  margin: 4px 0;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.menu-toggle.active .bar:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

/* ============================= */
/* ===== ABOUT SECTION ===== */
/* ============================= */

.about {
  padding: 90px 8% 60px;
  position: relative;
}

.about::before {
  content: "";
  position: fixed;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(
    circle,
    rgba(124, 58, 237, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 70px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ===== PROFILE IMAGE ===== */
.about-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.about-image img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid rgba(167, 139, 250, 0.25);
  filter: brightness(0.92) saturate(0.9);
  opacity: 0;
  transform: scale(0.93);
  animation: fadeZoom 0.9s ease 0.1s forwards;
  transition:
    transform 0.4s ease,
    filter 0.4s ease,
    border-color 0.3s ease;
}

.about-image img:hover {
  transform: scale(1.03);
  filter: brightness(1) saturate(1.05);
  border-color: rgba(167, 139, 250, 0.5);
}

body.light-mode .about-image img {
  border: 1px solid rgba(124, 58, 237, 0.2);
  filter: brightness(0.97);
}

/* ===== ABOUT CONTENT ===== */
.about-content {
  flex: 1.5;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-content h1 {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff 30%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.light-mode .about-content h1 {
  background: linear-gradient(135deg, #0f172a 30%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-content p {
  font-size: 14px;
  margin-bottom: 14px;
  color: rgba(226, 232, 240, 0.6);
  line-height: 1.8;
}

body.light-mode .about-content p {
  color: #475569;
}

/* ===== DETAILS GRID ===== */
.about-details {
  margin-top: 28px;
  display: grid;
  gap: 10px;
}

.about-details div {
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 2px solid rgba(167, 139, 250, 0.5);
  font-size: 14px;
  transition:
    border-color 0.25s,
    background 0.25s,
    transform 0.25s;
}

.about-details div:hover {
  transform: translateX(5px);
  border-left-color: #a78bfa;
  background: rgba(167, 139, 250, 0.05);
}

body.light-mode .about-details div {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(139, 92, 246, 0.1);
  border-left: 2px solid rgba(124, 58, 237, 0.4);
}

body.light-mode .about-details div:hover {
  background: rgba(255, 255, 255, 0.95);
  border-left-color: #7c3aed;
}

.about-details strong {
  color: #a78bfa;
  font-weight: 500;
  margin-right: 6px;
}

body.light-mode .about-details strong {
  color: #7c3aed;
}

/* ===== DOWNLOAD BUTTON ===== */
.about-buttons {
  margin-top: 32px;
}

.btn {
  display: inline-block;
  padding: 11px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
}

.primary {
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
  color: #fff;
  border: 1px solid transparent;
}

.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(124, 58, 237, 0.35);
}

/* ===== EXTRA SECTIONS ===== */
.about-extra {
  padding: 40px 8%;
  position: relative;
  z-index: 1;
}

.about-extra h2 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.4px;
  margin-bottom: 16px;
  color: #c4b5fd;
}

body.light-mode .about-extra h2 {
  color: #7c3aed;
}

.about-extra p {
  font-size: 14px;
  color: rgba(226, 232, 240, 0.58);
  margin-bottom: 12px;
  line-height: 1.8;
  max-width: 680px;
}

body.light-mode .about-extra p {
  color: #475569;
}

.about-extra ul {
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 600px;
}

.about-extra ul li {
  font-size: 14px;
  color: rgba(226, 232, 240, 0.65);
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.025);
  padding-left: 16px;
  border-left: 2px solid rgba(167, 139, 250, 0.3);
  transition:
    border-left-color 0.25s,
    background 0.25s;
}

.about-extra ul li:hover {
  border-left-color: #a78bfa;
  background: rgba(167, 139, 250, 0.05);
}

body.light-mode .about-extra ul li {
  color: #334155;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(139, 92, 246, 0.1);
  border-left: 2px solid rgba(124, 58, 237, 0.3);
}

body.light-mode .about-extra ul li:hover {
  border-left-color: #7c3aed;
  background: white;
}

/* ===== TOOLS ===== */
.tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.tools span {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  padding: 7px 18px;
  border-radius: 999px;
  border: 1px solid rgba(167, 139, 250, 0.2);
  background: rgba(167, 139, 250, 0.07);
  color: #a78bfa;
  cursor: default;
  transition: all 0.25s ease;
  letter-spacing: 0.2px;
}

.tools span:hover {
  background: rgba(167, 139, 250, 0.18);
  border-color: rgba(167, 139, 250, 0.45);
  transform: translateY(-3px);
}

body.light-mode .tools span {
  background: rgba(124, 58, 237, 0.07);
  border-color: rgba(124, 58, 237, 0.18);
  color: #7c3aed;
}

body.light-mode .tools span:hover {
  background: rgba(124, 58, 237, 0.14);
  border-color: rgba(124, 58, 237, 0.35);
}

/* ===== FOOTER ===== */
footer {
  background: rgba(5, 8, 14, 0.9);
  color: #cbd5f5;
  padding: 60px 20px 25px;
  margin-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(124, 58, 237, 0.08),
    transparent 70%
  );
  filter: blur(60px);
  z-index: 0;
}

body.light-mode footer {
  background: #1e1b4b;
  border-top: 1px solid rgba(139, 92, 246, 0.15);
}

.footer-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.footer-container h3 {
  color: #ffffff;
  margin-bottom: 16px;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}

.footer-container h3.con {
  text-align: left;
}

.footer-contact p {
  font-size: 14px;
  margin-bottom: 10px;
  opacity: 0.75;
  transition: 0.3s;
}

.footer-contact p:hover {
  color: #a78bfa;
  transform: translateX(4px);
  opacity: 1;
}

.footer-contact i {
  margin-right: 10px;
  color: #a78bfa;
}

.footer-mail {
  color: inherit;
  text-decoration: none;
}

.footer-mail:hover {
  color: #a78bfa;
  text-decoration: underline;
}

.footer-social a {
  display: inline-block;
  margin-right: 14px;
  font-size: 22px;
  color: rgba(203, 213, 245, 0.5);
  transition: 0.3s;
}

.footer-social a:hover {
  color: #a78bfa;
  transform: translateY(-4px) scale(1.15);
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  font-size: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  opacity: 0.4;
  letter-spacing: 0.5px;
}

/* ===== ANIMATIONS ===== */
.animate {
  opacity: 0;
  animation: fadeUp 0.75s ease forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeZoom {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.delay-1 {
  animation-delay: 0.1s;
}
.delay-2 {
  animation-delay: 0.2s;
}
.delay-3 {
  animation-delay: 0.3s;
}
.delay-4 {
  animation-delay: 0.4s;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
  }

  .menu-toggle {
    display: flex;
    position: relative;
    z-index: 1005;
  }

  .theme-item {
    position: absolute;
    top: 25px;
    left: 20px;
    z-index: 1003;
  }

  .theme-item button {
    font-size: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(15, 23, 42, 0.98);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    display: none;
    z-index: 1004;
  }

  body.light-mode .nav-links {
    background: rgba(255, 255, 255, 0.98);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 22px;
    font-weight: 500;
  }

  .about {
    padding: 60px 5% 40px;
  }

  .about-container {
    flex-direction: column;
    text-align: center;
    gap: 36px;
  }

  .about-image img {
    width: 220px;
    height: 220px;
  }

  .about-content h1 {
    font-size: 28px;
  }

  .about-content p {
    font-size: 13px;
  }

  .about-extra {
    padding: 30px 5%;
    text-align: center;
  }

  .about-extra ul {
    max-width: 100%;
  }

  .about-extra p {
    max-width: 100%;
  }

  .tools {
    justify-content: center;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-container h3.con {
    text-align: center !important;
  }

  body.no-scroll {
    overflow: hidden;
    position: fixed;
    width: 100%;
  }
}

/* ===== JOURNEY TIMELINE ===== */
.timeline {
  position: relative;
  padding-left: 56px;
  margin-top: 20px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 0;
  bottom: 0;
  width: 1.5px;
  background: linear-gradient(
    to bottom,
    #7c3aed 0%,
    #a78bfa 60%,
    transparent 100%
  );
}

.t-item {
  position: relative;
  margin-bottom: 28px;
}

.t-item:last-child {
  margin-bottom: 0;
}

.t-icon {
  position: absolute;
  left: -56px;
  top: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  border: 1.5px solid rgba(167, 139, 250, 0.25);
  background: rgba(167, 139, 250, 0.07);
  color: #a78bfa;
  transition:
    border-color 0.25s,
    background 0.25s;
}

.t-item:hover .t-icon {
  border-color: #a78bfa;
  background: rgba(167, 139, 250, 0.15);
}

.t-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 16px 20px;
  transition:
    border-color 0.25s,
    background 0.25s;
}

.t-item:hover .t-card {
  border-color: rgba(167, 139, 250, 0.25);
  background: rgba(167, 139, 250, 0.04);
}

body.light-mode .t-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(139, 92, 246, 0.1);
}

body.light-mode .t-item:hover .t-card {
  background: white;
  border-color: rgba(124, 58, 237, 0.25);
}

.t-year {
  font-size: 11px;
  font-weight: 500;
  color: #a78bfa;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

body.light-mode .t-year {
  color: #7c3aed;
}

.t-head {
  font-size: 16px;
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 8px;
}

body.light-mode .t-head {
  color: #0f172a;
}

.t-card p {
  font-size: 13px;
  color: rgba(226, 232, 240, 0.55);
  line-height: 1.7;
  margin-bottom: 0;
  max-width: 100%;
  opacity: 1;
}

body.light-mode .t-card p {
  color: #475569;
}

@media (max-width: 768px) {
  .timeline {
    padding-left: 46px;
  }
  .t-icon {
    left: -46px;
    width: 32px;
    height: 32px;
    font-size: 13px;
  }
  .timeline::before {
    left: 15px;
  }
}

/* ===== BELIEFS GRID ===== */
.beliefs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.belief-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 20px 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition:
    border-color 0.25s,
    background 0.25s,
    transform 0.25s;
}

.belief-card:hover {
  border-color: rgba(167, 139, 250, 0.3);
  background: rgba(167, 139, 250, 0.05);
  transform: translateY(-3px);
}

body.light-mode .belief-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(139, 92, 246, 0.1);
}

body.light-mode .belief-card:hover {
  background: white;
  border-color: rgba(124, 58, 237, 0.25);
}

.belief-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(167, 139, 250, 0.1);
  border: 1px solid rgba(167, 139, 250, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #a78bfa;
  flex-shrink: 0;
  transition:
    background 0.25s,
    border-color 0.25s;
}

.belief-card:hover .belief-icon {
  background: rgba(167, 139, 250, 0.18);
  border-color: rgba(167, 139, 250, 0.4);
}

body.light-mode .belief-icon {
  background: rgba(124, 58, 237, 0.07);
  border-color: rgba(124, 58, 237, 0.18);
  color: #7c3aed;
}

.belief-card p {
  font-size: 13px;
  color: rgba(226, 232, 240, 0.6);
  line-height: 1.65;
  margin: 0;
  padding: 0;
  opacity: 1;
  padding-top: 8px;
}

body.light-mode .belief-card p {
  color: #475569;
}

/* ===== TOOLS WITH ICONS ===== */
.tools span i {
  margin-right: 6px;
  font-size: 13px;
}

/* ===== GOALS GRID ===== */
.goals-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.goal-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 24px 20px;
  transition:
    border-color 0.25s,
    background 0.25s,
    transform 0.25s;
  position: relative;
  overflow: hidden;
}

.goal-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(167, 139, 250, 0),
    transparent
  );
  transition: background 0.4s ease;
}

.goal-card:hover::before {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(167, 139, 250, 0.5),
    transparent
  );
}

.goal-card:hover {
  border-color: rgba(167, 139, 250, 0.28);
  background: rgba(167, 139, 250, 0.04);
  transform: translateY(-4px);
}

body.light-mode .goal-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(139, 92, 246, 0.1);
}

body.light-mode .goal-card:hover {
  background: white;
  border-color: rgba(124, 58, 237, 0.25);
}

.goal-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(167, 139, 250, 0.1);
  border: 1px solid rgba(167, 139, 250, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #a78bfa;
  margin-bottom: 12px;
  transition:
    background 0.25s,
    border-color 0.25s;
}

.goal-card:hover .goal-icon {
  background: rgba(167, 139, 250, 0.18);
  border-color: rgba(167, 139, 250, 0.4);
}

body.light-mode .goal-icon {
  background: rgba(124, 58, 237, 0.07);
  border-color: rgba(124, 58, 237, 0.18);
  color: #7c3aed;
}

.goal-label {
  font-size: 11px;
  font-weight: 500;
  color: #a78bfa;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

body.light-mode .goal-label {
  color: #7c3aed;
}

.goal-card p {
  font-size: 13px;
  color: rgba(226, 232, 240, 0.55);
  line-height: 1.75;
  margin: 0;
  opacity: 1;
}

body.light-mode .goal-card p {
  color: #475569;
}

@media (max-width: 768px) {
  .beliefs-grid {
    grid-template-columns: 1fr;
  }

  .goals-grid {
    grid-template-columns: 1fr;
  }

  .belief-card {
    padding: 16px 14px;
  }

  .goal-card {
    padding: 18px 16px;
    text-align: center;
  }

  .goal-icon {
    margin: 0 auto 15px;
  }
}
