/* Shared/global component helpers. Filename intentionally follows the project's `comman.css` convention. */
:root {
    --navy: #071b3a;
    --blue: #1268ff;
    --blue2: #65a8ff;
    --ink: #10203d;
    --muted: #66738a;
    --bg: #f6faff;
    --white: #fff;
    --line: #e4edf8;
    --radius: 24px;
    --container: 1240px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px
}

body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    overflow-x: hidden
}

a {
    color: inherit;
    text-decoration: none
}

img {
    max-width: 100%;
    height: auto
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin: auto
}

.site-header {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1180px, calc(100% - 40px));
    z-index: 120;
    margin: 0;
    border: 1px solid rgba(113, 151, 255, .34);
    border-radius: 999px;
    background: rgba(5, 10, 18, .88);
    backdrop-filter: blur(22px) saturate(125%);
    -webkit-backdrop-filter: blur(22px) saturate(125%);
    box-shadow: 0 14px 50px rgba(0, 0, 0, .34), 0 0 28px rgba(54, 103, 255, .08), inset 0 1px 0 rgba(255, 255, 255, .055);
}


.header-inner {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.brand {
    font-weight: 800;
    display: flex;
    gap: 10px;
    align-items: center
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #0b62ff, #8bc4ff);
    color: #fff
}

.brand-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 12px
}

.brand small {
    display: block;
    color: var(--muted);
    font-weight: 500;
    font-size: 11px
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 14px;
    font-weight: 650
}

.desktop-nav ul {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0
}

.desktop-nav li {
    list-style: none
}

.desktop-nav a {
    display: inline-flex;
    align-items: center
}

.desktop-nav a {
    transition: color .2s
}

.desktop-nav .current-menu-item>a,
.desktop-nav .current_page_item>a {
    color: var(--blue)
}

.desktop-nav a:hover {
    color: var(--blue)
}

.header-cta,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    padding: 12px 20px;
    background: var(--blue);
    color: #fff;
    font-weight: 750;
    border: 0;
    transition: transform .2s, box-shadow .2s
}

.header-cta:hover,
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(18, 104, 255, .22)
}

.btn-outline {
    background: #fff;
    color: var(--blue);
    border: 1px solid #bcd6ff
}

.btn-light {
    background: #fff;
    color: var(--navy)
}

.section {
    padding: 96px 0
}

.section-soft {
    background: var(--bg)
}

.eyebrow {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 999px;
    background: #edf5ff;
    color: var(--blue);
    font-size: 12px;
    font-weight: 800
}

.hero {
    padding: 90px 0 70px;
    background: radial-gradient(circle at 80% 20%, #ddebff 0, transparent 32%), linear-gradient(180deg, #fff, #f5faff)
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 55px;
    align-items: center
}

.hero h1 {
    font-size: clamp(44px, 6vw, 76px);
    line-height: 1.02;
    letter-spacing: -3px;
    margin: 18px 0
}

.gradient-text {
    color: var(--blue)
}

.hero-copy {
    font-size: 18px;
    color: var(--muted);
    max-width: 650px
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 28px;
    flex-wrap: wrap
}

.hero-image {
    min-height: 540px;
    border-radius: 36px;
    background: linear-gradient(145deg, #e9f3ff, #fff);
    overflow: hidden;
    position: relative;
    display: grid;
    place-items: end center;
    box-shadow: 0 25px 70px rgba(34, 83, 145, .12)
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.hero-placeholder {
    height: 100%;
    min-height: 540px;
    width: 100%;
    display: grid;
    place-items: center;
    align-content: center;
    color: var(--blue)
}

.hero-placeholder span {
    font-size: 100px;
    font-weight: 900;
    letter-spacing: -8px
}

.hero-placeholder small {
    font-weight: 800
}

.floating-badge {
    position: absolute;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 12px 16px;
    font-weight: 800;
    box-shadow: 0 15px 40px rgba(25, 75, 135, .13);
    animation: float 4s ease-in-out infinite
}

.floating-badge small {
    font-size: 10px;
    color: var(--muted);
    font-weight: 600
}

.badge-one {
    left: -18px;
    top: 90px;
    color: var(--blue)
}

.badge-two {
    right: -18px;
    bottom: 80px
}

.stat-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 36px
}

.stat {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff
}

.stat strong {
    font-size: 25px;
    display: block
}

.muted {
    color: var(--muted)
}

.section-head {
    max-width: 780px;
    margin-bottom: 42px
}

.section-head h2 {
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.08;
    letter-spacing: -1.5px;
    margin: 12px 0
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center
}

.about-pills {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px
}

.about-pills span {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    font-weight: 750;
    box-shadow: 0 10px 30px rgba(24, 70, 130, .04)
}

.grid {
    display: grid;
    gap: 18px
}

.services-grid {
    grid-template-columns: repeat(3, 1fr)
}

.card {
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    padding: 26px;
    box-shadow: 0 10px 35px rgba(24, 70, 130, .05);
    transition: transform .25s, box-shadow .25s
}

.card:hover {
    transform: translateY(-7px);
    box-shadow: 0 22px 50px rgba(24, 70, 130, .11)
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #edf5ff;
    color: var(--blue);
    display: grid;
    place-items: center;
    font-size: 19px;
    margin-bottom: 20px
}

.footer-socials i,
.mobile-socials i {
    font-size: 17px
}

.mobile-nav a span {
    display: grid;
    place-items: center;
    font-size: 17px;
    line-height: 18px;
    height: 22px
}

.mobile-nav .plus i {
    font-size: 21px
}

.quick-item span {
    display: grid;
    place-items: center;
    color: var(--blue);
    font-size: 18px;
    height: 24px;
    margin-bottom: 3px
}

.card h3 {
    margin-bottom: 8px
}

.card-link {
    display: inline-block;
    margin-top: 8px;
    color: var(--blue);
    font-weight: 800;
    font-size: 13px
}

.projects-grid {
    grid-template-columns: repeat(3, 1fr)
}

.project-card {
    padding: 14px;
    overflow: hidden
}

.project-card h3,
.project-card p,
.project-card .tags,
.project-meta {
    margin-left: 10px;
    margin-right: 10px
}

.project-media {
    display: block;
    aspect-ratio: 16/10;
    border-radius: 16px;
    background: #edf5ff;
    overflow: hidden;
    margin-bottom: 16px
}

.project-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s
}

.project-card:hover .project-media img {
    transform: scale(1.04)
}

.project-meta {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--blue);
    font-weight: 800
}

