/*--------------------------------------------------------------
# Font & Color Variables — "Orbit: Systems & Signal"
# ap16 brand system: corporate blue is the primary/dominant color
# (Deep Blue / Signal Blue), with Brass as a considered warm accent
# against it, on a warm Paper ground.
--------------------------------------------------------------*/
/* Fonts */
:root {
    --default-font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --heading-font: "Poppins", var(--default-font);
    --nav-font: "Poppins", var(--default-font);
    --mono-font: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
    --background-color: #f6f1e7; /* Paper — page background */
    --background-color-gradient: #ede5d5; /* Paper, one step darker, for gradients */
    --default-color: #26313f; /* Body copy — blue-black, tuned for contrast on Paper */
    --heading-color: #123a5c; /* Deep Blue — the corporate colour; headings */
    --accent-color: #c98a34; /* Brass — CTAs, active states, used sparingly against blue */
    --secondary-color: #4a90c4; /* Signal Blue — links, secondary accents */
    --surface-color: #ffffff; /* Card/box surfaces on top of Paper */
    --surface-dark: #1b4a73; /* Deep Blue, one step lighter — dark surfaces (footer, dark sections) */
    --contrast-color: #f6f1e7; /* Text on dark/accent surfaces */
    --accent-text: #946219; /* Brass darkened for text on light surfaces (WCAG AA 4.5:1 on Paper and white) */
    --accent-contrast: #0f2238; /* Text/icons on Brass-filled buttons and badges (5.5:1) */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
    --nav-color: #f6f1e7; /* The default color of the main navmenu links */
    --nav-hover-color: #c98a34; /* Applied to main navmenu links when they are hovered over or active */
    --nav-mobile-background-color: #123a5c; /* Used as the background color for mobile navigation menu */
    --nav-dropdown-background-color: #123a5c; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
    --nav-dropdown-color: #f6f1e7; /* Used for navigation links of the dropdown items in the navigation menu. */
    --nav-dropdown-hover-color: #c98a34; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
    --background-color: #ede5d5;
    --accent-text: #8a5a14; /* #946219 drops below 4.5:1 on this darker Paper */
    --surface-color: #ffffff;
}

/* Dark surfaces keep the original Brass for text - darkening it would lower contrast against blue */
.dark-background,
.header,
.jumbotron,
.cta-band,
.quote-block,
.footer {
    --accent-text: var(--accent-color);
}

.dark-background {
    --background-color: #123a5c;
    --default-color: #cfe0ee;
    --heading-color: #f6f1e7;
    --surface-color: #1b4a73;
    --contrast-color: #f6f1e7;
}

/* Smooth scroll */
:root {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    :root {
        scroll-behavior: auto;
    }

    /* Near-zero rather than 0 so animationend/transitionend still fire for scripts
       (Bootstrap collapse, Swiper) that wait on them. JS-driven motion (smooth
       scrollTo, Swiper speed) is handled separately in main.js. */
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-delay: 0s !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        transition-delay: 0s !important;
        scroll-behavior: auto !important;
    }

    /* Instant transitions still leave hover lifts/zooms jumping, so drop the movement
       itself; colour, border and shadow changes stay as the hover cue. */
    .services .service-item:hover,
    .case-study-card:hover,
    .jobs .post-item:hover,
    .jobs .post-item:hover .post-img img,
    .work-process .steps-item:hover,
    .work-process .steps-item:hover .steps-image img,
    .team .team-member:hover,
    .recent-blog-postst .post-item:hover .post-img img,
    .clients .swiper-slide img:hover,
    .about .read-more:hover i {
        transform: none !important;
    }

    /* Fixed backgrounds scroll at a different rate to the page (parallax) */
    .services.services-parallax {
        background-attachment: scroll !important;
    }
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
    color: var(--default-color);
    background-color: var(--background-color);
    font-family: var(--default-font);
}

a {
    color: var(--accent-text);
    text-decoration: none;
    transition: 0.3s;
}

    a:hover {
        color: color-mix(in srgb, var(--accent-color), transparent 25%);
        text-decoration: none;
    }

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading-color);
    font-family: var(--heading-font);
    font-weight: 400;
}

h1.h1-contrast,
h2.h2-contrast,
h3.h3-contrast,
h4.h4-contrast,
h5.h5-contrast,
h6.h6-contrast {
    color: var(--contrast-color);
    font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
    display: none;
    background: #a8402f;
    color: #f6f1e7;
    text-align: left;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

/* Replaces the contact form once a message has been sent */
.contact-thank-you {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 320px;
    padding: 30px;
    text-align: center;
    background-color: var(--surface-color);
    border-top: 3px solid #3f7d5c;
}

    .contact-thank-you[hidden] {
        display: none;
    }

    .contact-thank-you:focus {
        outline: none;
    }

    .contact-thank-you i {
        font-size: 48px;
        color: #3f7d5c;
        margin-bottom: 12px;
    }

    .contact-thank-you h3 {
        font-weight: 700;
        margin-bottom: 8px;
    }

    .contact-thank-you p {
        margin: 0;
    }

/* Contact form honeypot field - off-screen for people, still present for bots */
.contact-hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.php-email-form .form-control {
    background-color: var(--surface-color);
    border: 1px solid color-mix(in srgb, var(--heading-color), transparent 75%);
    color: var(--default-color);
    border-radius: 2px;
}

    .php-email-form .form-control:focus {
        border-color: var(--accent-color);
        box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color), transparent 75%);
    }

.php-email-form .loading {
    display: none;
    background: var(--surface-color);
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
}

    .php-email-form .loading:before {
        content: "";
        display: inline-block;
        border-radius: 50%;
        width: 24px;
        height: 24px;
        margin: 0 10px -6px 0;
        border: 3px solid var(--accent-color);
        border-top-color: var(--surface-color);
        animation: php-email-form-loading 1s linear infinite;
    }

@keyframes php-email-form-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Buttons & bands
------------------------------*/
.grey-bg {
    background-color: color-mix(in srgb, var(--heading-color), transparent 94%);
}

.btn-primary,
.btn-primary:visited {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--accent-contrast);
}

    .btn-primary:hover,
    .btn-primary:focus,
    .btn-primary:active {
        background-color: color-mix(in srgb, var(--accent-color), black 10%);
        border-color: color-mix(in srgb, var(--accent-color), black 10%);
        color: var(--accent-contrast);
    }

.cta-band {
    background-color: var(--surface-dark);
    color: #f6f1e7;
    padding: 20px 0;
}

    .cta-band h2 {
        color: #f6f1e7;
    }

.btn-accent,
.btn-accent:visited {
    display: inline-block;
    background-color: var(--accent-color);
    border: 2px solid var(--accent-color);
    color: var(--accent-contrast);
    font-family: var(--heading-font);
    font-weight: 600;
    padding: 10px 26px;
    border-radius: 2px;
    transition: 0.3s;
}

    .btn-accent:hover,
    .btn-accent:focus {
        background-color: transparent;
        color: var(--accent-text);
    }

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
    --background-color: #0b2438;
    --heading-color: #f6f1e7;
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 15px 0;
    border-bottom: 1px solid color-mix(in srgb, var(--accent-color), transparent 70%);
    transition: all 0.5s;
    z-index: 997;
}

body.scrolled .header {
    box-shadow: 0 2px 24px rgba(18, 58, 92, 0.25);
}

    .header .logo {
        line-height: 1;
    }

        .header .logo img {
            max-height: 48px;
            margin-right: 10px;
        }

        .header .logo h1 {
            font-size: 26px;
            margin: 0;
            font-weight: 400;
            font-family: var(--heading-font);
            color: var(--heading-color);
            letter-spacing: 0.5px;
        }

@media (max-width: 400px) {
    .header .logo img {
        max-height: 36px;
        margin-right: 8px;
    }

    .header .logo h1 {
        font-size: 22px;
    }
}

    .header .btn-getstarted,
    .header .btn-getstarted:focus {
        color: var(--accent-contrast);
        background: var(--accent-color);
        font-size: 14px;
        padding: 8px 25px;
        margin: 0 0 0 30px;
        border-radius: 50px;
        transition: 0.3s;
    }

        .header .btn-getstarted:hover,
        .header .btn-getstarted:focus:hover {
            color: var(--accent-contrast);
            background: color-mix(in srgb, var(--accent-color), transparent 15%);
        }

@media (max-width: 1200px) {
    .header .logo {
        order: 1;
    }

    .header .btn-getstarted {
        order: 2;
        margin: 0 15px 0 0;
        padding: 6px 15px;
    }

    .header .navmenu {
        order: 3;
    }
}

/* Index Page Header
------------------------------*/
.index-page .header {
    --background-color: rgba(255, 255, 255, 0);
    --heading-color: #ffffff;
    --nav-color: #ffffff;
}

