@charset "UTF-8";

/* Reset and base styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: auto;
    height: 100%;
    overflow: hidden; /* Kill browser scrollbar */
}

body {
    height: 100%;
    overflow: hidden; /* Kill browser scrollbar */
    background-color: #151515;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #202020;
    position: relative;
}

/* Custom scrollbar - ONLY this green one will appear */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    background: transparent;
}

::-webkit-scrollbar-track {
    background: rgba(20, 207, 147, 0.1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #14cf93;
    border-radius: 10px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: #0fb881;
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: #14cf93 rgba(20, 207, 147, 0.1);
}

/* Smooth wrapper – fixed container, no scroll itself */
#smooth-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    will-change: transform;
}

/* Smooth content – this is the ONLY scrollable element */
#smooth-content {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow-y: auto;      /* Enables scrolling with custom bar */
    overflow-x: hidden;    /* No horizontal scroll */
    will-change: transform;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

/* Ensure no other element accidentally creates a scrollbar */
section, 
/* .o-section, */
/* .c-works, */
/* .c-title, */
.c-about,
.c-honors,
footer,
.c-query,
.c-query.--visible,
.c-contact,
.c-cate,
.scene,
.gallery-loading {
    overflow-x: hidden;   
    overflow-y: visible;  
}


.c-query.--visible {
    overflow-y: visible !important; /* Override previous inline? But we set to visible */
}

ul {
    list-style-type: none;
    padding: 0;
    margin: 0
}

/* Text rendering */
body,
html {
    width: 100vw;
    overflow-x: hidden;
    text-rendering: optimizeLegibility
}

/* Overlay */
.c-overlay {
    background-color: rgba(50, 50, 50, .8);
    width: 100vw;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    visibility: hidden;
    opacity: 0;
    transition: .6s;
    z-index: 20;
    pointer-events: none
}

.c-overlay.--visible {
    opacity: 1;
    pointer-events: all;
    visibility: visible
}

/* Contact section */
.c-contact {
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    transition: .6s;
    z-index: 21;
    visibility: hidden
}

.c-contact h1,
.c-contact h2 {
    line-height: 118%;
    font-family: gilroy-semi-bold;
    color: #383838
}

.c-contact .line-parent {
    overflow: hidden;
    display: block
}

.c-contact .line-child {
    display: block;
    transform-origin: center bottom;
    transform-style: preserve-3d;
    transform: translateY(-100%);
    opacity: 0;
    transition: 0
}

.c-contact>div,
.c-contact form {
    z-index: 2;
    position: relative;
    transition: .4s;
    transition-delay: 0
}

.c-contact .c-error {
    position: absolute;
    bottom: 18vh;
    padding: 15px 25px;
    left: 8vw;
    font-family: gilroy, sans-serif;
    background-color: #dd1e2e;
    border-radius: 100px;
    opacity: 0;
    visibility: hidden;
    transition: .4s;
    z-index: 8;
    color: #fff
}

.c-contact:after {
    content: "";
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: scaleX(0);
    transform-origin: left;
    background: #fff;
    transition: .6s;
    transition-delay: .4s;
    will-change: transform
}

.c-contact.--visible {
    visibility: visible
}

.c-contact.--visible:after {
    transform: scaleX(1);
    transition-delay: .1s
}

.c-contact.--visible>div,
.c-contact.--visible form {
    opacity: 1;
    transition: .6s;
    transition-delay: .6s
}

.c-contact.--visible .c-error.--visible {
    opacity: 1;
    visibility: visible
}

.c-contact .c-progress {
    width: 100%;
    height: 1%;
    opacity: 0
}

.c-contact .c-progress span {
    height: 100%;
    width: 100%;
    background: #14cf93;
    transform: scaleX(0);
    transform-origin: left;
    display: block;
    transition: transform .6s;
    will-change: transform
}

.c-contact form {
    width: 100%;
    height: 71%;
    opacity: 0;
    overflow: hidden
}

.c-contact form .c-slider {
    display: flex;
    align-items: flex-start;
    transition: transform .65s;
    transition-delay: .6s;
    will-change: transform;
    height: 100%
}

.c-contact form .c-slider>div {
    min-width: 100%
}

.c-contact .c-buttons {
    width: 100%;
    height: 14%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8vw;
    opacity: 0
}

.c-contact .c-buttons>div {
    transition: .4s;
    cursor: pointer
}

.c-contact .c-buttons #js-count {
    cursor: default
}

.c-contact .c-buttons .c-swap {
    position: relative;
    cursor: default
}

.c-contact .c-buttons .c-swap>div {
    padding: 18px 80px
}

.c-contact .c-buttons .c-swap button {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    background: #14cf93;
    color: #fff;
    z-index: 4;
    visibility: hidden;
    opacity: 0;
    cursor: pointer;
    border-radius: 100px;
    font-size: 16px
}

.c-contact .c-buttons .c-back,
.c-contact .c-buttons .c-close {
    padding: 18px;
    background-color: #14cf93;
    line-height: 0;
    border-radius: 100px
}

.c-contact .c-buttons .c-back {
    background-color: #ddd
}

.c-contact .c-buttons .c-skip {
    visibility: hidden;
    opacity: 0;
    border: 2px solid #eee;
    border-radius: 100px;
    cursor: pointer
}

.c-contact .c-buttons .c-skip p {
    color: #282828
}

@keyframes reply_show {
    0% {
        opacity: 0;
        visibility: hidden;
        transform: translate(30%)
    }

    to {
        opacity: 1;
        visibility: visible;
        transform: translate(0)
    }
}

@keyframes reply_hide {
    0% {
        opacity: 1;
        visibility: visible;
        transform: translate(0)
    }

    to {
        opacity: 0;
        visibility: hidden;
        transform: translateY(20%)
    }
}

/* Query section */
.c-query {
    padding: 6vh 8vw;
    height: 100%
}

.c-query.--hidden .c-reply>div {
    animation: reply_hide .6s forwards;
    animation-delay: calc(var(--order)*100ms)
}

