/* Global Styles */
:root {
    --primary-color: #3498db; /* Light Blue */
    --secondary-color: #2c3e50; /* Dark Blue/Grey */
    --accent-color: #2ecc71; /* Green for success/highlight */
    --text-color: #333;
    --light-bg: #f8f9fa;
    --dark-overlay-color: rgba(0, 0, 0, 0.6);
    --gradient-start: #3498db;
    --gradient-end: #2980b9;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--secondary-color);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    color: var(--secondary-color);
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.section-title.text-white::after {
    background-color: #fff;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--gradient-end);
    border-color: var(--gradient-end);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.cta-button {
    text-decoration: none;
    white-space: normal;
    word-break: break-word;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cta-button i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(5px);
}

.email-break {
    word-break: break-all;
}

/* Header */
.main-header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1030;
}

.logo-img {
    height: 40px;
    width: auto;
}

.site-title {
    color: var(--secondary-color);
    font-size: 1.8rem;
    white-space: nowrap;
}

.navbar-nav .nav-link {
    color: var(--secondary-color);
    font-weight: 600;
    margin: 0 10px;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

.navbar-toggler {
    border: none;
}

.offcanvas-header {
    background-color: var(--primary-color);
    color: #fff;
}

.offcanvas-title {
    color: #fff;
}

.offcanvas-body .nav-link {
    color: var(--secondary-color);
    padding: 10px 15px;
    display: block;
}

.offcanvas-body .nav-link:hover {
    background-color: var(--light-bg);
}

/* Hero Section */
.hero-section {
    min-height: 80vh;
    background-image: url('pictures/content/plumbing-renovation-hero.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-overlay-color);
    z-index: 0;
}

.hero-section h1 {
    font-size: 4.5rem;
    color: #fff;
}

.hero-section p {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

/* About Section */
.about-section {
    background-color: #fff;
}

.leaflet-map {
    height: 400px;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-story-details {
    background-color: var(--light-bg);
    border: 1px solid #eee;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.map-story-title {
    color: var(--primary-color);
}

/* Services Section */
.services-process {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.service-step {
    flex: 1 1 30%;
    text-align: center;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    margin: 10px;
    min-width: 280px;
}

.service-step .step-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-arrow {
    font-size: 2rem;
    color: var(--primary-color);
    margin: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card {
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.select-service-btn {
    margin-top: 15px;
}

/* Features Section */
.feature-card {
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
}

/* Team Section */
.team-member-card {
    border: 1px solid #e0e0e0;
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.team-avatar {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 4px solid var(--primary-color);
}

.quote-marks {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 5rem;
    font-weight: 900;
    color: transparent;
    background: linear-gradient(45deg, var(--primary-color), var(--gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    opacity: 0.2;
    z-index: 0;
}

.team-member-card p.fst-italic {
    position: relative;
    z-index: 1;
    color: var(--secondary-color);
}

/* Portfolio Section */
.portfolio-section {
    background-color: var(--light-bg);
}

.project-strip {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.project-image-container {
    overflow: hidden;
}

.project-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.project-strip:hover .project-image {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.project-description-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-details li {
    color: var(--secondary-color);
    font-weight: 500;
}

.project-details i {
    color: var(--primary-color);
}

/* Industries Section */
.industries-section {
    background-image: url('pictures/content/industry-section-background.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.industries-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-overlay-color);
    z-index: 0;
}

.industries-section .container {
    position: relative;
    z-index: 1;
}

.industry-card {
    height: 300px;
    background-color: #333;
    color: #fff;
    position: relative;
}

.industry-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.5s ease;
}

.industry-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 62, 80, 0.75); /* Dark blue overlay */
    transition: background-color 0.3s ease;
    z-index: 1;
}

.industry-card:hover .industry-img {
    transform: scale(1.05);
}

.industry-card:hover .industry-overlay {
    background-color: rgba(44, 62, 80, 0.85);
}

/* Stats Section */
.stat-comparison-item {
    border: 1px solid #e0e0e0;
}

/* Testimonials Section */
.testimonial-details {
    background-color: var(--light-bg);
    border: 1px solid #eee;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-title {
    color: var(--primary-color);
}

/* Contact Section */
.contact-section {
    background-image: url('pictures/content/contact-section-background_2.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-overlay-color);
    z-index: 0;
}

.contact-section .container {
    position: relative;
    z-index: 1;
}

.contact-form-container {
    max-width: 700px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: #fff;
}

.form-control-white {
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    padding: 10px 15px;
}

.form-control-white::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-control-white:focus {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: #fff;
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
    color: #fff;
}

.form-control-white:read-only {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.8);
}

.form-check-input:checked {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(46, 204, 113, 0.25);
}

/* Footer */
.footer-section {
    background-color: var(--light-bg);
    color: var(--secondary-color);
}

.footer-section .site-title {
    font-size: 1.5rem;
}

.newsletter-subscription {
    background: linear-gradient(90deg, #e3f2fd, #bbdefb);
    border: 1px solid #cceeff;
}

.newsletter-input {
    max-width: 300px;
    border-color: var(--primary-color);
}

.newsletter-button {
    white-space: nowrap;
}

.footer-links li a {
    transition: color 0.3s ease;
}

.footer-links li a:hover {
    color: var(--primary-color) !important;
}

/* Responsive Typography */
@media (min-width: 1024px) {
    .site-title {
        font-size: 2.2rem;
    }
    .hero-section h1 {
        font-size: 4.5rem;
    }
    .section-title {
        font-size: 2.5rem;
    }
    .h1, .h2, .h3, .h4, .h5, .h6 {
        font-size: 2.5rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .site-title {
        font-size: 2rem;
    }
    .hero-section h1 {
        font-size: 3.8rem;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .h1, .h2, .h3, .h4, .h5, .h6 {
        font-size: 2.2rem;
    }
    .services-process {
        flex-direction: column;
    }
    .service-arrow {
        transform: rotate(90deg);
        margin: 15px 0;
    }
}

@media (max-width: 767px) {
    .site-title {
        font-size: 1.25rem;
    }
    .hero-section h1 {
        font-size: 2.5rem;
    }
    .hero-section p {
        font-size: 1rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .h1, .h2, .h3, .h4, .h5, .h6 {
        font-size: 1.25rem;
    }
    .logo-img {
        height: 30px;
    }
    .services-process {
        flex-direction: column;
    }
    .service-arrow {
        transform: rotate(90deg);
        margin: 15px 0;
    }
    .project-image {
        height: 250px;
    }
    .contact-form-container {
        padding: 20px !important;
    }
    .newsletter-form {
        flex-direction: column;
    }
    .newsletter-input {
        margin-right: 0 !important;
        margin-bottom: 10px;
    }
    .newsletter-button {
        width: 100%;
    }
    .navbar-brand {
        justify-content: center;
    }
}

/* Offcanvas for mobile menu */
@media (max-width: 1199px) {
    .navbar-nav {
    }
    .navbar-toggler {
        display: block;
    }
}

@media (min-width: 1200px) {
    .navbar-nav {
        display: flex !important;
    }
    .navbar-toggler {
        display: none;
    }
    .offcanvas {
        visibility: hidden;
    }
}
/* Parent container general styling */
.rightsCloudWrap {
    margin-top: 2rem; /* Top margin for the entire content block */
    padding-left: 1.5rem; /* Left padding for content within the block */
    padding-right: 1.5rem; /* Right padding for content within the block */
    /* Consider adding max-width and margin: 0 auto for centering on larger screens if needed */
    /* max-width: 1200px; */
    /* margin-left: auto; */
    /* margin-right: auto; */
}

/* Heading 1 styling */
.rightsCloudWrap h1 {
    font-size: 2rem; /* Moderate font size for H1 */
    margin-top: 2rem; /* Top margin for H1 */
    margin-bottom: 1rem; /* Bottom margin for H1 */
    line-height: 1.2; /* Line height for better readability */
    font-weight: 600; /* Slightly bolder than default */
}

/* Heading 2 styling */
.rightsCloudWrap h2 {
    font-size: 1.75rem; /* Moderate font size for H2 */
    margin-top: 1.75rem; /* Top margin for H2 */
    margin-bottom: 0.9rem; /* Bottom margin for H2 */
    line-height: 1.25; /* Line height for better readability */
    font-weight: 600;
}

/* Heading 3 styling */
.rightsCloudWrap h3 {
    font-size: 1.5rem; /* Moderate font size for H3 */
    margin-top: 1.5rem; /* Top margin for H3 */
    margin-bottom: 0.8rem; /* Bottom margin for H3 */
    line-height: 1.3; /* Line height for better readability */
    font-weight: 500;
}

/* Heading 4 styling */
.rightsCloudWrap h4 {
    font-size: 1.25rem; /* Moderate font size for H4 */
    margin-top: 1.25rem; /* Top margin for H4 */
    margin-bottom: 0.7rem; /* Bottom margin for H4 */
    line-height: 1.35; /* Line height for better readability */
    font-weight: 500;
}

/* Heading 5 styling */
.rightsCloudWrap h5 {
    font-size: 1.1rem; /* Moderate font size for H5 */
    margin-top: 1rem; /* Top margin for H5 */
    margin-bottom: 0.6rem; /* Bottom margin for H5 */
    line-height: 1.4; /* Line height for better readability */
    font-weight: 400;
}

/* Paragraph styling */
.rightsCloudWrap p {
    font-size: 1rem; /* Standard paragraph font size */
    margin-top: 0; /* Remove default top margin */
    margin-bottom: 1rem; /* Standard bottom margin for paragraphs */
    line-height: 1.6; /* Line height for improved readability of body text */
}

/* Unordered list styling */
.rightsCloudWrap ul {
    margin-top: 1rem; /* Top margin for the list */
    margin-bottom: 1rem; /* Bottom margin for the list */
    padding-left: 1.5rem; /* Indentation for list items */
    list-style: disc; /* Default disc style for unordered lists */
}

/* List item styling */
.rightsCloudWrap li {
    font-size: 1rem; /* Standard font size for list items */
    margin-bottom: 0.5rem; /* Spacing between individual list items */
    line-height: 1.6; /* Line height for improved readability of list items */
}