/* Index Page Header on Scroll
------------------------------*/
.index-page.scrolled .header {
    --background-color: rgba(40, 58, 90, 0.9);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
@media (min-width: 1200px) {
    .navmenu {
        padding: 0;
    }

        .navmenu ul {
            margin: 0;
            padding: 0;
            display: flex;
            list-style: none;
            align-items: center;
        }

        .navmenu li {
            position: relative;
        }

        .navmenu a,
        .navmenu a:focus {
            position: relative;
            color: var(--nav-color);
            padding: 18px 15px;
            font-size: 15px;
            font-family: var(--nav-font);
            font-weight: 400;
            display: flex;
            align-items: center;
            justify-content: space-between;
            white-space: nowrap;
            transition: 0.3s;
        }

            .navmenu a i,
            .navmenu a:focus i {
                font-size: 12px;
                line-height: 0;
                margin-left: 5px;
                transition: 0.3s;
            }

            .navmenu a::after {
                content: "";
                position: absolute;
                left: 15px;
                right: 15px;
                bottom: 12px;
                height: 2px;
                background-color: var(--nav-hover-color);
                transform: scaleX(0);
                transform-origin: left;
                transition: transform 0.3s ease;
            }

        .navmenu li:last-child a {
            padding-right: 0;
        }

        .navmenu li:hover > a,
        .navmenu .active,
        .navmenu .active:focus {
            color: var(--nav-hover-color);
        }

        .navmenu li:hover > a::after,
        .navmenu a:focus-visible::after,
        .navmenu .active::after {
            transform: scaleX(1);
        }

        .navmenu .dropdown ul {
            margin: 0;
            padding: 10px 0;
            background: var(--nav-dropdown-background-color);
            display: block;
            position: absolute;
            visibility: hidden;
            left: 14px;
            top: 130%;
            opacity: 0;
            transition: 0.3s;
            border-radius: 4px;
            z-index: 99;
            box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
        }

            .navmenu .dropdown ul li {
                min-width: 200px;
            }

            .navmenu .dropdown ul a {
                padding: 10px 20px;
                font-size: 15px;
                text-transform: none;
                color: var(--nav-dropdown-color);
            }

                .navmenu .dropdown ul a i {
                    font-size: 12px;
                }

                .navmenu .dropdown ul a:hover,
                .navmenu .dropdown ul .active:hover,
                .navmenu .dropdown ul li:hover > a {
                    color: var(--nav-dropdown-hover-color);
                }

        .navmenu .dropdown:hover > ul {
            opacity: 1;
            top: 100%;
            visibility: visible;
        }

        .navmenu .dropdown .dropdown ul {
            top: 0;
            left: -90%;
            visibility: hidden;
        }

        .navmenu .dropdown .dropdown:hover > ul {
            opacity: 1;
            top: 0;
            left: -100%;
            visibility: visible;
        }

        .navmenu .megamenu {
            position: static;
        }

            .navmenu .megamenu ul {
                margin: 0;
                padding: 10px;
                background: var(--nav-dropdown-background-color);
                box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
                position: absolute;
                top: 130%;
                left: 0;
                right: 0;
                visibility: hidden;
                opacity: 0;
                display: flex;
                transition: 0.3s;
                border-radius: 4px;
                z-index: 99;
            }

                .navmenu .megamenu ul li {
                    flex: 1;
                }

                    .navmenu .megamenu ul li a,
                    .navmenu .megamenu ul li:hover > a {
                        padding: 10px 20px;
                        font-size: 15px;
                        color: var(--nav-dropdown-color);
                    }

                        .navmenu .megamenu ul li a:hover,
                        .navmenu .megamenu ul li .active,
                        .navmenu .megamenu ul li .active:hover {
                            color: var(--nav-dropdown-hover-color);
                        }

            .navmenu .megamenu:hover > ul {
                opacity: 1;
                top: 100%;
                visibility: visible;
            }

        .navmenu .dd-box-shadow {
            box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
        }
}

/* Mobile Navigation */
.mobile-nav-toggle {
    background: none;
    border: none;
    padding: 4px;
}

    .mobile-nav-toggle:focus-visible {
        outline: 2px solid var(--accent-color);
        outline-offset: 2px;
        border-radius: 4px;
    }

@media (max-width: 1199px) {
    .mobile-nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        color: var(--nav-color);
        font-size: 28px;
        line-height: 0;
        margin-right: 10px;
        cursor: pointer;
        transition: color 0.3s;
    }

    .navmenu {
        padding: 0;
        z-index: 9997;
    }

        .navmenu ul {
            display: none;
            list-style: none;
            position: absolute;
            inset: 60px 20px 20px 20px;
            padding: 10px 0;
            margin: 0;
            border-radius: 6px;
            background-color: var(--nav-mobile-background-color);
            overflow-y: auto;
            transition: 0.3s;
            z-index: 9998;
            box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
        }

        .navmenu a,
        .navmenu a:focus {
            color: var(--nav-dropdown-color);
            padding: 10px 20px;
            font-family: var(--nav-font);
            font-size: 17px;
            font-weight: 500;
            display: flex;
            align-items: center;
            justify-content: space-between;
            white-space: nowrap;
            transition: 0.3s;
        }

            .navmenu a i,
            .navmenu a:focus i {
                font-size: 12px;
                line-height: 0;
                margin-left: 5px;
                width: 30px;
                height: 30px;
                display: flex;
                align-items: center;
                justify-content: center;
                border-radius: 50%;
                transition: 0.3s;
                background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
            }

                .navmenu a i:hover,
                .navmenu a:focus i:hover {
                    background-color: var(--accent-color);
                    color: var(--contrast-color);
                }

            .navmenu a:hover,
            .navmenu .active,
            .navmenu .active:focus {
                color: var(--nav-dropdown-hover-color);
            }

                .navmenu .active i,
                .navmenu .active:focus i {
                    background-color: var(--accent-color);
                    color: var(--contrast-color);
                    transform: rotate(180deg);
                }

        .navmenu .dropdown ul {
            position: static;
            display: none;
            z-index: 99;
            padding: 10px 0;
            margin: 10px 20px;
            background-color: var(--nav-dropdown-background-color);
            border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
            box-shadow: none;
            transition: all 0.5s ease-in-out;
        }

            .navmenu .dropdown ul ul {
                background-color: rgba(33, 37, 41, 0.1);
            }

        .navmenu .dropdown > .dropdown-active {
            display: block;
            background-color: rgba(18, 58, 92, 0.03);
        }

    .mobile-nav-active {
        overflow: hidden;
    }

        .mobile-nav-active .mobile-nav-toggle {
            color: #fff;
            position: absolute;
            font-size: 32px;
            top: 15px;
            right: 15px;
            margin-right: 0;
            z-index: 9999;
        }

        .mobile-nav-active .navmenu {
            position: fixed;
            overflow: hidden;
            inset: 0;
            background: rgba(18, 58, 92, 0.92);
            transition: 0.3s;
        }

            .mobile-nav-active .navmenu > ul {
                display: block;
            }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
    --background-color: #123a5c;
    --default-color: #cfe0ee;
    --heading-color: #f6f1e7;
    --surface-color: #1b4a73;
    color: var(--default-color);
    background-color: var(--background-color);
    font-size: 14px;
    padding-top: 50px;
    padding-bottom: 50px;
    position: relative;
}

    .footer .footer-newsletter {
        background-color: color-mix(in srgb, var(--heading-color), transparent 95%);
        padding: 50px 0;
    }

        .footer .footer-newsletter h4 {
            font-size: 24px;
        }

        .footer .footer-newsletter .newsletter-form {
            margin-top: 30px;
            margin-bottom: 15px;
            padding: 6px 8px;
            position: relative;
            background-color: color-mix(in srgb, var(--background-color), transparent 50%);
            border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
            box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.1);
            display: flex;
            transition: 0.3s;
            border-radius: 50px;
        }

            .footer .footer-newsletter .newsletter-form:focus-within {
                border-color: var(--accent-color);
            }

            .footer .footer-newsletter .newsletter-form input[type=email] {
                border: 0;
                padding: 4px;
                width: 100%;
                background-color: color-mix(in srgb, var(--background-color), transparent 50%);
                color: var(--default-color);
            }

                .footer .footer-newsletter .newsletter-form input[type=email]:focus-visible {
                    outline: none;
                }

            .footer .footer-newsletter .newsletter-form input[type=submit] {
                border: 0;
                font-size: 16px;
                padding: 0 20px;
                margin: -7px -8px -7px 0;
                background: var(--accent-color);
                color: var(--contrast-color);
                transition: 0.3s;
                border-radius: 50px;
            }

                .footer .footer-newsletter .newsletter-form input[type=submit]:hover {
                    background: color-mix(in srgb, var(--accent-color), transparent 20%);
                }

    .footer .footer-top {
        padding-top: 50px;
    }

    .footer .social-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
        font-size: 16px;
        color: color-mix(in srgb, var(--default-color), transparent 20%);
        margin-right: 10px;
        transition: 0.3s;
    }

        .footer .social-links a:hover {
            color: var(--accent-text);
            border-color: var(--accent-color);
        }

    .footer h4,
    .footer h2 {
        font-family: var(--heading-font);
        font-size: 16px;
        font-weight: 400;
        position: relative;
        padding-bottom: 12px;
    }

    .footer .footer-links {
        margin-bottom: 30px;
    }

        .footer .footer-links ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

            .footer .footer-links ul i {
                margin-right: 3px;
                font-size: 12px;
                line-height: 0;
                color: var(--accent-text);
            }

            .footer .footer-links ul li {
                padding: 10px 0;
                display: flex;
                align-items: center;
            }

                .footer .footer-links ul li:first-child {
                    padding-top: 0;
                }

            .footer .footer-links ul a {
                display: inline-block;
                color: color-mix(in srgb, var(--default-color), transparent 20%);
                line-height: 1;
            }

                .footer .footer-links ul a:hover {
                    color: var(--accent-text);
                }

    .footer .footer-about .sitename {
        display: inline-block;
        color: var(--heading-color);
        font-size: 22px;
        font-weight: 400;
        font-family: var(--heading-font);
    }

    .footer .footer-contact p {
        margin-bottom: 5px;
    }

    .footer .copyright {
        padding-top: 25px;
        padding-bottom: 25px;
        border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
        font-family: var(--heading-font);
        font-size: 14px;
    }

        .footer .copyright p {
            margin-bottom: 0;
        }

    .footer .credits {
        margin-top: 6px;
        font-size: 13px;
    }

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    overflow: hidden;
    background: var(--background-color);
    transition: all 0.6s ease-out;
}

    #preloader:before {
        content: "";
        position: fixed;
        top: calc(50% - 30px);
        left: calc(50% - 30px);
        border: 6px solid #ffffff;
        border-color: var(--accent-color) transparent var(--accent-color) transparent;
        border-radius: 50%;
        width: 60px;
        height: 60px;
        animation: animate-preloader 1.5s linear infinite;
    }

@keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: -15px;
    z-index: 99999;
    background-color: var(--accent-color);
    width: 44px;
    height: 44px;
    border-radius: 50px;
    transition: all 0.4s;
}

    .scroll-top i {
        font-size: 24px;
        color: var(--contrast-color);
        line-height: 0;
    }

    .scroll-top:hover {
        background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
        color: var(--contrast-color);
    }

    .scroll-top.active {
        visibility: visible;
        opacity: 1;
        bottom: 15px;
    }

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
    --background-color: color-mix(in srgb, var(--default-color), transparent 96%);
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 20px 0;
    position: relative;
}

    .page-title h1 {
        font-size: 28px;
        font-weight: 700;
        margin: 0;
    }

    .page-title .breadcrumbs ol {
        display: flex;
        flex-wrap: wrap;
        list-style: none;
        padding: 0 0 10px 0;
        margin: 0;
        font-size: 14px;
    }

        .page-title .breadcrumbs ol li + li {
            padding-left: 10px;
        }

            .page-title .breadcrumbs ol li + li::before {
                content: "/";
                display: inline-block;
                padding-right: 10px;
                color: color-mix(in srgb, var(--default-color), transparent 70%);
            }

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 60px 0;
    scroll-margin-top: 88px;
    overflow: clip;
}

    section:nth-child(even),
    .section:nth-child(even) {
        background-color: var(--background-color-gradient);
    }

@media (max-width: 1199px) {

    section,
    .section {
        scroll-margin-top: 66px;
    }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
    text-align: center;
    padding-bottom: 60px;
    padding-top: 20px;
    position: relative;
}

    .section-title[data-eyebrow]::before {
        content: attr(data-eyebrow);
        display: block;
        font-family: var(--default-font);
        font-size: 13px;
        font-weight: 500;
        letter-spacing: 0.18em;
        text-transform: uppercase;
        color: var(--accent-text);
        margin-bottom: 14px;
    }

    .section-title h2 {
        font-size: 34px;
        font-weight: 400;
        font-family: var(--heading-font);
/*        margin-bottom: 20px;
        padding-bottom: 20px;*/
        text-transform: none;
        position: relative;
    }

        .section-title h2.section-title-heading::after {
            content: "";
            position: absolute;
            display: block;
            width: 48px;
            height: 3px;
            background: var(--accent-color);
            left: 0;
            right: 0;
            bottom: 0;
            margin: auto;
        }

    .section-title p {
        margin-bottom: 0;
        color: color-mix(in srgb, var(--default-color), transparent 15%);
    }

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
    width: 100%;
    min-height: 80vh;
    position: relative;
    padding: 120px 0 60px 0;
    display: flex;
    align-items: center;
}

    .hero h1 {
        margin: 0;
        font-size: 48px;
        font-weight: 700;
        line-height: 56px;
    }

    .hero p {
        color: color-mix(in srgb, var(--default-color), transparent 30%);
        margin: 5px 0 30px 0;
        font-size: 22px;
        line-height: 1.3;
        font-weight: 600;
    }

    .hero .btn-get-started {
        color: var(--accent-contrast);
        background: var(--accent-color);
        font-family: var(--heading-font);
        font-weight: 500;
        font-size: 15px;
        letter-spacing: 1px;
        display: inline-block;
        padding: 10px 28px 12px 28px;
        border-radius: 50px;
        transition: 0.5s;
    }

        .hero .btn-get-started:hover {
            color: var(--accent-contrast);
            background: color-mix(in srgb, var(--accent-color), transparent 15%);
        }

    .hero .btn-watch-video {
        font-size: 16px;
        transition: 0.5s;
        margin-left: 25px;
        color: var(--default-color);
        font-weight: 600;
    }

        .hero .btn-watch-video i {
            color: var(--contrast-color);
            font-size: 32px;
            transition: 0.3s;
            line-height: 0;
            margin-right: 8px;
        }

        .hero .btn-watch-video:hover {
            color: var(--accent-text);
        }

            .hero .btn-watch-video:hover i {
                color: color-mix(in srgb, var(--accent-color), transparent 15%);
            }