.c-query.--visible {
    overflow-y: visible !important; /* No internal scroll – parent handles it */
    overflow-x: hidden
}

.c-query.--visible .c-reply>div {
    animation-play-state: running
}

.c-query .c-title {
    font-size: 20px;
    width: 100%;
    padding: 0
}

.c-query .c-reply {
    min-width: 100%;
    padding: 4% 0
}

.c-query .c-reply>div {
    margin: 16px 0;
    width: 90%;
    position: relative;
    animation: reply_show .6s backwards;
    animation-delay: calc(var(--order)*100ms);
    animation-play-state: paused
}

.c-query .c-reply>div:after {
    content: "";
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #14cf93;
    height: 100%;
    opacity: 0;
    border-radius: 200px;
    transform: scaleX(0);
    transform-origin: center;
    transition: .4s;
    z-index: 0
}

.c-query .c-reply>div:hover {
    color: #fff
}

.c-query .c-reply>div:focus-within:after {
    visibility: hidden
}

.c-query .c-reply input,
.c-query .c-reply textarea {
    width: 100%;
    border: none;
    background: transparent;
    padding: 10px 0 10px 40px;
    margin: 10px 0;
    font-size: 18px;
    opacity: 1;
    transition: .4s;
    font-family: gilroy, sans-serif
}

.c-query .c-reply input:focus,
.c-query .c-reply textarea:focus {
    padding-left: 5px;
    outline: none
}

.c-query .c-reply input::-moz-focus-inner,
.c-query .c-reply textarea::-moz-focus-inner {
    border: 0
}

.c-query .c-reply input[type=radio] {
    opacity: 0;
    display: none
}

.c-query .c-reply label {
    position: relative;
    text-align: center;
    cursor: pointer;
    border-radius: 200px;
    color: #292929;
    box-shadow: inset 0 0 #555;
    transition: box-shadow .4s;
    opacity: 1;
    z-index: 2;
    display: block;
    width: 100%;
    padding: 20px 0;
    height: 100%;
    border: 1px solid #ddd
}

.c-query .c-reply input[type=radio]:checked+label {
    box-shadow: inset 0 500px #14cf93;
    color: #fff
}

/* Text input */
.s-text {
    position: relative;
    display: block;
    border-bottom: 2px solid #eee !important
}

.s-text.s-text-area {
    border: 2px solid #eee;
    border-radius: 16px;
    width: 100% !important
}

.s-text.s-text-area textarea {
    max-width: 100%
}

.s-text.s-text-area textarea:focus {
    padding-left: 20px
}

.s-text.s-text-area:before {
    top: 30.5px
}

.s-text:after {
    display: none !important
}

.s-text:focus-within {
    outline: none;
    -moz-outline: none;
    border-bottom: 3px solid #14cf93 !important
}

.s-text::-moz-focus-inner {
    border: 0
}

.s-text:before {
    content: url(../images/drop-down.0028b9b3.svg);
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%) rotate(-90deg);
    transition: .4s
}

.s-text:focus-within:before {
    opacity: 0;
    transform: translate(12px, -50%) rotate(-90deg)
}

/* Message section */
.c-message {
    padding: 4vh 8vw
}

.c-message img {
    float: right;
    transform: rotate(180deg) translate(-10px);
    transition: .4s;
    opacity: 0;
    width: 35px;
    transition-delay: .4s;
    position: relative
}

.c-message p {
    color: #414141;
    text-transform: none;
    opacity: .8
}

.c-message span {
    display: inline-block;
    width: 100px;
    height: 100px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border-radius: 200px;
    opacity: 0;
    transform: translateY(20px);
    background-color: #f6f6f6;
    transition: .4s;
    transition-delay: .4s
}

.c-message.--visible img {
    opacity: 1;
    transform: rotate(180deg) translateY(10px);
    transition-delay: .8s
}

.c-message.--visible span {
    transform: translate(0);
    opacity: 1
}

.c-message.--welcome h1 {
    font-size: 45px;
    padding: 30px 0
}

.c-message.--welcome p {
    font-size: 28px;
    width: 90%;
    padding: 10px 0
}

/* Category section */
.c-cate {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #fff;
    padding-top: 15vh;
    z-index: 15;
    text-align: center;
    display: none
}

.c-cate img {
    width: 85%
}

.c-cate div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 70%;
    position: relative;
    left: 50%;
    top: 6%;
    transform: translate(-50%)
}

.c-cate div button {
    width: 46%;
    border: 1px solid #eee;
    border-radius: 60px;
    background: transparent;
    padding: 10px 0;
    margin: 10px 0;
    font-size: 18px;
    opacity: 1;
    transition: .4s;
    font-family: gilroy, sans-serif
}

.c-cate div button:hover {
    background-color: #14cf93;
    color: #fff
}

/* Desktop media query */
@media only screen and (min-width:700px) {
    .c-contact {
        width: 45%
    }

    .c-contact .c-error {
        left: 5vw
    }

    .c-contact .c-buttons {
        padding: 0 5vw
    }

    .c-message {
        padding: 4vh 5vw
    }

    .c-query {
        padding: 8vh 5vw
    }

    .c-query .c-title {
        font-size: 26px;
        width: 90%
    }

    .c-query.--visible {
        overflow: hidden
    }

    .c-query .c-reply {
        padding: 3% 0
    }

    .c-query .c-reply>div {
        width: 60%;
        margin: 14px 0
    }

    .c-query .c-reply>div:hover:after {
        opacity: .5;
        transform: scaleX(1)
    }

    .s-text.s-text-area {
        width: 90% !important
    }

    .c-cate img {
        width: 34%
    }

    .c-cate div {
        width: 35%
    }
}

/* Slider animations */
.c-slider>div.--visible .line-child {
    opacity: 1;
    transform: translate(0);
    transition: .6s
}

.c-slider>div.--hidden .line-child {
    opacity: 1;
    transform: translateY(100%);
    transition: .4s
}

/* Font faces */
@font-face {
    font-family: mazius;
    src: url(../fonts/Mazius-Extraitalic.121a71a7.otf)
}

