* {
    margin: 0;
    box-sizing: border-box;

}

html {
    min-height: 100%;
    font-size: 62.5%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #234B5A;
    font-family: "Roboto", sans-serif;
}

h1 {
    font-size: 6rem;
    margin-bottom: 2%;
    color: #1F2933;
}

h2 {
    font-size: 4rem;
    margin-bottom: 2%;
    margin-top: 2%;
    color: #1F2933;
}

h3 {
    font-size: 2.4rem;
    margin-bottom: 2%;
    margin-top: 2%;
    color: #1F2933;
}

p,
li {
    font-size: 1.6rem;
    line-height: 1.7em;
    margin-bottom: 1.2em;
    color: #1F2933;
}

.main-container {
    width: 70%;
    max-width: 1200px;
    margin: 0 auto;
}

.icon {
    width: 2.3rem;
    height: 2.3rem;
    margin-right: 2px;
    fill: currentColor;
    vertical-align: text-bottom;
}

.icon-two {
    width: 2rem;
    height: 2rem;
    fill: currentColor;
    vertical-align: text-bottom;
}

.icon-three {
    width: 3rem;
    height: 3rem;
    fill: currentColor;
}

.icon-four {
    width: 5rem;
    height: 5rem;
    fill: #234B5A;
}

/*Hero-sektion*/
.hero {
    min-height: 760px;
    background: #234B5A;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-visual {
    position: relative;
    height: 760px;
    width: fit-content;
    flex-shrink: 0;
}

.hero-photo {
    position: relative;
    height: 100%;
    z-index: 2;
    padding-left: 6rem;
}

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

.hero-shape-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 16rem;
    height: 100%;
    background: #234B5A;
    transform: skewX(-8deg);
    z-index: 4;
}

.hero-shape-right {
    position: absolute;
    top: 0;
    right: -7rem;
    width: 14rem;
    height: 100%;
    background: #234B5A;
    transform: skewX(-8deg);
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 6;
    width: 40%;
    max-width: 1000px;
    margin-left: -25rem;
    padding: 6rem 7rem;
    color: #1F2933;
    background: rgba(255, 255, 255, 0.45);
    border-radius: 3rem;
    backdrop-filter: blur(2px);
    text-align: center;
}

.hero-content p {
    color: #1F2933;
}

.hero-strip {
    position: absolute;
    top: 0;
    left: 16rem;
    width: 7rem;
    height: 25rem;
    background: #6F7A82;
    z-index: 5;

    clip-path: polygon(33% 0,
            100% 0,
            55% 100%,
            0 88%);
}

.hero-strip-secondary {
    position: absolute;
    right: 7rem;
    bottom: -1rem;
    width: 7rem;
    height: 24rem;
    background: #6F7A82;
    z-index: 5;
    transform: rotate(180deg);

    clip-path: polygon(33% 0,
            100% 0,
            55% 100%,
            0 88%);
}

/*Start-about*/
.start-about {
    background-color: #F3F1EC;
    width: 100%;
}

.start-about-container {
    display: flex;
    flex-direction: row;
    padding: 3%;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.start-about-content {
    width: 56%;
    padding: 2%;
}

.change-order {
    font-weight: bold;
}

.start-about-image {
    display: block;
    width: 100%;
    height: auto;
    max-width: 300px;
    border: 10px solid #234B5A;
}

.start-about p,
.start-about h2 {
    color: #1F2933;
}

.about-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

/*Start-tjänster*/
.start-services {
    background-color: #5E6B75;
    width: 100%;
    position: relative;
}

.start-services-polygon {
    position: absolute;
    top: -1.5rem;
    left: 0;
    width: 16rem;
    height: 3rem;
    background: #0F4C63;
    clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
}

.start-services-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3%;
    max-width: 1200px;
    margin: 0 auto;
}

.start-services p,
.start-services h2,
.start-services h3 {
    color: white;
}

.start-services-header {
    width: 80%;
    margin: 0 auto;
}

