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

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

/* Container */
.container {
  max-width: 1200px;
  margin: 50px auto;
  padding: 20px;
}

/* Navigation Bar */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 50px;
  background-color: #fff;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 10;
  transition: background-color 0.3s ease;
}

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

.nav-links ul li a {
  color: black;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-links ul li a:hover,
.scrolled .nav-links ul li a:hover {
  color: teal;
}

.scrolled {
  background-color: white;
}

/* Accordion */
.accordion-button {
  font-weight: bold;
}

h1.text-center {
  color: lightseagreen;
}

.card {
  margin-bottom: 30px;
}

/* Dissertation Section */
.dissertation-wrapper {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background-color: #f9f9f9;
  padding: 40px 20px;
  text-align: center;
}

.dissertation-heading {
  max-width: 1000px;
  margin: 0 auto 30px auto;
  font-size: 1.7rem;
  font-weight: 600;
  color: lightseagreen;
}

.dissertation-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.dissertation-topic {
  flex: 1 1 calc(33.333% - 40px);
  max-width: 360px;
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-align: center;
  box-sizing: border-box;
}

.dissertation-topic img {
  width: 100%;
  border-radius: 10px;
  height: auto;
  object-fit: cover;
  margin-bottom: 15px;
}

.vote-button {
  background-color: lightseagreen;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.vote-button:hover {
  background-color: darkcyan;
}

.vote-count {
  display: block;
  margin-top: 10px;
  font-size: 0.9rem;
  color: #555;
}

/* Footer */
.footer {
  background-color: lightseagreen;
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 1.0rem;
  margin-top: 60px;
}



/* Responsive */
@media (max-width: 992px) {
  .dissertation-topic {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .nav-links ul {
    flex-direction: column;
    gap: 10px;
  }
}