@font-face {
    font-family: gilroy;
    src: url(../fonts/Gilroy-Medium.e7e7c091.ttf)
}

@font-face {
    font-family: gilroy-semi-bold;
    src: url(../fonts/Gilroy-SemiBold.f3ed44cd.ttf)
}

@font-face {
    font-family: circular;
    src: url(../fonts/CircularStd-Book.4420c11b.woff2)
}

/* Main content */
main {
    position: relative;
    z-index: 3
}

/* Headings */
h1,
h2,
h3,
h4,
h5 {
    line-height: 94%;
    font-family: gilroy, sans-serif;
    font-weight: 400;
    color: #fff
}

a,
button[type=submit],
label,
p {
    font-family: gilroy, sans-serif;
    text-transform: uppercase;
    line-height: 121%;
    color: #fff
}

a {
    font-size: 12px;
    color: #fff;
    text-decoration: none
}

hr {
    border: none;
    height: 1px
}

/* Display utilities */
.o-desktop {
    display: none !important
}

.o-mobile {
    display: inherit !important
}

.o-section {
    margin: 0 7vw
}

.o-accent {
    font-family: mazius, sans-serif
}

h1 .o-accent,
h2 .o-accent,
h3 .o-accent {
    color: #14cf93
}

/* Animations */
@keyframes colorSpin {
    0% {
        filter: hue-rotate(0deg)
    }

    25% {
        background-position: 0 100%
    }

    50% {
        background-position: 60% 80%;
        filter: hue-rotate(140deg)
    }

    75% {
        background-position: 60% 100%
    }

    to {
        filter: hue-rotate(0deg)
    }
}

/* Title styles */
.o-title {
    font-size: 80px;
    letter-spacing: -2px
}

.o-title>span {
    overflow: hidden
}

.o-title-small {
    display: block;
    font-size: 12px;
    color: #a2a2a2;
    font-family: gilroy, sans-serif;
    text-transform: uppercase;
    margin-bottom: 25px
}

.line-parent {
    overflow: hidden;
    display: block
}

.line-child {
    display: block;
    transform-origin: center bottom;
    transform-style: preserve-3d
}

.o-ui-arrow {
    stroke: #fff
}

/* Cursor */
.c-cursor {
    display: none
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    position: fixed;
    width: 100%;
    top: 5vh;
    padding: 0 7vw;
    z-index: 10
}

nav a {
    font-size: 12px;
    text-transform: uppercase;
    font-family: gilroy, sans-serif
}

nav.--white,
nav a {
    color: #fff
}

/* Title section */
.c-title {
    padding: 16vh 0 22vh
}

.c-title__row h2 {
    letter-spacing: -4px;
    font-size: 78px
}

@media (min-width:320px) {
    .c-title__row h2 {
        font-size: calc(11.60714vw + 40.85714px)
    }
}

@media (min-width:768px) {
    .c-title__row h2 {
        font-size: 130px
    }
}

.c-title__row #Visual path,
.c-title__row #Visual polyline {
    stroke: #14cf93
}

._title-fit {
    line-height: 115%;
    margin-top: -2%
}

/* CTA info */
.c-t-a-info p {
    text-transform: uppercase;
    font-size: 12px
}

.c-t-a-info p>span {
    display: block
}

.c-t-a-info {
    display: flex;
    padding-top: 10vh
}

.c-t-a-info p:first-child {
    margin-right: 10vw
}

.c-t-a-info--desktop {
    display: none
}

/* Title SVG */
.c-title__svg {
    display: flex;
    align-items: center;
    justify-content: flex-end
}

.c-title__svg svg {
    width: 210px;
    margin: 4px 0;
    pointer-events: none
}

@media (min-width:320px) {
    .c-title__svg svg {
        width: calc(-17.85714vw + 267.14286px)
    }
}

@media (min-width:768px) {
    .c-title__svg svg {
        width: 130px
    }
}

.c-visual-line {
    width: 15vw;
    height: 6px;
    background-color: #14cf93;
    margin: 2px 3vw 0 0;
    transform-origin: left
}

/* About section */
.c-about {
    display: flex;
    flex-direction: column-reverse;
    margin-bottom: 15vh
}

.c-about>div:first-child {
    margin-top: 20vh
}

.c-about>div:first-child a {
    display: flex;
    align-items: center;
    margin-left: 19vw;
    margin-top: 50px
}

.c-about>div:first-child a img {
    width: 45px;
    margin-right: 14px
}

.c-about p {
    font-size: 31px;
    text-transform: uppercase;
    width: 100%;
    line-height: 95%
}

.c-about p .u-non {
    text-transform: capitalize;
    color: #14cf93
}

.c-about-cards {
    width: 100%;
    flex-basis: 50%;
    position: relative;
    justify-content: center;
    align-items: center
}

.c-about-cards>div {
    width: 65%; /* Reduced from 75% as requested */
    overflow: hidden;
    border-collapse: separate;
    border-radius: 30px
}

.c-about-cards>div img {
    width: 100%; /* Fit container */
    display: flex;
    justify-content: center;
    align-items: flex-start;
    filter: saturate(0);
    transition: .4s
}

.c-about-cards>div:hover img {
    filter: saturate(1)
}

.c-about-cards>div:first-child {
    top: -15%;
    left: 0;
    position: absolute;
    transform: rotate(-6deg)
}

.c-about-cards>div:nth-child(2) {
    position: relative;
    z-index: 2;
    transform: translate(16.6%)
}

.c-about-cards>div:nth-child(3) {
    top: 15%;
    right: 0;
    position: absolute;
    transform: rotate(5deg);
    z-index: 3
}

/* Gradient animation */
@keyframes gradient {
    0% {
        background-position: 0 50%
    }

    50% {
        background-position: 100% 50%
    }

    to {
        background-position: 0 50%
    }
}

/* Works section */
.c-works {
    padding: 28vh 7vw 8vh;
    position: relative;

}

.c-works hr {
    width: 100%;
    background-color: rgba(150, 148, 148, .4);
    margin: 12vh 0;
    transform: scaleX(0);
    transition: 1.5s cubic-bezier(0, .89, .41, 1);
    transition-delay: .2s;
    transform-origin: left
}

