﻿/* =============================================================
   HERO — Google Sans Flex font + Hero v5 overrides
   Extracted from index.html inline <style> blocks
   ============================================================= */

/* ── Font ── */

@font-face {
    font-family: 'Google Sans Flex';
    src: url('https://fonts.gstatic.com/s/googlesansflex/v1/oPWQ_l5_cvGQKJYMDq2MoRV8dU11r.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
    
/* ── Hero v5 overrides ── */

:root {
    --m2-navy: #0F1F3D;
    --m2-navy-2: #18315F;
    --m2-blue: #4183FF;
    --m2-blue-hover: #2E6FF0;
    --m2-bg: #F5F7FA;
    --m2-line: #EDEDED;
    --m2-muted: #8A9BB5;
}

html,
body {
    background: var(--m2-bg);
}

/* --- HERO v5 ? pixel-matched to reference designs --- */

/* -- Container -- */
#home.hero-container {
    background: #e9e9e9 !important;
    min-height: 100vh;
    padding-top: 0 !important;
    overflow: visible !important;
    display: block !important;
    flex-direction: unset !important;
    justify-content: unset !important;
    position: relative;
}

#home.hero-container::before {
    display: none !important;
}

.hero-blob-1,
.hero-blob-2,
.hero-blob-3 {
    display: none !important;
}

/* -- hero-inner = left text column -- */
#home .hero-inner {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    padding: clamp(132px, 15vh, 150px) 56px 70px max(155px, calc((100vw - 1320px) / 2 + 26px)) !important;
    max-width: none !important;
    min-height: 100vh !important;
    gap: 0 !important;
    margin: 0 !important;
    grid-template-columns: unset !important;
    position: static !important;
    z-index: 4;
    width: min(54vw, 820px);
}

/* -- hero-left -- */
#home .hero-left {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    width: min(100%, 720px);
    min-height: 0;
    padding: 0 !important;
    gap: 17px;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

#home .hero-left::before {
    display: none !important;
}

/* -- Headline -- */
#home .hero-headline {
    font-family: 'Google Sans Flex', 'Plus Jakarta Sans', sans-serif !important;
    font-size: 64px !important;
    font-weight: 800 !important;
    line-height: 1.05 !important;
    letter-spacing: 0 !important;
    color: #000 !important;
    margin: 0 !important;
    overflow: visible !important;
    text-wrap: balance;
}

#home .hero-line {
    display: inline !important;
    overflow: visible !important;
}

#home .hero-line span {
    display: inline !important;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
}

#home .hero-accent-word {
    font-style: normal !important;
    color: #4183FF !important;
    -webkit-text-fill-color: #4183FF !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    animation: none !important;
    display: inline !important;
}

/* -- "biz? etibar edin." blue on desktop -- */
#home .hero-title-end {
    color: #2F7BFF !important;
    -webkit-text-fill-color: #2F7BFF !important;
    display: inline-block !important;
    white-space: nowrap !important;
}

/* -- Subtext -- */
#home .hero-sub-text {
    font-family: 'Inter', sans-serif;
    font-size: 22px !important;
    font-weight: 600 !important;
    line-height: 1.24 !important;
    color: rgba(0, 0, 0, 0.75) !important;
    max-width: 430px !important;
    margin: 0 !important;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
}

/* -- Stats ? desktop mirrors service-page hero -- */
#home .hero-stats {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 20px !important;
    width: 470px !important;
    max-width: 100% !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: #000 !important;
    margin: clamp(170px, 19vh, 215px) 0 0 !important;
    border: none !important;
    padding: 0 !important;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    flex-wrap: nowrap !important;
}

.hero-stat-item {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 13px;
    min-width: 88px;
    text-align: center;
}

.hero-stat-num {
    font-family: 'Google Sans Flex', 'Plus Jakarta Sans', sans-serif;
    font-size: 28px;
    line-height: 1.1;
    font-weight: 800;
    color: #2F77FF !important;
    -webkit-text-fill-color: #2F77FF !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    letter-spacing: 0;
}

