body {
  background-color: #e6ecf2; 
  color: rgb(46, 44, 44);
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto; 
  margin: 0;
  flex-direction: column;
  height: 100%;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hamburger {
  display: none; 
  background: none;
  border: 1px solid #fbf9f9;
  cursor: pointer;
  padding: 1px 10px 6px 10px;
  /* width: 32px;
    height: 32px;
    position: relative; */
}

.hamburger-box {
  width: 15px;
  height: 3px;
  display: inline-block;
  position: relative;
}

.hamburger-inner {
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.hamburger-inner::before,
.hamburger-inner::after {
  content: "";
  width: 100%;
  height: 2px;
  background-color: #fefefe;
  position: absolute;
  left: 0;
}

.hamburger-inner::before {
  top: -5px;
}

.hamburger-inner::after {
  bottom: -5px;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%; 
    left: 0;
    width: 100%;
    background-color: #144e91;
    padding: 2px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  .nav-links li {
    margin: 1px 0;
    text-align: center;
  }

  .nav-links.active {
    display: flex;
  }
}

nav {
  background-color: #144e91; 
  /* background: linear-gradient(45deg, #144e91, #013794f7); */
  border-bottom: 1px solid #ddd; 
  position: fixed; 
  left: 0; 
  right: 0; 
  top: 0; 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  padding: 10px 60px; 
  z-index: 1000; 
}

nav .logo {
  position: relative;
  width: 150px;
  height: 56px;
  display: flex;
  flex-direction: row;
}

nav .logo img {
  transform: scale(2); 
  width: 100%; 
  height: auto; 
  transform-origin: 50% 60%; 
  overflow: hidden;
}

nav ul {
  list-style: none; 
  margin: 0; 
  padding: 0; 
  display: flex; 
}

nav ul li {
  margin-left: 20px; 
}

nav ul li a {
  text-decoration: none; 
  color: rgb(237, 237, 237); 
  padding: 10px 15px; 
  display: inline-block; 
  font-size: 18px; 
}

nav ul li a:hover {
  color: #8eb3f2; 
  border-radius: 5px; 
}

.current-page {
  color: #b9d2ff; 
  font-weight: bold; 
}

.nav-icon {
  width: 27px;
  height: 27px;
  margin-right: 3px; 
  cursor: pointer;
  /* background-color: transparent; */
  padding-bottom: 3px;
}

.current-page .nav-icon {
  filter: brightness(0) saturate(100%) invert(70%) sepia(100%) saturate(53%)
    saturate(687%) hue-rotate(180deg) brightness(90%) contrast(91%);
}

.container {
  flex: 1; 
  margin-top: 110px; 
  background-color: rgba(248, 248, 248, 0); 
  display: flex; 
  flex-direction: column; 
  padding: 0 5%; 
}

.nav-link {
  color: #b2afaf;
}

.nav-link:hover {
  color: #58595a;
}

.footer {
  margin-top: 50px;
  height: 80px;
  background-color: #144e91; 
  color: rgb(246, 244, 244); 
  font-size: 14px; 
  text-align: center; 
  /* padding: 10px; 内边距 */
  width: 100%;
  z-index: 100; 
  display: flex;
  justify-content: center; 
  align-items: center; 
  flex-direction: row;
}
.footer-row:nth-child(1) {
  width: 50%;
  display: flex;
  justify-content: left; 
  align-items: center; 
  flex-direction: column;
}

.footer-row:nth-child(2) {
  width: 23%;
  display: flex;
  justify-content: right; 
  align-items: center; 
  flex-direction: column;
  margin-left: 27%;
}
.footer-title:nth-child(2) {
  margin-top: 10px; 
}

input::placeholder {
  color: #c0c0c0 !important; 
  opacity: 1; 
}

textarea::placeholder {
  color: #c0c0c0; 
  opacity: 1; 
}

#fileLabel {
  color: #c0c0c0;
}

.footer-title a {
  color: rgb(246, 244, 244);
}
.footer-title a:hover {
  color: #fff;
  text-decoration: underline;
}

.feedback-form {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.form-group {
  margin-bottom: 15px;
  display: flex;
  flex-direction: row;
}

.form-group label {
  width: 20%;
  margin-bottom: 5px;
  margin-right: 15px;
  /* font-weight: bold; */
  color: #4a4b4d;
  align-items: center;
  justify-content: right;
  display: flex;
}

.form-group .form-control,
.form-group textarea,
.form-group select,
.form-group .custom-file,
.form-group .btn {
  width: 70%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  margin-right: 5%;
}

.form-group textarea {
  resize: vertical;
  height: 130px;
}

h2 {
  font-weight: bold;
  color: #6390eb;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0 30px 0;
}

.btn {
  outline: 0;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background: #6390eb;
  min-width: 200px;
  border: 0;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  padding: 10px 20px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  overflow: hidden;
  cursor: pointer;
}

.btn:hover {
  opacity: 0.95;
}

.btn .animation {
  border-radius: 100%;
  animation: ripple 0.6s linear infinite;
}

@keyframes ripple {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.1),
      0 0 0 20px rgba(255, 255, 255, 0.1), 0 0 0 40px rgba(255, 255, 255, 0.1),
      0 0 0 60px rgba(255, 255, 255, 0.1);
  }

  100% {
    box-shadow: 0 0 0 20px rgba(255, 255, 255, 0.1),
      0 0 0 40px rgba(255, 255, 255, 0.1), 0 0 0 60px rgba(255, 255, 255, 0.1),
      0 0 0 80px rgba(255, 255, 255, 0);
  }
}

.modal {
  display: none; 
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); 
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  width: 400px;
  position: relative;
  overflow: hidden; 
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
}

#animationContainer {
  position: relative;
  width: 100%;
  height: 200px; 
  margin: 20px 0;
}

.mailContainer {
  padding: 8% 8% 5% 8%;
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
  border: 4px solid transparent; 
  border-radius: 50%;
  transition: border-color 0.5s ease-in-out; 
  display: flex;
  justify-content: center;
  align-items: center;
}


.mailbox-icon{
  width: 80px;
  height: 80px;
}

.letter-icon {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 40px;
  animation: flyToMailbox 1.5s ease-in-out forwards;
}

@keyframes flyToMailbox {
  0% {
      transform: translate(0, 0) rotate(0deg);
  }
  100% {
      transform: translate(140px, -80px) rotate(0deg); 
  }
}

.mailContainer.show-border {
  border-color: #a3b3d8;
}

.custom-line {
  margin-top: 5%;
  border-top: 1.5px dashed rgba(0, 0, 0, 0.5);
}