:root {
    --bg1: #8b32a8;
    --bg2: #3285a8;
    --fc1: white;
    --fc2: #8b32a8;
    --th1: #C1CAD6;
}

*{
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

body {
    font-family: montserrat;
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
}
body.login-page {
    background: linear-gradient(135deg, var(--bg1), var(--bg2));
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: montserrat, sans-serif;
    margin: 0;
    padding: 0;
}
.checkbtn {
    font-size: 30px;
    color: var(--fc1);
    float: right;
    line-height: 80px;
    margin-right: 40px;
    cursor: pointer;
}
#check {
    display: none;
}


.hero-content {
    position: relative;
}
/* Toggle button inside hero */
.hero-toggle-btn {
    position: absolute;
    top: 90px;
    right: 20px;
    background-color: var(--bg2);
    color: var(--fc1);
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    z-index: 1000;
}


/* Hide the hero when minimized */
.hero.hidden {
    display: none;
}

/* Restore button outside hero */
.show-hero-btn {
    position: absolute;
    top: 90px; /* Move below header */
    right: 20px; /* Move away from the logo */
    background-color: var(--bg2);
    color: var(--fc1);
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    z-index: 900; /* higher than header just in case */
}
.branding {
    text-align: center;
    color: var(--fc1);
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 2rem;
}
.branding span {
    display: block;
    font-size: 1.2rem;
    font-weight: normal;
    margin-top: 0.5rem;
    opacity: 0.9;
}
.login-container {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    width: 100%;
    max-width: 400px;  
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
/* Form title */
.login-container h2 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--fc2);
}

/* Form group styling */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--th1);
}

.form-group input {
    width: 100%;
    padding: 10px;
    background-color: #f0f0f0;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    color: var(--fc2);
}

/* Input focus state for better accessibility */
.form-group input:focus {
    outline: none;
    box-shadow: 0 0 5px var(--bg2);
    border: 1px solid var(--bg2);
}

/* Submit button styling */
button[type="submit"] {
    width: 100%;
    padding: 12px;
    background-color: var(--bg2);
    border: none;
    border-radius: 4px;
    font-size: 18px;
    color: var(--fc1);
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

/* Button hover effect */
button[type="submit"]:hover {
    background-color: var(--bg2);
    filter: brightness(0.8);
}

/* Error message styling */
.error-messages {
    margin-top: 20px;
    padding: 10px;
    background-color: rgba(255, 0, 0, 0.1);
    border-left: 3px solid red;
    color: red;
    font-size: 14px;
}


  
.circle-layout {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 80vw; /* Adjust width as needed */
    height: 80vh; /* Adjust height as needed */
    margin: auto;
}
.section {
    position: absolute;
    width: 200px; /* Adjust card width */
    height: 200px; /* Adjust card height */
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}
.section:hover {
    transform: scale(1.05);
}
.samples { top: 10%; left: 50%; transform: translate(-50%, -50%); }
.tests { top: 30%; left: 10%; }
.safety { bottom: 30%; left: 10%; }
.chemicals { bottom: 30%; left: 50%; transform: translate(-50%, 0); }
.ordering { bottom: 30%; right: 10%; }
.settings { top: 30%; right: 10%; }

@media(max-width:800px){
    .checkbtn{
        display: block;
    }
    label.logo-nav{
        font-size: 30px;
        padding-left: 50px;
    }
    #hero-section,
    #hide-hero,
    #show-hero {
        display: none !important;
    }
    
}