.jumbotron {
    --background-color: #1b4a73;
    --default-color: #cfe0ee;
    --heading-color: #f6f1e7;
    background-color: var(--background-color);
    background-image: radial-gradient(circle at 1px 1px, rgba(246, 241, 231, 0.08) 1px, transparent 0);
    background-size: 26px 26px;
    color: var(--default-color);
    padding: 110px 0 70px;
    margin-bottom: unset;
    overflow: clip;
}

    .jumbotron .display-1 {
        font-family: var(--heading-font);
        font-size: clamp(2.5rem, 4.6vw, 4.5rem);
        font-weight: 400;
        line-height: 1.05;
        letter-spacing: -0.01em;
        color: var(--heading-color);
    }

    .jumbotron .lead {
        font-size: 1.2rem;
        line-height: 1.6;
        color: color-mix(in srgb, var(--default-color), transparent 5%);
    }

        /* Rich-text hero copy (bodyText/pageIntroduction) can carry inline
           background-color/max-width styles left over from pasted content —
           neutralise those here so pasted text never paints a white box over
           a dark hero or gets squeezed into a narrow column. */
        .jumbotron .lead * {
            background-color: transparent !important;
            max-width: none !important;
        }

    /* The homepage hero is the only jumbotron split into a text column beside
       the orbit diagram (wrapped in a Bootstrap .row) — constrain the heading
       width there so it doesn't run under/past the image. Inner-page
       jumbotrons have no image and no .row, so they stay full-width and
       properly centered by the inherited .jumbotron.text-center. */
    .jumbotron .row .display-1 {
        max-width: 640px;
    }

.accent {
    color: var(--accent-text);
    font-weight: 500;
}

.jumbotron .animated {
    animation: up-down 2s ease-in-out infinite alternate-reverse both;
}

    .jumbotron p {
        color: var(--contrast-color);
    }

@media (max-width: 991px) {
    .jumbotron {
        padding: 100px 0 50px;
        text-align: center;
    }

        .jumbotron .display-1,
        .jumbotron .lead {
            max-width: none;
        }
}

.eyebrow {
    font-family: var(--default-font);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.18em;
   /* text-transform: uppercase;*/
    color: var(--accent-text);
    margin-bottom: 14px;
}

/* Homepage only - larger eyebrows, section titles and intro text (body class set in HomePage.cshtml) */
.home-page .eyebrow,
.home-page .section-title[data-eyebrow]::before {
    font-size: 16px;
}

.home-page .section-title h2 {
    font-size: 44px;
}

.home-page .section-title p {
    font-size: 1.2rem;
    line-height: 1.6;
}

.home-page .jumbotron .lead {
    font-size: 1.4rem;
}

@media (max-width: 768px) {
    .home-page .section-title h2 {
        font-size: 36px;
    }

    .home-page .jumbotron .lead {
        font-size: 1.25rem;
    }
}

.jumbotron.service-hero .icon-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background-color: color-mix(in srgb, var(--accent-color), transparent 85%);
    border: 1px solid color-mix(in srgb, var(--accent-color), transparent 50%);
}

    .jumbotron.service-hero .icon-large i {
        font-size: 2.25rem;
        color: var(--accent-text);
    }

.badge-meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--default-font);
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 2px;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 55%);
    color: inherit;
}

/* Featured Quote — a picked testimonial, shown on any page that has one.
   The :nth-child(even) selector stops the global section:nth-child(even) rule
   swapping in the light background behind the light quote text. */
.quote-block,
.quote-block:nth-child(even) {
    background-color: var(--surface-dark);
    color: #f6f1e7;
    padding: 60px 0;
    text-align: center;
}

    .quote-block .container {
        max-width: 760px;
    }

    .quote-block__text {
        margin: 0 0 24px;
        padding: 0;
        border: 0;
        color: #f6f1e7;
    }

        .quote-block__text p {
            display: inline;
            font-family: var(--heading-font);
            font-size: 1.4rem;
            line-height: 1.5;
            margin: 0;
            color: inherit;
        }

            .quote-block__text p::before {
                content: "\201C";
                color: var(--accent-text);
                font-weight: 700;
                margin-right: 0.15em;
            }

            .quote-block__text p::after {
                content: "\201D";
                color: var(--accent-text);
                font-weight: 700;
                margin-left: 0.15em;
            }

.quote-block__attribution {
    font-family: var(--default-font);
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    color: #f6f1e7;
}

    .quote-block__name {
        font-weight: 700;
        color: inherit;
    }

    .quote-block__role {
        opacity: 0.75;
        color: inherit;
    }

        .quote-block__role::before {
            content: "\2014";
            margin: 0 6px;
        }

/* Detail-page sticky sidebars (case study / vacancy / service) should scroll under
   the fixed header nav, not over it — Bootstrap's .sticky-top utility
   defaults to a z-index higher than our header's (997). */
.card.sticky-top,
.sticky-sidebar.sticky-top {
    z-index: 10;
}

/* Orbit diagram — the homepage hero's signature element: ap16's real
   tech-stack logos connecting to a central ap16 node, echoing the orb logo. */
.hero-img {
    display: flex;
    justify-content: center;
    position: relative;
}

    .hero-img::before {
        content: "";
        position: absolute;
        width: min(520px, 90%);
        aspect-ratio: 1;
        background: radial-gradient(circle, color-mix(in srgb, var(--accent-color), transparent 55%) 0%, transparent 68%);
        filter: blur(6px);
        z-index: 0;
        animation: orbit-float 6s ease-in-out infinite;
    }

.orbit-diagram {
    width: 100%;
    max-width: 500px;
    height: auto;
    position: relative;
    z-index: 1;
    animation: orbit-float 6s ease-in-out infinite;
}

@keyframes orbit-float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

    .orbit-diagram .orbit-ring {
        fill: none;
        stroke: color-mix(in srgb, var(--default-color), transparent 70%);
        stroke-width: 1.5;
        stroke-dasharray: 2 6;
    }

    /* Visible and fully drawn by default — no JS required. The
       `.orbit-diagram--will-animate` class is added by main.js, and ONLY that
       class switches to a hidden pre-animation state, so a slow/blocked/failed
       script never leaves this content invisible. */
    .orbit-diagram .orbit-line {
        stroke: var(--accent-color);
        stroke-width: 2.5;
        stroke-linecap: round;
        stroke-dasharray: 160;
        stroke-dashoffset: 0;
        opacity: 0.95;
    }

    .orbit-diagram .orbit-node {
        opacity: 1;
        transform-origin: center;
        transform: scale(1);
    }

        .orbit-diagram .orbit-node circle {
            fill: var(--surface-color);
            stroke: color-mix(in srgb, var(--default-color), transparent 70%);
            stroke-width: 1.5;
        }

        .orbit-diagram .orbit-node:hover circle {
            stroke: var(--accent-color);
        }

    .orbit-diagram .orbit-center {
        fill: var(--surface-dark);
        stroke: var(--accent-color);
        stroke-width: 2.5;
    }

    .orbit-diagram.orbit-diagram--will-animate .orbit-line {
        stroke-dashoffset: 160;
    }

    .orbit-diagram.orbit-diagram--will-animate .orbit-node {
        opacity: 0;
        transform: scale(0.6);
    }

    .orbit-diagram.orbit-diagram--will-animate.is-active .orbit-line {
        stroke-dashoffset: 0;
        transition: stroke-dashoffset 0.8s ease-out var(--orbit-delay, 0s);
    }

    .orbit-diagram.orbit-diagram--will-animate.is-active .orbit-node {
        opacity: 1;
        transform: scale(1);
        transition: opacity 0.5s ease-out var(--orbit-delay, 0s), transform 0.5s ease-out var(--orbit-delay, 0s);
    }

    /* Hero copy: visible by default — no JS required. The `.hero-copy--will-animate`
       class is added by main.js (in step with the orbit diagram), so a slow/blocked/
       failed script never leaves this content invisible. The eyebrows and lead stage
       in with a short fade+rise; the headline (excluded here) gets its own word-by-word
       feed-in below, so the two effects don't compete on the same element. */
    .hero-copy.hero-copy--will-animate > :not(.hero-title) {
        opacity: 0;
        transform: translateY(16px);
    }

        .hero-copy.hero-copy--will-animate.is-active > :not(.hero-title):nth-child(1) { transition-delay: 0s; }
        .hero-copy.hero-copy--will-animate.is-active > :not(.hero-title):nth-child(2) { transition-delay: 0.15s; }
        .hero-copy.hero-copy--will-animate.is-active > :not(.hero-title):nth-child(4) { transition-delay: 1.1s; }

    .hero-copy.hero-copy--will-animate.is-active > :not(.hero-title) {
        opacity: 1;
        transform: none;
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }

    /* Hero headline: each word sits in an overflow-hidden mask, fully visible and
       unmasked by default. Only once `.hero-copy--will-animate` is opted into does the
       word slide down inside its mask to a hidden starting position, ready to feed
       up into view — same "visible unless JS confirms it can animate" rule as above.
       Per-word stagger is stored as the --word-delay custom property (set inline in
       HomePage.cshtml) and only turned into a real transition-delay inside the
       .is-active rule below — never on the plain --will-animate rule, otherwise
       entering the hidden state would itself become a delayed transition that
       is-active cancels before it ever visually completes. */
    .hero-title-word {
        display: inline-block;
        overflow: hidden;
        vertical-align: top;
    }

    .hero-title-word-inner {
        display: inline-block;
    }

    .hero-copy.hero-copy--will-animate .hero-title-word-inner {
        transform: translateY(115%);
    }

    .hero-copy.hero-copy--will-animate.is-active .hero-title-word-inner {
        transform: translateY(0);
        transition-property: transform;
        transition-duration: 0.9s;
        transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
        transition-delay: var(--word-delay, 0s);
    }

@media (max-width: 640px) {
    .hero h1 {
        font-size: 28px;
        line-height: 36px;
    }

    .hero p {
        font-size: 18px;
        line-height: 24px;
        margin-bottom: 30px;
    }

    .hero .btn-get-started,
    .hero .btn-watch-video {
        font-size: 13px;
    }
}

@keyframes up-down {
    0% {
        transform: translateY(10px);
    }

    100% {
        transform: translateY(-10px);
    }
}

/*--------------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/
.clients {
    padding: 12px 0;
}

    .clients .swiper {
        padding: 10px 0;
    }

    .clients .swiper-wrapper {
        height: auto;
    }

    .clients .swiper-slide img {
        transition: 0.3s;
        padding: 0 10px;
    }

        .clients .swiper-slide img:hover {
            transform: scale(1.1);
        }

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/

.about-section {

}

.about ul {
    list-style: none;
    padding: 0;
}

    .about ul li {
        padding-bottom: 5px;
        display: flex;
        align-items: center;
    }

    .about ul i {
        font-size: 20px;
        padding-right: 4px;
        color: var(--accent-text);
    }

.about .read-more {
    color: var(--accent-text);
    font-family: var(--heading-font);
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    padding: 8px 28px;
    border-radius: 5px;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--accent-color);
}

    .about .read-more i {
        font-size: 18px;
        margin-left: 5px;
        line-height: 0;
        transition: 0.3s;
    }

    .about .read-more:hover {
        background: var(--accent-color);
        color: var(--contrast-color);
    }

        .about .read-more:hover i {
            transform: translate(5px, 0);
        }

/*--------------------------------------------------------------
# About Section - Accordion
--------------------------------------------------------------*/
    .about-section .about-accordion .accordion-item {
        border: none;
        margin-bottom: 20px;
        box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.1);
        overflow: hidden;
    }

    /* Deep-link target (#headingN from the homepage) — clear the sticky site header */
    .about-section .about-accordion .accordion-header {
        scroll-margin-top: 100px;
    }

    .about-section .about-accordion .accordion-item:last-child {
        margin-bottom: 0;
    }

    .about-section .about-accordion .accordion-button {
        background-color: var(--surface-color);
        color: var(--default-color);
        font-family: var(--heading-font);
        font-weight: 700;
        font-size: 22px;
        line-height: 30px;
        padding: 24px 54px 24px 24px;
        box-shadow: none;
        text-align: left;
        gap: 0;
    }

    .about-section .about-accordion .accordion-button:not(.collapsed) {
        background-color: var(--surface-color);
        color: var(--accent-text);
        box-shadow: none;
    }

    .about-section .about-accordion .accordion-button:focus {
        box-shadow: none;
    }

    /* Inset so .accordion-item's overflow:hidden doesn't clip the ring */
    .about-section .about-accordion .accordion-button:focus-visible {
        outline: 2px solid var(--accent-color);
        outline-offset: -4px;
    }

    .about-section .about-accordion .read-more-link:focus-visible {
        outline: 2px solid var(--accent-color);
        outline-offset: 2px;
        border-radius: 4px;
    }

    .about-section .about-accordion .accordion-button::after {
        background-image: none;
        font-family: "bootstrap-icons";
        content: "\F285";
        width: 1em;
        height: 1em;
        font-size: 16px;
        line-height: 1;
        background-size: auto;
        transform: none;
        transition: transform 0.3s, color 0.3s;
        color: var(--default-color);
        position: absolute;
        right: 20px;
        top: 50%;
        margin-top: -0.5em;
    }

    .about-section .about-accordion .accordion-button:not(.collapsed)::after {
        transform: rotate(90deg);
        color: var(--accent-text);
        background-image: none;
    }

    .about-section .about-accordion .accordion-subtitle {
        font-family: var(--default-font);
        font-size: 0.95rem;
        font-weight: 700;
        letter-spacing: 0.03em;
        color: var(--accent-text);
        margin-top: 0;
        margin-bottom: 0.75rem;
    }

    .about-section .about-accordion .read-more-link {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        margin-top: 12px;
        color: var(--accent-text);
        font-weight: 600;
    }

        .about-section .about-accordion .read-more-link:hover {
            color: color-mix(in srgb, var(--accent-text), black 15%);
        }

    .about-section .about-accordion .accordion-body {
        background-color: var(--surface-color);
        padding: 0 24px 24px 24px;
        text-align: left;
    }

        .about-section .about-accordion .accordion-body h1,
        .about-section .about-accordion .accordion-body h2,
        .about-section .about-accordion .accordion-body h3,
        .about-section .about-accordion .accordion-body h4 {
            text-align: left;
        }

        .about-section .about-accordion .accordion-body::after {
            content: "";
            display: block;
            clear: both;
        }

        .about-section .about-accordion .accordion-body .about-approach-image {
            float: left;
            max-width: 300px;
            width: 100%;
            margin: 0 24px 16px 0;
        }