/* Service cards and equal-sized images */
.start-services-images {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.start-service-card {
    position: relative;
    width: 30rem;
    max-width: 100%;
    overflow: hidden;
    box-shadow: 0 0.6rem 1.6rem rgba(0, 0, 0, 0.08);
    border: 10px solid #234B5A;
    background: transparent;
}

.start-service-card img {
    display: block;
    width: 100%;
    height: 35rem;
    object-fit: cover;
    max-width: 100%;
}

.start-service-link {
    position: absolute;
    left: 50%;
    bottom: 1.5rem;
    transform: translateX(-50%);

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;

    width: 25rem;
    min-height: 4.8rem;
    padding: 0 1.6rem;

    background: rgba(35, 75, 90, 0.95);
    color: #ffffff;

    border-radius: 0.8rem;
    box-shadow: 0 0.8rem 1.8rem rgba(0, 0, 0, 0.28);

    text-align: center;
    line-height: 1.2;
    text-decoration: none;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background-color 0.25s ease;
}

.start-service-link span {
    flex: 1;
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
}

.start-service-link i {
    flex-shrink: 0;
    color: #ffffff;
    font-size: 1.7rem;
    transition: transform 0.25s ease;
}

.start-service-link:hover {
    transform: translateX(-50%) translateY(-0.3rem);
    background: #234b5a;
    box-shadow: 0 1.2rem 2.4rem rgba(0, 0, 0, 0.34);
}

.start-service-link:hover i {
    transform: translateX(0.4rem);
}

.start-service-link:focus-visible {
    outline: 0.3rem solid #c2a878;
    outline-offset: 0.3rem;
}

.start-services-hook {
    margin-top: 1.5rem;
    width: 80%;
    text-align: center;
}

/*Referens*/
.start-reference {
    background-color: #F3F1EC;
    width: 100%;
}

.start-reference-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3%;
}

.start-reference-header {
    color: #1F2933;
    width: 80%;
    margin: 0 auto;
}

.start-reference-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2.5rem;
}

.start-reference-card {
    display: flex;
    flex-direction: column;
}

.start-reference-image-container {
    width: 100%;
    display: block;
}

.start-reference-image {
    display: block;
    max-width: 500px;
    max-height: 300px;
    object-fit: cover;
}

.start-reference-location {
    margin: 0;
    padding: 0.8rem 1.6rem 1.6rem;
    text-align: right;
    font-size: 1.2rem;
    color: #1F2933;
    font-weight: bold;
}

.start-reference-hook {
    margin-top: 2rem;
    text-align: center;
    color: #1F2933;
}

/*About-sidan*/
.about-container {
    position: relative;
    width: 100%;
}

.about-container::before,
.reference-layout::before,
.services-header-container::before {
    content: "";
    position: absolute;
    top: -1.5rem;
    right: 0;
    width: 16rem;
    height: 3rem;
    background-color: #5E6B75;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 8% 100%);
    z-index: 2;
}

.about-header-polygon,
.contact-header-polygon {
    position: absolute;
    bottom: -1.5rem;
    left: 0;
    width: 16rem;
    height: 3rem;
    background: #5E6B75;
    clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
    z-index: 5;
}

.about-header,
.services-header {
    max-width: 1200px;
    padding: 3%;
    margin: 0 auto;
}

.services-header {
    position: relative;
}

.services-header-images {
    position: absolute;
    z-index: 3;
    left: 65%;
    bottom: -27rem;
    width: min(70rem, 85%);
    height: 35rem;
    transform: translateX(-50%);
}

/* Gemensam bilddesign */
.services-header-image {
    position: absolute;
    overflow: hidden;
    border: 0.3rem solid #234B5A;
    border-radius: 1.3rem;
    background-color: #ffffff;
}