.c-works hr.is-inview {
    transform: scaleX(1)
}

.c-works .c-work-bg {
    --clr1: $secondary-bg;
    --clr2: $secondary-bg;
    --clr3: $secondary-bg;
    --clr4: $secondary-bg;
    z-index: -1
}

.c-works .c-work-bg,
.c-works .c-work-bg:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: .6s
}

.c-works .c-work-bg:before {
    content: "";
    background-color: #282828;
    z-index: 0;
    opacity: 1
}

.c-works .c-work-bg.--transparent:before {
    opacity: 0
}

/* Services */
.c-services {
    display: flex
}

.c-services svg {
    width: 26vw;
    transform: translateY(-100%)
}

.c-services>div {
    margin: 10px 0 0
}

.c-services p {
    width: 86%;
    font-size: 22px
}

.c-works_title {
    margin-bottom: 10vh
}

.c-works_title h2 {
    display: block
}

.c-works_title h2>span:last-child {
    text-align: right;
    margin-top: -4%
}

.c-works_title svg {
    transform: translate(5vw, 2vw) rotate(45deg);
    width: 14vw;
    margin-top: 4vh
}

/* Project media */
.c-project-media {
    position: relative;
    overflow: hidden;
}

.c-project-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.c-project-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
  
.c-project__row {
    display: block
}

.c-project__row .u-width-1,
.c-project__row .u-width-2,
.c-project__row .u-width-3,
.c-project__row .u-width-4 {
    width: 100%
}

.c-project {
    position: relative;
    overflow: hidden;
    border-radius: 40px;
    margin: 7vh 0
}

.c-project a {
    padding-top: 52%;
    display: block;
    text-decoration: none
}

.c-project a img {
    position: absolute;
    width: 102%;
    transform: scale(1.15);
    left: -2%;
    top: 0;
    will-change: transform
}

.c-project-info {
    width: auto;
    position: relative;
    z-index: 2;
    text-decoration: none;
    padding: 0 0 20px 20px
}

.c-project-info p {
    width: max-content;
    border-radius: 200px
}

.c-project-info>p:first-child {
    transition-delay: .1s
}

.c-project-info>p:nth-child(2) {
    transition-delay: .2s
}

.c-project-info>p {
    display: block;
    padding: 12px 30px;
    font-size: 10px;
    background: #fff;
    color: #282828;
    margin: 10px 0;
    opacity: 0;
    transform: translateY(-50%);
    transition: .4s
}

.c-project:hover .c-project-info>p {
    opacity: 1;
    transform: translate(0)
}

.c-project:hover .c-project-info>p:nth-child(2) {
    transition-delay: .3s !important
}

.c-project-cta {
    display: flex
}

.c-project-cta p {
    font-size: 22px;
    text-transform: none;
    background: #fff;
    padding: 14px 38px;
    margin-right: 12px;
    color: #282828
}

.c-prj-btn {
    background-color: #fff;
    border-radius: 100px;
    padding: 18px;
    display: flex;
    height: max-content
}

.c-prj-btn svg {
    width: 18px
}

/* Archive */
.c-archive {
    margin-left: 26vw;
    margin-top: 15vh
}

.c-archive li {
    margin: 5px 0
}

.c-archive li:after {
    content: "🡥";
    display: inline-block;
    width: 10px;
    height: 10px;
    padding-left: 5px;
    opacity: 0;
    transition: .6s;
    color: #14cf93;
    transition-timing-function: cubic-bezier(0, .89, .41, 1);
    transform: translateY(-4px)
}

.c-archive li:hover:after {
    padding-left: 10px;
    opacity: 1
}

.c-archive a {
    font-size: 20px;
    color: #fff;
    text-transform: uppercase;
    position: relative;
    text-decoration: none
}

.c-archive a:after,
.c-archive a:before {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: #4e4e4e;
    height: .03em;
    transition: .8s;
    transition-timing-function: cubic-bezier(0, .89, .41, 1);
    transition-property: transform
}

.c-archive a:after {
    right: 0;
    transform-origin: right
}

.c-archive a:before {
    left: 0;
    transform-origin: left;
    transform: scaleX(0);
    transition-delay: .2s
}

.c-archive a:hover:after {
    transform: scaleX(0);
    transition: 0
}

.c-archive a:hover:before {
    transform: scale(1);
    transition-delay: 0
}

/* Play button */
.c-play-btn {
    width: 100%;
    padding: 22px 0 !important;
    text-align: center;
    display: block;
    border: 1px solid rgba(150, 148, 148, .4) !important;
    border-radius: 100px;
    margin-top: 15vh !important;
    text-transform: capitalize;
    font-size: 16px;
    text-decoration: none;
    color: #fff
}

/* Honors section */
.c-honors {
    padding: 12vh 0
}

.c-honors__title {
    display: block;
    margin-bottom: 8vh
}

.c-honors__title h2 {
    transform: translate(-10px)
}

.c-honors__title>span {
    margin-top: 5vh;
    margin-left: 26vw
}

.c-honors__wrap {
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-between
}

.c-honors__wrap>div {
    width: 100%
}

.c-honors__wrap>div:first-child {
    padding-top: 10vh;
    text-align: right
}

.c-honors__wrap>div:first-child svg {
    transform: rotate(90deg);
    text-align: right;
    width: 20vw
}

/* Featured */
.c-featured {
    text-align: left;
    padding: 2vh 0 1vh
}

.c-featured a {
    text-decoration: none
}

.c-featured p {
    text-transform: none;
    font-size: 25px;
    padding-bottom: 20px;
    width: 80%;
    color: #fff
}

.c-featured p:last-child {
    font-size: 12px;
    padding-bottom: 0;
    padding-top: 20px;
    color: #a2a2a2
}

.c-featured img {
    width: 100px;
    border-radius: 18px;
    margin-left: 40px;
}

/* Honors Grid */
.honors-grid {
    padding: clamp(2rem, 5vw, 4rem) 0;
    background: transparent;
}

.honors-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2.5rem);
}

