/* Public homepage only — app ichidagi .page-container ga ta'sir qilmasin */
.home-page-root.page-container {
    min-height: 100vh;
    font-family: 'Inter';
    overflow-x: hidden;
}

/*
 * Desktop: _app-layout.css html/body/#root ga overflow:hidden beradi (app layout uchun).
 * Landing sahifa oynada scroll bo‘lishi uchun public home ochilganda qayta yoqamiz.
 */
body.page-home {
    margin: 0;
    overflow-x: hidden;
}

.home-page-root.page-container button,
.home-page-root.page-container input,
.home-page-root.page-container select,
.home-page-root.page-container textarea {
    font-family: inherit;
}

.header-home-page {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}
/* Hero Section */
.hero-section {
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

/* About Section */
.about-section {
    position: relative;
    overflow: visible;
}

    .about-section::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 12% 25%, rgba(37, 99, 235, 0.10) 0%, rgba(37, 99, 235, 0) 55%), radial-gradient(circle at 85% 20%, rgba(56, 189, 248, 0.12) 0%, rgba(56, 189, 248, 0) 55%), radial-gradient(circle at 70% 90%, rgba(16, 185, 129, 0.08) 0%, rgba(16, 185, 129, 0) 55%);
        pointer-events: none;
        z-index: 0;
    }

/* Small Rounded Image Animation - will-change removed for performance */

/* Top Header Bar */
.top-header-bar {
    background-color: #1f2937;
    color: white;
    padding: 0.3rem 0.75rem;
}

.top-header-content {
    max-width: 1640px;
    margin-left: auto;
    margin-right: auto;
    padding: 0px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    line-height: 1.35;
}

.top-header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.top-header-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.top-header-link {
    color: white;
    text-decoration: none;
    font-size: inherit;
}

    .top-header-link span {
        font-size: inherit;
    }

.top-header-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-header-button {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    background: transparent;
    border: none;
    color: white;
    font-size: inherit;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .top-header-button:hover {
        background-color: #374151;
    }

.top-header-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.lang-flag {
    width: 18px;
    height: 13px;
    border-radius: 4px;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.25);
    flex: 0 0 auto;
}

    .lang-flag svg {
        width: 100%;
        height: 100%;
        display: block;
    }

@media (max-width: 768px) {
    .header_logo_title {
        font-size: 12px;
    }

    .header_logo_text {
        font-size: 10px;
    }

    .top-header-bar {
        padding: 0.25rem 0.5rem;
    }

    .top-header-content {
        font-size: 0.6875rem;
    }

    .top-header-left {
        gap: 0.625rem;
    }

    .top-header-right {
        gap: 0.35rem;
    }

    .top-header-button {
        padding: 0.2rem 0.4rem;
    }

    .top-header-icon {
        width: 13px;
        height: 13px;
    }

    .lang-flag {
        width: 16px;
        height: 12px;
    }
}

@media (max-width: 480px) {
    .top-header-content {
        font-size: 0.625rem;
    }
}

/* Main Navigation Bar */
.main-nav {
    background-color: #ffffff;
    padding: 15px 0px;
}

.nav-content {
    max-width: 1640px;
    margin-left: auto;
    margin-right: auto;
    padding: 0px 20px;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}

/* Logo shimmer (HomePage navbar only) */
.nav-logo-shimmer {
    position: relative;
    display: inline-flex;
    overflow: hidden;
    border-radius: 14px;
}

    .nav-logo-shimmer::after {
        content: '';
        position: absolute;
        top: -35%;
        left: -60%;
        width: 35%;
        height: 170%;
        background: linear-gradient( 90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.35) 40%, rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 0.35) 60%, rgba(255, 255, 255, 0) 100% );
        transform: translateX(-140%) skewX(-20deg);
        animation: navLogoShimmer 3.8s ease-in-out infinite;
        pointer-events: none;
        mix-blend-mode: screen;
        opacity: 0.75;
    }

