:root {
    --sam-dark: #071322;
    --sam-wood: #b66a24;
    --sam-wood-light: #e29b43;
    --sam-text: #1d2530;
    --sam-muted: #6b7280;
    --sam-light: #f7f3ea;
    --sam-cream: #fff8ec;
    --sam-header-height: 76px;
    --sam-shadow: 0 24px 70px rgba(0, 0, 0, .18);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--sam-text);
    background: #fff;
}

.container {
    max-width: 1180px;
}

.sam-header {
    height: var(--sam-header-height);
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(0, 0, 0, .08);
    z-index: 1050;
}

.sam-logo img {
    width: 230px;
    height: 60px;
    object-fit: contain;
    display: block;
}

.sam-logo-title {
    font-size: 20px;
    font-weight: 900;
    color: var(--sam-dark);
    line-height: 1.1;
}

.sam-logo-sub {
    font-size: 12px;
    color: var(--sam-muted);
    margin-top: 3px;
}

.sam-nav-link {
    color: var(--sam-dark);
    font-size: 15px;
    font-weight: 700;
    position: relative;
    text-decoration: none;
}

.sam-nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: var(--sam-wood);
    transition: .25s ease;
}

.sam-nav-link:hover {
    color: var(--sam-dark);
}

.sam-nav-link:hover::after {
    width: 100%;
}


/* =========================
   Header language dropdown start
   ========================= */

.sam-lang-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.sam-lang-btn {
    height: 38px;
    padding: 0 13px;
    border-radius: 999px;
    border: 1px solid rgba(7, 19, 34, .1);
    background: #fff;
    color: var(--sam-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(7, 19, 34, .07);
    transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.sam-lang-btn:hover {
    background: #fff;
    color: var(--sam-dark);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(7, 19, 34, .1);
}

.sam-lang-btn .fa-globe {
    font-size: 17px;
}

.sam-lang-btn .fa-caret-down {
    font-size: 11px;
}

.sam-lang-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 112px;
    background: #fff;
    border: 1px solid rgba(7, 19, 34, .08);
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(7, 19, 34, .14);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(0);
    pointer-events: none;
    z-index: 1200;
    transition: opacity .2s ease, visibility .2s ease;
}

.sam-lang-dropdown.is-open .sam-lang-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.sam-lang-item {
    display: block;
    padding: 10px 14px;
    color: var(--sam-dark);
    font-size: 14px;
    line-height: 1.25;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    background: #fff;
    transition: background .18s ease, color .18s ease;
}

.sam-lang-item:hover {
    background: #f4f6f9;
    color: var(--sam-dark);
}



/* =======================
   Header language dropdown end
   ======================= */

.sam-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 22px;
    border-radius: 999px;
    border: 0;
    background: linear-gradient(135deg, var(--sam-wood), var(--sam-wood-light));
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    box-shadow: 0 12px 25px rgba(182, 106, 36, .28);
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1;
}

.sam-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 18px 35px rgba(182, 106, 36, .38);
}

.sam-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 22px;
    border-radius: 999px;
    background: rgba(7, 19, 34, .55);
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    border: 2px solid rgba(255, 255, 255, .85);
    box-shadow: 0 12px 25px rgba(7, 19, 34, .24);
    transition: .25s ease;
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1;
}

.sam-btn-outline:hover {
    color: #fff;
    background: rgba(7, 19, 34, .78);
    transform: translateY(-2px);
    border-color: #fff;
}

.sam-burger {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: 13px;
    background: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    z-index: 1100;
}

.sam-burger span {
    width: 22px;
    height: 2px;
    background: var(--sam-dark);
    position: relative;
    display: block;
    transition: background .2s ease;
}

.sam-burger span::before,
.sam-burger span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    background: var(--sam-dark);
    transition: .25s ease;
}

.sam-burger span::before {
    top: -7px;
}

.sam-burger span::after {
    top: 7px;
}

.sam-burger.active span {
    background: transparent;
}

.sam-burger.active span::before {
    top: 0;
    transform: rotate(45deg);
}

.sam-burger.active span::after {
    top: 0;
    transform: rotate(-45deg);
}

