/* ---------- Global Reset ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  scroll-behavior: smooth;
}

body {
  background: #0e0e10;
  color: #f5f5f5;
  line-height: 1.6;
  scroll-behavior: smooth;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

/* ---------- Header ---------- */
header {
  background: rgba(20, 20, 22, 0.8);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #222;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand .logo img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid #444;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: #ddd;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #fff;
}

.nav-links .cta {
  background: linear-gradient(135deg, #c084fc, #9333ea);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: opacity 0.3s;
}

.nav-links .cta:hover {
  opacity: 0.9;
}

/* ---------- Burger Menu ---------- */
.burger {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #fff;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    right: 20px;
    background: #16161a;
    flex-direction: column;
    width: 200px;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  }
  .nav-links.active {
    display: flex;
  }
  .burger {
    display: block;
  }
}

/* ---------- Hero Section ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  padding: 4rem 0;
}

.hero .intro h1 {
  font-size: 2.5rem;
  font-weight: 800;
}

.highlight {
  background: linear-gradient(90deg, #9333ea, #c084fc);
  -webkit-background-clip: text;
  color: transparent;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 1rem;
}

.badge {
  background: #1e1e22;
  color: #aaa;
  border: 1px solid #333;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
}

.sub {
  margin: 1rem 0;
  color: #bbb;
}

.row {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.cta {
  background: linear-gradient(135deg, #9333ea, #c084fc);
  color: #fff;
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 10px;
  font-weight: 600;
  transition: transform 0.3s;
}

.cta:hover {
  transform: scale(1.05);
}

.glass-btn {
  border: 1px solid #555;
  background: rgba(255, 255, 255, 0.05);
  color: #ddd;
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 10px;
  transition: all 0.3s;
}

.glass-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.quick-facts {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: #aaa;
}

/* ---------- Hero Card ---------- */
.hero-card {
  background: #16161a;
  border: 1px solid #333;
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.4s ease;
}

.hero-card:hover {
  transform: translateY(-5px);
}

:hover.hero-card>.profile-pic>.profile-img{
    opacity: 0.3;
}

:hover.hero-card>.profile-pic>.profile-overlay{
    color: #33d2ea;
}

.profile-pic {
  position: relative;
}

.profile-img {
    width: 100%;
    border-radius: 12px;
    transition: 0.5s;
}

.profile-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.8));
  color: transparent;
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  transition: 0.7s;
}

.info-grid {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
}

.bold {
  font-weight: 600;
}

/* ---------- Sections ---------- */
section {
  padding: 3rem 0;
  border-bottom: 1px solid #222;
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 700;
  background: linear-gradient(90deg, #c084fc, #9333ea);
  -webkit-background-clip: text;
  color: transparent;
}

/* ---------- Timeline ---------- */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tl-item {
  background: #1a1a1e;
  padding: 1rem;
  border-radius: 10px;
  border-left: 4px solid #9333ea;
}

.meta {
  font-size: 0.85rem;
  color: #999;
}

/* ---------- Skills ---------- */
.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill {
  background: #1c1c20;
  border: 1px solid #333;
  color: #ccc;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.9rem;
}

/* ---------- Projects ---------- */
.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1rem;
}
.project {
  background: #1a1a1e;
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid #333;
  transition: transform 0.3s ease;
}

.project:hover {
  transform: translateY(-5px);
}

/* ---------- Trainings & Contact ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.muted {
  color: #999;
}

.small {
  font-size: 0.85rem;
}

/* ---------- Footer ---------- */
footer {
  text-align: center;
  padding: 2rem 0;
  color: #777;
  font-size: 0.9rem;
}

/* ---------- Animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 1s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
}
