/* General Page Styling */
body {
    font-family: 'Open Sans', sans-serif;
    background-color: #111; /* Background color consistent across all devices */
    color: #001f3f; /* Dark Navy Blue for main text */
    margin: 0;
    padding: 0;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Consistent Logo Size Styling for All Pages */
.navbar-brand img {
    width: auto;
    max-width: 150px; /* Reduced max-width for a smaller, more proportionate logo */
    height: auto;
    object-fit: contain; /* Prevents distortion */
}

/* Video Background */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: -2;
    overflow: hidden;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay to add depth */
    z-index: -1;
}

/* Section Overlay for Each Content Block with a Second Gray Layer */
.content-section {
    position: relative;
    padding: 60px 50px;
    background: rgba(7, 38, 44, 0.8); /* Added transparency for better integration with the background */
    z-index: 2;
    margin-bottom: 40px;
    border: 2px solid #FFFFFF; /* White border for enhanced contrast */
}

.content-section .secondary-background {
    position: relative;
    padding: 30px;
    background: #BDC6D4; /* Soft gray color */
    margin: 20px auto;
    border-radius: 10px;
    z-index: 3;
}

/* Text Color Change */
.content-section .secondary-background,
.content-section p,
.content-section h2,
.content-section h3 {
    color: #001f3f; /* Dark navy blue for better readability */
}

/* Empty Content Blocks for Section Separation */
.empty-block {
    height: 40px; /* Space between sections */
    background: transparent; /* No background */
}

/* Navbar Styling */
.navbar {
    background-color: #FFFFFF; /* White background for the navbar */
    border-bottom: 1px solid #444;
    z-index: 10;
    padding: 10px 0; /* Reduced padding for a sleeker navbar */
}

.navbar-dark .navbar-nav .nav-link {
    color: #001f3f; /* Dark Navy Blue text */
    font-size: 1.1em;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #00ffff;
    text-decoration: underline;
}

/* Hero Section */
h1 {
    font-size: 2.4em; /* Adjusted size */
    font-weight: bold;
    text-transform: capitalize;
    color: #FFFFFF;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

.subtitle {
    font-size: 1.6em;
    margin-top: 10px;
    color: #BDC6D4; /* Light gray for contrast */
}

/* Section Headings (h2, h3) Color Fix */
h2, h3 {
    color: #001f3f; /* Dark navy blue for readability */
    font-size: 1.75em;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2); /* Reduced shadow for subtle effect */
}

/* Typography and Readability Enhancements */
p {
    color: #001f3f;
    font-size: 1.3em;
    line-height: 1.8;
}

/* CTA Button Styling */
.cta-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #001f3f; /* Dark navy blue for consistency */
    color: #FFFFFF; /* White text for contrast */
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #008080;
    color: #FFFFFF;
}

/* Carousel Section Improvements */
.carousel-image {
    width: 200px; /* Adjust this value to control the width */
    height: auto; /* Keeps the aspect ratio */
    margin: 0 auto; /* Centers the image */
}

.carousel-item {
    display: flex;
    justify-content: center; /* Centers the content horizontally */
    align-items: center; /* Centers the content vertically */
}
.carousel-item {
    display: none; /* Ensure only the active item is displayed */
    position: relative;
    transition: transform 0.6s ease; /* Smooth transition for slides */
}

.carousel-item.active {
    display: block; /* Active item should be displayed */
}

.carousel-inner {
    max-width: 85%;
    margin: 0 auto;
    padding: 10px 0; /* Added padding to make the section more balanced */
    position: relative;
}

/* Carousel Controls for Better Mobile Experience */
.carousel-control-prev, 
.carousel-control-next {
    width: 8%; /* Increase width for better visibility */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 100%; /* Ensure icons are clearly visible */
}

