﻿#hero {
    text-align: center;
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-direction: column;
    background: linear-gradient(#4f181894 0%, transparent 100%);
}

#hero .images {
    position: absolute;
    overflow: hidden;
    margin: 0 auto;
    max-width: var(--width-container2);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

#hero .images .img {
    position: absolute;
    background: #9d0404;
    border-radius: 50px;
    animation: float 6s ease-in-out infinite;
    filter: brightness(0.3) blur(10px);
    object-fit: cover;
    
}

#hero .images .img:nth-child(even) {
    animation-direction: reverse;
    animation-delay: -3s;
}

#hero .images .img:nth-child(3n) {
    animation-delay: -1.5s;
}

#hero .images .img:nth-child(1) { width: 240px; height: 200px; top: 10%; left: 15%; }
#hero .images .img:nth-child(2) { width: 200px; height: 300px; top: 20%; left: 25%; }
#hero .images .img:nth-child(3) { width: 280px; height: 300px; top: 50%; left: 20%; }
#hero .images .img:nth-child(4) { width: 218px; height: 291px; top: 50%; right: 15%; }
#hero .images .img:nth-child(5) { width: 220px; height: 200px; top: 40%; left: 5%; }
#hero .images .img:nth-child(6) { width: 260px; height: 205px; top: 15%; left: 60%; }
#hero .images .img:nth-child(7) { width: 200px; height: 200px; top: 60%; left: 40%; }
#hero .images .img:nth-child(8) { width: 315px; height: 375px; top: 15%; right: 30%; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(4deg); }
}

@keyframes home-hero-images {
    0% {
        transform: translate(0%, 0%);
    }
    25% {
        transform: translate(0%, -10px);
    }
    50% {
        transform: translate(10px, -10px);
    }
    75% {
        transform: translate(10px, 10px);
    }
    100% {
        transform: translateY(0%);
    }
}
@keyframes home-hero-images-2 {
    100% {
        transform: translate(0%, 0%);
    }
    75% {
        transform: translate(0%, -10px);
    }
    50% {
        transform: translate(10px, -10px);
    }
    25% {
        transform: translate(10px, 10px);
    }
    0% {
        transform: translateY(0%);
    }
}

#hero .press {
    margin: 10px 0;
    padding: 1px;
}

#hero h1 {
    position: relative;
    margin-top: 0px;
    font-size: 4rem;
    font-weight: 800;
    color: var(--color-brand);
    text-align: center;
    line-height: 100%;
}

#hero h2 {
    font-size: 1.8rem;
    font-weight: normal;
    line-height: 160%;
    margin-bottom: 40px;
}

#hero .cta {
    display: inline-block;
    margin-top: 10px;
    background-color: var(--color-brand);
    border: none;
    padding: 15px 40px 14px 40px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 40px;
    cursor: pointer;
    transition: background 0.3s ease;
    letter-spacing: 1px;
}

#hero .cta:hover {
    background-color: var(--color-brand-lighter);
}

#achievements {
    display: flex;
    flex-direction: row;
    justify-content: center;
    column-gap: 50px;
}

#achievements > div {
    background-color: var(--color-dark);
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    padding: 20px;
    border-radius: 10px;
    column-gap: 20px;
    border: 2px solid transparent;
    transition: border 0.3s ease, transform 0.3s ease;
    cursor: default;
}

#achievements > div:hover {
    border-color: var(--color-brand);
    transform: scaleX(1.1)
}

#achievements > div:hover .n {
    color: var(--color-brand);
}

#achievements .n {
    font-weight: 800;
    font-size: 2rem;
    transition: color 0.3s ease;
}

#achievements .s {
    width: 1px;
    background-color: var(--color-brand);
    align-self: stretch;
}

#achievements .t {
    line-height: 140%;
    font-size: 1.2rem;
}

#projects {
    margin: 100px 0 150px 0;
}

#projects h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 100px;
}

#projects .content {
    display: flex;
    flex-direction: row;
    overflow: hidden;
}

#projects .slide-content img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}

#projects .slide-content .d {
    font-size: 1.2rem;
    margin: 5px 0;
}

