.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 40px 120px;
    position: relative;
    overflow: hidden;
}

.hero .hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero .hero-bg .hero-bg-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 75% 20%, rgba(0, 217, 255, 0.13), transparent 55%), radial-gradient(ellipse at 15% 80%, rgba(13, 63, 143, 0.08), transparent 50%);
}

.hero .hero-bg .hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at 60% 40%, rgba(0, 0, 0, 0.4), transparent 70%);
}

.hero .h-title {
    font-family: 'Unbounded', sans-serif;
    font-size: min(12vw, 200px);
    font-weight: 900;
    line-height: .82;
    position: relative;
    z-index: 1;
}

.hero .h-title .h-t-line {
    overflow: hidden;
    display: block;
    color: var(--text-primary);
}

.hero .h-title .h-t-line .h-t-w {
    display: inline-block;
    transform: translateY(200px);
}

.hero .h-title .h-t-line .h-t-w.stroke {
    -webkit-text-stroke: 2px var(--primary);
    color: transparent;
}


@media (max-width: 786px) {
    .hero .h-title .h-t-line .h-t-w {
        display: inline-block;
        transform: translateY(0px);
    }
}

section {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 80px 0px;
}

.project-main {
    width: 100%;
    padding: 25px;
}

.project-main .project-h {
    display: block;
    text-align: start;
    position: relative;
    translate: none;
    rotate: none;
    text-align: center;
    scale: none;
    border-radius: 50px;
    padding: 2.5rem 0rem;
    font-family: var(--bold);
    font-size: min(4.5vw, 4.5rem);
    font-weight: bolder;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04),
        0 6px 12px rgba(0, 0, 0, 0.06),
        0 12px 32px rgba(0, 0, 0, 0.08);
}

.project-main .project-h .project-h-set {
    background: linear-gradient(to right, var(--primary-dark) 50%, var(--text-primary) 50%);
    background-size: 200% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.project-sys {
    width: 100%;
    min-height: 100vh;
}

.project-img {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-radius: 8px;
    overflow: hidden;
}

.project-img.left {
    justify-content: flex-end;
}

.project-img .img-project {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    padding-left: var(--pad);
    padding-right: 0px;
    border-radius: 8px;
    overflow: hidden;
}

.project-img.left .img-project {
    padding-right: var(--pad);
    padding-left: 0px;
}

.project-img .img-project img {
    width: 100%;
    border-radius: 8px;
    object-fit: contain;
}

.project-head {
    width: 100%;
    display: flex;
    justify-content: center;
    font-size: var(--size, min(20vw, 25rem));
    white-space: nowrap;
    overflow: hidden;
    font-family: var(--cod);
    pointer-events: none;
    line-height: 1;
    padding-bottom: 40px;
}

.project-head .p-h-t {
    display: inline-block;
}

.pro-ject-in {
    transform: translateY(95px);
}

.p-j-i {
    transform: translateY(25px);
}

.pro-in {
    display: inline-block;
    overflow: hidden;
}

.project-text {
    position: absolute;
    bottom: 0;
    height: 100vh;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0px clamp(28px, 4vw, 55px);
    overflow: hidden;
}

.project-text.left {
    left: 0%;
    padding-left: 5vw;
}

.project-text.right {
    right: 0%;
    padding-right: 5vw;
}

.project-text h2 {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 5px;
    overflow: hidden;
    font-family: var(--unb);
    font-size: clamp(2rem, 4.8vw, 5.5rem);
    line-height: 0.95;
    letter-spacing: -0.05em;
    color: var(--primary);
    margin-bottom: clamp(16px, 2.2vw, 26px);
    position: relative;
    z-index: 1;
}

.project-text p {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 5px;
    overflow: hidden;
    font-family: var(--pop);
    font-size: clamp(0.95rem, 1.25vw, 1.25rem);
    line-height: 1.25;
    color: var(--text-secondary);
    max-width: 620px;
    margin-bottom: clamp(24px, 3vw, 36px);
    position: relative;
    z-index: 1;
}


.project-btn {
    display: inline-flex;
    overflow: hidden;
    align-items: center;
    gap: clamp(12px, 1.6vw, 18px);
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.btn {
    font-family: var(--unb);
}

.project-btn .p {
    min-width: 150px;
    height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: var(--primary-dark);
    color: var(--bg-primary);
    text-decoration: none;
    font-family: var(--cod);
    font-size: 0.95rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--ease);
}

.p-text {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    position: relative;
    z-index: 2;
}

.p-ripple {
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
}

.project-btn .p:hover .p-ripple {
    animation: projectRipple 0.7s ease;
}

@keyframes projectRipple {
    0% {
        transform: scale(0);
        opacity: 0.45;
    }

    100% {
        transform: scale(14);
        opacity: 0;
    }
}




@media (max-width: 768px) {
    .project-main {
        padding: 5px;
    }

    .project-main .project-h {
        padding: 1rem 0rem;
        margin-bottom: 30px;
    }

    .project-main .project-h .project-h-set {
        background-position: 0% 0%;
    }

    section {
        padding: 10px 0px 20px 0px;
    }

    .project-sys {
        width: 100%;
        min-height: auto;
        margin-bottom: 40px;
    }

    .project-img {
        height: auto;
    }

    .pro-ject-in {
        transform: translateY(0px);
    }

    .project-head {
        padding-bottom: 15px;
    }

    .project-text.left {
        left: 0%;
        padding-left: 5px;
    }

    .project-text.right {
        right: 0%;
        padding-right: 5px;
    }

    .project-text {
        width: 100%;
        height: auto;
        position: relative;
        padding: 26px 5px;
        border-radius: 24px;
    }

    .project-text h2 {
        font-size: clamp(2rem, 10vw, 3.5rem);
    }

    .project-dim {
        gap: 10px;
    }

    .project-dim-sys {
        width: 100%;
        justify-content: flex-start;
    }

    .project-btn {
        width: 100%;
    }

    .project-btn .p {
        width: 100%;
    }
}