/* Mobile Specific Carousel Adjustments */
@media (max-width: 768px) {
    .carousel-item {
        padding: 15px 5px; /* Reduce padding slightly for smaller screens */
    }

    .carousel-item h3 {
        font-size: 1.3em; /* Slightly smaller heading size for mobile */
    }

    .carousel-item p {
        font-size: 1em; /* Reduce paragraph size for better readability */
        line-height: 1.4;
        max-height: 2.5em; /* Limit text to 1-2 lines */
        overflow: hidden; /* Hide overflowing text */
        text-overflow: ellipsis; /* Add ellipsis for overflowing text */
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 12%; /* Make controls larger for easier tapping */
    }

    .carousel-inner {
        max-width: 95%; /* Expand width to use more of the screen for better viewability */
    }
}

/* Contact Section Enhancements */
.contact-section {
    background: linear-gradient(135deg, #00ffff 0%, #008080 100%);
    padding: 50px;
    text-align: center;
    border-radius: 10px;
}

.contact-section h3 {
    color: #FFFFFF;
}

.contact-section a {
    background-color: #111;
    color: #FFFFFF;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

.contact-section a:hover {
    background-color: #008080;
}

/* Footer Styling */
footer {
    background-color: #FFFFFF; /* White background to match navbar */
    color: #001f3f;
    padding: 10px 0; /* Reduced padding to match navbar height */
    text-align: center;
    width: 100%;
    margin-top: auto;
}

footer h5 {
    font-size: 1.5em;
    color: #001f3f;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin: 5px 0;
}

footer ul li a {
    color: #001f3f;
    text-decoration: none;
}

footer ul li a:hover {
    text-decoration: underline;
}

/* Full text visible only on larger screens */
.full-text {
    display: block;
}

/* Short text visible only on mobile screens */
.short-text {
    display: none;
}

@media (max-width: 768px) {
    .desktop-text {
        display: none;
    }
    .mobile-text {
        display: block;
    }
}

@media (min-width: 769px) {
    .desktop-text {
        display: block;
    }
    .mobile-text {
        display: none;
    }
}

@media (max-width: 768px) {
    .full-text {
        display: none;
    }

    .short-text {
        display: block;
    }
}

/* Mobile Specific Adjustments */
@media (max-width: 768px) {
    .navbar-brand img {
        max-width: 120px; /* Further reduce logo size for mobile */
    }

    .navbar-dark .navbar-nav .nav-link {
        font-size: 1em; /* Reduce nav link size for smaller screens */
    }

    h1 {
        font-size: 2em; /* Reduce hero title size for mobile */
    }

    h2, h3 {
        font-size: 1.6em; /* Reduce heading sizes for better fit on mobile */
    }

    .subtitle {
        font-size: 1.4em; /* Reduce subtitle size for better scaling */
    }

    .content-section {
        padding: 30px 15px; /* Reduce padding for smaller devices */
    }

    p {
        font-size: 1.2em; /* Slightly smaller text for readability */
    }

    .cta-button {
        padding: 8px 16px; /* Adjust button padding for mobile */
    }

    footer {
        text-align: center; /* Center-align footer content for mobile */
    }

    .footer-icon {
        filter: brightness(0) invert(1); /* Increase contrast for better visibility */
    }
}
/* Tab Styling */
.nav-tabs {
    border-bottom: 2px solid #001f3f;
    justify-content: center;
}

.nav-tabs .nav-item.show .nav-link, 
.nav-tabs .nav-link.active {
    background-color: #008080; /* Active tab background */
    color: #fff; /* Active tab text */
    border-color: #008080 #008080 #fff; /* Borders to create a neat look */
    font-weight: bold;
}

.nav-tabs .nav-link {
    background-color: #BDC6D4; /* Add background color to inactive tabs */
    color: #001f3f; /* Dark navy color for the text */
    border: 1px solid transparent;
    border-radius: 5px;
    font-size: 1.4em;
    margin: 0 10px; /* Space between tabs */
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
    background-color: #00ffff; /* Hover background color */
    color: #fff; /* Hover text color */
}

/* Tab Content Area Styling */
.tab-content {
    padding: 60px 50px; /* Match the padding from content-section */
    background: rgba(7, 38, 44, 0.8); /* Apply the same background transparency */
    z-index: 2;
    margin-bottom: 40px;
    border: 2px solid #FFFFFF; /* White border for contrast */
    border-radius: 10px; /* Add rounded corners for consistency */
}

/* Add Secondary Background to Tab Content (like other sections) */
.tab-content .secondary-background {
    padding: 30px;
    background: #BDC6D4; /* Soft gray background */
    margin: 20px auto;
    border-radius: 10px;
    color: #001f3f; /* Navy blue text for readability */
    z-index: 3;
}

/* Text Styling inside Tab Content */
.tab-content h3, .tab-content p {
    color: #001f3f; /* Navy blue text to match overall site */
    font-size: 1.6em;
    line-height: 1.8;
}

/* Responsive Adjustments for Tab Content */
@media (max-width: 768px) {
    .tab-content {
        padding: 30px 15px; /* Reduce padding for mobile */
    }

    .tab-content h3 {
        font-size: 1.6em; /* Adjust heading size for mobile */
    }

    .tab-content p {
        font-size: 1.4em; /* Adjust text size for mobile */
    }
}

/* Accordion Styling */
/* Accordion Header Styling */
.accordion-button {
    background-color: #001f3f; /* Dark Navy Blue Background */
    color: #ffffff; /* White Text */
    border-radius: 5px;
    padding: 15px;
    font-size: 1.2em;
    transition: background-color 0.3s ease;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1); /* Subtle Shadow */
}

.accordion-button:not(.collapsed) {
    background-color: #008080; /* Teal when opened */
    color: #ffffff;
}

.accordion-button:focus {
    box-shadow: none; /* Remove default focus outline */
}

/* Accordion Header Icon for Open/Close */
.accordion-button::after {
    content: '\f078'; /* FontAwesome down arrow */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 10px; /* Space between text and icon */
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

.accordion-button.collapsed::after {
    transform: rotate(180deg); /* Rotate icon when collapsed */
}

/* Accordion Body Styling */
.accordion-body {
    background-color: #f8f9fa; /* Light gray background */
    color: #001f3f; /* Dark navy text for consistency */
    border-radius: 5px;
    padding: 20px;
    font-size: 1.1em;
    line-height: 1.8; /* Improved readability */
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for better contrast */
    transition: all 0.3s ease;
}

/* Smooth Transition for the Collapse */
.accordion-collapse {
    transition: max-height 0.3s ease;
}

/* Accordion Header Hover Effect */
.accordion-button:hover {
    background-color: #00ffff; /* Light cyan hover effect */
    color: #001f3f; /* Dark navy text on hover */
}
/* Adjust the footer for mobile devices */
@media (max-width: 768px) {
    footer {
        padding: 2px 0; /* Reduce padding even more */
        font-size: 0.75em; /* Further reduce font size */
    }

    footer h5 {
        font-size: 1.7em; /* Reduce heading size */
        margin-bottom: 3px; /* Shrink space below headings */
    }

    footer p, footer ul {
        margin-bottom: 3px; /* Reduce space below paragraphs and list */
        line-height: 1.1; /* Tighten the line height */
    }

    footer ul li {
        margin: 2px 0; /* Further reduce space between list items */
        line-height: 1.1; /* Tighten line spacing */
    }

    .footer-icon {
        width: 20px; /* Reduce icon size */
        height: auto;
        margin: 0 auto 3px; /* Center and reduce margin */
    }

    .col-md-4 {
        margin-bottom: 3px; /* Shrink space between footer columns */
    }
}
/* Make tabs more responsive for mobile screens */
@media (max-width: 768px) {
    .nav-tabs {
        flex-direction: column;  /* Stack the tabs vertically on smaller screens */
        align-items: center;     /* Center-align the tabs */
    }

    .nav-tabs .nav-link {
        margin-bottom: 10px;     /* Add spacing between the tabs */
        width: 100%;             /* Ensure each tab takes up the full width */
        text-align: center;      /* Center the text in each tab */
        font-size: 1.1em;        /* Adjust font size for readability */
    }

    .nav-tabs .nav-item {
        width: 100%;             /* Ensure the tab item stretches across the container */
    }
}

/* Ensure proper padding and alignment for the tab content on mobile */
@media (max-width: 768px) {
    .tab-content {
        padding: 20px 10px;       /* Add padding inside the tab content */
    }
}
/* Mobile View Adjustments */
@media only screen and (max-width: 768px) {
    /* Reduce padding in service tabs for mobile */
    .nav-tabs .nav-link {
        padding: 10px 12px; /* Reduce vertical and horizontal padding */
        font-size: 1.1em;  /* Slightly smaller font size for the tabs */
}
/* Adjust service section headers */
    .tab-pane h3 {
        font-size: 1.5em; /* Smaller header size for mobile */
        margin-bottom: 10px; /* Reduce spacing below header */
    }/* Ensure consistent button sizing */
    .cta-button, .btn, .nav-link {
        font-size: 1.1em; /* Slightly adjust to consistent size */
    }/* Compact the content spacing */
    .secondary-background {
        padding: 15px 10px; /* Compact the content background padding */
    }}
   /* Workable Embed Styling */
/* Remove bullet points for Workable job listings */
#whr_embed_hook ul {
    padding: 0;
    list-style: none; /* This will remove the bullets */
}

#whr_embed_hook li {
    margin-bottom: 15px;
    font-size: 1.1em; /* Adjusted font size for job titles */
    line-height: 1.5;
}

