/* === GLOBAL STYLES === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: linear-gradient(120deg, #fdfbfb, #ebedee);
  color: #222;
  overflow-x: hidden;
}

/* === HEADER === */
.hero {
  text-align: center;
  padding: 4rem 1rem;
  background: linear-gradient(135deg, #ff7eb3, #ff758c, #f9d423);
  color: white;
  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  animation: gradientMove 8s ease infinite;
  background-size: 200% 200%;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.title {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 2px;
}

.subtitle {
  font-size: 1.5rem;
  margin-top: 0.5rem;
}

.tagline {
  margin-top: 1rem;
  font-style: italic;
}

/* === NAVBAR === */
.navbar {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.navbar a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
}

.navbar a:hover {
  border-bottom: 2px solid #fff;
}

/* === SECTIONS === */
.section {
  padding: 4rem 10%;
  text-align: center;
}

.section h2 {
  font-size: 2rem;
  color: #444;
  margin-bottom: 1rem;
  position: relative;
}

.section h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #ff758c, #ff7eb3, #f9d423);
  margin: 0.5rem auto;
  border-radius: 4px;
}

.section p {
  max-width: 700px;
  margin: auto;
  font-size: 1.1rem;
  line-height: 1.8;
}

/* === COLORFUL BACKGROUND === */
.colorful-bg {
  background: linear-gradient(120deg, #a1c4fd, #c2e9fb);
  border-radius: 20px;
  margin: 2rem 5%;
  padding: 3rem;
  color: #333;
}

/* === SKILLS === */
.skills-list {
  list-style: none;
  margin: 1rem 0;
}

.skills-list li {
  background: white;
  margin: 0.5rem auto;
  padding: 0.7rem 1rem;
  max-width: 400px;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

/* === PROJECTS === */
.projects {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.project-card {
  color: white;
  width: 260px;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s;
}

.project-card:hover {
  transform: scale(1.05);
}

.gradient1 {
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.gradient2 {
  background: linear-gradient(135deg, #f7971e, #ffd200);
}

/* === CONTACT === */
.socials img {
  width: 40px;
  margin: 1rem;
  transition: transform 0.3s;
}

.socials img:hover {
  transform: scale(1.2);
}

/* === FOOTER === */
footer {
  text-align: center;
  padding: 1.5rem;
  background: linear-gradient(135deg, #43cea2, #185a9d);
  color: white;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}