@media (max-width: 576px) {
    .about-section .about-accordion .accordion-body .about-approach-image {
        float: none;
        max-width: 100%;
        margin: 0 0 16px 0;
    }
}

/*--------------------------------------------------------------
# Why Us Section
--------------------------------------------------------------*/
.why-us {
    padding: 30px 0;
}

    .why-us .content h3 {
        font-weight: 400;
        font-size: 34px;
    }

    .why-us .content p {
        color: color-mix(in srgb, var(--default-color), transparent 30%);
    }

    .why-us .faq-container .faq-item {
        background-color: var(--surface-color);
        position: relative;
        padding: 20px;
        margin-bottom: 20px;
        box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.1);
        overflow: hidden;
    }

        .why-us .faq-container .faq-item:last-child {
            margin-bottom: 0;
        }

        .why-us .faq-container .faq-item h3 {
            font-weight: 500;
            font-size: 17px;
            line-height: 24px;
            margin: 0 30px 0 0;
            transition: 0.3s;
            cursor: pointer;
        }

            .why-us .faq-container .faq-item h3 span {
                color: var(--accent-text);
                padding-right: 5px;
                font-weight: 600;
            }

            .why-us .faq-container .faq-item h3:hover {
                color: var(--accent-text);
            }

        .why-us .faq-container .faq-item .faq-content {
            display: grid;
            grid-template-rows: 0fr;
            transition: 0.3s ease-in-out;
            visibility: hidden;
            opacity: 0;
        }

            .why-us .faq-container .faq-item .faq-content p {
                margin-bottom: 0;
                overflow: hidden;
            }

        .why-us .faq-container .faq-item .faq-icon {
            position: absolute;
            top: 22px;
            left: 20px;
            font-size: 22px;
            line-height: 0;
            transition: 0.3s;
            color: var(--accent-text);
        }

        .why-us .faq-container .faq-item .faq-toggle {
            position: absolute;
            top: 20px;
            right: 20px;
            font-size: 16px;
            line-height: 0;
            transition: 0.3s;
            cursor: pointer;
        }

            .why-us .faq-container .faq-item .faq-toggle:hover {
                color: var(--accent-text);
            }

    .why-us .faq-container .faq-active h3 {
        color: var(--accent-text);
    }

    .why-us .faq-container .faq-active .faq-content {
        grid-template-rows: 1fr;
        visibility: visible;
        opacity: 1;
        padding-top: 10px;
    }

    .why-us .faq-container .faq-active .faq-toggle {
        transform: rotate(90deg);
        color: var(--accent-text);
    }

    .why-us .why-us-img {
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .why-us .why-us-img img {
            max-height: 70%;
        }

/*--------------------------------------------------------------
# Skills Section
--------------------------------------------------------------*/
.skills .content h3 {
    font-size: 2rem;
    font-weight: 700;
}

.skills .content p {
    color: color-mix(in srgb, var(--default-color), transparent 30%);
}

    .skills .content p:last-child {
        margin-bottom: 0;
    }

.skills .content ul {
    list-style: none;
    padding: 0;
}

    .skills .content ul li {
        padding-bottom: 10px;
    }

.skills .progress {
    height: 60px;
    display: block;
    background: none;
    border-radius: 0;
}

    .skills .progress .skill {
        color: var(--default-color);
        padding: 0;
        margin: 0 0 6px 0;
        text-transform: uppercase;
        display: block;
        font-weight: 600;
        font-family: var(--heading-font);
    }

        .skills .progress .skill .val {
            float: right;
            font-style: normal;
        }

.skills .progress-bar-wrap {
    background: color-mix(in srgb, var(--heading-color), transparent 90%);
    height: 10px;
}

.skills .progress-bar {
    width: 1px;
    height: 10px;
    transition: 0.9s;
    background-color: var(--heading-color);
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services.services-parallax {
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.services.services-parallax::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(18, 58, 92, 0.86);
    z-index: 0;
}

.services.services-parallax .container,
.services.services-parallax .section-title {
    position: relative;
    z-index: 1;
}

.services.services-parallax .section-title h2,
.services.services-parallax .section-title p {
    color: #ffffff;
}

@media (max-width: 768px) {
    .services.services-parallax {
        background-attachment: scroll;
    }
}

.services .service-item {
    background-color: var(--surface-color);
    border-top: 3px solid transparent;
    box-shadow: 0px 5px 30px 0px rgba(18, 58, 92, 0.06);
    padding: 50px 30px;
    transition: all ease-in-out 0.3s;
    height: 100%;
}

    .services .service-item .icon {
        margin-bottom: 10px;
        width: 56px;
        height: 56px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background-color: color-mix(in srgb, var(--accent-color), transparent 88%);
    }

        .services .service-item .icon i {
            color: var(--accent-text);
            font-size: 24px;
            transition: 0.3s;
        }

    .services .service-item h3 {
        font-weight: 400;
        margin-bottom: 15px;
        font-size: 20px;
    }

        .services .service-item h3 a {
            color: var(--heading-color);
            transition: ease-in-out 0.3s;
        }

    .services .service-item p {
        line-height: 24px;
        font-size: 14px;
        margin-bottom: 0;
    }

    .services .service-item:hover {
        transform: translateY(-6px);
        border-top-color: var(--accent-color);
    }

        .services .service-item:hover h4 a {
            color: var(--accent-text);
        }

/*--------------------------------------------------------------
# Work Process Section
--------------------------------------------------------------*/
.work-process .steps-item {
    background: var(--surface-color);
    border-radius: 20px;
    height: 100%;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 5px 20px color-mix(in srgb, var(--default-color), transparent 92%);
}

    .work-process .steps-item .steps-image {
        border-radius: 20px 20px 0 0;
        overflow: hidden;
    }

    .work-process .steps-item:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px color-mix(in srgb, var(--accent-color), transparent 85%);
    }

        .work-process .steps-item:hover .steps-number {
            background: var(--accent-color);
            color: var(--contrast-color);
        }

        .work-process .steps-item:hover .steps-image img {
            transform: scale(1.1);
        }

.work-process .steps-image {
    position: relative;
    height: 280px;
}

    .work-process .steps-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s ease;
    }

.work-process .steps-content {
    position: relative;
    padding: 40px 30px 30px;
}

    .work-process .steps-content .steps-number {
        position: absolute;
        left: 30px;
        top: -30px;
        width: 60px;
        height: 60px;
        background: var(--accent-color);
        color: var(--contrast-color);
        border-radius: 50%;
        font-family: var(--heading-font);
        font-size: 24px;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease-in-out;
    }

    .work-process .steps-content h3 {
        font-size: 24px;
        font-weight: 700;
        margin-bottom: 15px;
    }

    .work-process .steps-content p {
        font-size: 15px;
        color: color-mix(in srgb, var(--default-color), transparent 20%);
        margin-bottom: 25px;
    }

.work-process .steps-features .feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

    .work-process .steps-features .feature-item:last-child {
        margin-bottom: 0;
    }

    .work-process .steps-features .feature-item i {
        color: var(--accent-text);
        font-size: 18px;
        margin-right: 10px;
    }

    .work-process .steps-features .feature-item span {
        font-size: 14px;
        color: color-mix(in srgb, var(--default-color), transparent 15%);
    }

@media (max-width: 1199px) {
    .work-process .steps-image {
        height: 240px;
    }

    .work-process .steps-content {
        padding: 35px 25px 25px;
    }

        .work-process .steps-content h3 {
            font-size: 22px;
        }
}

@media (max-width: 991px) {
    .work-process .steps-item {
        margin-bottom: 30px;
    }

    .work-process .steps-image {
        height: 220px;
    }

    .work-process .steps-content {
        padding: 30px 20px 20px;
    }

        .work-process .steps-content .steps-number {
            width: 50px;
            height: 50px;
            font-size: 20px;
            left: 25px;
            top: -25px;
        }

        .work-process .steps-content h3 {
            font-size: 20px;
            margin-bottom: 12px;
        }

        .work-process .steps-content p {
            font-size: 14px;
            margin-bottom: 20px;
        }
}

/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action {
    padding: 120px 0;
    position: relative;
    clip-path: inset(0);
}

    .call-to-action img {
        position: fixed;
        top: 0;
        left: 0;
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 1;
    }

    .call-to-action:before {
        content: "";
        background: color-mix(in srgb, var(--background-color), transparent 35%);
        position: absolute;
        inset: 0;
        z-index: 2;
    }

    .call-to-action .container {
        position: relative;
        z-index: 3;
    }

    .call-to-action h3 {
        color: var(--default-color);
        font-size: 28px;
        font-weight: 700;
    }

    .call-to-action p {
        color: var(--default-color);
    }

    .call-to-action .cta-btn {
        font-family: var(--heading-font);
        font-weight: 500;
        font-size: 16px;
        letter-spacing: 1px;
        display: inline-block;
        padding: 12px 40px;
        border-radius: 50px;
        transition: 0.5s;
        margin: 10px;
        border: 2px solid var(--contrast-color);
        color: var(--contrast-color);
    }

        .call-to-action .cta-btn:hover {
            background: var(--accent-color);
            border: 2px solid var(--accent-color);
        }

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
    padding: 0;
    margin: 0 auto 20px auto;
    list-style: none;
    text-align: center;
}

    .portfolio .portfolio-filters li {
        cursor: pointer;
        display: inline-block;
        padding: 8px 20px 10px 20px;
        margin: 0;
        font-size: 15px;
        font-weight: 500;
        line-height: 1;
        margin-bottom: 5px;
        border-radius: 50px;
        transition: all 0.3s ease-in-out;
        font-family: var(--heading-font);
    }

        .portfolio .portfolio-filters li:hover,
        .portfolio .portfolio-filters li.filter-active {
            color: var(--contrast-color);
            background-color: var(--accent-color);
        }

        .portfolio .portfolio-filters li:first-child {
            margin-left: 0;
        }

        .portfolio .portfolio-filters li:last-child {
            margin-right: 0;
        }

@media (max-width: 575px) {
    .portfolio .portfolio-filters li {
        font-size: 14px;
        margin: 0 0 10px 0;
    }
}

