.service-page-hero {
    --title-color: #ffffff;
    --title-accent: #ffd000;
    position: relative;
    display: flex;
    min-height: 590px;
    overflow: hidden;
    color: #ffffff;
    background: #061747;
}

.service-page-hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 58%;
}

.service-page-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 18, 55, 0.94) 0%, rgba(3, 26, 72, 0.82) 50%, rgba(2, 20, 57, 0.58) 100%),
        linear-gradient(180deg, rgba(2, 18, 52, 0.16), rgba(2, 18, 52, 0.42));
}

.service-page-hero .container {
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 34px;
    color: #ffffff;
    font-size: 12px;
    line-height: 1.4;
}

.page-breadcrumb a {
    color: #ffd000;
    text-decoration: none;
}

.page-breadcrumb a:hover {
    color: #ffffff;
}

.service-hero-content {
    max-width: 720px;
    padding: 36px 0 74px;
}

.service-hero-content p {
    max-width: 690px;
    margin: 0 0 20px;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.7;
}

.service-hero-content p:last-of-type {
    margin-bottom: 28px;
}

.service-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.service-primary-button,
.service-secondary-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 18px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.service-primary-button {
    color: #ffffff;
    background: #ed242b;
}

.service-secondary-button {
    color: #061747;
    background: #ffd000;
}

.service-primary-button:hover,
.service-secondary-button:hover {
    transform: translateY(-2px);
}

.service-primary-button:hover {
    color: #ffffff;
    background: #d91d24;
}

.service-secondary-button:hover {
    color: #061747;
    background: #ffdc35;
}

@media (max-width: 991px) {
    
    .modern-homes-row{    --bs-gutter-x: 0;  }
    .service-hero-content img {
    width: 100%;
}
    
    .service-page-hero {
        min-height: 560px;
    }

    .service-page-hero > img {
        object-position: 62% center;
    }

    .service-page-hero-overlay {
        background: rgba(2, 20, 60, 0.82);
    }

    .service-hero-content {
        padding-top: 32px;
    }
}

