/* 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 signup section */
.signup-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
  }
  
  /* Signup form box */
  .signup-box {
    background-color: rgba(255, 255, 255, 0.85); /* Slight transparency */
    padding: 40px;
    width: 100%;
    max-width: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    text-align: center;
  }
  
  /* Title of the signup form */
  .signup-box h2 {
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: #333;
    font-weight: bold;
  }
  
  /* Input field container */
  .signup-box .textbox {
    margin-bottom: 20px;
    position: relative;
  }
  
  /* Input fields for all details */
  .signup-box .textbox input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
  }
  
  /* Error message styling */
  .signup-box .textbox .error-message {
    color: red;
    font-size: 0.85rem;
    position: absolute;
    bottom: -18px;
    left: 0;
    display: none;
  }
  
  /* Input field focus effect */
  .signup-box .textbox input:focus {
    border-color: #007bff;
    outline: none;
  }
  
  /* Sign Up button */
  .signup-box .btn {
    width: 100%;
    padding: 12px 20px;
    background-color: #007bff;
    color: white;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  /* Hover effect for the sign up button */
  .signup-box .btn:hover {
    background-color: #0056b3;
  }
  
  /* Login link section */
  .signup-box .login-link {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #555;
  }
  
  /* Login link hover effect */
  .signup-box .login-link a {
    text-decoration: none;
    color: #007bff;
    transition: color 0.3s;
  }
  
  .signup-box .login-link a:hover {
    color: #0056b3;
  }

  /* Style for the input fields when there is an error */
input.error {
  border: 2px solid red;
  color: red;
}

/* Style for the error messages inside the input fields */
input.error::placeholder {
  color: red;
}

/* Optionally, you can style the error message text below the input if needed */
/* .signup-error-message {
  color: red;
  font-size: 12px;
  margin-top: 5px;
} */
