* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  overflow-y: scroll;
  font-family: "Poppins", sans-serif;
  background-color: #f5f5f5; 
  color: #333333; 
  padding-top: 80px; 
}

.navbar {
  background-color: #ffffff; 
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 0;
}

.navbar-brand {
  font-size: 24px;
  font-weight: 700;
  color: #fc6351; /* Coral */
  text-decoration: none;
  display: flex;
  align-items: center;
  padding-left: 30px;
  margin-right: 100px;
}

.navbar-brand .logo-image {
  width: 65px;
  height: 65px;
  border-radius: 50%; 
  border: 3px solid rgba(255, 140, 122, 1); 
  background-color: #f5f5f5;
  margin-right: 30px;
  margin-left: 30px;
  object-fit: cover; 
  object-position: center; 
  display: block; 
  aspect-ratio: 1/1; 
}

.navbar-nav {
  display: flex;
  gap: 25px;
  margin-right: 30px;
}

.nav-item .nav-link {
  color: #333333; /* Dark grey for links */
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-item .nav-link:hover {
  color: #fc6351; /* Coral for hover */
}

.nav-item .nav-link.active {
  color: #fc6351; /* Coral for active link */
  font-weight: 600;
  border-bottom: 2px solid #d3d3d3; /* Light grey underline */
}

.navbar-toggler {
  border: none;
  padding: 10px;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(252, 99, 81, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 1500px) {
  .navbar {
    flex-wrap: wrap;
  }

  .navbar-toggler {
    display: block !important;
    margin-right: 20px;
    visibility: visible;
  }

  .navbar-collapse {
    display: none;
    width: 100%;
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .navbar-collapse.show {
    display: flex;
    max-height: 500px;
  }

  .navbar-nav {
    padding: 10px 20px;
    gap: 15px;
    flex-direction: column;
    background-color: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    width: 100%;
  }

  .nav-item .nav-link {
    font-size: 16px;
    padding: 10px 0;
  }

  .navbar-brand .logo-image {
    width: 50px;
    height: 50px;
    margin-left: 10px;
    margin-right: 15px;
  }

  .navbar-brand {
    font-size: 20px;
    padding-left: 10px;
    margin-right: 20px;
  }
}

.project-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.project-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.project-title {
  font-size: 48px;
  font-weight: 700;
  color: #000000; 
  text-align: center;
}

.project-about h2 {
  font-size: 28px;
  font-weight: 600;
  color: #fc6351; 
  margin-bottom: 20px;
  text-align: center;
}

.project-about p {
  font-size: 18px;
  color: #333333; 
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
  text-align: justify;
}

.project-awards h2 {
  font-size: 28px;
  font-weight: 600;
  color: #757575; 
  margin-bottom: 20px;
  text-align: center;
}

.project-awards p {
  font-size: 18px;
  color: #333333;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 10px; 
  text-align: justify;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.gallery-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  background-color: #f5f5f5; 
}

.gallery-caption {
  font-size: 14px;
  color: #555555; 
  text-align: justify;
  margin-top: 10px;
  max-width: 400px;
  line-height: 1.4;
}


@media (max-width: 768px) {
  .project-section {
    padding: 40px 15px;
  }

  .project-title {
    font-size: 32px;
  }

  .project-about h2,
  .project-awards h2 {
    font-size: 24px;
  }

  .project-about p,
  .project-awards p {
    font-size: 16px;
  }

  .project-gallery {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .gallery-image {
    max-width: 100%;
  }

  .gallery-caption {
    font-size: 13px;
    max-width: 100%;
  }
}

