.cal-sans-regular {
    font-family: "Cal Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.wix-madefor-text-normal {
    font-family: "Wix Madefor Text", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: antiquewhite;
    position: relative;
}

.preloader {
    height: 100%;
    width: 100%;
    position: absolute;
    background-color: #f68632;
    z-index: 1000;
}

.loadText {
    position: absolute;
    right: 0;
    bottom: 0;
    margin: 11px;
    font-size: clamp(15px, 5vmin, 40px);
    color: #332a21;
}

.hero-container {
    height: 75vh;
    position: relative;
    background-color: antiquewhite;
    background: url("/images/sample-3-edited.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position-x: 35%;
    background-position-y: 100%;
}

.first {
    min-height: 25vh;
}

.logo-container {
    position: absolute;
    bottom: 0;
    height: 170px;
    background-color: #f68632;
    width: 350px;
    transition: width 0.3s ease, height 0.3s ease;
}

.logo-image {
    position: absolute;
    bottom: 0;
    margin: 11px;
    width: 160px;
    height: 60px;
    transition: width 0.3s ease, height 0.3s ease;
}

/* Small screens or coarse pointer touch devices */
@media (max-width: 700px) or ((pointer: coarse) and (hover: none)) {
    .logo-container {
        width: 100vw;
        height: 100px;
    }
    .logo-image {
        width: 120px;
        height: 50px;
    }
}

/* Override when in landscape on small/touch devices */
@media ((max-height: 400px) or ((pointer: coarse) and (hover: none))) and (orientation: landscape) {
    .logo-container {
        width: 150px; /* vertical strip width */
        height: 100%; /* full height */
        top: 0;
        left: 0; /* stick to right side */
        position: absolute; /* ensure overlay if needed */
    }
    .logo-image {
        width: 120px;
        height: 50px;
    }
}

.logo-image path {
    fill: #332a21;
}

.logo-image polygon {
    fill: #332a21;
}

.tagline {
    color: #332a21;
    padding: 10px;
    font-size: clamp(24px, 15vmin, 90px);
    text-align: right;
}

.highlight {
    color: #f68632;
}

.outline {
    color: transparent; /* Fill color */
    -webkit-text-stroke: 1px #f68632; /* Outline for WebKit browsers */
}

/* Fallback for Firefox: just filled text, no outline */
@-moz-document url-prefix() {
    .outline {
        color: #f68632; /* Or any fallback fill color you want */
    }
}

.main-content {
    color: #332a21;
}

/* container */
.client-container {
    padding-top: 4vmax;
    display: flex; /* horizontal layout */
    gap: 10vmax; /* EXACT horizontal spacing between items */
    align-items: center; /* vertically center SVGS */
    overflow-x: auto; /* horizontal scroll when items overflow */
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; /* smoother scrolling on iOS */
    white-space: nowrap; /* help avoid unexpected wrap in some cases */
    padding-bottom: 2vmin;
}

/* each svg (inline) */
.client-logo {
    display: block; /* prevents inline whitespace issues */
    flex: 0 0 auto; /* do not grow or shrink; keep intrinsic width */
    width: auto; /* keep aspect ratio */
    max-height: 10vmax; /* safeguard on very tall viewports */
    user-select: none;
}

.client-logo.portrait {
    height: 4vmax; /* full size */
}
.client-logo.landscape {
    height: 3vmax; /* half size */
}

.client-logo path {
    fill: #332a21;
}

.client-logo polygon {
    fill: #332a21;
}

/* optional: make scroll snap to each item */
.client-container {
    scroll-snap-type: x mandatory;
}
.client-logo {
    scroll-snap-align: center;
}

h1 {
    font-size: clamp(24px, 15vmin, 90px);
    padding-top: 1vmax;
    padding-bottom: 4vmax;
    line-height: 0.9;
    margin-top: 0;
    margin-bottom: 0;
}

h2 {
    font-size: clamp(24px, 5vmin, 50px);
}

.right-align {
    text-align: right;
    margin-left: auto; /* pushes it to the right */
    margin-right: 0;
}

p {
    font-size: clamp(12px, 1.5vmax, 24px);
}

a {
    font-size: clamp(12px, 2vmax, 24px);
    color: #332a21; /* your brand link color */
    text-decoration: none; /* remove underline by default */
    cursor: pointer; /* show pointer on hover */
    background-color: transparent; /* prevent highlight box on older browsers */
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

a.light {
    color: antiquewhite; /* your brand link color */
}

/* 2. Hover state */
a:hover {
    color: #7c654d; /* darker color */
}

/* 3. Active (mouse down) state */
a:active {
    color: #7c654d; /* even darker */
}

/* 4. Visited state */
a:visited {
    color: #7c654d; /* optional: subtle difference */
}

/* 5. Focus (keyboard navigation) */
a:focus {
    outline: 2px solid #ffaa00; /* accessible visible focus */
    outline-offset: 2px;
}

/* Optional: remove tap highlight on mobile Safari/Chrome */
a {
    -webkit-tap-highlight-color: transparent;
}

/* Width of vertical scrollbar */
.client-container::-webkit-scrollbar {
    width: 12px;
    height: 6px;
}

/* Track (background) */
.client-container::-webkit-scrollbar-track {
    background: none;
}

/* Thumb (scroll handle) */
.client-container::-webkit-scrollbar-thumb {
    background-color: #332a21;
    border-radius: 6px;
}

/* Thumb on hover */
.client-container::-webkit-scrollbar-thumb:hover {
    background-color: #7c654d;
}

@-moz-document url-prefix() {
    .client-container {
        scrollbar-width: thin; /* auto | thin | none */
        scrollbar-color: #332a21 antiquewhite; /* thumb | track */
    }
}

.container-a {
    position: relative;
    background-color: #f68632;
    color: 332a21;
    padding: 2vmin;
    padding-left: 10vw;
    padding-right: 10vw;
    padding-bottom: 5vh;
    padding-top: 5vh;
    z-index: 2;
}

.container-b {
    position: relative;
    background-color: antiquewhite;
    color: 332a21;
    padding: 2vmin;
    padding-top: 1vmin;
    padding-bottom: 5vmin;
    padding-left: 10vw;
    padding-right: 10vw;
    z-index: 1;
}

.container-c {
    position: relative;
    background-color: #332a21;
    color: antiquewhite;
    padding: 2vmin;
    padding-top: 1vmin;
    padding-bottom: 5vmin;
    padding-left: 10vw;
    padding-right: 10vw;
    z-index: 2;
}

.width-80 {
    width: 80%;
}

.width-60 {
    width: 60%;
}

.width-40 {
    width: 40%;
}

.service-container {
    text-align: right;
    align-items: flex-end;
    transition: max-height 0.76s ease, padding 0.3s ease;
    max-height: 1000px;
    overflow: hidden;
}

.service-container .service-header {
    display: flex;
    justify-content: space-between; /* header on right, button on left */
    align-items: center; /* vertically center them */
}

.service-container.collapsed {
    max-height: 12vmin; /* only enough for header + button */
    padding-bottom: 0;
}

.service-container img {
    width: clamp(200px, 50%, 500px); /* or any width you want */
    height: auto; /* maintain aspect ratio */
}

.service-container button {
    background-color: transparent;
    border: none;
    color: antiquewhite;
}

.service-container button:hover {
    background-color: transparent;
    border: none;
    color: #7c654d;
}

.divider {
    border: none; /* remove default border */
    height: 1px; /* thickness of the line */
    background-color: antiquewhite; /* line color */
}

.service-header {
    margin-bottom: 0;
}

.service-content {
    display: flex;
    align-items: top; /* vertically align text & image */
    gap: 4vw; /* space between image and text */
    margin-bottom: 4vmin;
    margin-top: 0;
}

.service-content img {
    flex: 1; /* each image takes equal width */
    width: 50%;
    object-fit: cover; /* crop without distortion */
}

@media (max-width: 700px) or ((pointer: coarse) and (hover: none)) {
    .service-content {
        flex-direction: column;
    }

    .service-content img {
        width: 100%;
    }
}

.service-content p {
    flex: 1; /* text takes the remaining space */
    margin: 0; /* remove default paragraph margin */
    text-align: justify;
    text-align-last: left;
    text-indent: 2em;
}

.service-text {
    display: flex;
    flex-direction: column;
}

.service-text a {
    margin-top: auto;
}

.footer {
    position: relative;
    background-color: #f68632;
    color: 332a21;
    padding: 2vmin;
    padding-left: 10vw;
    padding-right: 10vw;
    padding-bottom: 5vh;
    padding-top: 5vh;
    z-index: 1;
}

.horizontal-split {
    display: flex;
    flex-direction: row-reverse;
    align-items: top; /* vertically align text & image */
    gap: 4vw; /* space between image and text */
    margin-bottom: 4vmin;
    margin-top: 0;
}

@media (max-width: 700px) or ((pointer: coarse) and (hover: none)) {
    .horizontal-split {
        flex-direction: column;
    }

    .horizontal-split img {
        width: 100%;
    }
}

.inline-footer-image {
    width: 100px;
}

.centered {
    text-align: center;
}

.tiny-text {
    font-size: clamp(10px, 1vmin, 15px);
}

.right-align.justify {
    text-align: justify;
    text-align-last: right;
}

.justify {
    text-align: justify;
    text-align-last: left;
}

.header {
    position: relative;
    background-color: #f68632;
    color: 332a21;
    padding: 2vmin;
    padding-left: 10vw;
    padding-right: 10vw;
    padding-bottom: 5vh;
    padding-top: 5vh;
    z-index: 1;
    display: flex;
    justify-content: center; /* horizontal */
    align-items: center; /* vertical */
}

.inline-header-image {
    width: clamp(100px, 20vw, 300px);
}

a svg {
    font-size: clamp(12px, 2vmax, 24px);
    fill: #332a21; /* your brand link color */
    text-decoration: none; /* remove underline by default */
    cursor: pointer; /* show pointer on hover */
    transition: fill 0.2s ease;
}

a.light svg {
    fill: antiquewhite; /* your brand link color */
}

/* 2. Hover state */
a:hover svg {
    fill: #7c654d; /* darker color */
}

/* 3. Active (mouse down) state */
a:active svg {
    fill: #7c654d; /* even darker */
}

/* 4. Visited state */
a:visited svg {
    fill: #7c654d; /* optional: subtle difference */
}

/* 5. Focus (keyboard navigation) */
a:focus svg {
    outline: 2px solid #ffaa00; /* accessible visible focus */
    outline-offset: 2px;
}

/* Optional: remove tap highlight on mobile Safari/Chrome */
a svg {
    -webkit-tap-highlight-color: transparent;
}

.inline-a {
    font-size: clamp(12px, 1.5vmax, 24px);
}
