/* General Styles */
body {
    font-family: 'Open Sans', sans-serif;
    color: #333333; /* Standard text color */
    line-height: 1.6;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: #00204A; /* Dark Blue for headings */
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 60px;
    height: 4px;
    background-color: #FFA500; /* Accent orange */
    border-radius: 2px;
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.bg-light-gray {
    background-color: #F8F9FA;
}

/* Navbar */
.navbar {
    background-color: rgba(0, 32, 74, 0.9); /* Dark Blue with transparency */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #FFFFFF !important;
}

.navbar-brand img {
    filter: brightness(0) invert(1); /* Makes logo white */
}

.navbar-nav .nav-link {
    color: #FFFFFF !important;
    font-weight: 600;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #FFA500 !important; /* Accent orange on hover/active */
}

/* Hero Section */
.hero-section {
    background-image: url('pictures/media/engineering-construction-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #FFFFFF;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 32, 74, 0.7); /* Dark blue overlay */
}

.hero-section h1 {
    color: #FFFFFF;
    font-size: 3.5rem;
}

.hero-section p.lead {
    font-size: 1.5rem;
    font-weight: 400;
}

.custom-cta-button {
    background-color: #FFA500; /* Accent orange */
    border-color: #FFA500;
    color: #FFFFFF;
    font-weight: 700;
    padding: 0.8rem 2rem;
    font-size: 1.25rem;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    text-decoration: none; /* Remove underline */
}

.custom-cta-button:hover {
    background-color: #E69500; /* Slightly darker orange on hover */
    border-color: #E69500;
    color: #FFFFFF;
}

/* About Us Section */
#about h2 {
    text-align: left;
}

/* Services Section */
.service-card {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 3.5rem;
    color: #00204A; /* Dark Blue */
}

/* Why Choose Us Section */
.why-list li {
    font-size: 1.1rem;
    color: #4A6C8B; /* Steel Grey */
}

.why-list i {
    color: #28A745; /* Green checkmark */
    font-size: 1.5rem;
}

/* Pricing Section */
.pricing-card {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding-bottom: 2rem; /* Extra padding for button */
}

.pricing-card.popular {
    border-color: #FFA500;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.pricing-card.popular .badge {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.5rem 1rem;
    border-bottom-left-radius: 8px;
    background-color: #FFA500 !important;
}

.pricing-card ul li {
    margin-bottom: 0.75rem;
    color: #4A6C8B;
}

.pricing-card ul li i {
    color: #28A745;
}

.pricing-card .price-display {
    color: #00204A;
}

.pricing-card .price-display .h6 {
    color: #4A6C8B;
}

.custom-button-no-underline {
    text-decoration: none !important; /* Ensure no underline on buttons */
}

/* Testimonials Section */
.testimonial-item {
    background-color: #FFFFFF;
    border-left: 5px solid #FFA500; /* Accent line */
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.testimonial-item .lead {
    font-style: italic;
    color: #4A6C8B;
}

.blockquote-footer {
    margin-top: 10px;
    padding: 10px;
    color: #c4c8cc;
}

/* FAQ Section */
.accordion-button {
    font-weight: 600;
    color: #00204A;
}

.accordion-button:not(.collapsed) {
    color: #00204A;
    background-color: #E9F0F8; /* Light blue background for active */
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-item {
    border: 1px solid #e0e0e0;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-body {
    color: #4A6C8B;
}

/* Contact Us Section */
.contact-info {
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.contact-info i {
    font-size: 1.5rem;
    color: #00204A;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.map-container iframe {
    border-radius: 8px;
}

/* Footer */
footer {
    background-color: #00204A !important; /* Dark Blue */
    color: #FFFFFF;
}

footer .navbar-brand img {
    filter: brightness(0) invert(1); /* Makes logo white */
}

footer a {
    color: #FFFFFF;
}

footer a:hover {
    color: #FFA500; /* Accent orange on hover */
}

/* Modals */
.modal-content {
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.modal-header {
    background-color: #00204A;
    color: #FFFFFF;
    border-bottom: none;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.modal-header .btn-close {
    filter: invert(1);
}

.modal-title {
    color: #FFFFFF;
}

.modal-body label {
    font-weight: 600;
    color: #00204A;
}

.modal-body .btn-primary {
    background-color: #FFA500;
    border-color: #FFA500;
}

.modal-body .btn-primary:hover {
    background-color: #E69500;
    border-color: #E69500;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: rgba(0, 32, 74, 0.95);
        padding: 1rem;
        margin-top: 0.5rem;
        border-radius: 5px;
    }
    .navbar-nav .nav-link {
        padding-left: 0.5rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .hero-section h1 {
        font-size: 2.5rem;
    }
    .hero-section p.lead {
        font-size: 1.2rem;
    }
    .section-title::after {
        left: 0;
        transform: translateX(0);
    }
    .text-center .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    #about h2 {
        text-align: center;
    }
    footer .text-md-start, footer .text-md-end {
        text-align: center !important;
    }
    footer .list-unstyled {
        justify-content: center !important;
    }
    footer .ms-3 {
        margin-left: 1rem !important;
        margin-right: 1rem !important;
    }
}
/* Styles for the main content grid wrapper */
.consentTunnelGrid {
    padding: 2rem 1.5rem; /* Padding for top/bottom and left/right */
    margin: 2rem auto; /* Center the grid horizontally with top/bottom margin */
    max-width: 960px; /* Maximum width for content readability */
    box-sizing: border-box; /* Include padding in element's total width and height */
}

/* Heading styles within the consentTunnelGrid */
.consentTunnelGrid h1 {
    font-size: 2em; /* Relatively small for h1 within a content grid */
    margin-top: 1.5em;
    margin-bottom: 0.75em;
    line-height: 1.2;
    color: #00204A; /* Dark Blue from previous styles */
}

.consentTunnelGrid h2 {
    font-size: 1.75em;
    margin-top: 1.4em;
    margin-bottom: 0.7em;
    line-height: 1.3;
    color: #00204A;
}

.consentTunnelGrid h3 {
    font-size: 1.5em;
    margin-top: 1.3em;
    margin-bottom: 0.6em;
    line-height: 1.4;
    color: #00204A;
}

.consentTunnelGrid h4 {
    font-size: 1.25em;
    margin-top: 1.2em;
    margin-bottom: 0.5em;
    line-height: 1.5;
    color: #00204A;
}

.consentTunnelGrid h5 {
    font-size: 1.1em;
    margin-top: 1.1em;
    margin-bottom: 0.4em;
    line-height: 1.6;
    color: #00204A;
}

/* Paragraph styles within the consentTunnelGrid */
.consentTunnelGrid p {
    font-size: 1em; /* Standard paragraph font size */
    margin-bottom: 1em; /* Space below paragraphs */
    line-height: 1.6; /* Good readability for body text */
    color: #333333; /* Standard text color from previous styles */
}

/* Unordered list styles within the consentTunnelGrid */
.consentTunnelGrid ul {
    margin-top: 1em;
    margin-bottom: 1em;
    padding-left: 25px; /* Indent for list items */
    list-style-type: disc; /* Default bullet style */
    color: #333333;
}

/* List item styles within the consentTunnelGrid */
.consentTunnelGrid li {
    font-size: 1em; /* Standard list item font size */
    margin-bottom: 0.5em; /* Space between list items */
    line-height: 1.6; /* Good readability for list text */
    color: #333333;
}


.small {
    font-size: 12px;
}