.tags {
    display: flex;
    gap: 7px;
    flex-wrap: wrap
}

.tag {
    font-size: 11px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #f0f5fb;
    color: #52647f
}

.timeline {
    position: relative;
    display: grid;
    gap: 24px
}

.timeline-item {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 30px;
    padding: 0 0 24px 20px;
    border-left: 2px solid #dbeaff;
    position: relative
}

.timeline-item:before {
    content: "";
    position: absolute;
    left: -7px;
    top: 4px;
    width: 12px;
    height: 12px;
    background: var(--blue);
    border-radius: 50%;
    box-shadow: 0 0 0 6px #eaf3ff
}

.timeline-item strong {
    color: var(--blue);
    font-size: 13px
}

.role-company {
    font-weight: 800;
    margin: 2px 0
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px
}

.skill {
    padding: 13px 17px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    font-weight: 700;
    transition: transform .2s
}

.skill:hover {
    transform: translateY(-3px)
}

.process-grid {
    grid-template-columns: repeat(6, 1fr)
}

.process-step {
    text-align: center
}

.step-number {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    margin: 0 auto 12px;
    display: grid;
    place-items: center;
    background: #eaf3ff;
    color: var(--blue);
    font-weight: 900
}

.cta {
    background: var(--navy);
    color: #fff;
    border-radius: 32px;
    padding: 60px;
    position: relative;
    overflow: hidden
}

.cta:after {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .12);
    right: -80px;
    bottom: -180px
}

.cta p {
    color: #b8c8df;
    max-width: 650px
}

.site-footer {
    background: #071120;
    color: #fff;
    padding: 50px 0 100px;
}

.footer-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #8fa4c1;
    font-size: 13px;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-grid small {
    color: #8fa4c1;
}

.muted-light {
    color: #b8c8df
}

.footer-socials,
.mobile-socials {
    display: flex;
    gap: 10px
}

.footer-socials a,
.mobile-socials a {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 12px;
    display: grid;
    place-items: center;
    transition: .2s
}

.footer-socials a:hover,
.mobile-socials a:hover {
    background: #fff;
    color: var(--navy);
    transform: translateY(-2px)
}

.footer-socials svg,
.mobile-socials svg {
    width: 18px;
    height: 18px;
    fill: currentColor
}

.mobile-nav {
    display: none
}

.mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(7, 27, 58, .55);
    z-index: 100;
    visibility: hidden;
    opacity: 0;
    transition: .25s
}

.mobile-menu.open {
    visibility: visible;
    opacity: 1
}

.mobile-menu-panel {
    margin-left: auto;
    width: min(390px, 92%);
    height: 100%;
    background: #fff;
    padding: 90px 28px 30px;
    transform: translateX(30px);
    transition: .25s
}

.mobile-menu.open .mobile-menu-panel {
    transform: none
}

.mobile-menu a {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-weight: 700
}

.menu-close {
    position: absolute;
    right: 28px;
    top: 22px;
    background: #edf5ff;
    border: 1px solid var(--line);
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 21px;
    color: var(--ink);
    cursor: pointer;
    display: grid;
    place-items: center
}

.mobile-socials {
    margin-top: 28px
}

.mobile-socials a {
    border-color: var(--line)
}

.mobile-socials svg {
    fill: var(--ink)
}

.quick-panel {
    position: fixed;
    left: 50%;
    bottom: 88px;
    transform: translateX(-50%) translateY(15px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 14px;
    display: flex;
    gap: 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .14);
    opacity: 0;
    visibility: hidden;
    z-index: 105;
    transition: .2s
}