@keyframes navLogoShimmer {
    0% {
        transform: translateX(-140%) skewX(-20deg);
    }

    55% {
        /* 320% was not enough to cross whole logo */
        transform: translateX(520%) skewX(-20deg);
    }

    100% {
        transform: translateX(520%) skewX(-20deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .nav-logo-shimmer::after {
        animation: none;
        opacity: 0;
    }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: auto;
}

.nav-link {
    color: #000000;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    position: relative;
    border-radius: 9999px;
    padding: 0.55rem 1rem;
    transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

    .nav-link:hover {
        color: #000000;
        background-color: rgba(37, 99, 235, 0.08);
        transform: translateY(-1px);
    }

    .nav-link:active {
        transform: translateY(0px) scale(0.98);
    }

    .nav-link:focus-visible {
        outline: 2px solid rgba(37, 99, 235, 0.45);
        outline-offset: 2px;
    }

    /* Animated underline */
    .nav-link::after {
        content: '';
        position: absolute;
        left: 14px;
        right: 14px;
        bottom: 8px;
        height: 2px;
        border-radius: 9999px;
        background: linear-gradient(90deg, rgba(37, 99, 235, 0.0), rgba(37, 99, 235, 0.9), rgba(37, 99, 235, 0.0));
        transform: scaleX(0);
        transform-origin: center;
        transition: transform 0.25s ease;
        opacity: 0.9;
    }

    .nav-link:hover::after {
        transform: scaleX(1);
    }

.nav-link-active {
    color: #2563eb;
    background-color: rgba(37, 99, 235, 0.12);
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.22);
}

    .nav-link-active::after {
        transform: scaleX(1);
    }

.nav-dropdown {
    position: relative;
}

.nav-dropdown-link {
    color: #000000;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 16px;
    position: relative;
    padding: 0.55rem 0.8rem;
    border-radius: 9999px;
    transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

    .nav-dropdown-link:hover {
        color: #2563eb;
        background-color: rgba(37, 99, 235, 0.08);
        transform: translateY(-1px);
    }

    .nav-dropdown-link:active {
        transform: translateY(0px) scale(0.98);
    }

    .nav-dropdown-link:focus-visible {
        outline: 2px solid rgba(37, 99, 235, 0.45);
        outline-offset: 2px;
    }

.nav-dropdown-icon {
    width: 1rem;
    height: 1rem;
    transition: transform 0.2s ease;
}

.nav-useful-dropdown {
    position: relative;
}

    .nav-useful-dropdown > summary {
        list-style: none;
        cursor: pointer;
    }

        .nav-useful-dropdown > summary::-webkit-details-marker {
            display: none;
        }

.nav-useful-summary {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-useful-dropdown[open] .nav-dropdown-icon {
    transform: rotate(180deg);
}

.nav-useful-menu {
    left: 0;
    right: auto;
    min-width: 15rem;
    width: max-content;
    max-width: min(22rem, 90vw);
}

    .nav-useful-menu .home-dropdown-item {
        width: auto;
        justify-content: flex-start;
        white-space: normal;
        line-height: 1.35;
    }

        .nav-useful-menu .home-dropdown-item .bi-icon {
            flex-shrink: 0;
            width: 1rem;
            height: 1rem;
            color: #2563eb;
        }

.nav-menu-submenu-label {
    padding: 0.55rem 0.85rem 0.2rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
}

/* Compact nav menu (≤1320px) */
.nav-links-menu {
    display: none;
    margin-left: auto;
    flex-shrink: 0;
}

.nav-menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.875rem;
    border: 1px solid rgba(37, 99, 235, 0.22);
    border-radius: 9999px;
    background-color: rgba(37, 99, 235, 0.06);
    color: #111827;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    max-width: min(280px, 52vw);
    list-style: none;
}

    .nav-menu-toggle::-webkit-details-marker {
        display: none;
    }

a.hero-chat-button {
    text-decoration: none;
}

.nav-menu-toggle:hover {
    background-color: rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.35);
}

.nav-menu-toggle:focus-visible {
    outline: 2px solid rgba(37, 99, 235, 0.45);
    outline-offset: 2px;
}

.nav-menu-toggle-icon-menu {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    color: #2563eb;
}

.nav-menu-toggle-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.nav-menu-toggle-icon-chevron {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    color: #6b7280;
}

.nav-menu-dropdown-item {
    justify-content: space-between;
    gap: 0.75rem;
    font-weight: 500;
}

.nav-menu-dropdown-item--active {
    color: #2563eb;
    font-weight: 600;
}

@media (max-width: 1320px) {
    .nav-links {
        display: none !important;
    }

    .nav-links-menu {
        display: flex;
        align-items: center;
    }

    .nav-content {
        gap: 1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 640px) {
    .nav-menu-toggle {
        font-size: 0.875rem;
        padding: 0.45rem 0.75rem;
        max-width: min(220px, 58vw);
    }

    .nav-menu-toggle-icon-menu {
        width: 1.125rem;
        height: 1.125rem;
    }
}

/* Hero Section */
.hero-container {
    position: relative;
    padding: 12rem 0 10rem;
    min-height: 32rem;
    overflow: hidden;
    isolation: isolate;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: linear-gradient( 105deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.78) 18%, rgba(15, 23, 42, 0.58) 38%, rgba(15, 23, 42, 0.36) 58%, rgba(15, 23, 42, 0.18) 78%, rgba(15, 23, 42, 0.06) 92%, transparent 100% ), url('/images/home/new_hero.webp');
    background-size: cover;
    background-position: center 42%;
    background-repeat: no-repeat;
    pointer-events: none;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

    /* Pastki qismda silliq o‘tish */
    .hero-background::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient( to bottom, transparent 0%, transparent 62%, rgba(15, 23, 42, 0.12) 82%, rgba(15, 23, 42, 0.28) 100% );
        pointer-events: none;
    }



.hero-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-inner {
    max-width: 1640px;
    margin-left: auto;
    margin-right: auto;
    padding: 0px 20px;
    width: 100%;
}

.hero-text-container {
    max-width: 42rem;
}

.hero-tag {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: white;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.hero-description {
    font-size: 1.125rem;
    color: #e5e7eb;
    margin-bottom: 2.5rem;
    max-width: 36rem;
    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-button-primary,
a.hero-button-primary {
    background-color: rgb(12, 71, 199);
    color: rgb(255, 255, 255);
    font-weight: 600;
    padding: 1rem 1rem;
    border-radius: 25px;
    width: 280px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

    .hero-button-primary:hover,
    a.hero-button-primary:hover {
        background-color: rgb(10, 18, 141);
    }

.hero-button-secondary,
a.hero-button-secondary {
    background-color: white;
    color: #111827;
    font-weight: 600;
    padding: 1rem 1rem;
    border-radius: 25px;
    width: 280px;
    border: 2px solid white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: background-color 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

    .hero-button-secondary:hover,
    a.hero-button-secondary:hover {
        background-color: #f3f4f6;
    }



@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(0.5rem);
    }
}

.hero-chat-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 99999;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #2d4179 0%, #11244d 55%, #131a75 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 18px 38px rgba(37, 99, 235, 0.28);
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    overflow: visible;
}

.hero-chat-button-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.hero-chat-button:hover {
    transform: translateY(-3px);
    filter: brightness(1.04);
    box-shadow: 0 22px 44px rgba(37, 99, 235, 0.36);
}

.hero-chat-button:active {
    transform: translateY(-1px);
}

.hero-chat-icon {
    width: 1.45rem;
    height: 1.45rem;
    stroke-width: 2.2;
}

/* About Section */
.about-container {
    padding: 5rem 1rem;
    background-color: white;
}

.about-inner {
    position: relative;
    z-index: 1;
    max-width: 1640px;
    margin-left: auto;
    margin-right: auto;
    padding: 0px 20px;
}

.about-heading {
    margin: 0px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
}

.about-tag-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: #4b5563;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-heading {
    font-size: 2.25rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .about-heading {
        font-size: 3rem;
    }
}

.about-description {
    font-size: 1.125rem;
    color: #4b5563;
    line-height: 1.75;
    max-width: 36rem;
}


.about-signature {
    padding-top: 1rem;
}

.about-signature-label {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.about-signature-text {
    font-size: 1.5rem;
    color: #374151;
}

.about-cta {
    padding-top: 1.5rem;
}

.about-button,
a.about-button {
    background-color: #1f2937;
    color: white;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    min-width: 180px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

    .about-button:hover,
    a.about-button:hover {
        background-color: #111827;
    }

/* About Image Section */
.about-image-container {
    position: relative;
    display: flex;
    justify-content: center;
}

@media (min-width: 1024px) {
    .about-image-container {
        justify-content: flex-end;
    }
}

.about-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 32rem;
}

.about-large-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
}

.about-large-image-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: 9px;
    overflow: hidden;
    clip-path: circle(50% at 50% 50%);
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
}

.about-large-image-overlay {
    position: absolute;
    inset: 0;
    clip-path: circle(50% at 50% 50%);
    background: linear-gradient(to bottom right, rgba(17, 24, 39, 0.2), transparent);
    pointer-events: none;
    z-index: 2;
}

.about-large-image-border {
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    border: 4px solid #e5e7eb;
    pointer-events: none;
    z-index: 3;
}

.about-small-image {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    height: 50%;
    overflow: hidden;
    z-index: 10;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 1s ease-out;
}

.about-small-image-visible {
    transform: translate(0, 0);
    opacity: 1;
}

.about-small-image-overlay {
    position: absolute;
    inset: 0;
}

/* Decorative elements removed - filter: blur() is performance heavy */

/* Responsive Design */
@media (max-width: 1024px) {

    .about-container {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

@media (max-width: 1024px) {
    .hero-section {
        padding-top: 72px;
    }

    .hero-container {
        padding: 9rem 0 7rem;
        min-height: 28rem;
    }

    .hero-background {
        background-position: 62% 38%;
    }
}

@media (max-width: 768px) {
    .about-grid {
        gap: 3rem;
    }

    .hero-section {
        padding-top: 64px;
    }

    .hero-container {
        padding: 10rem 0 4.5rem;
        min-height: 22rem;
    }

    .hero-background {
        background-size: cover;
        background-position: 72% 28%;
    }

        .hero-background::after {
            background: linear-gradient( to bottom, rgba(15, 23, 42, 0.28) 0%, rgba(15, 23, 42, 0.48) 35%, rgba(15, 23, 42, 0.68) 65%, rgba(15, 23, 42, 0.82) 100% );
        }

    .hero-inner {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .hero-text-container {
        max-width: 100%;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        width: 100% !important;
    }

    .hero-tag {
        font-size: 0.9375rem;
        margin-bottom: 0.75rem;
    }

    .hero-description {
        font-size: 0.9375rem;
        margin-bottom: 1.5rem;
        max-width: 100%;
        line-height: 1.6;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }

    .hero-button-primary,
    .hero-button-secondary {
        width: 100%;
        min-width: 0;
        padding: 0.875rem 1.25rem;
    }

    .about-heading {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-container {
        padding: 7.5rem 0 3.5rem;
        min-height: 20rem;
    }

    .hero-button-primary,
    a.hero-button-primary {
        width: 250px;
    }

    .hero-button-secondary, a.hero-button-secondary {
        width: 250px
    }

    .hero-title {
        font-size: 1.625rem;
    }

    .hero-tag {
        font-size: 0.8125rem;
    }

    .hero-description {
        font-size: 0.875rem;
    }
}

/* Retina — fon rasmi tiniqroq masshtab */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-background {
        background-size: cover;
    }
}

/* Services Section */
.services-section {
    position: relative;
    background-color: #ffffff;
    padding: 5rem 1rem;
    overflow: hidden;
}

    .services-section::before {
        content: '';
        position: absolute;
        inset: -2px;
        background: radial-gradient(circle at 12% 25%, rgba(37, 99, 235, 0.10) 0%, rgba(37, 99, 235, 0) 55%), radial-gradient(circle at 85% 20%, rgba(56, 189, 248, 0.12) 0%, rgba(56, 189, 248, 0) 55%), radial-gradient(circle at 70% 90%, rgba(16, 185, 129, 0.08) 0%, rgba(16, 185, 129, 0) 55%);
        pointer-events: none;
    }

.services-container {
    position: relative;
    z-index: 1;
}

.services-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: rgb(0, 0, 0);
    text-align: center;
    margin-bottom: 2rem;
}

/* Mobile app section */
.mobile-section {
    background: #ffffff;
    padding: 5rem 1rem;
}

.mobile-container {
    max-width: 1640px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.mobile-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .mobile-grid {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 4rem;
    }
}

.mobile-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-mock {
    display: block;
    max-width: 400px;
    width: 100%;
    height: auto;
    object-fit: contain;
    transform: translateX(-4%);
    filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.25));
}

@media (max-width: 768px) {
    .mobile-mock {
        max-width: 260px;
    }
}

.mobile-content {
    padding-right: 0;
}

.mobile-title {
    font-size: 3rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: 0.02em;
    margin-bottom: 2rem;
}

.mobile-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem 2rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .mobile-features {
        grid-template-columns: 1fr 1fr;
    }
}

