.about-page{
    overflow: clip;
}
/* CSS HERO */

.secondHero,
.banner-portfolio {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 70vh;
    overflow: hidden;
    margin: 0;
    background: black;
    color: white;
}

.secondHero picture {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.secondHero picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.secondHero picture::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 25%;
    height: 25%;
    background-color: transparent;
    content: "";
    animation: a 20s ease infinite;
}

@keyframes a {
    0% {
        width: 25%;
        height: 25%;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        backdrop-filter: blur(2vmin) hue-rotate(0deg);
        -webkit-backdrop-filter: blur(2vmin) hue-rotate(0deg);
    }
    12.49% {
        left: 0;
    }
    12.5% {
        width: 100%;
        left: unset;
        backdrop-filter: blur(0vmin) hue-rotate(150deg);
        -webkit-backdrop-filter: blur(0vmin) hue-rotate(150deg);
    }
    25% {
        width: 25%;
        height: 25%;
        backdrop-filter: blur(2vmin) hue-rotate(300deg);
        -webkit-backdrop-filter: blur(2vmin) hue-rotate(300deg);
    }
    37.49% {
        top: 0;
        bottom: 0;
    }
    37.5% {
        top: unset;
        height: 100%;
        backdrop-filter: blur(0vmin) hue-rotate(150deg);
        -webkit-backdrop-filter: blur(0vmin) hue-rotate(150deg);
    }
    50% {
        width: 25%;
        height: 25%;
        backdrop-filter: blur(2vmin) hue-rotate(0deg);
        -webkit-backdrop-filter: blur(2vmin) hue-rotate(0deg);
    }
    62.49% {
        left: unset;
        right: 0;
    }
    62.5% {
        right: unset;
        width: 100%;
        height: 100%;
        backdrop-filter: blur(0vmin) hue-rotate(150deg);
        -webkit-backdrop-filter: blur(0vmin) hue-rotate(150deg);
    }
    74.9% {
        top: unset;
        bottom: 0;
    }
    75% {
        width: 25%;
        height: 25%;
        backdrop-filter: blur(2vmin) hue-rotate(300deg);
        -webkit-backdrop-filter: blur(2vmin) hue-rotate(300deg);
    }
    87.49% {
        top: unset;
        bottom: 0;
    }
    87.5% {
        height: 100%;
        top: 0;
        backdrop-filter: blur(0vmin) hue-rotate(150deg);
        -webkit-backdrop-filter: blur(0vmin) hue-rotate(150deg);
    }
    100% {
        width: 25%;
        height: 25%;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        backdrop-filter: blur(2vmin) hue-rotate(0deg);
        -webkit-backdrop-filter: blur(2vmin) hue-rotate(0deg);
    }
}

.secondHero picture::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 25%;
    height: 25%;
    background-color: transparent;
    content: "";
    animation: b 10s ease infinite;
}

@keyframes b {
    0% {
        width: 25%;
        height: 25%;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        backdrop-filter: blur(2vmin) hue-rotate(0deg);
        -webkit-backdrop-filter: blur(2vmin) hue-rotate(0deg);
    }
    12.49% {
        top: 0;
    }
    12.5% {
        height: 100%;
        top: unset;
        backdrop-filter: blur(0vmin) hue-rotate(150deg);
        -webkit-backdrop-filter: blur(0vmin) hue-rotate(150deg);
    }
    25% {
        width: 25%;
        height: 25%;
        backdrop-filter: blur(2vmin) hue-rotate(300deg);
        -webkit-backdrop-filter: blur(2vmin) hue-rotate(300deg);
    }
    37.49% {
        left: 0;
        right: 0;
    }
    37.5% {
        left: unset;
        width: 100%;
        backdrop-filter: blur(0vmin) hue-rotate(150deg);
        -webkit-backdrop-filter: blur(0vmin) hue-rotate(150deg);
    }
    50% {
        width: 25%;
        height: 25%;
        backdrop-filter: blur(2vmin) hue-rotate(0deg);
        -webkit-backdrop-filter: blur(2vmin) hue-rotate(0deg);
    }
    62.49% {
        top: unset;
        bottom: 0;
    }
    62.5% {
        top: 0;
        height: 100%;
        backdrop-filter: blur(0vmin) hue-rotate(150deg);
        -webkit-backdrop-filter: blur(0vmin) hue-rotate(150deg);
    }
    74.9% {
        bottom: unset;
        right: 0;
    }
    75% {
        width: 25%;
        height: 25%;
        left: unset;
        backdrop-filter: blur(2vmin) hue-rotate(300deg);
        -webkit-backdrop-filter: blur(2vmin) hue-rotate(300deg);
    }
    87.49% {
        left: unset;
        right: 0;
    }
    87.5% {
        width: 100%;
        left: 0;
        backdrop-filter: blur(0vmin) hue-rotate(150deg);
        -webkit-backdrop-filter: blur(0vmin) hue-rotate(150deg);
    }
    100% {
        width: 25%;
        height: 25%;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        backdrop-filter: blur(2vmin) hue-rotate(0deg);
        -webkit-backdrop-filter: blur(2vmin) hue-rotate(0deg);
    }
}

