/* =========================================
   BBTECHGROUP
   Corporate Website V1
========================================= */

:root {
    --bg: #050815;
    --bg-soft: #090e20;
    --bg-card: rgba(14, 22, 47, 0.72);

    --primary: #2367ff;
    --primary-light: #4d85ff;
    --cyan: #30c7ff;

    --text: #f5f7ff;
    --text-soft: #a9b3c9;
    --text-dark: #12182a;

    --border: rgba(255, 255, 255, 0.09);
    --border-active: rgba(76, 132, 255, 0.45);

    --container: 1220px;

    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;

    --transition: 0.3s ease;
}


/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background:
        radial-gradient(
            circle at top,
            rgba(31, 86, 202, 0.09),
            transparent 30%
        ),
        var(--bg);

    color: var(--text);
    line-height: 1.6;

    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(92%, var(--container));
    margin-inline: auto;
}


/* =========================================
   GLOBAL
========================================= */

.section {
    padding: 120px 0;
    position: relative;
}

.section-heading {
    max-width: 850px;
    margin-bottom: 64px;
}

.section-kicker {
    display: inline-block;

    color: var(--primary-light);

    font-size: 0.78rem;
    font-weight: 700;

    letter-spacing: 0.14em;
    text-transform: uppercase;

    margin-bottom: 18px;
}

.section-heading h2,
.solutions h2,
.about h2,
.contact h2,
.tech-header h2 {
    font-size: clamp(2.3rem, 5vw, 4.5rem);
    line-height: 1.05;

    letter-spacing: -0.045em;

    font-weight: 700;
}

.section-heading h2 span,
.solutions h2 span,
.about h2 span,
.contact h2 span,
.tech-header h2 span {
    color: var(--text-soft);
}

.section-heading p {
    margin-top: 22px;

    max-width: 660px;

    color: var(--text-soft);

    font-size: 1.05rem;
}


/* =========================================
   BUTTONS
========================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    min-height: 52px;

    border-radius: 999px;

    font-size: 0.92rem;
    font-weight: 650;

    transition:
        transform var(--transition),
        background var(--transition),
        border var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    padding: 0 25px;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            #3858ff
        );

    color: white;

    box-shadow:
        0 15px 45px rgba(27, 90, 255, 0.25);
}

.btn-primary:hover {
    box-shadow:
        0 18px 55px rgba(27, 90, 255, 0.38);
}

.btn-secondary {
    padding: 0 25px;

    border: 1px solid var(--border);

    background: rgba(255,255,255,0.02);
}

.btn-secondary:hover {
    border-color: rgba(255,255,255,0.25);
}

.btn-nav {
    min-height: 42px;

    padding: 0 20px;

    background: white;

    color: var(--text-dark);
}


/* =========================================
   HEADER
========================================= */

.header {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    transition:
        background var(--transition),
        border var(--transition),
        backdrop-filter var(--transition);
}

.header.scrolled {
    background: rgba(5, 8, 21, 0.8);

    backdrop-filter: blur(18px);

    border-bottom:
        1px solid var(--border);
}

.nav-container {
    height: 84px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    width: 400px;
    height: 80px;

    object-fit: contain;
    object-position: left center;
}

.nav {
    display: flex;
    align-items: center;

    gap: 32px;
}

.nav a {
    color: #c0c8da;

    font-size: 0.9rem;

    transition: color var(--transition);
}

.nav a:hover {
    color: white;
}

.menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    border: 1px solid var(--border);

    border-radius: 12px;

    background: transparent;
}

.menu-toggle span {
    display: block;

    width: 18px;
    height: 2px;

    margin: 4px auto;

    background: white;

    transition: var(--transition);
}


/* =========================================
   HERO
========================================= */

.hero {
    min-height: 100vh;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding:
        155px 0 35px;

    position: relative;

    overflow: hidden;
}

.hero::before {
    content: "";

    position: absolute;

    width: 100%;
    height: 100%;

    inset: 0;

    background-image:
        linear-gradient(
            rgba(255,255,255,0.022) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.022) 1px,
            transparent 1px
        );

    background-size: 70px 70px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent 75%
        );

    pointer-events: none;
}