.mobile-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mobile-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(16, 185, 129, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10b981;
    flex-shrink: 0;
}

    .mobile-feature-icon svg {
        width: 22px;
        height: 22px;
    }

.mobile-feature-text {
    color: #111827;
    font-weight: 600;
}

.mobile-stores {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.store-badge {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.15rem;
    padding: 0.85rem 1.25rem;
    border-radius: 14px;
    background: #0b0f19;
    color: #ffffff;
    text-decoration: none;
    min-width: 190px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

    .store-badge:hover {
        transform: translateY(-2px);
        background: #111827;
    }

.store-badge-top {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.8;
}

.store-badge-bottom {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.1;
}

@media (max-width: 768px) {
    .mobile-section {
        padding: 3rem 1rem;
    }

    .mobile-title {
        font-size: 2.25rem;
    }
}

/* Location / Map section */
.location-section {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    padding: 5rem 1rem;
    overflow: hidden;
}

    .location-section::before {
        content: '';
        position: absolute;
        inset: -2px;
        background: radial-gradient(circle at 10% 25%, rgba(56, 189, 248, 0.18) 0%, rgba(56, 189, 248, 0) 55%), radial-gradient(circle at 90% 10%, rgba(37, 99, 235, 0.12) 0%, rgba(37, 99, 235, 0) 50%), radial-gradient(circle at 80% 90%, rgba(16, 185, 129, 0.10) 0%, rgba(16, 185, 129, 0) 55%);
        pointer-events: none;
    }

.location-container {
    position: relative;
    z-index: 1;
    max-width: 1640px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.25rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .location-grid {
        grid-template-columns: 0.95fr 1.05fr;
        gap: 3.25rem;
        align-items: start;
    }
}

.location-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.85rem;
    border-radius: 9999px;
    border: 1px solid rgba(37, 99, 235, 0.22);
    background: rgba(37, 99, 235, 0.08);
    color: #1d4ed8;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.location-title {
    margin: 0.9rem 0 0;
    font-size: 2.75rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.08;
}

.location-desc {
    margin: 1rem 0 0;
    max-width: 42rem;
    color: rgba(15, 23, 42, 0.78);
    line-height: 1.75;
    font-weight: 500;
}

.location-cards {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    width: 100%;
    max-width: 100%;
}

@media (min-width: 768px) {
    .location-cards {
        grid-template-columns: 1fr 1fr;
    }
}

.location-card {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.9rem 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(15, 23, 42, 0.10);
    text-decoration: none;
    color: inherit;
    box-shadow: 0 10px 26px rgba(2, 6, 23, 0.06);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

    .location-card:hover {
        transform: translateY(-2px);
        border-color: rgba(37, 99, 235, 0.22);
        box-shadow: 0 16px 36px rgba(2, 6, 23, 0.10);
    }

.location-card-static:hover {
    transform: none;
}

.location-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(37, 99, 235, 0.10);
    border: 1px solid rgba(37, 99, 235, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    flex: 0 0 auto;
}

    .location-card-icon svg {
        width: 22px;
        height: 22px;
    }

.location-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.location-card-title {
    font-weight: 800;
    color: #0f172a;
    font-size: 0.95rem;
}

.location-card-text {
    color: rgba(15, 23, 42, 0.72);
    font-weight: 600;
    font-size: 0.95rem;
}

.location-primary {
    margin-top: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.15rem;
    border-radius: 9999px;
    background: linear-gradient(90deg, #2563eb 0%, #0ea5e9 100%);
    color: #ffffff;
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 18px 34px rgba(37, 99, 235, 0.22);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

    .location-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 22px 44px rgba(37, 99, 235, 0.26);
        filter: saturate(1.05);
    }

    .location-primary:active {
        transform: translateY(0px) scale(0.99);
    }

.location-primary-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .location-primary-arrow svg {
        width: 18px;
        height: 18px;
    }

.location-right {
    display: flex;
    justify-content: center;
}

.location-map {
    width: 100%;
    max-width: 820px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 23, 42, 0.10);
    box-shadow: 0 18px 46px rgba(2, 6, 23, 0.10), 0 2px 12px rgba(2, 6, 23, 0.06);
    overflow: hidden;
}

.location-map-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    background: linear-gradient(90deg, rgba(2, 132, 199, 0.10), rgba(37, 99, 235, 0.06));
}

.location-map-title {
    font-weight: 900;
    color: #0f172a;
    letter-spacing: 0.01em;
}

.location-map-link {
    font-weight: 800;
    color: #2563eb;
    text-decoration: none;
    padding: 0.4rem 0.7rem;
    border-radius: 9999px;
    background: rgba(37, 99, 235, 0.10);
    border: 1px solid rgba(37, 99, 235, 0.18);
    transition: transform 0.16s ease, background-color 0.16s ease;
    white-space: nowrap;
}

    .location-map-link:hover {
        transform: translateY(-1px);
        background: rgba(37, 99, 235, 0.14);
    }

.location-map-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #e5e7eb;
}

