.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.popup-success {
    color: #4CAF50; /* Green */
}

.popup-error {
    color: #f44336; /* Red */
}

/* Styles for Popup Success */
.popup-success1 {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #4CAF50; /* Green */
    color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

/* Styles for Popup Error */
.popup-error1 {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #f44336; /* Red */
    color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

    /* Styles for the popup */
    .popup-form {
        display: none;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: #fff;
        padding: 40px;
        border-radius: 10px;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        width: 60%;
        max-width: 500px;
    }

    .popup-form h2 {
        margin-top: 0;
        color: #333;
    }

    .popup-form label {
        display: block;
        margin-bottom: 10px;
        color: #555;
    }
  

    .popup-form input[type="text"],
    .popup-form input[type="email"],
    .popup-form input[type="date"],
    .popup-form input[type="number"] {
        width: 100%;
        padding: 10px;
        margin-bottom: 20px;
        border: 1px solid #ccc;
        border-radius: 5px;
        box-sizing: border-box;
    }

    .popup-form input[type="submit"] {
        background-color: #ffc107;
        color: #fff;
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
    }

    .popup-form input[type="submit"]:hover {
        background-color: #ffca28;
    }

    .popup-form button {
        background-color: #ddd;
        color: #333;
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        margin-top: 10px;
    }

    .popup-form button:hover {
        background-color: #ccc;
    }

    /* Styles for the overlay */
    .overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }
    /* Styles for the close icon */
.close-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    color: #555;
    font-size: 20px;
}

.close-icon:hover {
    color: #333;
}
   /* Styles for the transparent form */
    /* Styles for the transparent form */
    .navbar {
        background-color: #333; /* Navbar background color */
        color: #fff;
        padding: 10px;
        position: fixed;
        width: 100%;
        z-index: 999; /* Ensures the navbar is above other content */
    }

    /* Styles for the transparent form */
    .transparent-form {
        position: absolute;
        top: calc(150px + 20px); /* Adjusted top value to account for the height of the navbar and additional space */
        right: 20px; /* Adjust this value as needed */
        background-color: rgba(255, 255, 153, 0.8); /* Background color with opacity */
        padding: 30px;
        border-radius: 10px;
        z-index: 998; /* Ensure the form is below the navbar */
        width: 500px; /* Adjust the width as needed */
        transition: opacity 0.3s ease; /* Add transition effect for opacity */
    }

    .transparent-form h2 {
        margin-top: 0;
        margin-bottom: 20px;
        color: #333;
        text-align: center;
    }

    .transparent-form label {
        display: block;
        margin-bottom: 10px;
        color: #555;
    }

  

    .transparent-form textarea {
        height: 100px;
        resize: none;
    }

    .transparent-form input[type="submit"] {
        background-color: #ffc107;
        color: #fff;
        border: none;
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
        font-weight: bold;
    }

    .transparent-form input[type="submit"]:hover {
        background-color: #ffca28;
    }

    /* Hide form when scrolled 500px down */
    .transparent-form.hide {
        opacity: 0;
        pointer-events: none;
    }.header-sticky{
      z-index: 999;
    }



          /* Style for labels */
    label {
        display: block;
        margin-bottom: 5px;
    }

    /* Style for inputs and selects */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
  
    select {
      width: calc(100% - 20px);
        padding: 10px;
        margin-bottom: 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
        box-sizing: border-box; /* Ensure padding and border are included in width */
        font-size: 16px;
    }

    /* Style for submit button */
  

  
/* Style for custom select dropdown */
.custom-select {
    position: relative;
}

.custom-select span {
    display: block;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
}

.custom-select select {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    cursor: pointer;
    height: 100%;
    z-index: 1;
}

    /* Style for custom select dropdown */
    .custom-select {
        position: relative;
    }

    .custom-select span {
        display: block;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
        cursor: pointer;
    }

    .custom-select select {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        opacity: 0;
        cursor: pointer;
        height: 100%;
        z-index: 1;
    }
    .success-message {
        position: fixed;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        padding: 10px 20px;
        background-color: #5cb85c;
        color: #fff;
        border-radius: 5px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
        z-index: 9999;
    }
    
    .error-message {
        position: fixed;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        padding: 10px 20px;
        background-color: #d9534f;
        color: #fff;
        border-radius: 5px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
        z-index: 9999;
    }
    .message-container {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 10px 20px;
        background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent black background */
        color: #fff;
        border-radius: 5px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
        z-index: 9999;
    }
/* Loader CSS */
.loader {
    border: 4px solid rgba(0, 0, 0, 0.1); /* Border color */
    border-top: 4px solid #ffca28; /* Color of the spinner */
    border-radius: 50%; /* Make it round */
    width: 40px; /* Adjust size as needed */
    height: 40px; /* Adjust size as needed */
    animation: spin 1s linear infinite; /* Rotate animation */
    margin: auto; /* Center the spinner */
  }
  
  /* Rotate animation */
  @keyframes spin {
    to {
      transform: rotate(360deg); /* Rotate to 360 degrees */
    }
  }
  