.sam-mobile-menu {
    position: fixed;
    top: var(--sam-header-height);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, .98);
    z-index: 1040;
    padding: 14px 0 20px;
    box-shadow: 0 24px 45px rgba(0, 0, 0, .16);
    border-bottom: 1px solid rgba(0, 0, 0, .08);
    transform: translateY(-125%);
    opacity: 0;
    pointer-events: none;
    transition: transform .3s ease, opacity .25s ease;
}

.sam-mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.sam-menu-overlay {
    position: fixed;
    inset: var(--sam-header-height) 0 0;
    background: rgba(7, 19, 34, .34);
    z-index: 1030;
    opacity: 0;
    pointer-events: none;
    transition: .25s ease;
}

.sam-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.sam-hero {
    height: 100vh;
    min-height: 100vh;
    position: relative;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(7, 19, 34, .88), rgba(7, 19, 34, .45), rgba(7, 19, 34, .18)),
        url("/img/sams-home.jpeg") center/cover no-repeat;
    overflow: hidden;
}

.sam-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 55px;
    background: linear-gradient(to bottom, transparent, #fff);
}

.sam-hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding-top: var(--sam-header-height);
}

.sam-eyebrow {
    display: inline-flex;
    padding: 9px 15px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .22);
    backdrop-filter: blur(12px);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .4px;
    margin-bottom: 20px;
}

.sam-hero h1 {
    margin: 0 0 18px;
    font-size: clamp(42px, 7vw, 82px);
    line-height: .95;
    letter-spacing: -2px;
    font-weight: 900;
}

.sam-hero p {
    margin: 0 0 30px;
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.7;
    color: rgba(255, 255, 255, .88);
}

.sam-section {
    padding: 82px 0;
}

.sam-section-title {
    max-width: 760px;
    margin: 0 auto 44px;
    text-align: center;
}

.sam-section-title h2,
.sam-title {
    color: var(--sam-dark);
    font-size: clamp(30px, 4vw, 48px);
    letter-spacing: -1px;
    font-weight: 900;
}

.sam-section-title p,
.sam-text-muted {
    color: var(--sam-muted);
    font-size: 17px;
    line-height: 1.8;
}

.sam-feature {
    background: var(--sam-light);
    border-radius: 16px;
    padding: 15px;
    font-weight: 800;
    color: var(--sam-dark);
}

.sam-image-card {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--sam-shadow);
    position: relative;
}

.sam-image-card img {
    width: 100%;
    height: 470px;
    object-fit: cover;
}

.sam-image-badge {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(14px);
    border-radius: 18px;
    padding: 16px;
    font-weight: 900;
    color: var(--sam-dark);
}

.sam-gallery-section {
    background: #faf7f0;
}

.sam-gallery-item {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .12);
    position: relative;
    height: 320px;
}

.sam-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.sam-gallery-item:hover img {
    transform: scale(1.06);
}

.sam-gallery-caption {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 14px;
    border-radius: 16px;
    background: rgba(7, 19, 34, .72);
    color: #fff;
    backdrop-filter: blur(10px);
    font-weight: 900;
}

.sam-services {
    background: var(--sam-dark);
    color: #fff;
}

.sam-service-card {
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .06);
    backdrop-filter: blur(12px);
    border-radius: 22px;
    padding: 26px;
    min-height: 210px;
    transition: .25s ease;
}

.sam-service-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, .1);
}

.sam-service-icon {
    width: 50px;
    height: 50px;
    border-radius: 17px;
    background: linear-gradient(135deg, var(--sam-wood), var(--sam-wood-light));
    font-size: 24px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sam-service-card h3 {
    font-size: 20px;
    font-weight: 900;
}

.sam-service-card p {
    color: rgba(255, 255, 255, .72);
    line-height: 1.65;
    font-size: 15px;
    margin: 0;
}

.sam-check {
    background: #fff;
    border-radius: 16px;
    padding: 15px 16px;
    font-weight: 800;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .06);
}

.sam-why-box,
.sam-why-photo {
    height: 100%;
}