.location-map-preview {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.location-map-preview-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.location-left,
.location-right {
    min-width: 0;
    width: 100%;
}

@media (min-width: 1024px) {
    .location-map-frame {
        aspect-ratio: 16 / 9;
    }
}

.location-map-iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .location-section {
        padding: 3rem 0.75rem;
    }

    .location-container {
        padding: 0 0.25rem;
        max-width: 100%;
    }

    .location-grid {
        gap: 1.5rem;
    }

    .location-title {
        font-size: 1.5rem;
        line-height: 1.2;
        word-wrap: break-word;
    }

    .location-desc {
        max-width: 100%;
        font-size: 0.875rem;
        line-height: 1.6;
    }

    .location-badge {
        font-size: 0.625rem;
        padding: 0.4rem 0.7rem;
        letter-spacing: 0.06em;
        max-width: 100%;
    }

    .location-cards {
        margin-top: 1.125rem;
        gap: 0.5rem;
        width: 100%;
    }

    .location-card {
        min-width: 0;
        width: 100%;
        max-width: 100%;
        gap: 0.65rem;
        padding: 0.7rem 0.75rem;
        border-radius: 12px;
    }

    .location-card-body {
        min-width: 0;
        flex: 1;
        overflow: hidden;
    }

    .location-card-title {
        font-size: 0.8125rem;
    }

    .location-card-text {
        font-size: 0.75rem;
        line-height: 1.45;
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .location-card-icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        flex-shrink: 0;
    }

    .location-card-icon .bi-icon {
        width: 0.875rem;
        height: 0.875rem;
    }

    .location-primary {
        width: 100%;
        max-width: 100%;
        justify-content: center;
        box-sizing: border-box;
        margin-top: 1rem;
        font-size: 0.8125rem;
        padding: 0.75rem 1rem;
        gap: 0.5rem;
    }

    .location-map {
        max-width: 100%;
        border-radius: 14px;
    }

    .location-map-top {
        flex-wrap: wrap;
        padding: 0.65rem 0.75rem;
        gap: 0.4rem;
    }

    .location-map-title {
        font-size: 0.8125rem;
        min-width: 0;
        flex: 1 1 auto;
    }

    .location-map-link {
        white-space: normal;
        text-align: center;
        font-size: 0.75rem;
        padding: 0.35rem 0.55rem;
        flex-shrink: 0;
    }

    .location-map-frame {
        aspect-ratio: 16 / 11;
        min-height: 160px;
    }
}