.hero-stat-lbl {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 600;
    color: #000;
    letter-spacing: 0;
    text-transform: none;
}

.hero-stat-sep {
    display: none !important;
}

/* Mobile cube ? hidden on desktop */
.hero-cube-stage {
    display: none;
}

/* -- CTAs -- */
#home .hero-cta-group {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    flex-wrap: nowrap !important;
    margin-top: 34px !important;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
}

.btn-hero-primary {
    font-family: 'Google Sans Flex', 'Plus Jakarta Sans', sans-serif;
    font-size: 20px;
    font-weight: 800;
    background: #2F77FF;
    color: #fff !important;
    border: none;
    min-width: 155px;
    height: 50px;
    padding: 0 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease;
    letter-spacing: 0;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(47, 119, 255, .22);
}

.btn-hero-primary:hover {
    background: #2E6FF0;
    color: #fff !important;
    text-decoration: none;
}

.bhp-lbl {
    display: inline;
}

.bhp-arrow {
    display: inline-block;
    font-style: normal;
    transition: transform 0.2s ease;
}

.btn-hero-primary:hover .bhp-arrow {
    transform: translateX(3px);
}

.btn-hero-secondary {
    font-family: 'Google Sans Flex', 'Plus Jakarta Sans', sans-serif;
    font-size: 20px;
    font-weight: 800;
    background: #fff;
    color: #000 !important;
    border: none;
    min-width: 160px;
    height: 50px;
    padding: 0 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
    letter-spacing: 0;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(15, 31, 61, .10);
}

.btn-hero-secondary:hover {
    background: #0F1F3D;
    color: #fff !important;
    text-decoration: none;
}

/* -- RIGHT: scrolling card grid (absolute, covers right 50%) -- */
#home .hero-right {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 50% !important;
    overflow: visible !important;
    display: block !important;
    min-height: unset !important;
    opacity: 1 !important;
    animation: none !important;
    pointer-events: none;
    -webkit-mask-image: none !important;
    mask-image: none !important;
}

.hero-stage {
    position: absolute;
    top: -30%;
    left: 5%;
    width: 130%;
    height: 160%;
    transform: rotate(15deg);
    transform-origin: 50% 50%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    overflow: visible !important;
}

.hero-col {
    display: flex;
    flex-direction: column;
    gap: 22px;
    animation: heroColUp 38s linear infinite;
    animation-delay: -7s;
    overflow: visible !important;
}

.hero-col-fast {
    animation-duration: 26s;
    animation-delay: -3s;
}

@keyframes heroColUp {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-50%);
    }
}

/* -- Cards -- */
.hero-card {
    background: #fff;
    border: 1px solid #EDEDED;
    border-radius: 14px;
    overflow: hidden;
    flex: 0 0 auto;
    aspect-ratio: 16 / 11;
    display: flex;
    flex-direction: column;
}

.hc-shot {
    flex: 1 1 70%;
    border-bottom: 1px solid #EDEDED;
    position: relative;
    overflow: hidden;
}

