/* =========================================================
   UYI DIGITAL
   STYLE.CSS — PART 1
   FOUNDATION • COLORS • RESET • HEADER • MENU
========================================================= */


/* =========================================================
   1. GOOGLE FONTS
========================================================= */

@import url(
    "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@600;700;800&display=swap"
);


/* =========================================================
   2. LIGHT MODE
========================================================= */

:root {

    --bg:
        #f5f2ea;

    --surface:
        #fffdf8;

    --surface-soft:
        #ece7dc;

    --surface-deep:
        #e3ddd0;


    --text:
        #17211d;

    --text-soft:
        #56615b;

    --text-light:
        #7a847e;


    --primary:
        #123d32;

    --primary-dark:
        #0a2a22;

    --primary-light:
        #dce9e2;


    --gold:
        #a77b32;

    --gold-light:
        #efe3c9;

    --accent:
        #a77b32;


    --border:
        #d9d3c7;

    --border-dark:
        #bdb5a6;


    --shadow-sm:
        0 8px 24px
        rgba(
            23,
            33,
            29,
            .06
        );

    --shadow-md:
        0 18px 50px
        rgba(
            23,
            33,
            29,
            .12
        );

    --shadow-lg:
        0 30px 80px
        rgba(
            23,
            33,
            29,
            .16
        );


    --radius-sm:
        8px;

    --radius-md:
        15px;

    --radius-lg:
        24px;


    --container:
        1180px;

}


/* =========================================================
   3. DARK MODE
========================================================= */

body.dark-mode {

    --bg:
        #0c1210;

    --surface:
        #131c18;

    --surface-soft:
        #18231e;

    --surface-deep:
        #202d27;


    --text:
        #f3f0e8;

    --text-soft:
        #b9c1bc;

    --text-light:
        #89938d;


    --primary:
        #57a98b;

    --primary-dark:
        #34785f;

    --primary-light:
        #1b332a;


    --gold:
        #d1aa62;

    --gold-light:
        #3a3020;

    --accent:
        #d1aa62;


    --border:
        #2c3933;

    --border-dark:
        #3c4b44;

}


/* =========================================================
   4. RESET
========================================================= */

* {

    margin:
        0;

    padding:
        0;

    box-sizing:
        border-box;

}


html {

    scroll-behavior:
        smooth;

}


body {

    min-width:
        320px;

    min-height:
        100vh;

    margin:
        0;

    overflow-x:
        hidden;

    background:
        var(--bg);

    color:
        var(--text);

    font-family:
        "DM Sans",
        Arial,
        sans-serif;

    font-size:
        16px;

    line-height:
        1.65;

    transition:
        background .3s ease,
        color .3s ease;

}


body.menu-open {

    overflow:
        hidden;

}


img {

    display:
        block;

    max-width:
        100%;

    height:
        auto;

}


button,
input,
textarea,
select {

    font:
        inherit;

}


button {

    cursor:
        pointer;

}


a {

    color:
        inherit;

    text-decoration:
        none;

}


section {

    position:
        relative;

}


.container {

    width:
        min(
            calc(100% - 32px),
            var(--container)
        );

    margin:
        0 auto;

}


/* =========================================================
   5. HEADER
========================================================= */

.site-header,
header {

    position:
        relative;

    z-index:
        1000;

    width:
        100%;

    min-height:
        72px;

    background:
        var(--surface);

    border-bottom:
        1px solid
        var(--border);

}


.header-container,
.nav-container {

    width:
        min(
            calc(100% - 32px),
            var(--container)
        );

    min-height:
        72px;

    margin:
        0 auto;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        14px;

}


/* =========================================================
   6. LOGO
========================================================= */

.logo,
.brand-logo {

    display:
        flex;

    align-items:
        center;

    gap:
        9px;

    flex:
        0 1 auto;

    min-width:
        0;

    color:
        inherit;

}


.logo img,
.brand-logo img {

    width:
        44px;

    height:
        44px;

    min-width:
        44px;

    flex:
        0 0 44px;

    object-fit:
        contain;

    object-position:
        center;

    border-radius:
        10px;

}


.logo-mark {

    width:
        44px;

    height:
        44px;

    min-width:
        44px;

    min-height:
        44px;

    display:
        grid;

    place-items:
        center;

    background:
        var(--primary);

    color:
        #ffffff;

    border-radius:
        10px;

}


.logo-text {

    min-width:
        0;

}


.logo-text h1,
.logo-text h2,
.logo-text strong {

    color:
        var(--text);

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size:
        .92rem;

    font-weight:
        800;

    line-height:
        1.15;

}


.logo-text p,
.logo-text small {

    display:
        block;

    max-width:
        330px;

    margin-top:
        3px;

    color:
        var(--text-light);

    font-size:
        .58rem;

    font-weight:
        600;

    line-height:
        1.35;

}


/* =========================================================
   7. DESKTOP NAVIGATION
========================================================= */

.desktop-nav {

    display:
        flex;

    align-items:
        center;

    gap:
        4px;

}


.desktop-nav a {

    position:
        relative;

    padding:
        9px 12px;

    color:
        var(--text-soft);

    border-radius:
        8px;

    font-size:
        .82rem;

    font-weight:
        700;

    transition:
        color .2s ease,
        background .2s ease;

}


.desktop-nav a:hover {

    color:
        var(--primary);

    background:
        var(--primary-light);

}


.desktop-nav a.active,
.desktop-nav a[aria-current="page"] {

    color:
        var(--primary);

}


/* =========================================================
   8. HEADER ACTIONS
========================================================= */

.header-actions {

    display:
        flex;

    align-items:
        center;

    justify-content:
        flex-end;

    gap:
        8px;

    margin-left:
        auto;

}


/* =========================================================
   9. THEME BUTTON
========================================================= */