.secondHero figure,
.banner-portfolio figure,
.slices figure {
    position: absolute;
    width: 100%;
    max-width: 900px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 2;
    animation: c 10s linear infinite;
}

.slices figure {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.banner-portfolio figure {
    animation: none;
}

@keyframes c {
    from {
        backdrop-filter: blur(2vmin) hue-rotate(0deg);
        -webkit-backdrop-filter: blur(2vmin) hue-rotate(0deg);
    }
    to {
        backdrop-filter: blur(2vmin) hue-rotate(360deg);
        -webkit-backdrop-filter: blur(2vmin) hue-rotate(360deg);
    }
}

.secondHero figure::after,
.banner-portfolio figure::after,
.slices figure::after {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 60px;
    height: 60px;
    background-image: linear-gradient(
        320deg,
        #ff20fb,
        #f424ff,
        #d42dff,
        #b139ff,
        #9742ff,
        #8d46ff
    );
    content: "";
    z-index: -1;
    animation: d 5s linear infinite;
}

@keyframes d {
    from {
        filter: hue-rotate(0deg) brightness(1.5);
        transform: rotateZ(0deg);
        border-radius: 0;
    }
    50% {
        border-radius: 49%;
        filter: hue-rotate(180deg) brightness(1.5);
    }
    to {
        filter: hue-rotate(360deg) brightness(1.5);
        transform: rotateZ(360deg);
        border-radius: 0;
    }
}

.secondHero h1,
.banner-services figure h1,
.banner-portfolio figure h1,
.slices h1 {
    font-family: "Play", monospace;
    font-size: 49px;
    font-weight: 800;
    text-transform: capitalize;
    line-height: 1.5cap;
    text-wrap: balance;
    color: white;
    margin-bottom: 20px;
    text-align: center;
}

.secondHero figcaption,
.banner-services figcaption,
.banner-portfolio figcaption,
.slices figcaption {
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 2cap;
    text-wrap: pretty;
    color: #ffffff;
    text-align: center;
}

@media (max-width: 600px) {
    .secondHero h1 {
        font-size: 32px;
    }
    .secondHero figcaption {
        font-size: 16px;
    }
}

/* CSS TEAM */

:root {
--spacing-base: 1rem;
--spacing-md: 1.5rem;
--spacing-lg: 2rem;
--color-text: #ffffff;
--color-text-dim: 0.6;
--transition-medium: 0.3s ease;
--font-size-base: 14px;
}

body.dragging {
cursor: grabbing;
}

body.zoom-mode {
cursor: default;
}

.sectionTeam,
.contact {
    padding: 2rem 0 0;
}

.sectionTeam .headline {
    margin-bottom: 2rem;
}

.content-team{
    position: relative;
}

/* Grid column assignments */
.nav-section {
grid-column: 1 / span 3;
}

.values-section {
grid-column: 5 / span 2;
}

.location-section {
grid-column: 7 / span 2;
}

.contact-section {
grid-column: 9 / span 2;
}

.social-section {
grid-column: 11 / span 2;
text-align: right;
}

/* Bottom bar */
.coordinates-section {
grid-column: 1 / span 3;
font-family: "TheGoodMonolith", monospace;
}

.info-section {
grid-column: 9 / span 4;
text-align: right;
}

/* ===== LOGO COMPONENT ===== */
.logo-container {
margin-bottom: var(--spacing-md);
display: block;
width: 3rem;
height: 1.5rem;
position: relative;
cursor: pointer;
}

.logo-circles {
position: relative;
width: 100%;
height: 100%;
}

.circle {
position: absolute;
border-radius: 50%;
transition: transform var(--transition-medium);
width: 1.4rem;
height: 1.4rem;
background-color: var(--color-text);
top: 50%;
}

.circle-1 {
left: 0;
transform: translate(0, -50%);
}

.circle-2 {
left: 0.8rem;
transform: translate(0, -50%);
mix-blend-mode: exclusion;
}

.logo-container:hover .circle-1 {
transform: translate(-0.5rem, -50%);
}

.logo-container:hover .circle-2 {
transform: translate(0.5rem, -50%);
}

/* Key hint styling */
.key-hint {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0 5px;
border: 1px solid var(--color-text);
border-radius: 3px;
font-size: 12px;
margin: 0 3px;
min-width: 20px;
height: 20px;
}

/* Global link styling */
.sectionTeam a {
position: relative;
cursor: pointer;
color: var(--color-text);
padding: 0;
display: inline-block;
z-index: 1;
text-decoration: none;
font-size: var(--font-size-base);
opacity: 1;
transition: color var(--transition-medium);
font-weight: 700;
}

.sectionTeam a::after {
content: "";
position: absolute;
top: 0;
left: 0;
width: 0;
height: 100%;
background-color: var(--color-text);
z-index: -1;
transition: width 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sectionTeam a:hover::after {
width: 100%;
}

.sectionTeam a:hover {
color: black;
mix-blend-mode: difference;
opacity: 1;
}

.sectionTeam .image-title-overlay p {
    display: block;
    text-decoration: none;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.01rem;
    -webkit-font-smoothing: antialiased;
}

.sectionTeam ul {
list-style: none;
}

.sectionTeam h3 {
font-size: 14px;
margin-bottom: var(--spacing-base);
font-weight: 600;
color: #fff;
}

.viewport {
    z-index: 1;
    opacity: 0;
    margin: auto;
    padding: 0 4rem;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    position: relative;
    width: 100%;
    height: 100%;
}

.grid-item {
    overflow: hidden;
    max-height: 316px;
    background: #000;
    cursor: pointer;
    will-change: transform, opacity;
    z-index: 1;
    opacity: 1;
    transition: opacity 0.6s ease;
}

.grid-item.out-of-view {
opacity: 0.1;
}

.grid-item.selected {
z-index: 2 !important;
}

.grid-item img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
user-select: none;
pointer-events: none;
}

.information-person {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0));
    width: 100%;
}