.sam-why-box {
    background: var(--sam-light);
    border-radius: 28px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sam-why-photo {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--sam-shadow);
}

.sam-why-photo img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    display: block;
}

.sam-cta {
    padding: 72px 0;
    background: var(--sam-cream);
}

.sam-cta-card {
    background: linear-gradient(135deg, #fffaf0, #f2dfbd);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(122, 78, 33, .16);
    border: 1px solid rgba(182, 106, 36, .16);
}

.sam-cta-text {
    padding: clamp(42px, 7vw, 76px);
}

.sam-cta-text h2 {
    color: var(--sam-dark);
    font-size: clamp(34px, 5vw, 56px);
    letter-spacing: -1px;
    font-weight: 900;
}

.sam-cta-text p {
    color: #5d4630;
    line-height: 1.8;
    font-size: 17px;
}

.sam-cta-img img {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
}

.sam-footer {
    background: #06101f;
    color: #fff;
    padding: 56px 0 28px;
}

.sam-footer-logo img {
    width: 112px;
    margin-bottom: 16px;
}

.sam-footer p {
    color: rgba(255, 255, 255, .68);
    line-height: 1.8;
}

.sam-footer-socials {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 22px;
}

.sam-footer-socials a {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    text-decoration: none;
    backdrop-filter: blur(10px);
    transition: transform .25s ease,
        background .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.sam-footer-socials a:hover {
    transform: translateY(-4px);
    background: linear-gradient(135deg, var(--sam-wood), var(--sam-wood-light));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 16px 34px rgba(182, 106, 36, .34);
}

@media (max-width: 620px) {

    .sam-footer-socials {
        margin-top: 18px;
    }

    .sam-footer-socials a {
        width: 52px;
        height: 52px;
        border-radius: 16px;
        font-size: 24px;
    }

}

.sam-footer h4 {
    font-size: 16px;
    margin-bottom: 16px;
    font-weight: 900;
}

.sam-footer-links a,
.sam-footer-links span {
    color: rgba(255, 255, 255, .72);
    display: block;
    margin-bottom: 10px;
    text-decoration: none;
}

.sam-footer-links a:hover {
    color: var(--sam-wood-light);
}

.sam-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding-top: 22px;
    color: rgba(255, 255, 255, .58);
    font-size: 14px;
    line-height: 1.8;
}

.sam-footer-bottom a {
    color: var(--sam-wood-light);
    font-weight: 900;
    text-decoration: none;
}

.sam-reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity .75s ease, transform .75s ease;
}

.sam-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 991px) {
    .sam-burger {
        display: flex;
    }

    .sam-desktop-nav {
        display: flex !important;
        margin-left: auto;
        margin-right: 10px;
        gap: 0 !important;
    }

    .sam-desktop-nav>.sam-nav-link,
    .sam-desktop-nav>.sam-btn {
        display: none !important;
    }

    .sam-desktop-nav>.sam-lang-dropdown {
        display: inline-flex !important;
    }
}

