/* Shared service page styles */
html.preload .component-loading-screen {
    opacity: 1;
    visibility: visible;
}

html:not(.preload) .component-loading-screen {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.component-loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.component-loading-screen .background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.component-loading-screen .background .top,
.component-loading-screen .background .bottom {
    position: absolute;
    left: 0;
    width: 100%;
    height: 50%;
    background: #fff;
}

.component-loading-screen .background .bottom {
    bottom: 0;
}

.component-loading-screen .inner {
    position: relative;
    z-index: 2;
}

html,
body {
    opacity: 1 !important;
    visibility: visible !important;
}

body.service-page {
    font-size: 18px !important;
    background-color: #fff;
    overflow-x: hidden;
}

body.service-page main#content {
    opacity: 1 !important;
    visibility: visible !important;
    position: relative;
    z-index: 1;
}

body.service-page #page-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

body.service-page .hero-section {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    margin-top: 0;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

body.service-page .hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
}

body.service-page .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 20px;
}

body.service-page .hero-content h1 {
    font-size: 4.2rem !important;
    margin-bottom: 1.5rem;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
}

body.service-page .hero-content .subtitle {
    font-size: 1.5rem !important;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.95;
    font-weight: 300;
}

body.service-page .service-content {
    padding: 15px 15px;
}

body.service-page .service-content .container-fluid {
    max-width: 100%;
    padding: 0 60px;
}

body.service-page .service-section {
    margin-bottom: 0px;
}

body.service-page .service-section h2 {
    font-size: 3.5rem !important;
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 1px;
    line-height: 1.3;
}