@media (max-width: 480px) {
    .location-section {
        padding: 2rem 0.5rem;
    }

    .location-container {
        padding: 0;
    }

    .location-title {
        font-size: 1.25rem;
    }

    .location-desc {
        font-size: 0.8125rem;
        margin-top: 0.75rem;
    }

    .location-card {
        gap: 0.55rem;
        padding: 0.6rem 0.65rem;
    }

    .location-card-icon {
        width: 32px;
        height: 32px;
    }

    .location-card-title {
        font-size: 0.75rem;
    }

    .location-card-text {
        font-size: 0.6875rem;
    }

    .location-primary {
        font-size: 0.75rem;
        padding: 0.65rem 0.85rem;
    }
}

@media (max-width: 360px) {
    .location-section {
        padding: 1.75rem 0.375rem;
    }

    .location-title {
        font-size: 1.125rem;
    }

    .location-desc {
        font-size: 0.75rem;
        line-height: 1.5;
    }

    .location-badge {
        font-size: 0.5625rem;
        padding: 0.3rem 0.55rem;
    }

    .location-cards {
        gap: 0.4rem;
    }

    .location-card {
        gap: 0.45rem;
        padding: 0.5rem 0.55rem;
        border-radius: 10px;
    }

    .location-card-icon {
        width: 28px;
        height: 28px;
        border-radius: 8px;
    }

    .location-card-icon .bi-icon {
        width: 0.75rem;
        height: 0.75rem;
    }

    .location-card-title {
        font-size: 0.6875rem;
    }

    .location-card-text {
        font-size: 0.625rem;
        line-height: 1.4;
    }

    .location-primary {
        font-size: 0.6875rem;
        padding: 0.6rem 0.75rem;
    }
}

/* Footer */
.home-footer {
    background: #0f2a39;
    color: #e5e7eb;
    padding: 4.5rem 1rem 2rem;
}

.footer-container {
    max-width: 1640px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.2fr 0.6fr 0.9fr 1.3fr;
        gap: 3rem;
        align-items: start;
    }
}

.footer-logo img {
    filter: brightness(1.05);
}

.w-75 {
    width: 75%;
}

.nav-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.nav-logo-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
}

.nav-logo-subtitle {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
}

.home-dropdown {
    position: relative;
}

    .home-dropdown summary {
        list-style: none;
        cursor: pointer;
    }

        .home-dropdown summary::-webkit-details-marker {
            display: none;
        }

    .home-dropdown[open] .home-dropdown-menu {
        display: block;
    }

.home-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 0;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 0.5rem;
    box-shadow: 0 12px 32px rgba(2, 6, 23, 0.12);
    z-index: 2000;
    padding: 5px;
}

    .home-dropdown-menu.is-open {
        display: block;
    }