.information-person h4 {
    font-size: 0.7rem;
    color: #fff;
}

.information-person h3 {
    font-size: 1rem;
    margin: 0.2rem 0;
}

.services .information-person {
    padding: 0;
}

.services .information-person h3{
    padding: 1rem;
    font-family: 'Play';
    font-weight: 700;
}

/* ==================  SERVICE BANNER ====================== */
:root {
    --slice-height: 10vh;
    --slice-half: 37px;
    --orb-offset: 0%;
}

@keyframes move {
    0%, 100% {
        transform: translate(-50%, calc(-50% - var(--orb-offset)));
        animation-timing-function: ease-in-out;
    }
    50% {
        transform: translate(-50%, calc(-70% - var(--orb-offset)));
        animation-timing-function: ease-in-out;
    }
}
.color-orb {
    animation: move 6s infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, calc(-50% - var(--orb-offset)));
    width: 1300px;
    height: 1300px;
    border-radius: 50%;
    overflow: hidden;
    background: conic-gradient(from 180deg at 50% 50%, blue 0deg, #f48f60 135deg, #B67CD3 180deg, #ED79BE 225deg, #73C0D5 270deg, #A3DA91 315deg, #A3DA91 360deg);
    z-index: 0;
    opacity: 0.6;
}

.slices {
    display: flex;
    flex-direction: column;
    background-color: #1b004d;
    position: relative;
}

.slice {
    position: relative;
    overflow: hidden;
    height: var(--slice-height);
}

.blur-panel {
    position: absolute;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(30px);
}

@keyframes blend-move {
    0%, 100% {
        transform: translate(-50%, calc(-50% + var(--orb-offset)));
        animation-timing-function: ease-in-out;
    }
    50% {
        transform: translate(-50%, calc(-70% + var(--orb-offset)));
        animation-timing-function: ease-in-out;
    }
}
.blend-panel {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #D9D9D9 calc(50% - var(--slice-half) - var(--orb-offset)), #737373 calc(50% + var(--slice-half) - var(--orb-offset)));
    mix-blend-mode: overlay;
}