body.service-page .service-section h3 {
    font-size: 2.4rem !important;
    margin-bottom: 30px;
    margin-top: 50px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

body.service-page .service-section p {
    font-size: 1.35rem !important;
    line-height: 2 !important;
    margin-bottom: 25px;
    color: #444;
}

body.service-page .service-section strong {
    font-weight: 500;
    color: #1b1b1e;
}

body.service-page .service-section ul {
    margin-left: 0;
    margin-bottom: 30px;
    padding-left: 25px;
}

body.service-page .service-section li {
    font-size: 1.35rem !important;
    line-height: 2 !important;
    margin-bottom: 15px;
    color: #444;
}

body.service-page .image-gallery {
    margin: 80px 0;
}

body.service-page .image-gallery .row {
    margin-bottom: 30px;
}

body.service-page .image-gallery img {
    width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.service-page .image-gallery img:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

body.service-page .highlight-section {
    background-color: #2a2a2a;
    color: #fff;
    padding: 15px 15px;
    margin: 0;
}

body.service-page .highlight-section .container-fluid {
    max-width: 100%;
    padding: 0 60px;
}

body.service-page .highlight-section h3 {
    color: #fff !important;
    font-size: 2.6rem !important;
}

body.service-page .highlight-section ul,
body.service-page .highlight-section ol {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

body.service-page .highlight-section li {
    padding: 20px 0;
    font-size: 1.4rem !important;
    line-height: 2 !important;
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.service-page .highlight-section li:last-child {
    border-bottom: none;
}

body.service-page .highlight-section strong {
    color: #fff;
}

body.service-page .highlight-section p {
    color: rgba(255, 255, 255, 0.9);
}

body.service-page .highlight-process {
    background-color: rgba(42, 42, 42, 0.85);
    border-radius: 12px;
    padding: 40px;
    margin-top: 40px;
}

body.service-page .highlight-process ol {
    counter-reset: step;
    padding-left: 0;
    list-style: none;
}

body.service-page .highlight-process li {
    font-size: 1.35rem !important;
    line-height: 2 !important;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    padding-left: 50px;
    margin-bottom: 20px;
}

body.service-page .highlight-process li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    color: #1b1b1e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

body.service-page .cta-section {
    text-align: center;
    margin-bottom: 40px;
}

body.service-page .cta-section h3 {
    font-size: 2.6rem !important;
    margin-bottom: 30px;
    font-weight: 300;
    line-height: 1.4;
}

body.service-page .btn-custom {
    background-color: #1b1b1e;
    border-color: #1b1b1e;
    padding: 18px 50px;
    font-size: 1.2rem;
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    color: #fff;
    display: inline-block;
    text-decoration: none;
}

body.service-page .btn-custom:hover {
    background-color: #000;
    border-color: #000;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

@media (max-width: 992px) {
    body.service-page .service-content .container-fluid,
    body.service-page .highlight-section .container-fluid,
    body.service-page .what-we-deliver-section .container-fluid,
    body.service-page .why-choose-section .container-fluid {
        padding: 0 30px;
    }

    body.service-page .hero-content h1 {
        font-size: 3rem !important;
    }

    body.service-page .hero-content .subtitle {
        font-size: 1.2rem !important;
    }

    body.service-page .service-section h2 {
        font-size: 2.5rem !important;
    }

    body.service-page .service-section h3 {
        font-size: 2rem !important;
    }

    body.service-page .service-section p,
    body.service-page .service-section li,
    body.service-page .highlight-section li {
        font-size: 1.2rem !important;
    }
}

@media (max-width: 768px) {
    body.service-page .service-content .container-fluid,
    body.service-page .highlight-section .container-fluid,
    body.service-page .what-we-deliver-section .container-fluid,
    body.service-page .why-choose-section .container-fluid {
        padding: 0 20px;
    }

    body.service-page .hero-content h1 {
        font-size: 2.2rem !important;
    }

    body.service-page .hero-content .subtitle {
        font-size: 1rem !important;
    }

    body.service-page .service-section h2 {
        font-size: 2rem !important;
    }

    body.service-page .service-section h3,
    body.service-page .highlight-section h3,
    body.service-page .cta-section h3 {
        font-size: 1.7rem !important;
    }

    body.service-page .service-content {
        padding: 60px 15px;
    }

    body.service-page .highlight-section {
        padding: 60px 15px;
    }

    body.service-page .what-we-deliver-section,
    body.service-page .why-choose-section {
        padding: 60px 15px;
    }
}

/* Architectural design sections */
body.service-page .what-we-deliver-section {
    background-color: #2a2a2a;
    color: #fff;
    padding: 15px 15px;
    margin: 0;
}

body.service-page .what-we-deliver-section .container-fluid {
    max-width: 100%;
    padding: 0 60px;
}

body.service-page .what-we-deliver-section h3 {
    color: #fff !important;
    font-size: 2.8rem !important;
}

body.service-page .what-we-deliver-section ul {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

body.service-page .what-we-deliver-section li {
    padding: 20px 0;
    font-size: 1.4rem !important;
    line-height: 2 !important;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
}

body.service-page .what-we-deliver-section li strong {
    color: #fff;
    font-weight: 500;
}

body.service-page .why-choose-section {
    background-color: #2a2a2a;
    color: #fff;
    margin: 0;
}

body.service-page .why-choose-section .container-fluid {
    max-width: 100%;
    padding: 0 60px;
}

body.service-page .why-choose-section h3 {
    color: #fff !important;
    font-size: 2.8rem !important;
}

body.service-page .why-choose-section ul {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

body.service-page .why-choose-section li {
    padding: 20px 0 20px 50px;
    position: relative;
    font-size: 1.4rem !important;
    line-height: 2 !important;
    color: rgba(255, 255, 255, 0.9);
}

body.service-page .why-choose-section li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: #fff;
    font-weight: bold;
    font-size: 2rem;
}

body.architectural-design-commercial-page .hero-content h1,
body.architectural-design-residential-page .hero-content h1 {
    font-size: 4.5rem !important;
}

body.architectural-design-commercial-page .service-section h3,
body.architectural-design-residential-page .service-section h3 {
    font-size: 2.5rem !important;
}

/* Interior design residential highlight refinements */
body.interior-design-residential-page .highlight-section h3 {
    font-size: 2.8rem !important;
}

body.interior-design-residential-page .highlight-section ul {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

body.interior-design-residential-page .highlight-section li {
    padding: 20px 0 20px 50px;
    position: relative;
    font-size: 1.4rem !important;
    line-height: 2 !important;
    color: rgba(255, 255, 255, 0.9);
    border-bottom: none;
}

body.interior-design-residential-page .highlight-section li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: #fff;
    font-weight: bold;
    font-size: 2rem;
}

/* Planning & Applications shared tweaks */
body.planning-and-applications-building-permission-page .highlight-section li,
body.planning-and-applications-design-page .highlight-section li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Buttons on darker backgrounds */
body.service-page .highlight-section .btn-custom {
    background-color: #fff;
    color: #1b1b1e;
}

body.service-page .highlight-section .btn-custom:hover {
    background-color: #f5f5f5;
    color: #1b1b1e;
}
