.navbar-menu {
    display: flex;
    justify-content: center; /* Centers the items horizontally */
    align-items: center; /* Centers the items vertically */
    width: 100%; /* Full width */
}

.navbar-start {
    display: flex;
    justify-content: center; /* Centers the items horizontally */
    flex-grow: 1;
}

.navbar-end {
    justify-content: center; /* Centers the items horizontally */
}

.top-header {
    background-color: #20a6ff;
    padding: 10px 0;
    font-size: 21px;
    font-family: 'Roboto', sans-serif;
    color: black;
    width: 100%;
}
  
.top-header .container {
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 15px;
}
  
.top-header a {
    margin-left: 15px;
    color: #000000;
    text-decoration: none;
    font-size: 20px;
}
  
.top-header a:hover {
    text-decoration: underline;
}

.top-button {
    display: flex;
    justify-content: flex-end; /* Aligns to the right */
    padding-right: 50px; /* Reduce excessive padding */
    padding-top: 10px; /* Adds some top spacing */
}

#navbarTop {
    font-size: 20px;
}

.card-box {
    position: fixed; /* Fixed position to keep the form card in place */
    right: 20px; /* Positions it on the right side */
    width: 300px; /* Adjust width */
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
    z-index: 10; /* Ensures the card stays on top of other content */
}

.field {
    margin-bottom: 15px;
}

.input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.button {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.button:hover {
    background-color: #0056b3;
}

.inner-body {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    overflow: hidden;
}

.bg-image {
    position: absolute;
    bottom: 0;
    top: 200px; /* Anchors to the bottom */
    left: calc(min(50%, 1200px) + 60px); /* Centers the image but stops moving after 500px */
    transform: translateX(-50%); /* Corrects centering */
    max-height: 600px;
    max-width: 100%;
    transition: all 0.3s ease-in-out;
    object-fit: cover; /* Keeps the image properly scaled */
}
.inner-part1 {
    position: relative;
    width: 100%;
    height: 800px; /* Ensures full viewport height */
    background-color: whitesmoke;
    background: linear-gradient(151deg, rgb(248, 250, 254) 59%, rgb(48, 142, 230) 43%);
    
    border-radius: 10px;
    
    
}

/* Fix navbar visibility */
.navbar {
    display: flex;
    width: 100%;
}

/* Mobile Responsiveness */
@media screen and (max-width: 1023px) {
    .navbar-burger {
        display: block;
        cursor: pointer;
        height: 3.25rem;
        width: 3.25rem;
        margin-left: auto;
        position: relative;
    }
    
    .navbar-menu {
        background-color: white;
        box-shadow: 0 8px 16px rgba(10, 10, 10, 0.1);
        padding: 0.5rem 0;
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 30;
    }
    
    .navbar-menu.is-active {
        display: block;
    }
    
    .navbar-start {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .navbar-item {
        width: 100%;
        padding: 0.75rem 1.5rem;
    }
    
    .navbar-dropdown {
        position: static;
        box-shadow: none;
        padding-left: 1.5rem;
    }
}

@media screen and (max-width: 768px) {
    .top-header {
        font-size: 14px;
        padding: 8px 0;
    }
    
    .top-header .column {
        padding: 0.25rem;
    }
    
    .top-header p {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .top-header a {
        font-size: 22px;
        margin-left: 8px;
    }
    
    #navbarTop {
        font-size: 16px;
    }
    
    .bg-image {
        max-height: 350px;
    }
    
    .navbar-end .button {
        margin: 0.5rem 1rem;
        width: auto; /* Prevent full width buttons on mobile */
    }
    
    .is-info.is-medium {
        font-size: 0.9rem;
        height: auto;
        padding: 0.5em 1em;
    }
}

.navbar {
    font-size: larger;
    height: 80px;
}

.contact-button {
    margin-left: auto;
}
.is-primary {
    background-color: #007bff;
    color: white;
}

.contactus-link {
    width: 140px;
    height: 50px;
}

.first-content {
    padding-top: 100px;
    max-width: 590px;
    
}

.first-content h1 {
    line-height: 1.3; /* Adds extra space between lines */
}

.first-content p {
    line-height: 1.7; /* Adds extra space between lines */
    font-size: 20px;
    max-width: 400px;
}

.first-content button {
    margin-top: 30px;
    font-size: 19px;
}

.first-content i {
    margin-left: 10px;
    
}

.block-gradient {
    background: linear-gradient(151deg, rgb(248, 250, 254) 59%, rgb(230, 48, 48) 43%);
    padding: 20px;
    border-radius: 10px;
    color: white;
}


.inner-part2 {
    background-color: rgb(242, 242, 242);
    padding-bottom: 20px;
}
.inner-part2 .container {
    padding-left: 80px;

}

.inner-part2 .titles-content {
    max-width: 500px;

}

.separator {
    width: 50px; /* Adjust the width of the line */
    height: 3px; /* Thickness of the line */
    background-color: #1db0f2; /* Blue color */
    margin: 20px 0; /* Space above and below the line */
}

.text-content {

    max-width: 520px;
}

#working-plumber {
    border-radius: 30px;
    height: auto; /* Change from fixed height to auto */
    max-height: 800px; /* Maximum height on larger screens */
    width: 100%; /* Make width responsive */
    object-fit: cover; /* Maintain aspect ratio */
}


#image-column-working {
padding-top: 260px;
left: -60px;
}

