body {
    background-color: #fff5ec;
    font-family: 'Frank Ruhl Libre', serif;
    margin: 0;
    padding: 0;
}

.top-header {
    background-color: white;
    color: black;
    padding: 15px 30px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 25px;
    font-size: 18px;
    font-weight: bold;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-header a {
    color: black;
    text-decoration: none;
    transition: color 0.3s ease;
}

.top-header a:hover {
    color: #ffb4a2;
}

.top-header img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
    /* Ensures the image fits perfectly without stretching */
    margin-right: auto;
}

.header-banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    padding: 40px 20px;
    text-align: center;
    margin-bottom: 30px;
    border-radius: 4px;
}

h1 {
    color: #333;
    font-family: 'Frank Ruhl Libre', serif;
    margin: 0;
    font-size: 50px;
    display: inline-block;
    padding-bottom: 5px;
    position: relative;
}

h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    /* Adjust this percentage to make it shorter or longer */
    height: 3px;
    background-color: #dd22a8;
}

.page-content {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    max-width: 1200px;
    margin: 10px auto 40px;
    padding: 0 20px;
    position: relative;
}

.image-block {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* Base scattered image styling */
.scatter {
    position: absolute;
    width: clamp(88px, 12vw, 220px);
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    object-fit: cover;
    transition: transform 0.25s ease, opacity 0.25s ease;
    z-index: 1;
    pointer-events: auto;
    border: 3px solid #dd22a8;
}

/* Positions around the central text column */
.scatter.pos-left {
    left: 4%;
    top: 0%;
    width: clamp(90px, 13vw, 220px);
    transform: rotate(-6deg) scale(1.12);
}

.scatter.pos-left2 {
    left: 4%;
    top: 65%;
    width: calc(clamp(88px, 12vw, 220px) + 3px);
    transform: rotate(10deg) translateY(-6%);
}

.scatter.pos-right {
    right: 3%;
    top: 5%;
    width: clamp(90px, 13vw, 220px);
    transform: rotate(8deg) scale(1.02);
}

.scatter.bottom-right {
    right: 2%;
    bottom: 0%;
    width: clamp(110px, 15vw, 260px);
    transform: rotate(4deg) translateY(-4%);
}

/* Keep the text column centered and give it breathing room so images don't overlap the copy */
.text-column {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    z-index: 2;
    margin: 0 clamp(120px, 18vw, 260px);
}

/* Tweak to allow larger left-side images */
.scatter.pos-left.large-image {
    width: clamp(220px, 40vw, 550px);
    transform: rotate(-3deg);
    top: 2%;
    left: 2%;
}

/* Tweak to allow larger right-side images */
.scatter.pos-right.large-image {
    width: clamp(220px, 40vw, 550px);
    transform: rotate(3deg);
    top: 2%;
    right: 2%;
}

@media (min-width: 901px) {
    .has-large-image .text-column {
        margin-left: clamp(250px, 43vw, 590px);
        margin-right: 20px;
    }

    .has-large-image-right .text-column {
        margin-right: clamp(250px, 43vw, 590px);
        margin-left: 20px;
    }
}

/* Utility to crop white letterboxing out of images */
.crop-letterbox {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center;
}

.service-container {
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    padding: 40px;
}

.service-container h2 {
    color: #333;
    display: inline-block;
    padding-bottom: 5px;
    margin-top: 0;
    font-size: 32px;
    position: relative;
}

.service-container h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    /* Adjust this fixed width to make it shorter or longer */
    height: 3px;
    background-color: #dd22a8;
}

.service-container p {
    font-size: 20px;
    color: #444;
    line-height: 1.6;
    margin: 15px 0;
}

.service-container ul {
    font-size: 20px;
    color: #444;
    line-height: 1.6;
}

.site-footer {
    text-align: center;
    padding: 20px;
    color: #666;
    margin-top: 40px;
    border-top: 1px solid #e0e0e0;
    background-color: white;
}

.site-footer p {
    margin: 0;
}

/* Stacks into a single column on mobile screens */
@media (max-width: 900px) {
    .page-content {
        flex-direction: column;
        align-items: center;
    }

    /* On smaller screens list images below the text and remove absolute positioning */
    .image-block {
        position: static;
        display: block;
        width: 100%;
        pointer-events: auto;
        margin: 20px auto;
        text-align: center;
    }

    .scatter {
        position: static;
        width: 80%;
        max-width: 420px;
        transform: none;
        margin: 16px auto;
    }

    .text-column {
        margin: 0;
        padding: 0 12px;
    }
}