@media (max-width: 767px) {
    .service-page-hero {
        min-height: auto;
    }

    .page-breadcrumb {
        padding-top: 24px;
        font-size: 11px;
    }

    .service-hero-content {
        padding: 28px 0 50px;
    }

    .service-hero-content p {
        font-size: 15px;
        line-height: 1.65;
    }

    .service-hero-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

.trusted-home-electrician {
    --title-color: #ffffff;
    --title-accent: #ffffff;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    background:
        linear-gradient(180deg, rgba(4, 18, 70, 0.98), rgba(2, 57, 130, 0.96)),
        url('../img/bg/2.webp') center / cover no-repeat;
}

.trusted-home-heading {
    position: relative;
    z-index: 1;
    max-width: 950px;
    margin: 0 auto 26px;
}

.trusted-home-content {
    position: relative;
    z-index: 1;
    max-width: 1320px;
    margin: 0 auto;
}

.trusted-home-content p {
    margin: 0 0 28px;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.75;
}

.trusted-home-content p:last-child {
    margin-bottom: 0;
}

.trusted-home-content a {
    color: #ffffff;
    text-decoration-color: rgba(255, 255, 255, 0.7);
    text-underline-offset: 3px;
}

.trusted-home-content a:hover {
    color: #ffd000;
}

@media (max-width: 991px) {
    .trusted-home-electrician {
        padding: 65px 0;
    }

    .trusted-home-heading {
        margin-bottom: 22px;
    }
}

@media (max-width: 767px) {
    .trusted-home-electrician {
        padding: 50px 0;
    }

    .trusted-home-content p {
        margin-bottom: 22px;
    }
}

@media (max-width: 420px) {
    .service-hero-actions {
        grid-template-columns: 1fr;
    }
}

.modern-homes-section {
    padding: 80px 0;
    background: #ffffff;
}

.modern-homes-intro {
    max-width: 1370px;
    margin: 0 auto 58px;
}

.modern-homes-intro p,
.modern-homes-closing {
    margin: 0;
    color: #111111;
    font-size: 15px;
    line-height: 1.65;
}

.modern-homes-row {
    --bs-gutter-x: 70px;
}

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

.modern-services-heading {
    position: relative;
    margin-bottom: 30px;
    padding: 18px 20px;
    border-left: 4px solid #ffd000;
    background: #f7f9ff;
}

.modern-services-heading .title {
    margin-bottom: 0;
    font-size: 18px;
}

.modern-homes-services ul {
    display: grid;
    gap: 15px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.modern-homes-services li {
    position: relative;
    min-height: 31px;
    padding-left: 46px;
    color: #111111;
    font-size: 15px;
    line-height: 1.55;
}

.modern-homes-services li::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 31px;
    height: 31px;
    background: url('../img/thunderbolts-icon.webp') center / contain no-repeat;
    content: '';
}

.modern-homes-closing {
    max-width: 1400px;
    margin: 56px auto 0;
}

@media (max-width: 991px) {
    .modern-homes-section {
        padding: 65px 0;
    }

    .modern-homes-intro {
        margin-bottom: 40px;
    }

    .modern-homes-image {
        max-width: 620px;
        margin: 0 auto 42px;
    }
}

@media (max-width: 767px) {
    .modern-homes-section {
        padding: 50px 0;
    }

    .modern-homes-services ul {
        gap: 13px;
    }

    .modern-services-heading {
        padding: 15px;
    }

    .modern-homes-services li {
        padding-left: 40px;
    }

    .modern-homes-services li::before {
        width: 27px;
        height: 27px;
    }

    .modern-homes-closing {
        margin-top: 38px;
    }
}

.process-card {
    min-height: 190px;
    background: #0753a6;
}
@media (max-width: 575px) {
    .process-card {
        min-height: auto;
    }
}

.led-services-section {
    background-color: #ffffff;
}

.led-services-heading {
    color: #001b55;
    font-size: 20px;
    font-weight: 700;
}

.led-service-card {
    min-height: 215px;
    background: linear-gradient(180deg, #075ab5 0%, #14246f 100%);
    border-radius: 6px;
}

.led-service-card img {
    height: 125px;
    object-fit: cover;
    border-radius: 4px;
}

.led-service-card h3 {
    color: #ffd900;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
}

.led-services-description {
    max-width: 900px;
    color: #111111;
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 991.98px) {
    .led-service-card {
        min-height: 225px;
    }

    .led-service-card img {
        height: 145px;
    }
}

@media (max-width: 575.98px) {
    .led-services-heading {
        font-size: 18px;
    }

    .led-service-card {
        min-height: auto;
    }

    .led-service-card img {
        height: 210px;
    }

    .led-service-card h3 {
        font-size: 16px;
    }

    .led-services-description {
        font-size: 13px;
    }
}


 .blog-detail-wrapper {
    max-width: 1050px;
}

.blog-main-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    line-height: 1.2;
}

.blog-featured-image {
    max-height: 570px;
    object-fit: cover;
}

.blog-content {
    color: #161616;
    font-size: 1rem;
    line-height: 1.8;
}

.blog-content h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.25;
    color: rgb(13 110 253)!important
}

.blog-content h3 {
    font-size: 1.35rem;
    line-height: 1.3;
    color: rgb(13 110 253)!important
}

@media (max-width: 767.98px) {
    .blog-featured-image {
        min-height: 220px;
        max-height: 350px;
    }

    .blog-content {
        font-size: 0.95rem;
        line-height: 1.7;
    }
}

    .blog-section {
    background-color: #ffffff;
}

.blog-card {
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12) !important;
}

.blog-card .card-img-top {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.blog-card .card-title {
    color: #08235c;
    line-height: 1.3;
}

.blog-card .blog-description {
    color: #555555;
    line-height: 1.7;
}

.blog-card .btn-link {
    text-decoration: none;
}

.blog-card .btn-link:hover {
    color: #ff3366 !important;
}

@media (max-width: 991.98px) {
    .blog-card .card-img-top {
        height: 220px;
    }
}

@media (max-width: 575.98px) {
    .blog-section {
        padding-left: 8px;
        padding-right: 8px;
    }

    .blog-card .card-img-top {
        height: 210px;
    }

    .blog-card .card-body {
        padding: 18px !important;
    }
}

.blog-card .card-img-top {
    object-fit: fill;
}

table {
    width: 100%;
    margin: 25px 0;
    border-collapse: collapse;
    background-color: #ffffff;
    color: #1b1b1b;
    border: 1px solid #dce2eb;
}

thead {
    background-color: #06245c;
    color: #ffffff;
}

th,
td {
    padding: 15px 18px;
    text-align: left;
    border: 1px solid #dce2eb;
}

th {
    font-size: 16px;
    font-weight: 600;
}

tbody tr:nth-child(even) {
    background-color: #f6f8fb;
}

tbody tr:hover {
    background-color: #fff1f3;
}

td:last-child {
    color: #06245c;
    font-weight: 600;
    white-space: nowrap;
}

@media (max-width: 767px) {
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    th,
    td {
        padding: 12px 14px;
        font-size: 14px;
    }
}