.inner-part3 {
    background-color: rgb(209, 237, 250);
    padding-top: 100px;
    padding-bottom: 20px;
}

.inner-part3 .container {
    padding-left: 80px;
    
}

.inner-part3 .titles-content {
    max-width: 700px;

}



 .inner-part4 {
background-color:  #f3f3f3;
 }


 .service-card {
    border: 1px solid #ddd;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #3273dc; /* Bulma primary color */
}

.hero {
    background-color: #f8f8ff; /* Light background */
    padding-top: 100px;
    text-align: center;
}

.hero h1 {
    color: #363636; /* Dark text */
    margin-bottom: 1rem;
}

.hero p {
    color: #4a4a4a; /* Slightly lighter text */
    margin-bottom: 1rem;
}

.hero .button {
    margin-top: 2rem;
}

.info-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.info-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem;
    text-align: center;
    width: 200px; /* Adjust as needed */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.info-card i {
    font-size: 3rem;
    color: #3273dc; /* Bulma primary color */
    margin-bottom: 1rem;
}


.main-content {
    display: flex;
    align-items: stretch;
    min-height: 100vh;
}

.main-content .text-section {
    background-color: #1e90ff; /* Blue background */
    color: white;
    padding: 4rem;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 1.1rem;
}

.image-section {
    width: 50%;
    background-image: url('plumber-working.jpg'); /* Replace with your image path */
    background-size: cover;
    background-position: center;
}

.text-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.feature-item i {
    font-size: 1.5rem; /* Adjust icon size */
    margin-right: 1rem;
    color: white; /* Icon color */
}

.feature-item p {
    line-height: 1.6; /* Adjust line spacing */
}

.card-scroll {
    position: sticky;
    top: 20px; /* Adjust as needed */
}


.service {
    display: flex;
    margin-bottom: 20px;
}
.service-icon {
    width: 30px;
    margin-right: 15px;
}
.service-details {
    flex: 1;
}
.service-details h3 {
    margin-top: 0;
    color: #333;
}
.service-details p {
    line-height: 1.6;
    color: #555;
}

.about-section {
    width: 100%;
    height: 200px; /* Adjust height as needed */
    background: linear-gradient(135deg, #667eea, #764ba2); /* Modern gradient */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 80px; /* Increased padding */
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Modern font */
}

.about-text {
    flex: 1;
    max-width: 50%; /* Adjust max width */
}

.about-text h1 {
    font-size: 3.5em; /* Larger font size */
    margin-bottom: 20px;
    letter-spacing: 1.5px; /* Spacing between letters */
    font-weight: 600; /* Slightly bolder */
}

.breadcrumb ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

.breadcrumb li {
    font-size: 0.9em;
    margin-right: 10px;
}

.breadcrumb li a {
    color: white;
    text-decoration: none;
    opacity: 0.8; /* Slightly transparent */
    transition: opacity 0.3s ease;
}

.breadcrumb li a:hover {
    opacity: 1;
}

.breadcrumb li.is-active a {
    font-weight: 600; /* Bolder for active */
    opacity: 1;
}

.breadcrumb li:not(:last-child)::after {
    content: '>';
    margin-left: 10px;
    opacity: 0.8;
}

.about-image {
    
    text-align: right;
    max-width: 40%; /* Adjust max width */

}

.about-image img {
    
    max-height: 100%;
    border-radius: 10px; /* Rounded corners */
     /* Subtle shadow */
}

.content-area {
    width: 80%;
    max-width: 1200px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    margin: 20px;
}

.image-section {
    flex: 1;
    overflow: hidden;
}

.image-section img {
    width: 100%;
    height: auto;
    display: block;
}

.content-area .text-section {
    flex: 1;
    padding: 40px;
}

.content-area .text-section h2 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 20px;
    position: relative;
}

