body {
    background-image: url('../images/background.png'); /* Replace 'background.jpg' with your image file path */
    background-size: auto;
    background-position: 20% center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin: 0; /* Remove margins */
    padding: 0; /* Remove padding */
    background-color: #1C2E3A; 
}

.title-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Adjust the height to control vertical alignment */
}

.title-header h1 {
    text-align: center;
    margin-top: 0; /* Remove default margin for the h1 element */
}

/* Modal container */
.modal {
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5); /* Black background with opacity */
  }
  
  /* Modal content */
  .modal-content {
    display: block;
    margin: auto;
    max-width: 90%;
    max-height: 90%;
  }

  
  
  /* Close button */
  .close {
    position: absolute;
    top: 0.625rem;
    right: 1.25rem;
    font-size: 1.875em;
    color: white;
    cursor: pointer;
  }
  
/* scroll bar on home screen */
.job-gallery {
    position: fixed;
    top: 0;
    right: 0; /* Position to the right */
    width: 51rem; /* Adjust the width as needed */
    height: 100%;
    background-color: rgba(57, 56, 56, 0.7); /* Partially transparent black background */
    border-left: 0.0625rem solid #2d2d2d; /* Black border on the left for the outline */
    box-shadow: -5px 0 5px rgba(0, 0, 0, 0.3); /* Shadow on the left edge */
    overflow-y: auto; /* 'auto' will only show scrollbar when needed */
    padding: 0.625rem;
    box-sizing: border-box;
}
  
.gallery-container {
    max-height: 80vh;
    overflow-y: auto;
    overflow-x: hidden; /* Hide horizontal scrollbar */
    padding: 0.625rem;
    box-sizing: border-box;
}

  
  .gallery-container img {
    width: 100%;
    margin-bottom: 0.625rem;
    border: 1px solid #ccc;
    box-shadow: 2px 2px 4px #000000; /* Optional: Adds shadow to images */
    cursor: pointer;
}
  
/* Basic styling for the menu bar */
.menu-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 12.5rem; /* Adjust the width as needed */
    height: 100%;
    background-color: rgba(57, 56, 56, 0.7); /* Partially transparent black background */
    border-right: 0.0625rem solid #2d2d2d; /* Black border on the right for the outline */
    box-shadow: 5px 0 5px rgba(0, 0, 0, 0.3); /* Create a 3D effect with a shadow */
}

.fully-insured {
    text-align: center;
    margin-top: 150px; /* Adjust this value as needed */
    color: rgb(238, 234, 231);
}

.menu-bar ul {
    list-style: none;
    padding: 0;
}

.menu-bar li {
    padding: 0.625rem;
    text-align: center;
}

.menu-bar a {
    text-decoration: none;
    color: #ffffff;
    display: block;
    font-size: 1.125em; /* Adjust the font size as needed */
    font-weight: bold; /* Make the text bold */
    transition: background-color 0.3s ease;
}

.menu-bar a:hover {
    background-color: #555; /* Change the background color on hover for a 3D effect */
}

.content {
    position: fixed;
    top: 0;
    right: 0; /* Position to the right */
    width: 51rem; /* Adjust the width as needed */
    height: 100%;
    background-color: rgba(57, 56, 56, 0.7); /* Partially transparent black background */
    border-left: 0.0625rem solid #2d2d2d; /* Black border on the left for the outline */
    box-shadow: -5px 0 5px rgba(255, 255, 255, 0.3); /* Shadow on the left edge */
    overflow-y: auto; /* 'auto' will only show scrollbar when needed */
    padding: 0.625rem;
    box-sizing: border-box;
}

.content p {
    text-decoration: none;
    color: #ffffff;
    display: block;
    font-size: 1.7em; /* Adjust the font size as needed */
    font-weight: bold; /* Make the text bold */
    transition: background-color 0.3s ease;
}

.content h1 {
    text-decoration: none;
    color: #ffffff;
    display: block;
    font-size: 2.3em; /* Adjust the font size as needed */
    font-weight: bold; /* Make the text bold */
    transition: background-color 0.3s ease;
}


/* Styling for the social media box */
.social-box {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap; /* Allow icons to wrap to a new row */
    justify-content: flex-end; /* Move icons to the bottom */
    align-items: flex-start; /* Move icons to the left */
    position: fixed; /* Keep the icons in a fixed position */
    bottom: 0;
    left: 0;
    padding: 0.35rem; /* Adjust spacing around icons */
}

/* Styling for each social media icon */
.social-box a {
    text-decoration: none;
    margin-bottom: 0.625rem; /* Adjust the vertical spacing between rows */
    margin-right: 0.0rem; /* Adjust the horizontal spacing within rows */
    flex-basis: calc(30% - 0px); /* Specify the maximum width for each icon in a row */
    /* You can adjust the percentage to control the number of icons per row */
}

.social-box img {
    width: 4rem; /* Increase the icon size */
    height: 4rem;
}


/* Styles for the scrollbar track */
::-webkit-scrollbar {
    width: 0.625rem; /* Making the scrollbar narrower */
}

/* Styles for the scrollbar handle */
::-webkit-scrollbar-thumb {
    background-color: #ffffff; /* Dark grey handle */
    border-radius: 10px; /* Rounded edges on the scrollbar handle */
}

/* Optionally, if you want to style the scrollbar handle on hover */
::-webkit-scrollbar-thumb:hover {
    background-color: #808080; /* Change the handle color when hovered */
}



@media only screen and (max-width: 768px) {
    body {
        font-size: 100%; /* Reduce font size for mobile screens */
        background-size: cover; /* or any other value you prefer */
        background-position: center;
    }

    .title-header {
        height: auto; /* Adjust height for mobile screens */
    }

    .modal {
        width: 90%; /* Adjust modal width for mobile screens */
    }

    .content {
        width: 50%; /* Allow content to occupy full width */
        padding: 1rem; /* Adjust padding for smaller screens */
    }

    .content p,
    .content h1 {
        font-size: 0.875em; /* Decrease font size for paragraphs and headings */
    }

    .job-gallery {
        width: 50%; /* Allow content to occupy full width */
        padding: 1rem; /* Adjust padding for smaller screens */
    }

    .desktop-only {
        display: none;
    }

}


.contact-form {
    text-align: center;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}
.contact-form input[type="submit"] {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.contact-form input[type="submit"]:hover {
    background-color: #0056b3;
}


.contact-number {
    text-align: center;
    font-size: 1em; /* Adjust the font size as needed */
    color: #ffffff;
    margin-top: 20px; /* Space above the phone number */
}


.fully-insured {
    text-align: center;
    margin-top: 150px; /* Adjust this value as needed */
    color: rgb(238, 234, 231);
}

.fully-insured p {
    margin: 5px 0; /* Adjust the margin as needed */
    font-size: 0.9em; /* Adjust the font size to fit within the sidebar */
}

.fully-insured a {
    color: rgb(238, 234, 231); /* Ensure the email link color matches your design */
    text-decoration: none; /* Remove underline from the email link */
}

.fully-insured a:hover {
    text-decoration: underline; /* Add underline on hover for the email link */
}

.contact-info {
    font-size: 0.8em; /* Further reduce the font size for contact info */
}