/* Honor Card */
.honor-card {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: start;
    gap: clamp(1rem, 3vw, 1.5rem);
    padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1rem, 3vw, 1.5rem);
    background: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.honor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        #14cf93, 
        transparent);
    transition: left 0.6s ease;
}

.honor-card:hover {
    background: #fafafa;
    transform: translateY(-1px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.honor-card:hover::before {
    left: 100%;
}

/* Honor Header */
.honor-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    min-width: 140px;
}

.honor-badge {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 0.35rem 0.75rem;
    background: #14cf93;
    border: 1px solid #14cf93;
    border-radius: 20px;
    color: #fff;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.honor-card:hover .honor-badge {
    background: #0fb881;
    border-color: #0fb881;
    transform: scale(1.05);
}

.honor-for {
    font-size: 0.8rem;
    color: #666;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.honor-client {
    font-size: 0.95rem;
    font-weight: 600;
    color: #4e4e4e;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

/* Honor Main Content */
.honor-main {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-right: 1rem;
}

.honor-title {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 500;
    color: #4e4e4e;
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.honor-line {
    width: 40px;
    height: 2px;
    background: rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.honor-card:hover .honor-line {
    width: 60px;
    background: #14cf93;
    transform: translateY(-1px);
}

/* Honor Action */
.honor-action {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: #fff;
    border: 2px solid #14cf93;
    border-radius: 10px;
    color: #14cf93;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    min-width: 100px;
    justify-content: center;
}

.honor-action:hover {
    background: #14cf93;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(20, 207, 147, 0.25);
}

.action-text {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.action-arrow {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    stroke: currentColor;
}

.honor-action:hover .action-arrow {
    transform: translateX(4px) rotate(-45deg);
}

/* Responsive Honor */
@media (max-width: 900px) {
    .honor-card {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 1.25rem 1rem;
    }
    
    .honor-header {
        min-width: auto;
        order: 1;
    }
    
    .honor-main {
        padding-right: 0;
        order: 2;
        gap: 0.35rem;
    }
    
    .honor-action {
        order: 3;
        justify-self: start;
        margin-top: 0.5rem;
    }
    
    .honor-title {
        font-size: 1.35rem;
    }
}

@media (max-width: 480px) {
    .honors-container {
        padding: 0 1rem;
    }
    
    .honor-card {
        padding: 1.125rem 0.875rem;
        gap: 0.625rem;
    }
    
    .honor-title {
        font-size: 1.2rem;
    }
    
    .honor-header {
        gap: 0.375rem;
    }
    
    .honor-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.65rem;
    }
    
    .honor-client {
        font-size: 0.9rem;
    }
    
    .honor-action {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        min-width: 90px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) {
    .honor-card:hover {
        transform: none;
        box-shadow: none;
    }
    
    .honor-action:active {
        background: #14cf93;
        color: #fff;
        transform: translateY(-1px);
    }
    
    .honor-card:active .honor-badge {
        transform: scale(1.05);
    }
}

/* Print Styles */
@media print {
    .honor-card {
        border-bottom: 1px solid #ccc;
        break-inside: avoid;
    }
    
    .honor-action {
        display: none;
    }
    
    .honor-badge {
        background: #14cf93 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}

/* Loop container */
.loop-container {
    width: 110%;
    max-width: 1400px;
    height: 300px;
    margin-left: -70px;
    margin-top: -100px;
}

.loop-container svg {
    width: 100%;
    height: 100%;
}

.loop-text {
    font-size: 5rem;
    font-weight: bold;
    fill: #14cf93;
}

/* Footer */
footer {
    width: 100%;
    background-color: #2e2e2e;
    padding: 10vh 7vw 0;
    position: relative;
    overflow: hidden
}

footer #c-circle {
    position: absolute;
    bottom: -25%;
    width: 200%;
    left: 50%;
    transform: translate(-50%)
}

.c-footer {
    display: block;
    color: #fff
}

.c-footer>div:first-child {
    position: relative
}

.c-footer h2 {
    color: #fff
}

.c-footer__title {
    margin-bottom: 8vh;
    text-transform: capitalize;
    text-align: center
}

.c-footer__title h2 {
    font-size: 68px
}

@media (min-width:320px) {
    .c-footer__title h2 {
        font-size: calc(5.80357vw + 49.42857px)
    }
}

@media (min-width:768px) {
    .c-footer__title h2 {
        font-size: 94px
    }
}

.c-footer__cta {
    width: 100%;
    margin-top: 3vh;
    margin-bottom: 5vh
}

.c-footer__cta>div {
    width: 100%;
    margin: 18px 0
}

.c-footer__cta>div a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    text-transform: none;
    padding: 26px 0;
    border: 1px solid #fff;
    border-radius: 100px;
    width: 100%;
    display: block;
    text-align: center;
    font-family: gilroy-semi-bold
}

.c-footer__socials {
    padding-bottom: 8vh;
    position: relative;
    z-index: 5
}

.c-footer__socials>div:first-child {
    display: block;
    text-transform: none;
    margin: 18vh 0
}

.c-footer__socials>div:first-child.is-inview>div {
    opacity: 1;
    visibility: visible;
    transform: translate(0)
}

.c-footer__socials>div:first-child>div {
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(60%);
    transition: .9s;
    transition-delay: calc(var(--order)*100ms)
}

.c-footer__socials>div:first-child>div a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    padding: 25px 0;
    border-top: 1px solid #fff;
    transition: .6s cubic-bezier(0, .89, .41, 1);
    position: relative;
    overflow: hidden
}

.c-footer__socials>div:first-child>div a:after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateY(-101%);
    content: "";
    background-color: #14cf93;
    transition: .2s;
    z-index: -1
}

.c-footer__socials>div:first-child>div a p {
    text-transform: none;
    color: #fff
}

.c-footer__socials>div:first-child>div a p:first-child {
    font-size: 24px;
    padding-bottom: 4px
}

.c-footer__socials>div:first-child>div a p:last-child {
    font-size: 12px;
    padding-bottom: 4px;
    opacity: .6
}

.c-footer__socials>div:first-child>div a:hover {
    padding: 25px 20px;
    border-top: 1px solid transparent
}

.c-footer__socials>div:first-child>div a:hover:after {
    transform: translate(0)
}

.c-footer__socials a img {
    width: 44px
}

.c-footer__copy {
    margin-top: 25px;
    font-size: 14px;
    color: hsla(0, 0%, 100%, .4);
    text-transform: capitalize
}

.c-footer__copy a,
.c-footer__copy p {
    color: inherit;
    text-transform: inherit;
    font-size: inherit
}

.c-footer__copy div {
    margin-top: 10px
}

.c-footer-credit {
    text-decoration: underline;
    cursor: pointer
}

.c-footer-credit:active .c-credits {
    opacity: 1;
    transform: translate(0)
}

/* Credits */
.c-credits {
    position: fixed;
    background-color: #fff;
    width: 100%;
    left: 0;
    bottom: 0;
    opacity: 1;
    transition: .4s cubic-bezier(0, .89, .41, 1);
    font-family: gilroy, sans-serif;
    padding: 0 7vw 5vh;
    z-index: 100;
    opacity: 0;
    visibility: hidden
}

.c-credits.--visible {
    opacity: 1;
    visibility: visible
}

.c-credits.--visible div {
    opacity: 1;
    transition-delay: calc(var(--order)*100ms);
    transform: translate(0)
}

.c-credits div {
    margin-top: 50px;
    opacity: 0;
    transform: translateY(20px);
    transition: .4s
}

.c-credits img {
    background-color: #14cf93;
    padding: 20px;
    border-radius: 5vh
}

.c-credits p {
    line-height: 18px;
    font-size: 12px;
    color: #2e2e2e;
    padding-bottom: 5px
}

.c-credits a {
    font-size: 24px;
    text-transform: capitalize;
    margin: 10px 0;
    color: #151515;
    display: block
}

/* Loader */
.c-loader {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 11;
    text-align: center;
    pointer-events: none;
    color: #fff
}

.c-loader .c-loader__bg {
    position: absolute;
    transform-origin: top;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #161616;
    transition: 1.6s;
    transition-timing-function: cubic-bezier(0, .89, .41, 1)
}

.c-loader .c-loader__bg:nth-child(2) {
    z-index: 3;
    transition-delay: .5s
}

.c-loader .c-loader__bg:nth-child(3) {
    background-color: #14cf93;
    z-index: 1;
    transition-delay: .8s
}

.c-loader p {
    transform: translate(-50%);
    position: absolute;
    left: 50%;
    font-size: 12px;
    z-index: 5;
    color: #fff
}

.c-loader p:first-child {
    top: 5vh
}

.c-loader h2 {
    font-size: 35px;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 5;
    transform: translate(-50%, -50%);
    display: flex;
    line-height: 105%;
    transition: .6s
}

.c-loader h2>span {
    display: block;
    margin: 4px 0;
    overflow: hidden
}

.c-loader h2>span span {
    white-space: pre;
    display: block;
    transform-origin: top left
}

.c-loader .js-split .line-child {
    transition: 1.5s;
    transition-timing-function: cubic-bezier(0, .89, .41, 1)
}

.c-loader h2.is-loading {
    transform: translate(-40%, -50%)
}

.c-loader h2.is-loading>span:first-child {
    transform: translate(0)
}

.c-loader h2.is-loading>span:nth-child(2) {
    transform: translate(150%)
}

.c-loader h2.is-loading>span:nth-child(3) {
    transform: translate(300%)
}

.c-loader h2.is-loading>span:nth-child(2),
.c-loader h2.is-loading>span:nth-child(3) {
    visibility: hidden;
    opacity: 0
}

.c-loader h2.is-loaded {
    transform: translate(-50%, -50%)
}

.c-loader h2.is-loaded>span:nth-child(2),
.c-loader h2.is-loaded>span:nth-child(3) {
    transition: .8s;
    transition-timing-function: cubic-bezier(0, .89, .41, 1);
    transition-delay: calc(var(--order)*50ms);
    transform: translateX(0);
    opacity: 1;
    visibility: visible
}

.c-loader .c-loading__anim {
    display: inline-block;
    width: 30px;
    height: 30px;
    z-index: 10;
    position: absolute;
    transform: translate(-50%, -10%);
    bottom: 5vh
}

.c-loader .c-loading__anim:after {
    content: " ";
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border-color: #fff transparent;
    border-style: solid;
    border-width: 2px;
    animation: lds-dual-ring 1.2s linear infinite
}

@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg)
    }

    to {
        transform: rotate(1turn)
    }
}

