* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: linear-gradient(135deg, #ffe4e1, #fbcacf);
  padding-top: 80px;
  color: #333;
}

/* Navbar */
.nav_row {
  position: fixed;
  top: 0;
  width: 100%;
  height: 70px;
  background-color: #ff7f7f;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

.text h1 {
  font-size: 24px;
  color: white;
}

.nav {
  display: flex;
  gap: 25px;
}

.nav a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  position: relative;
}

.nav a::after {
  content: '';
  height: 2px;
  width: 0;
  background: white;
  position: absolute;
  left: 0;
  bottom: -5px;
  transition: 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

/* Content */
.content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding: 40px 60px;
  align-items: center;
  justify-content: center;
}

.row1 {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  font-size: 18px;
  line-height: 1.7;
  background-color: #fff5f7;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(255, 182, 193, 0.3);
}

.row1 p {
  margin-bottom: 20px;
}

.row1 strong {
  color: #d33f49;
}

.row2 {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.row2 img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.row2 img:hover {
  transform: scale(1.05);
}

/* Feedback Section */
.feedback {
  background-color: #fff5f7;
  padding: 40px 20px;
  text-align: center;
  margin: 40px auto;
  max-width: 800px;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(255, 182, 193, 0.3);
}

.feedback h2 {
  font-size: 28px;
  margin-bottom: 25px;
  color: #d33f49;
}

.feedback form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.feedback input,
.feedback textarea {
  width: 100%;
  max-width: 600px;
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  resize: none;
}

.feedback button {
  padding: 12px 24px;
  background-color: #ff7f7f;
  border: none;
  color: white;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.feedback button:hover {
  background-color: #e55e5e;
}

#feedbackMsg {
  margin-top: 10px;
  font-size: 16px;
  color: green;
}

/* Footer */
.footer {
  width: 100%;
  background-color: #ff7f7f;
  color: white;
  padding: 20px 0;
  text-align: center;
  margin-top: 40px;
  border-top: 2px solid #fae2ea;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-content p {
  margin: 0;
  font-size: 16px;
}

.socials a {
  margin: 0 10px;
  font-size: 22px;
  color: white;
  transition: transform 0.2s ease;
}

.socials a:hover {
  transform: scale(1.3);
  color: #ffe4e1;
}

/* Responsive */
@media (max-width: 768px) {
  .content {
    flex-direction: column;
    padding: 30px 20px;
  }

  .row2 img {
    width: 200px;
    height: 200px;
  }

  .nav_row {
    flex-direction: column;
    height: auto;
    padding: 10px 20px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 10px;
  }
}

/* About section */

.about-section {
  background-color: #fff5f7;
  padding: 40px 20px;
  max-width: 900px;
  margin: 40px auto;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(255, 182, 193, 0.2);
  font-size: 18px;
  line-height: 1.8;
  color: #333;
}

.about-section h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 20px;
  color: #d33f49;
}

.about-section strong {
  color: #cc3366;
}


/* Skill section */
.skills-section {
  background-color: #fff5f8;
  padding: 60px 20px;
  text-align: center;
}

.skills-section h2 {
  font-size: 34px;
  margin-bottom: 40px;
  color: #d33f49;
}

.skills-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.skill-card {
  background-color: #fef1f2;
  border-radius: 15px;
  padding: 25px;
  width: 230px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-7px);
}

.skill-icon {
  font-size: 45px;
  margin-bottom: 15px;
}

.esp32-icon {
  width: 55px;
  height: auto;
  margin-bottom: 15px;
  filter: grayscale(30%);
}

.skill-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #222;
}

.skill-card p {
  font-size: 15px;
  color: #444;
  line-height: 1.5;
}


/* project section */
/* Project section */
.projects-section {
  background-color: #fff5f8;
  padding: 60px 20px;
  text-align: center;
}

.projects-section h2 {
  font-size: 34px;
  margin-bottom: 40px;
  color: #d33f49;
}

.projects-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.project-card {
  background-color: #fef1f2;
  border-radius: 15px;
  padding: 25px;
  width: 280px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-7px);
}

.project-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #222;
}

.project-card p {
  font-size: 15px;
  color: #444;
  line-height: 1.5;
}
