* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-dark: #0f0c29;
  --bg-mid: #302b63;
  --bg-light: #24243e;
  --card: rgba(255, 255, 255, 0.08);
  --text: #e5e7eb;
  --muted: #9ca3af;
  --accent: #a855f7;
}

body {
  font-family: "Segoe UI", sans-serif;
  background: linear-gradient(135deg, var(--bg-dark), var(--bg-mid), var(--bg-light));
  color: var(--text);
}

section {
  border-top: 1px solid rgba(255,255,255,0.08);
}

.section-container {
  padding: 6rem 10%;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 3rem;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-glass {
  width: 85%;
  padding: 4rem;
  border-radius: 20px;
  background: var(--card);
  backdrop-filter: blur(16px);
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 4rem;
}

.hero-badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  background: rgba(168,85,247,0.2);
  color: #e9d5ff;
}

.hero h1 {
  font-size: 3.2rem;
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  max-width: 520px;
  color: var(--muted);
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.btn {
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
}

.btn.primary {
  background: var(--accent);
  color: #020617;
}

.btn.secondary {
  border: 1px solid var(--accent);
  color: var(--accent);
}

.hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-wrapper {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  padding: 8px;
  background: radial-gradient(
    circle at top,
    rgba(168,85,247,0.25),
    rgba(15,23,42,0.95)
  );
  box-shadow:
    0 0 45px rgba(168,85,247,0.45),
    inset 0 0 30px rgba(255,255,255,0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.photo-wrapper:hover {
  transform: scale(1.05);
  box-shadow:
    0 0 65px rgba(168,85,247,0.6),
    inset 0 0 40px rgba(255,255,255,0.12);
}

.photo-wrapper img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;

  filter: contrast(1.02) brightness(1.02);
}

.skills-grid,
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.8rem;
}

.skill-card,
.project-card,
.experience-card {
  background: var(--card);
  backdrop-filter: blur(10px);
  padding: 1.8rem;
  border-radius: 14px;
  transition: transform 0.3s ease;
}

.skill-card:hover,
.project-card:hover {
  transform: translateY(-6px);
}

.contact-icons {
  display: flex;
  gap: 2.5rem;
  font-size: 2rem;
}

.contact-icons a {
  text-decoration: none;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.contact-icons a:hover {
  transform: scale(1.2);
}

@media (max-width: 900px) {
  .hero-glass {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }
}

.projects-grid.showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.project-showcase {
  background: rgba(0, 0, 0, 0.35);
  border-radius: 18px;
  padding: 1.6rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 0 rgba(168,85,247,0.0);
  transition: all 0.4s ease;
  text-align: center;
}

.project-showcase img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.2rem;
}

.project-showcase:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 0 40px rgba(168,85,247,0.45);
}

.project-showcase h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.project-showcase p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 0.8rem;
}

.project-showcase .tech {
  display: block;
  font-size: 0.85rem;
  color: #c084fc;
  margin-bottom: 1rem;
}

.project-btn {
  display: inline-block;
  padding: 0.55rem 1.4rem;
  border-radius: 20px;
  background: var(--accent);
  color: #020617;
  font-size: 0.9rem;
  text-decoration: none;
}
.project-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.2rem;
}

.project-btn {
  padding: 0.55rem 1.4rem;
  border-radius: 20px;
  background: var(--accent);
  color: #020617;
  font-size: 0.9rem;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 18px rgba(168,85,247,0.6);
}

.project-btn.outline {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
}
.contact-center {
  text-align: center;
}

.contact-sub {
  color: var(--muted);
  margin-bottom: 2rem;
}

.contact-sub span {
  color: var(--accent);
}

.contact-icons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
}

.contact-icons a {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.6rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-icons a:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.5);
}
html {
  scroll-behavior: smooth;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;

  display: flex;
  justify-content: center;
  gap: 2.5rem;

  padding: 1rem 0;

  background: rgba(15, 12, 41, 0.75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.navbar a {
  text-decoration: none;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.3s ease;
}

.navbar a:hover {
  color: var(--accent);
}

.experience-card {
  max-width: 900px;
  margin: 0 auto;          
  padding: 2.5rem 3rem;      
  line-height: 1.7;
}

.experience-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}

.experience-card .company {
  display: block;
  color: var(--muted);
  margin-bottom: 1.4rem;
  font-size: 0.95rem;
}

.experience-points {
  padding-left: 1.2rem;
}

.experience-points li {
  margin-bottom: 0.8rem;    
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.skill-card {
  position: relative;
}

.skill-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, #a855f7, #6366f1);
  border-radius: 14px 14px 0 0;
}

.skill-main {
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.skill-sub {
  font-size: 0.85rem;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.resume-center {
  text-align: center;
}

.resume-text {
  max-width: 620px;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
}

.resume-text span {
  color: var(--text);
  font-weight: 500;
}


.resume-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.resume-btn {
  padding: 0.8rem 2rem;
  border-radius: 30px;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resume-btn.primary {
  background: var(--accent);
  color: #020617;
}

.resume-btn.outline {
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
}

.resume-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(168,85,247,0.5);
}

.hero-badge {
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  cursor: default;
}

.hero-badge:hover {
  transform: translateY(-2px);
  background: rgba(168, 85, 247, 0.3);
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.45);
}

.btn.primary {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.6);
}

.btn.secondary {
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.btn.secondary:hover {
  background: rgba(168, 85, 247, 0.15);
  transform: translateY(-2px);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(168, 85, 247, 0.55);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(
  180deg,
  rgba(168, 85, 247, 0.85),
  rgba(168, 85, 247, 0.55)
);
  border-radius: 10px;
  border: 2px solid rgba(15, 12, 41, 0.8);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    180deg,
    rgba(168, 85, 247, 1),
    rgba(168, 85, 247, 0.75)
  );
}


/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(168, 85, 247, 0.7) rgba(15, 12, 41, 0.6);
}