#themeToggle,
.theme-toggle {

    width:
        42px;

    height:
        42px;

    min-width:
        42px;

    min-height:
        42px;

    display:
        grid;

    place-items:
        center;

    padding:
        0;

    background:
        var(--surface);

    color:
        var(--text);

    border:
        1px solid
        var(--border);

    border-radius:
        10px;

    font-size:
        1rem;

    line-height:
        1;

    transition:
        transform .2s ease,
        border-color .2s ease,
        background .2s ease;

}


#themeToggle:hover,
.theme-toggle:hover {

    transform:
        translateY(-2px);

    border-color:
        var(--gold);

}


/* =========================================================
   10. HAMBURGER BUTTON
   IMPORTANT:
   Your actual index.html uses an EMPTY button.
   The icon is therefore generated with ::before.
========================================================= */

#menuBtn,
.menu-btn,
.menu-button {

    position:
        fixed;

    top:
        14px;

    right:
        16px;

    left:
        auto;

    bottom:
        auto;

    z-index:
        10005;

    width:
        46px;

    height:
        46px;

    min-width:
        46px;

    min-height:
        46px;

    display:
        none;

    align-items:
        center;

    justify-content:
        center;

    margin:
        0;

    padding:
        0;

    background:
        var(--surface);

    color:
        var(--text);

    border:
        1px solid
        var(--border);

    border-radius:
        12px;

    box-shadow:
        0 8px 25px
        rgba(
            0,
            0,
            0,
            .14
        );

    font-size:
        0;

    line-height:
        1;

    cursor:
        pointer;

    transition:
        transform .2s ease,
        background .2s ease,
        box-shadow .2s ease;

}


#menuBtn::before,
.menu-btn::before,
.menu-button::before {

    content:
        "☰";

    display:
        block;

    color:
        var(--text);

    font-family:
        Arial,
        sans-serif;

    font-size:
        27px;

    font-weight:
        700;

    line-height:
        1;

}


#menuBtn:hover,
.menu-btn:hover,
.menu-button:hover {

    transform:
        translateY(-2px);

    box-shadow:
        0 12px 30px
        rgba(
            0,
            0,
            0,
            .18
        );

}


/* =========================================================
   11. DESKTOP HEADER
========================================================= */

@media (
    min-width: 901px
) {

    .desktop-nav {

        display:
            flex;

    }


    #menuBtn,
    .menu-btn,
    .menu-button {

        display:
            none;

    }

}


/* =========================================================
   12. MOBILE HEADER
========================================================= */

@media (
    max-width: 900px
) {

    .desktop-nav {

        display:
            none !important;

    }


    #menuBtn,
    .menu-btn,
    .menu-button {

        display:
            flex;

    }


    .header-container,
    .nav-container {

        min-height:
            70px;

    }

}


/* =========================================================
   13. MENU OVERLAY
========================================================= */

.menu-overlay,
#menuOverlay {

    position:
        fixed;

    inset:
        0;

    z-index:
        9997;

    background:
        rgba(
            0,
            0,
            0,
            .55
        );

    opacity:
        0;

    visibility:
        hidden;

    pointer-events:
        none;

    transition:
        opacity .3s ease,
        visibility .3s ease;

}


.menu-overlay.active,
#menuOverlay.active {

    opacity:
        1;

    visibility:
        visible;

    pointer-events:
        auto;

}


/* =========================================================
   14. SIDE MENU
========================================================= */

.side-menu,
#sideMenu {

    position:
        fixed;

    top:
        0;

    right:
        0;

    z-index:
        9999;

    width:
        min(
            88vw,
            360px
        );

    height:
        100dvh;

    padding:
        24px 22px;

    overflow-y:
        auto;

    background:
        var(--surface);

    color:
        var(--text);

    border-left:
        1px solid
        var(--border);

    box-shadow:
        -20px 0 60px
        rgba(
            0,
            0,
            0,
            .20
        );

    transform:
        translateX(105%);

    visibility:
        hidden;

    transition:
        transform .32s
        cubic-bezier(
            .2,
            .8,
            .2,
            1
        ),
        visibility .32s ease;

}


.side-menu.active,
#sideMenu.active {

    transform:
        translateX(0);

    visibility:
        visible;

}


/* =========================================================
   15. SIDE MENU HEADER
========================================================= */

.menu-top {

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        15px;

    padding-bottom:
        20px;

    border-bottom:
        1px solid
        var(--border);

}


.menu-top h2 {

    color:
        var(--text);

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size:
        1.4rem;

    font-weight:
        800;

}


.menu-brand {

    display:
        none;

}


/* =========================================================
   16. CLOSE BUTTON
========================================================= */

.close-menu,
#closeMenu {

    width:
        43px;

    height:
        43px;

    min-width:
        43px;

    min-height:
        43px;

    display:
        grid;

    place-items:
        center;

    padding:
        0;

    background:
        var(--surface-soft);

    color:
        var(--text);

    border:
        1px solid
        var(--border);

    border-radius:
        11px;

    font-size:
        1.2rem;

    cursor:
        pointer;

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;

}


.close-menu:hover,
#closeMenu:hover {

    transform:
        translateY(-1px);

    background:
        var(--primary);

    color:
        #ffffff;

}


/* =========================================================
   17. MENU LINKS
========================================================= */

.menu-links {

    display:
        grid;

    gap:
        8px;

    padding:
        24px 0;

}


.menu-links a {

    display:
        flex;

    align-items:
        center;

    min-height:
        51px;

    padding:
        13px 15px;

    background:
        transparent;

    color:
        var(--text-soft);

    border:
        1px solid
        transparent;

    border-radius:
        11px;

    font-size:
        .92rem;

    font-weight:
        700;

    transition:
        background .2s ease,
        color .2s ease,
        border-color .2s ease,
        transform .2s ease;

}


.menu-links a:hover,
.menu-links a.active-page,
.menu-links a.active {

    background:
        var(--primary-light);

    color:
        var(--primary);

    border-color:
        rgba(
            18,
            61,
            50,
            .12
        );

    transform:
        translateX(3px);

}


/* =========================================================
   18. MENU DIVIDER
========================================================= */