.content-area .text-section h2::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #d9534f;
}

.text-section p {
    font-size: 1em;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.section-title {
    color: #230051;
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: bold;
}
.red-divider {
    width: 60px;
    height: 4px;
    background-color: #ff3b30;
    margin: 20px 0 30px 0;
}
.intro-text {
    color: #333;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 30px;
}
.services-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.service-item {
    width: 48%;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}
.blue-dot {
    width: 12px;
    height: 12px;
    background-color: #0066cc;
    border-radius: 50%;
    margin-right: 10px;
    flex-shrink: 0;
}
.red-dot {
    width: 12px;
    height: 12px;
    background-color: #ff3b30;
    border-radius: 50%;
    margin-right: 10px;
    flex-shrink: 0;
}
.service-text {
    color: #333;
}
.quote-button {
    display: inline-block;
    background-color: #e63946;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    margin-top: 20px;
    text-transform: uppercase;
}
.quote-button:hover {
    background-color: #c1272d;
}
.arrow-icon {
    margin-left: 8px;
}

@media (max-width: 768px) {
    .service-item {
        width: 100%;
    }
}

.navbar-itemis-active {
    /* Add your highlight styling here *//* Example: light gray background */
    font-weight: bold; /* Example: bold font */
    /* Add other styles as needed */
}

/* Existing styles remain, adding/modifying for better mobile responsiveness */

/* General responsive adjustments */
@media screen and (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    h1.title {
        font-size: 1.5rem !important;
    }
    
    p {
        font-size: 16px !important;
    }
    
    .button {
        font-size: 16px;
        height: auto;
        padding: 8px 16px;
    }
}

/* Form responsiveness */
@media screen and (max-width: 1023px) {
    .form-container {
        position: static !important;
        width: 100% !important;
        right: 0 !important;
        margin-top: 30px;
    }
    
    .box {
        margin: 0 auto;
        max-width: 500px;
    }
}

/* Header responsiveness */
@media screen and (max-width: 768px) {
    .top-header {
        font-size: 14px;
        padding: 8px 0;
    }
    
    .top-header .column {
        text-align: center !important;
    }
    
    .top-header .has-text-right {
        text-align: center !important;
        margin-top: 5px;
    }
    
    .social-icons {
        margin-top: 5px;
    }
}

/* Banner section responsiveness */
@media screen and (max-width: 768px) {
    .inner-part1 {
        height: auto;
        padding-bottom: 40px;
        background: linear-gradient(151deg, rgb(248, 250, 254) 70%, rgb(48, 142, 230) 30%);
    }
    
    .first-content {
        padding-top: 40px;
        max-width: 100%;
    }
    
    .bg-image {
        position: static;
        display: block;
        margin: 30px auto 0;
        transform: none;
        max-height: 300px;
        max-width: 100%;
        left: auto;
        top: auto;
    }
}

/* About section responsiveness */
@media screen and (max-width: 768px) {
    .inner-part2 .container {
        padding-left: 15px;
    }
    
    .inner-part2 .columns {
        flex-direction: column;
    }
    
    .titles-content, .text-content {
        max-width: 100%;
    }
    
    #image-column-working {
        padding-top: 30px;
        left: 0;
    }
    
    #working-plumber {
        height: auto;
        max-height: 400px;
        width: 100%;
        display: block;
        margin: 0 auto;
    }
    
    .inner-part2 .column.is-narrow {
        width: 100%;
        margin-top: 30px;
    }
    
    .inner-part2 .buttons {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
    
    .inner-part2 .button.is-large {
        margin: 10px;
        width: calc(50% - 20px);
    }
}