.portfolio .portfolio-item {
    position: relative;
    overflow: hidden;
}

    .portfolio .portfolio-item .portfolio-info {
        opacity: 0;
        position: absolute;
        left: 12px;
        right: 12px;
        bottom: -100%;
        z-index: 3;
        transition: all ease-in-out 0.5s;
        background: color-mix(in srgb, var(--background-color), transparent 10%);
        padding: 15px;
    }

        .portfolio .portfolio-item .portfolio-info h4 {
            font-size: 18px;
            font-weight: 600;
            padding-right: 50px;
        }

        .portfolio .portfolio-item .portfolio-info p {
            color: color-mix(in srgb, var(--default-color), transparent 30%);
            font-size: 14px;
            margin-bottom: 0;
            padding-right: 50px;
        }

        .portfolio .portfolio-item .portfolio-info .preview-link,
        .portfolio .portfolio-item .portfolio-info .details-link {
            position: absolute;
            right: 50px;
            font-size: 24px;
            top: calc(50% - 14px);
            color: color-mix(in srgb, var(--default-color), transparent 30%);
            transition: 0.3s;
            line-height: 0;
        }

            .portfolio .portfolio-item .portfolio-info .preview-link:hover,
            .portfolio .portfolio-item .portfolio-info .details-link:hover {
                color: var(--accent-text);
            }

        .portfolio .portfolio-item .portfolio-info .details-link {
            right: 14px;
            font-size: 28px;
        }

    .portfolio .portfolio-item:hover .portfolio-info {
        opacity: 1;
        bottom: 0;
    }

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .team-member {
    background-color: var(--surface-color);
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    border-radius: 5px;
    transition: 0.5s;
    padding: 30px;
    height: 100%;
}

@media (max-width: 468px) {
    .team .team-member {
        flex-direction: column;
        justify-content: center !important;
        align-items: center !important;
    }
}

.team .team-member .pic {
    overflow: hidden;
    width: 150px;
    border-radius: 50%;
    flex-shrink: 0;
}

    .team .team-member .pic img {
        transition: ease-in-out 0.3s;
    }

.team .team-member:hover {
    transform: translateY(-10px);
}

.team .team-member .member-info {
    padding-left: 30px;
}

@media (max-width: 468px) {
    .team .team-member .member-info {
        padding: 30px 0 0 0;
        text-align: center;
    }
}

.team .team-member h4 {
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 20px;
}

.team .team-member span {
    display: block;
    font-size: 15px;
    padding-bottom: 10px;
    position: relative;
    font-weight: 500;
}

    .team .team-member span::after {
        content: "";
        position: absolute;
        display: block;
        width: 50px;
        height: 1px;
        background: color-mix(in srgb, var(--default-color), transparent 85%);
        bottom: 0;
        left: 0;
    }

@media (max-width: 468px) {
    .team .team-member span::after {
        left: calc(50% - 25px);
    }
}

.team .team-member p {
    margin: 10px 0 0 0;
    font-size: 14px;
}

.team .team-member .social {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: start;
    width: 100%;
}

@media (max-width: 468px) {
    .team .team-member .social {
        justify-content: center;
    }
}

.team .team-member .social a {
    background: color-mix(in srgb, var(--default-color), transparent 94%);
    transition: ease-in-out 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    width: 36px;
    height: 36px;
}

    .team .team-member .social a i {
        color: color-mix(in srgb, var(--default-color), transparent 20%);
        font-size: 16px;
        margin: 0 2px;
    }

    .team .team-member .social a:hover {
        background: var(--accent-color);
    }

        .team .team-member .social a:hover i {
            color: var(--contrast-color);
        }

    .team .team-member .social a + a {
        margin-left: 8px;
    }

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
.pricing .pricing-item {
    background-color: var(--surface-color);
    box-shadow: 0 3px 20px -2px rgba(0, 0, 0, 0.1);
    border-top: 4px solid var(--background-color);
    padding: 60px 40px;
    height: 100%;
    border-radius: 5px;
}

.pricing h3 {
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 20px;
}

.pricing h4 {
    color: var(--accent-text);
    font-size: 48px;
    font-weight: 400;
    font-family: var(--heading-font);
    margin-bottom: 0;
}

    .pricing h4 sup {
        font-size: 28px;
    }

    .pricing h4 span {
        color: color-mix(in srgb, var(--default-color), transparent 50%);
        font-size: 18px;
    }

.pricing ul {
    padding: 20px 0;
    list-style: none;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    text-align: left;
    line-height: 20px;
}

    .pricing ul li {
        padding: 10px 0;
        display: flex;
        align-items: center;
    }

    .pricing ul i {
        color: #059652;
        font-size: 24px;
        padding-right: 3px;
    }

    .pricing ul .na {
        color: color-mix(in srgb, var(--default-color), transparent 60%);
    }

        .pricing ul .na i {
            color: color-mix(in srgb, var(--default-color), transparent 60%);
        }

        .pricing ul .na span {
            text-decoration: line-through;
        }

.pricing .buy-btn {
    color: var(--accent-text);
    display: inline-block;
    padding: 8px 35px 10px 35px;
    border-radius: 50px;
    transition: none;
    font-size: 16px;
    font-weight: 500;
    font-family: var(--heading-font);
    transition: 0.3s;
    border: 1px solid var(--accent-color);
}

    .pricing .buy-btn:hover {
        background: var(--accent-color);
        color: var(--contrast-color);
    }

.pricing .featured {
    border-top-color: var(--accent-color);
}

    .pricing .featured .buy-btn {
        background: var(--accent-color);
        color: var(--contrast-color);
    }

@media (max-width: 992px) {
    .pricing .box {
        max-width: 60%;
        margin: 0 auto 30px auto;
    }
}

@media (max-width: 767px) {
    .pricing .box {
        max-width: 80%;
        margin: 0 auto 30px auto;
    }
}