/* Work cards — CSS hover (JS kerak emas) */
.work-card:hover {
    background-color: transparent;
}

    .work-card:hover .work-card-background {
        opacity: 1;
    }

    .work-card:hover .work-card-icon {
        color: white;
    }

    .work-card:hover .work-card-title {
        color: white;
    }

    .work-card:hover .work-card-description {
        color: rgba(255, 255, 255, 0.9);
    }

    .work-card:hover .work-card-button {
        background-color: rgba(255, 255, 255, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.3);
    }

        .work-card:hover .work-card-button:hover {
            background-color: rgba(255, 255, 255, 0.3);
        }

.top-header-button {
    text-decoration: none;
}

.home-dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 5px;
    padding: 0.55rem 0.85rem;
    border: none;
    background: transparent;
    color: #111827;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
}

    .home-dropdown-item:hover,
    .home-dropdown-item.is-active {
        background: rgba(37, 99, 235, 0.08);
        color: #2563eb;
    }

.nav-menu-dropdown-panel {
    min-width: 16rem;
}

.lang-flag svg {
    width: 100%;
    height: 100%;
    display: block;
}

.bi-icon {
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: -0.125em;
    fill: currentColor;
}

.work-card-icon .bi-icon,
.location-card-icon .bi-icon,
.footer-contact-icon .bi-icon,
.footer-social .bi-icon,
.mobile-feature-icon .bi-icon {
    width: 1rem;
    height: 1rem;
}

.hero-chat-button .bi-icon {
    width: 1rem;
    height: 1.45rem;
}

.top-header-icon.bi-icon {
    width: 14px;
    height: 14px;
}

@media (max-width: 768px) {
    .nav-logo-title {
        font-size: 0.75rem;
    }

    .nav-logo-subtitle {
        font-size: 0.625rem;
    }

    .nav-logo-img {
        height: 40px;
    }
}

.footer-about {
    margin-top: 1rem;
    max-width: 36rem;
    width: 100%;
    box-sizing: border-box;
    line-height: 1.7;
    opacity: 0.9;
    word-break: break-word;
    overflow-wrap: anywhere;
}

