/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Header Styling */
.header {
  position: absolute;
  top: 0;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 20px 38px;
  background: transparent;
  z-index: 10;
}



/* Logo Section */
.header .logo {
  display:flex;
  align-items:center;
  margin-left: -720px;
}

.header .logo img {
  width: 275px;
  height: 75px;
  margin-left: 60px;
  margin-top: -10px;
}

/* Navigation Menu */
.nav {
  position: absolute;
  right: 90px;
  top: 50%;
  transform: translateY(-50%);
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav ul li a {
  text-decoration: none;
  color: #000000;
  font-weight: bold;
  padding: 5px 10px;
  transition: color 0.3s ease;
  font-family: 'DM Sans', sans-serif;

}

.nav ul li a:hover {
  color: #44abd0;
  /* text-decoration: underline; */
}

/* Quote Button Styling */
.nav ul li a.sign-up {
  background: #007bff;
  color: #fff;
  padding: 5px 10px;
  border-radius: 7px;
}

.nav ul li a.quote-btn:hover {
  background: #0056b3;
}


.bg-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/contact2.jpg') no-repeat center center/cover;
  filter: blur(2px); 
  z-index: -1;
}

/* Dropdown Styles */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  padding : 5px 5px;
  min-width: 160px;
  min-height: 70px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 10;
  /* Add a small offset to ensure no gap between button and menu */
  top: 100%; /* Aligns the menu directly below the button */
  left: 0;
  /* margin-top: 10px; */
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

/* Hover Styles */
.dropdown:hover .dropdown-content {
  display: block;
  opacity: 1;
  visibility: visible;
}

.dropdown:hover .dropbtn {
  background-color: #f1f1f1;
}

/* Transition Effect */
.dropdown-content {
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
}

/* Ensure hover state stays active */
.dropdown:hover .dropdown-content {
  display: block;
  opacity: 1;
  visibility: visible;
}

/* Container for the login section */
.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: rgba(0, 0, 0, 0.05);
}

/* Box containing the login form */
.login-box {
  background-color: #ffffff;
  padding: 40px;
  width: 100%;
  max-width: 400px;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  background-color: rgba(255, 255, 255, 0.75); /* Slight transparency */
  text-align: center;
}

/* Title of the login form */
.login-box h2 {
  margin-bottom: 20px;
  font-size: 1.8rem;
  color: #333;
  font-weight: bold;
}

/* Input field container */
.login-box .textbox {
  margin-bottom: 20px;
}

/* Input fields for username and password */
.login-box .textbox input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

/* Input field focus effect */
.login-box .textbox input:focus {
  border-color: #007bff;
  outline: none;
}

/* Button container for spacing */
.login-box .btn-container {
  margin-top: 20px;
}

/* Login button */
.login-box .btn {
  width: 100%;
  padding: 12px 20px;
  background-color: #007bff;
  color: #fff;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

/* Hover effect for the login button */
.login-box .btn:hover {
  background-color: #0056b3;
}

/* Signup link section */
.login-box .signup-link {
  margin-top: 15px;
  font-size: 0.9rem;
  color: #555;
}

/* Signup link hover effect */
.login-box .signup-link a {
  text-decoration: none;
  color: #007bff;
  transition: color 0.3s;
}

.login-box .signup-link a:hover {
  color: #0056b3;
}

input::placeholder {
  color: black; /* Default color */
  opacity: 1; /* Ensure full opacity for the placeholder */
}

input.error::placeholder {
  color: red; /* Error color for placeholder */
}


#error-message {
  color: red;
  font-weight: bold;
  margin-bottom: 10px;
}