.quick-panel.open {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0)
}

.quick-item {
    min-width: 82px;
    text-align: center;
    padding: 10px;
    border-radius: 16px;
    background: #f5f9ff;
    font-size: 11px;
    font-weight: 800
}

.quick-item span {
    display: block;
    color: var(--blue);
    font-size: 18px
}

.hamburger {
    background: #edf5ff;
    color: var(--ink);
    border: 1px solid var(--line);
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 19px
}

.hamburger i {
    line-height: 1
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s ease, transform .7s ease
}

.reveal.is-visible {
    opacity: 1;
    transform: none
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-8px)
    }
}

.single-project {
    padding: 90px 0
}

.back-link {
    color: var(--blue);
    font-weight: 800
}

.single-project-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-top: 28px
}

.single-project h1 {
    font-size: clamp(44px, 6vw, 70px);
    line-height: 1.02;
    letter-spacing: -2px
}

.single-lead {
    font-size: 19px;
    color: var(--muted)
}

.single-media {
    border-radius: 28px;
    overflow: hidden;
    background: var(--bg);
    border: 1px solid var(--line)
}

.single-media img {
    width: 100%;
    height: auto;
    display: block
}

.single-content {
    margin-top: 30px
}

.project-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px
}

@media(max-width:900px) {

    .desktop-nav,
    .header-cta {
        display: none
    }

    .hamburger {
        display: flex
    }

    .hero-grid,
    .about-grid,
    .single-project-grid {
        grid-template-columns: 1fr
    }

    .hero-image {
        min-height: 430px
    }

    .services-grid,
    .projects-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .process-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .stat-row {
        grid-template-columns: repeat(2, 1fr)
    }

    .mobile-nav {
        display: flex;
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 12px;
        height: 64px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 22px;
        z-index: 100;
        box-shadow: 0 15px 40px rgba(20, 45, 90, .18);
        justify-content: space-around;
        align-items: center
    }

    .mobile-nav a {
        font-size: 11px;
        font-weight: 800;
        color: #65738a;
        text-align: center
    }

    .mobile-nav a span {
        display: block;
        font-size: 18px;
        line-height: 18px
    }

    .mobile-nav a.active {
        color: var(--blue)
    }

    .mobile-nav .plus {
        width: 58px;
        height: 58px;
        margin-top: -30px;
        border-radius: 50%;
        background: var(--blue);
        color: #fff;
        border: 5px solid #fff;
        font-size: 26px;
        display: grid;
        place-items: center;
        box-shadow: 0 10px 25px rgba(18, 104, 255, .28)
    }

    .site-footer {
        padding-bottom: 110px
    }
}