@media (max-width: 620px) {
    :root {
        --sam-header-height: 68px;
    }

    .sam-logo img {
        width: 158px;
        height: 42px;
    }

    .sam-logo-title {
        font-size: 17px;
    }

    .sam-logo-sub {
        display: none;
    }

    .sam-lang-btn {
        height: 36px;
        padding: 0 10px;
        font-size: 13px;
    }

    .sam-lang-btn .fa-globe {
        display: none;
    }

    .sam-lang-btn .fa-caret-down {
        font-size: 10px;
    }

    .sam-hero {
        height: 100svh;
        min-height: 100svh;
        background:
            linear-gradient(180deg, rgba(7, 19, 34, .84), rgba(7, 19, 34, .62)),
            url("/img/sams-home.jpeg") center/cover no-repeat;
    }

    .sam-hero h1 {
        font-size: 42px;
        letter-spacing: -1px;
    }

    .sam-hero p {
        font-size: 16px;
        line-height: 1.55;
    }

    .sam-section {
        padding: 48px 0;
    }

    .sam-section-title {
        margin-bottom: 28px;
    }

    .sam-section-title h2,
    .sam-title {
        font-size: 30px;
    }

    .sam-text-muted,
    .sam-section-title p {
        font-size: 15px;
        line-height: 1.65;
    }

    .sam-image-card,
    .sam-why-photo,
    .sam-cta-img {
        display: none;
    }

    .sam-feature {
        padding: 12px;
        font-size: 13px;
        border-radius: 14px;
    }

    .sam-gallery-scroll {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        padding-bottom: 6px;
        scroll-snap-type: x mandatory;
    }

    .sam-gallery-scroll>.col-12 {
        min-width: 74%;
        scroll-snap-align: start;
    }

    .sam-gallery-item {
        height: 190px;
        border-radius: 18px;
    }

    .sam-gallery-caption {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 10px;
        border-radius: 12px;
        font-size: 13px;
    }

    .sam-service-card {
        min-height: auto;
        padding: 16px;
        border-radius: 18px;
    }

    .sam-service-icon {
        width: 40px;
        height: 40px;
        border-radius: 14px;
        font-size: 20px;
        margin-bottom: 12px;
    }

    .sam-service-card h3 {
        font-size: 15px;
        margin-bottom: 0;
    }

    .sam-service-card p {
        display: none;
    }

    .sam-why-box {
        padding: 22px;
        border-radius: 22px;
    }

    .sam-check {
        padding: 12px 14px;
        font-size: 14px;
    }

    .sam-cta {
        padding: 48px 0;
    }

    .sam-cta-card {
        border-radius: 24px;
    }

    .sam-cta-text {
        padding: 38px 22px;
        text-align: center;
    }

    .sam-cta-text h2 {
        font-size: 32px;
    }

    .sam-cta-text p {
        font-size: 15px;
        line-height: 1.65;
    }

    .sam-btn,
    .sam-btn-outline {
        width: 100%;
    }

    .sam-footer {
        padding: 42px 0 24px;
    }

    .sam-footer-logo img {
        width: 90px;
    }

    .sam-footer p,
    .sam-footer-links a,
    .sam-footer-links span {
        font-size: 14px;
    }
}

.sam-page-hero {
    margin-top: var(--sam-header-height);
    height: 160px;
    color: #fff;
    background:
        linear-gradient(rgba(7, 19, 34, .62), rgba(7, 19, 34, .62)),
        var(--sam-page-hero-bg) center/cover no-repeat;
}

.sam-page-hero h1 {
    font-size: clamp(42px, 6vw, 68px);
    line-height: 1;
    letter-spacing: -2px;
    font-weight: 900;
}

.sam-page-hero p {
    font-size: 18px;
    color: rgba(255, 255, 255, .82);
}

#custom-decks {
    scroll-margin-top: 70px;
}

#composite-decking,
#deck-repair,
#railings {
    scroll-margin-top: 60px;
}

.sam-project-card {
    border-radius: 18px;
    overflow: hidden;
    height: 260px;
}

.sam-project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.sam-project-card:hover img {
    transform: scale(1.05);
}

@media (max-width: 620px) {

    .sam-page-hero {
        min-height: 80px;
        padding: 32px 0;
        background:
            linear-gradient(rgba(7, 19, 34, .68), rgba(7, 19, 34, .68)),
            var(--sam-page-hero-bg) center/cover no-repeat;
    }

    .sam-page-hero h1 {
        font-size: 34px;
        letter-spacing: -1px;
    }

    .sam-page-hero p {
        font-size: 14px;
        line-height: 1.5;
    }

}

@media (max-width: 620px) {

    .sam-projects-gallery>div {
        width: 50%;
    }

    .sam-project-card {
        height: 140px;
    }

}

/* Gallery modal styles start */

.sam-gallery-card {
    position: relative;
    width: 100%;
    padding: 0;
    border: 0;
    display: block;
    cursor: pointer;
    background: transparent;
    overflow: hidden;
}

.sam-gallery-album-badge {
    position: absolute;
    right: 14px;
    top: 14px;
    min-width: 54px;
    height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .68);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 700;
    backdrop-filter: blur(8px);
    z-index: 2;
}

.sam-gallery-lock {
    overflow: hidden;
}

.sam-gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
}