.c-loader.is-loading .c-loader__bg {
    transform: translate(0)
}

.c-loader.is-loaded {
    visibility: hidden
}

.c-loader.is-loaded h2.is-loaded {
    transform: translate(-50%, -50%)
}

.c-loader.is-loaded h2.is-loaded>span span {
    transform: translateY(-110%);
    transition: transform .7s;
    transition-timing-function: cubic-bezier(0, .89, .41, 1);
    transition-delay: calc(var(--order)*40ms)
}

.c-loader.is-loaded .c-loader__bg,
.c-loader.is-loaded .js-split:first-child .line-child {
    transform: translateY(-100%)
}

/* Backgrounds */
.c-home__bg,
.c-play__bg {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #282828;
    transform: translateY(100%);
    z-index: 8
}

.c-home__bg {
    background-color: #151515;
    z-index: 9
}

.c-play__bg.--play {
    transform: translate(0);
    z-index: 0
}

/* Play title */
.c-play-title {
    padding: 25vh 0 0;
    justify-content: space-between;
    align-items: flex-end;
    overflow-x: hidden
}

.c-play-title a {
    display: flex;
    align-items: center;
    transform: translateY(-83%)
}

.c-play-title a img {
    width: 50px;
    margin-right: 20px;
    transform: rotate(90deg);
    filter: invert(1)
}

.c-play-title h2 {
    line-height: 112%;
    margin-right: 10%;
    font-size: 70px
}

.o-play-row {
    display: block
}