@media(max-width:600px) {
    .container {
        width: min(var(--container), calc(100% - 28px))
    }

    .section {
        padding: 70px 0
    }

    .hero {
        padding: 60px 0 45px
    }

    .hero h1 {
        font-size: 43px;
        letter-spacing: -2px
    }

    .hero-copy {
        font-size: 16px
    }

    .hero-image {
        min-height: 380px;
        border-radius: 26px
    }

    .services-grid,
    .projects-grid {
        grid-template-columns: 1fr
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 5px
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .cta {
        padding: 34px 24px;
        border-radius: 24px
    }

    .quick-panel {
        width: calc(100% - 28px);
        justify-content: space-between
    }

    .quick-item {
        min-width: 0;
        flex: 1
    }

    .about-pills {
        grid-template-columns: 1fr
    }

    .footer-grid {
        grid-template-columns: 1fr
    }

    .footer-socials {
        order: 2
    }

    .footer-grid small {
        grid-column: auto
    }

    .badge-one {
        left: 8px
    }

    .badge-two {
        right: 8px
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none
    }

    .floating-badge,
    .card,
    .btn {
        animation: none;
        transition: none
    }
}

/* v1.3 floating navigation + 20% scroll transition */
.header-topbar {
    background: var(--navy);
    color: #fff;
    font-size: 12px
}

.header-top-inner {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px
}

.header-top-socials,
.header-top-contact {
    display: flex;
    align-items: center;
    gap: 16px
}

.header-top-socials a,
.header-top-contact a {
    color: #fff;
    opacity: .92;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: opacity .2s, transform .2s
}

.header-top-socials a:hover,
.header-top-contact a:hover {
    opacity: 1;
    transform: translateY(-1px)
}

.header-top-socials i {
    font-size: 13px
}



/* ==========================================================================
   DYNAMIC BOTTOM NAVIGATION & QUICK ACTIONS (RESTORED, STATIC, FIXED)
   ========================================================================== */
.floating-bottom-nav {
    position: fixed !important;
    left: 12px !important;
    right: 12px !important;
    bottom: -150px !important;
    margin: 0 auto !important;
    width: fit-content !important;
    max-width: calc(100% - 24px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 24px !important;
    padding: 0px 14px !important;
    height: 70px;
    background: rgba(4, 11, 24, 0.94) !important;
    border-radius: 100px !important;
    backdrop-filter: blur(25px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(140%) !important;
    z-index: 125 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(150px) !important;
    animation: none !important;
    transition: all 0.4s ease;
    border: 2px solid #65a8ff;
}

.floating-bottom-nav.is-visible,
body.header-scrolled .floating-bottom-nav {
    bottom: 16px !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
}

/* 1. RM Circular Brand Mark (Button 1 in reference) */
.floating-brand {
    display: grid !important;
    place-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
    text-decoration: none !important;
}

.floating-brand .brand-mark {
    width: 45px !important;
    height: 45px !important;
    border-radius: 50% !important;
    display: grid !important;
    place-items: center !important;
    background: radial-gradient(circle at 35% 30%, #5ce1e6 0%, #0099ff 50%, #0052d4 100%) !important;
    color: #ffffff !important;
    font-weight: 900 !important;
    font-size: 18px !important;
    letter-spacing: -0.5px !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    box-shadow: 0 0 22px rgba(0, 153, 255, 0.85), inset 0 2px 5px rgba(255, 255, 255, 0.7) !important;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease !important;
}

.floating-brand:hover .brand-mark {
    transform: scale(1.08) !important;
    box-shadow: 0 0 28px rgba(0, 210, 255, 0.95), inset 0 2px 5px rgba(255, 255, 255, 0.8) !important;
}

.floating-brand:active .brand-mark {
    transform: scale(0.94) !important;
}

/* Nav Items Container */
.floating-nav-items {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 100%;
}

.floating-nav-items .nav-wrapper {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 99;
}

.floating-nav-items .nav-wrapper::after,
.floating-nav-items .nav-wrapper::before {
    content: "";
    position: absolute;
    width: 100%;
    margin: auto;
    height: 1.5px;
    right: 0;
    left: 0;
    top: 0;
    background: rgba(93, 164, 255, 0.95);
    box-shadow: 0 0 4px rgba(93, 164, 255, 0.95),
        0 0 10px rgba(93, 164, 255, 0.85),
        0 0 22px rgba(66, 139, 255, 0.70),
        0 0 40px rgba(66, 139, 255, 0.45),
        0 18px 45px rgba(45, 110, 255, 0.28);
    pointer-events: none;
    border-radius: 10px;
    opacity: 0;
    visibility: hidden;
    filter: blur(12px) drop-shadow(0 0 8px rgba(93, 164, 255, 0.95)) drop-shadow(0 0 20px rgba(93, 164, 255, 0.65)) drop-shadow(0 0 35px rgba(93, 164, 255, 0.35));
}

.floating-nav-items .nav-wrapper::before {
    top: auto;
    bottom: 0;
    transform: rotate(180deg);
    filter: blur(8px) drop-shadow(0 0 8px rgba(93, 164, 255, 0.95)) drop-shadow(0 0 20px rgba(93, 164, 255, 0.65)) drop-shadow(0 0 35px rgba(93, 164, 255, 0.35));
}

.floating-nav-items .nav-wrapper:has(> a.is-active)::before,
.floating-nav-items .nav-wrapper:has(> a.is-active)::after {
    opacity: 1;
    visibility: visible;
}

/* 2 & 3. Circular Navigation Buttons (Home & About/User in reference) */
.floating-nav-items a {
    width: 45px !important;
    height: 45px !important;
    min-width: 45px !important;
    max-width: 45px !important;
    border-radius: 50px !important;
    display: grid !important;
    place-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
    /* background: rgba(14, 34, 68, 0.78) !important; */
    border: 1.5px solid rgba(70, 130, 220, 0.4) !important;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.18), 0 4px 14px rgba(0, 0, 0, 0.35) !important;
    color: #ffffff !important;
    text-decoration: none !important;
    position: relative !important;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

/* White Solid Centered Icon */
.floating-nav-items a i {
    font-size: 16px !important;
    line-height: 1 !important;
    color: #ffffff !important;
    margin: 0 !important;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3)) !important;
}

/* Hide Text Labels to match isolated reference image */
.floating-nav-items a span {
    display: none !important;
}

/* Hover State - Smooth Glow & Scale */
.floating-nav-items a:hover {
    transform: scale(1.08) !important;
}

.floating-nav-items a:hover i {
    transform: scale(1.1) !important;
    color: #ffffff !important;
}

.floating-nav-items a:active {
    transform: scale(0.94) !important;
}


/* 4. WhatsApp Circular Button (Button 4 in reference) */
.floating-whatsapp {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    max-width: 50px !important;
    border-radius: 50% !important;
    display: grid !important;
    place-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
    background: radial-gradient(circle at 35% 30%, #46ff9b 0%, #00e676 45%, #00b34d 100%) !important;
    color: #ffffff !important;
    font-size: 24px !important;
    text-decoration: none !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    box-shadow: 0 0 24px rgba(0, 230, 118, 0.85), inset 0 2px 5px rgba(255, 255, 255, 0.7) !important;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    flex-shrink: 0 !important;
    position: relative !important;
}

.floating-whatsapp i {
    font-size: 24px !important;
    line-height: 1 !important;
    color: #ffffff !important;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25)) !important;
}

.floating-whatsapp:hover {
    transform: scale(1.08) !important;
    box-shadow: 0 0 30px rgba(0, 230, 118, 0.95), inset 0 2px 5px rgba(255, 255, 255, 0.8) !important;
}

.floating-whatsapp:hover i {
    transform: rotate(8deg) scale(1.1) !important;
}

.floating-whatsapp:active {
    transform: scale(0.92) !important;
}

/* Quick Action Wrap & Instant Toggle Panel */
.desktop-quick-wrap {
    position: fixed !important;
    right: 24px !important;
    bottom: -150px !important;
    z-index: 130 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 12px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    animation: none !important;
    transition: none !important;
    transform: translateY(150px) !important;
}

.desktop-quick-wrap.is-visible,
body.header-scrolled .desktop-quick-wrap {
    bottom: 16px !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
}

.desktop-plus {
    width: 56px !important;
    height: 56px !important;
    border-radius: 50% !important;
    border: 4px solid #fff !important;
    background: var(--blue) !important;
    color: #fff !important;
    font-size: 24px !important;
    display: grid !important;
    place-items: center !important;
    box-shadow: 0 10px 28px rgba(18, 104, 255, .32) !important;
    cursor: pointer !important;
    transition: background .2s !important;
    transform: none !important;
    animation: none !important;
}

.desktop-plus:hover {
    background: #0b57e0 !important;
    transform: none !important;
}

.desktop-quick-wrap .quick-panel,
.quick-panel {
    position: static !important;
    display: none !important;
    background: #fff !important;
    border: 1px solid rgba(228, 237, 248, .9) !important;
    border-radius: 20px !important;
    padding: 12px !important;
    gap: 10px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .20) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: none !important;
    animation: none !important;
    transform: none !important;
}

.desktop-quick-wrap .quick-panel.open,
.quick-panel.open {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: none !important;
    animation: none !important;
    transform: none !important;
}

.desktop-quick-wrap .quick-item,
.quick-item {
    min-width: 82px;
    text-align: center;
    padding: 10px;
    border-radius: 14px;
    background: #f5f9ff;
    font-size: 11px;
    font-weight: 800;
    color: #10203d;
    text-decoration: none;
}

.desktop-quick-wrap .quick-item span,
.quick-item span {
    display: grid;
    place-items: center;
    color: var(--blue);
    font-size: 18px;
    margin-bottom: 3px;
}

@media(max-width:900px) {
    .header-topbar {
        display: none
    }

    .desktop-quick-wrap.is-visible,
    body.header-scrolled .desktop-quick-wrap {
        bottom: 74px !important;
        right: 16px !important;
    }

    .desktop-plus {
        width: 50px !important;
        height: 50px !important;
        font-size: 20px !important;
        border-width: 3px !important;
    }
}

@media(min-width:901px) {
    .mobile-nav {
        display: none !important
    }
}

@media(max-width:600px) {
    .header-topbar {
        display: none
    }
}

/* v1.3.2 - restore the original 4-item mobile bottom navigation with centered plus */
@media(max-width:900px) {
    .mobile-nav {
        grid-template-columns: repeat(5, 1fr);
        justify-content: initial;
        padding: 0 8px;
        gap: 0;
    }

    .mobile-nav a,
    .mobile-nav .plus {
        justify-self: center;
    }

    .mobile-nav a {
        min-width: 52px;
    }

    .mobile-nav .plus {
        grid-column: 3;
    }
}

@media(min-width:901px) {
    .mobile-nav {
        display: none !important
    }
}


/* v1.3.3 - Primary Menu drives both floating desktop and mobile bottom nav */
@media(min-width:901px) {
    .floating-bottom-nav .floating-nav-items {
        max-width: min(760px, 70vw);
        scrollbar-width: none
    }

    .floating-bottom-nav .floating-nav-items::-webkit-scrollbar {
        display: none
    }
}

@media(max-width:900px) {
    .mobile-nav {
        grid-template-columns: repeat(5, 1fr)
    }
}

/* ==========================================================================
   HEADER FIX — ALL SCREEN SIZES (COMPLETELY STATIC & FIXED)
   ========================================================================== */

/* 1. Global Reset & Elimination of All Header / Navigation Animations & Movements */
.site-header,
.site-header *,
.site-header.header-scrolled,
.site-header.header-scrolled *,
.site-header .header-inner,
.site-header .brand,
.site-header .desktop-nav,
.site-header .desktop-nav ul,
.site-header .desktop-nav li,
.site-header .header-cta,
.site-header .header-whatsapp,
.site-header .hamburger,
.mobile-nav,
.mobile-nav * {
    animation: none !important;
    transition: none !important;
}

/* Static color/background transitions allowed on interactive elements only; strictly NO movement */
.site-header .desktop-nav a {
    position: relative;
    transition: color .2s, background .2s !important;
}

.site-header .desktop-nav a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    width: 100%;
    z-index: -1;
    background-color: #0b57e0;
    transition: width .2s !important;
    opacity: 0;
    visibility: hidden;
}

.site-header .header-cta,
.site-header .header-whatsapp {
    transition: background .2s, box-shadow .2s !important;
}

.site-header .hamburger {
    transition: background .2s !important;
}

/* Strictly NO hover movement anywhere on the header */
.site-header .desktop-nav a:hover,
.site-header .header-cta:hover,
.site-header .header-whatsapp:hover,
.site-header .brand:hover,
.site-header .hamburger:hover,
.site-header.header-scrolled .desktop-nav a:hover,
.site-header.header-scrolled .header-cta:hover,
.site-header.header-scrolled .header-whatsapp:hover {
    transform: none !important;
}

/* Hide duplicate mobile-nav markup to maintain single, unified dynamic bottom nav */
.mobile-nav {
    display: none !important;
}

/* Base Pill Header Design & Colors (Approved Dark Glass Style) */
.site-header {
    border: 1px solid rgba(113, 151, 255, .34) !important;
    border-radius: 999px !important;
    background: rgba(5, 10, 18, .88) !important;
    backdrop-filter: blur(22px) saturate(125%) !important;
    -webkit-backdrop-filter: blur(22px) saturate(125%) !important;
    box-shadow: 0 14px 50px rgba(0, 0, 0, .34), 0 0 28px rgba(54, 103, 255, .08), inset 0 1px 0 rgba(255, 255, 255, .055) !important;
    overflow: hidden !important;
    z-index: 120 !important;
}

.site-header .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-header .brand {
    display: flex;
    align-items: center;
    color: #fff !important;
    text-decoration: none;
}

.site-header .brand-mark,
.site-header .brand-logo {
    border-radius: 50% !important;
    box-shadow: 0 0 24px rgba(77, 112, 255, .42);
    object-fit: contain;
    flex-shrink: 0;
}

.site-header .brand span {
    color: #fff;
    line-height: 1.2;
}

.site-header .brand small {
    color: #8995a8;
    font-weight: 500;
}

.site-header .desktop-nav a {
    color: #9ea9bb;
    font-weight: 650;
    text-decoration: none;
}

.site-header .desktop-nav a:hover {
    color: #fff !important;
    /* background: rgba(30, 90, 255, .14) !important;
    transform: none !important; */
}

.site-header .desktop-nav .current-menu-item>a,
.site-header .desktop-nav .current_page_item>a {
    color: #fff !important;
    /* background: linear-gradient(180deg, rgba(48, 101, 255, .23), rgba(48, 101, 255, .08)) !important;
    box-shadow: 0 8px 24px rgba(24, 78, 255, .13); */
}


.site-header .desktop-nav .current_page_item>a::after {
    opacity: 1;
    visibility: visible;
}

.site-header .header-cta {
    background: #16c878;
    color: #fff;
    font-weight: 750;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 8px 26px rgba(22, 200, 120, .22);
}

.site-header .header-cta:hover,
.site-header .header-whatsapp:hover {
    background: #20d883 !important;
    box-shadow: 0 12px 32px rgba(22, 200, 120, .30) !important;
    transform: none !important;
}

.site-header .hamburger {
    background: rgba(255, 255, 255, .08);
    color: #fff;
    border: 1px solid rgba(113, 151, 255, .30);
    border-radius: 14px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.site-header .hamburger:hover {
    background: rgba(255, 255, 255, .15) !important;
    transform: none !important;
}

/* ==========================================================================
   BREAKPOINT 1: DESKTOP — 1201px AND ABOVE
   ========================================================================== */
@media (min-width: 1201px) {
    .site-header {
        position: fixed !important;
        top: 16px !important;
        bottom: auto !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        width: min(1240px, calc(100% - 40px)) !important;
        margin: 0 !important;
        border-radius: 999px !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transition: all 0.4s ease;
    }

    .site-header .header-inner {
        height: 76px !important;
        padding: 0 18px !important;
    }

    .site-header .brand {
        min-width: 210px !important;
        gap: 11px !important;
    }

    .site-header .brand-mark,
    .site-header .brand-logo {
        width: 42px !important;
        height: 42px !important;
    }

    .site-header .desktop-nav {
        display: flex !important;
        flex: 1 !important;
        justify-content: center !important;
    }

    .site-header .desktop-nav ul {
        gap: 2px !important;
    }

    .site-header .desktop-nav a {
        padding: 11px 17px !important;
        border-radius: 15px !important;
        font-size: 14px !important;
    }

    .site-header .header-cta {
        display: inline-flex !important;
        min-width: 124px !important;
        padding: 12px 20px !important;
        font-size: 14px !important;
    }

    .site-header .hamburger {
        display: none !important;
    }

    .mobile-nav {
        display: none !important;
    }
}

/* ==========================================================================
   BREAKPOINT 2: LARGE TABLET — 901px TO 1200px
   ========================================================================== */
@media (min-width: 901px) and (max-width: 1200px) {
    .site-header {
        position: fixed !important;
        top: 14px !important;
        bottom: auto !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        width: calc(100% - 32px) !important;
        margin: 0 !important;
        border-radius: 999px !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .site-header .header-inner {
        height: 72px !important;
        padding: 0 16px !important;
    }

    .site-header .brand {
        min-width: auto !important;
        gap: 9px !important;
    }

    .site-header .brand-mark,
    .site-header .brand-logo {
        width: 40px !important;
        height: 40px !important;
    }

    .site-header .desktop-nav {
        display: flex !important;
        flex: 1 !important;
        justify-content: center !important;
    }

    .site-header .desktop-nav ul {
        gap: 2px !important;
    }

    .site-header .desktop-nav a {
        padding: 8px 12px !important;
        border-radius: 12px !important;
        font-size: 13px !important;
    }

    .site-header .header-cta {
        display: inline-flex !important;
        min-width: auto !important;
        padding: 10px 16px !important;
        font-size: 13px !important;
    }

    .site-header .hamburger {
        display: none !important;
    }

    .mobile-nav {
        display: none !important;
    }
}

/* ==========================================================================
   BREAKPOINT 3: TABLET — 768px TO 900px
   ========================================================================== */
@media (min-width: 768px) and (max-width: 900px) {
    .site-header {
        position: fixed !important;
        top: 12px !important;
        bottom: auto !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        width: calc(100% - 24px) !important;
        margin: 0 !important;
        border-radius: 999px !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .site-header .header-inner {
        height: 68px !important;
        padding: 0 16px !important;
    }

    .site-header .brand {
        min-width: auto !important;
        gap: 10px !important;
    }

    .site-header .brand-mark,
    .site-header .brand-logo {
        width: 40px !important;
        height: 40px !important;
    }

    .site-header .desktop-nav,
    .site-header .header-cta {
        display: none !important;
    }

    .site-header .hamburger {
        display: flex !important;
        width: 42px !important;
        height: 42px !important;
    }
}

/* ==========================================================================
   BREAKPOINT 4: MOBILE — 481px TO 767px
   ========================================================================== */
@media (min-width: 481px) and (max-width: 767px) {
    .site-header {
        position: fixed !important;
        top: 10px !important;
        bottom: auto !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        width: calc(100% - 20px) !important;
        margin: 0 !important;
        border-radius: 999px !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .site-header .header-inner {
        height: 64px !important;
        padding: 0 14px !important;
    }

    .site-header .brand {
        min-width: auto !important;
        gap: 9px !important;
    }

    .site-header .brand-mark,
    .site-header .brand-logo {
        width: 38px !important;
        height: 38px !important;
    }

    .site-header .desktop-nav,
    .site-header .header-cta {
        display: none !important;
    }

    .site-header .hamburger {
        display: flex !important;
        width: 40px !important;
        height: 40px !important;
    }
}

/* ==========================================================================
   BREAKPOINT 5: SMALL MOBILE — 480px AND BELOW
   ========================================================================== */
@media (max-width: 480px) {
    .site-header {
        position: fixed !important;
        top: 8px !important;
        bottom: auto !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        width: calc(100% - 16px) !important;
        margin: 0 !important;
        border-radius: 999px !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .site-header .header-inner {
        height: 60px !important;
        padding: 0 12px !important;
    }

    .site-header .brand {
        min-width: 0 !important;
        gap: 8px !important;
    }

    .site-header .brand span {
        font-size: 13px !important;
        line-height: 1.2 !important;
    }

    .site-header .brand small {
        font-size: 10px !important;
    }

    .site-header .brand-mark,
    .site-header .brand-logo {
        width: 36px !important;
        height: 36px !important;
    }

    .site-header .desktop-nav,
    .site-header .header-cta {
        display: none !important;
    }

    .site-header .hamburger {
        display: flex !important;
        width: 38px !important;
        height: 38px !important;
        font-size: 16px !important;
    }
}

/* ==========================================================================
   MOBILE BOTTOM NAVIGATION — 900px AND BELOW (COMPLETELY STATIC)
   ========================================================================== */
@media (max-width: 900px) {
    .mobile-nav {
        display: none !important;
    }

    .floating-bottom-nav {
        display: flex !important;
        position: fixed !important;
        left: 12px !important;
        right: 12px !important;
        bottom: -150px !important;
        margin: 0 auto !important;
        width: fit-content !important;
        max-width: calc(100% - 24px) !important;
        transform: translateY(150px) !important;
        animation: none !important;
        transition: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        z-index: 145 !important;
        overflow: hidden;
    }

    .floating-bottom-nav.is-visible,
    body.header-scrolled .floating-bottom-nav {
        bottom: 12px !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
}

@media (max-width: 480px) {

    .floating-bottom-nav.is-visible,
    body.header-scrolled .floating-bottom-nav {
        left: 8px !important;
        right: 8px !important;
        bottom: 10px !important;
        max-width: calc(100% - 16px) !important;
        padding: 6px 10px !important;
        gap: 10px !important;
    }

    .floating-brand .brand-mark {
        width: 42px !important;
        height: 42px !important;
        font-size: 15px !important;
    }

    .floating-nav-items {
        gap: 10px !important;
    }

    .floating-nav-items a {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        max-width: 42px !important;
        border-radius: 50% !important;
        padding: 0 !important;
    }

    .floating-nav-items a i {
        font-size: 17px !important;
    }

    .floating-whatsapp {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        max-width: 42px !important;
        font-size: 20px !important;
    }

    .floating-whatsapp i {
        font-size: 20px !important;
    }

    .desktop-quick-wrap.is-visible,
    body.header-scrolled .desktop-quick-wrap {
        bottom: 66px !important;
        right: 12px !important;
    }

    .desktop-plus {
        width: 44px !important;
        height: 44px !important;
        font-size: 18px !important;
    }
}

/* ==========================================================================
   HEADER SCROLL STATE — HIDDEN ABOVE VIEWPORT WHEN SCROLLED 10%+ (STATE 2)
   ========================================================================== */
.site-header.header-scrolled,
body.header-scrolled .site-header {
    top: -150px !important;
    transform: translateX(-50%) translateY(-150px) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    box-shadow: none !important;
    animation: none !important;
    transition: none !important;
}

.site-header.header-scrolled .header-inner,
.site-header.header-scrolled .brand,
.site-header.header-scrolled .brand small,
.site-header.header-scrolled .desktop-nav,
.site-header.header-scrolled .header-cta {
    animation: none !important;
    transition: none !important;
    transform: none !important;
}

/* v1.3.5-live-fix: clean header, working mobile quick actions, reliable menu social icons */
.header-topbar {
    display: none !important
}

.mobile-quick-panel {
    display: none
}

.mobile-socials {
    align-items: center;
    flex-wrap: wrap
}

.mobile-socials a {
    color: var(--ink) !important;
    background: #fff;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line) !important;
    border-radius: 12px;
    display: grid;
    place-items: center
}

.mobile-socials i {
    font-size: 18px;
    line-height: 1
}

.mobile-menu nav ul {
    list-style: none;
    margin: 0;
    padding: 0
}

.mobile-menu nav li {
    list-style: none
}

.mobile-menu nav li a {
    display: flex;
    align-items: center;
    gap: 12px
}

@media(max-width:900px) {
    .mobile-quick-panel {
        position: fixed;
        left: 14px;
        right: 14px;
        bottom: 88px;
        z-index: 140;
        display: none;
        gap: 10px;
        padding: 12px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 22px;
        box-shadow: 0 20px 55px rgba(13, 43, 87, .18);
        opacity: 0;
        visibility: hidden;
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }

    .mobile-quick-panel.open {
        display: flex;
        opacity: 1;
        visibility: visible;
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }

    .mobile-quick-panel .quick-item {
        flex: 1;
        min-width: 0;
        text-align: center
    }

    .mobile-quick-panel .quick-item span {
        display: grid;
        place-items: center;
        margin-bottom: 4px
    }

    .mobile-nav {
        display: none !important;
    }

    .mobile-nav .plus {
        display: none !important;
    }

    .mobile-menu-panel {
        overflow-y: auto;
        padding-bottom: 40px
    }
}

@media(min-width:901px) {
    .mobile-quick-panel {
        display: none !important
    }
}

/* Project archive */
.project-archive-page {
    padding: 120px 0 90px;
    background: linear-gradient(180deg, #fff, #f4f8ff);
    min-height: 70vh
}

.archive-head {
    max-width: 800px;
    margin-bottom: 44px
}

.archive-head h1 {
    font-size: clamp(44px, 6vw, 76px);
    line-height: .98;
    margin: 12px 0
}

.archive-head p {
    font-size: 19px;
    color: #60739a
}

.archive-project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px
}

.archive-project-card {
    overflow: hidden;
    border: 1px solid #dfe8f5;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(24, 61, 115, .08)
}

.archive-project-image {
    display: block;
    aspect-ratio: 16/10;
    background: #edf4ff;
    overflow: hidden
}

.archive-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease
}

.archive-project-card:hover .archive-project-image img {
    transform: scale(1.04)
}

.archive-project-body {
    padding: 22px
}

.archive-project-body>span {
    display: inline-block;
    padding: 7px 10px;
    border-radius: 999px;
    background: #eef5ff;
    color: #31558e;
    font-size: 12px;
    font-weight: 800
}

.archive-project-body h2 {
    margin: 13px 0 8px;
    font-size: 26px
}

.archive-project-body h2 a {
    color: #10234a;
    text-decoration: none
}

.archive-project-body p {
    color: #687b9e;
    line-height: 1.6;
    margin: 0 0 20px
}

@media(max-width:900px) {
    .archive-project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media(max-width:600px) {
    .project-archive-page {
        padding: 90px 0 60px
    }

    .archive-project-grid {
        grid-template-columns: 1fr
    }
}


.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important
}