/* Global Styles */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  height: auto;
}

.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 and Signup Container */

.background {
  background-image: url('desktop.png');
  background-repeat: no-repeat;
  background-size: cover;
  height: 130vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.signupcontainer {
  width: 90%;
  max-width: 900px;
  margin: auto;
  border: 2px solid #a8ecde;
  backdrop-filter: blur(20px);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  color: #000;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.signupcontainer h1 {
  font-size: 20px;
  text-align: center;
  color: #037465;
  font-weight:800;
  margin-bottom: 20px;
}

.signup-group {
  width: 100%;
  margin-bottom: 20px;
}

.signup-group input {
  width: 100%;
  height: 40px;
  background: whitesmoke;
  border: none;
  outline: none;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 40px;
  font-size: 16px;
  color: black;
  padding: 10px 20px;
}
.signup-group {
  position: relative;
}

.signup-group i {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #037465;
}

.signup-group input {
  padding-right: 50px;
}
.submit {
  width: 100%;
  height: 40px;
    background: linear-gradient(135deg, #54f4dc, #1f6d5c);
  border: none;
  outline: none;
  border-radius: 40px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  font-size: 18px;
  color: white;
  font-weight: 800;
  text-align: center;
}

.submit:hover {
  color: black;
}
.link {
  text-align: center;   
  margin-top: 20px;     
}

.link a {
  color: black;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Media Queries */

/* Large Desktops */
@media (min-width: 1200px) {
  .signupcontainer {
    max-width: 500px;
    padding: 40px;
  }
  .signupcontainer h1 {
    font-size: 36px;
  }
}

/* Desktops */
@media (min-width: 992px) and (max-width: 1199px) {
  .signupcontainer {
    max-width: 550px;
    padding: 30px;
  }
  .signupcontainer h1 {
    font-size: 30px;
  }
  .background {
    height: 100vh;
  }
}

/* Tablets */
@media (min-width: 768px) and (max-width: 991px) {
  .background {
    background-image: url('tablet.png');
    background-size: cover;
    background-position: center;
    height: 100vh;
  }
  .signupcontainer {
    width: 70%;
    margin: 50px auto;
  }
  .navbar-nav {
    flex-direction: row;
    gap: 20px;
  }
}

/* Large Mobiles */
@media (min-width: 481px) and (max-width: 767px) {
  .background {
    background-image: url('mobile.png');
    background-size: cover;
    background-position: center;
    height: 100vh;
  }
  .signupcontainer {
    width: 70%;
    padding: 20px;
  }
  .signupcontainer h1 {
    font-size: 24px;
  }
   .navbar-nav {
    flex-direction: column;
    gap: 15px;
  
  }
 
  .navbar-brand {
    font-size: 1.2rem;
  }
  .navbar-brand img {
    height: 30px;
  }
}

/* Small Mobiles */
@media (max-width: 480px) {
  .background {
    background-image: url('mobile.png');
    background-size: cover;
    background-position: center;
    height:100vh ;
  }
  .signupcontainer {
    width: 90%;
    padding: 10px;
  }
  .signupcontainer h1 {
    font-size: 20px;
  }
  .signup-group input {
    font-size: 14px;
  }
  .submit {
    font-size: 16px;
  }
  .navbar-nav {
    flex-direction: column;
    gap: 10px;
  
  }
 
  .navbar-brand {
    font-size: 1.2rem;
  }
  .navbar-brand img {
    height: 30px;
  } 
}