body {
    font-family: "Poppins", sans-serif;
    background-color: #f8f9fa;
}

.navbar {
    padding-top: 2em;
}

.navbar button {
    text-align: center;
    border-width: 1.5px;
    padding-left: 22px;
    padding-right: 22px;
}

.navbar-nav .nav-item {
    margin-left: 1em;
}

.navbar-brand h1 {
    font-size: 1.5em;
}

.navbar-collapse {
    z-index: 10;
    background-color: #f8f9fa;
    padding: 1em;
}

.h1 {
    font-size: 2.5em;
    line-height: 1.1em;
}

.ml-0 {
    margin-left: 0 !important;
}

h2 {
    font-size: xxx-large;
}

.nav-item a {
    text-decoration: none;
}

.row {
    --bs-gutter-x: 1.3rem;
}

.vertical-skip {
    height: 2em;
}

.grid-item {
    position: relative;
    overflow: hidden;
    margin-bottom: 1.1em;
    padding-top: 0.1em;
    padding-bottom: 0.1em;
}

.col-own-3 {
    width: 25%;
}

.col-own-6 {
    width: 50%;
}

.col-own-5 {
    width: 41.667%;
}

.col-own-2 {
    width: 16.667%;
}

.col-own-1 {
    width: 8.333%;
}

.grid-item img {
    width: 100%;
}

.image {
    padding-bottom: 1em;
    padding-left: 0.8em;
    padding-right: 0.8em;
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    height: 16em;
    background-size: cover;
    border-radius: 1em;
    text-align: center;
    justify-content: center;
}

.image-blog-title-large {
    height: 29.6em;
}

@media (max-width: 1023px) {
    .image-blog-title-large {
        height: 22em;
    }
}

a:hover .image {
    opacity: 0.8;
    transition: 0.5s;
}

.scrolling-div {
    background-attachment: fixed; /* This is key for creating the parallax effect */
}

.image .material-icons {
    font-size: 1.3em;
    padding-top: 5px;
    padding-bottom: 5px;
}

.image-flex {
    background-size: auto;
    border-radius: 1em;
    text-align: center;
}

.grey-background {
    background-color: #d6dcde;
}

.dark-background {
    background-color: #3c4046;
    color: white;
}

.image-text-container {
    transition: transform 0.3s ease-in-out;
}

.image:hover .image-text-container {
    transform: scale(1.1); /* Text also zooms in */
}

.image-big-text {
    font-size: xx-large;
    text-align: center;
    display: block;
}

.image-small-text {
    font-weight: 300;
    color: #a1a1a1;
}

.overlay-text {
    position: absolute;
    width: 33%;
    height: 33%;
    background: #f8f9fa;
    padding: 5pt 20pt;
    display: inline;
}

.overlay-text-large {
    position: absolute;
    width: 33%;
    height: 20%;
    background: #f8f9fa;
    padding: 5pt 20pt;
    display: inline;
}

.image-huge {
    height: 40em;
    background-size: cover;
    border-radius: 1em;
    background-position: right;
}

/* FA icon circle */
.fa-circle {
    border: 4px solid;
    border-radius: 50%;
    width: 1.2em;
    height: 1.2em;
    padding-top: 19px;
    padding-left: 0;
    font-size: 28pt;
    margin-left: 8px;
    margin-bottom: 8px;
}

/* from S/O */
/* bottom left */
.inner-container-bl {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    bottom: 0;
    left: 10px;
}

.innertext-bl {
    display: inline;
    position: relative;
    margin-top: -1px;
    border-top-right-radius: 20px;
    background-color: #f8f9fa;
    padding: 5px 25px 0 0;
    font-size: 36px;
    color: #000;
}

.innertext-bl:first-child::before,
.innertext-bl::after {
    content: "";
    display: block;
    width: 36px; /* double the radius */
    height: 36px; /* double the radius */
    background-color: transparent;
    position: absolute;
    border-bottom-left-radius: 20px;
    box-shadow: 0 20px 0 0 #f8f9fa; /* this to create the inverted corner border radius area, if you desire to change the positon you can control it via the first two values 0 20px which represents the x & y */
}

.innertext-bl::before {
    top: -36px;
    left: 0;
}

.innertext-bl::after {
    right: -36px;
    bottom: 0;
}

.innertext-bl span {
    position: relative;
    z-index: 1; /* to overcome the overlapping with the text */
}