/* Services section responsiveness */
@media screen and (max-width: 768px) {
    .inner-part3 {
        padding-top: 50px;
    }
    
    .inner-part3 .container {
        padding-left: 15px;
        flex-direction: column;
    }
    
    .inner-part3 .container > div:last-child {
        margin-top: 20px;
        text-align: center;
    }
}

/* Main content section responsiveness */
@media screen and (max-width: 768px) {
    .main-content {
        flex-direction: column;
        min-height: auto;
    }
    
    .main-content .text-section {
        width: 100%;
        padding: 2rem;
    }
    
    .main-content .image-section {
        width: 100%;
        min-height: 300px;
    }
    
    #stand-out-plumber {
        width: 100%;
        height: auto;
    }
}

/* Part 4 section responsiveness */
@media screen and (max-width: 768px) {
    .inner-part4 .hero {
        padding: 50px 1rem;
    }
    
    .info-cards {
        justify-content: center;
    }
    
    .info-card {
        width: calc(50% - 2rem);
        min-width: 140px;
    }
}

/* Service cards responsiveness */
@media screen and (max-width: 768px) {
    .service-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .service-icon {
        font-size: 2.5rem;
    }
}

/* Navbar mobile improvements */
@media screen and (max-width: 1023px) {
    .navbar-menu.is-active {
        position: absolute;
        width: 100%;
        z-index: 30;
    }
    
    .navbar-item {
        padding: 0.75rem 1.5rem;
        text-align: center;
    }
    
    .navbar-item.contactus-link {
        width: auto;
        margin: 10px auto;
    }
}

@media screen and (max-width: 768px) {
    .inner-part1 {
        height: auto;
        padding-bottom: 0; /* Remove bottom padding */
        background: linear-gradient(151deg, rgb(248, 250, 254) 70%, rgb(48, 142, 230) 30%);
        display: flex;
        flex-direction: column;
    }
    
    .form-container {
        position: relative !important;
        width: 100% !important;
        right: 0 !important;
        margin-top: 0; /* Remove top margin */
        order: 3;
        z-index: 1; /* Lower z-index */
    }
    
    .bg-image {
        position: relative;
        display: block;
        margin: 0 auto;
        transform: none;
        max-height: 350px; /* Slightly larger image */
        max-width: 100%;
        left: auto;
        top: auto;
        z-index: 2;
        margin-top: 20px; /* Add some space from content */
        margin-bottom: -50px; /* Increase negative margin to overlap more with the form */
        order: 2;
    }
    
    .first-content {
        padding-top: 40px;
        max-width: 100%;
        order: 1;
        padding-bottom: 0; /* Remove bottom padding */
    }
    
    /* Adjust the form styling for mobile */
    .form-container .box {
        margin-top: 0;
        border-top-left-radius: 30px;
        border-top-right-radius: 30px;
        padding-top: 60px; /* Increase top padding to accommodate the overlapping image */
        position: relative;
        z-index: 1;
    }
    
    /* Add a background color to the section container */
    .form-container .section {
        padding-top: 0;
        background-color: transparent;
    }
}

/* Mobile header display - show only phone number */
@media screen and (max-width: 768px) {
    .top-header .column:first-child p {
        display: none; /* Hide the full header text */
    }
    
    .top-header .column:first-child::before {
        content: "\f095  (123) 456-7890"; /* Phone icon and number */
        font-family: 'Font Awesome 6 Free', sans-serif;
        font-weight: 900; /* Required for solid icons */
        font-size: 16px;
    }
    
    .top-header .social-icons {
        margin-top: 0; /* Adjust spacing */
    }
    
    /* Hide social icons on very small screens */
    @media screen and (max-width: 480px) {
        .top-header .has-text-right {
            display: none;
        }
        
        .top-header .column:first-child {
            width: 100%;
            text-align: center !important;
        }
    }
}