.menu-divider {

    width:
        100%;

    height:
        1px;

    margin:
        2px 0 20px;

    background:
        var(--border);

}


/* =========================================================
   19. APPEARANCE
========================================================= */

.theme-control {

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        15px;

    padding:
        15px 0;

}


.theme-control > div {

    display:
        flex;

    flex-direction:
        column;

    min-width:
        0;

}


.theme-control strong {

    color:
        var(--text);

    font-size:
        .92rem;

}


.theme-control span {

    margin-top:
        3px;

    color:
        var(--text-light);

    font-size:
        .72rem;

    line-height:
        1.4;

}


/* =========================================================
   20. MENU CTA
========================================================= */

.menu-cta {

    width:
        100%;

    min-height:
        50px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    margin-top:
        15px;

    padding:
        12px 18px;

    background:
        var(--primary);

    color:
        #ffffff;

    border-radius:
        11px;

    font-size:
        .88rem;

    font-weight:
        800;

    transition:
        transform .2s ease,
        background .2s ease;

}


.menu-cta:hover {

    transform:
        translateY(-2px);

    background:
        var(--primary-dark);

}


/* =========================================================
   21. SMALL PHONE HEADER
========================================================= */

@media (
    max-width: 520px
) {

    .header-container,
    .nav-container {

        width:
            calc(100% - 24px);

        min-height:
            66px;

        padding-right:
            54px;

        gap:
            7px;

    }


    .logo img,
    .brand-logo img {

        width:
            38px;

        height:
            38px;

        min-width:
            38px;

    }


    .logo-mark {

        width:
            38px;

        height:
            38px;

        min-width:
            38px;

        min-height:
            38px;

    }


    .logo-text h1,
    .logo-text h2,
    .logo-text strong {

        font-size:
            .8rem;

    }


    .logo-text p,
    .logo-text small {

        display:
            none;

    }


    #themeToggle,
    .theme-toggle {

        width:
            39px;

        height:
            39px;

        min-width:
            39px;

        min-height:
            39px;

        border-radius:
            9px;

        font-size:
            .9rem;

    }


    #menuBtn,
    .menu-btn,
    .menu-button {

        top:
            10px;

        right:
            11px;

        width:
            43px;

        height:
            43px;

        min-width:
            43px;

        min-height:
            43px;

        border-radius:
            10px;

    }


    #menuBtn::before,
    .menu-btn::before,
    .menu-button::before {

        font-size:
            25px;

    }


    .side-menu,
    #sideMenu {

        width:
            min(
                90vw,
                340px
            );

        padding:
            19px;

    }

}


/* =========================================================
   22. EXTRA SMALL PHONE
========================================================= */

@media (
    max-width: 365px
) {

    .logo-text h1,
    .logo-text h2,
    .logo-text strong {

        max-width:
            105px;

        overflow:
            hidden;

        text-overflow:
            ellipsis;

        white-space:
            nowrap;

    }


    .header-actions {

        gap:
            5px;

    }

}
/* =========================================================
   UYI DIGITAL
   STYLE.CSS — PART 2
   HERO • SERVICES • WHY UYI • PORTFOLIO
========================================================= */


/* =========================================================
   23. HERO SECTION
========================================================= */

.hero {

    position:
        relative;

    padding:
        95px 0 90px;

    overflow:
        hidden;

    background:
        linear-gradient(
            135deg,
            var(--bg),
            var(--surface)
        );

}


.hero::before {

    content:
        "";

    position:
        absolute;

    width:
        380px;

    height:
        380px;

    top:
        -170px;

    right:
        -160px;

    border-radius:
        50%;

    background:
        rgba(
            167,
            123,
            50,
            .08
        );

    pointer-events:
        none;

}


.hero-container {

    position:
        relative;

    z-index:
        2;

    width:
        min(
            calc(100% - 32px),
            900px
        );

    margin:
        0 auto;

    text-align:
        center;

}


.hero-badge {

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    margin-bottom:
        20px;

    padding:
        8px 15px;

    background:
        rgba(
            167,
            123,
            50,
            .08
        );

    color:
        var(--gold);

    border:
        1px solid
        rgba(
            167,
            123,
            50,
            .30
        );

    border-radius:
        999px;

    font-size:
        .7rem;

    font-weight:
        800;

    letter-spacing:
        .8px;

    text-transform:
        uppercase;

}


.hero h1 {

    max-width:
        850px;

    margin:
        0 auto 20px;

    color:
        var(--text);

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size:
        clamp(
            2.25rem,
            6vw,
            4.6rem
        );

    font-weight:
        800;

    line-height:
        1.08;

    letter-spacing:
        -.025em;

}


.hero p {

    max-width:
        700px;

    margin:
        0 auto;

    color:
        var(--text-soft);

    font-size:
        1rem;

    line-height:
        1.8;

}


.hero-buttons {

    display:
        flex;

    flex-wrap:
        wrap;

    align-items:
        center;

    justify-content:
        center;

    gap:
        13px;

    margin-top:
        30px;

}


/* =========================================================
   24. GENERAL BUTTONS
========================================================= */

.btn,
.btn-primary,
.btn-secondary,
.primary-button,
.secondary-button,
.outline-button {

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    min-height:
        49px;

    padding:
        11px 21px;

    border-radius:
        10px;

    font-size:
        .84rem;

    font-weight:
        800;

    text-decoration:
        none;

    transition:
        transform .2s ease,
        background .2s ease,
        color .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;

}


.btn:hover,
.btn-primary:hover,
.btn-secondary:hover,
.primary-button:hover,
.secondary-button:hover,
.outline-button:hover {

    transform:
        translateY(-2px);

}


.btn-primary,
.primary-button {

    background:
        var(--primary);

    color:
        #ffffff;

    border:
        1px solid
        var(--primary);

    box-shadow:
        0 9px 24px
        rgba(
            18,
            61,
            50,
            .15
        );

}


.btn-primary:hover,
.primary-button:hover {

    background:
        var(--primary-dark);

}