.hc-meta {
    flex: 0 0 30%;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.hc-meta h3 {
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #0F1F3D !important;
    -webkit-text-fill-color: #0F1F3D !important;
    background: none !important;
    letter-spacing: -0.01em;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hc-tag {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8A9BB5;
    white-space: nowrap;
}

/* Project logo cards */
.hc-shot {
    background-color: #fff;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hc-shot::after {
    content: "";
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 0 1px rgba(15, 31, 61, 0.05);
    pointer-events: none;
}

.shot-dollar {
    background-image: url("images/hero-cards/dollar bouquet baku logo.png");
}

.shot-taktil {
    background-image: url("images/hero-cards/taktil logo.png");
}

.shot-biletly {
    background-image: url("images/hero-cards/Biletly Logo.png");
}

.shot-leading {
    background-image: url("images/hero-cards/leading solutions logo.jpg");
}

.shot-adeva {
    background-image: url("images/hero-cards/adevameg logo.png");
}

.shot-freqat {
    background-image: url("images/hero-cards/freqat.png");
}

.shot-adgeosol {
    background-image: url("images/hero-cards/ageosol logo.png");
}

.shot-azsafety {
    background-image: url("images/hero-cards/azsafety.png");
}

.shot-asadov {
    background-image: url("images/hero-cards/asadovpro.png");
}

.shot-finekspertiza {
    background-image: url("images/hero-cards/finekspertiza logo.PNG");
}

.shot-setservice {
    background-image: url("images/hero-cards/set service logo.png");
}

/* -- Mobile cube flipper -- */
.hero-cube-stage {
    position: relative;
    width: 100%;
    height: 230px;
    margin: 0 0 28px;
    perspective: 1200px;
    perspective-origin: 50% 50%;
    overflow: hidden;
}

.hero-slot {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    transform-origin: 50% 50%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform;
}

.hero-slot-a {
    transform: rotateX(0deg);
}

.hero-slot-b {
    transform: rotateX(90deg);
}

.hero-slot.is-flipping {
    transition: transform 0.55s cubic-bezier(.65, 0, .35, 1);
}

.hero-cube-stage .hero-card {
    aspect-ratio: unset;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.hero-cube-stage .hc-shot {
    flex: 1 1 auto;
}

.hero-cube-stage .hc-meta {
    flex: 0 0 auto;
    padding: 14px 18px 16px;
}

/* -- Mobile =768px -- */
@media (max-width: 768px) {
    body {
        background: #E9E9E9 !important;
    }

    .particles-container {
        display: none !important;
    }

    .custom-navbar {
        padding: calc(26px + env(safe-area-inset-top, 0px)) 18px 0 !important;
        background: transparent !important;
    }

    .custom-navbar .container {
        display: grid !important;
        grid-template-columns: 1fr 56px 56px !important;
        gap: 12px !important;
        max-width: 100% !important;
        padding: 0 !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .custom-navbar .container::before,
    .custom-navbar .container::after {
        display: none !important;
    }

    .navbar-brand {
        min-height: 56px !important;
        height: 56px !important;
        border-radius: 999px !important;
        background: #fff !important;
        box-shadow: 0 14px 30px rgba(15, 31, 61, .12) !important;
        padding: 0 20px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 14px !important;
        grid-column: 1 / 2;
        grid-row: 1;
    }


    .navbar-brand .main-logo {
        height: 34px !important;
        width: auto !important;
    }

    .brand-wordmark {
        grid-column: 1 / 2;
        grid-row: 1;
        align-self: stretch;
        justify-self: stretch;
        z-index: 2;
        display: flex !important;
        align-items: center;
        justify-content: center;
        padding-left: 0;
        padding-right: 0;
        pointer-events: none;
        font-family: 'Inter', sans-serif !important;
        font-size: 15px !important;
        line-height: 1 !important;
        font-weight: 600 !important;
        letter-spacing: -0.01em !important;
        color: #000 !important;
        white-space: nowrap;
        text-align: center;
    }

    .mobile-lang-dropdown {
        grid-column: 2;
        grid-row: 1;
        width: 56px !important;
        height: 56px !important;
    }

    .mobile-lang-pill {
        width: 56px !important;
        height: 56px !important;
        min-width: 56px !important;
        border-radius: 50% !important;
        background: #fff !important;
        box-shadow: 0 14px 30px rgba(15, 31, 61, .12) !important;
        border: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        margin: 0 !important;
        color: #000 !important;
        font-size: 22px !important;
    }

    .mobile-lang-pill i {
        display: block !important;
        font-size: 22px !important;
        margin: 0 !important;
        color: #000 !important;
    }

    .navbar-toggler {
        grid-column: 3;
        grid-row: 1;
        width: 56px !important;
        height: 56px !important;
        border-radius: 50% !important;
        background: #fff !important;
        box-shadow: 0 14px 30px rgba(15, 31, 61, .12) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .navbar-toggler-icon-custom {
        gap: 6px !important;
    }

    .navbar-toggler-icon-custom span {
        width: 24px !important;
        height: 3px !important;
        background: #000 !important;
        border-radius: 4px !important;
    }

    .navbar-collapse {
        grid-column: 1 / -1 !important;
        margin-top: 14px !important;
        border-radius: 26px !important;
        background: rgba(255, 255, 255, .97) !important;
        box-shadow: 0 18px 44px rgba(15, 31, 61, .12) !important;
        border: 0 !important;
    }

    .navbar-collapse .language-switcher {
        display: none !important;
    }

    #home.hero-container {
        min-height: 100svh;
        padding-top: 0 !important;
        background: #E9E9E9 !important;
        overflow: hidden !important;
    }

    #home .hero-inner {
        max-width: 100% !important;
        width: 100% !important;
        min-height: 100svh !important;
        padding: calc(130px + env(safe-area-inset-top, 0px)) 18px 30px !important;
        justify-content: flex-start !important;
        position: relative !important;
        z-index: 4;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    #home .hero-left {
        min-height: calc(100svh - 130px - env(safe-area-inset-top, 0px)) !important;
        gap: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        overflow: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    #home .hero-headline {
        font-family: 'Google Sans Flex', 'Plus Jakarta Sans', sans-serif !important;
        font-size: 0 !important;
        letter-spacing: -0.03em !important;
        line-height: 1 !important;
        text-align: center;
        margin: 0 0 10px !important;
        color: #000 !important;
        -webkit-text-fill-color: initial !important;
        font-weight: 800 !important;
        text-wrap: balance;
        width: 100% !important;
        max-width: 100% !important;
    }

    #home .hero-headline>* {
        display: none !important;
    }

    #home .hero-headline::before,
    #home .hero-headline::after {
        display: block;
        font-family: 'Google Sans Flex', 'Plus Jakarta Sans', sans-serif !important;
        font-size: clamp(34px, 9.6vw, 38px);
        line-height: 1.05;
        letter-spacing: -0.03em;
        font-weight: 800;
        text-align: center;
        -webkit-text-fill-color: initial;
        max-width: 100%;
    }

    #home .hero-headline::before {
        content: var(--hero-m-line1, "Texnologiyanı");
        color: #000;
    }

    #home .hero-headline::after {
        content: var(--hero-m-line2, "bizə etibar edin.");
        color: #2F7BFF !important;
        -webkit-text-fill-color: #2F7BFF !important;
        background: none !important;
        -webkit-background-clip: unset !important;
        background-clip: unset !important;
        margin-top: 0;
    }

    #home .hero-sub-text {
        font-size: 0 !important;
        width: 82% !important;
        max-width: 320px !important;
        margin: 0 auto 22px !important;
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    #home .hero-sub-text::before {
        content: var(--hero-m-sub, "Biz rəqəmsal məhsulları sıfırdan qururuq.");
        display: block;
        font-size: 18px;
        line-height: 1.3;
        font-family: 'Inter', sans-serif;
        font-weight: 600;
        color: rgba(0, 0, 0, 0.75);
        text-align: center;
        white-space: normal;
        overflow: visible;
    }

    /* Stats: 3-column grid */
    #home .hero-stats {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 8px !important;
        width: 82% !important;
        max-width: 320px !important;
        align-self: center !important;
        padding: 0 !important;
        margin: 0 0 44px !important;
        border-top: 0 !important;
        border-bottom: 0 !important;
        letter-spacing: 0 !important;
        text-transform: none !important;
        align-items: stretch !important;
        text-align: center;
    }

    .hero-stat-item {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        min-width: 0;
    }

    .hero-stat-num {
        font-size: 26px !important;
        letter-spacing: -0.02em !important;
        line-height: 1;
        font-weight: 800 !important;
        font-family: 'Google Sans Flex', 'Plus Jakarta Sans', sans-serif !important;
        color: #2F7BFF !important;
        -webkit-text-fill-color: #2F7BFF !important;
    }

    .hero-stat-lbl {
        font-size: 15px;
        line-height: 1.2;
        font-weight: 600;
        color: #000;
        text-transform: none;
        letter-spacing: -0.01em;
        font-family: 'Inter', sans-serif !important;
    }

    .hero-stat-item .hero-stat-lbl {
        font-size: 0 !important;
    }

    .hero-stat-item:nth-child(1) .hero-stat-lbl::before {
        content: "Təcrübə";
        white-space: pre-line;
        font-size: 15px;
        font-family: 'Inter', sans-serif !important;
        font-weight: 600;
    }

    .hero-stat-item:nth-child(3) .hero-stat-lbl::before {
        content: "Layihə";
        white-space: pre-line;
        font-size: 15px;
        font-family: 'Inter', sans-serif !important;
        font-weight: 600;
    }

    .hero-stat-item:nth-child(5) .hero-stat-lbl::before {
        content: "Müştəri";
        white-space: pre-line;
        font-size: 15px;
        font-family: 'Inter', sans-serif !important;
        font-weight: 600;
    }

    .hero-stat-sep {
        display: none !important;
    }

    /* Show cube, hide right columns */
    .hero-cube-stage {
        display: block;
        align-self: center;
        width: min(78%, 280px);
        height: auto !important;
        flex: 1 1 auto;
        min-height: 180px;
        max-height: min(46vh, 300px);
        margin: 0 auto 32px;
        opacity: .96;
    }

    #home .hero-right {
        display: none !important;
    }

    /* CTAs: 2-column grid */
    #home .hero-cta-group {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        width: 82% !important;
        max-width: 320px !important;
        align-self: center !important;
        margin-top: 0 !important;
    }

    .btn-hero-primary {
        font-size: 16px;
        font-weight: 800;
        font-family: 'Google Sans Flex', 'Plus Jakarta Sans', sans-serif !important;
        height: 58px;
        min-width: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        border-radius: 999px;
        text-transform: uppercase;
        letter-spacing: 0.01em;
        background: #2F7BFF !important;
        box-shadow: 0 8px 18px rgba(47, 123, 255, .22) !important;
    }

    .bhp-lbl {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding-left: 0;
    }

    .bhp-lbl {
        font-size: 0 !important;
    }

    .bhp-lbl::before {
        content: "BAŞLA";
        font-size: 16px;
        font-family: 'Google Sans Flex', 'Plus Jakarta Sans', sans-serif !important;
        font-weight: 800;
    }

    .bhp-arrow {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-left: 0;
        font-size: 0;
        transform: none !important;
        margin-left: 8px;
    }

    .bhp-arrow::before {
        content: "→";
        font-size: 16px;
        font-family: 'Google Sans Flex', 'Plus Jakarta Sans', sans-serif !important;
    }

    .btn-hero-secondary {
        font-size: 16px;
        font-weight: 800;
        font-family: 'Google Sans Flex', 'Plus Jakarta Sans', sans-serif !important;
        height: 58px;
        min-width: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        border-radius: 999px;
        text-transform: uppercase;
        letter-spacing: 0em;
        background: #fff !important;
        border: 0 !important;
        color: #000 !important;
        box-shadow: 0 8px 18px rgba(15, 31, 61, .10) !important;
    }

    .btn-hero-secondary>span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0;
        font-size: 0 !important;
    }

    .btn-hero-secondary>span::after {
        content: "İŞLƏRİMİZ";
        font-size: 16px;
        font-family: 'Google Sans Flex', 'Plus Jakarta Sans', sans-serif !important;
        font-weight: 800;
    }

    .btn-hero-secondary>span::before {
        display: none !important;
    }
}


@media (max-width: 768px) {


}
    
