/* General Styles */
body {
  font-family: 'Arial', sans-serif;
  background-color: #fff;
  color: #000;
  scroll-behavior: smooth;
}
a {
  text-decoration: none;
  color: inherit;
}
a:hover {
  color: #555;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.hero h1 {
  font-size: 3rem;
  font-weight: bold;
}
.hero p {
  font-size: 1.2rem;
  margin-top: 15px;
  color: #555;
}
.hero .btn {
  margin-top: 20px;
  padding: 10px 30px;
  border-radius: 30px;
  border: 2px solid #000;
  background-color: transparent;
  color: #000;
  font-weight: bold;
  transition: all 0.3s ease;
}
.hero .btn:hover {
  background-color: #000;
  color: #fff;
}

/* Sections */
section {
  padding: 80px 0;
}
section h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
  text-align: center;
  position: relative;
}
section h2::after {
  content: '';
  width: 80px;
  height: 3px;
  background-color: #000;
  display: block;
  margin: 10px auto 0;
}

/* About Section */
#about p {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.8;
}

/* Skills Section */
.skill {
  border: 1px solid #000;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.skill:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Projects Section */
.card {
  border: 1px solid #000;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
  background-color: #fff;
}
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.card-img-top {
  height: 200px;
  object-fit: cover;
}

/* Contact Section */
#contact .form-control {
  border-radius: 5px;
  border: 1px solid #000;
}
#contact button {
  border-radius: 30px;
  border: 2px solid #000;
  background-color: transparent;
  color: #000;
  font-weight: bold;
  transition: all 0.3s ease;
}
#contact button:hover {
  background-color: #000;
  color: #fff;
}

/* Footer */
footer {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 20px 0;
}

/* Scroll offset for fixed navbar */
html {
  scroll-padding-top: 70px;
}
