* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Josefin Sans', sans-serif;
  background: linear-gradient(to right, #01022d, #000);
  color: #fff;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #01022d;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header h1 {
  font-size: 24px;
  color: #def50d;
}

header nav a {
  margin-left: 20px;
  text-decoration: none;
  color: white;
  font-weight: bold;
  transition: color 0.3s;
}

header nav a:hover {
  color: #def50d;
}

.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 80px 10%;
}

.intro {
  flex: 1;
}

.intro h3 {
  font-size: 28px;
  color: #def50d;
}

.intro h1 {
  font-size: 50px;
  margin: 10px 0;
}

.intro p {
  font-size: 18px;
  max-width: 500px;
}

.intro .button {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background: #def50d;
  color: #000;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

.profile-img {
  flex: 1;
  text-align: center;
}

.profile-img img {
  max-width: 300px;
  border-radius: 50%;
  box-shadow: 0 0 20px #def50d;
}

section {
  padding: 60px 10%;
}

h2.section-title {
  font-size: 32px;
  margin-bottom: 20px;
  border-bottom: 2px solid #def50d;
  display: inline-block;
}

.about p {
  max-width: 700px;
}
.button {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background: #def50d;
  color: #000;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}
#skills {
  background-color: #0c0c2d;
  padding: 60px 10%;
  color: #fff;
}

.skill {
  margin-bottom: 30px;
}

.skill-name {
  font-size: 18px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #def50d;
}

.skill-name i {
  font-size: 20px;
}

.skill-bar-container {
  width: 100%;
  height: 12px;
  background: #333;
  border-radius: 5px;
  margin: 8px 0;
  overflow: hidden;
}
.skill-h2 span{
    color: #def50d;

}

.skill-bar {
  height: 100%;
  background-color: #def50d;
  border-radius: 5px;
  transition: width 1s ease-in-out;
}

.skill-percentage {
  font-size: 14px;
  color: #ccc;
}



.portfolio {
  padding: 3rem 1rem;
  background: #361b1b;
  text-align: center;
  animation: fadeUp 1.5s ease;
}

.portfolio h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.portfolio span {
  color: #454cca;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 0 1rem;
}

.project-card {
  background: #88a2e7;
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.project-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.project-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.project-card p {
  font-size: 0.9rem;
  color: #2b2828;
  margin-bottom: 1rem;
}

.project-card a {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #060607;
  color: rgb(255, 255, 255);
  border-radius: 20px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.project-card a:hover {
  background: #2e3192;
}



.skills-list li {
  list-style: none;
  margin: 8px 0;
  padding-left: 20px;
  position: relative;
}

.skills-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #def50d;
}

form input, form textarea {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: none;
  border-radius: 5px;
}

form button {
  padding: 10px 20px;
  background-color: #def50d;
  color: black;
  border: none;
  border-radius: 5px;
  font-weight: bold;
}

footer {
  text-align: center;
  padding: 20px;
  background-color: #01022d;
  color: #aaa;
}

.socials a {
  color: white;
  margin: 0 10px;
  font-size: 20px;
  transition: color 0.3s;
}

.socials a:hover {
  color: #def50d;
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .profile-img {
    margin-top: 20px;
  }
}