.slice-1 .color-orb {
    --orb-offset: -50%;
}
.slice-2 .color-orb {
    --orb-offset: -40%;
}
.slice-3 .color-orb {
    --orb-offset: -30%;
}
.slice-4 .color-orb {
    --orb-offset: -20%;
}
.slice-5 .color-orb {
    --orb-offset: -10%;
}
.slice-6 .color-orb {
    --orb-offset: 0%;
}



/* =============== BANNER SERVICE END ============= */

/* Split Screen Layout */
.split-screen-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    display: flex;
    z-index: 2;
    opacity: 0;
    pointer-events: none;
    background-color: rgb(0 0 0 / 90%);
}

.split-screen-container.active {
opacity: 1;
pointer-events: all;
}

.split-left {
    position: relative;
    width: 50vw;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    cursor: pointer;
}

.split-right {
    position: relative;
    width: 50vw;
    height: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    cursor: pointer;
}

/* Image target - BEHIND the scaling image */
.zoom-target {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

/* Image title overlay - positioned at bottom left */
.image-title-overlay {
    position: absolute;
    bottom: 8rem;
    width: 41%;
    left: 40px;
    transform: none;
    color: white;
    z-index: 4;
    opacity: 0;
    pointer-events: none;
    background: rgb(0 0 0 / 50%);
    padding: 1rem 2rem;
}

.image-title-overlay.active {
    opacity: 0;
}

.image-slide-number {
    position: relative;
    height: 20px;
    margin-bottom: 0.5em;
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    overflow: hidden;
}

.image-slide-number span {
    position: absolute;
    top: 0;
    left: 0;
    color: white;
    font-family: "TheGoodMonolith", monospace;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.5;
    transform: translateY(0px);
    will-change: transform;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.image-slide-title {
    position: relative;
    height: 60px;
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    overflow: hidden;
}

.image-slide-title h4 {
    position: absolute;
    top: 0;
    left: 0;
    color: white;
    font-family: "Play", sans-serif;
    font-size: 48px;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.2;
    transform: translateY(0px);
    will-change: transform;
    margin: 0;
    padding: 0;
}

.image-slide-description {
    position: absolute;
    top: 60%;
    left: 0rem;
    transform: translateY(-50%);
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    overflow: hidden;
    padding: 2rem;
    width: 75%;
}

.description-line {
    position: relative;
    display: block;
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.2;
    transform: translateY(0px);
    will-change: transform;
    margin: 0;
    padding: 0;
    overflow: hidden;
    text-align: left;
    color: white;
}

@media (max-width: 900px) {
    .image-title-overlay {
        bottom: 20px;
        left: 20px;
    }

    .image-slide-number {
        width: 300px;
        height: 18px;
    }

    .image-slide-number span {
        font-size: 10px;
    }

    .image-slide-title {
        width: 300px;
        height: 50px;
    }

    .image-slide-title h1 {
        font-size: 36px;
    }

    .image-slide-description {
        width: 300px;
        min-height: 70px;
    }

    .description-line {
        font-size: 14px;
    }
}

/* Hide placeholder when active */
.split-screen-container.active .zoom-target::before {
    display: none;
}

.zoom-target::before {
    content: "IMAGE TARGET";
    color: rgba(255, 255, 255, 0.5);
    font-family: "TheGoodMonolith", monospace;
    font-size: 0.75em;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.controls-container {
    position: fixed;
    bottom: 1.25em;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 6;
    opacity: 0;
    transition: left 1.2s cubic-bezier(0.87, 0, 0.13, 1);
}

.controls-container.visible {
    opacity: 1;
}

.controls-container.split-mode {
    left: 75%;
}

.percentage-indicator {
    background-color: #f0f0f0;
    background-image: radial-gradient(rgba(0, 0, 0, 0.015) 1px, transparent 0);
    background-size: 0.44em 0.44em;
    background-position: -0.06em -0.06em;
    padding: 0.625em 1.25em;
    border-radius: 0.25em;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "TheGoodMonolith", monospace;
    font-size: 0.75em;
    font-weight: 400;
    text-transform: uppercase;
    color: #333;
    min-width: 5em;
    white-space: nowrap;
}

.switch {
    display: flex;
    gap: 1.25em;
    background-color: #222;
    background-image: radial-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 0 );
    background-size: 0.44em 0.44em;
    background-position: -0.06em -0.06em;
    padding: 0.625em 1.25em;
    border-radius: 0.25em;
    transition: padding 0.3s ease-in-out;
}

.sound-toggle {
    background-color: #f0f0f0;
    background-image: radial-gradient(rgba(0, 0, 0, 0.015) 1px, transparent 0);
    background-size: 0.44em 0.44em;
    background-position: -0.06em -0.06em;
    padding: 0.5em 0.75em;
    border-radius: 0.25em;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 3.75em;
    position: relative;
    border-color: transparent;
}

.sound-wave-canvas {
    width: 2em;
    height: 1em;
    border: none !important;
    outline: none !important;
    background: none !important;
}

.sound-toggle.active .sound-wave-canvas {
    opacity: 1;
}

.sound-toggle:hover .sound-wave-canvas {
    opacity: 0.8;
}

.switch-button {
    background: none;
    border: none;
    border-color: transparent;
    color: #666;
    cursor: pointer;
    font-family: "TheGoodMonolith", monospace;
    font-size: 0.75em;
    font-weight: 400;
    text-transform: uppercase;
    padding: 5px 10px;
    position: relative;
    transition: all 0.3s ease-in-out;
    white-space: nowrap;
}

.switch-button-current {
    color: #f0f0f0;
}

.indicator-dot {
    position: absolute;
    width: 5px;
    height: 5px;
    background-color: #f0f0f0;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    top: 50%;
    transform: translateY(-50%);
    left: -8px;
}

.switch-button:hover .indicator-dot {
    opacity: 1;
}

/* Simple 64px white arrow button */
.close-button {
    position: absolute;
    top: 7rem;
    right: 11rem;
    width: 50px;
    height: 50px;
    background: none;
    border: none;
    border-color: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    opacity: 0;
    pointer-events: none;
    transform: translate(40px, -50%);
}

.close-button.active {
    pointer-events: all;
}

.close-button:hover {
    opacity: 0.7;
}

.close-button svg {
    width: 64px;
    height: 64px;
    transform: rotate(180deg);
}

/* Scaling image overlay */
.scaling-image-overlay {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3;
    pointer-events: none;
    will-change: transform;
    opacity: 1 !important;
}

.scaling-image-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Page vignette effect */
.page-vignette-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
}

/* SCROLL EFECT */

@keyframes stroke {
  from {
    stroke-dashoffse: 5414.29;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes colorFade {
  to {
    background-color: rgb(44, 21, 87);
  }
}
@keyframes reveal {
  from {
    clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0% 100%);
    opacity: 0;
  }
}
@keyframes scaleIn {
  from {
    opacity: 0;
    scale: 0.2;
  }
}
@keyframes revealText {
  from {
    clip-path: polygon(0 0, 0% 0, 0% 100%, 0 100%);
  }
}

.section-scroll {
  font-family: "Montserrat", sans-serif;
  font-size: 100%;
  font-weight: 400;
  margin: 0;
  animation-timeline: scroll();
  padding: 5rem 0 0;
}

.section-scroll img {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  display: block;
  max-width: 100%;
  animation: reveal linear both;
  animation-timeline: view();
  animation-range: 10% 60%;
}

.section-scroll .btn {
  background-color: #205bad;
  border-radius: 99px;
  color: white;
  display: block;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 42px;
  height: 42px;
  padding: 0 40px;
  text-decoration: none;
  transition: background-color 0.4s ease-out;
  width: fit-content;
}
.section-scroll .btn:hover {
  background-color: #de2870;
}

.section-scroll .page-header {
  align-items: center;
  display: flex;
  height: 30vh;
  justify-content: flex-start;
  flex-direction: column;
}

#scroll-section {
  container: inline-size;
  display: grid;
  position: relative;
  min-height: 2700px;
  overflow: visible;
  color: #333;
}

.line-svg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.anim-overview-stroke {
  stroke-dasharray: 5414.29;
  stroke-dashoffset: 5414.29;
  animation: stroke linear forwards;
  animation-timeline: scroll();
  animation-range: 8% 85%;
}

.section-scroll .container {
  grid-column: 1;
  grid-row: 1;
  margin: 0 auto;
  max-width: 1272px;
  position: relative;
  z-index: 2;
}

.page-header h3 {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 49px;
  font-weight: 900;
  text-transform: capitalize;
  font-family: 'Play', sans-serif;
}

.page-header p{
  font-family: "Montserrat", sans-serif;
  max-width: 70%;
  margin: auto;
  font-size: 18px;
  line-height: 24px;
  margin: 1rem auto;
  text-align: center;
}

.section-scroll h4 {
    color: white;
    font-size: 49px;
    font-weight: 900;
    font-family: 'Play';
    position: relative;
    margin-bottom: 4rem;
    top: 5rem;
    width: 50%;
    text-align: center;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    animation: revealText linear both;
    animation-timeline: view();
    animation-range: 15% 16%;
}

.layout-container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

.section-scroll .box {
  background-color: rgb(29, 41, 59);
  color: #fff;
  padding: 3rem;
  opacity: 1;
  scale: 1;
  border-radius: 20px;
  animation: scaleIn linear both;
  animation-timeline: view();
  animation-range: 0% 40vh;
  box-shadow: rgba(255, 107, 157, 0.8) 0px 10px 30px, rgba(255, 107, 157, 0.8) 0px 0px 40px;
}
.section-scroll .box h3 {
  font-size: 38px;
  font-weight: 900;
  margin: 0 0 18px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: 'Play', sans-serif;
}
.section-scroll .box p {
  font-size: 18px;
  line-height: 24px;
  margin: 0 0 1.5em;
  font-family: 'Montserrat', sans-serif;
}

.section-scroll .box-1 {
  grid-column: 4 /span 3;
  grid-row: span 1;
}

.section-scroll .image-1 {
  grid-column: 1 / span 3;
  grid-row: 1 /span 2;
  position: relative;
  top: 5rem;
}

.section-scroll .image-2 {
    align-self: end;
    grid-column: 5 / span 2;
    grid-row: 4;
    position: relative;
    width: 100%;
    top: 5rem;
}

.section-scroll .image-3 {
    grid-column: 1 / span 2;
    margin-top: 0;
    position: relative;
    left: 4rem;
    top: 8rem;
    object-fit: cover;
}

.section-scroll .image-4 {
    align-self: end;
    grid-column: 1 / span 2;
    grid-row: 5;
    position: relative;
    width: 80%;
    height: 70%;
    object-fit: cover;
    top: -4rem;
}

.section-scroll .image-5 {
    grid-column: 5 / span 2;
    align-self: end;
    position: relative;
    top: -6rem;
    left: -4rem;
}

.section-scroll .box-2 {
  grid-column: 1 / span 3;
  margin-top: 8rem;
  grid-row: span 2;
}

.section-scroll .box-3 {
  grid-column: 3 / span 3;
  margin-top: 10em;
}

.section-scroll .box-4 {
    grid-column: 4 / span 3;
    margin-top: 13rem;
    margin-bottom: -5rem;

}

.section-scroll .box-5 {
    grid-column: 1 / span 3;
    margin-top: 9rem;
}

.section-scroll .space {
  height: 20vh;
}

.section-scroll::before,
#technologies-about::before {
    position: absolute;
    width: 8rem;
    height: 8rem;
    top: 3rem;
    right: -1rem;
    background-image: linear-gradient(320deg, #ff20fb, #f424ff, #d42dff, #b139ff, #9742ff, #8d46ff);
    content: "";
    animation: d 5s linear infinite;
    margin-bottom: 1rem;
    z-index: -1;
}

#technologies-about::before{
    right: unset;
    top: -2rem;
    left: -3rem;
}