.hero-glow {
    position: absolute;

    border-radius: 50%;

    filter: blur(120px);

    pointer-events: none;
}

.hero-glow-one {
    width: 420px;
    height: 420px;

    right: 7%;
    top: 16%;

    background:
        rgba(36, 94, 255, 0.21);
}

.hero-glow-two {
    width: 300px;
    height: 300px;

    left: -7%;
    top: 25%;

    background:
        rgba(28, 112, 255, 0.08);
}

.hero-grid {
    display: grid;

    grid-template-columns:
        1.02fr 0.98fr;

    align-items: center;

    gap: 70px;

    position: relative;

    z-index: 2;
}

.eyebrow {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    padding: 8px 13px;

    border:
        1px solid var(--border);

    border-radius: 999px;

    background:
        rgba(255,255,255,0.025);

    color: #b7c0d3;

    font-size: 0.8rem;

    margin-bottom: 28px;
}

.status-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #4be390;

    box-shadow:
        0 0 12px rgba(75, 227, 144, 0.7);
}

.hero h1 {
    max-width: 720px;

    font-size:
        clamp(3.3rem, 6vw, 6rem);

    line-height: 0.98;

    letter-spacing:
        -0.055em;

    font-weight: 730;
}

.gradient-text {
    display: block;

    background:
        linear-gradient(
            100deg,
            #ffffff 5%,
            #79a4ff 55%,
            #37c9ff
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.hero-description {
    max-width: 650px;

    margin-top: 27px;

    color: var(--text-soft);

    font-size: 1.12rem;
}

.hero-actions {
    display: flex;

    gap: 14px;

    margin-top: 36px;
}

.hero-meta {
    display: flex;

    gap: 42px;

    margin-top: 52px;

    padding-top: 25px;

    border-top:
        1px solid var(--border);
}

.hero-meta div {
    display: flex;
    flex-direction: column;
}

.meta-label {
    color: #727d94;

    font-size: 0.7rem;

    text-transform: uppercase;

    letter-spacing: 0.1em;
}

.hero-meta strong {
    margin-top: 4px;

    font-size: 0.82rem;

    font-weight: 550;
}


/* =========================================
   SOFTWARE MOCKUP
========================================= */

.hero-visual {
    min-height: 560px;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;
}

.software-window {
    width: 100%;
    max-width: 610px;

    min-height: 430px;

    border:
        1px solid rgba(255,255,255,0.12);

    border-radius: 24px;

    background:
        rgba(9, 15, 33, 0.78);

    box-shadow:
        0 45px 100px rgba(0,0,0,0.45),
        inset 0 1px rgba(255,255,255,0.06);

    backdrop-filter: blur(20px);

    overflow: hidden;

    transform:
        perspective(1100px)
        rotateY(-5deg)
        rotateX(2deg);
}

.window-topbar {
    height: 48px;

    padding: 0 17px;

    display: flex;
    align-items: center;

    border-bottom:
        1px solid var(--border);

    font-size: 0.72rem;
}

.window-dots {
    display: flex;

    gap: 6px;

    margin-right: auto;
}

.window-dots span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background:
        rgba(255,255,255,0.25);
}

.window-title {
    color: #78849d;
}

.window-status {
    margin-left: auto;

    color: #65d599;
}

.software-body {
    min-height: 380px;

    display: flex;
}

.software-sidebar {
    width: 58px;

    padding-top: 18px;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 16px;

    border-right:
        1px solid var(--border);
}

.sidebar-logo {
    width: 29px;
    height: 29px;

    display: grid;
    place-items: center;

    border-radius: 8px;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--cyan)
        );

    font-weight: 800;

    font-size: 0.8rem;

    margin-bottom: 12px;
}

.sidebar-item {
    width: 24px;
    height: 24px;

    border-radius: 7px;

    background:
        rgba(255,255,255,0.04);
}

.sidebar-item.active {
    background:
        rgba(58, 111, 255, 0.25);

    border:
        1px solid rgba(80, 133, 255, 0.3);
}

