@layer reset, theme, layout, components, utilities;

@layer reset {
    /* All elements */
    *,
    *::before,
    *::after {
        box-sizing: border-box;
        user-select: none;
        margin: 0;
        padding: 0;
        border: none;
        -moz-osx-font-smoothing: grayscale;
        -webkit-font-smoothing: antialiased;
        text-rendering: optimizeLegibility;
        line-height: 1em;
    }

    html {
        scroll-behavior: smooth;
    }

    /* Lists */
    ol,
    ul,
    li {
        list-style: none;
    }

    /* Links */
    a,
    a:hover {
        display: inline-flex;
        align-items: center;
        text-decoration: none;
    }

    /* Media */
    img,
    picture,
    video {
        max-width: 100%;
        pointer-events: none;
        object-fit: cover;
    }

    span {
        display: inline-block;
    }

    /* Others */
    ::-webkit-scrollbar {
        display: none;
    }

    ::selection {
        background: var(--primary-32);
        color: white;
    }
}

@layer theme {
    :root {
        /* Color Styles */
        --primary-values: 255, 87%, 64%;
        --primary: hsl(var(--primary-values));
        --primary-0: hsla(var(--primary-values), 0%);
        --primary-8: hsla(var(--primary-values), 8%);
        --primary-16: hsla(var(--primary-values), 16%);
        --primary-24: hsla(var(--primary-values), 24%);
        --primary-32: hsla(var(--primary-values), 32%);
        --primary-64: hsla(var(--primary-values), 64%);
        --primary-dark: hsl(255, 87%, 4%);

        --secondary-values: 0, 0%, 100%;
        --secondary: hsl(var(--secondary-values));
        --secondary-0: hsla(var(--secondary-values), 0%);
        --secondary-8: hsla(var(--secondary-values), 8%);
        --secondary-16: hsla(var(--secondary-values), 16%);
        --secondary-32: hsla(var(--secondary-values), 32%);
        --secondary-64: hsla(var(--secondary-values), 64%);

        /* Stroke */
        --stroke-gradient-1: linear-gradient(var(--secondary-16), var(--secondary-0));
        --stroke-gradient-2: linear-gradient(to right, var(--primary-0), var(--primary-16), var(--primary-0));

        /* Text */
        --text-gradient-1: linear-gradient(180deg, var(--secondary) 50%, var(--primary) 100%);
        --text-gradient-2: linear-gradient(to bottom right, var(--primary), var(--secondary), var(--primary));
    }

    body {
        /* Font Styles */
        font-family: "Onest", sans-serif;
        font-size: 16px;
        font-weight: 400;
        color: var(--secondary-64);
        background: hsl(255, 87%, 4%);
    }
}

@layer layout {
}

/*

    Typography: Headings, Paragraphs, Blockquotes, Lists, Code Blocks.
    Navigation: Menus, Breadcrumbs, Pagination, Tabs, Sidebars.
    Buttons: Primary, Secondary, Tertiary Buttons, Icon Buttons, Toggle Buttons.
    Forms: Text Inputs, Textarea, Select Dropdowns, Checkboxes, Radio Buttons, Switches, Sliders, Date Pickers, File Uploaders, Form Labels, Validation Messages.
    Cards: Product Cards, User Profile Cards, Information Cards.
    Containers: Panels, Boxes, Grids, Sections.
    Media: Image, Video, Audio, Carousel, Lightbox/Modal.
    Tables: Data Tables, Sortable Columns, Pagination.
    Overlays: Modals, Popovers, Tooltips.
    Indicators: Progress Bars, Spinners, Loaders, Toast Notifications, Badges.
    Miscellaneous: Accordions, Collapsible Sections, Tags, Ratings, Avatars.

*/

