body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 95vh;
  margin: 20px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  color: #384756;
}

.homepage-container {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  padding: 15px;
  border: none;
  border-radius: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  height: 50px;
  width: 98%;
  top: 0;
}

.applogo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 10px;
  height: 50px;
  width: auto;
}

.upload-container {
  text-align: center;
  background-color: #ffffff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: fixed;
  left: 27%;
  top: 11.5%;
  height: 80%;
  width: 40%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.text-field {
  width: 41.5%;
  height: 60%;
  background-color: #f8fafd;
  border: 2px solid #e0e7ef;
  border-radius: 12px;
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
  position: fixed;
  top: 25%;
  left: 29%;
  min-height: 400px;
  overflow-y: auto;
  z-index: 2;
}

.home-button-container {
  display: flex;
  align-items: center;
  position: fixed;
  top: 15px;
  left: 20px;
  z-index: 11; /* Higher z-index to ensure clickability */
}

.home-button {
  z-index: 12; /* Ensure button is clickable */
  background-color: transparent;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50%;
  transition: background-color 0.2s;
}

.home-button:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.home-icon {
  position: fixed;
  top: 23px;
  left: 28px;
  width: 24px;
  height: 24px;
  z-index: 10; /* Below the button but visible */
}

.title {
  position: absolute;
  top: 40px;
  font-weight: 600;
  font-size: 24px;
  color: #2e5c8a;
  z-index: 200;
  text-align: center;
  width: 100%;
}

.text {
  line-height: 1.6;
  font-size: 14px;
  margin: 3%;
  width: 95%;
  text-align: left;
  color: #384756;
  z-index: 3;
}

.download-app {
  z-index: 10;
  position: fixed;
  left: 41%;
  top: 75%;
  width: 17%;
  height: 10%;
  background-color: #3a7abe;
  color: white;
  border: none;
  border-radius: 30px;
  padding: 12px 25px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(58, 122, 190, 0.2);
}

.download-app:hover {
  background-color: #2e5c8a;
  box-shadow: 0 6px 12px rgba(46, 92, 138, 0.25);
  transform: translateY(-2px);
}

.download-icon {
  position: fixed;
  left: 42%;
  top: 78%;
}

.redirecting-button {
  z-index: 2;
}

.sidebar-nav {
  position: fixed;
  top: 80px;
  bottom: 0;
  right: 0;
  width: clamp(200px, 20%, 300px);
  height: 100vh;
  color: #384756;
  padding: 20px;
  box-sizing: border-box;
  z-index: 0;
}



.menu-btn {
  display: none;
}

.menu-icon {
  cursor: pointer;
  position: fixed;
  top: 25px;
  right: 30px;
  z-index: 21;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: background-color 0.2s;
}

.menu-icon:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.navicon {
  background: #384756;
  display: block;
  height: 2px;
  width: 20px;
  position: relative;
  transition: background 0.2s ease-out;
}

.navicon:before,
.navicon:after {
  background: #384756;
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  position: absolute;
  transition: all 0.2s ease-out;
}

.navicon:before {
  top: -6px;
}

.navicon:after {
  top: 6px;
}

.menu {
  position: absolute;
  max-height: 0;
  transition: max-height 0.3s ease-out;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  background-color: #ffffff;
  top: 15px;
  right: 20px;
  width: 200px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  z-index: 20;
}

.menu a {
  padding: 14px 20px;
  color: #384756;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s;
  text-align: left;
}

.menu a:last-child {
  border-bottom: none;
}

.menu a:hover {
  background-color: #f8fafd;
  color: #3a7abe;
}

.menu-btn:checked ~ .menu {
  max-height: 350px;
}

.menu-btn:checked ~ .menu-icon .navicon {
  background: transparent;
}

.menu-btn:checked ~ .menu-icon .navicon:before {
  transform: rotate(-45deg);
}

.menu-btn:checked ~ .menu-icon .navicon:after {
  transform: rotate(45deg);
}

.menu-btn:checked ~ .menu-icon .navicon:before,
.menu-btn:checked ~ .menu-icon .navicon:after {
  top: 0;
}