#single-service #technologies-about {

    &::before {
        top: 2rem;
        left: -3rem;
        width: 8rem;
        height: 8rem;
    }

    .certs-grid {
        display: flex;
        justify-content: center;

        .cert-card {
            .list-technologies {
                .custom-market {
                    margin-bottom: 1.5rem;
                    list-style-type: '\02714';
                    padding-left: 1rem;

                    h4 {
                        font-size: 1.1rem;
                        font-weight: 800;
                        font-family: 'Play';
                    }

                    span {
                        font-size: 18px;
                        display: block;
                        line-height: 24px;
                        margin-top: 0.5rem;
                    }
                }
            }
        }
    }
}

.services {
    padding: 3rem 4rem;
}
.tile {
    position: relative;
    color: #ffffff;
    height: 100%;
}
.headlineServcices {
    color: #333;
    display: flex;
    gap: 1rem;
    flex-direction: column;
    text-align: center;
    margin-bottom: 2rem;
}
.headlineServcices h2 {
    font-size: 49px;
    font-weight: bold;
    text-wrap-style: balance;
}
.headlineServcices p {
    font-size: 18px;
    line-height: 24px;
    max-width: 90%;
    margin: auto;
}
.services-list {
    list-style: inside;
}
.grid {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: grid;
        grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
}

