* {
  font-family: 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: radial-gradient(circle at top, #1a103d, #0b061f);
  color: #f5f3ff;
}

/* ================= NAVBAR ================= */
.glass-nav {
  backdrop-filter: blur(15px);
  background: rgba(11, 6, 31, 0.7);
}

.nav-link {
  color: #ddd6fe !important;
  font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
  color: #a78bfa !important;
}

/* ================= TEXT ================= */
.gradient-text {
  background: linear-gradient(90deg, #7c3aed, #a78bfa);
  -webkit-background-clip: text;
  color: transparent;
  font-weight: 800;
}

.section-title {
  text-align: center;
  font-weight: 800;
  margin-bottom: 30px;
  background: linear-gradient(90deg, #7c3aed, #a78bfa);
  -webkit-background-clip: text;
  color: transparent;
}

/* ================= HERO ================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 60px;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 800;
}

.subtitle {
  color: #ddd6fe;
  margin-top: 12px;
  line-height: 1.6;
}

/* PROFILE IMAGE */
.profile-wrapper {
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, #7c3aed, #c4b5fd);
  box-shadow: 0 0 30px rgba(124,58,237,0.45);
}

.profile-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

/* HERO ABOUT BOX */
.hero-about {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  border-radius: 28px;
  padding: 40px;
}

.hero-about p {
  color: #ddd6fe;
  line-height: 1.7;
}

/* ================= BUTTONS ================= */
.btn-primary-glow {
  background: linear-gradient(90deg, #7c3aed, #a78bfa);
  border: none;
  padding: 12px 28px;
  border-radius: 30px;
  color: #fff;
}

.btn-outline-glow {
  border: 1px solid #a78bfa;
  color: #a78bfa;
  padding: 12px 28px;
  border-radius: 30px;
}

/* ================= SECTIONS ================= */
.section {
  padding: 100px 0;
}

.glass-box {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  border-radius: 28px;
  padding: 50px;
}

/* ================= SKILLS & PROJECTS ================= */
.skill-card,
.project-card {
  background: rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 25px;
  text-align: center;
  transition: 0.35s;
}

.skill-card:hover,
.project-card:hover {
  transform: translateY(-6px);
  background: rgba(124,58,237,0.18);
}

/* SKILL ICON BASE */
.skill-card i {
  font-size: 28px;
  margin-bottom: 8px;
}

/* ================= SKILLS ICON COLORS ================= */
.skill-card i.fa-html5 {
  color: #f97316; /* HTML */
}

.skill-card i.fa-java {
  color: #ef4444; /* Java */
}

.skill-card i.fa-database {
  color: #38bdf8; /* DB */
}

.skill-card i.fa-chart-line {
  color: #a78bfa; /* R */
}

.skill-card i.fa-file-alt {
  color: #22c55e; /* MS Office */
}

.skill-card i.fa-chart-pie {
  color: #facc15; /* Data Analytics */
}

/* ================= FOOTER ================= */
footer {
  text-align: center;
  padding: 20px;
  color: #ddd6fe;
}

/* ================= ANIMATIONS ================= */
.hidden {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.7s ease;
}

.show {
  opacity: 1;
  transform: translateY(0);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 991px) {
  .hero {
    text-align: center;
    padding-top: 100px;
  }

  .hero-text h1 {
    font-size: 2.3rem;
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .hero-about {
    margin-top: 40px;
    padding: 30px;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .hero-text h1 {
    font-size: 2rem;
  }

  .profile-wrapper {
    width: 100px;
    height: 100px;
  }

  .section {
    padding: 70px 0;
  }
}
/* ================= CUSTOM SCROLLBAR ================= */

/* Scrollbar width */
::-webkit-scrollbar {
  width: 10px;
}

/* Scrollbar track (background) */
::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 10px;
}

/* Scrollbar thumb */
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #7c3aed, #a78bfa);
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(167, 139, 250, 0.6);
}

/* Hover effect */
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #a78bfa, #c4b5fd);
  box-shadow: 0 0 18px rgba(167, 139, 250, 0.9);
}
/* ================= BRAND HOVER FIX ================= */

/* Default brand */
.navbar-brand {
  background: linear-gradient(90deg, #7c3aed, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  transition: all 0.3s ease;
}

/* Hover & focus */
.navbar-brand:hover,
.navbar-brand:focus {
  background: linear-gradient(90deg, #a78bfa, #c4b5fd); /* lighter gradient */
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}
.navbar-brand:hover {
  filter: drop-shadow(0 0 8px rgba(167, 139, 250, 0.6));
}
/* ABOUT SECTION GLOW */
.hero-about,
#about .glass-box {
  position: relative;
  box-shadow:
    0 0 40px rgba(124, 58, 237, 0.25),
    0 0 80px rgba(167, 139, 250, 0.15);
  transition: box-shadow 0.4s ease;
}

/* Hover glow (desktop) */
.hero-about:hover,
#about .glass-box:hover {
  box-shadow:
    0 0 55px rgba(124, 58, 237, 0.45),
    0 0 120px rgba(167, 139, 250, 0.25);
}
/* Mobile touch glow effect */
@media (hover: none) and (pointer: coarse) {
  .hero-about:active,
  #about .glass-box:active {
    box-shadow:
      0 0 55px rgba(124, 58, 237, 0.45),
      0 0 120px rgba(167, 139, 250, 0.25);
  }
}
/* ================= FIXED NAVBAR SHADOW ================= */
.glass-nav {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* ================= DESKTOP SIZE BOOST ================= */
@media (min-width: 1200px) {

  /* HERO TEXT SCALE */
  .hero-text h1 {
    font-size: 3.6rem;
    line-height: 1.15;
  }

  .subtitle {
    font-size: 1.15rem;
    max-width: 520px;
  }

  /* PROFILE IMAGE BIGGER */
  .profile-wrapper {
    width: 140px;
    height: 140px;
  }

  /* ABOUT BOX BIGGER */
  .hero-about {
    padding: 55px;
  }

  .hero-about p {
    font-size: 1.05rem;
    line-height: 1.8;
  }

  /* BUTTONS SLIGHTLY BIGGER */
  .btn-primary-glow,
  .btn-outline-glow {
    padding: 14px 34px;
    font-size: 1rem;
  }
}

/* ================= MOUSE FOLLOW GLOW ================= */

/* ================= MOUSE FOLLOW GLOW (ATTACHED) ================= */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(
    circle,
    rgba(56,189,248,0.45),
    rgba(14,165,233,0.25),
    transparent 65%
  );
  filter: blur(22px);
  transform: translate(-50%, -50%);
  z-index: -1;
}

/* Disable on mobile */
@media (max-width: 768px) {
  .cursor-glow {
    display: none;
  }
}
/* ================= SKILLS – EVEN HEIGHT (MOBILE FIX) ================= */

.skill-card {
  height: 100%;
  min-height: 130px;          /* force equal height */
  display: flex;
  flex-direction: column;
  justify-content: center;    /* vertical center */
  align-items: center;        /* horizontal center */
  text-align: center;
  gap: 8px;
}

/* Better spacing for text */
.skill-card br {
  display: none;
}

.skill-card::after {
  content: "";
}

/* Mobile specific tuning */
@media (max-width: 576px) {
  .skill-card {
    min-height: 140px;
    padding: 22px;
  }

  .skill-card i {
    font-size: 30px;
  }

  .skill-card span,
  .skill-card {
    font-size: 0.95rem;
  }
}