.services-header-image-element {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Vänstra bilden */
.services-header-image:nth-child(1) {
    left: 10%;
    top: 3rem;
    width: 21rem;
    height: 24rem;
}

/* Högra bilden */
.services-header-image:nth-child(2) {
    right: 15%;
    top: -5rem;
    width: 21rem;
    height: 21rem;
}

/* Bilden längst fram */
.services-header-image:nth-child(3) {
    z-index: 2;
    left: 50%;
    bottom: 1rem;
    width: 22rem;
    height: 22rem;
    transform: translateX(-50%);
}

.services-info {
    background-color: #F3F1EC;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.services-info-content {
    margin-top: 30rem;
    max-width: 60%;
}

.services-info-content h2 {
    text-align: center;
}

.services-info .start-services-images {
    display: flex;
    gap: 1rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.services-info .start-service-card {
    flex: 1;
    min-width: 0;
}

.services-info .start-service-card img {
    display: block;
    width: 100%;
    height: 30rem;
    object-fit: cover;
}

.control-manager-page-wrapper,
.build-and-project-management-page-wrapper,
.engineering-manager-page-wrapper {
    background-color: #F3F1EC;
    width: 100%;
    padding-top: 3rem;
    padding-bottom: 8rem;
}

.control-manager-page,
.build-and-project-management-page,
.engineering-manager-page {
    max-width: 1200px;
    width: 95%;
    background-color: white;
    border: solid #234B5A 1px;
    border-radius: 10px;
    margin: 0 auto;
}



.control-manager-page h1 i,
.build-and-project-management-page h1 i,
.engineering-manager-page h1 i {
    color: #234B5A;
}

.control-manager-page-content,
.build-and-project-management-page-content,
.engineering-manager-page-content {
    width: 70%;
    padding: 4%;
}

.control-manager-page-intro,
.build-and-project-management-page-intro,
.engineering-manager-page-intro {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.control-manager-page-content,
.build-and-project-management-page-content,
.engineering-manager-page-content {
    flex: 1;
}

.control-manager-page-image,
.build-and-project-management-page-image,
.engineering-manager-page-image {
    flex: 0 0 320px;
    padding: 2% 2%;
}

.control-manager-featured-image,
.build-and-project-management-featured-image,
.engineering-manager-featured-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

.control-manager-hook,
.build-and-project-management-hook,
.engineering-manager-hook {
    background-color: #234B5A;
    border-radius: 10px;
}

.control-manager-hook-content,
.build-and-project-management-hook-content,
.engineering-manager-hook-content {
    width: 70%;
    margin: 0% 4%;
    padding: 2% 0;
}

.control-manager-hook-content h2,
.control-manager-hook-content p,
.build-and-project-management-hook-content h2,
.build-and-project-management-hook-content p,
.engineering-manager-hook-content h2,
.engineering-manager-hook-content p {
    color: white;
}

.control-manager-page-text a {
    color: #1F2933;
}

.about-header-container,
.services-header-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

.about-header p,
.about-header h1,
.services-header p,
.services-header h1 {
    color: white;
}

.about-header-content {
    max-width: 70%;
}

.services-header-content {
    max-width: 60%;
}

.about-header-image {
    border-radius: 20px;
    padding: 3%;
}

.about-header-image-caption {
    font-style: italic;
    font-size: 1.4rem;
    text-align: center;
}

.about-us {
    background-color: #F3F1EC;
}

.about-us-container {
    padding: 4%;
    width: 50%;
    max-width: 1200px;
    margin: 0 auto;
}

.about-us-container p,
.about-us-container h2 {
    color: #1F2933;
}

.about-vision-container,
.contact-info-container {
    position: relative;
    min-height: 30rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reference-layout,
.services-header-container {
    position: relative;
}

.reference-layout::after,
.services-header-container::after {
    content: "";
    position: absolute;
    bottom: -1.5rem;
    left: 0;
    width: 16rem;
    height: 3rem;
    background: #5E6B75;
    clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
    z-index: 5;
}

.reference-info {
    margin: 0% auto;
    padding: 2% 0;
}

.reference-info-container {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: end;
    width: 90%;
    margin: 0 auto;
    max-width: 1200px;
    border-radius: 10px;
}

.about-vision-image,
.contact-info-image,
.reference-info-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 70%;
}

/* Mörkt lager över bilden */
.about-vision-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.about-vision-content,
.reference-info-content {
    position: relative;
    z-index: 2;
    max-width: 60rem;
    margin: 3rem;
    padding: 3rem 4rem;
    color: white;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 1rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.about-vision-content p,
.about-vision-content h2,
.reference-info-content p,
.reference-info-content h1 {
    color: white;
}

.reference-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 5% auto 0;
    padding: 0 3%;
    max-width: 1200px;
}

.reference-card {
    flex: 0 1 calc((100% - 4rem) / 3);
    min-width: 18rem;
    overflow: hidden;
    background-color: #F3F1EC;
}

.reference-lightbox {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.reference-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reference-card-content {
    padding: 1rem;
}

.reference-card-content p {
    margin-bottom: 0.5rem;
    line-height: 2rem;
}

.reference-hook,
.services-hook {
    background-color: #F3F1EC;
    padding-top: 3%;
    padding-bottom: 3%;
}

.reference-hook-content {
    text-align: center;
    margin: 0 auto;
}

.services-hook {
    display: flex;
    justify-content: center;
    text-align: center;
}

.reference-hook h2,
.services-hook h2 {
    margin-bottom: 1%;
    margin-top: 1%;
}

.about-services {
    background-color: #F3F1EC;
}

.about-services-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    height: 250px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-service-card {
    background-color: #234B5A;
    height: 75%;
    width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-service-card h3 {
    color: white;
}

.contact-form {
    position: relative;
}

.contact-form::before {
    content: "";
    position: absolute;
    top: -1.5rem;
    right: 0;
    width: 16rem;
    height: 3rem;
    background-color: #5E6B75;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 8% 100%);
    z-index: 2;
}

.contact-form-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    padding: 2rem;
}

.contact-form-content {
    width: 100%;
    max-width: 70rem;
}

.contact-form-content h1,
.contact-form-content h2 {
    color: white;
    text-align: center;
}

.contact-form-content h1 {
    margin-top: 2%;
}

.contact-form-content form {
    width: 100%;
}

.contact-form-content form input[type="text"],
.contact-form-content form input[type="email"],
.contact-form-content form textarea {
    width: 100%;
    padding: 1.2rem 1.4rem;
    font-size: 1.6rem;
    border-radius: 0.8rem;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #ffffff;
    box-sizing: border-box;
    color: #1F2933;
}

.contact-form-content form input[type="text"],
.contact-form-content form input[type="email"] {
    height: 6rem;
}

.contact-form-content form textarea {
    min-height: 14rem;
    resize: vertical;
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
}

.contact-form-content .form-field {
    display: block;
    margin: 0 0 2rem;
}

.contact-form-content .form-field label {
    display: block;
    margin: 0 0 0.8rem;
    padding: 0;
    line-height: 1.3;
}

.contact-form-content .form-field .wpcf7-form-control-wrap {
    display: block;
    margin: 0;
    padding: 0;
}

.contact-form-content .form-field p {
    margin: 0;
    padding: 0;
}

.contact-form-content .form-field br {
    display: none;
}

.contact-form-content label {
    color: white;
    font-size: 1.6rem;
    display: block;
}

.contact-form-content form input[type="checkbox"] {
    transform: scale(1.4);
    margin-right: 1rem;
    cursor: pointer;
}

.wpcf7-form {
    position: relative;
}

.contact-form-content .wpcf7-form-control-wrap {
    display: block;
    position: relative;
}

/* Flytande felmeddelanden */
.contact-form-content .use-floating-validation-tip {
    display: block;
    position: relative;
}

.contact-form-content .use-floating-validation-tip .wpcf7-not-valid-tip {
    position: absolute;
    top: 100%;
    margin-top: 0.6rem;
    left: 1rem;
    z-index: 20;
    width: auto;
    max-width: calc(100% - 2rem);
    border: 1px solid #d32f2f;
    border-radius: 0.4rem;
    background: white;
    color: #d32f2f;
    font-size: 1.6rem;
    line-height: 1.3;
    text-align: left;
}

.wpcf7-response-output {
    color: white;
    font-size: 1.6rem;
    margin: 0;
}

.contact-info-content {
    position: relative;
    z-index: 2;
    max-width: 70rem;
    margin: 3rem;
    padding: 3rem 4rem;
    color: white;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 1rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.contact-info-text {
    column-count: 2;
    column-gap: 4rem;
}

.contact-info-text p {
    white-space: nowrap;
}

.contact-info-text a {
    color: #1F2933;
    -webkit-text-fill-color: #1F2933;
}

.contact-info-text h3 {
    margin-top: 0;
}

.privacy-policy-page {
    background-color: #F3F1EC;
}

.privacy-policy-wrapper {
    max-width: 1200px;
    background-color: #D9D9D9;
    border-radius: 10px;
    margin-bottom: 4%;
    margin-left: auto;
    margin-right: auto;
    width: 95%;
}

.privacy-policy-header {
    display: flex;
    justify-content: center;
    align-items: center;
}

.privacy-policy-header h1 {
    margin-bottom: 0;
    margin-top: 2%;
}

.privacy-policy-content {
    padding: 2%;
    width: 70%;
}

.privacy-policy-text a {
    color: #1F2933;
}


/*För att anpassa texten i hero*/
@media only screen and (max-width: 1350px) {
    .hero-content {
        width: 60%;
        margin-left: -50rem;

    }

    .hero-content h1 {
        font-size: 4.8rem;
    }

    .hero-content h2 {
        font-size: 3.6rem;
    }
}

@media (max-width: 1205px) {
    .start-about .about-buttons {
        gap: 0.5rem;
    }
}

/*För mindre skärmar*/
@media only screen and (max-width: 1080px) {

    html,
    body {
        overflow-x: clip;
    }

    h1 {
        font-size: 4.8rem;
    }

    h2 {
        font-size: 3.4rem;
    }

    p,
    li {
        font-size: 1.8rem;
        line-height: 1.7em;
        margin-bottom: 1.2em;
        color: #1F2933;
    }

    .icon {
        vertical-align: auto;
        width: 3rem;
        height: 3rem;
    }

    /*Hero*/
    .hero {
        min-height: 0;
        height: 500px;
        max-height: 500px;
    }

    .hero-content {
        position: relative;
        width: 100%;
        max-width: none;
        margin-left: 0;
        padding: 2rem;
        background: transparent;
        border-radius: 0;
        backdrop-filter: none;
    }

    .hero-content p,
    .hero-content h1,
    .hero-content h2 {
        color: white;
    }

    .hero-visual {
        display: none;
    }

    /*Start-about*/
    .start-about-container {
        flex-direction: column;
        padding: 5rem 0;
    }

    .start-about-content {
        width: 80%;
    }

    .start-services-header {
        width: 80%;
        padding: 2%;
    }

    .start-services-container,
    .start-reference-container {
        padding: 5rem 0;
    }

    .change-order {
        text-align: center;

    }

    .about-buttons {
        justify-content: center;

    }

    .control-manager-page-image,
    .build-and-project-management-page-image,
    .engineering-manager-page-image {
        display: none;
    }

    .control-manager-page-content,
    .build-and-project-management-page-content,
    .engineering-manager-page-content {
        width: 70%;
        flex: none;
        margin: 0 auto;
        padding: 3rem 0;

    }

    .control-manager-hook-content,
    .build-and-project-management-hook-content,
    .engineering-manager-hook-content {
        width: 90%;
        margin: 0 auto;
        padding: 3rem 0;

    }

	.control-manager-hook-content .btn,
    .build-and-project-management-hook-content .btn,
    .engineering-manager-hook-content .btn {
        display: flex;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    }
	
    .control-manager-page h1,
    .build-and-project-management-page h1,
    .engineering-manager-page h1 {
        justify-content: center;
    }

    .start-reference {
        padding: 0;
    }

    .start-reference-image-container {
        width: 95%;
        max-width: 95%;
        display: block;
        margin: 0 auto;
    }

    .start-reference-image {
        width: 100%;
        max-width: 100%;
        height: auto;
        display: block;
    }

    .start-reference-card:nth-child(n+3) {
        display: none;
    }

    /*About-sidan*/
    .about-header {
        width: 90%;
    }

    .about-header-polygon,
    .contact-header-polygon {
        display: none;
    }

    .about-container::before,
    .contact-form::before,
    .services-header-container::before,
    .services-header-container::after {
        display: none;
    }

    .about-us-container {
        width: 80%;
    }

    .about-services {
        display: none;
    }

    .reference-layout::before,
    .reference-layout::after {
        display: none;
    }

    .reference-grid {
        justify-content: center;
    }

    .services-header {
        padding: 4rem 5%;
    }

    .services-header-content {
        max-width: 60rem;
        width: 100%;
        margin: 0 auto;
        padding-right: 0;
    }

    .services-header-text {
        max-width: 100%;
    }

    .services-header-images {
        position: static;
        width: 100%;
        height: auto;
        margin-top: 3rem;
        transform: none;
        display: flex;
        justify-content: center;
    }

    /* Visa endast första bilden */
    .services-header-image:nth-child(1) {
        position: static;
        display: block;
        width: min(32rem, 100%);
        height: 24rem;
    }

    .services-header-image:nth-child(2),
    .services-header-image:nth-child(3) {
        display: none;
    }

    .services-info-content {
        margin-top: 4%;
        max-width: 85%;
    }

    .services-info .start-services-images {
        flex-direction: column;
        gap: 0.5rem;
    }

    .services-info .start-service-card {
        width: 100%;
    }

    .services-info .start-service-card img {
        height: 24rem;
    }

    .reference-hook-content,
    .services-hook-content {
        width: 95%;
    }

    .contact-info-text {
    column-count: 2;
    column-gap: 4rem;
    text-align:center;
}

    .privacy-policy-header {
        background-color: #F3F1EC;
    }
}

/* För mycket små skärmar: centrera menyn */
@media (max-width: 768px) {
    h1 {
        font-size: 3.6rem;
    }

    h2 {
        font-size: 2.8rem;
    }

    h3 {
        font-size: 2.2rem;
    }

    p {
        font-size: 1.6rem;
    }

    .icon-four {
        width: 4rem;
        height: 4rem;
    }

    /*Start-about*/
    .start-about-content {
        width: 95%;
    }

    /*Start-services*/
    .start-services-header {
        width: 95%;
    }

    .control-manager-page-content,
	.engineering-manager-page-content,
	.build-and-project-management-page-content {
        width: 95%;
    }

    .control-manager-hook-content {
        width: 95%;
    }

    .about-header {
        padding: 0;
    }

    .about-header-container {
        flex-direction: column;
    }

    .about-header-content {
        max-width: 95%;
    }

    .about-header-content h1 {
        text-align: center;
    }

    .about-header-btn {
        display: flex;
        width: fit-content;
        margin: 3rem auto;
    }

    .contact-form-content form input[type="text"],
    .contact-form-content form input[type="email"] {
        height: 4rem;
    }

    .contact-form-content form textarea {
        min-height: 10rem;
    }

    .contact-info-text {
        column-count: 1;
    }

    .reference-card {
        flex: 0 1 calc((95% - 2rem) / 2);
    }

    .reference-info {
        padding-bottom: 5%;
    }

    .reference-info-container {
        display: flex;
        flex-direction: column;
        width: 95%;
        overflow: visible;
    }

    .reference-info-content {
        order: 1;
        max-width: 100%;
        margin: 0 0 2rem;
        padding: 0;
        color: #234B5A;
        background: none;
        border: none;
        border-radius: 0;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .reference-info-image {
        order: 2;
        position: static;
        display: block;
        width: 100%;
        height: 22rem;
        object-fit: cover;
        border-radius: 10px;
    }

    .privacy-policy-content {
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 600px) {
    .start-service-link {
        width: calc(100% - 3rem);
    }

    .start-service-link span {
        font-size: 1.7rem;
    }
}


@media only screen and (max-width: 470px) {
    .about-us-container {
        padding: 4%;
        width: 95%;
        margin: 0 auto;
    }
}

@media (max-width: 404px) {
    .reference-card {
        flex: 0 1 95%;
        min-width: 0;
    }
}

@media (min-width: 2000px) {
    .hero {
        justify-content: center;
    }

    .start-reference-container {
        padding: 3% 0;
    }


}