.software-content {
    flex: 1;

    padding: 23px;
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 21px;
}

.dashboard-header small {
    color: #6f7a92;

    font-size: 0.65rem;
}

.dashboard-header h3 {
    font-size: 1.05rem;
}

.online-badge {
    padding: 6px 9px;

    background:
        rgba(66, 207, 136, 0.08);

    border:
        1px solid rgba(66, 207, 136, 0.18);

    border-radius: 999px;

    color: #69d99f;

    font-size: 0.6rem;
}

.metric-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 10px;
}

.metric-card {
    padding: 13px;

    border:
        1px solid var(--border);

    border-radius: 12px;

    background:
        rgba(255,255,255,0.025);

    display: flex;
    flex-direction: column;
}

.metric-card span {
    color: #6f7b95;

    font-size: 0.6rem;
}

.metric-card strong {
    margin: 7px 0 2px;

    font-size: 1.35rem;
}

.metric-card small {
    color: #6095ff;

    font-size: 0.55rem;
}

.dashboard-lower {
    display: grid;

    grid-template-columns: 1.5fr 1fr;

    gap: 10px;

    margin-top: 12px;
}

.chart-card,
.automation-card {
    min-height: 190px;

    padding: 15px;

    border:
        1px solid var(--border);

    border-radius: 14px;

    background:
        rgba(255,255,255,0.02);
}

.chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    font-size: 0.63rem;

    color: #8a96ae;
}

.chart-header small {
    font-size: 0.55rem;
}

.bars {
    height: 130px;

    margin-top: 12px;

    display: flex;
    align-items: flex-end;

    gap: 8px;
}

.bars span {
    flex: 1;

    border-radius: 5px 5px 1px 1px;

    background:
        linear-gradient(
            to top,
            #1e57ff,
            #49b8ff
        );

    opacity: 0.8;

    transform-origin: bottom;

    animation:
        growBars 1.8s ease both;
}

.automation-card {
    display: flex;
    flex-direction: column;
}

.automation-icon {
    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border-radius: 9px;

    background:
        linear-gradient(
            135deg,
            #245aff,
            #28bcff
        );

    margin-bottom: 16px;
}

.automation-card small {
    color: #758099;

    font-size: 0.58rem;
}

.automation-card strong {
    font-size: 0.75rem;

    margin-top: 3px;
}

.automation-card p {
    color: #707c96;

    font-size: 0.58rem;

    margin-top: auto;
}

.automation-line {
    height: 4px;

    margin-top: 17px;

    background:
        rgba(255,255,255,0.06);

    border-radius: 10px;

    overflow: hidden;
}

.automation-line span {
    display: block;

    width: 82%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            var(--primary),
            var(--cyan)
        );
}

.floating-card {
    position: absolute;

    padding: 12px 15px;

    display: flex;
    align-items: center;

    gap: 10px;

    border:
        1px solid rgba(255,255,255,0.13);

    border-radius: 13px;

    background:
        rgba(11, 18, 40, 0.9);

    backdrop-filter: blur(15px);

    box-shadow:
        0 22px 50px rgba(0,0,0,0.35);

    animation:
        floatCard 5s ease-in-out infinite;
}

.floating-card div {
    display: flex;
    flex-direction: column;
}

.floating-card small {
    color: #71809b;

    font-size: 0.55rem;
}

.floating-card strong {
    font-size: 0.66rem;
}

.floating-ai {
    top: 13%;
    right: -8px;
}

.floating-api {
    left: -2px;
    bottom: 13%;

    animation-delay: -2s;
}

.floating-icon {
    color: #58a2ff;
}

.api-dot {
    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: #54d79b;

    box-shadow:
        0 0 12px rgba(84,215,155,0.6);
}

.visual-orbit {
    position: absolute;

    border-radius: 50%;

    border:
        1px solid rgba(80,130,255,0.09);
}

.orbit-one {
    width: 600px;
    height: 600px;
}

.orbit-two {
    width: 470px;
    height: 470px;
}