.grid-block {
    width: 100%;
}

.image-grid .grid-block:hover .tile-img,
.image-grid .grid-block:hover .information-person {
    top: -0.2rem;
    left: -0.2rem;
}

.image-grid .tile-img {
    position: relative;
    top: 0;
    left: 0;
    -webkit-transition-property: opacity, top, left, box-shadow;
    transition-property: opacity, top, left, box-shadow;
}

.grid-block:hover .tile-img {
    opacity: 1;
}

.grid-block:hover .tile-img-link {
    display: block;
}

.grid-block:hover .tile-img-link:hover .tile-img {
    opacity: 0.5;
}

.tile-img {
    display: block;
    width: 100%;
    height: 100%;
    opacity: 1;
    -webkit-transition-property: opacity;
    transition-property: opacity;
    -webkit-transition-duration: 0.125s;
    transition-duration: 0.125s;
    -webkit-transition-timing-function: ease-in;
    transition-timing-function: ease-in;
    border-radius: 1rem;
}
.grid-block:hover .tile-img1 {
    box-shadow: 5px 5px rgba(244, 170, 200, 0.4),
    10px 10px rgba(244, 170, 200, 0.3), 15px 15px rgba(244, 170, 200, 0.2),
    20px 20px rgba(244, 170, 200, 0.1), 25px 25px rgba(244, 170, 200, 0.05);
}