@media (max-width: 768px) {
    .home-footer {
        padding: 3rem 0.75rem 1.5rem;
    }

    .footer-container {
        padding: 0 0.25rem;
        max-width: 100%;
    }

    .footer-grid {
        gap: 1.75rem;
    }

    .footer-brand {
        min-width: 0;
        width: 100%;
        max-width: 100%;
    }

    .footer-about {
        max-width: 100%;
        font-size: 0.875rem;
        line-height: 1.6;
        margin-top: 0.75rem;
    }

    .footer-socials {
        margin-top: 1rem;
        gap: 0.625rem;
    }

    .footer-social {
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 480px) {
    .home-footer {
        padding: 2.5rem 0.5rem 1.25rem;
    }

    .footer-container {
        padding: 0;
    }

    .footer-grid {
        gap: 1.5rem;
    }

    .footer-about {
        font-size: 0.8125rem;
        line-height: 1.55;
    }

    .nav-logo-img {
        height: 36px;
    }
}

@media (max-width: 360px) {
    .home-footer {
        padding: 2rem 0.375rem 1rem;
    }

    .footer-about {
        font-size: 13px;
        line-height: 1.5;
        margin-top: 0.625rem;
    }

    .footer-socials {
        margin-top: 0.875rem;
        gap: 0.5rem;
    }

    .footer-social {
        width: 34px;
        height: 34px;
    }

    .footer-social .bi-icon {
        width: 0.875rem;
        height: 0.875rem;
    }
}

.footer-socials {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.footer-social {
    width: 44px;
    height: 44px;
    border-radius: 9999px;
    background: rgba(56, 189, 248, 0.16);
    border: 1px solid rgba(56, 189, 248, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #e5e7eb;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

    .footer-social:hover {
        transform: translateY(-2px);
        background: rgba(56, 189, 248, 0.25);
    }

.footer-col-title {
    font-size: 1.125rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    color: rgba(229, 231, 235, 0.9);
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: color 0.2s ease, transform 0.2s ease;
}

    .footer-link:hover {
        color: #38bdf8;
        transform: translateX(2px);
    }

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #e5e7eb;
    flex-shrink: 0;
}

.footer-contact-link {
    color: rgba(229, 231, 235, 0.92);
    text-decoration: none;
}

    .footer-contact-link:hover {
        color: #ffffff;
    }

.footer-contact-text {
    color: rgba(229, 231, 235, 0.92);
}

.footer-form {
    display: flex;
    width: 100%;
    max-width: 520px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-input {
    flex: 1;
    padding: 0.95rem 1rem;
    border: none;
    outline: none;
    background: transparent;
    color: #ffffff;
}

    .footer-input::placeholder {
        color: rgba(229, 231, 235, 0.7);
    }

.footer-submit {
    padding: 0.95rem 1.25rem;
    border: none;
    background: #38bdf8;
    color: #0b1220;
    font-weight: 800;
    cursor: pointer;
    transition: filter 0.2s ease, transform 0.2s ease;
}

    .footer-submit:hover {
        filter: brightness(1.05);
        transform: translateX(-1px);
    }

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.14);
    margin-top: 2.75rem;
    margin-bottom: 1.25rem;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    justify-content: space-between;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        align-items: center;
    }
}

.footer-copy {
    color: rgba(229, 231, 235, 0.8);
    font-size: 0.95rem;
}

.footer-powered {
    display: flex;
    align-items: center;
}

.footer-dev-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.5rem 0.9rem 0.5rem 0.5rem;
    border-radius: 999px;
    text-decoration: none;
    color: #e5e7eb;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(14, 165, 233, 0.1) 100%);
    border: 1px solid rgba(56, 189, 248, 0.3);
    box-shadow: 0 8px 24px rgba(2, 6, 23, 0.2);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

    .footer-dev-badge:hover {
        transform: translateY(-2px);
        border-color: rgba(56, 189, 248, 0.55);
        background: linear-gradient(135deg, rgba(37, 99, 235, 0.32) 0%, rgba(14, 165, 233, 0.18) 100%);
        box-shadow: 0 12px 32px rgba(37, 99, 235, 0.24);
        color: #ffffff;
    }

.footer-dev-badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 999px;
    background: linear-gradient(145deg, #2563eb 0%, #0ea5e9 100%);
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

    .footer-dev-badge-icon .bi-icon {
        width: 1.1rem;
        height: 1.1rem;
    }

.footer-dev-badge-content {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    line-height: 1.15;
}

.footer-dev-badge-label {
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(229, 231, 235, 0.68);
}

.footer-dev-badge-title {
    font-size: 0.875rem;
    font-weight: 800;
    color: #f8fafc;
    letter-spacing: 0.01em;
}

.footer-dev-badge-chevron {
    width: 0.85rem;
    height: 0.85rem;
    margin-left: 0.15rem;
    opacity: 0.5;
    flex-shrink: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-dev-badge:hover .footer-dev-badge-chevron {
    opacity: 1;
    transform: translate(2px, -2px);
}

@media (max-width: 480px) {
    .footer-dev-badge {
        width: 100%;
        justify-content: flex-start;
    }
}

.services-container {
    max-width: 1640px;
    margin-left: auto;
    margin-right: auto;
    padding: 0px 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Services List */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.services-timeline {
    position: relative;
}

.service-item {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 1.25rem;
    align-items: stretch;
    position: relative;
    opacity: 1;
    transform: none;
}

.service-item-visible {
    opacity: 1;
    transform: none;
}

.service-item:not(:last-child) .service-step::after {
    content: '';
    position: absolute;
    left: 50%;
    top: calc(100% + 0.35rem);
    width: 3px;
    height: calc(2rem + 0.35rem);
    transform: translateX(-50%);
    background: repeating-linear-gradient( to bottom, #2563eb 0, #2563eb 8px, transparent 8px, transparent 14px );
    border-radius: 999px;
    opacity: 0.45;
}

.service-step {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 0.35rem;
}

.service-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: linear-gradient(145deg, #1e3a8a 0%, #2563eb 55%, #0ea5e9 100%);
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    box-shadow: 0 16px 34px rgba(37, 99, 235, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.22);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.service-item:hover .service-step-number {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.service-card {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 100%);
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: 18px;
    padding: 1.35rem 1.5rem 1.35rem 1.65rem;
    flex: 1;
    box-shadow: 0 14px 30px rgba(2, 6, 23, 0.06);
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

    .service-card::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 5px;
        background: linear-gradient(180deg, #2563eb 0%, #0ea5e9 100%);
        border-radius: 18px 0 0 18px;
    }

.service-item:hover .service-card {
    transform: translateX(6px);
    border-color: rgba(37, 99, 235, 0.24);
    box-shadow: 0 18px 44px rgba(37, 99, 235, 0.12);
}

.service-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.65rem;
    transition: color 0.2s ease;
}

.service-item:hover .service-title {
    color: #1d4ed8;
}

.service-description {
    font-size: 0.92rem;
    color: rgba(15, 23, 42, 0.72);
    line-height: 1.65;
    margin: 0;
    transition: color 0.2s ease;
}

.service-item:hover .service-description {
    color: rgba(15, 23, 42, 0.84);
}

/* Services Image */
.services-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (min-width: 1024px) {
    .services-image-container {
        justify-content: flex-end;
    }
}

.services-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 28rem;
}

.services-circular-image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 9999px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    clip-path: circle(50% at 50% 50%);
    box-shadow: 0 26px 60px rgba(2, 6, 23, 0.18);
    transition: transform 0.25s ease;
}

.services-image-container:hover .services-circular-image {
    transform: scale(1.05);
}

.services-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( to bottom right, rgba(15, 23, 42, 0.08), rgba(255, 255, 255, 0) );
    border-radius: 9999px;
}

/* Responsive Design for Services */
@media (max-width: 1024px) {
    .services-section {
        padding: 4rem 1rem;
    }

    .services-list {
        gap: 2rem;
    }

    .service-item {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 3rem 1rem;
    }

    .service-item {
        grid-template-columns: 56px 1fr;
        gap: 0.85rem;
    }

    .service-step-number {
        width: 56px;
        height: 56px;
        font-size: 1.05rem;
        border-radius: 16px;
    }

    .service-item:not(:last-child) .service-step::after {
        height: calc(2rem + 0.2rem);
    }

    .service-card {
        padding: 1rem 1rem 1rem 1.2rem;
        border-radius: 14px;
    }

    .service-title {
        font-size: 1.05rem;
    }

    .service-description {
        font-size: 0.84rem;
    }
}

/* Hexagonal Cards */
.work-hexagons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    width: 100%;
}

.hexagon-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    width: 100%;
}

.hexagon-row-2 {
    margin-top: 0;
}

.hexagon-card-6 {
    margin-top: 0;
}

@media (min-width: 1024px) {
    .work-hexagons {
        gap: 0;
    }

    .hexagon-row {
        flex-wrap: nowrap;
        gap: 1.5rem;
    }


}

.hexagon-card {
    position: relative;
    width: 200px;
    height: 230px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    cursor: pointer;
    transition: transform 0.3s ease;
    overflow: hidden;
    /* GPU acceleration */
    transform: translateZ(0);
}

    .hexagon-card::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
        z-index: 1;
        transition: opacity 0.3s ease;
    }

    .hexagon-card:hover {
        transform: scale(1.1);
        z-index: 10;
    }

        .hexagon-card:hover::before {
            opacity: 0.4;
        }