#projects .slide-content .a {
    font-weight: bold;
    color: var(--color-text-fade-100);
    font-size: 0.9rem;
}

#services {
    margin-top: 100px;
    margin-bottom: 100px;
}

#services h2 {
    text-align: center;
    font-size: 3rem;
    line-height: 100%;
    margin-bottom: 90px;
}

#services .service-list {
    margin: 80px auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    max-width: 800px;
    column-gap: 50px;
    row-gap: 100px;
}

#services .service-list > div {
    text-align: center;
    transition: transform 0.3s ease;
    padding: 10px;
}

#services .service-list > div:hover {
    transform: scale(1.1);
}

#services .g1 {
    margin-top: 50px;
    background: linear-gradient(to bottom, #491c1ceb, #000000b8), url(/images/home/bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    border-top-left-radius: var(--panel-radius);
    border-top-right-radius: var(--panel-radius);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 60vh;
}

#services .g1 .wrapper {
    max-width: 1200px;
    margin: 20px auto;
    text-align: center;
}

#services .g1 .left {
    flex: 1;
    font-size: 2rem;
    padding: 10px 0;
    line-height: 120%;
    font-weight: 100;
}

#services .g1 .right {
    font-size: 3rem;
    font-weight: 800;
    padding: 80px 0;
}

#services .roller {
    overflow: hidden;
}

    #services .roller .roller-inner {
        display: flex;
        white-space: nowrap;
        font-size: 16px;
        font-weight: 600;
        padding: 8px 0;
    }

        #services .roller .roller-inner .roller-text {
            display: flex;
        }

        #services .roller .r1 {
            padding: 25px 50px;
            font-size: 1.3rem;
            white-space: nowrap;
        }

    /* Apply the animation to the text items */
    #services .roller .roller-inner > div {
        animation: var(--direction) var(--marquee-speed) linear infinite;
    }

    /* Pause the animation when a user hovers over it */
    #services .roller:hover .roller-inner > div {
        animation-play-state: paused;
    }

/* Setting the Animation using Keyframes */
@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-100%);
    }
}

@keyframes scroll-right {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(0%);
    }
}

/*    #services .roller .r1.c1 {
        background-color: #6d0d2025;
    }
    #services .roller .r1.c2 {
        background-color: #6d0d2035;
    }
    #services .roller .r1.c3 {
        background-color: #6d0d2045;
    }
    #services .roller .r1.c4 {
        background-color: #6d0d2055;
    }
    #services .roller .r1.c5 {
        background-color: #6d0d2045;
    }
    #services .roller .r1.c6 {
        background-color: #6d0d2035;
    }*/

#quote {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 50px;
    padding: 200px 50px;
    background-color: var(--color-dark);
}

#quote .t {
    font-weight: 100;
    font-size: 4rem;
    line-height: 80%;
    padding: 50px;
}

#quote .t b {
    font-weight: 400;
}

#quote .i {
    max-height: 150px;
    object-fit: contain;
}

#works {
    color: var(--color-text-black);
    background-color: white;
    display: flex;
    flex-direction: row;
    padding-top: 100px;
    padding-bottom: 200px;
    border-top-left-radius: var(--panel-radius);
    border-top-right-radius: var(--panel-radius);
}

#works .heading {
    flex: 1;
    text-align: right
}

#works .heading h2 {
    padding: 0 100px;
    font-size: 2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 160%;
}

#works .projects {
    flex: 1.5;
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    padding-right: 60px;
}

#works .project-item {
    margin: 1px;
    padding: 40px;
    position: relative;
    cursor: pointer;
    transition: transform 0.5s ease, border 0.3s ease;
    background-color: #ebebeb;
    border-radius: 15px;
    border: 1px solid white;
}

#works .project-item:hover {
    transform: translateY(-10px);
}

#works .project-item img {
    width: 100%;
    height: 100%;
    z-index: 2;
    position: relative;
    object-fit: cover;
    border-radius: 10px;
}

#works .project-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

#works .project-item .bot {
    margin-top: 10px;
    line-height: 100%;
    line-height: 1.4;
    font-weight: 400;
    font-size: 1rem;
    color: var(--color-text-fade);
}