.hero-bottom {
    margin-top: auto;

    padding-top: 45px;

    display: flex;
    align-items: center;

    gap: 24px;

    position: relative;

    z-index: 2;

    color: #58637a;

    font-size: 0.68rem;

    letter-spacing: 0.1em;

    text-transform: uppercase;
}

.hero-line {
    height: 1px;

    flex: 1;

    background:
        var(--border);
}


/* =========================================
   SERVICES
========================================= */

.services {
    background:
        #070b18;
}

.services-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 15px;
}

.service-card {
    min-height: 310px;

    position: relative;

    padding: 29px;

    display: flex;
    flex-direction: column;

    border:
        1px solid var(--border);

    border-radius:
        var(--radius-md);

    background:
        rgba(255,255,255,0.018);

    transition:
        border var(--transition),
        transform var(--transition),
        background var(--transition);
}

.service-card:hover {
    transform:
        translateY(-7px);

    border-color:
        var(--border-active);

    background:
        rgba(36, 93, 255, 0.055);
}

.service-card.featured {
    background:
        linear-gradient(
            145deg,
            rgba(38, 99, 255, 0.17),
            rgba(255,255,255,0.018)
        );
}

.service-number {
    position: absolute;

    top: 24px;
    right: 25px;

    color: #536078;

    font-size: 0.67rem;
}

.service-icon {
    width: 46px;
    height: 46px;

    display: grid;
    place-items: center;

    border-radius: 12px;

    background:
        rgba(47, 105, 255, 0.10);

    border:
        1px solid rgba(73, 126, 255, 0.17);

    color: #72a2ff;

    font-size: 1.15rem;

    margin-bottom: 42px;
}

.service-card h3 {
    font-size: 1.27rem;

    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-soft);

    font-size: 0.89rem;
}

.service-link {
    margin-top: auto;

    padding-top: 25px;

    color: #66738c;

    font-size: 0.72rem;
}


/* =========================================
   SOLUTIONS
========================================= */

.solutions-grid {
    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    gap: 100px;

    align-items: center;
}

.solutions-content p {
    max-width: 560px;

    color: var(--text-soft);

    margin-top: 20px;
}

.text-link {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-top: 28px;

    color: #8fb0ff;

    font-size: 0.88rem;

    font-weight: 600;
}

.text-link span {
    transition:
        transform var(--transition);
}

.text-link:hover span {
    transform:
        translateX(5px);
}

.transformation {
    border:
        1px solid var(--border);

    border-radius:
        var(--radius-lg);

    overflow: hidden;

    background:
        rgba(255,255,255,0.016);
}

.transform-row {
    min-height: 107px;

    padding: 23px 28px;

    display: grid;

    grid-template-columns:
        1fr auto 1fr;

    align-items: center;

    gap: 25px;

    border-bottom:
        1px solid var(--border);

    transition:
        background var(--transition);
}

.transform-row:last-child {
    border-bottom: none;
}

.transform-row:hover {
    background:
        rgba(40, 96, 255, 0.055);
}

.transform-row div {
    display: flex;
    flex-direction: column;
}

.transform-row small {
    color: #5f6b82;

    font-size: 0.65rem;

    margin-bottom: 4px;

    text-transform: uppercase;
}

.transform-row strong {
    font-size: 0.92rem;
}

.transform-row div:last-child strong {
    color: #75a2ff;
}

.transform-arrow {
    color: #45516b;
}


/* =========================================
   PROJECTS
========================================= */

.projects {
    background:
        #070b18;
}

.project-grid {
    display: grid;

    grid-template-columns:
        1.4fr 0.6fr;

    gap: 15px;
}

.project-card {
    border:
        1px solid var(--border);

    border-radius:
        var(--radius-lg);

    background:
        rgba(255,255,255,0.018);

    overflow: hidden;
}

.project-main {
    min-height: 520px;

    grid-row: span 2;

    display: grid;

    grid-template-columns: 0.95fr 1.05fr;

    padding: 40px;
}

.project-info {
    display: flex;
    flex-direction: column;

    justify-content: center;

    padding-right: 45px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 25px;
}

.project-tags span {
    padding: 6px 10px;

    border:
        1px solid var(--border);

    border-radius: 999px;

    color: #8492aa;

    font-size: 0.63rem;
}