.hexagon-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    z-index: 2;
    text-align: center;
}

.hexagon-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    line-height: 1.3;
}

.hexagon-button {
    padding: 0.5rem 1.5rem;
    background-color: transparent;
    border: 2px solid white;
    border-radius: 0.375rem;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

    .hexagon-button:hover {
        background-color: white;
        color: #111827;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }

/* Responsive Design for Hexagons */
@media (max-width: 1024px) {
    .work-hexagons {
        margin-top: 2rem;
        gap: 1rem;
    }

    .hexagon-row {
        margin-bottom: 0;
    }

    .hexagon-card {
        width: 160px;
        height: 185px;
    }

    .hexagon-title {
        font-size: 1rem;
    }

    .hexagon-button {
        padding: 0.4rem 1.2rem;
        font-size: 0.8125rem;
    }
}

@media (max-width: 768px) {
    .work-hexagons {
        gap: 0.875rem;
        padding: 0 0.25rem;
    }

    .hexagon-row {
        flex-direction: column;
        align-items: center;
        gap: 0.875rem;
    }

    .hexagon-row-2,
    .hexagon-card-6 {
        margin-top: 0;
    }

    .hexagon-card {
        margin-top:10px;
        width: min(200px, 78vw);
        height: calc(min(200px, 78vw) * 1.15);
        flex-shrink: 0;
    }

    .hexagon-content {
        padding: 1rem;
    }

    .hexagon-title {
        font-size: 0.875rem;
        margin-bottom: 0.5rem;
    }

    .hexagon-button {
        padding: 0.35rem 1rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 360px) {
    .hexagon-card {
        width: min(180px, 88vw);
        height: calc(min(180px, 88vw) * 1.15);
    }

    .hexagon-title {
        font-size: 0.8125rem;
    }
}

/* Work Section */
.work-section {
    position: relative; /* required so ::before doesn't cover whole page */
    background-color: #ffffff;
    padding: 2rem 0px;
    overflow: hidden;
}

    .work-section::before {
        content: '';
        position: absolute;
        inset: -2px;
        background: radial-gradient(circle at 12% 25%, rgba(37, 99, 235, 0.10) 0%, rgba(37, 99, 235, 0) 55%), radial-gradient(circle at 85% 20%, rgba(56, 189, 248, 0.12) 0%, rgba(56, 189, 248, 0) 55%), radial-gradient(circle at 70% 90%, rgba(16, 185, 129, 0.08) 0%, rgba(16, 185, 129, 0) 55%);
        z-index: 1;
        pointer-events: none; /* don't block clicks above */
    }

.work-container {
    position: relative;
    z-index: 2;
    max-width: 1640px;
    margin-left: auto;
    margin-right: auto;
    padding: 0px 20px;
}

.work-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: rgb(0, 0, 0);
    text-align: center;
    margin: 80px 0px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
    opacity: 0.9;
}

@media (min-width: 768px) {
    .work-title {
        font-size: 3rem;
    }
}

.work-layout {
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
    .work-layout {
        grid-template-columns: 1fr 0.5fr;
        gap: 1.5rem;
    }
}

.work-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.work-card {
    position: relative;
    background-color: rgba(229, 231, 235, 0.95);
    /* backdrop-filter removed - performance optimization */
    border-radius: 0.75rem;
    padding: 2rem;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.work-card-background {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    z-index: 1;
}

    .work-card-background::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to right, rgba(17, 24, 39, 0.85), rgba(31, 41, 55, 0.75));
        z-index: 1;
    }

/* Background images are set via inline styles in JSX */

.work-card-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2rem;
    z-index: 2;
}

.work-card-icon {
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #374151;
    font-size: 2rem;
    transition: color 0.3s ease;
    flex-shrink: 0;
}

.work-card-text {
    flex: 1;
}

.work-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.work-card-description {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.work-card-button {
    width: 3rem;
    height: 3rem;
    background-color: #1f2937;
    border: none;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    flex-shrink: 0;
}

    .work-card-button:hover {
        background-color: #111827;
        transform: translateX(5px);
    }

/* Hover State */
.work-card-hovered {
    background-color: transparent;
}

    .work-card-hovered .work-card-background {
        opacity: 1;
    }

    .work-card-hovered .work-card-icon {
        color: white;
    }

    .work-card-hovered .work-card-title {
        color: white;
    }

    .work-card-hovered .work-card-description {
        color: rgba(255, 255, 255, 0.9);
    }

    .work-card-hovered .work-card-button {
        background-color: rgba(255, 255, 255, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.3);
    }

        .work-card-hovered .work-card-button:hover {
            background-color: rgba(255, 255, 255, 0.3);
        }

/* Responsive Design for Work Section */
@media (max-width: 768px) {
    .work-section {
        padding: 3rem 1rem;
    }

    .work-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .work-card {
        padding: 1.5rem;
    }

    .work-card-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .work-card-icon {
        width: 3rem;
        height: 3rem;
        font-size: 1.5rem;
    }

    .work-card-title {
        font-size: 1.25rem;
    }

    .work-card-description {
        font-size: 0.875rem;
    }

    .work-card-button {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
        align-self: flex-end;
    }
}
