/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Navigation Menu Styles */
nav {
    display: flex; /* Use flexbox for layout */
    justify-content: space-between; /* Space out children */
    align-items: center; /* Center items vertically */
    background-color: rgba(51, 51, 51, 0.8); /* Semi-transparent background for the menu */
    padding: 10px 30px; /* Reduced padding for the menu */
    position: fixed; /* Fixed position to stay at the top */
    width: 100%; /* Full width */
    z-index: 1000; /* On top of other content */
    top: 0; /* Set top to 0 to align with the top of the page */
}

/* Logo in the Menu */
#nav-logo {
    height: 80px; /* Set a fixed height */
    width: auto;  /* Auto width to maintain aspect ratio */
}

/* Menu Styles */
#menu {
    list-style-type: none; /* Remove bullet points */
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
    display: flex; /* Use flexbox for horizontal layout */
}

#menu li {
    margin-left: 20px; /* Space between menu items */
}

#menu a {
    color: #fff; /* Text color */
    text-decoration: none; /* Remove underline */
    font-size: 20px; /* Font size */
    transition: color 0.3s; /* Transition effect on hover */
    font-weight: bold;
}

#menu a:hover {
    color: #8d8b83; /* Color change on hover */
}


/* Style for the body */
body {
    margin: 0; /* Remove body margin */
    background-image: url('images/background.JPG'); /* Set the background image */
    background-size: cover; /* Cover the entire page */
    background-attachment: fixed; /* Make the background fixed */
    background-position: center; /* Center the background */
}




/* Section Styles */
section {
    padding: 60px 20px; /* Padding for sections */
    background-color: rgba(0, 0, 0, 0.7); /* Dark semi-transparent background */
    color: #fff; /* Text color for better visibility */
    text-align: center; /* Center text */
}

/* Text Wrapper Styles */
.text-wrapper {
    width: 60%; /* Set width to 90% of the page */
    margin: 0 auto; /* Center the text wrapper */
}

/* Section Title Styles */
h2 {
    font-size: 2em; /* Font size for section titles */
    margin-bottom: 20px; /* Space below title */
}

/* Footer Styles */
footer {
    text-align: center; /* Center text */
    padding: 20px; /* Padding for footer */
    background-color: rgba(51, 51, 51, 0.8); /* Semi-transparent background color */
    color: #fff; /* White text */
}


/* Responsive Adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5em; /* Smaller size for mobile */
    }
    header p {
        font-size: 1.5em; /* Smaller size for mobile */
    }
}

#about h3 {
    font-size: 1.8em; /* Font size for subsection titles */
    margin-top: 20px; /* Space above each title */
    color: #8da1af; /* Use Charcoal color for a professional look */
}

#about p {
    margin-top: 10px;
    line-height: 1.6;
}




/* Navigation Menu Styles Enhancements */
nav {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5); /* Add shadow */
}

/* Header Title Adjustments */
h1 {
    transform: translateY(-200px); /* Adjust to bring the title down a bit */
}

/* Section Styles Enhancements */
section {
    transition: background-color 0.3s; /* Transition for background color */
}

/* Footer Styles Enhancements */
footer {
    padding: 30px; /* Increased padding for footer */
}

/* Responsive Adjustments Enhancements */
@media (max-width: 768px) {
    h1 {
        font-size: 2em; /* Adjusted size for mobile */
    }
    header p {
        font-size: 1.2em; /* Adjusted size for mobile */
    }
}

/* Adding transitions for buttons */
.download-button {
    transition: background-color 0.3s, transform 0.3s; /* Add transform transition */
}

.download-button:hover {
    transform: scale(1.05); /* Slightly scale on hover */
}



/* About Section Styles */
.about-container {
    display: flex; /* Use flexbox for layout */
    flex-wrap: wrap; /* Wrap items if needed */
    justify-content: space-between; /* Space out items */
    margin: 0 auto; /* Center the container */
    max-width: 1200px; /* Maximum width */
}

/* Individual About Items */
.about-item {
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent background for each item */
    border-radius: 8px; /* Rounded corners */
    padding: 20px; /* Padding */
    margin: 10px; /* Space between items */
    flex: 1 1 45%; /* Flexible width, minimum of 45% */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Shadow effect */
}

/* Title styles for the About section */
#about h2 {
    text-align: center; /* Center the main title */
    margin-bottom: 40px; /* Space below the title */
}




/* Services Section Styles */
#services {
    background-color: rgba(0, 0, 0, 0.7); /* Match with overall theme */
    padding: 60px 20px; /* Padding for section */
}

/* Service Grid Styles */
.service-grid {
    display: grid; /* Use grid layout */
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
    gap: 20px; /* Space between boxes */
    max-width: 1200px; /* Set a maximum width for the grid */
    margin: 0 auto; /* Center the grid */
}

/* Service Box Styles */
.service-box {
    background-color: #222; /* Dark background for service boxes */
    padding: 20px; /* Padding inside each box */
    border-radius: 10px; /* Rounded corners */
    text-align: center; /* Center text */
    color: #fff; /* White text */
    width: 100%; /* Make the box take full width of its grid column */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); /* Add shadow for depth */
}

.service-box img {
    width: 100%; /* Full width for images */
    height: auto; /* Maintain aspect ratio */
    border-radius: 10px; /* Rounded corners for images */
}

.service-box h3 {
    font-size: 1.5em; /* Font size for service titles */
    margin-top: 15px; /* Space above titles */
    color: #8da1af; /* Highlight color for service titles */
}

.service-box p {
    margin-top: 10px; /* Space above paragraphs */
    line-height: 1.4; /* Line height for readability */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on smaller screens */
    }

    .service-box h3 {
        font-size: 1.3em; /* Smaller title size on mobile */
    }
}

