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

body{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
    padding: 20px;
}

header{
    background: #1e90ff;
    color: white;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 30px;
}

nav{
    margin-bottom: 30px;
    padding: 15px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

nav a{
    text-decoration: none;
    color: #1e90ff;
    font-weight: bold;
    transition: color 0.3s;
}

nav a:hover{
    color: #0c5fa3;
}

section{
    background: white;
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 2px 8px rgba(0, 0, 0, 0.05);
}

section h3{
    color: #1e90ff;
    margin-bottom: 15px;
}

section ul{
  list-style-type: disc;
  padding-left: 24px;
  margin-top: 16px;
}

section ul li{
  margin-bottom: 8px;
  color: #333;
  font-size: 16px;
  font-weight: 500;
}

a{
    color: #1e90ff;
}

button {
  background-color: #1e90ff;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}

.project-button{
    display: block;
    margin-top: 10px;
}

button:hover {
  background-color: #0c5fa3;
}

form input,
form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

form textarea {
  height: 100px;
  resize: vertical;
}

form button {
  margin-top: 15px;
}

.back-to-top{
  text-align: left;
  padding: 20px;
}

.top-link{
  text-decoration: none;
  background-color: #1e90ff;
  color: white;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 14px;
  transition: background-color 0.3s;
}

.top-link:hover{
  background-color: #0c5fa3;
}

footer {
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  margin-top: 40px;
}

section{
  animation: scrolling linear;
  animation-timeline: view();
  animation-range: entry 0% cover 50%;
}

.back-to-top{
  animation: scrolling linear;
  animation-timeline: view();
  animation-range: entry 0% cover 20%;
}

@keyframes scrolling{
  from{
    opacity: 0;
    scale: 0.5;
  }
  to{
    opacity: 1;
    scale: 1;
  }
}

@media (max-width: 600px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }

   section {
    padding: 15px;
  }
}