@layer components {
    /* 

    ╔════════════════╗
        TYPOGRAPHY    
    ╚════════════════╝

    */

    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    :is(h1, h2, h3, h4, h5, h6) > span {
        color: transparent;
        background: var(--text-gradient-1);
        background-clip: text;
        -webkit-background-clip: text;
        font-weight: 500;
        line-height: 1.25em;
    }

    h1 {
        font-size: 48px;
    }

    h2 {
        font-size: 40px;
    }

    h3 {
        font-size: 32px;
    }

    h4 {
        font-size: 24px;
    }

    h5 {
        font-size: 20px;
    }

    h6 {
        font-size: 16px;
    }

    p {
        font-size: 16px;
        font-weight: 400;
        line-height: 1.5em;
    }

    p.contain {
        max-width: 640px;
    }

    /* 

    ╔════════════════╗
        CONTAINERS    
    ╚════════════════╝

    */

    .content-grid {
        --_content-max-width: 1280px;
        --_breakout-max-width: 1440px;
        --_padding-inline: 32px;

        display: grid;
        grid-template-columns:
            [full-width-start] minmax(var(--_padding-inline), 1fr)
            [breakout-start] minmax(0, calc((var(--_breakout-max-width) - var(--_content-max-width)) / 2))
            [content-start] min(100% - (var(--_padding-inline) * 2), var(--_content-max-width)) [content-end]
            minmax(0, calc((var(--_breakout-max-width) - var(--_content-max-width)) / 2)) [breakout-end]
            minmax(var(--_padding-inline), 1fr) [full-width-end];
    }

    .content-grid > * {
        grid-column: content;
        transition: 1s ease-out;
    }

    .content-grid > .breakout {
        grid-column: breakout;
    }

    .content-grid > .full-width {
        grid-column: full-width;
    }

    /* 

    ╔══════════════╗
        SECTIONS    
    ╚══════════════╝

    */

    section {
        position: relative;
        padding: 128px 0;
        row-gap: 64px;
        overflow: hidden;
    }

    section header {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 24px;
    }

    section .p-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 24px;
    }

    #our-vision {
        padding-top: 320px;
    }

    #hero {
        background: radial-gradient(ellipse closest-side at center, var(--primary-24), var(--primary-0)),
            radial-gradient(circle closest-corner at center top, var(--primary-16), var(--primary-0));
        row-gap: 128px;
    }

    .hero-bg-wrapper {
        width: 1024px;
        position: absolute;
        left: 50%;
        top: 4px;
        z-index: -1;
        translate: -50% -50%;
        mask: radial-gradient(50% 50% at 50% 50%, white 64%, transparent 100%);
        -webkit-mask: radial-gradient(50% 50% at 50% 50%, white 64%, transparent 100%);
    }

    .vision-bg-wrapper {
        width: 640px;
        position: absolute;
        left: 50%;
        top: 50%;
        z-index: -1;
        translate: -50% -60%;
        mix-blend-mode: lighten;
    }

    #particles {
        position: absolute;
        inset: 0;
    }

    #services {
        background: radial-gradient(480px 480px at center 480px, var(--primary-24), var(--primary-0)),
            radial-gradient(480px 480px at center 55%, var(--primary-24), var(--primary-0));
    }

    #latest-projects,
    #contact-us {
        background: radial-gradient(circle farthest-side at center, var(--primary-24), var(--primary-0));
    }

    #contact-us {
        justify-items: center;
    }

    .cards-container {
        display: flex;
        flex-direction: column;
        align-items: start;
        gap: 32px;
    }

    .card {
        --_p: 8px;
        --_br: 24px;
        --_bw: 1px;
        position: relative;
        display: flex;
        flex-direction: column;
        padding: var(--_p);
        border-radius: var(--_br);
        background: var(--primary-8);
        box-shadow: inset 0px 0px 8px var(--primary-32);
    }

    .animated-stroke-container {
        position: absolute;
        inset: 0;
        z-index: 1;
        padding: var(--_bw); /* Border Width */
        border-radius: inherit;
        mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        mask-composite: xor;
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        -webkit-mask-composite: exclude;
        pointer-events: none;
    }

    .animated-stroke {
        width: calc(100% / 3);
        height: calc(100% / 3);
        position: absolute;
        left: 0;
        top: 0;
        background-image: radial-gradient(circle closest-corner at top center, white, #e575f0, var(--primary), var(--primary-0));
        animation: hero-preview-animation-line 10s linear infinite;
        transform-origin: top right;
        translate: -50% 250%;
        rotate: 0deg;
    }

    .animated-stroke:nth-child(2) {
        animation-delay: 5s;
    }

    @keyframes hero-preview-animation-line {
        0% {
            translate: -50% 250%;
            rotate: 0deg;
        }

        20% {
            translate: -50% 50%;
            rotate: 0deg;
        }

        25% {
            translate: -50% 50%;
            rotate: 90deg;
        }

        45% {
            translate: 150% 50%;
            rotate: 90deg;
        }

        50% {
            translate: 150% 50%;
            rotate: 180deg;
        }

        70% {
            translate: 150% 250%;
            rotate: 180deg;
        }

        75% {
            translate: 150% 250%;
            rotate: 270deg;
        }

        95% {
            translate: -50% 250%;
            rotate: 270deg;
        }

        100% {
            translate: -50% 250%;
            rotate: 360deg;
        }
    }

    .card > .card-inner {
        --_innerbr: calc(var(--_br) - var(--_p));
        position: relative;
        border-radius: var(--_innerbr);
        box-shadow: inset 0px 0px 64px var(--primary-32);
    }

    .card > .card-inner::after {
        --_afterbr: calc(var(--_innerbr) + var(--_bw));
        content: "";
        position: absolute;
        inset: calc(var(--_bw) * -1); /* Outline offset */
        padding: var(--_bw); /* Border Width */
        border-radius: var(--_afterbr);
        background: var(--stroke-gradient-1);
        mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        mask-composite: xor;
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        -webkit-mask-composite: exclude;
        pointer-events: none;
    }

    .card-inner > * {
        border-radius: inherit;
    }

    .card > header {
        gap: 16px;
        padding: 32px;
    }

    .card picture > img {
        width: 100%;
        aspect-ratio: 1;
    }

    .hero-video {
        flex: 1;
        aspect-ratio: 9/16;
        background: black;
    }

    .slide-gallery {
        overflow-x: scroll;
        overflow-y: hidden;
        margin: 0 -32px; /* Counter the section padding */
        mask: linear-gradient(to right, transparent, white calc(100% / 3), white calc(100% / 3 * 2), transparent);
        -webkit-mask: linear-gradient(to right, transparent, white calc(100% / 3), white calc(100% / 3 * 2), transparent);
    }

    .slide-gallery:active {
        cursor: grab;
    }

    .slide-gallery .items-container {
        display: grid;
        gap: 32px;
        padding: 0 32px;
        grid-template-rows: 1fr;
        grid-auto-flow: column;
        width: -moz-fit-content;
        width: fit-content;
    }

    .gallery-item picture {
        width: 240px;
    }

    picture > i {
        position: absolute;
        top: 8px;
        left: 8px;
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }

    #contact-form {
        width: 100%;
        max-width: 480px;
        padding: 0;
    }

    #contact-form > header {
        padding: 16px;
    }

    #contact-form form {
        flex: 1;
        display: flex;
        overflow: hidden;
    }

    #contact-form fieldset {
        min-width: 100%;
        display: flex;
        flex-direction: column;
    }

    legend {
        display: none;
    }

    .chat,
    .personal-information {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 32px;
        padding: 16px;
        border-width: 1px 0;
        border-style: solid;
        border-color: var(--secondary-16);
    }

    .input-container {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .chat .message-wrapper {
        display: flex;
        gap: 8px;
    }

    .chat .messages-container {
        display: flex;
        flex-direction: column;
        align-items: start;
        gap: 8px;
    }

    .chat .message {
        --_bw: 1px;
        position: relative;
        padding: 16px;
        border-radius: 8px 24px 24px;
        background: var(--primary-16);
        box-shadow: inset 0px 0px 8px var(--primary-32);
    }

    #contact-form .cta-container {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 12px;
    }

    .cta-container button {
        justify-content: center;
    }

    #message {
        resize: none;
        transition: 1s cubic-bezier(0.23, 1, 0.32, 1);
    }

    .bg-circles {
        width: 1024px;
        position: absolute;
        left: 50%;
        translate: -50%;
        top: 140px;
        z-index: -1;
        aspect-ratio: 2;
        overflow: hidden;
    }

    .circle {
        --_bw: 1px;
        --_br: 50%;
        width: 1024px;
        height: 1024px;
        position: absolute;
        left: 50%;
        translate: -50%;
        border-radius: var(--_br);
        background-image: linear-gradient(to right, var(--primary-dark), var(--primary-0), var(--primary-dark)),
            radial-gradient(ellipse closest-side at center, var(--primary-dark) 80%, hsl(255, 87%, 8%));
    }

    .circle::after {
        content: "";
        position: absolute;
        inset: 0; /* Outline offset */
        padding: var(--_bw); /* Border Width */
        background: linear-gradient(to right, var(--secondary-0), var(--secondary-16), var(--secondary-0));
        border-radius: var(--_br);
        mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        mask-composite: xor;
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        -webkit-mask-composite: exclude;
        pointer-events: none;
    }

    .light {
        width: 640px;
        height: 520px;
        position: absolute;
        left: 50%;
        translate: -50%;
        border-radius: 50%;
        background: var(--primary-32);
        animation: circle 5s linear infinite;
        filter: blur(32px);
    }

    .circle:nth-child(1) {
        top: 0;
        z-index: 1;
        scale: 0.9;
    }
    .light:nth-child(2) {
        top: 360px;
        z-index: 2;
    }
    .circle:nth-child(3) {
        top: 160px;
        z-index: 3;
    }
    .light:nth-child(4) {
        top: 440px;
        z-index: 4;
        animation-direction: reverse;
    }
    .circle:nth-child(5) {
        top: 320px;
        z-index: 5;
        scale: 1.1;
    }

    /* 

    ╔════════════╗
        LOADER    
    ╚════════════╝

    */

    #loader {
        position: fixed;
        inset: 0;
        z-index: 999999;
        display: flex;
        align-items: center;
        justify-content: center;
        background: black;
        transition: 1s cubic-bezier(0.23, 1, 0.32, 1);
    }

    #loader.loaded {
        opacity: 0;
        visibility: hidden;
    }

    /* 

    ╔════════════╗
        NAVBAR    
    ╚════════════╝

    */

    #nav-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 9999;
        align-items: center;
        padding: 24px 0;
    }

    #nav-header > nav > ul {
        position: relative;
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .nav-container-mobile {
        visibility: hidden;
        opacity: 0;
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);

        position: fixed;
        inset: 0;
        transition: 1s cubic-bezier(0.23, 1, 0.32, 1);
    }

    #nav-header[data-open="true"] .nav-container-mobile {
        visibility: visible;
        opacity: 1;
    }

    .nav-container-mobile > ul {
        --nav-height: 90px;
        width: 100%;
        height: 100%;
        display: grid;
        /* justify-content: center;
        align-items: center; */

        grid-template-rows: repeat(auto-fill, 1fr);
        grid-auto-flow: row;
        gap: 1rem;
        padding: 1rem;
        padding-top: var(--nav-height);
        translate: 0 100%;
        transition: 1s cubic-bezier(0.23, 1, 0.32, 1);
    }

    #nav-header[data-open="true"] .nav-container-mobile > ul {
        visibility: visible;
        opacity: 1;
        translate: 0;
    }

    .nav-container-mobile > ul > li {
        translate: 0 100%;
        transition: 1s cubic-bezier(0.23, 1, 0.32, 1);
    }

    .nav-container-mobile > ul > li > * {
        width: 100%;
        height: 100%;
    }

    /* 
    
    ┌──────────┐
        Logo    
    └──────────┘
    
    */

    .mr-auto {
        margin-right: auto;
    }

    .logo {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .wordmark {
        color: var(--secondary);
        font-size: 24px;
        font-weight: 600;
        line-height: 1em;
    }

    /* 
        
    ┌─────────┐
        CTA    
    └─────────┘
        
    */

    a[href="#contact-us"] {
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }

    #nav-header :is(.logo, .mobile-cta, .desktop-cta) {
        position: relative;
        z-index: 1;
        transition: 1s cubic-bezier(0.23, 1, 0.32, 1);
    }

    #contact-us-button {
        visibility: visible;
        opacity: 1;
        position: fixed;
        z-index: 999;
        bottom: 1rem;
        right: 1rem;
        border-radius: 9999px;
        padding: 1rem;
        font-size: 1.5rem;
        backdrop-filter: blur(0.5rem);
        -webkit-backdrop-filter: blur(0.5rem);
    }

    #contact-us-button[contact-button-visibility="hidden"] {
        visibility: hidden;
        opacity: 0;
    }

    /*

    ──── Body Scrolled ────
    
    */

    body[scrolled="down"] #nav-header::before {
        opacity: 0;
    }

    body[scrolled="down"] #nav-header .logo {
        opacity: 0;
        translate: -16px;
        visibility: hidden;
    }

    body[scrolled="down"] #nav-header :is(.mobile-cta, .desktop-cta) {
        opacity: 0;
        translate: 16px;
        visibility: hidden;
    }

    /* 

    ╔════════════╗
        BUTTON    
    ╚════════════╝

    */

    button,
    [role="button"],
    input[type="submit"] {
        position: relative;
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 16px;
        border-radius: 12px;
        background: transparent;
        color: var(--secondary-64);
        font-size: 14px; /* TODO - Add class sizes */
        white-space: nowrap;
        cursor: pointer;
        transition: 1s cubic-bezier(0.23, 1, 0.32, 1);
    }

    /* 
    
    ──── Primary ────

    */

    :is(button, [role="button"], input[type="submit"]).primary {
        --_bw: 1px;
        background: var(--primary-16);
        box-shadow: inset 0px 0px 8px var(--primary-32);
    }

    :is(button, [role="button"], input[type="submit"]).primary::after,
    .card::after,
    .message::after {
        content: "";
        position: absolute;
        inset: 0; /* Outline offset */
        padding: var(--_bw); /* Border Width */
        background: var(--stroke-gradient-1);
        border-radius: inherit;
        mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        mask-composite: xor;
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        -webkit-mask-composite: exclude;
        pointer-events: none;
    }

    :is(button, [role="button"], input[type="submit"]).primary > span {
        color: transparent;
        background: var(--text-gradient-1);
        background-clip: text;
        -webkit-background-clip: text;
    }

    /* 
    
    ──── Primary States ────

    */

    :is(button, [role="button"], input[type="submit"]).primary:active {
        background: var(--primary-16);
        box-shadow: inset 0px 0px 16px var(--primary-64);
    }

    /* 
    
    ──── Secondary ────

    */

    :is(button, [role="button"], input[type="submit"]).secondary {
        border: 1px solid var(--primary-16);
    }

    /* 
    
    ──── Chip ────

    */

    :is(button, [role="button"], input[type="submit"]).chip {
        gap: 8px;
        padding: 8px 12px;
        border-radius: 100px;
    }

    /* 

    ╔══════════╗
        LINK    
    ╚══════════╝

    */
    a {
        cursor: pointer;
    }

    span > a {
        position: relative;
        color: var(--primary);
    }

    span > a::after {
        content: "";
        width: 0%;
        height: 1px;
        position: absolute;
        left: 0;
        bottom: -4px;
        border-radius: 0.5px;
        background: var(--primary);
        transition: 1s cubic-bezier(0.23, 1, 0.32, 1);
    }

    span > a:hover::after {
        width: 100%;
    }

    /* 

    ╔═══════════╗
        INPUT    
    ╚═══════════╝

    */

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea {
        position: relative;
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 16px;
        border-radius: 12px;
        border: 1px solid var(--primary-16);
        background: transparent;
        color: var(--secondary-64);
        font-family: "Onest", sans-serif;
        font-size: 16px;
        font-weight: 400;
    }

    :is(input[type="text"], input[type="email"], input[type="tel"], textarea)::placeholder {
        color: var(--secondary-32);
    }

    /* 

    ╔════════════╗
        FOOTER    
    ╚════════════╝

    */

    footer {
        padding: 64px 0;
        background: radial-gradient(circle farthest-side at center bottom, var(--primary-24), var(--primary-0));
    }

    footer p {
        font-size: 14px;
    }

    footer :is(nav, .legal-container) {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        gap: 32px;
    }

    footer > * {
        --_bw: 1px;
        position: relative;
        padding: 64px 0;
    }

    footer > *::after {
        content: "";
        position: absolute;
        inset: 0; /* Outline offset */
        padding-top: var(--_bw); /* Border Width */
        background: var(--stroke-gradient-2);
        mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        mask-composite: xor;
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        -webkit-mask-composite: exclude;
        pointer-events: none;
    }

    footer :is(nav > ul, .agreements-container, .contacts-container) {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }

    .cookie-banner {
        position: fixed;
        z-index: 9999;
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
        display: flex;
        justify-content: center;
        transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
    }

    .cookie-banner.fade-out {
        opacity: 0;
        transform: translateY(100%);
        visibility: hidden;
    }

    .cookie-banner > div {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 1rem;
        border: 1px solid var(--primary-16);
        border-radius: 1rem;
        background-color: var(--primary-32);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }

    .cookie-banner p {
        flex: 1;
    }

    .cookie-buttons {
        display: flex;
        gap: 0.5rem;
    }

    /* 
    ╔══════════╗
      POSITION
    ╚══════════╝
    */

    /*

        ╔═══════════════╗
            COMPONENT    
        ╚═══════════════╝

        ┌──────────────────┐
            Subcomponent    
        └──────────────────┘

        ──── Variations ────

        Note: Lorem ipsum dolor sit amet.

        */

    /* ! ----------- */

    /* Small + Medium devices (portrait tablets, large phones and landscape tablets, 991 and down) */
    @media only screen and (max-width: 991px) {
        /* 

        ╔════════════╗
            NAVBAR    
        ╚════════════╝

        */

        #nav-header::before {
            content: "";
            position: absolute;
            inset: 0;
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            opacity: 1;
            transition: 1s cubic-bezier(0.23, 1, 0.32, 1);
        }

        /* 
    
        ┌─────────┐
            Nav    
        └─────────┘
    
        */

        /* 
        
        ┌─────────┐
            CTA    
        └─────────┘
        
        */

        .desktop-cta {
            display: none;
        }

        .mobile-cta {
            display: flex;
            padding: 8px;
            border-radius: 12px;
        }

        .line {
            stroke: var(--secondary);
            stroke-width: 2;
            transition: 0.5s cubic-bezier(0.23, 1, 0.32, 1);
            stroke-linecap: round;
            transform-origin: center;
        }

        .line1 {
            translate: 0 -4px;
        }

        .line2 {
            translate: 0 4px;
        }

        /* 
    
        ──── Navbar Open ────

        */

        #nav-header[data-open="true"]::before {
            opacity: 0;
        }

        #nav-header[data-open="true"] .mobile-cta {
            background: var(--primary-16);
        }

        #nav-header[data-open="true"] .line {
            translate: 0 0;
        }

        #nav-header[data-open="true"] .line1 {
            transform: rotate(45deg);
        }

        #nav-header[data-open="true"] .line2 {
            transform: rotate(-45deg);
        }

        .cookie-banner > div {
            max-width: 480px;
            flex-direction: column;
            align-items: start;
        }

        .cookie-banner .cookie-buttons {
            width: 100%;
        }

        .cookie-banner button {
            flex: 1;
            justify-content: center;
        }
    }

    /* Large devices (laptops/desktops, 992px and up) */
    @media only screen and (min-width: 992px) {
        #contact-us-button {
            display: none;
        }

        h1 {
            font-size: 80px;
        }

        h2 {
            font-size: 64px;
        }

        h3 {
            font-size: 48px;
        }

        h4 {
            font-size: 32px;
        }

        h5 {
            font-size: 24px;
        }

        h6 {
            font-size: 20px;
        }

        .content-grid {
            --_padding-inline: 64px;
        }

        #nav-header > nav li:last-child {
            display: none;
        }

        .mobile-cta {
            display: none;
        }

        .desktop-cta {
            display: flex;
        }

        #hero {
            row-gap: 192px;
        }

        .hero-video {
            aspect-ratio: 16/9;
        }

        .hero-bg-wrapper {
            width: 1440px;
        }

        .vision-bg-wrapper {
            width: 1024px;
        }

        #services {
            background: radial-gradient(ellipse closest-side at 50% 24%, var(--primary-24), var(--primary-0)),
                radial-gradient(ellipse closest-side at 50% 64%, var(--primary-24), var(--primary-0));
        }

        .cards-container {
            flex-direction: row;
        }

        #services .cards-container:nth-of-type(1) .card:is(:nth-child(1), :nth-child(3)),
        #services .cards-container:nth-of-type(2) .card:nth-child(2) {
            margin-top: 128px;
        }

        #latest-projects,
        #contact-us {
            background: radial-gradient(ellipse farthest-side at center, var(--primary-24), var(--primary-0));
        }

        .slide-gallery {
            margin: 0 -64px; /* Counter the section padding */
        }

        .slide-gallery:active {
            cursor: grab;
        }

        .slide-gallery .items-container {
            padding: 0 64px;
        }

        .gallery-item picture {
            width: 320px;
        }

        footer {
            background: radial-gradient(ellipse farthest-side at center bottom, var(--primary-24), var(--primary-0));
        }

        footer :is(nav, .legal-container) {
            flex-direction: row;
        }

        /* 

        ╔════════════╗
            BUTTON    
        ╚════════════╝

        */

        /* 
    
        ──── States ────

        */

        :is(button, [role="button"], input[type="submit"]):is(:active, :hover, :focus-visible) {
            background: var(--primary-16);
            color: var(--secondary);
        }

        /* 
    
        ──── Primary States ────

        */

        :is(button, [role="button"], input[type="submit"]).primary:is(:hover, :focus-visible) {
            background: var(--primary-16);
            box-shadow: inset 0px 0px 16px var(--primary-64);
        }

        :is(button, [role="button"], input[type="submit"]):is(:disabled, [disabled]) {
            opacity: 32%;
            background: none;
            color: white !important;
            box-shadow: none !important;
            cursor: not-allowed;
            filter: grayscale(1);
        }
    }
}

@keyframes circle {
    0% {
        transform: rotate(0deg) translateY(-192px) rotate(0deg);
    }
    100% {
        transform: rotate(360deg) translateY(-192px) rotate(-360deg);
    }
}
