* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  line-height: 1.6;
  background: #9191ff;
  color: #ffffff;

   margin: 0;
  height: 100%;
  background: url("images/4.jpg") no-repeat center center;
  background-size: cover;
  background-attachment: fixed; 
}

header {
  background: url("images/.jpg") no-repeat center center/cover;
  color: #fff;
  padding: 0.8rem 1.5rem;  
  
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav ul {
  list-style: none;
  display: flex;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #06939f;
}

.hero {
  text-align: center;
  padding: 100px 20px;
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  color: #fff;
  animation: fadeIn 2s ease-in-out;
}

.highlight {
  color: #00306e;
}

section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: auto;
}

h2 {
  font-size: clamp(1.3rem, 4.5vw, 2rem);
  text-align: center;
  margin-bottom: 20px;
  color: #ffffff;
}


h1 {
  font-size: clamp(1.8rem, 6vw, 3rem);
  font-weight: bold;
  color: #ffffff;
  text-align: center;
}

.project {
  background: #ffffff1e;
  color: #ffffff;
  padding: 20px;
  margin: 20px 0;
  border-radius: 50px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.project:hover {
  transform: translateY(-5px);
}

#skills ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

#skills ul li {
  background: #2575fc;
  color: #fff;
  padding: 10px 15px;
  margin: 10px;
  border-radius: 20px;
  transition: background 0.3s;
}

#skills ul li:hover {
  background: #cd2e2e;
}

form {
  display: flex;
  flex-direction: column;
  max-width: 400px;
  margin: auto;
}

form input, form textarea {
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
}

form button {
  background: #2575fc;
  color: #fff;
  border: none;
  padding: 10px;
  cursor: pointer;
  transition: background 0.3s;
  border-radius: 5px;
}

form button:hover {
  background: #6a11cb;
}

footer {
  text-align: center;
  padding: 20px;
  background: #222;
  color: #fff;
  margin-top: 40px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}


@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    text-align: center;
  }

  nav ul li {
    margin: 10px 0;
  }

  #skills ul {
    flex-direction: column;
  }
}

.hero {
  text-align: center;
  padding: 100px 20px;
  color: #fff;
  background: url("images/.jpg") no-repeat center center/cover;
}

.profile-box {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.profile-img {
  
  width: 350px;
  height: 350px;
  object-fit: cover;
  border-radius: 50%;       
  border: 5px solid #2575fc; 
  box-shadow: 0 4px 12px rgba(0,0,0,0.2); 
  transition: transform 0.3s;
}

.profile-img:hover {
  transform: scale(1.05);  
}

@media (max-width: 768px) {
  header {
    padding: 0.4rem 1rem;   
  }

  nav {
    flex-direction: column;
    align-items: center;
  }

  nav h1.logo {
    font-size: 1.2rem;
  }

  nav ul {
    flex-direction: column;
    margin-top: 6px;
  }

  nav ul li {
    margin: 5px 0;
  }

  nav ul li a {
    font-size: 14px;
  }
}

.parallax {
  background: url("images/4.jpg") no-repeat center center;
  background-size: cover;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; 
}

.project1 {
  background: #ffffff68;
  color: #ffffff;
  padding: 20px;
  margin: 20px 0;
  border-radius: 50px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

#contact input,
#contact textarea,
#contact button {
  background: #ffffffd5;
  color: #000000;
  border-radius: 50px;
  padding: 15px;
  margin: 8px 0;
  border: 1px solid #000000;
}

#contact a {
  color: white;       
  text-decoration: none;
}

#contact a:visited {
  color: red;         
}