/* First content blue box styling for mobile */
@media screen and (max-width: 768px) {
    .first-content {
        background-color: rgba(173, 216, 230, 0.7); /* Light blue with transparency */
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Slight drop shadow */
        margin: 20px 15px; /* Add some margin around the box */
        max-width: calc(100% - 30px); /* Ensure it doesn't exceed container width */
    }
    
    /* Make text more readable on light blue background */
    .first-content h1, 
    .first-content h5, 
    .first-content p {
        color: #333; /* Darker text for better contrast */
    }
    
    /* Adjust the container to allow proper spacing */
    .inner-part1 .container {
        padding: 0;
    }
}

/* Hamburger menu alignment and styling */
@media screen and (max-width: 1023px) {
    .navbar-burger {
        display: block;
        cursor: pointer;
        height: 3.25rem;
        width: 3.25rem;
        margin-left: auto; /* This ensures it's on the right */
        position: relative;
        background-color: rgba(32, 166, 255, 0.1); /* Light blue background */
        border-radius: 4px; /* Slightly rounded corners */
    }
    
    .navbar-menu {
        background-color: white;
        box-shadow: 0 8px 16px rgba(10, 10, 10, 0.1);
        padding: 0.5rem 0;
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 30;
    }
    
    .navbar-menu.is-active {
        display: block;
    }
}

/* Hide social icons in header on mobile */
@media screen and (max-width: 768px) {
    .top-header .social-icons,
    .top-header .has-text-right a {
        display: none !important; /* Use !important to ensure it overrides any other styles */
    }
    
    .top-header .has-text-right {
        display: none !important; /* Hide the entire right-aligned section */
    }
    
    /* Ensure the phone number is centered */
    .top-header .column:first-child {
        width: 100%;
        text-align: center !important;
        height: 45px;
    }
}

/* Fix for hamburger menu visibility and right alignment */
@media screen and (max-width: 1023px) {
    /* Make sure the navbar structure supports proper alignment */
    .navbar > .container,
    .navbar-brand {
        display: flex;
        width: 100%;
        position: relative;
    }
    
    /* Style and position the burger button */
    .navbar-burger {
        display: block !important; /* Force display */
        cursor: pointer;
        height: 3.25rem;
        width: 3.25rem;
        margin-left: auto;
        margin-right: 15px;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        z-index: 40; /* Ensure it's above other elements */
        background-color: rgba(32, 166, 255, 0.1);
        border-radius: 4px;
    }
    
    /* Ensure the burger spans (lines) are visible */
    .navbar-burger span {
        background-color: #4a4a4a;
        display: block;
        height: 1px;
        left: calc(50% - 8px);
        position: absolute;
        transform-origin: center;
        transition-duration: 86ms;
        transition-property: background-color, opacity, transform;
        transition-timing-function: ease-out;
        width: 16px;
    }
    
    .navbar-burger span:nth-child(1) {
        top: calc(50% - 6px);
    }
    
    .navbar-burger span:nth-child(2) {
        top: calc(50% - 1px);
    }
    
    .navbar-burger span:nth-child(3) {
        top: calc(50% + 4px);
    }
}

@media screen and (max-width: 768px) {
    .bg-image {
        position: relative;
        display: block;
        margin: 0 auto;
        transform: none;
        max-height: 350px;
        max-width: 100%;
        left: auto;
        top: auto;
        z-index: 2;
        margin-top: 20px;
        margin-bottom: -50px;
        order: 2;
        /* Add mask image for fading effect */
        -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
        mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    }
}

.navbar {
    min-height: 80px; /* Adjust this value based on your logo size */
}

.navbar-brand .navbar-item img {
    height: 60px !important;
    max-height: none !important;
}

/* Adjust vertical alignment if needed */
.navbar-brand .navbar-item {
    display: flex;
    align-items: center;
}

.footer-custom {
    background-color: #333333;
    color: white;
    padding: 3rem 1.5rem;
  }
  .company-logo {
    max-width: 250px;
    margin-bottom: 1rem;
  }
  .footer-links a {
    color: white;
    display: block;
    margin-bottom: 0.75rem;
  }
  .footer-links a:hover {
    color: #3e8ed0;
  }
  .social-icons a {
    color: white;
    margin-right: 0.75rem;
    font-size: 1.25rem;
  }
  .social-icons a:hover {
    color: #3e8ed0;
  }