.project-main h3,
.project-secondary h3,
.project-next h3 {
    font-size: 2.2rem;

    letter-spacing: -0.04em;
}

.project-main p,
.project-secondary p {
    color: var(--text-soft);

    font-size: 0.9rem;

    margin-top: 13px;
}

.project-stack {
    margin-top: 30px;

    color: #66738c;

    font-size: 0.7rem;

    display: flex;

    flex-wrap: wrap;

    gap: 7px;
}

.project-ui {
    display: flex;
    align-items: center;
    justify-content: center;

    border:
        1px solid rgba(83,137,255,0.12);

    border-radius: 20px;

    background:
        radial-gradient(
            circle at center,
            rgba(37, 94, 255, 0.18),
            rgba(5,10,22,0.3)
        );
}

.chat-window {
    width: 78%;
    max-width: 310px;

    border:
        1px solid rgba(255,255,255,0.12);

    border-radius: 17px;

    background:
        #0c1328;

    box-shadow:
        0 30px 70px rgba(0,0,0,0.4);

    overflow: hidden;
}

.chat-header {
    height: 68px;

    display: flex;
    align-items: center;

    gap: 11px;

    padding: 0 15px;

    border-bottom:
        1px solid var(--border);
}

.chat-avatar {
    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--cyan)
        );

    font-size: 0.75rem;

    font-weight: 700;
}

.chat-header div {
    display: flex;
    flex-direction: column;
}

.chat-header strong {
    font-size: 0.73rem;
}

.chat-header small {
    color: #52cf8e;

    font-size: 0.56rem;
}

.chat-body {
    padding: 17px;

    display: flex;
    flex-direction: column;

    gap: 11px;
}

.message {
    max-width: 82%;

    padding: 10px 12px;

    border-radius: 10px;

    font-size: 0.67rem;

    line-height: 1.45;
}

.message.bot {
    align-self: flex-start;

    background:
        rgba(255,255,255,0.06);
}

.message.user {
    align-self: flex-end;

    background:
        #2258cc;
}

.typing {
    display: flex;

    gap: 4px;

    margin-top: 5px;
}

.typing span {
    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: #61708d;

    animation:
        typing 1.2s infinite;
}

.typing span:nth-child(2) {
    animation-delay: 0.15s;
}

.typing span:nth-child(3) {
    animation-delay: 0.3s;
}

.project-secondary,
.project-next {
    padding: 34px;
}

.project-secondary {
    min-height: 290px;

    background:
        linear-gradient(
            145deg,
            rgba(32, 91, 255, 0.12),
            rgba(255,255,255,0.015)
        );
}

.project-next {
    min-height: 215px;

    display: flex;
    align-items: flex-start;

    gap: 24px;
}

.project-plus {
    font-size: 2.4rem;

    color: #4c79dd;
}

.project-next small {
    color: #66728b;

    font-size: 0.68rem;
}

.project-next h3 {
    margin-top: 6px;

    font-size: 1.5rem;
}


/* =========================================
   PROCESS
========================================= */

.process-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    border-top:
        1px solid var(--border);

    border-left:
        1px solid var(--border);
}

.process-item {
    min-height: 240px;

    padding: 28px;

    border-right:
        1px solid var(--border);

    border-bottom:
        1px solid var(--border);
}

.process-item span {
    color: #4a6fba;

    font-size: 0.7rem;
}

.process-item h3 {
    margin:
        62px 0 10px;

    font-size: 1.15rem;
}

.process-item p {
    color: var(--text-soft);

    font-size: 0.83rem;

    max-width: 270px;
}


/* =========================================
   TECHNOLOGIES
========================================= */

.technologies {
    padding-bottom: 140px;

    overflow: hidden;
}

.tech-header {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 40px;

    margin-bottom: 60px;
}

.tech-header h2 {
    max-width: 780px;
}

.tech-header p {
    color: var(--text-soft);

    font-size: 0.9rem;

    max-width: 290px;
}

.tech-marquee {
    width: 100%;

    overflow: hidden;

    mask-image:
        linear-gradient(
            90deg,
            transparent,
            black 10%,
            black 90%,
            transparent
        );
}