@media (max-width: 480px) {
    .service-grid {
        grid-template-columns: 1fr; /* 1 column on very small screens */
    }

    .service-box h3 {
        font-size: 1.2em; /* Smaller title size on mobile */
    }
}




/* Service box styling for clickable area */
.service-link {
    display: block;
    color: inherit; /* Inherits the color of the parent */
    text-decoration: none; /* Removes underline */
}

.service-box {
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-box:hover {
    transform: scale(1.02); /* Slightly enlarges the box on hover */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Adds shadow on hover */
}




/* Contact Section Styling */
#contact {
    padding: 40px 20px;
    background-color: #333;
    color: #fff;
    text-align: center;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap; /* For responsiveness */
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-column {
    flex: 1;
    min-width: 200px; /* Ensures columns stack at smaller widths */
    padding: 20px;
    text-align: left;
}

.contact-logo {
    max-width: auto;
    height: 120px;
    margin-bottom: 10px;
}

.social-links {
    margin-top: 10px;
}

.social-links a {
    display: block;
    color: #fff;
    margin: 5px 0;
    text-decoration: none;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #ffffff;
}

.contact-column p {
    margin: 10px 0;
}

.contact-info a {
    color: #ffffff;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Responsive Layout */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        align-items: center;
    }
    .contact-column {
        text-align: center;
    }
}


a {
    color: #c5cbec; /* Replace with the color you want */
    text-decoration:none; /* Optional: removes the underline */
}

a:hover {
    color: #8e95b8; /* A slightly darker shade for hover */
}







#partners {
    padding: 40px 20px;
    text-align: center;
}

.partners-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around; /* Spreads logos evenly */
    align-items: center;
    gap: 20px;
}

.partner {
    text-align: center;
}

.partner img {
    width: auto; /* Set width for logos */
    height: 150px;
    margin-bottom: 10px;
}

.partner p {
    font-size: 1em;
    color: #333; /* Adjust color as needed */
}




/* Header Overlay for Background Image */
.header-overlay {
    position: absolute;
    width: 100%;
    height: 100vh; /* Adjust height as needed */
    background-image: url('../images/background.jpg'); /* Background image */
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

/* Company Name Styling */
.header-overlay h1 {
    position: absolute;
    top: 20px;
    font-size: 3em;
    z-index: 1;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.6); /* Background for better readability */
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 4em;
    display: flex;
}


.menu-spacer {
    height: 80px; /* Set to the same height as your menu */
    width: 100%;
}

/* Style for the header */
header {
    position: relative; /* Allows for absolute positioning of slideshow elements */
    height: 100vh; /* Full viewport height */
    overflow: hidden; /* Hide overflow */
    color: #fff; /* White text color for visibility */
}

.slideshow-container {
    position: absolute; /* Position the slideshow absolutely */
    top: 0; /* Align with the top */
    left: 0; /* Align with the left */
    width: 100%; /* Full width */
    height: 100%; /* Full height */
}

.slide {
    display: none; /* Hide all slides initially */
    position: absolute; /* Positioning to stack slides */
    width: 100%; /* Full width */
    height: 100%; /* Full height to cover header */
}

.slide img {
    width: 100%; /* Full width for images */
    height: 100%; /* Full height to cover the header */
    object-fit: cover; /* Maintain aspect ratio while covering */
}

.text {
    position: absolute; /* Position the text absolutely */
    top: 50%; /* Position text at the bottom of the slide */
    left: 50%; /* Center horizontally */
    transform: translateX(-50%); /* Center adjustment */
    color: rgb(255, 255, 255); /* Text color */
    font-size: 6em; /* Font size */
    border-radius: 5px; /* Rounded corners */
    text-align: center; /* Center text */
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
}


#testimonial-section {
    position: relative;
    width: 100%;
    padding: 40px 0;
    background-color: #747373; /* Dark background */
    color: #fff; /* White text */
    text-align: center;
    overflow: hidden;
}

.testimonial-slideshow {
    display: flex;
    animation: slide 30s infinite; /* Adjust timing for slower or faster sliding */
    white-space: wrap;
}

.testimonial-slide {
    min-width: 100%;
    padding: 20px;
    box-sizing: border-box;
    font-size: 1.5em;
    font-style: italic;
    opacity: 0.9; /* Slight transparency */
}

/* Keyframes for sliding effect */
@keyframes slide {
    0%, 20% { transform: translateX(0); }
    25%, 45% { transform: translateX(-100%); }
    50%, 70%{ transform: translateX(-200%); }
    75%, 95% { transform: translateX(0); }
}



/* Benally-Woodruff Specific Header */
.benally-woodruff-header {
    background-image: url('images/benally-woodruff-header.jpg');
    color: #fff;
    height: calc(50vh - 50px); /* Adjust height if needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 300px; /* Adjust this to match your nav bar height */
}
.benally-woodruff-header h1 {
    font-size: 4em;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
    padding: 20px;
    border-radius: 8px;
}



.info-section {
    padding: 50px 20px;
    text-align: center;
}

.info-section h1 {
    font-size: 2em;
    color: #333;
}

.info-section p {
    font-size: 1.2em;
    color: #ffffff;
    max-width: 600px;
    margin: 0 auto;
}

.download-section {
    text-align: center;
    margin-top: 20px;
}

.download-button {
    display: inline-block;
    padding: 12px 20px;
    font-size: 1em;
    color: #fff;
    background-color: #8da1af; /* Theme color */
    border-radius: 5px;
    text-decoration: none;
}

.download-button:hover {
    background-color: #7892a0; /* Darker shade for hover */
}