#whr_embed_hook h3 {
    font-size: 1.5em; /* Adjusted font size for section headings */
    font-weight: bold;
}

#whr_embed_hook a {
    color: #001f3f; /* Make job titles match the rest of the text color */
    font-weight: bold;
    text-decoration: none;
}

#whr_embed_hook a:hover {
    text-decoration: underline;
}

#whr_embed_hook p {
    color: #333;
    font-size: 1em;
    margin: 0;
}

/* Adjust font size for smaller screens */
@media (max-width: 768px) {
    #whr_embed_hook {
        padding: 10px;
        font-size: 1em;
    }
}
/* Hide job codes and creation dates */
#whr_embed_hook .whr_code,
#whr_embed_hook .whr_creation_date {
    display: none!important; /* Completely hide job code and creation date */
}


/* Adjust state titles (like "Indiana", "Virginia") */
#whr_embed_hook .whr_location {
    font-size: 1.0em;
    font-weight: bold;
    margin-bottom: 15px;
    color: #001f3f;
}

/* Job title styling */
#whr_embed_hook li a {
    font-size: .9em; /* Slightly smaller for better proportion */
    color: #001f3f; /* Match the color with other content */
    text-decoration: none;
    font-weight: bold;
}

/* Adjust for smaller screens (Mobile responsiveness) */
@media (max-width: 768px) {
    #whr_embed_hook li {
        flex: 0 0 100%; /* Stack items vertically on mobile */
    }
}
/* Hide mobile text on larger screens */
.mobile-text {
    display: none;
}

/* Show mobile-specific text on screens smaller than 768px */
@media (max-width: 768px) {
    .desktop-text {
        display: none;
    }
    .mobile-text {
        display: block;
    }
}
/* Adjust Tab Styling for Single Row */
.nav-tabs .nav-item {
    flex: 1 1 auto; /* Ensure tabs can shrink to fit */
}

.nav-tabs .nav-link {
    padding: 8px 15px; /* Reduce padding for smaller tabs */
    font-size: 1em; /* Slightly smaller font size */
    width: auto; /* Allow width to adjust */
    text-align: center;
    margin: 2px; /* Slight margin between tabs */
    border-radius: 5px; /* Maintain rounded corners */
}

@media (max-width: 992px) {
    .nav-tabs .nav-link {
        padding: 6px 10px; /* Further reduce padding on smaller screens */
        font-size: 0.9em; /* Smaller font on mobile devices */
    }
}
nav {
    position: sticky;
    top: 0;
    background-color: white; /* Optional: Customize as per your design */
    z-index: 1000; /* Ensure it stays on top */
}
html {
    scroll-behavior: smooth;
}