@media (max-width: 420px) {
    .pricing .box {
        max-width: 100%;
        margin: 0 auto 30px auto;
    }
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .section-header {
    margin-bottom: 40px;
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
    overflow: hidden;
}

.testimonials .testimonial-item {
    text-align: center;
}

    .testimonials .testimonial-item .testimonial-img {
        width: 120px;
        border-radius: 50%;
        border: 4px solid var(--background-color);
        margin: 0 auto;
    }

    .testimonials .testimonial-item h3 {
        font-size: 20px;
        font-weight: bold;
        margin: 10px 0 5px 0;
    }

    .testimonials .testimonial-item h4 {
        font-size: 14px;
        color: color-mix(in srgb, var(--default-color), transparent 40%);
        margin: 0 0 15px 0;
    }

    .testimonials .testimonial-item .stars {
        margin-bottom: 15px;
    }

        .testimonials .testimonial-item .stars i {
            color: #ffc107;
            margin: 0 1px;
        }

    .testimonials .testimonial-item .quote-icon-left,
    .testimonials .testimonial-item .quote-icon-right {
        color: color-mix(in srgb, var(--accent-color), transparent 50%);
        font-size: 26px;
        line-height: 0;
    }

    .testimonials .testimonial-item .quote-icon-left {
        display: inline-block;
        left: -5px;
        position: relative;
    }

    .testimonials .testimonial-item .quote-icon-right {
        display: inline-block;
        right: -5px;
        position: relative;
        top: 10px;
        transform: scale(-1, -1);
    }

    .testimonials .testimonial-item p {
        font-style: italic;
        margin: 0 auto 15px auto;
    }

.testimonials .swiper-wrapper {
    height: auto;
}

.testimonials .swiper-pagination {
    margin-top: 20px;
    position: relative;
}

    .testimonials .swiper-pagination .swiper-pagination-bullet {
        width: 12px;
        height: 12px;
        opacity: 1;
        background-color: color-mix(in srgb, var(--default-color), transparent 85%);
    }

    .testimonials .swiper-pagination .swiper-pagination-bullet-active {
        background-color: var(--accent-color);
    }

@media (min-width: 992px) {
    .testimonials .testimonial-item p {
        width: 80%;
    }
}

/*--------------------------------------------------------------
# Faq 2 Section
--------------------------------------------------------------*/
.faq-2 .faq-container {
    margin-top: 15px;
}

    .faq-2 .faq-container .faq-item {
        background-color: var(--surface-color);
        position: relative;
        padding: 20px;
        margin-bottom: 20px;
        overflow: hidden;
    }

        .faq-2 .faq-container .faq-item:last-child {
            margin-bottom: 0;
        }

        .faq-2 .faq-container .faq-item h3 {
            font-weight: 600;
            font-size: 18px;
            line-height: 24px;
            margin: 0 30px 0 32px;
            transition: 0.3s;
            cursor: pointer;
        }

            .faq-2 .faq-container .faq-item h3 span {
                color: var(--accent-text);
                padding-right: 5px;
            }

            .faq-2 .faq-container .faq-item h3:hover {
                color: var(--accent-text);
            }

        .faq-2 .faq-container .faq-item .faq-content {
            display: grid;
            grid-template-rows: 0fr;
            transition: 0.3s ease-in-out;
            visibility: hidden;
            opacity: 0;
        }

            .faq-2 .faq-container .faq-item .faq-content p {
                margin-bottom: 0;
                overflow: hidden;
            }

        .faq-2 .faq-container .faq-item .faq-icon {
            position: absolute;
            top: 22px;
            left: 20px;
            font-size: 20px;
            line-height: 0;
            transition: 0.3s;
            color: var(--accent-text);
        }

        .faq-2 .faq-container .faq-item .faq-toggle {
            position: absolute;
            top: 20px;
            right: 20px;
            font-size: 16px;
            line-height: 0;
            transition: 0.3s;
            cursor: pointer;
        }

            .faq-2 .faq-container .faq-item .faq-toggle:hover {
                color: var(--accent-text);
            }

    .faq-2 .faq-container .faq-active h3 {
        color: var(--accent-text);
    }

    .faq-2 .faq-container .faq-active .faq-content {
        grid-template-rows: 1fr;
        visibility: visible;
        opacity: 1;
        padding-top: 10px;
    }

    .faq-2 .faq-container .faq-active .faq-toggle {
        transform: rotate(90deg);
        color: var(--accent-text);
    }

/*--------------------------------------------------------------
# Subscribe Section
--------------------------------------------------------------*/
.subscribe .container {
    padding: 80px 80px 0 80px;
    background: color-mix(in srgb, var(--default-color), transparent 96%);
    border-radius: 15px;
}

@media (max-width: 992px) {
    .subscribe .container {
        padding: 60px 60px 0 60px;
    }
}

@media (max-width: 575px) {
    .subscribe .container {
        padding: 25px 15px 0 15px;
        border-radius: 0;
    }
}

.subscribe .cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.subscribe .cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.subscribe .cta-form .form-control {
    height: 50px;
    border-radius: 25px 0 0 25px;
    border: 1px solid var(--accent-color);
    padding-left: 20px;
}

    .subscribe .cta-form .form-control:focus {
        box-shadow: none;
        border-color: var(--accent-color);
    }

.subscribe .cta-form .btn {
    height: 50px;
    border-radius: 0 25px 25px 0;
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--contrast-color);
    padding: 0 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .subscribe .cta-form .btn:hover {
        background-color: color-mix(in srgb, var(--accent-color), black 10%);
        border-color: color-mix(in srgb, var(--accent-color), black 10%);
    }

@media (max-width: 575px) {
    .subscribe .cta-form .btn {
        padding: 0 15px;
    }
}

@media (max-width: 991px) {
    .subscribe .cta-content {
        text-align: center;
        margin-bottom: 2rem;
    }

    .subscribe .cta-image {
        text-align: center;
    }
}

/*--------------------------------------------------------------
# Recent Blog Postst Section
--------------------------------------------------------------*/
.recent-blog-postst .post-item {
    background: var(--surface-color);
    box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

    .recent-blog-postst .post-item .post-img img {
        transition: 0.5s;
    }

    .recent-blog-postst .post-item .post-date {
        position: absolute;
        right: 0;
        bottom: 0;
        background-color: var(--accent-color);
        color: var(--accent-contrast);
        text-transform: uppercase;
        font-size: 13px;
        padding: 6px 12px;
        font-weight: 500;
    }

    .recent-blog-postst .post-item .post-content {
        padding: 30px;
    }

    .recent-blog-postst .post-item .post-title {
        color: var(--heading-color);
        font-size: 20px;
        font-weight: 700;
        transition: 0.3s;
        margin-bottom: 15px;
    }

    .recent-blog-postst .post-item .meta i {
        font-size: 16px;
        color: var(--accent-text);
    }

    .recent-blog-postst .post-item .meta span {
        font-size: 15px;
        color: #6c7178; /* 50% mix rendered #93989f, 2.9:1 on white */
    }

    .recent-blog-postst .post-item hr {
        color: color-mix(in srgb, var(--default-color), transparent 80%);
        margin: 20px 0;
    }

    .recent-blog-postst .post-item .readmore {
        display: flex;
        align-items: center;
        font-weight: 600;
        line-height: 1;
        transition: 0.3s;
        color: color-mix(in srgb, var(--default-color), transparent 40%);
    }

        .recent-blog-postst .post-item .readmore i {
            line-height: 0;
            margin-left: 6px;
            font-size: 16px;
        }

    .recent-blog-postst .post-item:hover .post-title,
    .recent-blog-postst .post-item:hover .readmore {
        color: var(--accent-text);
    }

    .recent-blog-postst .post-item:hover .post-img img {
        transform: scale(1.1);
    }

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-wrap {
    background-color: var(--surface-color);
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    border-top: 3px solid var(--accent-color);
    border-bottom: 3px solid var(--accent-color);
    padding: 30px;
    height: 100%;
}

@media (max-width: 575px) {
    .contact .info-wrap {
        padding: 20px;
    }
}

.contact .info-item {
    margin-bottom: 40px;
}

    .contact .info-item i {
        font-size: 20px;
        color: var(--accent-text);
        background: color-mix(in srgb, var(--accent-color), transparent 92%);
        width: 44px;
        height: 44px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 50px;
        transition: all 0.3s ease-in-out;
        margin-right: 15px;
    }

    .contact .info-item h3 {
        padding: 0;
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 5px;
    }

    .contact .info-item p {
        padding: 0;
        margin-bottom: 0;
        font-size: 14px;
    }

    .contact .info-item:hover i {
        background: var(--accent-color);
        color: var(--contrast-color);
    }

/* Stand-in for the Google map until third-party consent is given (same height as the iframe) */
.consent-placeholder {
    min-height: 270px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    text-align: center;
    font-size: 14px;
    background: color-mix(in srgb, var(--accent-color), transparent 92%);
}

    .consent-placeholder[hidden] {
        display: none;
    }

    .consent-placeholder i {
        font-size: 28px;
        color: var(--accent-text);
    }

    .consent-placeholder p {
        margin: 0;
    }

    .consent-placeholder a:focus-visible,
    .consent-placeholder button:focus-visible {
        outline: 2px solid var(--accent-color);
        outline-offset: 2px;
    }

.contact .php-email-form {
    background-color: var(--surface-color);
    height: 100%;
    padding: 30px;
    border-top: 3px solid var(--accent-color);
    border-bottom: 3px solid var(--accent-color);
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 575px) {
    .contact .php-email-form {
        padding: 20px;
    }
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form input[type=tel ],
.contact .php-email-form textarea {
    font-size: 14px;
    padding: 10px 15px;
    box-shadow: none;
    border-radius: 0;
    color: var(--default-color);
    background-color: color-mix(in srgb, var(--background-color), transparent 50%);
    border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

    .contact .php-email-form input[type=text]:focus,
    .contact .php-email-form input[type=email]:focus,
    .contact .php-email-form textarea:focus {
        border-color: var(--accent-color);
    }

    .contact .php-email-form input[type=text]::placeholder,
    .contact .php-email-form input[type=email]::placeholder,
    .contact .php-email-form textarea::placeholder {
        color: color-mix(in srgb, var(--default-color), transparent 70%);
    }

.contact .php-email-form button[type=submit] {
    color: var(--accent-contrast);
    background: var(--accent-color);
    border: 0;
    padding: 10px 30px;
    transition: 0.4s;
    border-radius: 50px;
}

    .contact .php-email-form button[type=submit]:hover {
        background: color-mix(in srgb, var(--accent-color), transparent 25%);
    }

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-details-slider img {
    width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
    margin-top: 20px;
    position: relative;
}

    .portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
        width: 12px;
        height: 12px;
        background-color: color-mix(in srgb, var(--default-color), transparent 85%);
        opacity: 1;
    }

    .portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
        background-color: var(--accent-color);
    }

.portfolio-details .portfolio-info {
    background-color: var(--surface-color);
    padding: 30px;
    box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
}

    .portfolio-details .portfolio-info h3 {
        font-size: 22px;
        font-weight: 700;
        margin-bottom: 20px;
        padding-bottom: 20px;
        border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
    }

    .portfolio-details .portfolio-info ul {
        list-style: none;
        padding: 0;
        font-size: 15px;
    }

        .portfolio-details .portfolio-info ul li + li {
            margin-top: 10px;
        }

.portfolio-details .portfolio-description {
    padding-top: 30px;
}

    .portfolio-details .portfolio-description h2 {
        font-size: 26px;
        font-weight: 700;
        margin-bottom: 20px;
    }

    .portfolio-details .portfolio-description p {
        padding: 0;
        color: color-mix(in srgb, var(--default-color), transparent 30%);
    }

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .services-list {
    background-color: var(--surface-color);
    padding: 10px 30px;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    margin-bottom: 20px;
}

    .service-details .services-list a {
        display: block;
        line-height: 1;
        padding: 8px 0 8px 15px;
        border-left: 3px solid color-mix(in srgb, var(--default-color), transparent 70%);
        margin: 20px 0;
        color: color-mix(in srgb, var(--default-color), transparent 20%);
        transition: 0.3s;
    }

        .service-details .services-list a.active {
            color: var(--heading-color);
            font-weight: 700;
            border-color: var(--accent-color);
        }

        .service-details .services-list a:hover {
            border-color: var(--accent-color);
        }

.service-details .services-img {
    margin-bottom: 20px;
}

.service-details h3 {
    font-size: 26px;
    font-weight: 700;
}

.service-details h4 {
    font-size: 20px;
    font-weight: 700;
}

.service-details p {
    font-size: 15px;
}

.service-details ul {
    list-style: none;
    padding: 0;
    font-size: 15px;
}

    .service-details ul li {
        padding: 5px 0;
        display: flex;
        align-items: center;
    }

    .service-details ul i {
        font-size: 20px;
        margin-right: 8px;
        color: var(--accent-text);
    }

/*--------------------------------------------------------------
# Blog Posts Section
--------------------------------------------------------------*/
.blog-posts article {
    background-color: var(--surface-color);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    padding: 30px;
    height: 100%;
}

.blog-posts .post-img {
    max-height: 440px;
    margin: -30px -30px 0 -30px;
    overflow: hidden;
}

.blog-posts .title {
    font-size: 24px;
    font-weight: 700;
    padding: 0;
    margin: 30px 0;
}

    .blog-posts .title a {
        color: var(--heading-color);
        transition: 0.3s;
    }

        .blog-posts .title a:hover {
            color: var(--accent-text);
        }

.blog-posts .meta-top {
    margin-top: 20px;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
}

    .blog-posts .meta-top ul {
        display: flex;
        flex-wrap: wrap;
        list-style: none;
        align-items: center;
        padding: 0;
        margin: 0;
    }

        .blog-posts .meta-top ul li + li {
            padding-left: 20px;
        }

    .blog-posts .meta-top i {
        font-size: 16px;
        margin-right: 8px;
        line-height: 0;
        color: color-mix(in srgb, var(--default-color), transparent 20%);
    }

    .blog-posts .meta-top a {
        color: color-mix(in srgb, var(--default-color), transparent 40%);
        font-size: 14px;
        display: inline-block;
        line-height: 1;
    }

.blog-posts .content {
    margin-top: 20px;
}

    .blog-posts .content .read-more {
        text-align: right;
    }

        .blog-posts .content .read-more a {
            background: var(--accent-color);
            color: var(--contrast-color);
            display: inline-block;
            padding: 8px 30px;
            transition: 0.3s;
            font-size: 14px;
            border-radius: 4px;
        }

            .blog-posts .content .read-more a:hover {
                background: color-mix(in srgb, var(--accent-color), transparent 20%);
            }

/*--------------------------------------------------------------
# Pagination 2 Section
--------------------------------------------------------------*/
.pagination-2 {
    padding-top: 0;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
}

    .pagination-2 ul {
        display: flex;
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .pagination-2 li {
        margin: 0 5px;
        transition: 0.3s;
    }

        .pagination-2 li a {
            color: color-mix(in srgb, var(--default-color), transparent 40%);
            padding: 7px 16px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

            .pagination-2 li a.active,
            .pagination-2 li a:hover {
                background: var(--accent-color);
                color: var(--contrast-color);
            }

                .pagination-2 li a.active a,
                .pagination-2 li a:hover a {
                    color: var(--contrast-color);
                }

/*--------------------------------------------------------------
# Blog Details Section
--------------------------------------------------------------*/
.blog-details {
    max-width: 1000px;
    margin: 0 auto;
}

    .blog-details .hero-img {
        position: relative;
        width: 100%;
        height: 500px;
        margin: 0 auto 3rem;
        border-radius: 16px;
        overflow: hidden;
    }

        .blog-details .hero-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .blog-details .hero-img .meta-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 2rem;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
        }

            .blog-details .hero-img .meta-overlay .meta-categories .category {
                color: var(--contrast-color);
                background-color: var(--accent-color);
                padding: 0.4rem 1rem;
                border-radius: 30px;
                font-size: 0.9rem;
                text-decoration: none;
                transition: all 0.3s ease;
            }

                .blog-details .hero-img .meta-overlay .meta-categories .category:hover {
                    background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
                }

            .blog-details .hero-img .meta-overlay .meta-categories .divider {
                color: var(--contrast-color);
                margin: 0 0.75rem;
            }

            .blog-details .hero-img .meta-overlay .meta-categories .reading-time {
                color: var(--contrast-color);
                font-size: 0.9rem;
            }

                .blog-details .hero-img .meta-overlay .meta-categories .reading-time i {
                    margin-right: 0.3rem;
                }

@media (max-width: 768px) {
    .blog-details .hero-img {
        height: 350px;
        margin-top: -30px;
        margin-bottom: 2rem;
    }
}

.blog-details .article-content {
    padding: 0 1rem;
}

    .blog-details .article-content .content-header {
        margin-bottom: 3rem;
    }

        .blog-details .article-content .content-header .title {
            font-size: 2.8rem;
            line-height: 1.2;
            margin-bottom: 2rem;
            font-weight: 700;
            color: var(--heading-color);
        }

@media (max-width: 768px) {
    .blog-details .article-content .content-header .title {
        font-size: 2rem;
    }
}

.blog-details .article-content .content-header .author-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

    .blog-details .article-content .content-header .author-info .author-details {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

        .blog-details .article-content .content-header .author-info .author-details .author-img {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            object-fit: cover;
        }

        .blog-details .article-content .content-header .author-info .author-details .info h4 {
            margin: 0;
            font-size: 1.1rem;
            color: var(--heading-color);
        }

        .blog-details .article-content .content-header .author-info .author-details .info .role {
            font-size: 0.9rem;
            color: color-mix(in srgb, var(--default-color), transparent 30%);
        }

    .blog-details .article-content .content-header .author-info .post-meta {
        color: color-mix(in srgb, var(--default-color), transparent 30%);
        font-size: 0.95rem;
    }

        .blog-details .article-content .content-header .author-info .post-meta i {
            margin-right: 0.3rem;
        }

        .blog-details .article-content .content-header .author-info .post-meta .divider {
            margin: 0 0.75rem;
        }

.blog-details .article-content .content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: color-mix(in srgb, var(--default-color), transparent 10%);
}

    .blog-details .article-content .content .lead {
        font-size: 1.3rem;
        color: var(--heading-color);
        margin-bottom: 2rem;
        font-weight: 500;
    }

    .blog-details .article-content .content h2 {
        font-size: 2rem;
        color: var(--heading-color);
        margin: 3rem 0 1.5rem;
    }

    .blog-details .article-content .content p {
        margin-bottom: 1.5rem;
    }

    .blog-details .article-content .content ul {
        margin-bottom: 2rem;
        padding-left: 1.2rem;
    }

        .blog-details .article-content .content ul li {
            margin-bottom: 0.75rem;
            position: relative;
        }

    .blog-details .article-content .content .content-image {
        margin: 2.5rem 0;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    }

        .blog-details .article-content .content .content-image.right-aligned {
            float: right;
            max-width: 450px;
            margin: 1rem 0 2rem 2rem;
        }

@media (max-width: 768px) {
    .blog-details .article-content .content .content-image.right-aligned {
        float: none;
        max-width: 100%;
        margin: 2rem 0;
    }
}

.blog-details .article-content .content .content-image img {
    width: 100%;
    height: auto;
}

.blog-details .article-content .content .content-image figcaption {
    padding: 1rem;
    text-align: center;
    font-size: 0.9rem;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    background-color: color-mix(in srgb, var(--surface-color), transparent 50%);
}

.blog-details .article-content .content .highlight-box {
    background: color-mix(in srgb, var(--accent-color), transparent 95%);
    border-radius: 12px;
    padding: 2rem;
    margin: 2.5rem 0;
}

    .blog-details .article-content .content .highlight-box h3 {
        color: var(--heading-color);
        margin-bottom: 1.5rem;
        font-size: 1.5rem;
    }

    .blog-details .article-content .content .highlight-box .trend-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .blog-details .article-content .content .highlight-box .trend-list li {
            display: flex;
            align-items: center;
            margin-bottom: 1rem;
            padding: 0.5rem 0;
        }

            .blog-details .article-content .content .highlight-box .trend-list li i {
                color: var(--accent-text);
                font-size: 1.5rem;
                margin-right: 1rem;
            }

            .blog-details .article-content .content .highlight-box .trend-list li span {
                color: var(--heading-color);
                font-weight: 500;
            }

.blog-details .article-content .content .content-grid {
    margin: 3rem 0;
}

    .blog-details .article-content .content .content-grid .info-card {
        background: var(--surface-color);
        border-radius: 12px;
        padding: 2rem;
        height: 100%;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
        transition: transform 0.3s ease;
    }

        .blog-details .article-content .content .content-grid .info-card:hover {
            transform: translateY(-5px);
        }

        .blog-details .article-content .content .content-grid .info-card i {
            font-size: 2rem;
            color: var(--accent-text);
            margin-bottom: 1rem;
        }

        .blog-details .article-content .content .content-grid .info-card h4 {
            color: var(--heading-color);
            margin-bottom: 1rem;
            font-size: 1.3rem;
        }

        .blog-details .article-content .content .content-grid .info-card p {
            margin: 0;
            font-size: 1rem;
            line-height: 1.6;
        }

.blog-details .article-content .content blockquote {
    position: relative;
    margin: 3rem 0;
    padding: 2rem 3rem;
    background: var(--surface-color);
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

    .blog-details .article-content .content blockquote::before {
        content: '"';
        position: absolute;
        top: -20px;
        left: 20px;
        font-size: 8rem;
        color: color-mix(in srgb, var(--accent-color), transparent 85%);
        font-family: serif;
        line-height: 1;
    }

    .blog-details .article-content .content blockquote p {
        font-size: 1.3rem;
        font-style: italic;
        color: var(--heading-color);
        margin: 0 0 1rem;
        position: relative;
    }

    .blog-details .article-content .content blockquote cite {
        font-style: normal;
        color: color-mix(in srgb, var(--default-color), transparent 30%);
        font-size: 0.95rem;
        display: block;
    }

.blog-details .article-content .meta-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    display: grid;
    gap: 2rem;
}

    .blog-details .article-content .meta-bottom h4 {
        color: var(--heading-color);
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .blog-details .article-content .meta-bottom .tags {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

        .blog-details .article-content .meta-bottom .tags .tag {
            background: color-mix(in srgb, var(--accent-color), transparent 90%);
            color: var(--accent-text);
            padding: 0.5rem 1rem;
            border-radius: 30px;
            font-size: 0.9rem;
            text-decoration: none;
            transition: all 0.3s ease;
        }

            .blog-details .article-content .meta-bottom .tags .tag:hover {
                background: var(--accent-color);
                color: var(--contrast-color);
            }

    .blog-details .article-content .meta-bottom .social-links {
        display: flex;
        gap: 1rem;
    }

        .blog-details .article-content .meta-bottom .social-links a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: color-mix(in srgb, var(--accent-color), transparent 90%);
            color: var(--accent-text);
            transition: all 0.3s ease;
        }

            .blog-details .article-content .meta-bottom .social-links a:hover {
                background: var(--accent-color);
                color: var(--contrast-color);
                transform: translateY(-2px);
            }

            .blog-details .article-content .meta-bottom .social-links a i {
                font-size: 1.2rem;
            }

/*--------------------------------------------------------------
# Blog Comments Section
--------------------------------------------------------------*/
.blog-comments {
    padding: 20px 0;
}

    .blog-comments .comments-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 40px;
        padding-bottom: 20px;
        border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
    }

        .blog-comments .comments-header .title {
            color: var(--heading-color);
            font-size: 32px;
            font-weight: 700;
            font-family: var(--heading-font);
            margin: 0;
        }

        .blog-comments .comments-header .comments-stats {
            background: color-mix(in srgb, var(--default-color), transparent 95%);
            padding: 8px 20px;
            border-radius: 30px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

            .blog-comments .comments-header .comments-stats .count {
                font-size: 18px;
                font-weight: 700;
            }

            .blog-comments .comments-header .comments-stats .label {
                font-size: 14px;
                text-transform: uppercase;
                letter-spacing: 0.5px;
            }

    .blog-comments .comments-container {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .blog-comments .comment-thread {
        position: relative;
    }

        .blog-comments .comment-thread:not(:last-child)::after {
            content: "";
            position: absolute;
            left: 25px;
            top: 80px;
            bottom: 0;
            width: 2px;
            background: linear-gradient(to bottom, color-mix(in srgb, var(--accent-color), transparent 40%), color-mix(in srgb, var(--accent-color), transparent 90%));
            z-index: 0;
        }

@media (min-width: 768px) {
    .blog-comments .comment-thread:not(:last-child)::after {
        left: 35px;
    }
}

.blog-comments .comment-box {
    position: relative;
    transition: all 0.3s ease;
}

    .blog-comments .comment-box.reply {
        margin-left: 50px;
        margin-top: 25px;
    }

@media (min-width: 768px) {
    .blog-comments .comment-box.reply {
        margin-left: 70px;
    }
}

.blog-comments .comment-wrapper {
    display: flex;
    gap: 20px;
    position: relative;
}

.blog-comments .avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}

    .blog-comments .avatar-wrapper img {
        width: 50px;
        height: 50px;
        border-radius: 15px;
        object-fit: cover;
        border: 3px solid var(--surface-color);
        box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
        transition: transform 0.3s ease;
    }

@media (min-width: 768px) {
    .blog-comments .avatar-wrapper img {
        width: 70px;
        height: 70px;
    }
}

.blog-comments .avatar-wrapper img:hover {
    transform: scale(1.05);
}

.blog-comments .avatar-wrapper .status-indicator {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #4CAF50;
    border: 2px solid var(--surface-color);
    z-index: 1;
}

.blog-comments .comment-content {
    flex: 1;
    background-color: var(--surface-color);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

    .blog-comments .comment-content:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    }

.blog-comments .comment-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

    .blog-comments .comment-header .user-info h4 {
        color: var(--heading-color);
        font-size: 18px;
        font-weight: 600;
        margin: 0 0 5px;
    }

    .blog-comments .comment-header .user-info .time-badge {
        display: flex;
        align-items: center;
        gap: 5px;
        font-size: 14px;
        color: color-mix(in srgb, var(--default-color), transparent 40%);
    }

        .blog-comments .comment-header .user-info .time-badge i {
            font-size: 13px;
        }

    .blog-comments .comment-header .engagement .likes {
        display: flex;
        align-items: center;
        gap: 5px;
        padding: 6px 12px;
        background-color: color-mix(in srgb, var(--accent-color), transparent 92%);
        border-radius: 20px;
        color: var(--accent-text);
        font-size: 14px;
        font-weight: 500;
    }

        .blog-comments .comment-header .engagement .likes i {
            font-size: 13px;
        }

.blog-comments .comment-body p {
    color: var(--default-color);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-comments .comment-actions {
    display: flex;
    gap: 15px;
}

    .blog-comments .comment-actions .action-btn {
        background: none;
        border: none;
        padding: 8px 15px;
        border-radius: 20px;
        color: color-mix(in srgb, var(--default-color), transparent 40%);
        font-size: 14px;
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 6px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

        .blog-comments .comment-actions .action-btn i {
            font-size: 15px;
            transition: all 0.3s ease;
        }

        .blog-comments .comment-actions .action-btn:hover {
            color: var(--accent-text);
            background-color: color-mix(in srgb, var(--accent-color), transparent 92%);
        }

            .blog-comments .comment-actions .action-btn:hover.like-btn i {
                transform: scale(1.2);
                color: #ff4b6e;
            }

            .blog-comments .comment-actions .action-btn:hover.reply-btn i {
                transform: translateX(-3px);
            }

            .blog-comments .comment-actions .action-btn:hover.share-btn i {
                transform: translateY(-2px);
            }

        .blog-comments .comment-actions .action-btn.like-btn.active {
            color: #ff4b6e;
        }

.blog-comments .replies-container {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

@media (max-width: 768px) {
    .blog-comments .comments-header {
        margin-bottom: 30px;
    }

        .blog-comments .comments-header .title {
            font-size: 24px;
        }

        .blog-comments .comments-header .comments-stats {
            padding: 6px 15px;
        }

            .blog-comments .comments-header .comments-stats .count {
                font-size: 20px;
            }

            .blog-comments .comments-header .comments-stats .label {
                font-size: 12px;
            }

    .blog-comments .comment-content {
        padding: 20px;
    }

    .blog-comments .comment-header .user-info h4 {
        font-size: 16px;
    }

    .blog-comments .comment-header .user-info .time-badge {
        font-size: 13px;
    }

    .blog-comments .comment-body p {
        font-size: 14px;
    }

    .blog-comments .comment-actions .action-btn {
        padding: 6px 12px;
        font-size: 13px;
    }
}

/*--------------------------------------------------------------
# Blog Comment Form Section
--------------------------------------------------------------*/
.blog-comment-form {
    max-width: 900px;
    margin: 30px auto 0 auto;
    padding-top: 10px;
}

    .blog-comment-form form {
        padding: 2rem;
        background-color: var(--surface-color);
        border-radius: 12px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    }

    .blog-comment-form .form-header {
        text-align: center;
        margin-bottom: 2rem;
    }

        .blog-comment-form .form-header h3 {
            color: var(--heading-color);
            font-size: 1.75rem;
            margin-bottom: 0.5rem;
        }

        .blog-comment-form .form-header p {
            color: color-mix(in srgb, var(--default-color), transparent 30%);
            font-size: 0.9375rem;
        }

    .blog-comment-form .input-group {
        margin-bottom: 1rem;
        position: relative;
    }

        .blog-comment-form .input-group label {
            display: block;
            margin-bottom: 0.5rem;
            color: var(--heading-color);
            font-weight: 500;
            font-size: 0.875rem;
        }

        .blog-comment-form .input-group input,
        .blog-comment-form .input-group textarea {
            width: 100%;
            padding: 0.875rem 1rem;
            border: 2px solid color-mix(in srgb, var(--default-color), transparent 85%);
            border-radius: 8px;
            background-color: var(--surface-color);
            color: var(--default-color);
            font-size: 0.9375rem;
            transition: all 0.2s ease;
        }

            .blog-comment-form .input-group input::placeholder,
            .blog-comment-form .input-group textarea::placeholder {
                color: color-mix(in srgb, var(--default-color), transparent 60%);
            }

            .blog-comment-form .input-group input:hover,
            .blog-comment-form .input-group textarea:hover {
                border-color: color-mix(in srgb, var(--default-color), transparent 70%);
            }

            .blog-comment-form .input-group input:focus,
            .blog-comment-form .input-group textarea:focus {
                outline: none;
                border-color: var(--accent-color);
                box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-color), transparent 90%);
            }

            .blog-comment-form .input-group input:invalid:not(:placeholder-shown),
            .blog-comment-form .input-group textarea:invalid:not(:placeholder-shown) {
                border-color: #dc3545;
            }

                .blog-comment-form .input-group input:invalid:not(:placeholder-shown) + .error-text,
                .blog-comment-form .input-group textarea:invalid:not(:placeholder-shown) + .error-text {
                    opacity: 1;
                    transform: translateY(0);
                }

        .blog-comment-form .input-group textarea {
            min-height: 120px;
            resize: vertical;
        }

        .blog-comment-form .input-group .error-text {
            position: absolute;
            bottom: -20px;
            left: 0;
            color: #dc3545;
            font-size: 0.75rem;
            opacity: 0;
            transform: translateY(-10px);
            transition: all 0.2s ease;
        }

    .blog-comment-form button[type=submit] {
        background: var(--accent-color);
        color: var(--contrast-color);
        padding: 0.875rem 2.5rem;
        border: none;
        border-radius: 8px;
        font-size: 1rem;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s ease;
    }

        .blog-comment-form button[type=submit]:hover {
            background: color-mix(in srgb, var(--accent-color), transparent 15%);
            transform: translateY(-2px);
        }

        .blog-comment-form button[type=submit]:active {
            transform: translateY(0);
        }

@media (max-width: 768px) {
    .blog-comment-form {
        padding: 1.5rem;
    }

        .blog-comment-form .form-header h3 {
            font-size: 1.5rem;
        }

        .blog-comment-form button[type=submit] {
            width: 100%;
            padding: 0.875rem 1rem;
        }
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
    /* Add your styles here */
}

/*--------------------------------------------------------------
# Error 404 Section
--------------------------------------------------------------*/
.error-404 {
    padding: 80px 0;
    margin: 0 auto;
}

    .error-404 .error-icon {
        font-size: 5rem;
        color: color-mix(in srgb, var(--accent-color), transparent 15%);
    }

    .error-404 .error-code {
        font-size: clamp(6rem, 15vw, 12rem);
        font-weight: 800;
        color: color-mix(in srgb, var(--heading-color), transparent 10%);
        font-family: var(--heading-font);
        line-height: 1;
    }

    .error-404 .error-title {
        font-size: 2rem;
        color: var(--heading-color);
        font-weight: 600;
    }

    .error-404 .error-text {
        font-size: 1.1rem;
        color: color-mix(in srgb, var(--default-color), transparent 20%);
        max-width: 600px;
        margin: 0 auto;
    }

    .error-404 .search-box {
        max-width: 500px;
        margin: 0 auto;
    }

        .error-404 .search-box .input-group {
            border-radius: 50px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }

        .error-404 .search-box .form-control {
            border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
            padding: 0.75rem 1.5rem;
            font-size: 1rem;
            color: var(--default-color);
            background-color: var(--surface-color);
            border-radius: 50px;
        }

            .error-404 .search-box .form-control:focus {
                box-shadow: none;
                border-color: var(--accent-color);
            }

            .error-404 .search-box .form-control::placeholder {
                color: color-mix(in srgb, var(--default-color), transparent 60%);
            }

        .error-404 .search-box .search-btn {
            background-color: var(--accent-color);
            color: var(--contrast-color);
            border: none;
            padding: 0.75rem 1.5rem;
            transition: all 0.3s ease;
        }

            .error-404 .search-box .search-btn:hover {
                background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
            }

    .error-404 .error-action .btn-primary {
        padding: 0.75rem 2rem;
        font-size: 1.1rem;
        background-color: var(--accent-color);
        border: none;
        color: var(--contrast-color);
        border-radius: 50px;
        transition: all 0.3s ease;
    }

        .error-404 .error-action .btn-primary:hover {
            background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
            transform: translateY(-2px);
        }

@media (max-width: 768px) {
    .error-404 {
        padding: 60px 0;
    }

        .error-404 .error-code {
            font-size: clamp(4rem, 12vw, 8rem);
        }

        .error-404 .error-title {
            font-size: 1.5rem;
        }

        .error-404 .error-text {
            font-size: 1rem;
            padding: 0 20px;
        }

        .error-404 .search-box {
            margin: 0 20px;
        }
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widgets-container {
    margin: 60px 0 30px 0;
}

.widget-title {
    color: var(--heading-color);
    font-size: 20px;
    font-weight: 600;
    padding: 0 0 0 10px;
    margin: 0 0 20px 0;
    border-left: 4px solid var(--accent-color);
}

.widget-item {
    margin-bottom: 30px;
    background-color: color-mix(in srgb, var(--default-color), transparent 98%);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    padding: 30px;
    border-radius: 5px;
}

    .widget-item:last-child {
        margin-bottom: 0;
    }

.search-widget form {
    background: var(--background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 75%);
    padding: 3px 10px;
    position: relative;
    border-radius: 50px;
    transition: 0.3s;
}

    .search-widget form input[type=text] {
        border: 0;
        padding: 4px 10px;
        border-radius: 4px;
        width: calc(100% - 40px);
        background-color: var(--background-color);
        color: var(--default-color);
    }

        .search-widget form input[type=text]:focus {
            outline: none;
        }

    .search-widget form button {
        background: none;
        color: var(--default-color);
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        border: 0;
        font-size: 16px;
        padding: 0 16px;
        transition: 0.3s;
        line-height: 0;
    }

        .search-widget form button i {
            line-height: 0;
        }

        .search-widget form button:hover {
            color: var(--accent-text);
        }

    .search-widget form:is(:focus-within) {
        border-color: var(--accent-color);
    }

.recent-posts-widget .post-item {
    display: flex;
    margin-bottom: 15px;
}

    .recent-posts-widget .post-item:last-child {
        margin-bottom: 0;
    }

    .recent-posts-widget .post-item img {
        width: 80px;
        margin-right: 15px;
    }

    .recent-posts-widget .post-item h4 {
        font-size: 15px;
        font-weight: bold;
        margin-bottom: 5px;
    }

        .recent-posts-widget .post-item h4 a {
            color: var(--default-color);
            transition: 0.3s;
        }

            .recent-posts-widget .post-item h4 a:hover {
                color: var(--accent-text);
            }

    .recent-posts-widget .post-item time {
        display: block;
        font-style: italic;
        font-size: 14px;
        color: color-mix(in srgb, var(--default-color), transparent 50%);
    }

.categories-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .categories-widget ul li {
        padding-bottom: 10px;
    }

        .categories-widget ul li:last-child {
            padding-bottom: 0;
        }

    .categories-widget ul a {
        color: color-mix(in srgb, var(--default-color), transparent 20%);
        transition: 0.3s;
    }

        .categories-widget ul a:hover {
            color: var(--accent-text);
        }

        .categories-widget ul a span {
            padding-left: 5px;
            color: color-mix(in srgb, var(--default-color), transparent 50%);
            font-size: 14px;
        }

.tags-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .tags-widget ul li {
        display: inline-block;
    }

    .tags-widget ul a {
        background-color: color-mix(in srgb, var(--default-color), transparent 94%);
        color: color-mix(in srgb, var(--default-color), transparent 30%);
        border-radius: 50px;
        font-size: 14px;
        padding: 5px 15px;
        margin: 0 6px 8px 0;
        display: inline-block;
        transition: 0.3s;
    }

        .tags-widget ul a:hover {
            background: var(--accent-color);
            color: var(--contrast-color);
        }

        .tags-widget ul a span {
            padding-left: 5px;
            color: color-mix(in srgb, var(--default-color), transparent 60%);
            font-size: 14px;
        }

/* Case Studies Swiper — constrained cards that scroll horizontally.
   Each card splits into two equal rows: a full-bleed `object-fit: cover`
   image on top, body copy below. */
.case-studies-swiper {
    position: relative;
    width: calc(100% - 80px);
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 10px;
}

    .case-studies-swiper .swiper-wrapper {
        align-items: stretch;
    }

    .case-studies-swiper .swiper-slide {
        height: auto;
        display: flex;
    }

.case-study-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--surface-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .case-study-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 28px rgba(18, 58, 92, 0.12);
    }

.case-study-card__media {
    flex: 1 1 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--heading-color), transparent 94%);
    overflow: hidden;
}

    .case-study-card__media img {
        width: 80%;
        height: 80%;
        object-fit: cover;
    }

.case-study-card__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 50%;
    padding: 28px 28px 24px;
}

    .case-study-card__body h3 {
        font-family: var(--heading-font);
        font-size: 1.25rem;
        color: var(--heading-color);
        margin-bottom: 0.6rem;
    }

    .case-study-card__body p {
        color: color-mix(in srgb, var(--default-color), transparent 10%);
        line-height: 1.6;
        font-size: 0.95rem;
    }

.case-study-client {
    font-family: var(--mono-font);
    font-size: 0.8rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    margin-bottom: 0.5rem;
}

.case-study-link {
    display: inline-block;
    align-self: flex-end;
    margin-top: auto;
    padding-top: 1rem;
    color: var(--accent-text);
    font-weight: 600;
}

.case-studies-swiper .swiper-button-prev,
.case-studies-swiper .swiper-button-next {
    color: var(--accent-contrast);
    background: var(--accent-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    top: 40%;
}

.case-studies-swiper .swiper-button-prev::after,
.case-studies-swiper .swiper-button-next::after {
    font-size: 16px;
}

/* 24px hit area (WCAG 2.5.8) around the default 8px dot */
.case-studies-swiper .swiper-pagination-bullet {
    --swiper-pagination-bullet-horizontal-gap: 0;
    width: 24px;
    height: 24px;
    padding: 8px;
    box-sizing: border-box;
    background-clip: content-box;
}

.case-studies-swiper .swiper-pagination-bullet-active {
    background: var(--accent-color);
}

.case-studies-swiper .swiper-button-prev:focus-visible,
.case-studies-swiper .swiper-button-next:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .case-studies-swiper {
        width: calc(100% - 32px);
    }
}

/*--------------------------------------------------------------
# Jobs Section
--------------------------------------------------------------*/
.jobs .post-item {
    background: var(--surface-color);
    border-top: 3px solid transparent;
    box-shadow: 0 2px 16px rgba(18, 58, 92, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.jobs .post-item:hover {
    transform: translateY(-5px);
    border-top-color: var(--accent-color);
    box-shadow: 0 10px 28px rgba(18, 58, 92, 0.12);
}

.jobs .post-item .post-img img {
    transition: transform 0.5s ease;
    width: 100%;
}

.jobs .post-item:hover .post-img img {
    transform: scale(1.05);
}

.jobs .post-item .post-date {
    position: absolute;
    right: 0;
    bottom: 0;
    background: var(--accent-color);
    color: var(--accent-contrast);
    font-size: 14px;
    padding: 6px 18px;
}

.jobs .post-item .post-content {
    padding: 28px;
}

.jobs .post-item .post-title {
    color: var(--heading-color);
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 12px;
}

.jobs .post-item .meta i {
    font-size: 16px;
    color: var(--accent-text);
}

.jobs .post-item .meta span {
    font-size: 15px;
    color: #6c7178; /* 50% mix rendered #93989f, 2.9:1 on white */
}

.jobs .post-item hr {
    color: color-mix(in srgb, var(--default-color), transparent 80%);
    margin: 20px 0;
}

.jobs .post-item .readmore {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 15px;
    color: var(--accent-text);
}

.jobs .post-item .readmore i {
    line-height: 0;
    margin-left: 6px;
    transition: margin-left 0.2s ease;
}

.jobs .post-item:hover .readmore i {
    margin-left: 10px;
}

.jobs .post-item:hover .post-title,
.jobs .post-item:hover .readmore {
    color: var(--accent-text);
}