.sam-gallery-modal.is-open {
    display: flex;
}

.sam-gallery-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 12, 18, .88);
}

.sam-gallery-modal-box {
    position: relative;
    width: min(1180px, 100%);
    max-height: calc(100vh - 44px);
    background: #111827;
    border-radius: 24px;
    padding: 18px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .45);
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sam-gallery-close {
    position: absolute;
    right: 34px;
    top: 34px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .88);
    color: #111827;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 9;
    font-size: 15px;
}

.sam-gallery-main {
    position: relative;
    width: 100%;
    height: min(68vh, 720px);
    border-radius: 18px;
    background: #05070a;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sam-gallery-main>img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.sam-gallery-arrow {
    position: absolute;
    top: 44%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: #111827;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    font-size: 22px;
    transition: transform .2s ease, background .2s ease;
}

.sam-gallery-arrow:hover {
    transform: translateY(-50%) scale(1.08);
    background: #fff;
}

.sam-gallery-arrow-left {
    left: 34px;
}

.sam-gallery-arrow-right {
    right: 34px;
}

.sam-gallery-info {
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    padding: 0 4px;
}

.sam-gallery-counter {
    font-weight: 800;
    font-size: 14px;
    opacity: .9;
}

.sam-gallery-desc {
    font-size: 14px;
    opacity: .78;
}

.sam-gallery-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 2px 6px;
    scrollbar-width: thin;
}

.sam-gallery-thumb {
    flex: 0 0 auto;
    width: 96px;
    height: 68px;
    border: 3px solid transparent;
    border-radius: 14px;
    padding: 0;
    background: transparent;
    overflow: hidden;
    opacity: .58;
    cursor: pointer;
    transition: opacity .2s ease, border-color .2s ease, transform .2s ease;
}

.sam-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sam-gallery-thumb.is-active {
    opacity: 1;
    border-color: #f59e0b;
    transform: translateY(-2px);
}

.sam-gallery-thumb:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .sam-gallery-modal {
        padding: 10px;
    }

    .sam-gallery-modal-box {
        max-height: calc(100vh - 20px);
        border-radius: 18px;
        padding: 12px;
    }

    .sam-gallery-main {
        height: 62vh;
        border-radius: 14px;
    }

    .sam-gallery-arrow {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }

    .sam-gallery-arrow-left {
        left: 18px;
    }

    .sam-gallery-arrow-right {
        right: 18px;
    }

    .sam-gallery-close {
        right: 24px;
        top: 24px;
        width: 32px;
        height: 32px;
        background: rgba(255, 255, 255, .42);
        backdrop-filter: blur(8px);
        font-size: 14px;
    }

    .sam-gallery-thumb {
        width: 78px;
        height: 56px;
        border-radius: 12px;
    }
}

/* Gallery modal styles end */

/* Gallery pagination styles start */

.sam-gallery-pagination .page-link {
    min-width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #2f2418;
    background: #fff;
    border: 1px solid rgba(47, 36, 24, .14);
    box-shadow: 0 8px 22px rgba(17, 24, 39, .08);
}

.sam-gallery-pagination .page-item.active .page-link {
    background: #8b5a2b;
    border-color: #8b5a2b;
    color: #fff;
    box-shadow: 0 10px 26px rgba(139, 90, 43, .28);
}

.sam-gallery-pagination .page-link:hover {
    background: #f6efe7;
    color: #2f2418;
}

.sam-gallery-pagination .page-item.active .page-link:hover {
    background: #8b5a2b;
    color: #fff;
}

/* Gallery pagination styles end */

/* Gallery image preloader styles start */

.sam-gallery-card,
.sam-gallery-main,
.sam-gallery-thumb {
    position: relative;
}

.sam-photo-loader {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(246, 239, 231, .72);
    transition: opacity .25s ease, visibility .25s ease;
    pointer-events: none;
}

.sam-photo-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
}

.sam-photo-loader img {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 24px rgba(17, 24, 39, .16);
}

.sam-photo-loader-ring {
    position: absolute;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 3px solid rgba(139, 90, 43, .22);
    border-top-color: #8b5a2b;
    animation: samPhotoLoaderSpin .85s linear infinite;
}

