/* General Reset */
::-webkit-scrollbar {
    width: 10px;
    border-radius: 10px;
    background-color: #099fea68;
  }
  
  ::-webkit-scrollbar:hover {
    background-color: #57bff3;
  }
  
  ::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #003b6c, #0569dd);
    border-radius: 10px;
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #0569dd, #003b6c);
  }
  
* {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Full-Screen Centering */
body {
    background: linear-gradient(to right, #42B9F4, #62daf2);
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Navbar */
.navbar {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.2);
    padding: 15px;
    display: flex;
    justify-content: flex-start;
}

/* Back Button */
.back-button {
    background: #2867f0;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.back-button:hover {
    background: #0190f6;
    transform: scale(1.05);
}

/* Centering the Login Form */
.login-wrapper {
    margin: 6rem auto;
    width: 100%;
    max-width: 400px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 4px 4px 10px rgba(2, 71, 128, 0.1);
    border: 2px solid #42B9F4;
    border-radius: 12px;
    text-align: center;
}

.login-wrapper:hover{
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.2);
    transform: scale(1.02);
}
/* Login Title */
.login-title {
    font-size: 24px;
    color: #007bff;
    text-shadow: 2px 2px 2px #121212;
    margin-bottom: 20px;
}

/* Input Fields */
.login-input {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 2px solid #ccc;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

.login-input:hover, 
.login-input:focus {
    border-color: #017afc;
    outline: none;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.8);
}

/* Login Button */
.login-button {
    width: 100%;
    padding: 10px;
    margin-top: 1.2rem;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out, transform 0.2s ease-in-out;
}

.login-button:hover {
    background-color: #0056b3;
    transform: scale(1.01);
}

/* Sign Up Link */
.login-text {
    margin-top: 15px;
    font-size: 14px;
    color: #555;
}

.login-link {
    color: #54a2f7;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

.login-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Login Message */
.login-message {
    margin-top: 10px;
    font-size: 14px;
    color: red;
}

/* Responsive Design */
@media (max-width: 480px) {
    .login-wrapper {
        width: 90%;
        padding: 20px;

    }
}
.password-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

input::placeholder{
    font-size: 1rem !important;
}

.signup-input {
    width: 100%;
    padding: 10px;
    padding-right: 40px; /* Space for the eye icon */
    font-size: 1rem;
    border: 2px solid #ccc;
    border-radius: 5px;
    outline: none;
}

#togglePassword {
    position: absolute;
    right: 10px;
    cursor: pointer;
    color: gray;
    font-size: 18px;
}

#togglePassword:hover {
    color: black;
}

body.dark-mode {
    background: #121212;
    color: #fff;
}
/* Dark mode for header */
.dark-mode nav {
    background: linear-gradient(135deg, #1e1e1e, #333);
}

.dark-mode .login-wrapper{
    background: #444;
    color: #fff;
    border: none;
}
.dark-mode .login-wrapper h2,
.dark-mode .login-wrapper p.login-text {
    color: #fff;
}

/* Toggle Button */
.toggle-btn {
    position: fixed;
    top: 0;
    right: 20px;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 30px;
    cursor: pointer;
    transition: 0.3s;
    z-index: 1000;
  
    /* Centering the icon */
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Toggle theme style */
  #toggleTheme {
    background: transparent;
    box-shadow: none;
    position: absolute;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  
  /* Click animation (subtle scaling effect) */
  #toggleTheme:active {
    transform: scale(0.9);
    opacity: 0.7;
  }
  
  /* Dark mode effect */
  .dark-mode #toggleTheme {
    background: transparent;
    box-shadow: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  
  /* Click animation in dark mode */
  .dark-mode #toggleTheme:active {
    transform: scale(0.9);
    opacity: 0.7;
  }
  
  .toggle-btn:hover {
    background: #0056b3;
  }

  /* Footer Styling */

.footer {
    font-family: Arial, sans-serif;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-align: center;
    width: 100%;
    padding: 5px 0px;
  }
  .dark-mode .footer {
    background: #333;
  }
  
  .wrapper {
    display: flex;
    justify-content: space-evenly;
    padding: 10px;
  }
  
  @media (max-width: 600px) {
    .wrapper {
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
  
    .footer {
      padding: 5px 30px;
    }
  
    .newsletter button {
      width: 50%;
    }
  
    .newsletter {
      display: block;
      margin: 0px;
      justify-content: center;
      align-items: center;
    }
  }
  
  .newsletter {
    margin: 20px;
  }
  
  .quick-contact {
    text-align: center;
  }
  
  .quick-contact h3 {
    text-align: center;
  }
  
  .quick-contact ul {
    text-align: center;
  }
  
  .quick-contact p {
    text-align: center;
  }
  
  .social-icon {
    justify-content: center;
  }
  
  form {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  form input {
    display: block;
    margin: 10px;
    padding: 14px;
    width: 80%;
    max-width: 600px;
    border: 2px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease-in-out;
    background: #f9f9f9;
  }
  
  button {
    padding: 14px 30px;
    background: linear-gradient(135deg, #03a9f7, #77c6f1);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    margin-top: 15px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  }
  
  .newsletter button {
    padding: 0.5rem 1rem;
    border-radius: 0.2rem;
    color: white;
    background: linear-gradient(135deg, #333, #444);
  }
  
  @media (max-width: 100px) {
    .newsletter input,
    .newsletter button {
      width: 300px;
      /* Keep fixed width */
    }
  }
  
  .sec-nav {
    padding: 3px;
    color: white;
  }
  
  .sec-nav a {
    color: white;
    text-decoration: none;
  }
  
  .sec-nav a:hover {
    text-decoration: underline;
  }
  
  .quick-contact {
    text-align: left;
    margin: 20px;
    color: white;
    /* list-style: none; */
  }
  
  .quick-contact ul {
    list-style-type: none;
  }
  
  .social-sharing {
    margin-right: 40px;
  }
  
  .social-sharing a {
    margin: 0 10px;
    color: white;
    text-decoration: none;
    display: flex;
  }
  
  .social-sharing a:hover {
    text-decoration: underline;
  }
  
  .social-icon {
    padding: 5px 5px;
    color: white;
  }
  
  .privacy {
    margin: 10px 0;
    color: white;
  }
  
  .privacy a {
    text-decoration: none;
    color: white;
  }
  
  .privacy a:hover {
    text-decoration: underline;
  }
  
  .copyright {
    margin-top: 10px;
  }
  
  /* Responsive for Small Screens */
  @media (max-width: 600px) {
    .social-icons .icon {
      font-size: 1.2rem;
      margin: 0 8px;
    }
  }