#works .project-item:hover {
    border: 1px solid black;
}

#clients {
    margin-top: -50px;
    border-top-left-radius: var(--panel-radius);
    border-top-right-radius: var(--panel-radius);
    background-color: #181818;
    padding-top: 110px;
    padding-bottom: 90px;
    overflow: hidden;
}

#clients h2 {
    margin: 0;
    text-align: center;
    font-size: 3rem;
    line-height: 1.2;
}

#clients .pre {
    text-align: center;
    font-size: 1rem;
    line-height: 1.3;
    padding: 20px;
    margin-bottom: 100px;
}

#clients .carousel-x {
    margin-bottom: 90px;
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
}

#clients .carousel-x .track {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 90px;
    position: relative;
}

#clients .carousel-x:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    top: 0;
    background: linear-gradient(to right, #181818, transparent);
    z-index: 1;
}

#clients .carousel-x:after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 50px;
    top: 0;
    background: linear-gradient(to left, #181818, transparent);
    z-index: 1;
}

#clients .carousel-x img {
    max-width: 120px;
    transition: transform 0.5s ease;
    position: relative;
}

#clients .carousel-x img:hover {
    transform: translateY(-10px) scale(1.1);
}

#partners {
    margin-top: -50px;
    border-top-left-radius: var(--panel-radius);
    border-top-right-radius: var(--panel-radius);
    padding-top: 20px;
    padding-bottom: 100px;
    background-color: #222222;
}

#partners h2 {
    text-align: center;
    font-size: 3rem;
    margin: 80px 0;
}

#partners .partner-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    margin: 0 auto;
    max-width: 900px;
    gap: 25px;
}

#partners .partner-list .last {
    text-align: center; 
    grid-column: 2 / span 2;
}

#partners .partner-list .partner-item {
    background-color: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#partners .partner-list img {
    max-height: 50px;
    user-select: none;
    pointer-events: none;
}

#process {
    background-color: #151515;
    padding-top: 100px;
    padding-bottom: 200px;
}
#process h2 {
    font-size: 3rem;
    text-align: center;
    line-height: 1.4;
    margin-bottom: 0;
}

#process .pre {
    margin-top: 0;
    text-align: center;
    font-size: 1rem;
    line-height: 1.3;
    padding: 20px;
    margin-bottom: 100px;
}

#process .steps {
    display: grid;
    grid-template-columns: auto min-content min-content min-content auto;
    gap: 50px;
}

#process img {
    display: block;
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 16px;
    filter: brightness(50%)
}

#process .step-item {
    position: relative;
}

#process .t {
    font-size: 1.2rem;
    position: absolute;
    bottom: -30px;
    opacity: 0;
    padding: 10px;
    transition: all 0.3s ease;
}

#process .step-item:hover {
    transform: scale(1.1);
}

#process .step-item .n {
    width: 30px;
    height: 30px;
    font-size: 1rem;
    top: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.9);
    color: var(--color-brand);
    font-weight: 600;
    width: 30px;
    height: 30px;
    text-align: center;
    position: absolute;
    z-index: 1;
    border-radius: 50%;
    line-height: 31px;
    transition: all 0.3s ease;
}

#process .step-item:hover .n {
    background-color: rgba(255, 255, 255, 0.9);
}

#process .step-item .t {
    font-size: 1.2rem;
    bottom: 0;
    transition: all 0.3s ease;
    opacity: 1;
}

#cta {
    margin: 150px 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 100px;
}

    #cta .box {
        background-color: #232323;
        padding: 50px;
        border-radius: 15px;
        display: flex;
        flex-direction: column;
        row-gap: 20px;
        transition: transform 0.5s ease;
        max-width: 300px;
    }

    #cta .box:hover {
        transform: translateY(-10px);
    }

#cta .box .button {
    display: inline-block;
    border-radius: 15px;
    background-color: var(--color-brand-light);
    border: none;
    color: white;
    padding: 15px 20px;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

    #cta .box .button:hover {
        background-color: var(--color-brand-lighter);
    }

    #cta .box a:hover {
        color: white;
    }