/* Ensure footer stays at the bottom of the viewport */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1; /* Allow main to grow and push footer down */
    background-color: rgba(208, 208, 208, 0.8) /* Background color */
    color: #333;
}

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: rgba(208, 208, 208, 0.8) /* Background color */
    color: #333;
}

header {
    background: linear-gradient(90deg, #333, #555); /* Dark gray gradient */
    color: #fff;
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    flex-wrap: wrap;
    position: relative;
}


.navbar a {
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    transition: background 0.3s;
}

.navbar a:hover {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}

.navbar .logo {
    height: 50px;
}

.index-logo {
    height: 63px;
    vertical-align: bottom; /* Align with the baseline of the text */
    margin-right: 10px;
    margin-bottom: -4px;
}

.hamburger {
    display: none; /* Hidden by default */
    cursor: pointer;
    font-size: 30px; /* Adjust size as needed */
    color: #fff; /* Color of the hamburger icon */
}

main {
    padding: 20px;
    text-align: center;
}

h1 {
    color: #333;
    font-size: 2.5em;
    margin-bottom: 20px;
}

.product-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 20px 0;
}

.product-item {
    border: 1px solid #ddd;
    margin: 10px;
    padding: 10px;
    background: #fff;
    width: 300px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.product-item img {
    width: 100%;
    height: 200px;
    border-radius: 10px;
}

.product-item a{
    padding: 10px;
    background: linear-gradient(90deg, #888, #aaa);
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 16px; /* Larger font size */
    font-weight: bold; /* Bold text */
    display: block;
    text-decoration: none; 
}

.product-item a:hover {
    background: linear-gradient(90deg, #aaa, #ccc);

}

.product-description {
    font-size: 14px;
}

footer {
    background: #444;
    color: #fff;
    text-align: center;
    padding: 2px 0;
    position: relative;
    bottom: 0;
    width: 100%;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-links {
    margin: 10px 0;
}

.footer-links a {
    color: #50e3c2;
    margin: 0 10px;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-social {
    margin-top: 10px;
}

.footer-social a {
    margin: 0 10px;
    color: #50e3c2;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: #fff;
}


p {
    font-size: 18px;
}

form {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-container {
    max-width: 900px; /* Max width for the form */
    margin: 0 auto; /* Center the form */
}
.form-row {
    display: flex;
    margin-bottom: 20px; /* Space between rows */
    flex-wrap: wrap; /* Allows wrapping for small screens */
}
.form-column {
    flex: 1; /* Each column takes equal space */
    margin-right: 20px; /* Space between columns */
}
.form-column:last-child {
    margin-right: 0; /* Remove right margin for the last column */
}
label {
    display: block; /* Make label a block element */
    margin-bottom: 5px; /* Space between label and input */
    text-align: left;
    /* margin: 10px 0 5px; */
}
form input, form textarea {
    width: 100%; /* Full width for inputs and text area */
    padding: 8px; /* Padding for better appearance */
    box-sizing: border-box;  /* Include padding in width */
    margin-bottom: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}


form button {
    padding: 10px;
    background: linear-gradient(90deg, #888, #aaa);
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 16px; /* Larger font size */
    font-weight: bold; /* Bold text */
}

form button:hover {
    background: linear-gradient(90deg, #aaa, #ccc);

}

.pill {
    display: none; /* Hidden by default */
    padding: 10px 20px; /* Vertical and horizontal padding */
    color: #fff; /* Text color */
    border-radius: 20px; /* Makes the corners rounded */
    font-size: 14px; /* Font size */
    text-align: center; /* Center the text */
    box-shadow: 0 2px 5px rgba(27, 1, 61, 0.2); /* Optional shadow for depth */
    transition: background-color 0.3s; /* Smooth transition for hover effect */
}

.pill.show {
    display: inline-block; /* Show when 'show' class is added */
}

.spacing {
    padding: 10px;
}

.failure {
    background-color: #e9330b; /* Red color */
}

.success {
    background-color: #05681c; /* Green color */
}


.index-container {
    display: flex; /* Use flexbox for layout */
    width: 100%; /* Full width of the viewport */
}

.index-container-left-section {
    flex: 1; /* Left section takes up available space */
    padding: 20px; /* Padding */
    box-sizing: border-box; /* Include padding in width/height calculations */
    height: 300px;
    overflow: hidden;
}

.index-container-right-section {
    flex: 0 0 40%; /* Right section takes up 34% of the container */
    padding: 20px; /* Padding */
    box-sizing: border-box; /* Include padding in width/height calculations */
    text-align: left;
    height: 300px;
}



.gap-3 {
    gap: 0.75rem;
}

.mt-8 {
    margin-top: 2rem;
}

.bottom-alignment {
    vertical-align: bottom;
}

.text-darkGold {
    --tw-text-opacity: 1;
    color: rgba(133, 107, 0, var(--tw-text-opacity));
}

.no-underline {
    text-decoration: none; /* Removes the underline */
}

.margin-left-8 {
    margin-left: 8px;
}

.product-table-responsive-image {
    max-width: 100%;  /* Allows the image to scale to the container's width */
    height: auto;     /* Maintains aspect ratio */
}

.product-table-div {
    padding: 30px 10px 10px 10px;
}

.product-table-div p {
    text-align: left;
    text-decoration: underline;
    font-weight: bold;
    font-size: 20px;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .navbar nav {
        display: none; /* Hide the nav by default */
        flex-direction: column; /* Stack items vertically */
        position: absolute; /* Positioning for dropdown */
        top: 60px; /* Adjust based on your layout */
        left: 0;
        right: 0;
        background: linear-gradient(90deg, #333, #555); /* Background for dropdown */
    }

    .navbar a:hover {
        background: rgba(255, 255, 255, 0.2);
        border-radius: 5px;
    }

    .navbar nav a {
        padding: 15px; /* Adjust padding for mobile */
        border-top: 1px solid rgba(255, 255, 255, 0.2); /* Divider between items */
    }

    .navbar nav.show {
        display: flex; /* Show the nav when toggled */
    }

    .hamburger {
        display: block; /* Show hamburger icon on small screens */
    }

    .product-grid {
        flex-direction: column;
        align-items: center;
    }

    .product-item {
        width: 90%;
    }

    .form-row {
        flex-direction: column; /* Stack labels and inputs */
    }
    .form-column {
        margin-right: 0; /* Remove right margin on small screens */
        margin-bottom: 10px; /* Space between stacked fields */
    }

    .index-container {
        flex-direction: column; /* Stack sections vertically */
    }

    .index-container-right-section {
        flex: 1; /* Right section takes full width */
        width: 100%; /* Ensure it takes full width */
    }
}