.o-play-row img {
    width: 100%;
    margin: 2vh 0
}

.o-play-row.u-first-row {
    display: flex;
    flex-direction: column-reverse;
    margin-top: 10vh
}

/* Button */
.button {
    pointer-events: auto;
    cursor: pointer;
    border: none;
    padding: 1.5rem 3rem;
    margin: 0;
    position: relative;
    display: inline-block
}

.button:after,
.button:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%
}

.button--bestia {
    font-size: 1.15rem;
    background: none;
    padding: 0
}

.button--bestia .button__bg {
    top: 0;
    left: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 200px;
    overflow: hidden;
    transition: transform .9s cubic-bezier(0, .89, .41, 1)
}

.button--bestia .button__bg:after,
.button--bestia .button__bg:before {
    content: "";
    position: absolute;
    background: #fff
}

.button--bestia .button__bg:before {
    width: 110%;
    height: 0;
    padding-bottom: 95%;
    top: 50%;
    left: 50%;
    border-radius: 200px;
    transform: translate3d(-50%, -50%, 0) scale3d(0, 0, 1);
    opacity: 1
}

.button--bestia:hover .button__bg:before {
    transition: all .6s cubic-bezier(0, .89, .41, 1);
    transform: translate3d(-50%, -50%, 0) scaleX(1)
}

.button--bestia .button__bg:after {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity .6s
}

.button--bestia:hover .button__bg:after {
    opacity: 1;
    transition-duration: .6s;
    transition-delay: .15s
}

.button--bestia>span {
    display: block
}

.button--bestia:hover>span {
    mix-blend-mode: difference
}

/* Awwwards */
#awwwards {
    display: none
}

/* Scene 3D - Fixed for carousel */
.scene {
    display: grid;
    overflow: hidden;
    perspective: 2200px;
    width: calc(100% + 300px);  /* ← Increase width by 100px */
    height: 85vh;
    position: relative;
    left: -190px;                 /* ← Move left 50px */
    transform-style: preserve-3d;
    margin: 0 auto;
}

/* @media (min-width: 1600px) {
    .scene {
        width: 300vw;
        left: -100%;
        transform: translateX(-50%);
    }
} */
 @media (min-width: 1600px) {
    .o-title{
      margin-top: 200px;
    }
 }


.scene::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}

.a3d {
    display: grid;
    place-self: center;
    transform-style: preserve-3d;
    animation: rotateY 35s linear infinite;
    width: 100%;
    height: 100%;
    position: relative;
    top: -200px;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes rotateY {
    0% { 
        transform: rotateY(0deg) scale(1);
    }
    50% {
        transform: rotateY(180deg) scale(1.02);
    }
    100% { 
        transform: rotateY(360deg) scale(1);
    }
}

.card {
    --w: 16em;
    --white-space: 6em;
    --ba: 360deg / var(--n);
    grid-area: 1 / 1;
    width: var(--w);
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    background: linear-gradient(145deg, #f8f9fa, #e9ecef);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 10px 30px rgba(0, 0, 0, 0.3) inset,
        0 -10px 20px rgba(0, 0, 0, 0.1) inset;
    position: relative;
    overflow: hidden;
    position: absolute;
    left: 50%;
    top: 50%;
    transform-origin: center;
    backface-visibility: hidden;
    transform: 
        rotateY(calc(var(--i) * var(--ba)))
        translateZ(calc(-1 * (var(--w) + var(--white-space)) * var(--n) / (3.14159 * 1.8)));
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transform: skewX(-20deg);
    z-index: 1;
    transition: left 0.7s ease;
}

.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1),
        inset 1px 0 0 rgba(255, 255, 255, 0.4),
        inset -1px 0 0 rgba(0, 0, 0, 0.1);
    pointer-events: none;
    z-index: 1;
}

.card .card-content {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    z-index: 0;
}

.card:hover {
    transform: 
        rotateY(calc(var(--i) * var(--ba)))
        translateZ(calc(-1 * (var(--w) + var(--white-space)) * var(--n) / (3.14159 * 1.8) + 80px))
        scale(1.05);
}

.card:hover::before {
    left: 140%;
}

.card:hover {
    box-shadow: 
        0 35px 70px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        0 15px 40px rgba(0, 0, 0, 0.4) inset,
        0 -15px 30px rgba(0, 0, 0, 0.2) inset;
}

