@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background-color: black;
  color: white;
}

#home {
  background-color: #000000;
  padding-top: 12rem;
}

#services {
  background-color: #000000;
  padding-bottom: 8rem;
  border-radius: 1rem;
}

#skills {
  background-color: #000000;
  border-radius: 1rem;
  padding: 6rem 9%;
}

#contact {
  background-color: #000000;
  padding-bottom: 10rem;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #111;
  padding: 1.5rem 9%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

.logo {
  font-size: 2.8rem;
  color: #b74b4b;
  font-weight: bold;
}

nav a {
  color: white;
  margin-left: 2rem;
  font-size: 1.6rem;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

nav a.active,
nav a:hover {
  color: #b74b4b;
  border-color: #b74b4b;
}

section {
  padding: 10rem 9% 6rem;
}

.section-title {
  font-size: 3.2rem;
  color: #b74b4b;
  margin-bottom: 2rem;
  border-bottom: 2px solid #b74b4b;
  display: inline-block;
}

.home-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.home-img img {
  width: 220px;
  border-radius: 50%;
  box-shadow: 0 0 15px #b74b4b;
  margin-bottom: 2rem;
}

.home-content h1 {
  font-size: 4rem;
}

.home-content p {
  font-size: 1.6rem;
  margin: 1rem 0 2rem;
}

.highlight {
  color: #b74b4b;
}

.social-icons a {
  color: #b74b4b;
  margin-right: 1.5rem;
  font-size: 2rem;
}

.btn {
  display: inline-block;
  margin-top: 2rem;
  padding: 1rem 2.5rem;
  background: black;
  border: 2px solid #b74b4b;
  color: #b74b4b;
  border-radius: 4rem;
  transition: all 0.3s ease;
  font-size: 1.6rem;
}

.btn:hover {
  background-color: #b74b4b;
  color: black;
  box-shadow: 0 0 12px #b74b4b;
}

.services-grid,
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.service-item,
.skill-item {
  background-color: #1a1a1a;
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  border-top: 3px solid #b74b4b;
  box-shadow: 0 0 15px #b74b4b;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.service-item:hover,
.skill-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(183, 75, 75, 0.6);
}

.service-item i {
  font-size: 3rem;
  color: #b74b4b;
  margin-bottom: 1rem;
}

.service-item h3,
.skill-item h3 {
  font-size: 2rem;
  color: #b74b4b;
  margin-bottom: 1rem;
}

.service-item p,
.skill-item p {
  font-size: 1.4rem;
}

.contact-form {
  max-width: 600px;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-form input,
.contact-form textarea {
  padding: 1rem;
  background: #222;
  border: 1px solid #b74b4b;
  color: white;
  border-radius: 0.5rem;
}

.contact-form button {
  align-self: flex-start;
}