.btn-secondary,
.secondary-button,
.outline-button {

    background:
        transparent;

    color:
        var(--primary);

    border:
        1px solid
        var(--primary);

}


.btn-secondary:hover,
.secondary-button:hover,
.outline-button:hover {

    background:
        var(--primary);

    color:
        #ffffff;

}


/* =========================================================
   25. SECTION TITLE
========================================================= */

.section-title {

    max-width:
        760px;

    margin:
        0 auto 42px;

    text-align:
        center;

}


.section-label {

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    margin-bottom:
        13px;

    padding:
        6px 12px;

    background:
        rgba(
            167,
            123,
            50,
            .08
        );

    color:
        var(--gold);

    border:
        1px solid
        rgba(
            167,
            123,
            50,
            .28
        );

    border-radius:
        999px;

    font-size:
        .68rem;

    font-weight:
        800;

    letter-spacing:
        1px;

    text-transform:
        uppercase;

}


.section-title h2 {

    margin-bottom:
        13px;

    color:
        var(--text);

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size:
        clamp(
            1.9rem,
            5vw,
            3rem
        );

    line-height:
        1.15;

}


.section-title p {

    color:
        var(--text-soft);

    line-height:
        1.8;

}


/* =========================================================
   26. SERVICES SECTION
========================================================= */

.services {

    padding:
        90px 0;

    background:
        var(--surface);

}


.services .container {

    width:
        min(
            calc(100% - 32px),
            1000px
        );

}


/*
   IMPORTANT:
   Services are intentionally STACKED.
   They are NOT a 3-column grid.
*/

.services-grid {

    display:
        flex;

    flex-direction:
        column;

    gap:
        18px;

    width:
        100%;

    max-width:
        900px;

    margin:
        0 auto;

}


/* =========================================================
   27. SERVICE BOX
========================================================= */

.service-card {

    position:
        relative;

    width:
        100%;

    min-height:
        210px;

    display:
        flex;

    flex-direction:
        column;

    align-items:
        center;

    justify-content:
        center;

    padding:
        32px 35px;

    overflow:
        hidden;

    background:
        var(--surface);

    color:
        var(--text);

    border:
        1px solid
        var(--border);

    border-radius:
        18px;

    box-shadow:
        var(--shadow-sm);

    text-align:
        center;

    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease,
        background .25s ease;

}


/*
   Gold vertical accent.
*/

.service-card::before {

    content:
        "";

    position:
        absolute;

    top:
        0;

    left:
        0;

    width:
        4px;

    height:
        100%;

    background:
        var(--gold);

    border-radius:
        18px 0 0 18px;

}


/*
   Subtle top highlight.
*/

.service-card::after {

    content:
        "";

    position:
        absolute;

    top:
        0;

    left:
        0;

    right:
        0;

    height:
        1px;

    background:
        rgba(
            255,
            255,
            255,
            .7
        );

    pointer-events:
        none;

}


.service-card:hover {

    transform:
        translateY(-4px);

    border-color:
        var(--gold);

    box-shadow:
        var(--shadow-md);

}


/* =========================================================
   28. SERVICE ICON
========================================================= */

.service-icon {

    position:
        relative;

    z-index:
        1;

    width:
        58px;

    height:
        58px;

    min-width:
        58px;

    min-height:
        58px;

    display:
        grid;

    place-items:
        center;

    margin:
        0 auto 18px;

    background:
        var(--primary-light);

    color:
        var(--primary);

    border:
        1px solid
        rgba(
            18,
            61,
            50,
            .08
        );

    border-radius:
        14px;

    font-size:
        1.35rem;

}


/* =========================================================
   29. SERVICE TITLE
========================================================= */

.service-card h3 {

    position:
        relative;

    z-index:
        1;

    margin:
        0;

    color:
        var(--text);

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size:
        1.38rem;

    font-weight:
        700;

    line-height:
        1.25;

}


/* =========================================================
   30. SERVICE DESCRIPTION
========================================================= */

.service-card p {

    position:
        relative;

    z-index:
        1;

    max-width:
        650px;

    margin:
        9px auto 0;

    color:
        var(--text-soft);

    font-size:
        .88rem;

    line-height:
        1.7;

}


/* =========================================================
   31. WHY UYI SECTION
========================================================= */

.why-us {

    padding:
        90px 0;

    background:
        var(--bg);

}


.why-grid {

    display:
        grid;

    grid-template-columns:
        repeat(
            4,
            minmax(
                0,
                1fr
            )
        );

    gap:
        16px;

}


.why-card {

    min-height:
        180px;

    padding:
        25px;

    background:
        var(--surface);

    border:
        1px solid
        var(--border);

    border-radius:
        14px;

    box-shadow:
        var(--shadow-sm);

    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;

}


.why-card:hover {

    transform:
        translateY(-4px);

    border-color:
        var(--gold);

    box-shadow:
        var(--shadow-md);

}


.why-card h3 {

    color:
        var(--text);

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size:
        1.05rem;

    line-height:
        1.3;

}


.why-card p {

    margin-top:
        9px;

    color:
        var(--text-soft);

    font-size:
        .82rem;

    line-height:
        1.7;

}


/* =========================================================
   32. PORTFOLIO SECTION
========================================================= */

.portfolio {

    padding:
        90px 0;

    background:
        var(--surface);

}


.portfolio-grid,
#portfolioProjectList {

    display:
        grid;

    grid-template-columns:
        repeat(
            3,
            minmax(
                0,
                1fr
            )
        );

    gap:
        20px;

}


.portfolio-card {

    position:
        relative;

    overflow:
        hidden;

    background:
        var(--surface);

    border:
        1px solid
        var(--border);

    border-radius:
        15px;

    box-shadow:
        var(--shadow-sm);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;

}


.portfolio-card:hover {

    transform:
        translateY(-5px);

    border-color:
        var(--gold);

    box-shadow:
        var(--shadow-md);

}


.portfolio-card img {

    width:
        100%;

    height:
        210px;

    object-fit:
        cover;

}


