/* Reset and basics */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #222;
  background: linear-gradient(135deg, #e0f7fa, #80deea);
  padding: 20px;
  transition: background-color 0.5s ease;
}

header {
  background-color: #00796b;
  padding: 15px 0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-list {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 30px;
  font-weight: 700;
  letter-spacing: 1.2px;
  
}

.nav-list a {
  color: #e0f2f1;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 25px;
  transition: all 0.3s ease;
  box-shadow: 0 0 0 transparent;
}

.nav-list a:hover,
.nav-list a:focus {
  background-color: #004d40;
  color: #a7ffeb;
  box-shadow: 0 4px 15px rgba(0, 77, 64, 0.5);
  outline: none;
}

/* Section Styling */
.section {
  max-width: 900px;
  margin: 40px auto;
  padding: 30px 40px;
  background: white;
  border-radius: 15px;
  box-shadow:
    0 10px 20px rgba(0,0,0,0.1),
    0 6px 6px rgba(0,0,0,0.07);
  transition: transform 0.3s ease;
}

.section:hover {
  transform: translateY(-6px);
  box-shadow:
    0 20px 30px rgba(0,0,0,0.15),
    0 10px 10px rgba(0,0,0,0.1);
}

h1, h2 {
  font-weight: 800;
  color: #00796b;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

p {
  color: #555;
  font-size: 1.1rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

/* Profile Image */
.profile-img {
  max-width: 160px;
  border-radius: 50%;
  margin-top: 20px;
  box-shadow: 0 6px 15px rgba(0, 121, 107, 0.4);
  transition: transform 0.4s ease;
  cursor: pointer;
}

.profile-img:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 25px rgba(0, 121, 107, 0.7);
}

/* Project Cards */
.project-card {
  margin-bottom: 25px;
  padding: 20px 25px;
  border-left: 8px solid #00796b;
  background: #e0f2f1;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 121, 107, 0.15);
  transition: box-shadow 0.3s ease, border-left-color 0.3s ease;
}

.project-card:hover {
  border-left-color: #004d40;
  box-shadow: 0 14px 25px rgba(0, 77, 64, 0.3);
}

.project-card h3 {
  margin-bottom: 12px;
  color: #004d40;
}

.project-card a {
  color: #00796b;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.project-card a:hover,
.project-card a:focus {
  border-color: #004d40;
  outline: none;
}

/* Contact Section */
.contact a {
  display: inline-block;
  padding: 12px 28px;
  margin-top: 10px;
  background-color: #00796b;
  color: #e0f2f1;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 15px rgba(0, 121, 107, 0.4);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.contact a:hover,
.contact a:focus {
  background-color: #004d40;
  box-shadow: 0 10px 25px rgba(0, 77, 64, 0.6);
  outline: none;
}

/* Footer */
footer {
  text-align: center;
  margin-top: 50px;
  font-size: 0.9em;
  color: #004d40;
  font-weight: 600;
  letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 600px) {
  .nav-list {
    flex-direction: column;
    gap: 15px;
  }
  
  .section {
    padding: 25px 20px;
    margin: 30px 15px;
  }
  
  .profile-img {
    max-width: 130px;
  }
}
