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

body{
  font-family:'Inter',sans-serif;
  background:#0f172a;
  color:#e2e8f0;
}

/* GLOBAL */

.container{
  width:90%;
  max-width:1200px;
  margin:auto;
}

.page{
  min-height:100vh;
  padding:120px 0 80px;
  display:none;
}

.active-page{
  display:block;
}

.section-title{
  text-align:center;
  margin-bottom:60px;
}

.section-title p{
  color:#6366f1;
  font-weight:600;
  margin-bottom:10px;
}

.section-title h2{
  font-size:2.7rem;
}

/* HEADER */

.header{
  position:fixed;
  top:0;
  width:100%;
  background:#111827;
  z-index:1000;
  border-bottom:1px solid rgba(255,255,255,0.08);
}

.navbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  height:80px;
}

.logo{
  color:white;
  font-size:1.8rem;
  font-weight:800;
  text-decoration:none;
}

.logo span{
  color:#6366f1;
}

.nav-links{
  display:flex;
  list-style:none;
  gap:30px;
}

.nav-links a{
  text-decoration:none;
  color:#cbd5e1;
  transition:0.3s;
  font-weight:500;
}

.nav-links a:hover,
.nav-links .active{
  color:#6366f1;
}

.hamburger{
  display:none;
  font-size:1.5rem;
  cursor:pointer;
}

/* HERO */

.hero{
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  gap:60px;
}

.hero-tag{
  color:#6366f1;
  margin-bottom:20px;
  font-weight:600;
}

.hero-text h1{
  font-size:4rem;
  line-height:1.1;
  margin-bottom:20px;
}

.hero-text h1 span{
  color:#6366f1;
}

.hero-text h2{
  margin-bottom:20px;
  color:#cbd5e1;
}

.hero-text p{
  color:#94a3b8;
  margin-bottom:30px;
}

.hero-buttons{
  display:flex;
  gap:20px;
  flex-wrap:wrap;
}

.btn{
  border:none;
  padding:14px 28px;
  border-radius:12px;
  cursor:pointer;
  font-weight:600;
  transition:0.3s;
}

.primary-btn{
  background:#6366f1;
  color:white;
}

.secondary-btn{
  background:transparent;
  border:1px solid #6366f1;
  color:#6366f1;
}

.btn:hover{
  transform:translateY(-4px);
}

.hero-card{
  background:#111c34;
  padding:60px;
  border-radius:24px;
  text-align:center;
  position:relative;
  overflow:hidden;
}

.hero-card i{
  font-size:5rem;
  color:#6366f1;
  margin-bottom:20px;
}

.glow{
  position:absolute;
  width:250px;
  height:250px;
  background:#6366f1;
  filter:blur(120px);
  opacity:0.3;
  top:-50px;
  right:-50px;
}

/* ABOUT */

.about-grid{
  display:grid;
  grid-template-columns:1.3fr 1fr;
  gap:40px;
}

.about-card,
.stat-card,
.skill-card,
.project-card,
.contact-info,
.contact-form,
.cert-card{
  background:#111c34;
  border-radius:20px;
  border:1px solid rgba(255,255,255,0.08);
}

.about-card{
  padding:40px;
}

.about-card h3{
  margin-bottom:20px;
  font-size:1.8rem;
}

.about-card p{
  margin-bottom:15px;
  color:#cbd5e1;
}

.stats-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px;
}

.stat-card{
  padding:30px;
  text-align:center;
}

.stat-card h3{
  color:#6366f1;
  font-size:2rem;
}

/* SKILLS */

.skills-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:25px;
}

.skill-card{
  padding:30px;
}

.skill-card i{
  font-size:2.5rem;
  color:#6366f1;
  margin-bottom:20px;
}

.skill-card h3{
  margin-bottom:15px;
}

.skill-card p{
  color:#94a3b8;
}

.certifications{
  margin-top:40px;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:20px;
}

.cert-card{
  padding:25px;
  text-align:center;
}

/* PROJECTS */

.projects-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:30px;
}

.project-card{
  padding:30px;
}

.project-card h3{
  margin-bottom:15px;
}

.project-role{
  color:#6366f1;
  font-weight:600;
  margin-bottom:15px;
}

.project-description{
  color:#cbd5e1;
  margin-bottom:20px;
}

.tags{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.tag{
  background:rgba(99,102,241,0.15);
  color:#818cf8;
  padding:8px 14px;
  border-radius:30px;
  font-size:0.85rem;
}

/* CONTACT */

.contact-wrapper{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
}

.contact-info,
.contact-form{
  padding:40px;
}

.contact-info h3{
  margin-bottom:20px;
}

.contact-info p{
  margin-bottom:30px;
  color:#cbd5e1;
}

.contact-item{
  display:flex;
  gap:15px;
  margin-bottom:20px;
}

.contact-item i{
  color:#6366f1;
}

.contact-form input,
.contact-form textarea{
  width:100%;
  margin-bottom:20px;
  padding:16px;
  background:#0f172a;
  border:1px solid rgba(255,255,255,0.08);
  border-radius:12px;
  color:white;
}
.profile-image{
  width:220px;
  height:220px;
  object-fit:cover;
  border-radius:50%;
  border:4px solid #6366f1;
  margin-bottom:25px;
  position:relative;
  z-index:2;
  box-shadow:0 0 30px rgba(99,102,241,0.5);
}

#formMessage{
  margin-top:10px;
  color:#6366f1;
}

/* RESPONSIVE */

@media(max-width:900px){

  .hero,
  .about-grid,
  .contact-wrapper{
    grid-template-columns:1fr;
  }

  .hero-text h1{
    font-size:3rem;
  }
}

@media(max-width:768px){

  .nav-links{
    position:absolute;
    top:80px;
    right:-100%;
    width:260px;
    background:#111827;
    flex-direction:column;
    padding:30px;
    transition:0.3s;
  }

  .nav-links.active{
    right:0;
  }

  .hamburger{
    display:block;
  }

  .stats-grid{
    grid-template-columns:1fr;
  }

  .hero-text h1{
    font-size:2.5rem;
  }
}