.sam-photo-loader-modal {
    background: rgba(5, 7, 10, .88);
}

.sam-photo-loader-modal img {
    width: 68px;
    height: 68px;
}

.sam-photo-loader-modal .sam-photo-loader-ring {
    width: 92px;
    height: 92px;
    border-color: rgba(255, 255, 255, .22);
    border-top-color: #f59e0b;
}

.sam-photo-loader-thumb {
    background: rgba(17, 24, 39, .55);
}

.sam-photo-loader-thumb img {
    width: 32px;
    height: 32px;
}

.sam-photo-loader-thumb .sam-photo-loader-ring {
    width: 46px;
    height: 46px;
    border-width: 2px;
    border-color: rgba(255, 255, 255, .25);
    border-top-color: #f59e0b;
}

.sam-img-loading {
    opacity: 0;
}

.sam-img-loaded {
    opacity: 1;
    transition: opacity .28s ease;
}

@keyframes samPhotoLoaderSpin {
    to {
        transform: rotate(360deg);
    }
}

/* Gallery image preloader styles end */

/* Gallery card description overlay styles start */

.sam-gallery-card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 46%;
    background: linear-gradient(to top, rgba(0, 0, 0, .76), rgba(0, 0, 0, 0));
    z-index: 1;
    pointer-events: none;
}

.sam-gallery-card-desc {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 14px;
    z-index: 3;
    color: #fff;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 700;
    text-align: left;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .55);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Gallery card description overlay styles end */


.sam-gallery-video-wrap {
    position: relative;
    width: 100%;
    height: 100%;
}

.sam-gallery-video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sam-gallery-main-video {
    width: 100%;
    max-height: 78vh;
    aspect-ratio: 16 / 9;
    background: #000;
    object-fit: contain;
    display: none;
}

.sam-gallery-main-video.is-active {
    display: block;
}

#samGalleryMainImage.is-hidden {
    display: none;
}

.sam-gallery-thumb {
    position: relative;
}

.sam-gallery-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sam-gallery-album-badge {
    gap: 10px;
}

.sam-gallery-badge-part {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.sam-gallery-main-video {
    width: 100%;
    height: 100%;
    max-height: 78vh;
    background: #000;
    object-fit: contain;
    display: none;
}

.sam-gallery-video-toggle {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 82px;
    height: 82px;
    transform: translate(-50%, -50%);
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, .68);
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    z-index: 5;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .38);
    transition: opacity .2s ease, transform .2s ease, background .2s ease;
}

.sam-gallery-video-toggle:hover {
    background: rgba(0, 0, 0, .82);
    transform: translate(-50%, -50%) scale(1.05);
}

.sam-gallery-main.is-video .sam-gallery-video-toggle {
    display: inline-flex;
}

.sam-gallery-main.is-video.is-playing .sam-gallery-video-toggle {
    opacity: 0;
}

.sam-gallery-main.is-video.is-playing:hover .sam-gallery-video-toggle {
    opacity: 1;
}

.sam-gallery-main.is-video.is-paused .sam-gallery-video-toggle {
    opacity: 1;
}

.sam-gallery-thumb-play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 58px;
    height: 58px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: rgba(0, 0, 0, .72);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 4;
    pointer-events: none;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .42);
}

.sam-gallery-thumb .sam-gallery-thumb-play {
    width: 28px;
    height: 28px;
    font-size: 11px;
}

.sam-gallery-video-controls {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 18px;
    z-index: 6;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}

.sam-gallery-main.is-video:hover .sam-gallery-video-controls,
.sam-gallery-main.is-video.is-paused .sam-gallery-video-controls {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sam-gallery-video-progress {
    width: 100%;
    height: 5px;
    border-radius: 999px;
    overflow: hidden;
    cursor: pointer;
    background: rgba(255, 255, 255, .24);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .24);
}

.sam-gallery-video-progress-fill {
    width: 0%;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.sam-gallery-video-bottom {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.sam-gallery-volume-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .34);
    backdrop-filter: blur(12px);
}

