body {
    font-family: Arial, sans-serif;
    color: #333;
    background-color: #f0f0f0;
}

header, footer {
    background-color: #f8f9fa;
}

header h1, footer h2 {
    color: #5a442a;
}

.header-logo {
    max-width: 100px; /* Adjust as needed */
    height: auto;
    display: block;
    margin: 0 auto 20px auto; /* Adds margin below the image */
}


.nav-link {
    color: #5a442a;
}

.nav-item.border-right {
    border-right: 1px solid #333;
    padding-right: 10px;
    margin-right: 10px;
}

/* Enhancements for navigation on all screens */
nav ul.nav {
    list-style: none; /* Removes bullet points */
    padding: 0;
    display: flex; /* By default, display links in a row */
    flex-wrap: wrap; /* Allow the items to wrap if there isn't enough space */
}

nav ul.nav li.nav-item {
    margin: 5px; /* Space around each nav item */
    transition: background-color 0.3s; /* Smooth transition for hover effects */
}

nav ul.nav li.nav-item:hover {
    background-color: #eaeaea; /* A light grey background on hover */
}

nav a.nav-link {
    padding: 10px 15px; /* Increase padding for better click/touch area */
    text-decoration: none; /* Removes the underline */
    display: block; /* Makes the entire list item clickable, not just the text */
    transition: color 0.3s; /* Smooth transition for color changes */
}

nav a.nav-link:hover {
    color: #333; /* Darkens the link color on hover */
}

/* Mobile-specific enhancements */
@media screen and (max-width: 768px) {
    nav ul.nav {
        flex-direction: column; /* Stack the links vertically */
    }

    nav ul.nav li.nav-item {
        width: 100%; /* Each nav item takes up the full width */
        text-align: center; /* Centers the link text */
    }

    nav ul.nav li.nav-item.border-right {
        border-right: none; /* Removes right borders on mobile */
        border-bottom: 1px solid #333; /* Adds a bottom border instead */
    }

    nav ul.nav li.nav-item:last-child {
        border-bottom: none; /* Removes the bottom border from the last item */
    }
}


section h2 {
    color: #5a442a;
}

.logo {
    display: block;
    max-width: 60%;  /* Adjust as needed */
    height: auto;
    margin: 20px auto;  /* Adjust as needed */
}

/* For Chrome and Safari */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 20px;
}

::-webkit-scrollbar-thumb {
    background-color: #5a442a; 
    border-radius: 20px;
    border: 3px solid #f0f0f0;
}

/* For Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #5a442a #f0f0f0;
}

#intro-section h2 {
    color: #5a442a;
    font-weight: bold;
    margin-bottom: 15px;
}

#intro-section p {
    font-size: 1.1em; /* Slightly larger font size */
    color: #333333;
    line-height: 1.6; /* Improved line spacing for better readability */
    margin-bottom: 25px; /* Space before the start of the form */
    max-width: 750px; /* Optimal reading width */
    margin-left: auto; /* Center align the paragraph */
    margin-right: auto; /* Center align the paragraph */
    text-align: justify; /* Justified text for a cleaner look */
}

#order-form {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

#order-form h2 {
    color: #5a442a;
}

#order-form .form-control {
    border: 1px solid #5a442a;
    border-radius: 4px;
}

#order-form .btn-primary {
    background-color: #5a442a;
    border-color: #5a442a;
}

#order-form .btn-primary:hover {
    background-color: #4a3822;
    border-color: #4a3822;
}

#order-form .form-check-label {
    color: #333;
}

#order-form .form-check-input {
    accent-color: #5a442a;
}

#order-form .form-group.button-group {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}




#contact {
    background-color: #f8f9fa;
    padding: 50px 0;
}

#contact h2 {
    text-align: center;
    color: #5a442a;
}

.project-inquiry {
    text-align: center;
    padding: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    font-family: Arial, sans-serif;
    color: #333;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s ease-in-out; /* Add transition effect */
}

.project-inquiry p {
    margin: 0;
    padding: 10px;
}

.project-inquiry:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* Add a bigger shadow on hover */
}


.contact-info {
    display: flex;
    justify-content: space-around;
    margin-top: 40px;
}

.contact-info div {
    text-align: center;
    width: 30%; /* adjust as needed */
    padding: 20px;
    background: #f0f0f0;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.contact-info div:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.logo-container {
    text-align: center;
    margin-top: 50px;
}

.logo-container a img {
    max-width: 400px;
    height: auto;
    transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
    cursor: pointer;  /* Change cursor to pointer */
    border-radius: 50%;
}