/* top left */
.inner-container-tl {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 0;
}

.innertext-tl {
    display: inline;
    position: relative;
    border-bottom-right-radius: 20px;
    background-color: #f8f9fa;
    padding: 5px 25px 0 0;
    margin-left: -14px;
    font-size: 36px;
    color: #000;
}

.innertext-tl::before,
.innertext-tl::after {
    content: "";
    display: block;
    width: 36px; /* double the radius */
    height: 36px; /* double the radius */
    background-color: transparent;
    position: absolute;
    border-top-left-radius: 20px;
    box-shadow: -15px -17px 0 0 #f8f9fa; /* this to create the inverted corner border radius area, if you desire to change the positon you can control it via the first two values 0 20px which represents the x & y */
}

.innertext-tl::before {
    right: -36px;
    top: 0;
}

.innertext-tl::after {
    left: 0;
}

.innertext-tl span {
    position: relative;
    z-index: 1; /* to overcome the overlapping with the text */
}

/* bottom right */
.inner-container-br {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    bottom: 0;
    right: 10px;
}

.innertext-br {
    display: inline;
    position: relative;
    border-top-left-radius: 20px;
    background-color: #f8f9fa;
    padding: 5px 10px 0 10px;
    font-size: 36px;
    color: #000;
}

.innertext-br:first-child::before,
.innertext-br::after {
    content: "";
    display: block;
    width: 36px; /* double the radius */
    height: 36px; /* double the radius */
    background-color: transparent;
    position: absolute;
    border-bottom-right-radius: 20px;
    box-shadow: 0 20px 0 0 #f8f9fa; /* this to create the inverted corner border radius area, if you desire to change the positon you can control it via the first two values 0 20px which represents the x & y */
}

.innertext-br::before {
    top: -36px;
    right: 0;
}

.innertext-br::after {
    left: -35px;
    bottom: 0;
}

.innertext-br span {
    position: relative;
    z-index: 1; /* to overcome the overlapping with the text */
}

/* top right */
.inner-container-tr {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 0;
    right: 0;
}

.innertext-tr {
    display: inline;
    position: relative;
    border-bottom-left-radius: 20px;
    background-color: #f8f9fa;
    padding: 5px 25px 0 0;
    font-size: 36px;
    color: #000;
}

.innertext-tr::before,
.innertext-tr::after {
    content: "";
    display: block;
    width: 36px;
    height: 36px;
    background-color: transparent;
    position: absolute;
    border-top-right-radius: 20px;
    box-shadow: 20px -1px 0 0 #f8f9fa;
}

.innertext-tr::before {
    left: -36px;
    top: 0;
}

.innertext-tr::after {
    right: 10px;
}

.innertext-tr span {
    position: relative;
    z-index: 1; /* to overcome the overlapping with the text */
}

/**/

.services-row {
    border-bottom: 2px solid #8e8e93;
    padding-bottom: 0.5em;
    padding-top: 0.8em;
}

.services-number {
    font-size: xx-large;
    color: #e0e0e0;
}

.services-headline {
    font-size: xx-large;
    font-weight: 500;
}

.services-text {
    color: #414141;
}

/* contact form */

.h2-contact-us {
    color: #cecdd4;
    font-size: 5.75em;
    padding-top: 0.5em;
    font-weight: 500;
}

.contact-us-background {
    background-color: #dcdce0;
    padding-left: 5em;
    padding-right: 5em;
}