.sam-gallery-volume-btn {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.sam-gallery-volume-btn:hover {
    background: rgba(255, 255, 255, .26);
    transform: scale(1.04);
}

.sam-gallery-volume-slider {
    width: 0;
    height: 4px;
    opacity: 0;
    accent-color: #f59e0b;
    cursor: pointer;
    transition: width .2s ease, opacity .2s ease;
}

.sam-gallery-volume-wrap:hover .sam-gallery-volume-slider {
    width: 86px;
    opacity: 1;
}

@media (max-width: 768px) {
    .sam-gallery-video-controls {
        left: 14px;
        right: 14px;
        bottom: 14px;
    }

    .sam-gallery-volume-wrap:hover .sam-gallery-volume-slider {
        width: 68px;
    }
}

@media (max-width: 768px) {

    .sam-gallery-arrow {
        background: rgba(255, 255, 255, .42);
        backdrop-filter: blur(8px);
    }

    .sam-gallery-arrow:hover {
        background: rgba(255, 255, 255, .58);
    }

}

.sam-gallery-watermark {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 7;
    pointer-events: none;
    transition: opacity .25s ease;
}

.sam-gallery-watermark img {
    width: 140px;
    max-width: 34vw;
    height: auto;
    display: block;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .28));
}

.sam-gallery-watermark {
    opacity: 1;
}

@media (max-width: 768px) {

    .sam-gallery-watermark {
        left: 10px;
        top: 10px;
    }

    .sam-gallery-watermark img {
        width: 90px;
        max-width: 40vw;
    }

}

.sam-service-photo {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--sam-shadow);
}

.sam-service-photo img {
    width: 100%;
    height: 470px;
    object-fit: cover;
    display: block;
}

@media (max-width: 620px) {

    .sam-service-photo {
        border-radius: 20px;
    }

    .sam-service-photo img {
        height: 260px;
    }

}

.sam-contact-info h2,
.sam-contact-form-box h2 {
    color: var(--sam-dark);
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.08;
    letter-spacing: -1px;
    font-weight: 900;
    margin-bottom: 14px;
}

.sam-contact-info {
    padding-top: 10px;
}

.sam-contact-list {
    display: grid;
    gap: 14px;
    margin-top: 26px;
}

.sam-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sam-contact-item>i {
    width: 38px;
    height: 38px;
    border-radius: 13px;
    background: rgba(182, 106, 36, .12);
    color: var(--sam-wood);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex: 0 0 auto;
}

.sam-contact-item strong {
    display: block;
    color: var(--sam-dark);
    font-size: 14px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 2px;
}

.sam-contact-item span,
.sam-contact-item a {
    color: var(--sam-muted);
    font-size: 15px;
    line-height: 1.3;
    text-decoration: none;
}

.sam-contact-item a:hover {
    color: var(--sam-wood);
}

.sam-contact-item img {
    max-height: 24px;
    display: block;
}

.sam-contact-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.sam-contact-socials a {
    min-height: 48px;
    padding: 0 16px;
    border-radius: 16px;
    background: var(--sam-light);
    color: var(--sam-dark);
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
    transition: .25s ease;
}

.sam-contact-socials a i {
    color: var(--sam-wood);
    font-size: 20px;
}

.sam-contact-socials a:hover {
    background: linear-gradient(135deg, var(--sam-wood), var(--sam-wood-light));
    color: #fff;
    transform: translateY(-3px);
}

.sam-contact-socials a:hover i {
    color: #fff;
}

.sam-contact-form-box {
    background: #fff;
    border-radius: 28px;
    padding: 32px;
    box-shadow: 0 18px 50px rgba(17, 24, 39, .08);
    border: 1px solid rgba(7, 19, 34, .07);
}

.sam-contact-form label {
    color: var(--sam-dark);
    font-size: 14px;
    font-weight: 900;
    margin-bottom: 7px;
    display: block;
}

