/* Global Styles */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;

}
:root{
    --header-height: 130px
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    /* Prevent horizontal overflow */
}

body {
    font-family: Ubuntu, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #41772A;
    display: flex;
    flex-direction: column;
}

/* h1 {
    font-size: 24px;
    margin-bottom: 10px;
} */

.faq-heading {
    font-family: 'Ubuntu', sans-serif;
    /* Use Ubuntu font */
    font-size: 40px;
    /* Adjust font size as needed */
    color: #333;
    /* Set color */
    margin-top: 20px;
    /* Add some top margin for spacing */
    margin-bottom: 20px;
    /* Add some bottom margin for spacing */
    text-align: center;
    /* Center-align the heading */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: bold;
    color: #337ab7;
}

/* .main-head {
    font-size: 40px;
    font-weight: bold;
    color: white;
    margin-bottom: 20px;
    text-align: center;
} */

main {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    /*Add box-sizing to include padding in width calculation */
    flex: 1;
}

p {
    margin-bottom: 20px;
}

a {
    text-decoration: none;
    color: #337ab7;
}

a:hover {
    color: #23527c;
}

/* Header Styles */

/* .navbar {
    display: flex;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 10px 20px;
} */

#header {
    background: #5f43b2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

#header .logo {
    width: 120px;
}

#header nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    border-radius: 1px;
    background: #467E29;
}

#header nav ul {
    list-style: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

#header nav ul li {
    margin: 0 10px;
}

#header nav ul li a {
    color: #fff;
    padding: 10px 20px;
    text-transform: uppercase;
    border: 0px solid #fff;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-weight: bold;
    font-size: 120%;
}

#header nav ul li a:hover {
    background-color: #fff;
    color: #337ab7;
    border-radius: 5px;
}

/* Main Content Styles */

.legals-faq {
    background-color: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin: 10px auto;
    /* max-width: 1200px; */
    width:500px;
    min-height: calc(100vh - var(--header-height) - 20px);
    height: auto;
    overflow: auto;
}

.legals h1 {
    font-size: 32px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 20px;
}

.legals p {
    font-size: 18px;
    line-height: 1.6;
    color: #666666;
    margin-bottom: 20px;
}

main {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    /*Add box-sizing to include padding in width calculation */
    flex: 1;
}

.footer-class-a {
    background-color: #333;
    color: white;
    padding: 20px 0;
    text-align: center;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    padding: 2px;
    flex-wrap: wrap;
}

.sitemap h3,
.contact-info h3 {
    margin-bottom: 10px;
}

.sitemap ul,
.contact-info ul {
    list-style: none;
    padding: 0;
}

.sitemap a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sitemap a:hover {
    color: #ddd;
}

.contact-info ul li {
    margin-bottom: 5px;
}

/* Hamburger Menu Styles */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.hamburger-menu div {
    width: 30px;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease-in-out, height 0.3s ease-in-out;
    background-color: #ae8bff;
    position: fixed;
    top: 150px;
    left: 0;
    right: 0;
    z-index: 1000;
    border-radius: 20px;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}

.mobile-nav.active {
    display: block;
    opacity: 1;
    height: auto;
}

.mobile-nav.active li {
    margin-bottom: 3px;
}

.mobile-nav.active li:last-child {
    margin-bottom: 0;
}

.mobile-nav.active li a {
    color: #fff;
    display: block;
    padding: 15px;
    transition: background-color 0.3s ease-in-out;
}

.mobile-nav.active li a:hover {
    background: #91E49C;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    z-index: 999;
}

@media screen and (max-width: 834px) {
    #header .nav-list {
        display: none;
    }

    .mobile-nav {
        display: block;
    }

    .hamburger-menu {
        display: flex;
    }

    .hamburger-menu.active div:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger-menu.active div:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active div:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .overlay.active {
        position: fixed;
    }

    .footer-content {
        flex-direction: column;
    }
}

.register-form-container {
    width: 400px;
    height: auto;
    position: relative;
    margin: 20px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: block;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

form {
    width: 100%;
}

div {
    margin-bottom: 10px;
}

label {
    display: block;
    margin-top: 5px;
    margin-bottom: 2px;
    color: black;
    /* font-weight: bold; */
}

input[type=email],
input[type=tel],
input[type=password],
input[type=text] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box; /* Makes sure the padding doesn't increase the total width */
    font-size: 16px;
}


input[type="checkbox"] {
  transform: scale(1.4); /* 1.0 = normal, increase for bigger */
  margin-right: 6px;     /* add space to text */
}


button[type="submit"] {
    background-color: black;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    align-self: center;
    margin-top: 20px;
}

button[type="submit"]:hover {
    background-color: #5f43b2;
}

.back-button {
    /* position: absolute; */
    top: 20px;
    left: 20px;
    /* margin-bottom: 200px; */
    background-color: gray;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
}

.back-button:hover {
    background-color: darkslategray;
    color: white;
}
.error {
    color: #D8000C; /* Red text color for error messages */
    background-color: #FFD2D2; /* Light red background */
    border: 1px solid #D8000C; /* Red border to make it stand out */
    padding: 10px;
    margin: 10px 0; /* Adds space above and below the error div */
    border-radius: 5px; /* Rounded corners for a smoother look */
    text-align: center; /* Centers the text within the div */
    font-size: 1em; /* Ensures readable text size */
}