.grid-block:hover .tile-img2 {
    box-shadow: 5px 5px rgba(45, 186, 233, 0.4), 10px 10px rgba(45, 186, 233, 0.3),
    15px 15px rgba(45, 186, 233, 0.2), 20px 20px rgba(45, 186, 233, 0.1),
    25px 25px rgba(45, 186, 233, 0.05);
}

.grid-block:hover .tile-img3 {
    box-shadow: 5px 5px rgba(214, 221, 244, 0.4),
    10px 10px rgba(214, 221, 244, 0.3), 15px 15px rgba(214, 221, 244, 0.2),
    20px 20px rgba(214, 221, 244, 0.1), 25px 25px rgba(214, 221, 244, 0.05);
}

.grid-block:hover .tile-img4 {
    box-shadow: 5px 5px rgba(82, 119, 192, 0.4), 10px 10px rgba(82, 119, 192, 0.3),
    15px 15px rgba(82, 119, 192, 0.2), 20px 20px rgba(82, 119, 192, 0.1),
    25px 25px rgba(82, 119, 192, 0.05);
}

.grid-block:hover .tile-img5 {
    box-shadow: 5px 5px rgba(138, 218, 245, 0.4),
    10px 10px rgba(138, 218, 245, 0.3), 15px 15px rgba(138, 218, 245, 0.2),
    20px 20px rgba(138, 218, 245, 0.1), 25px 25px rgba(138, 218, 245, 0.05);
}

.grid-block:hover .tile-img6 {
    box-shadow: 5px 5px rgba(203, 215, 193, 0.4),
    10px 10px rgba(203, 215, 193, 0.3), 15px 15px rgba(203, 215, 193, 0.4),
    20px 20px rgba(203, 215, 193, 0.3), 25px 25px rgba(203, 215, 193, 0.05);
}

.grid-block:hover .tile-img7 {
    box-shadow: 5px 5px rgba(91, 209, 250, 0.4), 10px 10px rgba(91, 209, 250, 0.3),
    15px 15px rgba(91, 209, 250, 0.2), 20px 20px rgba(91, 209, 250, 0.1),
    25px 25px rgba(91, 209, 250, 0.05);
}

.grid-block:hover .tile-img8 {
    box-shadow: 5px 5px rgba(145, 156, 196, 0.4),
    10px 10px rgba(145, 156, 196, 0.3), 15px 15px rgba(145, 156, 196, 0.2),
    20px 20px rgba(145, 156, 196, 0.1), 25px 25px rgba(145, 156, 196, 0.05);
}

.grid-block:hover .tile-img9 {
    box-shadow: 5px 5px rgba(188, 97, 129, 0.4), 10px 10px rgba(188, 97, 129, 0.3),
    15px 15px rgba(188, 97, 129, 0.2), 20px 20px rgba(188, 97, 129, 0.1),
    25px 25px rgba(188, 97, 129, 0.05);
}