.contact-us-background .row {
    --bs-gutter-x: 6rem;
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-group p {
    text-align: left;
    margin-top: 1em;
    font-size: small;
    color: #807f88;
}

input {
    width: 100%;
    border: none;
    border-bottom: 2px solid #bcbbc0;
    font-size: 16px;
    padding: 8px 0;
    background: transparent;
    outline: none;
    transition: border-color 0.3s;
}
input:focus {
    border-bottom-color: #807f88;
}
label {
    position: absolute;
    left: 3rem;
    top: 8px;
    font-size: larger;
    color: #a0a0a7;
    transition: all 0.3s ease;
}
input:focus + label,
input:not(:placeholder-shown) + label {
    top: -12px;
    font-size: 12px;
    color: #807f88;
}

/* carousel */
.carousel {
    width: 100%;
    height: 1.5em;
    overflow: hidden;
    position: relative;
    font-size: 24px;
    text-align: center;
    mask-image: linear-gradient(to bottom, transparent, white 20%, white 80%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, white 20%, white 80%, transparent);
}

.carousel-text {
    width: 100%;
    display: flex;
    flex-direction: column;
    position: absolute;
    text-align: center;
    animation: slide 60s infinite;
}

.carousel-text-inner {
    padding-bottom: 1em;
    text-align: center;
}

@keyframes slide {
    0% { transform: translateY(0%); }
    5.556% { transform: translateY(-5.556%); }
    11.111% { transform: translateY(-11.111%); }
    16.667% { transform: translateY(-16.667%); }
    22.222% { transform: translateY(-22.222%); }
    27.778% { transform: translateY(-27.778%); }
    33.333% { transform: translateY(-33.333%); }
    38.889% { transform: translateY(-38.889%); }
    44.444% { transform: translateY(-44.444%); }
    50% { transform: translateY(-50%); }
    55.556% { transform: translateY(-55.556%); }
    61.111% { transform: translateY(-61.111%); }
    66.667% { transform: translateY(-66.667%); }
    72.222% { transform: translateY(-72.222%); }
    77.778% { transform: translateY(-77.778%); }
    83.333% { transform: translateY(-83.333%); }
    88.889% { transform: translateY(-88.889%); }
    94.444% { transform: translateY(-94.444%); }
    100% { transform: translateY(-100%); }
}


/* footer */

footer h1 {
    font-size: xx-large;
    margin-bottom: 0.5em;
}

footer .container {
    margin-top: -2.5em;
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 20px; /* Add the desired spacing between items */
}

@media (max-width: 1023px) {
    .col-own-3 {
        width: 50%;
    }

    .col-own-5 {
        width: 100%;
    }

    .col-own-2 {
        width: 100%;
        display: none;
    }

    .innertext-tl .h1, .innertext-tl h1 {
        font-size: xxx-large;
    }

    .h2-contact-us {
        font-size: xxx-large;
    }

    .buttons {
        margin-top: 1em;
    }

    .d-flex {
        display: block !important;
    }

    footer .container {
        margin-top: 0;
        text-align: center;
        width: 100%;
        display: block !important;
    }

    footer .left {
        text-align: center;
        display: block !important;
    }

    footer .right {
        text-align: center;
        display: block !important;
    }

    footer .center {
        display: block;
        text-align: center;
    }
}

footer .left {
    display: flex;
}

footer .right {
    display: flex;
}

footer .center {
    flex-grow: 1;
    text-align: center;
}

footer a {
    text-decoration: none;
    color: #2c3034;
}


/* Blog posts */
.blog-post p, .blog-post li {
    margin-bottom: 1rem;
    font-weight: 300;
    line-height: 23pt;
}

.blog-post .h1, .blog-post h1 {
    line-height: 40pt;
}

.blog-post .h2, .blog-post h2 {
    line-height: 52pt;
    margin-bottom: 26pt;
}

.blog-post .h3, .blog-post h3 {
    line-height: 74pt;
}

.blog-post .h4, .blog-post h4 {
    line-height: 50pt;
}

.blog-post strong {
    font-weight: 700;
}

blockquote {
    font-style: italic;
    font-size: 1.2em;
    margin: 20px 0;
    padding-left: 20px;
    border-left: 5px solid #ccc;
    color: #555;
    background-color: #f9f9f9;
    position: relative;
    quotes: "“" "”" "‘" "’";
}

blockquote::before {
    content: open-quote;
    font-size: 2em;
    color: #999;
    position: absolute;
    top: -10px;
    left: -15px;
}

blockquote::after {
    content: close-quote;
    font-size: 2em;
    color: #999;
    position: absolute;
    bottom: -10px;
    right: -15px;
}

cite {
    display: block;
    font-style: normal;
    text-align: right;
    color: #333;
    margin-top: 10px;
    font-weight: bold;
}


.text-page p, .text-page li {
    font-weight: 300;
    line-height: 16pt;
}

.text-page .h1, .text-page h1 {
    line-height: 20pt;
}

.text-page .h2, .text-page h2 {
    line-height: 26pt;
    margin-bottom: 12pt;
}

.text-page .h3, .text-page h3 {
    line-height: 36pt;
}

.text-page .h4, .text-page h4 {
    line-height: 25pt;
}

.text-page strong {
    font-weight: 700;
}


.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 2em;
    z-index: 9999;
}
.cookie-banner button {
    width: 10em;
}