* {
  margin: 0;
  padding: 0;
}
body {
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  height: auto;
  width: 100vw;
  background-color: #03264a;
}
.container {
  height: auto;
  width: 95%;
  border: 1px solid white;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.header {
  width: 100%;
  height: 20%;
}
.top {
  height: 75%;
  width: 100%;
  background-color: white;
  display: flex;
  align-items: center;
}
.top span img {
  height: 90px;
  width: 100px;
}
.top h1 {
  font-size: 18px;
  text-align: center;
  margin-top: 0;
  color: blue;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: bold;
}
/* .nav{
    display: flex;
} */

.nav {
  padding: 10px 0;
  margin-left: 25px; /* Add vertical spacing */
}

.nav ul {
  list-style-type: none; /* Remove bullet points */
  margin: 0;
  padding: 0;
  display: flex; /* Arrange items in a row */
  justify-content: center; /* Center the items */
}

.nav li {
  margin: 0 5px; /* Add spacing between menu items */
}

.nav a {
  text-decoration: none; /* Remove underline from links */
  color: black; /* White text color */
  font-size: 18px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: bold;
  padding: 8px 12px; /* Add some padding around the text */
  border-radius: 5px; /* Rounded corners for hover effect */
  transition: background-color 0.3s ease; /* Smooth hover effect */
}

.nav a:hover {
  background-color: #575757; /* Dark gray on hover */
  color: #f1f1f1; /* Slightly lighter text on hover */
}
.top button {
  color: white; /* Text color */
  background-color: #03264a; /* Light background color for contrast */
  padding: 8px 16px; /* Use padding for size instead of fixed width/height */
  border: 1px solid #03264a; /* Add a border for better visibility */
  border-radius: 5px; /* Slightly rounded corners for aesthetics */
  font-size: 14px; /* Adjust font size for readability */
  cursor: pointer; /* Show pointer cursor on hover */
  transition: background-color 0.3s ease; /* Smooth hover effect */
  margin-left: 40px;
}

.top button:hover {
  background-color: #03264a; /* Darken background on hover */
  color: #ffffff; /* Change text color on hover */
}
.bottom {
  background-color: lightcyan;
  width: 100%;
  height: 25%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.bottom h1 {
  font-size: 15px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: blue;
}

/* Main */

.main {
  height: auto;
  width: 100%;
  background-color: white;
  display: flex;
  flex-direction: row;
  margin-top: 10px;
}

.main-1 {
  height: 100%;
  width: 25%;
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  align-items: center;
}
.main-2 {
  height: 100%;
  width: 50%;
}
.main-3 {
  height: 100%;
  width: 25%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.inside-main-1 {
  height: 72%;
  width: 100%;
}

.inside-main-1 ul {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.inside-main-1 ul li {
  height: 40%;
  width: 90%;
  background-color: #c0d6f7;
  margin: 5px;
  list-style: none;
  padding: 10px;
  border: 1px solid blue;
  text-align: center;
}
.inside-main-1 ul li a {
  text-decoration: none;
  color: blue;
  font-weight: bold;
}

.outer-card {
  display: flex;
  height: 20%;
  width: 88%;
  flex-direction: column;
  border: 1px solid gray;
  border-radius: 5px;
  align-items: center;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin-top: 22px;
}

.inside-card {
  width: 90%;
  height: 80%;
  padding: 10px;
  margin: 8px;
}
.inside-card h3 {
  font-size: 22px;
  margin-bottom: 0;
}
.inside-card p {
  font-size: 12px;
  margin: 0;
}

.inside-card-1 {
  display: flex;
  height: 20%;
  width: 88%;
  flex-direction: column;
  border: 1px solid gray;
  border-radius: 5px;
  margin-top: -18%;
}
.inside-card-1 h1 {
  font-size: 5px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
.bootclass-image {
  height: 80%;
  width: 98%;
  box-shadow: 0 8px 12px #c0d6f7;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 5px;
}

.bootclass-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cardsview {
  width: 100%;
  height: 250px;
  background-color: white;
  display: flex;
  flex-direction: row;
}

.inside-cardsview {
  height: 200px;
  width: 18%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.card-view-inner {
  height: 145px;
  width: 75%;
  text-align: center;
  padding: 10px;
  border-radius: 10px;
  background-color: #a5c3dc;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.circle {
  height: 50px;
  width: 50px;
  background-color: #8da5c1;
  border-radius: 50%;
  margin-bottom: -20px;
  z-index: 1;
}

.list-cardsview {
  width: 100%;
  height: 350px;
  background-color: white;
  display: flex;
  flex-direction: row;
}

.inside-cardlist {
  height: 280px;
  width: 290px;
  border: 2px solid grey;
  border-radius: 10px;
  margin: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.deep-cardlist{
  height: 250px;
  width: 250px;
  border-radius: 5px 5px 0px 0;
  overflow: hidden;
}
.top-header{
  width: 100%;
  height: 18%;
  background-color: #8da5c1;
  border-radius: 5px 5px 0px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

#announcement-list {
  list-style-type: none; /* Remove bullet points */
  padding: 0;
  margin: 0;
  max-height: 300px; /* Set a height for scrolling */
  overflow-y: hidden;
}

#announcement-list li {
  padding: 10px;
  font-size: 16px;
  border-bottom: 1px solid #ddd; /* Optional border for separation */
}

#announcement-list li:last-child {
  border-bottom: none; /* Remove bottom border for the last item */
}

#announcement-list a {
  text-decoration: none;
  color: #03264a;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

#announcement-list a:hover {
  text-decoration: underline;
}

.result-container{
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #f9f9f9;
}

.container-result {
  text-align: center;
  width: 100%;
  max-width: 600px;
  margin: 20px auto;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.input-field {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
}
select {
  appearance: none;
}
button {
  padding: 10px 20px;
  background-color: #007BFF;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
button:hover {
  background-color: #0056b3;
}
iframe {
  width: 100%;
  height: 500px;
  border: none;
  margin-top: 20px;
}
.error, .success {
  margin-top: 10px;
}
.error {
  color: red;
}
.success {
  color: green;
}
.captcha-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}
#captcha-text {
  font-size: 20px;
  font-weight: bold;
  padding: 10px;
  background: #f0f0f0;
}
#refresh-captcha {
  padding: 5px 10px;
  background-color: #28a745;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
#refresh-captcha:hover {
  background-color: #218838;
}


/* For small devices (phones, 600px and down) */
@media screen and (max-width: 600px) {
  .container {
    width: 100%;
    height: 100%;
    border: 1px solid white;
  }
  .nav {
    display: none;
  }

  .header {
    height: 100%;
    width: 100%;
  }
  .header button {
    margin-right: 20px;
  }
  .bottom h1 {
    width: 80%;
    text-align: center;
  }

  .cardsview {
    display: flex;
    flex-direction: column;
    height: auto;
    width: 100%;
  }
  .inside-cardsview {
    width: 100%;
    height: 200px;
  }

  .top h1 {
    font-size: 16px;
    font-weight: bold;
    text-align: left;
  }

  .nav ul {
    flex-direction: column;
    text-align: center;
  }

  .nav li {
    margin: 5px 0;
  }

  .top button {
    font-size: 12px;
    padding: 8px 12px;
  }

  .bottom h1 {
    font-size: 12px;
  }

  .main {
    flex-direction: column;
    height: auto;
  }

  .main-1,
  .main-2,
  .main-3 {
    width: 100%;
  }

  .main-2 {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 250px;
  }
  .main-3 {
    margin-top: 10px;
  }

  .inside-main-1 ul li {
    font-size: 12px;
    height: auto;
  }

  .inside-card,
  .inside-card-1 {
    width: 95%;
  }
  .list-cardsview{
    display: flex;
    flex-direction: column;
    height: auto;
    justify-content: center;
    align-items: center;
  }
}

/* For medium devices (tablets, 768px and down) */
@media screen and (max-width: 768px) {
  .top h1 {
    font-size: 16px;
  }

  .nav ul {
    justify-content: space-around;
  }

  .main {
    flex-direction: column;
  }

  .main-1,
  .main-2,
  .main-3 {
    width: 100%;
  }

  .inside-main-1 ul li {
    font-size: 14px;
  }

  .inside-card,
  .inside-card-1 {
    width: 95%;
  }
}

/* For large devices (desktops, 992px and up) */
@media screen and (min-width: 992px) {
  .container {
    width: 95%;
  }

  .nav ul {
    justify-content: center;
  }

  .main-1,
  .main-3 {
    width: 25%;
  }

  .main-2 {
    width: 50%;
  }
}
