.container-fluid .container {
    padding-left: 0;
    padding-right: 0;
}

iframe {
    max-width: 100%;
}

/* custom checkbox */
.custom-checkbox {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: center;
}

.custom-checkbox p {
    margin-bottom: 0;
}

.custom-checkbox input {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
}

.custom-checkbox span {
    display: inline-block;
    width: 25px;
    height: 25px;
    aspect-ratio: 1 / 1;
    border: 1px solid var(--cw-primary);
    background-color: var(--cw-background);
    margin-right: .5em;
    position: relative;
    cursor: pointer;
}

.custom-checkbox input:checked ~ span {
    background-color: var(--cw-primary);
}

.custom-checkbox span::after {
    display: none;
    content: "";
    position: absolute;
    left: 8px;
    top: 4px;
    width: 7px;
    height: 13px;
    border: solid var(--cw-background);
    border-width: 0 2px 2px 0;
    -ms-transform: rotate(40deg);
    transform: rotate(40deg);
}

.custom-checkbox input:checked ~ span::after {
    display: block;
}
/* end of custom checkbox */

/* navbar */
button.nav-link {
    outline: none;
}

button.nav-link::after {
    display: none;
}

.navbar .dropdown-menu {
    left: unset;
    right: 30px;
    min-width: 12rem;
    text-align: center;
    border-radius: 0;
}

.navbar .dropdown-menu a {
    color: var(--cw-primary);
    margin: 0 !important;
}

.navbar .dropdown-menu a:focus,
.navbar .dropdown-menu a:hover {
    background-color: transparent;
    color: var(--cw-secondary);
}
/* end of navbar */

/* static content */
.static-content h1,
.static-content h2,
.static-content h3,
.static-content h4,
.static-content h5,
.static-content h6 {
    font-family: "Strong Font", serif;
    text-transform: uppercase;
}

.static-content h1 {
    font-size: 35px;
}
.static-content h2 {
    font-size: 32px;
}
.static-content h3 {
    font-size: 30px;
}
.static-content h4 {
    font-size: 25px;
}
.static-content h5 {
    font-size: 22px;
}
.static-content h6 {
    font-size: 19px;
}

.static-content img {
    max-width: 100%;
}

.static-content ul {
    columns: 2;
    padding: 0;
}

.static-content li {
    list-style-type: none;
    position: relative;
    margin-bottom: 0.6em;
    padding-left: 45px;
    display: inline-block;
}

.static-content li::before {
    content: "";
    background-color: var(--cw-primary);
    border-radius: 5px;
    width: 20px;
    height: 20px;
    position: absolute;
    top: 3px;
    left: 0;
}
/* end of static content */

/* base stuff */
form label a,
form label a:hover {
    text-decoration: underline;
}

.base_container {
    min-height: 450px;
}

.light.cc_dialog {
    padding: 1em 1.5em !important;
    max-width: 90% !important;
}

.navbar-nav .dropdown-toggle::after,
.hidden {
    display: none;
}

html {
    scroll-behavior: smooth;
}

.navbar-toggler {
    border-color: var(--cw-secondary);
}

form small {
    text-align: left !important;
    color: red;
}

a:focus,
a:hover,
a:focus *,
a:hover *{
    text-decoration: none !important;
    color: currentColor;
}
/* end of base stuff*/

/* popup */
.popup-modal {
    background-color: var(--cw-background);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 600px;
    /*height: 400px;*/
    height: fit-content;
    max-width: 95%;
    max-height: 95%;
    z-index: 1010;
    box-shadow: 0 0 15px -3px rgba(0,0,0,0.35);
    padding: 1.2em 1em;
    overflow: scroll;
}

/*.popup-modal .popup-content {*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    overflow: auto;*/
/*    padding: 1.2em 1em;*/
/*}*/

.popup-modal #closePopup {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.1em 0.3em;
    cursor: pointer;
    font-size: 25px;
    z-index: 100;
}
/* end of popup */

.navbar-nav .active-link {
    color: var(--cw-secondary);
}