.grid-block:hover .tile-img10 {
    box-shadow: 5px 5px rgba(4, 140, 231, 0.4), 10px 10px rgba(4, 140, 231, 0.3),
    15px 15px rgba(4, 140, 231, 0.2), 20px 20px rgba(4, 140, 231, 0.1),
    25px 25px rgba(4, 140, 231, 0.05);
}

.services .information-person {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    display: flex;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0));
    width: 100%;
    align-items: flex-end;
    transition-duration: 0.125s;
    -webkit-transition-timing-function: ease-in;
    transition-timing-function: ease-in;
    -webkit-transition-property: opacity, top, left, box-shadow;
    transition-property: opacity, top, left, box-shadow;
    border-radius: 1rem;
}

/* =============== PORTFOLIO STYLE ===================== */

.banner-portfolio {
    background: -moz-linear-gradient(45deg, #02e1ba 0%, #26c9f2 29%, #d911f2 66%, #ffa079 100%);
    background: -webkit-linear-gradient(45deg, #02e1ba 0%,#26c9f2 29%,#d911f2 66%,#ffa079 100%);
    background: linear-gradient(45deg, #02e1ba 0%,#26c9f2 29%,#d911f2 66%,#ffa079 100%);
    background-size: 400% 400%;
    -webkit-animation: Gradient 15s ease infinite;
    -moz-animation: Gradient 15s ease infinite;
    animation: Gradient 15s ease infinite;
}

.banner-portfolio::before, 
.banner-portfolio::after {
    content: "";
    width: 70vmax;
    height: 70vmax;
    position: absolute;
    background: rgba(255, 255, 255, 0.07);
    left: -20vmin;
    top: -20vmin;
    animation: morph 15s linear infinite alternate, spin 20s linear infinite;
    z-index: 1;
    will-change: border-radius, transform;
    transform-origin: 55% 55%;
    pointer-events: none; 
}

.banner-portfolio::after {
    width: 70vmin;
    height: 70vmin;
    left: auto;
    right: -10vmin;
    top: auto;
    bottom: 0;
    animation: morph 10s linear infinite alternate, spin 26s linear infinite reverse;
    transform-origin: 20% 20%; 
}

@-webkit-keyframes Gradient {
    0% {
        background-position: 0 50%
    }
    50% {
        background-position: 100% 50%
    }
    100% {
        background-position: 0 50%
    }
}

@-moz-keyframes Gradient {
    0% {
        background-position: 0 50%
    }
    50% {
        background-position: 100% 50%
    }
    100% {
        background-position: 0 50%
    }
}

@keyframes Gradient {
    0% {
        background-position: 0 50%
    }
    50% {
        background-position: 100% 50%
    }
    100% {
        background-position: 0 50%
    }
}

@keyframes morph {
    0% {
        border-radius: 40% 60% 60% 40% / 70% 30% 70% 30%; }
    100% {
        border-radius: 40% 60%; } 
}

@keyframes spin {
    to {
        transform: rotate(1turn); 
    } 
}

.portfolio {
    padding: 3rem 4rem 0;
}

.gallery-js {
    --gap: 1.5rem;
    width: 100%;
    display: flex;
    margin-top: 2rem;
    gap: var(--gap);
}

.gallery-js .main{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 60%;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .15);
    align-items: center;
}

.main-media{
    display: none;
    border: 2px solid rgb(150 0 255);
    border-radius: 0.8rem;
    box-shadow: rgba(150, 0, 255, 0.2) 0px 5px 20px;
    width: 100%;
}

.main-media.is-active{
    display:block;
}

.main-caption{
    padding: 0 .7rem;
    color: #333;
    font-size: 49px;
    font-family: 'Play';
    font-weight: 600;
    width: 100%;
    text-align: center;
    margin-bottom: 2rem;
}

.gallery-js .thumbs{
    width: 40%;
    display: flex;
    flex-wrap: wrap;
    max-height: 710px;
    overflow: hidden;
    gap: 1rem
}

.thumb{
    position: relative;
    overflow: hidden;
    border: 2px solid #00bdff;
    cursor: pointer;
    display: block;
    padding: 0;
    border-radius: 0.5rem;
    height: fit-content;
    width: 45%;
    flex-grow: 1;
}

.thumb img{
    width:100%;
    height:100%;
    object-fit:contain;
    transition: all 0.25s ease;
}

.thumb:hover img{ 
    opacity:.6;
    transform: scale(1.1);
}

.thumb.is-active,
.thumb:hover{
    border-color: #9600ff;
}