* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
body {
  background: #4a7ede;
  color: #fff;
  line-height: 1.6;
}
a {
  color: #fff;
  text-decoration: none;
}
.navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  padding: 20px 9%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #4a7ede;
  z-index: 1000;
}
.menu-toggle {
  display: none;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
}
.navbar .logo {
  font-size: 28px;
  font-weight: 700;
  display: flex;
  align-items: center;
}
.navbar ul {
  display: flex;
}
.navbar ul li {
  list-style: none;
  margin-left: 30px;
}
.navbar ul li a {
  font-size: 18px;
  transition: .3s;
}
.navbar ul li:hover a,
.navbar ul li.active a {
  color: #7cf03d;
}
.logo img {
  height: 50px;   
  width: auto;
}
section {
  padding: 100px 9%;
  min-height: 100vh;
}
.section-title {
  text-align: center;
  margin-bottom: 30px;
}
.section-title h2 {
  font-size: 32px;
  color: #7cf03d;
}
.about p {
  font-size: 30px;
  line-height: 1.6;
  text-align: justify;
}
.home {
  padding-top: 120px; 
}
.home-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: 60px 10%;
}
.home-info {
  flex: 1;
  color: #fff;
}
.home-img {
  flex: 1;
  display: flex;
  justify-content: right;
}
.home-img img {
  width: 300px; 
  height: auto;
  border-radius: 10%; 
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.btn-sci {
  margin-top: 20px;
}
.btn {
  display: inline-block;
  padding: 10px 20px;
  background: #7cf03d;
  color: #1f242d;
  border-radius: 5px;
  transition: .3s;
}
.btn:hover {
  background: #5ec92d;
}
.sci {
  margin-top: 15px;
}
.sci a {
  margin: 0 8px;
  font-size: 22px;
  color: #fff;
  transition: .3s;
}
.sci a:hover {
  color: #7cf03d;
}
.skill-boxes {
  display: grid;
  grid-template-columns: repeat(4, 1fr); 
  gap: 20px;
  margin-top: 30px;
  justify-items: center;
}
.skill {
  background: #2E0249;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  color: #fff;
  transition: 0.3s ease;
  position: relative;
  cursor: pointer;
}
.skill i {
  font-size: 50px;
  color: #00FF87;
}
.skill::after {
  content: attr(data-name);
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: black;
  color: #fff;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  white-space: nowrap;
}
.skill:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(-5px);
}
.skill:hover {
  transform: translateY(-8px);  
}
.project-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.project.card {
  background: #012866;
  padding: 20px;
  border-radius: 12px;
  text-align: left;
  transition: transform 0.3s, background 0.3s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.project.card:hover {
  transform: translateY(-8px);
  background: #1f2937;
}
.project h3 {
  font-size: 22px;
  margin-bottom: 10px;
}
.project p {
  font-size: 16px;
  margin-bottom: 15px;
  text-align: justify;
}
.project-links {
  display: flex;
  gap: 10px;
}
.project-links .btn {
  padding: 8px 14px;
  background: #7cf03d;
  color: #1f242d;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  transition: 0.3s;
}
.project-links .btn:hover {
  background: #5ec92d;
}
.contact {
  padding: 60px 10%;
}
.section-title h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 28px;
}
.contact-container {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
}
.contact-info {
  flex: 1;
  min-width: 250px;
}

.info-box {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.info-box i {
  font-size: 24px;
  color: #00c9b7;
  margin-right: 15px;
}

.info-box h3 {
  margin: 0;
  font-size: 20px;
  font-weight: bold;
}

.info-box p {
  margin: 2px 0 0;
  font-size: 15px;
  color: #333;
}
.contact-form {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-row {
  display: flex;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: none;
  background: #eefafa;
  font-size: 15px;
}
.contact-form textarea {
  resize: none;
}
.btn {
  background: #00c9b7;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.3s ease;
}
.btn:hover {
  background: #009e8f;
}
.footer {
  text-align: center;
  padding: 20px;
  background: #111;
  color: #fff;
  font-size: 14px;
  margin-top: 40px;
  border-top: 1px solid #333;
}
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }

  .form-row {
    flex-direction: column;
  }
}
@media (max-width: 768px) {
  .navbar ul {
    position: absolute;
    top: 70px;
    right: 0;
    background: #4a7ede;
    flex-direction: column;
    width: 200px;
    display: none;
    padding: 20px;
  }
  .navbar ul.show {
    display: flex;
  }
  .navbar .menu-toggle {
    display: block;
    font-size: 28px;
    cursor: pointer;
    color: #fff;
  }
  .navbar ul li {
    margin: 15px 0;
  }
   .menu-toggle {
    display: block;
  }
  .home-container {
    flex-direction: column;
    text-align: center;
  }
  .home-img {
    justify-content: center;
  }
  .skill-boxes {
    grid-template-columns: repeat(2, 1fr);
  }
}