::-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);
}

/* General Reset */
* {
    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;
    height: 100vh; /* Full height of viewport */
}

/* 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: #28a745;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* Centering the Signup Form */
.signup-wrapper {
    margin-top: 600px;
    margin-bottom: 50px;
    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;
    transition: all 0.3s ease-in-out;
}

/* Form Hover Effect */
.signup-wrapper:hover {
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.2);
    transform: scale(1.02);
}

/* Signup Title */
.signup-title {
    font-size: 24px;
    color: #000;
    text-shadow: 2px 2px 2px #007bff;;
    margin-bottom: 20px;
}

/* Input Fields */
.signup-input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.signup-input:hover,
.signup-input:focus {
    border-color: #011cb5;
    outline: none;
    box-shadow: 0 0 10px rgba(1, 28, 181, 0.4);
    background-color: rgba(255, 255, 255, 0.8);
}

/* Signup Button */
.signup-button {
    width: 100%;
    padding: 12px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.signup-button:hover {
    background-color: #218838;
    transform: scale(1.05);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

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

.signup-link {
    color: #28a745;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

.signup-link:hover {
    color: #218838;
    text-decoration: underline;
}

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

/* Responsive Design */
@media (max-width: 480px) {
    .signup-wrapper {
        margin-top: 180px;
        width: 90%;
        padding: 20px;
    }
}


/* Profile Photo Section */
.profile-photo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;
}

.profile-photo-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;  /* Ensures no overflow */
    border: 3px solid #007bff;
    background: white; /* White background initially */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Text inside the profile photo */
.profile-text {
    position: absolute;
    color: gray;
    font-size: 14px;
    font-weight: bold;
    z-index: 1; /* Keep text above the image */
}

/* Image inside the profile photo */
.profile-photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

/* Upload icon */
.upload-icon {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: #007bff;
    color: white;
    padding: 8px;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#signup-profile-photo {
    display: none;
}
.password-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.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;
}
.footer {
  font-family: Arial, sans-serif;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  text-align: center;
  width: 100%;
  padding: 5px 0px;
  position: relative;
  bottom: 0;
  left: 0;
}

.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;
}

.newsletter button {
  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;
  }
}

form input,
form textarea {
    display: block;
    margin: 12px auto;
    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;
}

.dark-mode form input,
.dark-mode form textarea {
  background: #333;
  color: white;
  border: 2px solid #666;
}

.dark-mode form input:hover,
.dark-mode form textarea:hover {
  border-color: #ffcc00;
  box-shadow: 0px 0px 12px rgba(207, 205, 70, 0.9);
}

form input:hover,
form textarea:hover {
  border-color: #007bff;
  /* Change border color */
  box-shadow: 0px 0px 12px rgba(0, 123, 255, 0.5);
  /* Soft glowing effect */
}

form input:focus,
form textarea:focus {
  border-color: #333;
  box-shadow: 0px 0px 10px rgba(51, 51, 51, 0.3);
  outline: none;
}

/* Button */
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;
  transition: all 0.3s ease-in-out;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

button:hover {
  background: linear-gradient(135deg, #048bca, #77c6f1);
  transform: scale(1.08);
  box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.3);
}

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

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

.dark-mode .footer{
  background: linear-gradient(135deg, #1e1e1e, #333);
}

/* 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;
}