a,
body {
    font-family: "Base Font", serif;
    color: var(--cw-text);
}

html,
body {
    background-color: var(--cw-background);
}

a:hover {
    text-decoration: none;
    color: var(--cw-text);
}

header,
footer {
    background-color: var(--cw-primary);
    color: var(--cw-background);
}

header,
header a {
    font-family: "Medium Font", serif;
    font-size: 16px;
}

header {
    padding-top: .2em;
    padding-bottom: .2em;
    border-bottom: 1px solid var(--cw-secondary);
}

.language-menu a,
.nav-link {
    text-transform: uppercase;
    color: var(--cw-background);
}

.language-menu a:hover,
.nav-link:hover {
    color: var(--cw-secondary);
}

.nav-link {
    padding-right: 0.5em !important;
    padding-left: 0.5em !important;
    margin-right: 0.5em !important;
    margin-left: 0.5em !important;
}

.language-menu a.current {
    color: var(--cw-secondary);
}

#carouselTop img {
    width: 100%;
    height: 720px;
    object-fit: cover;
}

.carousel-caption {
    text-align: left;
    font-family: "Medium Font", serif;
    bottom: unset;
    top: 27%;
    width: 685px;
}

.carousel-text-2 {
    font-family: "Body Font", serif;
    color: var(--cw-accent);
}

.custom-button,
.carousel-caption a {
    font-family: "Medium Font", serif;
    background-color: var(--cw-primary);
    color: var(--cw-background);
    padding: .6em 3em;
    font-size: 16px;
    margin-top: 1em;
    display: inline-block;
    border: 0;
}

.custom-button:hover,
.carousel-caption a:hover {
    color: var(--cw-background);
}

.carousel-caption h1 {
    font-size: 72px;
    text-transform: uppercase;
}

.carousel-caption p {
    font-size: 24px;
}

.small-title,
.content h2 {
    text-transform: uppercase;
    font-size: 30px;
    font-family: "Strong Font", serif;
    margin-bottom: 1.5em;
}

.general-padding {
    padding-top: 4em;
    padding-bottom: 4em;
}

footer {
    padding-top: 3em;
    padding-bottom: .3em;
    font-size: 14px;
}

.contact-footer,
footer a {
    color: var(--cw-background);
    display: inline-block;
    padding: .4em 0;
}

footer a:hover {
    color: var(--cw-background);
}

.contact-elem svg {
    width: 15px;
    margin-right: 25px;
    fill: var(--cw-background);
}

.contact-elem {
    display: flex;
    margin-bottom: .7em;
}

