/* =========================
   GLOBAL STYLES
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #ffc0cb;
  color: #333;
  line-height: 1.7;

  background-image:
    radial-gradient(circle at 20px 20px, #ff69b4 4px, transparent 5px),
    radial-gradient(circle at 80px 80px, #ff1493 4px, transparent 5px),
    radial-gradient(circle at 50px 100px, #ffffff 3px, transparent 4px),
    radial-gradient(circle at 120px 40px, #ffffff 3px, transparent 4px);

  background-size: 150px 150px;
}

/* =========================
   NAVIGATION
========================= */

nav {
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 8%;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
  font-size: 1.3rem;
  font-weight: bold;
  color: #d63384;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 25px;
}

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

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

/* =========================
   HERO SECTION
========================= */

.hero {
  min-height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

.hero-content {
  max-width: 900px;
  background: rgba(255, 255, 255, 0.92);
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.hero h1 {
  font-size: 3.5rem;
  color: #c2185b;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  background: #d63384;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: 0.3s;
}

.btn:hover {
  background: #b5176b;
  transform: translateY(-3px);
}

/* =========================
   SECTIONS
========================= */

section {
  padding: 80px 8%;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  color: #c2185b;
  margin-bottom: 40px;
}

/* =========================
   ABOUT
========================= */

.about-box {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

/* =========================
   SKILLS
========================= */

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

.skill {
  background: white;
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  font-weight: bold;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.skill:hover {
  transform: translateY(-5px);
}

/* =========================
   PROJECTS
========================= */

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

.project-card {
  background: white;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.project-card:hover {
  transform: translateY(-5px);
}

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

/* =========================
   CONTACT
========================= */

.contact-box {
  background: white;
  padding: 30px;
  border-radius: 15px;
  max-width: 700px;
  margin: auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

/* =========================
   FOOTER
========================= */

footer {
  text-align: center;
  padding: 25px;
  background: white;
  margin-top: 40px;
  font-weight: 500;
}

/* =========================
   RESPONSIVE DESIGN
========================= */

@media (max-width: 768px) {
  nav {
    flex-direction: column;
    gap: 15px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-content {
    padding: 30px;
  }

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

  .section-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}
