.custom-navbar {
  background: #C6FFF5;
  padding: 10px 25px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Nav links with icons above text */
.navbar-nav .nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.9rem;
  color: #037465;
  transition: all 0.3s ease;
  margin: 0 12px;
  font-weight:600;
}

.navbar-nav .nav-link i {
  font-size: 1.2rem;
  margin-bottom: 3px;
  color: #037465;
  font-weight:800;
  display:flex;
  gap:50px;
}

.navbar-nav .nav-link:hover {
  color: #34b1a0ff;
}

.navbar-nav .nav-link:hover i {
  color: #34b1a0ff;
}

.background {
  background-image: url('desktop.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  justify-content: center; /* horizontal center */
  align-items: center;     /* vertical center */
  position: relative;
}

.logincontainer {
  width: 400px;
  max-width: 95%;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid #A2AF9B;
  backdrop-filter: blur(20px);
  color: black;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  padding: 30px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* Remove absolute positioning for flex centering */
}

 h1 {
  font-size: 30px;
  text-align: center;
  margin-bottom: 15px;
  color: #037465;
  font-weight:800;
  font-family: 'Poppins', sans-serif;
  width: 100%;
}

.logincontainer .input-group {
  width: 100%;
  height: 50px;
  margin-bottom: 20px;
  display: flex;
  position: relative;
}

.input-group i {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #037465;
}

.logincontainer .input-group input {
  width: 100%;
  height: 80%;
  background: whitesmoke;
  border: none;
  outline: none;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  font-size: 16px;
  color: black;
  padding: 10px;
  padding-right: 40px; /* Prevent collision with icon */
}

.input-group input::placeholder {
  color: black;
  font-size: 15px;
}

.loginsubmit {
  width: 100%;
  height: 45px;
background: linear-gradient(135deg, #54f4dc, #1f6d5c);
  border: none;
  outline: none;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  font-size: 20px;
  color: white;
  font-weight: 800;
  margin-top: 10px;
  text-align: center;
  padding: 10px 20px;
}

.loginsubmit:hover {
  background: #DCCFC0;
  color: white;
}

.login-link {
  font-size: 14.5px;
  text-align: center;
  margin-top: 30px;
  color: black;
}

.login-link a {
  color: black;
  text-decoration: none;
  font-weight: 600;
}

.login-link a:hover {
  text-decoration: underline;
  color: rgb(17, 5, 5);
}

.inline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  gap: 30px;
  flex-wrap: nowrap; /* Prevent wrapping */
}

.remember-me {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
}

.remember-me label {
  margin-left: 5px;
}

.forgot-password a {
  color: black;
  text-decoration: none;
  font-size: 0.9rem;
}

.forgot-password a:hover {
  text-decoration: underline;
}

.text {
  font-size: 25px;
  color: black;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 400;
  font-family: 'Open Sans', sans-serif;
}

/* Media Queries */
@media (min-width: 1200px) {
  .navbar-nav { gap: 60px; }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .navbar-nav { gap: 40px; }
}
@media (min-width: 768px) and (max-width: 991px) {
  .background { background-image: url('tablet.png'); }
  .navbar-nav { flex-direction: row; gap: 20px; }
}
@media (min-width: 481px) and (max-width: 767px) {
  .background { background-image: url('mobile.png'); }
  .navbar-nav { flex-direction: column; gap: 10px; }
  .logincontainer { width: 90%; padding: 25px 20px; }
  .logincontainer .input-group input { font-size: 14px; }
}
@media (max-width: 480px) {
  .background { background-image: url('mobile.png'); }
  .navbar-nav { flex-direction: column; gap: 10px; }
  .logincontainer { width: 95%; padding: 20px 15px; }
  .logincontainer .input-group input { font-size: 14px; }
  .inline { justify-content: space-between; gap: 10px; }
  .remember-me, .forgot-password a { white-space: nowrap; font-size: 14px; }
}
@media (max-width: 380px) {
  .logincontainer { width: 85%; }
  .inline { gap: 7px; }
  .text { font-size: 18px; }
  .logincontainer .input-group input { font-size: 12px; }
}
@media (min-width: 385px) and (max-width: 430px) {
  .logincontainer { width: 85%; }
  .logincontainer h1 { font-size: 24px; }
  .input-group input { font-size: 14px; }
  .loginsubmit { font-size: 18px; }
}
@media (min-width: 600px) and (max-width: 930px) {
  .logincontainer { width: 50%; }
  .inline { justify-content: space-evenly; }
  .remember-me, .forgot-password a { font-size: 17px; }
  .login-link a { font-size: 17px; }
  .text { font-size: 25px; }
}
@media (min-width: 950px) and (max-width: 1240px) {
  .logincontainer { width: 50%; }
  .text { font-size: 40px; }
  .remember-me, .forgot-password a { font-size: 20px; }
  .login-link a { font-size: 20px; }
}