.portfolio-card-content {

    padding:
        21px;

}


.portfolio-card h3 {

    color:
        var(--text);

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size:
        1.2rem;

    line-height:
        1.3;

}


.portfolio-card p {

    margin-top:
        8px;

    color:
        var(--text-soft);

    font-size:
        .82rem;

    line-height:
        1.65;

}


/* =========================================================
   33. EMPTY PORTFOLIO
========================================================= */

.portfolio-empty {

    grid-column:
        1 / -1;

    padding:
        55px 25px;

    background:
        var(--bg);

    border:
        1px dashed
        var(--border-dark);

    border-radius:
        18px;

    text-align:
        center;

}


.portfolio-empty h3 {

    margin-bottom:
        10px;

    color:
        var(--text);

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size:
        1.35rem;

}


.portfolio-empty p {

    max-width:
        650px;

    margin:
        0 auto;

    color:
        var(--text-soft);

}


/* =========================================================
   34. MENU LAYER FIX
   THE HAMBURGER MUST NOT COVER THE CLOSE BUTTON
========================================================= */


/*
   When the side menu is active, it sits ABOVE
   the hamburger button.
*/

.side-menu.active,
#sideMenu.active {

    z-index:
        10010;

}


/*
   Close button is above every element inside
   the side menu.
*/

.side-menu .close-menu,
.side-menu #closeMenu,
#sideMenu .close-menu,
#sideMenu #closeMenu {

    position:
        relative;

    z-index:
        10020;

}


/*
   The overlay stays underneath the side menu.
*/

.menu-overlay,
#menuOverlay {

    z-index:
        10000;

}


/*
   Hamburger stays below the open side menu.
*/

#menuBtn,
.menu-btn,
.menu-button {

    z-index:
        9990;

}


/* =========================================================
   35. TABLET
========================================================= */

@media (
    max-width: 1000px
) {

    .why-grid {

        grid-template-columns:
            repeat(
                2,
                minmax(
                    0,
                    1fr
                )
            );

    }


    .portfolio-grid,
    #portfolioProjectList {

        grid-template-columns:
            repeat(
                2,
                minmax(
                    0,
                    1fr
                )
            );

    }

}


/* =========================================================
   36. MOBILE
========================================================= */

@media (
    max-width: 700px
) {

    .hero {

        padding:
            78px 0 70px;

    }


    .hero h1 {

        font-size:
            clamp(
                2rem,
                10vw,
                3.2rem
            );

    }


    .services,
    .why-us,
    .portfolio {

        padding:
            70px 0;

    }


    /*
       Service boxes remain wide rectangular boxes,
       but become slightly shorter on phones.
    */

    .service-card {

        min-height:
            185px;

        padding:
            27px 22px;

        border-radius:
            15px;

    }


    .service-icon {

        width:
            52px;

        height:
            52px;

        min-width:
            52px;

        min-height:
            52px;

        margin-bottom:
            14px;

    }


    .service-card h3 {

        font-size:
            1.18rem;

    }


    .service-card p {

        font-size:
            .8rem;

    }


    .why-grid {

        grid-template-columns:
            1fr;

    }


    .portfolio-grid,
    #portfolioProjectList {

        grid-template-columns:
            1fr;

    }

}


/* =========================================================
   37. SMALL PHONE
========================================================= */

@media (
    max-width: 520px
) {

    .hero-buttons {

        flex-direction:
            column;

        align-items:
            stretch;

    }


    .hero-buttons .btn,
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {

        width:
            100%;

    }


    .section-title {

        margin-bottom:
            32px;

    }


    .section-title h2 {

        font-size:
            2rem;

    }


    .service-card {

        min-height:
            175px;

        padding:
            24px 17px;

    }


    .service-card h3 {

        font-size:
            1.08rem;

    }


    .service-card p {

        max-width:
            95%;

        font-size:
            .77rem;

    }


    .portfolio-card img {

        height:
            190px;

    }

}


/* =========================================================
   38. EXTRA SMALL PHONE
========================================================= */

@media (
    max-width: 365px
) {

    .service-card {

        padding:
            22px 14px;

    }


    .service-icon {

        width:
            48px;

        height:
            48px;

        min-width:
            48px;

        min-height:
            48px;

    }


    .service-card h3 {

        font-size:
            1rem;

    }


    .service-card p {

        font-size:
            .74rem;

    }

}
/* =========================================================
   UYI DIGITAL
   STYLE.CSS — PART 3
   PORTFOLIO • FORMS • CONTACT • FOOTER • UTILITIES
========================================================= */


/* =========================================================
   39. PORTFOLIO IMAGE
========================================================= */

.portfolio-image {

    position: relative;

    width: 100%;
    height: 220px;

    overflow: hidden;

    background: var(--surface-soft);

}

.portfolio-image img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .35s ease;

}

.portfolio-card:hover .portfolio-image img {

    transform: scale(1.04);

}


/* =========================================================
   40. PORTFOLIO ACTIONS
========================================================= */

.portfolio-actions {

    display: flex;

    flex-wrap: wrap;

    gap: 9px;

    margin-top: 18px;

}

.portfolio-actions a,
.portfolio-actions button {

    min-height: 42px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 9px 15px;

    background: var(--primary);

    color: #fff;

    border: 1px solid var(--primary);

    border-radius: 9px;

    font-size: .78rem;

    font-weight: 700;

    text-decoration: none;

    cursor: pointer;

    transition:
        transform .2s ease,
        background .2s ease,
        border-color .2s ease;

}

.portfolio-actions a:hover,
.portfolio-actions button:hover {

    transform: translateY(-2px);

    background: var(--primary-dark);

    border-color: var(--primary-dark);

}

.portfolio-actions .preview-btn {

    background: transparent;

    color: var(--primary);

    border-color: var(--primary);

}

.portfolio-actions .preview-btn:hover {

    background: var(--primary);

    color: #fff;

}


/* =========================================================
   41. IMAGE VIEWER / LIGHTBOX
========================================================= */

