body, h1, h2, h3, p, ul, ol, figure {
  margin: 0;
  padding: 0;
}

/* Universal styles */
body {
  font-family: 'Montserrat', sans-serif;
  background-color: #f8f9fa;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Navbar styles */
.navbar {
  background-color: white;
  color: black;
}

.navbar-brand {
  font-weight: bold;
}

.navbar-nav .nav-link {
  color: black;
}

/* General section styles */
.section {
  text-align: center;
  padding: 60px 0;
}

/* Home section styles */
#Home {
  background-image: url('jietclg.jpeg');
  background-size: cover;
  background-position: center;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

#Home h1 {
  font-size: 35px;
  font-weight: bold;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 10px;
  text-align: center;
}

#Home h2 {
  font-size: 65px;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 10px;
  color: #5badff;
  text-align: center;
}

#Home h3 {
  font-size: 40px;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 10px;
  text-align: center;
}

#about {
  background-color: #a9c4dc;
  color: white;
  padding: 10%;
  text-align: center;
}

.applybtn {
  width: 15%;
  border-radius: 10%;
  font-size: 20px;
  background-color: #5badff;
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  transition: all 0.3s ease;
}

.applybtn:hover {
  transform: translate(-5px, -10px);
  background-color: white;
  color: #5badff;
}

/* Committees section styles */
#committees {
  background-image: url('BG.jpeg');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 5%;
}

.button {
  background-color: transparent;
  color: white;
  border: none;
  cursor: pointer;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
}

.button img {
  width: 100%;
  height: auto;
}

#contact {
  background-image: url('contactbg.jpeg');
  background-size: cover;
  background-position: center;
  color: black;
  text-align: center;
  padding: 5%;
}

.contact-table {
  width: 60%;
  margin: 0 auto;
  margin-top: 20px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-table th,
.contact-table td {
  padding: 15px;
  font-size: 18px;
}
input[type="email"],
  textarea,
  input[type="text"] {
    width: 80%;
    padding: 10px;
    box-sizing: border-box;
    margin-bottom: 14px;
  }

  input[type="submit"] {
    left: 50%;
    background-color: #4CAF50;
    color: white;
    padding: 14px 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 80%;
    margin-bottom: 14px;
  }

@media (max-width: 767px) {
  .applybtn {
      width: 80%;
  }

  .button img {
      width: 100%;
  }

  .col-md-4 {
      flex: 0 0 100%;
      max-width: 100%;
      margin-bottom: 20px;
  }

  .contact-table {
    width: 80%;
    padding: 2px;
  }
  .contact-table th
  .contact-table td{
    font-size: 1rem;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .applybtn {
      width: 50%;
  }
}

@media (min-width: 992px) {
  .applybtn {
      width: 30%;
  }
}