.sam-contact-form input,
.sam-contact-form textarea {
    width: 100%;
    border: 1px solid rgba(7, 19, 34, .14);
    border-radius: 14px;
    padding: 11px 14px;
    color: var(--sam-text);
    font-size: 15px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.sam-contact-form input {
    height: 46px;
}

.sam-contact-form textarea {
    resize: vertical;
    min-height: 128px;
}

.sam-contact-form input:focus,
.sam-contact-form textarea:focus {
    border-color: var(--sam-wood);
    box-shadow: 0 0 0 4px rgba(182, 106, 36, .12);
}

.sam-contact-form small {
    display: block;
    margin-top: 5px;
    color: var(--sam-muted);
    font-size: 12px;
    line-height: 1.3;
}

@media (max-width: 620px) {

    .sam-contact-info h2,
    .sam-contact-form-box h2 {
        font-size: 28px;
    }

    .sam-contact-form-box {
        padding: 22px;
        border-radius: 22px;
    }

    .sam-contact-socials a {
        width: 100%;
        justify-content: center;
    }

}

.sam-contact-toast {
    position: fixed;
    right: 18px;
    bottom: 18px;
    max-width: 340px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #111;
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: all .25s ease;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
}

.sam-contact-toast.is-show {
    opacity: 1;
    transform: translateY(0);
}

.sam-contact-toast.is-success {
    background: #137333;
}

.sam-contact-toast.is-error {
    background: #d93025;
}

.sam-nav-link.is-active {
    color: var(--sam-wood);
}

.sam-nav-link.is-active::after {
    width: 100%;
}

.sam-mobile-menu a.is-active {
    color: var(--sam-wood) !important;
}

@media (max-width: 620px) {
    .sam-project-card .sam-gallery-album-badge {
        min-width: auto;
        height: 20px;
        padding-left: 6px;
        padding-right: 6px;
        gap: 2px;
    }

    .sam-project-card .sam-gallery-album-badge {
        font-size: 11px;
    }

    .sam-project-card .sam-gallery-badge-part {
        gap: 5px;
    }

    .sam-project-card .sam-gallery-badge-part i {
        font-size: 11px;
    }

    .sam-project-card .sam-gallery-album-badge {
        gap: 8px;
    }

    .sam-gallery-card-desc {
        font-size: 11px;
        line-height: 1.2;
        font-weight: 500;
    }
}

.sam-video-no-poster {
    width: 100%;
    height: 100%;
    min-height: 100%;
    background: #111827;
    color: rgba(255, 255, 255, .72);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

.sam-video-no-poster i {
    font-size: 24px;
    color: rgba(255, 255, 255, .9);
}

.sam-video-no-poster-thumb {
    font-size: 9px;
    gap: 4px;
}

.sam-video-no-poster-thumb i {
    font-size: 14px;
}

.footer-counter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 14px;
    width: auto;
    max-width: 100%;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    line-height: 1;
}

.footer-counter-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    white-space: nowrap;
}

.footer-counter-label {
    color: rgba(255, 255, 255, 0.65);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer-counter-value {
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
}

.footer-counter-divider {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.14);
}

@media (max-width: 576px) {

    .footer-counter {
        width: auto;
        max-width: 320px;
        gap: 8px 10px;
        padding: 10px 12px;
        border-radius: 12px;
    }

    .footer-counter-divider {
        display: none;
    }
}

/* =========================
   Fixinny social icon start
   ========================= */

.sam-footer-social-fixinny {
    font-size: 0;
    line-height: 0;
}

.sam-footer-social-fixinny img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    border-radius: 8px;
    display: block;
    margin-bottom: 0 !important;
    filter: brightness(0) invert(1);
}

@media (max-width: 620px) {

    .sam-footer-social-fixinny img {
        width: 24px;
        height: 24px;
        border-radius: 7px;
    }

}

/* =======================
   Fixinny social icon end
   ======================= */

/* =========================
   Contact Fixinny button start
   ========================= */

.sam-contact-social-fixinny img {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    display: block;
    margin-bottom: 0 !important;
    filter: brightness(0) saturate(100%) invert(41%) sepia(32%) saturate(1010%) hue-rotate(350deg) brightness(96%) contrast(91%);
}

.sam-contact-social-fixinny:hover img {
    filter: brightness(0) invert(1);
}

/* =======================
   Contact Fixinny button end
   ======================= */