.logo-container a img:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(-10px);
}

.developer-info {
    text-align: center;
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
}

.developer-info a {
    color: #5a442a;
    text-decoration: none;
}

.developer-info p {
    margin: 0;
    padding: 5px 0;
}

.developer-logo {
    max-width: 100px; /* Adjust as needed */
    height: auto;
    display: block;
    margin: 0 auto; /* Center the image */
}

/* Back to top button */
#back-to-top-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: #5a442a;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 4px;
    transition: background-color 0.3s ease-in-out; /* Transition effect for smooth animation */
}

#back-to-top-btn:hover {
    background-color: #5a442a;
}

#back-to-top-btn:hover {
    background-color: #d2b48c; /* Tan color */
    color: #5a442a; /* Same color as the original button color for contrast */
}


#order-confirmation {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
    max-width: 800px;
    margin: 0 auto; /* Center the section */
}

#order-confirmation h2 {
    color: #5a442a;
    font-weight: bold;
    margin-bottom: 15px;
}

#order-confirmation p {
    font-size: 1.1em;
    color: #333;
    line-height: 1.6;
    margin-bottom: 25px;
}

.navbar-toggler {
    border: none;
    background: transparent;
}

.navbar-toggler .navbar-toggler-icon {
    display: inline-block;
    width: 30px;
    height: 3px;
    background-color: #5a442a;
    position: relative;
}

.navbar-toggler .navbar-toggler-icon::before,
.navbar-toggler .navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #5a442a;
    top: -10px;
}

.navbar-toggler .navbar-toggler-icon::after {
    top: 10px;
}


.social-media-logo {
    max-width: 100%;
    height: auto;
    display: block; /* Centers the logo if the width is less than 100% */
    margin: 0 auto; /* Adds margin below the image */
}


/* Hover effect for the social media logo */
.social-media-logo:hover {
    transform: scale(1.05); /* Slightly enlarges the logo */
    transition: transform 0.3s ease; /* Smooth transition for scaling */
}

/* Active effect for the social media logo to simulate a 'raise' when clicked */
.social-media-logo:active {
    transform: translateY(-3px); /* Moves the logo up a bit */
}

/*----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width: 320px) {
    .nav {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .nav-item.border-right {
        border-right: none;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }

    .nav-link {
        padding: 5px 0;
    }
}


@media screen and (max-width: 768px) {
    header {
        position: fixed; /* Fixed position to stick at the top */
        width: 100%; /* Full width */
        top: 0; /* Stick to the top */
        z-index: 1000; /* Higher than other elements */
    }

    header h1 {
        display: none;
    }

    .header-logo {
        max-width: 120px; /* Adjust as needed */
        margin: 0 auto; /* Center the logo */
    }

    body {
        padding-top: 183px; /* Replace [HeaderHeight] with the actual height of your header */
    }

    .nav {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        flex-wrap: wrap;
    }

    .nav-item.border-right {
        border-right: none;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }

    .nav-link {
        padding: 0 5px;
    }

    #intro-section p {
        font-size: 1em; /* Adjust font size for smaller screens */
        text-align: left; /* Align text left on smaller screens for better readability */
    }

    #order-confirmation p {
        font-size: 1em;
        text-align: left;
    }

    .social-media-logo {
        width: 50%; /* You can adjust this value for mobile devices */
    }
}

@media screen and (max-width: 768px) {
    .contact-info {
        flex-direction: column;
        align-items: center;
    }

    .contact-info div {
        width: 70%;  /* Adjust as needed */
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 320px) {
    .logo-container a img {
        max-width: 100%;  /* Adjust as needed */
    }
}

@media screen and (max-width: 768px) {
    .logo-container a img {
        max-width: 80%;  /* Adjust as needed */
    }
}


@media screen and (max-width: 768px) {
    .developer-logo {
        max-width: 60px;
    }
}

@media screen and (min-width: 769px) {
    header {
        top: 0;
        width: 100%;
        z-index: 1030; /* Bootstrap's default z-index for a fixed navbar is 1030 */
    }

    .navbar-toggler {
        display: none;
    }

    .collapse {
        display: block !important; /* Ensures that the collapse class displays the content */
    }

    /* Ensure the navigation links are visible */
    nav ul.nav {
        display: flex;
        justify-content: center; /* Horizontally centers the navigation links */
    }

    .social-media-logo {
        width: 20%; /* You can adjust this value for desktop */
    }
    
}