.tech-track {
    width: max-content;

    display: flex;

    gap: 12px;

    animation:
        marquee 28s linear infinite;
}

.tech-track span {
    padding: 14px 22px;

    border:
        1px solid var(--border);

    border-radius: 999px;

    color: #8f9bb3;

    background:
        rgba(255,255,255,0.02);

    font-size: 0.83rem;
}


/* =========================================
   ABOUT
========================================= */

.about {
    background:
        #070b18;
}

.about-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 90px;
}

.about-content {
    padding-top: 42px;
}

.about-content p {
    color: var(--text-soft);

    margin-bottom: 21px;

    max-width: 560px;
}

.about-lead {
    color: white !important;

    font-size: 1.25rem;

    line-height: 1.6;
}

.about-philosophy {
    margin-top: 55px;

    padding-top: 25px;

    border-top:
        1px solid var(--border);
}

.about-philosophy span {
    color: #608ae7;

    font-size: 0.85rem;

    letter-spacing: 0.1em;

    text-transform: uppercase;
}


/* =========================================
   CONTACT
========================================= */

.contact {
    padding:
        120px 0 145px;
}

.contact-box {
    display: grid;

    grid-template-columns: 1fr 0.85fr;

    gap: 80px;

    padding: 55px;

    border:
        1px solid rgba(65, 122, 255, 0.19);

    border-radius: 34px;

    background:
        radial-gradient(
            circle at left top,
            rgba(31, 94, 255, 0.13),
            transparent 42%
        ),
        rgba(255,255,255,0.016);
}

.contact-copy p {
    color: var(--text-soft);

    max-width: 560px;

    margin-top: 22px;
}

.contact-data {
    margin-top: 40px;

    display: flex;
    flex-direction: column;

    gap: 8px;

    color: #7e8aa2;

    font-size: 0.82rem;
}

.contact-data a {
    color: #83a5ff;
}

.contact-form {
    padding: 28px;

    border:
        1px solid var(--border);

    border-radius: 22px;

    background:
        rgba(7, 12, 27, 0.7);
}

.form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 13px;
}

.form-group {
    display: flex;
    flex-direction: column;

    margin-bottom: 16px;
}

.form-group label {
    color: #919db3;

    font-size: 0.68rem;

    margin-bottom: 7px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;

    border:
        1px solid var(--border);

    border-radius: 11px;

    outline: none;

    background:
        rgba(255,255,255,0.025);

    color: white;

    padding: 13px 14px;

    font-size: 0.82rem;

    transition:
        border var(--transition),
        background var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color:
        rgba(71, 129, 255, 0.6);

    background:
        rgba(45, 96, 220, 0.05);
}

.form-group select option {
    color: #111;

    background: white;
}

.form-group textarea {
    resize: vertical;

    min-height: 125px;
}

.form-submit {
    width: 100%;

    border: none;

    margin-top: 4px;
}

.form-message {
    margin-top: 13px;

    text-align: center;

    color: #6edca4;

    font-size: 0.73rem;
}


/* =========================================
   FOOTER
========================================= */

.footer {
    padding-top: 60px;

    border-top:
        1px solid var(--border);

    background: #040611;
}

.footer-grid {
    display: grid;

    grid-template-columns:
        1.6fr repeat(3, 0.7fr);

    gap: 55px;

    padding-bottom: 65px;
}

.footer-brand img {
    width: 145px;

    margin-bottom: 20px;
}

.footer-brand p {
    max-width: 320px;

    color: #6d7890;

    font-size: 0.8rem;
}

.footer-column {
    display: flex;
    flex-direction: column;

    gap: 10px;
}

.footer-column strong {
    margin-bottom: 7px;

    font-size: 0.77rem;
}

.footer-column a,
.footer-column span {
    color: #6e7a92;

    font-size: 0.75rem;

    transition:
        color var(--transition);
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    min-height: 75px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-top:
        1px solid var(--border);

    color: #59647b;

    font-size: 0.67rem;
}


/* =========================================
   SCROLL ANIMATIONS
========================================= */

