:root {
    --base-clr: #324B50;
    --line-clr: #42434a;
    --hover-clr: rgba(149, 176, 182, 0.3);
    --text-clr: #e6e6ef;
    --accent-clr: #81cad9;
    --secondary-text-clr: #b0b3c1;
    --Tertiary-Color: #95b0b6; /* Light Greyish/Blue */
    --Dark-Gray: #505050;
    --Light-Gray: #d1d1d1;
    --header-clr: #e4eef2;
}
body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
*, *::before, *::after {
    box-sizing: border-box;
}
body {
    font-family: 'Figtree', sans-serif;
    background-color: #ffffff;
    background-image: url(../assets/images/WebBackground2.png);
    background-size: 100% auto;
    background-position: top center;
    background-repeat: repeat-y;
    background-attachment: scroll;
    min-height: 100vh;
}
main {
    margin: 0;
    padding: 0;
    width: 100%;
}
.title-container {
    margin: 5rem 0 0 0;
    display: flex;
    flex-direction: column; /* Stack child elements vertically */
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
    height: 30vh;
    width: 100%;
}
.logo-container1 {
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-image-top {
    height: 5rem;
    width: 5rem;
    margin: 0;
}
.logo-text-top {
    font-size: 2.5rem;
    color: var(--base-clr);
    font-weight: 800;
    margin: 0;
    text-align: center; /* Center-align the text */
}
.TopLine {
    margin: 0; /* Remove any default margins */
    text-align: center; /* Center-align the text */
    font-size: 2rem; /* Adjust font size as needed */
    font-weight: 600;
}
.form-description {
    margin: 0.25rem 0; /* Add spacing between the h1 and p elements */
    text-align: center; /* Center-align the text */
    font-size: 1rem; /* Adjust font size as needed */
    color: var(--Dark-Gray); /* Optional: Use a text color */
}
/* Start Form */
.form-container {
    display: flex;
    height: 215vh;
    width: 100%;
}
.left-container {
    width: 20%;
}
.category-container {
    border-radius: 10px;
    margin: 1rem 0 14rem 1rem;
    padding: 0.25rem;
    height: 5rem;
    background-color: white;
    color: var(--base-clr); 
    display: none;
    justify-content: flex-end;
    align-items: center;
    box-shadow: 0px 2px 8px var(--base-clr);
}
.category-container2 {
    border-radius: 10px;
    margin: 20rem 0 0 1rem;
    padding: 0.25rem;
    height: 5rem;
    background-color: white;
    color: var(--base-clr); 
    display: none;
    justify-content: flex-end;
    align-items: center;
    box-shadow: 0px 2px 8px var(--base-clr);
}
.mid-container {
    width: 45%;
}
.right-container {
    width: 35%;
}
.call-container {
    display: flex;
    border-radius: 10px;
    margin: 2rem 2rem 2rem 1rem;
    padding: 0.5rem;
    height: 10.5rem;
    align-items: center;
    background-color: white;
    box-shadow: 0 4px 10px var(--base-clr);
}
.phone-icon {
    width: 4rem;
    height: 4rem;
    padding: 1rem;  
}
.icon-container {
    width: 4rem;
    height: 4rem;
    box-shadow: 0px 1px 6px var(--base-clr);
    border-radius: 100%;
    margin-right: 1rem;
    margin-left: 0.5rem;
    background-color: var(--header-clr);
}
.call-text-wrapper {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.25rem;
}
.call-text-wrapper h4 {
    font-size: 1.15rem;
}
.base-clr {
    color: var(--base-clr);
}
/* General Form Styling */
.form-container {
    margin-bottom: 5rem;
}
form {
    width: 100%;
    max-width: 600px; /* Limit the form width for better readability */
    margin: 0 auto; /* Center the form horizontally */
    padding: 1rem;
    box-sizing: border-box;
}

/* Form Group Styling */
.form-group {
    display: flex;
    flex-direction: column; /* Stack label and input vertically */
    margin-bottom: 1.5rem; /* Add spacing between form groups */
}

/* Label Styling */
label {
    font-size: 1rem; /* Adjust font size */
    font-weight: bold; /* Make the label text bold */
    color: var(--base-clr); /* Use the base color for the text */
    margin-bottom: 0.5rem; /* Add spacing between the label and input */
}

/* Input, Select, and Textarea Styling */
input, select, textarea {
    width: 100%; /* Make inputs take up the full width of the form group */
    padding: 1rem; /* Add padding inside the input fields */
    font-size: 1rem; /* Adjust font size */
    border: 1px solid var(--Tertiary-Color); /* Add a subtle border */
    border-radius: 5px; /* Add rounded corners */
    font-family: 'Figtree', sans-serif; /* Use the same font as the body */
    box-sizing: border-box; /* Include padding and border in the width */
    color: var(--base-clr); /* Set text color inside the input */
    background-color: #fff; /* Set background color */
}

/* Textarea Specific Styling */
textarea {
    resize: vertical; /* Allow vertical resizing only */
}
.date-subtext {
    font-weight: 400;
    font-size: 0.9rem;
    margin-top: -0.25rem;
    color: var(--Dark-Gray);
}
/* Date Picker Styling */
input[type="date"] {
    width: 100%; /* Make the date picker take up the full width of the form group */
    padding: 0.75rem; /* Add padding inside the input field */
    font-size: 1rem; /* Adjust font size */
    border: 1px solid var(--Tertiary-Color); /* Add a subtle border */
    border-radius: 5px; /* Add rounded corners */
    box-sizing: border-box; /* Include padding and border in the width */
    color: var(--base-clr); /* Set text color inside the input */
    background-color: #fff; /* Set background color */
}
/* Time Picker Styling */
input[type="time"] {
    width: 100%; /* Make the time picker take up the full width */
    padding: 0.75rem; /* Add padding inside the input field */
    font-size: 1rem; /* Adjust font size */
    border: 1px solid var(--Tertiary-Color); /* Add a subtle border */
    border-radius: 5px; /* Add rounded corners */
    box-sizing: border-box; /* Include padding and border in the width */
    color: var(--base-clr); /* Set text color inside the input */
    background-color: #fff; /* Set background color */
}

/* Timezone Dropdown Styling */
select {
    width: 100%; /* Make the dropdown take up the full width */
    padding: 0.75rem; /* Add padding inside the dropdown */
    font-size: 1rem; /* Adjust font size */
    border: 1px solid var(--Tertiary-Color); /* Add a subtle border */
    border-radius: 5px; /* Add rounded corners */
    box-sizing: border-box; /* Include padding and border in the width */
    color: var(--base-clr); /* Set text color inside the dropdown */
    background-color: #fff; /* Set background color */
}

/* Submit Button Styling */
button.submit-btn {
    width: 100%; /* Make the button take up the full width */
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: bold;
    color: #fff; /* White text */
    background-color: var(--base-clr); /* Use the base color for the button */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button.submit-btn:hover {
    background-color: var(--accent-clr); /* Change color on hover */
}
/* Mobile Styling */
@media (max-width: 768px) {
    /* General Body Adjustments */
    body {
        background-size: 200% auto; /* Adjust background size for mobile */
        background-position: top center; /* Center the background */
        overflow-x: hidden; /* Prevent horizontal scrolling */
    }

    /* Title Section */
    .title-container {
        margin: 6rem 0; /* Reduce top margin */
        height: auto; /* Allow the container to grow dynamically */
        padding: 1rem; /* Add padding for spacing */
    }

    .logo-container1 {
        flex-direction: column; /* Stack the logo and text vertically */
        align-items: center; /* Center-align the content */
        margin-top: -1rem;
    }

    .logo-image-top {
        height: 4rem; /* Reduce logo size */
        width: 4rem;
    }

    .logo-text-top {
        font-size: 1.8rem; /* Adjust font size for smaller screens */
    }

    .TopLine {
        font-size: 1.5rem; /* Reduce font size */
        margin: 1rem 0; /* Adjust spacing */
    }

    .form-description {
        font-size: 0.9rem; /* Adjust font size for better readability */
        margin: -0.5rem 0; /* Add spacing */
    }

    /* Form Container */
    .form-container {
        flex-direction: column; /* Stack the form and right container vertically */
        height: auto; /* Allow the container to grow dynamically */
        padding: 1rem; /* Add padding for spacing */
        margin-top: -5rem
    }

    .left-container {
        display: none; /* Hide the left container on mobile */
    }

    .mid-container {
        width: 100%; /* Take up the full width */
        margin-bottom: 2rem; /* Add spacing below the form */
    }

    .right-container {
        width: 100%; /* Take up the full width */
    }

    /* Call Containers */
    .call-container {
        flex-direction: column; /* Stack the icon and text vertically */
        height: auto; /* Allow the container to grow dynamically */
        padding: 1rem; /* Add padding for spacing */
        margin: 1rem 0; /* Add spacing between call containers */
    }

    .icon-container {
        margin: 0 auto 1rem auto; /* Center the icon and add spacing below */
    }

    .phone-icon {
        width: 4rem; /* Reduce icon size */
        height: 4rem;
    }

    .call-text-wrapper {
        text-align: center; /* Center-align the text */
    }

    /* Form Adjustments */
    form {
        width: 100%; /* Ensure the form takes up the full width */
        padding: 0; /* Remove extra padding */
    }

    .form-group {
        margin-bottom: 1rem; /* Reduce spacing between form groups */
    }

    label {
        font-size: 0.9rem; /* Adjust font size for labels */
    }

    input, select, textarea {
        font-size: 0.9rem; /* Adjust font size for inputs */
        padding: 0.75rem; /* Adjust padding */
    }

    button.submit-btn {
        font-size: 1rem; /* Adjust button font size */
        padding: 0.75rem; /* Adjust button padding */
    }
}
