/* =========================
   1. RESET + BASE
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: radial-gradient(circle at top, #0a1f3c, #020617);
  color: #ffffff;
  min-height: 100vh;
  overflow-x: hidden;
}

/* =========================
   2. BACKGROUND EFFECT
========================= */
.background {
  position: fixed;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 30%, rgba(0, 150, 255, 0.2), transparent),
    radial-gradient(circle at 80% 70%, rgba(255, 180, 120, 0.15), transparent);
  z-index: -1;
}

/* =========================
   3. GLASS EFFECT
========================= */
.glass {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 25px rgba(0, 150, 255, 0.25);
}

/* =========================
   4. NAVBAR
========================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 10%;
}

.logo {
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 2px;
}

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

.nav-links a {
  text-decoration: none;
  color: white;
  transition: 0.3s ease;
}

.nav-links a:hover {
  color: #00c6ff;
}

/* =========================
   5. HERO
========================= */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 50px 10%;
  padding: 40px;
  gap: 40px;
}

.hero-left {
  flex: 1;
  display: flex;
  justify-content: center;
}

.profile {
  width: 220px;
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(255,255,255,0.2);
}

.hero-right {
  flex: 1;
}

.hero-right h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.hero-right h3 {
  color: #00c6ff;
  margin-bottom: 15px;
}

.hero-right p {
  line-height: 1.6;
  margin-bottom: 20px;
}

/* =========================
   6. SOCIAL ICONS
========================= */
.socials {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.socials img {
  width: 24px;
  cursor: pointer;
  transition: 0.3s ease;
}

.socials img:hover {
  transform: scale(1.2);
}

/* =========================
   7. BUTTON
========================= */
.btn {
  padding: 10px 20px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: white;
  cursor: pointer;
  transition: 0.3s ease;
}

.btn:hover {
  background: rgba(0, 150, 255, 0.3);
  box-shadow: 0 0 15px rgba(0,150,255,0.5);
}

/* =========================
   8. ABOUT
========================= */
.about {
  margin: 40px 10%;
  padding: 30px;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 30px;
}

.about-content img {
  width: 120px;
  border-radius: 15px;
}

.about p {
  line-height: 1.6;
}

/* =========================
   9. SKILLS
========================= */
.skills {
  margin: 40px 10%;
  padding: 30px;
}

.skills h2 {
  margin-bottom: 20px;
}

.skill {
  margin-bottom: 20px;
}

.bar {
  height: 8px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  overflow: hidden;
}

.bar div {
  height: 100%;
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  border-radius: 10px;
}

/* =========================
   10. PROJECTS
========================= */
.projects {
  margin: 40px 10%;
  text-align: center;
}

.projects h2 {
  margin-bottom: 20px;
}

.project-card {
  padding: 20px;
  text-align: center;
  max-width: 350px;
  margin: auto;
}

.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 15px;
}

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

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

/* =========================
   11. CONTACT
========================= */
.contact {
  margin: 40px 10%;
  padding: 30px;
  text-align: center;
}

.contact .socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 15px;
}

.contact .socials img {
  width: 28px;
}

/* =========================
   12. RESPONSIVE
========================= */
@media (max-width: 900px) {

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 25px;
  }

  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .project-card {
    width: 100%;
  }

}