.image-viewer,
.image-modal,
#imageViewer,
#imageModal {

    position: fixed;

    inset: 0;

    z-index: 11000;

    display: none;

    align-items: center;

    justify-content: center;

    padding: 25px;

    background:
        rgba(0, 0, 0, .88);

}

.image-viewer.active,
.image-modal.active,
#imageViewer.active,
#imageModal.active {

    display: flex;

}

.image-viewer img,
.image-modal img,
#imageViewer img,
#imageModal img {

    display: block;

    max-width: 94vw;

    max-height: 86vh;

    width: auto;

    height: auto;

    object-fit: contain;

    border-radius: 8px;

    box-shadow:
        0 25px 80px
        rgba(0, 0, 0, .45);

}

.image-viewer-close,
.image-modal-close,
#imageViewerClose,
#imageModalClose {

    position: absolute;

    top: 18px;
    right: 18px;

    z-index: 11020;

    width: 46px;
    height: 46px;

    display: grid;

    place-items: center;

    padding: 0;

    background: rgba(255,255,255,.12);

    color: #fff;

    border: 1px solid rgba(255,255,255,.25);

    border-radius: 50%;

    font-size: 1.3rem;

    cursor: pointer;

}

.image-viewer-close:hover,
.image-modal-close:hover,
#imageViewerClose:hover,
#imageModalClose:hover {

    background: rgba(255,255,255,.25);

}


/* =========================================================
   42. CONTACT SECTION
========================================================= */

.contact-section,
.contact {

    padding: 90px 0;

    background: var(--bg);

}

.contact-grid {

    display: grid;

    grid-template-columns:
        minmax(0, .85fr)
        minmax(0, 1.15fr);

    gap: 25px;

}

.contact-info,
.contact-form-wrapper {

    padding: 30px;

    background: var(--surface);

    border: 1px solid var(--border);

    border-radius: 17px;

    box-shadow: var(--shadow-sm);

}

.contact-info h3,
.contact-form-wrapper h3 {

    color: var(--text);

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 1.45rem;

}

.contact-info p {

    margin-top: 10px;

    color: var(--text-soft);

    font-size: .88rem;

    line-height: 1.75;

}

.contact-details {

    display: grid;

    gap: 12px;

    margin-top: 25px;

}

.contact-item {

    display: flex;

    align-items: flex-start;

    gap: 12px;

    padding: 13px;

    background: var(--bg);

    border: 1px solid var(--border);

    border-radius: 10px;

}

.contact-item-icon {

    width: 40px;
    height: 40px;

    min-width: 40px;

    display: grid;

    place-items: center;

    background: var(--primary-light);

    color: var(--primary);

    border-radius: 9px;

}

.contact-item strong {

    display: block;

    color: var(--text);

    font-size: .82rem;

}

.contact-item span,
.contact-item a {

    display: block;

    margin-top: 2px;

    color: var(--text-soft);

    font-size: .78rem;

}


/* =========================================================
   43. FORM
========================================================= */

.form-group {

    margin-bottom: 17px;

}

.form-group label {

    display: block;

    margin-bottom: 7px;

    color: var(--text);

    font-size: .8rem;

    font-weight: 700;

}

.form-group input,
.form-group textarea,
.form-group select,
.contact-form input,
.contact-form textarea,
.contact-form select {

    width: 100%;

    padding: 12px 14px;

    background: var(--surface);

    color: var(--text);

    border: 1px solid var(--border);

    border-radius: 9px;

    outline: none;

    font-size: .84rem;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;

}

.form-group textarea,
.contact-form textarea {

    min-height: 130px;

    resize: vertical;

}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus,
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {

    border-color: var(--primary);

    box-shadow:
        0 0 0 3px
        rgba(18,61,50,.08);

}

.form-submit,
.contact-form button[type="submit"] {

    width: 100%;

    min-height: 49px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 12px 20px;

    background: var(--primary);

    color: #fff;

    border: 1px solid var(--primary);

    border-radius: 10px;

    font-size: .84rem;

    font-weight: 800;

    cursor: pointer;

    transition:
        transform .2s ease,
        background .2s ease;

}

.form-submit:hover,
.contact-form button[type="submit"]:hover {

    transform: translateY(-2px);

    background: var(--primary-dark);

}


/* =========================================================
   44. SOCIAL BUTTONS
========================================================= */

.social-links {

    display: flex;

    flex-wrap: wrap;

    gap: 9px;

    margin-top: 20px;

}

.social-links a {

    min-width: 40px;
    min-height: 40px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 8px 12px;

    background: var(--surface);

    color: var(--primary);

    border: 1px solid var(--border);

    border-radius: 9px;

    font-size: .76rem;

    font-weight: 700;

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;

}

.social-links a:hover {

    transform: translateY(-2px);

    background: var(--primary);

    color: #fff;

}


/* =========================================================
   45. GENERIC ACTION BUTTON FIX
   Prevents buttons from appearing as plain writing.
========================================================= */

button:not(.unstyled),
a.btn,
a.button,
a.primary-button,
a.secondary-button,
button.primary-button,
button.secondary-button {

    text-decoration: none;

}


/* =========================================================
   46. FOOTER
========================================================= */

.site-footer,
footer {

    padding: 55px 0 25px;

    background: var(--primary-dark);

    color: #fff;

}

.footer-grid {

    display: grid;

    grid-template-columns:
        1.4fr
        1fr
        1fr
        1fr;

    gap: 30px;

    padding-bottom: 35px;

}

.footer-brand h2,
.footer-column h3 {

    color: #fff;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

}

.footer-brand h2 {

    font-size: 1.3rem;

}

.footer-brand p {

    max-width: 330px;

    margin-top: 10px;

    color: rgba(255,255,255,.68);

    font-size: .78rem;

    line-height: 1.7;

}

.footer-column h3 {

    margin-bottom: 12px;

    font-size: .95rem;

}