.a3d .card {
    transition: 
        transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.7s cubic-bezier(0.34, 1.56, 0.64, 1),
        filter 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stats {
    display: none;
}

/* Loading animation */
.loading {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.2rem;
    opacity: 0.7;
    animation: pulse 2s ease-in-out infinite;
    z-index: 100;
    background: rgba(0, 0, 0, 0.7);
    padding: 20px 30px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

@keyframes pulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

.loading.hidden {
    display: none;
}

/* FPS counter */
.fps-counter {
    position: fixed;
    bottom: 40px;
    left: 40px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    font-family: monospace;
    z-index: 10;
}

.card:nth-child(1),
.card:nth-child(2),
.card:nth-child(3),
.card:nth-child(11),
.card:nth-child(12) {
    filter: brightness(1.1) contrast(1.05);
}

/* 3D Cubes */
.cubes-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.cube-one-container,
.cube-two-container {
    position: absolute;
    width: 140px;
    height: 140px;
    perspective: 1600px;
    z-index: 0;
}

.cube-one-container {
    top: 12%;
    right: 25%;
}

.cube-two-container {
    bottom: 55%;
    left: 15%;
}

.cube-one,
.cube-two {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
}

.cube-one {
    transform: rotateX(20deg) rotateY(25deg);
    animation: rotateCubeOne 26s linear infinite;
}

.cube-two {
    transform: rotateX(-20deg) rotateY(-25deg);
    animation: rotateCubeTwo 26s linear infinite reverse;
}

.cube-one-face,
.cube-two-face {
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: #fff;
    backface-visibility: visible;
    border: 1px solid rgba(20, 207, 147, 0.25);
    background: linear-gradient(
        135deg,
        rgba(20, 207, 147, 0.95),
        rgba(10, 180, 130, 0.95)
    );
    box-shadow:
        inset 0 0 16px rgba(20, 207, 147, 0.12),
        0 0 24px rgba(20, 207, 147, 0.06);
    overflow: hidden;
}

.cube-one-front,
.cube-two-front {
    transform: translateZ(70px);
}

.cube-one-back,
.cube-two-back {
    transform: rotateY(180deg) translateZ(70px);
}

.cube-one-right,
.cube-two-right {
    transform: rotateY(90deg) translateZ(70px);
}

.cube-one-left,
.cube-two-left {
    transform: rotateY(-90deg) translateZ(70px);
}

.cube-one-top,
.cube-two-top {
    transform: rotateX(90deg) translateZ(70px);
}

.cube-one-bottom,
.cube-two-bottom {
    transform: rotateX(-90deg) translateZ(70px);
}

.cube-one-front,
.cube-one-back,
.cube-two-front,
.cube-two-back {
    font-size: 48px;
}

.cube-one-right,
.cube-one-top,
.cube-two-right,
.cube-two-top {
    font-size: 40px;
}

.cube-one-left,
.cube-one-bottom,
.cube-two-left,
.cube-two-bottom {
    font-size: 22px;
    letter-spacing: 0.6px;
}

.cube-one-face::before,
.cube-two-face::before {
    content: "";
    position: absolute;
    inset: -120%;
    background: linear-gradient(
        45deg,
        transparent 35%,
        rgba(255, 255, 255, 0.12) 50%,
        transparent 65%
    );
    transform: rotate(25deg);
    animation: shine 6s linear infinite;
    opacity: 0.45;
}

.cube-one-shadow,
.cube-two-shadow {
    position: absolute;
    top: 115%;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: radial-gradient(
        ellipse,
        rgba(20, 207, 147, 0.25) 0%,
        rgba(20, 207, 147, 0.05) 50%,
        transparent 70%
    );
    filter: blur(16px);
    border-radius: 50%;
}

@keyframes rotateCubeOne {
    from { transform: rotateX(20deg) rotateY(25deg); }
    to   { transform: rotateX(380deg) rotateY(385deg); }
}

@keyframes rotateCubeTwo {
    from { transform: rotateX(-20deg) rotateY(-25deg); }
    to   { transform: rotateX(-380deg) rotateY(-385deg); }
}

@keyframes shine {
    from { transform: translateX(-100%) rotate(25deg); }
    to   { transform: translateX(100%) rotate(25deg); }
}

/* Hero section */
.c-title.o-section {
    position: relative;
    z-index: 1;
}

.c-title__row {
    position: relative;
    z-index: 2;
}

/* Gallery Section */
#gallery-section {
    background: #ffffff;
    color: #33def4;
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.gallery-loading {
    z-index: 9999;
    background: #01012a;
    color: #33def4;
    text-align: center;
    position: fixed;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s 0.8s cubic-bezier(0.755, 0.05, 0.855, 0.06), 
    visibility 0.8s 0.8s cubic-bezier(0.755, 0.05, 0.855, 0.06);
}

.gallery-loading.loaded {
    opacity: 0;
    visibility: hidden;
}

.gallery-loading .loading-container {
    position: relative;
    width: 40%;
    overflow: hidden;
}

.gallery-loading .loading-container .counter {
    padding: 0.8rem;
    transform: traslate(0, 0);
}

.gallery-loading .loading-container .counter.loaded {
    animation: counter-animation 0.8s 
    cubic-bezier(0.755, 0.05, 0.855, 0.06) 0.8s 1 normal forwards running;
}

.gallery-loading .loading-container .line {
    position: absolute;
    background: #03e2e7;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
}

.gallery-loading .loading-container .line.loaded {
    animation: line-animation 0.8s 
    cubic-bezier(0.755, 0.05, 0.855, 0.06) 0s 1 normal forwards running;
}

@keyframes counter-animation {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(0, 10%);
    }
}

@keyframes line-animation {
    0% {
        left: 0;
    }
    100% {
        left: 100%;
    }
}

.gallery-title {
    text-align: center;
    margin-bottom: 40px;
    z-index: 10;
    position: relative;
}

.gallery-title h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: #33def4;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.gallery-title p {
    font-size: 1.2rem;
    color: #FE296D;
    letter-spacing: 1px;
}

.gallery-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

@media (max-width: 768px) {
    #gallery-section {
        background: #414141;
    }
}

/* Project rows */
.c-project__row + .c-project__row {
    margin-top: -3rem;
}

.u-width-3,
.u-width-4 {
    margin-top: 0 !important;
    transform: translateY(0) !important;
}

.c-services {
    margin-bottom: 1rem;
}

.c-works_title {
    margin-bottom: 2rem;
}

.c-project__row {
    margin-bottom: 1rem;
}

.c-archive {
    margin-top: 2rem;
}

.c-play-btn {
    margin-top: 2rem;
}

hr[data-scroll] {
    margin: 1rem 0;
}

.gallery-header {
    margin-bottom: 20px;
}

#gallery-section {
    padding-top: 40px;
}

/* Background Elements */
.background-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow-1 {
    position: absolute;
    top: -200px;
    right: -100px;
    width: 1000px;
    height: 600px;
    filter: blur(80px);
    border-radius: 50%;
    opacity: 0.7;
}

.glow-2 {
    position: absolute;
    bottom: -200px;
    left: -100px;
    width: 600px;
    height: 600px;
    filter: blur(80px);
    border-radius: 50%;
    opacity: 0.7;
}

.grid-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(
            90deg,
            rgba(20, 207, 147, 0.06) 1px,
            transparent 1px
        ),
        linear-gradient(
            rgba(20, 207, 147, 0.06) 1px,
            transparent 1px
        );
    background-size: 50px 50px;
    z-index: 0;
    pointer-events: none;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    body {
        background: #1f1f1f;
    }
    
    .cube-two-container {
        margin-left: 120px;
        margin-top: -40px;
    }
}

/* Ensure sections have proper height */
section, 
.o-section {
    min-height: 100vh;
    position: relative;
}