.svg-container {
    width: 50px;
    height: 50px;
    aspect-ratio: 1 / 1;
    background-color: var(--cw-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 2em;
}

.svg-container svg {
    fill: var(--cw-accent);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-top: 2em;
}

.contact-item,
.contact-item a {
    color: var(--cw-primary);
    font-family: "Medium Font", serif;
    font-size: 18px;
}

.heading {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 3em;
}

.heading h1 {
    font-family: "Medium Font", serif;
    text-transform: uppercase;
    color: var(--cw-primary);
    font-size: 48px;
    letter-spacing: 2px;
    text-align: center;
}

.contact-row h2 {
    font-family: "Medium Font", serif;
    text-transform: uppercase;
    color: var(--cw-primary);
    font-size: 40px;
}

.blog-sort select,
.contact-row .form-group textarea,
.contact-row .form-group select,
.contact-row .form-group input[type="email"],
.contact-row .form-group input[type="text"] {
    width: 100%;
    border: 1px solid var(--cw-primary);
    padding: .5em;
    background-color: var(--cw-background);
    border-radius: 0;
}

.absolute-label {
    color: var(--cw-accent);
    font-size: 14px;
    font-family: "Medium Font", serif;
}

.gallery-item img {
    width: 100%;
    height: 310px;
    object-fit: cover;
}

.hover-overlay svg {
    width: 31px;
    fill: var(--cw-accent);
    margin-bottom: 1em;
}

.hover-overlay div {
    text-transform: uppercase;
    color: var(--cw-background);
    width: 40%;
    text-align: center;
    font-family: "Medium Font", serif;
}

.gallery-item {
    display: block;
    position: relative;
    margin-bottom: 30px;
}

.image-row a::after,
.gallery-img-block::after,
.gallery-item::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: var(--cw-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-row a:hover::after,
.gallery-img-block:hover::after,
.gallery-item:hover::after {
    opacity: .6;
}

.hover-overlay {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 5;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-row a:hover .hover-overlay,
.gallery-img-block:hover .hover-overlay,
.gallery-item:hover .hover-overlay {
    opacity: 1;
}

.gallery-img-list .gallery-img-block {
    width: calc(20% - 20px);
}

.gallery-img-block {
    display: inline-block;
    position: relative;
}

.gallery-img-block img{
    width: 100%;
    object-fit: cover;
    height: 250px;
}

.gallery-img-list {
    justify-content: center;
    gap: 20px;
}

.arrow-svg {
    fill: var(--cw-accent);
    height: 21px;
}

.back {
    transform: rotateZ(180deg);
}

.gallery-title {
    margin-bottom: 2.5em;
}

.gallery-title .small-title {
    margin: 0 2em;
}

.service-block img {
    width: 100%;
    object-fit: cover;
    height: 200px;
}

.text-part {
    padding: 2.5em 1em 1.5em 1em;
    position: relative;
}

.text-part h3 {
    text-transform: uppercase;
    font-family: "Strong Font", serif;
    font-size: 18px;
    overflow: hidden;
    height: 45px;
}

.text-part .desc {
    font-size: 14px;
    overflow: hidden;
    height: 85px;
}

.text-part .custom-button {
    margin-top: 1em;
}

.service-block > div {
    -webkit-box-shadow: 3px 3px 10px -3px var(--cw-text);
    -moz-box-shadow: 3px 3px 10px -3px var(--cw-text);
    box-shadow: 3px 3px 10px -3px var(--cw-text);
}

.service-block {
    margin-bottom: 35px;
}

.back-button {
    display: flex;
    align-items: center;
    font-size: 14px;
    margin-bottom: 1.5em;
}

.back-button svg {
    height: 14px;
    fill: var(--cw-text);
    margin-right: .5em;
}

.inner-gallery,
.image-row {
    margin-top: 2.5em;
    justify-content: center;
}

.image-row a {
    position: relative;
    display: inline-block;
}

.inner-gallery .gallery-img-block img,
.image-row img {
    width: 100%;
    object-fit: cover;
    height: 300px;
}

.inner-gallery > div {
    margin-bottom: 2em;
    text-align: center;
}

header .navbar-brand img {
    height: 49px;
}

.pagination .page-link[aria-label=Previous],
.pagination .page-link[aria-label=Next] {
    border: 1px solid var(--cw-primary);
    color: var(--cw-primary);
}

.pagination .page-link {
    font-size: 12pt;
    color: var(--cw-primary);
    border: 1px solid var(--cw-primary);
    width: 30px;
    height: 30px;
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination .page-link:hover {
    background-color: var(--cw-secondary);
}

.pagination .page-item {
    margin-left: 10px;
    margin-right: 10px;
}

.page-item.active .page-link {
    color: var(--cw-primary);
    background-color: var(--cw-secondary);
    border-color: var(--cw-primary);
}

.pagination {
    margin: 2em 0 0;
}

.page-item:first-child .page-link {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.page-item:last-child .page-link {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

/* Block 03 circular image styles */
.circular-image-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1em;
}

.circular-image-container img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--cw-primary);
}

.splide__slide p {
    text-align: center;
    font-size: 14px;
    color: var(--cw-text);
    margin: 0;
}

/* Block 04 text-only slide styles */
.text-only-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px; /* Increased height for better visual presence */
    padding: 1.5em;
    background-color: var(--cw-background);
    border: 2px solid var(--cw-primary);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.text-only-slide p {
    text-align: center;
    font-size: 18px;
    color: var(--cw-text);
    margin: 0;
    line-height: 1.6;
}