.footer-column a {

    display: block;

    width: fit-content;

    margin-bottom: 7px;

    color: rgba(255,255,255,.68);

    font-size: .76rem;

    transition: color .2s ease;

}

.footer-column a:hover {

    color: #fff;

}

.footer-bottom {

    padding-top: 22px;

    border-top:
        1px solid
        rgba(255,255,255,.12);

    color: rgba(255,255,255,.55);

    font-size: .7rem;

    text-align: center;

}


/* =========================================================
   47. TOAST / NOTIFICATION
========================================================= */

.toast,
#toast {

    position: fixed;

    left: 50%;

    bottom: 25px;

    z-index: 12000;

    max-width: calc(100% - 30px);

    padding: 12px 17px;

    background: var(--primary-dark);

    color: #fff;

    border-radius: 10px;

    box-shadow: var(--shadow-md);

    font-size: .78rem;

    transform:
        translate(-50%, 140%);

    opacity: 0;

    pointer-events: none;

    transition:
        transform .3s ease,
        opacity .3s ease;

}

.toast.show,
#toast.show {

    transform:
        translate(-50%, 0);

    opacity: 1;

}


/* =========================================================
   48. LOADING
========================================================= */

.loading,
.loader {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

}

.loading::after,
.loader::after {

    content: "";

    width: 16px;
    height: 16px;

    border:
        2px solid
        currentColor;

    border-right-color:
        transparent;

    border-radius: 50%;

    animation:
        uyi-spin .7s linear infinite;

}

@keyframes uyi-spin {

    to {

        transform:
            rotate(360deg);

    }

}


/* =========================================================
   49. VISUALLY HIDDEN
========================================================= */

.visually-hidden {

    position: absolute;

    width: 1px;
    height: 1px;

    padding: 0;
    margin: -1px;

    overflow: hidden;

    clip: rect(0,0,0,0);

    white-space: nowrap;

    border: 0;

}


/* =========================================================
   50. MOBILE CONTACT / FOOTER
========================================================= */

@media (max-width: 800px) {

    .contact-grid {

        grid-template-columns: 1fr;

    }

    .footer-grid {

        grid-template-columns:
            repeat(2, minmax(0,1fr));

    }

}


/* =========================================================
   51. SMALL PHONE
========================================================= */

@media (max-width: 520px) {

    .contact-section,
    .contact {

        padding: 70px 0;

    }

    .contact-info,
    .contact-form-wrapper {

        padding: 21px;

    }

    .footer-grid {

        grid-template-columns: 1fr;

        gap: 25px;

    }

    .portfolio-actions {

        flex-direction: column;

    }

    .portfolio-actions a,
    .portfolio-actions button {

        width: 100%;

    }

    .image-viewer,
    .image-modal,
    #imageViewer,
    #imageModal {

        padding: 15px;

    }

    .image-viewer img,
    .image-modal img,
    #imageViewer img,
    #imageModal img {

        max-width: 96vw;

        max-height: 82vh;

    }

}


/* =========================================================
   52. ACCESSIBILITY
========================================================= */

:focus-visible {

    outline:
        3px solid
        rgba(
            167,
            123,
            50,
            .55
        );

    outline-offset:
        3px;

}


/* =========================================================
   53. REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {

        scroll-behavior: auto !important;

        animation-duration:
            .01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            .01ms !important;

    }

}
/* =========================================================
   UYI DIGITAL — FINAL BUTTON REPAIR
   Put this at the VERY END of style.css
========================================================= */


/* ---------------------------------------------------------
   ALL STANDARD BUTTONS
--------------------------------------------------------- */

.btn,
.btn-primary,
.btn-secondary,
.primary-button,
.secondary-button,
.cta-button,
.menu-cta,
.form-submit,
.contact-submit,
.portfolio-project-button a {

    display: inline-flex !important;

    align-items: center !important;

    justify-content: center !important;

    gap: 8px;

    min-height: 46px;

    padding: 11px 19px !important;

    background: var(--primary) !important;

    color: #ffffff !important;

    border: 1px solid var(--primary) !important;

    border-radius: 10px !important;

    font-family:
        "DM Sans",
        Arial,
        sans-serif !important;

    font-size: .82rem !important;

    font-weight: 800 !important;

    line-height: 1.2 !important;

    text-decoration: none !important;

    cursor: pointer;

    box-shadow:
        0 7px 20px
        rgba(18,61,50,.12);

    transition:
        transform .2s ease,
        background .2s ease,
        color .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;

}


/* ---------------------------------------------------------
   HOVER
--------------------------------------------------------- */

.btn:hover,
.btn-primary:hover,
.primary-button:hover,
.cta-button:hover,
.menu-cta:hover,
.form-submit:hover,
.contact-submit:hover,
.portfolio-project-button a:hover {

    background: var(--primary-dark) !important;

    color: #ffffff !important;

    border-color: var(--primary-dark) !important;

    transform:
        translateY(-2px);

    box-shadow:
        0 10px 25px
        rgba(18,61,50,.18);

}


/* ---------------------------------------------------------
   SECONDARY BUTTON
--------------------------------------------------------- */

.btn-secondary,
.secondary-button {

    background:
        transparent !important;

    color:
        var(--primary) !important;

    border:
        1px solid
        var(--primary) !important;

    box-shadow:
        none;

}


.btn-secondary:hover,
.secondary-button:hover {

    background:
        var(--primary) !important;

    color:
        #ffffff !important;

    border-color:
        var(--primary) !important;

}


/* ---------------------------------------------------------
   HERO BUTTONS
--------------------------------------------------------- */

.hero-buttons .btn {

    min-width:
        145px;

}


/* ---------------------------------------------------------
   SERVICE PAGE BUTTONS
--------------------------------------------------------- */

.service-page-card .btn {

    align-self:
        flex-start;

    margin-top:
        auto;

}


/* ---------------------------------------------------------
   PORTFOLIO BUTTON
--------------------------------------------------------- */

.portfolio-project-button {

    width:
        100%;

    margin-top:
        auto;

    padding-top:
        20px;

}


