body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  background: #f8f9fa;
}

header {
  text-align: center;
  padding: 50px;
  background: linear-gradient(120deg, #003366, #004C99);
  color: white;
}

nav a {
  color: white;
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
}

section {
  padding: 40px 20px;
  max-width: 800px;
  margin: 0 auto;
}

.project {
  background: white;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

footer {
  text-align: center;
  padding: 20px;
  background: linear-gradient(120deg, #003366, #004C99);
  color: white;
}

a {
  text-decoration: none;
}

/* Comment-Form */

/* === COMMENTS SECTION (same style as project card) === */

#comments {
  padding: 40px 20px;
}

.comment-section {
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Title */

.comment-section h3 {
  margin-bottom: 20px;
  color: #003366;
}

/* FORM */

#commentForm {
  background: white; /* slightly different shade #f3f6fa */
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

/* Groups */

.form-group {
  margin-bottom: 15px;
  margin-right: 20px;
}

/* Inputs */

#commentForm input,
#commentForm textarea {
  background: #f3f6fa; /* slightly different shade #f3f6fa */
  width: 100%;
  max-width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

/* Focus */

#commentForm input:focus,
#commentForm textarea:focus {
  outline: none;
  border-color: #004C99;
}

/* Button */

#commentForm button {
  width: 20%;
  min-width: 120px;
  padding: 8px 18px;
  background: #004C99;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
}

#commentForm button:hover {
  background: #003366;
}

/* COMMENTS LIST */

#commentsList {
  margin-top: 20px;
}

/* Individual comment */

.comment {
  background: #f8f9fa;
  padding: 12px;
  border-radius: 6px;
  margin-top: 10px;
  border-left: 4px solid #004C99;
}

.comment strong {
  color: #003366;
  display: block;
  margin-bottom: 5px;
}

.reply-box {
  margin-left: 20px;
  margin-top: 10px;
}

.comment .comment {
  margin-left: 25px;
  border-left: 3px solid #ccd3db;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.comment-date {
  font-size: 0.8rem;
  color: #777;
}

/* =========================
   REPLY FORM
========================= */

.reply-form {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.reply-form input,
.reply-form textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.9rem;
}

.reply-form textarea {
  resize: vertical;
  min-height: 60px;
}

.reply-form button {
  align-self: flex-start;
  padding: 6px 14px;
  font-size: 0.85rem;
  border: none;
  border-radius: 6px;
  background: #004C99;
  color: white;
  cursor: pointer;
  transition: 0.2s ease;
}

.reply-form button:hover {
  background: #003366;
}