.reveal {
    opacity: 0;

    transform:
        translateY(25px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;

    transform:
        translateY(0);
}


/* =========================================
   ANIMATIONS
========================================= */

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes typing {

    0%,
    60%,
    100% {
        opacity: 0.35;
    }

    30% {
        opacity: 1;
    }
}

@keyframes growBars {

    from {
        transform: scaleY(0);
    }

    to {
        transform: scaleY(1);
    }
}

@keyframes marquee {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1100px) {

    .nav {
        gap: 20px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        max-width: 800px;
    }

    .hero-visual {
        margin-top: 25px;
    }

    .services-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .solutions-grid {
        gap: 50px;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .project-main {
        grid-row: auto;
    }

    .contact-box {
        grid-template-columns: 1fr;

        gap: 55px;
    }

}


@media (max-width: 850px) {

    .section {
        padding: 90px 0;
    }

    .nav,
    .btn-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .nav.active {
        position: fixed;

        top: 84px;
        left: 0;

        width: 100%;

        height:
            calc(100vh - 84px);

        display: flex;
        flex-direction: column;

        align-items: flex-start;

        gap: 0;

        padding: 25px 6%;

        background:
            rgba(5,8,21,0.98);

        backdrop-filter:
            blur(20px);
    }

    .nav.active a {
        width: 100%;

        padding: 20px 0;

        border-bottom:
            1px solid var(--border);

        font-size: 1.1rem;
    }

    .hero {
        min-height: auto;
    }

    .hero h1 {
        font-size:
            clamp(3.2rem, 12vw, 5.3rem);
    }

    .hero-meta {
        gap: 25px;

        flex-wrap: wrap;
    }

    .software-window {
        transform: none;
    }

    .floating-ai {
        right: -5px;
    }

    .solutions-grid {
        grid-template-columns: 1fr;

        gap: 55px;
    }

    .project-main {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .project-info {
        padding-right: 0;
    }

    .project-ui {
        min-height: 400px;
    }

    .process-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .about-content {
        padding-top: 0;
    }

    .tech-header {
        display: block;
    }

    .tech-header p {
        margin-top: 20px;
    }

    .footer-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


@media (max-width: 600px) {

    .container {
        width: min(90%, var(--container));
    }

    .nav-container {
        height: 74px;
    }

    .brand-logo {
        width: 130px;
    }

    .nav.active {
        top: 74px;

        height:
            calc(100vh - 74px);
    }

    .hero {
        padding-top: 125px;
    }

    .hero h1 {
        font-size: 3.25rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;

        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-meta {
        display: grid;

        grid-template-columns:
            repeat(2, 1fr);
    }

    .hero-visual {
        min-height: 450px;
    }

    .floating-card {
        display: none;
    }

    .software-content {
        padding: 14px;
    }

    .software-sidebar {
        display: none;
    }

    .metric-grid {
        gap: 6px;
    }

    .metric-card {
        padding: 9px;
    }

    .metric-card strong {
        font-size: 1.05rem;
    }

    .dashboard-lower {
        grid-template-columns: 1fr;
    }

    .automation-card {
        display: none;
    }

    .hero-bottom {
        padding-top: 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 280px;
    }

    .section-heading {
        margin-bottom: 45px;
    }

    .transform-row {
        padding: 20px 17px;

        gap: 10px;
    }

    .transform-row strong {
        font-size: 0.78rem;
    }

    .project-main {
        padding: 27px;
    }

    .project-ui {
        min-height: 330px;
    }

    .project-main h3,
    .project-secondary h3 {
        font-size: 1.8rem;
    }

    .project-secondary,
    .project-next {
        padding: 27px;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-item {
        min-height: 205px;
    }

    .process-item h3 {
        margin-top: 42px;
    }

    .contact-box {
        width: 94%;

        padding: 30px 20px;

        border-radius: 24px;
    }

    .contact-form {
        padding: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .footer-bottom {
        flex-direction: column;

        justify-content: center;

        gap: 5px;

        text-align: center;
    }

}


/* =========================================
   ACCESSIBILITY
========================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;
    }

}