.portfolio-project-button a {

    width:
        100%;

}


/* ---------------------------------------------------------
   CONTACT SUBMIT
--------------------------------------------------------- */

.contact-submit,
.form-submit {

    width:
        100%;

}


/* ---------------------------------------------------------
   MENU CTA
--------------------------------------------------------- */

.menu-cta {

    width:
        100%;

    margin-top:
        15px;

}


/* ---------------------------------------------------------
   PROMOTION PURCHASE BUTTON
--------------------------------------------------------- */

.public-purchase-button,
.public-promotion-card .btn,
.offer-card .btn {

    display:
        inline-flex !important;

    align-items:
        center !important;

    justify-content:
        center !important;

    min-height:
        46px;

    padding:
        11px 19px !important;

    background:
        var(--primary) !important;

    color:
        #ffffff !important;

    border:
        1px solid
        var(--primary) !important;

    border-radius:
        10px !important;

    font-weight:
        800 !important;

    text-decoration:
        none !important;

}


/* ---------------------------------------------------------
   SOCIAL BUTTONS
--------------------------------------------------------- */

.social-links a,
.social-link {

    display:
        inline-flex !important;

    align-items:
        center !important;

    justify-content:
        center !important;

    gap:
        7px;

    min-height:
        42px;

    padding:
        9px 13px !important;

    background:
        var(--surface) !important;

    color:
        var(--primary) !important;

    border:
        1px solid
        var(--border) !important;

    border-radius:
        9px !important;

    text-decoration:
        none !important;

    font-size:
        .76rem !important;

    font-weight:
        700 !important;

}


.social-links a:hover,
.social-link:hover {

    background:
        var(--primary) !important;

    color:
        #ffffff !important;

    border-color:
        var(--primary) !important;

}


/* ---------------------------------------------------------
   SEE MORE — KEEP IT AS A TEXT CONTROL,
   BECAUSE IT IS NOT A MAIN ACTION BUTTON.
--------------------------------------------------------- */

.see-more-button {

    display:
        inline-flex !important;

    align-items:
        center;

    width:
        auto;

    min-height:
        auto;

    padding:
        5px 0 !important;

    background:
        transparent !important;

    color:
        var(--primary) !important;

    border:
        none !important;

    border-radius:
        0 !important;

    box-shadow:
        none !important;

    font-size:
        .78rem !important;

    font-weight:
        800 !important;

    cursor:
        pointer;

}


.see-more-button:hover {

    background:
        transparent !important;

    color:
        var(--gold) !important;

    transform:
        none;

}


/* ---------------------------------------------------------
   DISABLED BUTTONS
--------------------------------------------------------- */

button:disabled,
.btn:disabled,
.btn-primary:disabled,
.btn-secondary:disabled {

    opacity:
        .55;

    cursor:
        not-allowed;

    transform:
        none !important;

    box-shadow:
        none !important;

}


/* ---------------------------------------------------------
   MOBILE
--------------------------------------------------------- */

@media (max-width: 520px) {

    .hero-buttons {

        width:
            100%;

    }

    .hero-buttons .btn {

        width:
            100%;

        min-width:
            0;

    }

}
/* =========================================================
   FINAL PORTFOLIO IMAGE VIEWER FIX
========================================================= */

#projectImageViewer.project-image-viewer {

    position: fixed !important;

    inset: 0 !important;

    z-index: 999999 !important;

    display: none;

    align-items: center !important;

    justify-content: center !important;

    width: 100vw !important;

    height: 100vh !important;

    height: 100dvh !important;

    padding: 20px !important;

    box-sizing: border-box !important;

    background: rgba(
        4,
        8,
        6,
        .94
    ) !important;

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

}


#projectImageViewer
.project-image-viewer-box {

    position: relative !important;

    width: min(
        1100px,
        96vw
    ) !important;

    max-width: 1100px !important;

    max-height: 92vh !important;

    max-height: 92dvh !important;

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    box-sizing: border-box !important;

    padding: 12px !important;

    background: var(--surface) !important;

    border: 1px solid var(--border) !important;

    border-radius: 15px !important;

    box-shadow:
        0 25px 80px
        rgba(0,0,0,.45) !important;

}


#projectImageViewer
.project-image-viewer-box img {

    display: block !important;

    width: auto !important;

    height: auto !important;

    max-width: 100% !important;

    max-height: calc(
        92vh - 24px
    ) !important;

    max-height: calc(
        92dvh - 24px
    ) !important;

    object-fit: contain !important;

    border-radius: 8px !important;

}


#projectImageViewer
.project-image-close {

    position: absolute !important;

    top: -12px !important;

    right: -12px !important;

    z-index: 5 !important;

    width: 44px !important;

    height: 44px !important;

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    padding: 0 !important;

    background: var(--primary) !important;

    color: #fff !important;

    border: 3px solid var(--surface) !important;

    border-radius: 50% !important;

    font-size: 28px !important;

    line-height: 1 !important;

    cursor: pointer !important;

}


/* MOBILE */

@media (max-width: 520px) {

    #projectImageViewer.project-image-viewer {

        padding: 10px !important;

    }


    #projectImageViewer
    .project-image-viewer-box {

        width: 96vw !important;

        max-height: 94dvh !important;

        padding: 7px !important;

        border-radius: 12px !important;

    }


    #projectImageViewer
    .project-image-viewer-box img {

        max-width: 100% !important;

        max-height: calc(
            94dvh - 14px
        ) !important;

    }


    #projectImageViewer
    .project-image-close {

        top: -9px !important;

        right: -7px !important;

        width: 40px !important;

        height: 40px !important;

        font-size: 25px !important;

    }

}

/* Deep repair: public dynamic service CTA */
.service-home-more {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    margin-top: 8px;
}

[data-social][aria-disabled="true"],
#whatsappLink[aria-disabled="true"],
#phoneLink[aria-disabled="true"],
#emailLink[aria-disabled="true"] {
    cursor: default;
}
