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

/* === BASE === */
body {
  font-family: "Poppins", Arial, sans-serif;
  background-color: #f5f6fa;
  color: #333;
  scroll-behavior: smooth;
}

h1, h2 {
  text-align: center;
  color: #003366;
}

/* === BACKGROUND === */
.background {
  background-image: url('background.jpeg');
  background-size: cover;
  background-position: center;
  min-height: 100vh;
}

/* === NAVBAR === */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo img {
  height: 50px;
  border-radius: 8px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links li a {
  text-decoration: none;
  color: yellowgreen;
  font-size: 18px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #00bcd4;
}

/* === MOBILE MENU === */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: yellowgreen;
}

/* === MAIN CONTAINER === */
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 80px auto;
  max-width: 500px;
  border: 2px solid #000;
  border-radius: 10px;
  padding: 20px;
  background-color: #fff;
}

.details {
  text-align: center;
  padding: 15px;
}

/* === PROGRESS BAR === */
#progressBar {
  width: 100%;
  height: 20px;
  background-color: #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 10px;
}

#progress {
  height: 100%;
  background-color: #76c7c0;
  width: 0%;
  transition: width 0.3s ease;
}

#numbers {
  width: 100px;
  height: 100px;
  background-color: #f4f4f4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  color: #003366;
  margin: 15px auto;
}

/* === FORM === */
input[type="text"] {
  width: calc(100% - 22px);
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  outline: none;
}

button {
  width: 100%;
  padding: 10px;
  background-color: #28a745;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

button:hover {
  background-color: #218838;
}

/* === TASK LIST === */
.tasks.list {
  list-style-type: none;
  padding: 0;
  margin-top: 10px;
  width: 100%;
}

.tasks.list li {
  padding: 10px;
  border: 1px solid #ccc;
  margin-bottom: 5px;
  border-radius: 5px;
  cursor: pointer;
  background-color: #fff;
  transition: 0.3s ease;
}

.tasks.list li:hover {
  background-color: #f1f1f1;
}

.tasks.list li.completed {
  text-decoration: line-through;
  background-color: #d3ffd3;
}

/* === ABOUT PAGE === */
.about-page {
  background-color: white;
  color: black;
  padding: 40px 20px;
  border-radius: 10px;
  text-align: center;
}

.about-description h1 {
  color: #003366;
  animation: fadeIn 2s ease-in-out;
}

.about-description p {
  font-size: 18px;
  line-height: 1.6;
  max-width: 700px;
  margin: 15px auto;
  animation: slideIn 1.5s ease-in-out;
}

.cta-button {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  background-color: #007bff;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #0056b3;
}

.features-section {
  display: none;
  animation: fadeIn 1s ease-in-out;
  margin-top: 30px;
}

/* === TEAM SECTION === */
.team {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 30px;
}

.team-member {
  position: relative;
  background-color: #fafafa;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 280px;
  text-align: center;
  padding: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member img {
  width: 100%;
  height: 200px;
  border-radius: 10px;
  object-fit: cover;
}

.team-member:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.team-member .info-box {
  display: none;
  position: absolute;
  bottom: -90px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  padding: 10px;
  background-color: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 10;
  animation: fadeIn 0.5s ease-in-out;
}

.team-member:hover .info-box {
  display: block;
}

/* === CONTACT FORM === */
textarea {
  width: calc(100% - 22px);
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px;
  margin-top: 10px;
}

/* === FOOTER === */
footer {
  background: #003366;
  color: white;
  text-align: center;
  padding: 20px 0;
  margin-top: 50px;
  border-top: 3px solid #00bcd4;
}

.social-icons img {
  width: 30px;
  margin: 0 8px;
  cursor: pointer;
  transition: transform 0.3s;
}

.social-icons img:hover {
  transform: scale(1.2);
}

/* === ANIMATIONS === */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1024px) {
  .container {
    max-width: 90vw;
    padding: 15px;
  }
  .team {
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 65px;
    right: 0;
    width: 200px;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    padding: 20px;
    border-radius: 0 0 10px 10px;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin-bottom: 10px;
  }

  .team {
    flex-direction: column;
    align-items: center;
  }

  .container {
    max-width: 95vw;
    margin: 40px auto;
  }
}

@media (max-width: 480px) {
  .about-description p {
    font-size: 16px;
  }
  .cta-button {
    padding: 8px 15px;
    font-size: 14px;
  }
  .team-member {
    width: 90%;
  }
  .team-member img {
    height: 150px;
  }
  footer {
    font-size: 14px;
  }
  .social-icons img {
    width: 24px;
  }
}
