/* =========================
   GLOBAL SETTINGS
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    background: #171717;
    color: #f5f3ef;
    font-family: "DM Sans", sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
}

:root {
    --background: #171717;
    --surface: #202020;
    --white: #f5f3ef;
    --grey: #a5a29e;
    --purple: #a77aff;
    --border: rgba(255,255,255,0.13);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

.section {
    padding: 110px 9%;
}

.eyebrow,
.section-label {
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--purple);
}

h1,
h2,
h3,
.logo {
    font-family: "Space Grotesk", sans-serif;
}

h2 {
    font-size: clamp(38px, 5vw, 65px);
    line-height: 1.15;
    letter-spacing: -2px;
}

h2 span {
    color: var(--purple);
}


/* =========================
   NAVIGATION
========================= */

.header {
    height: 85px;
    padding: 0 9%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    position: sticky;
    top: 0;
    z-index: 100;

    background: rgba(23,23,23,0.96);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(15px);
}

.logo {
    font-size: 25px;
    font-weight: 700;
    letter-spacing: -1.5px;
}

.logo span {
    color: var(--purple);
}

.navigation {
    display: flex;
    align-items: center;
    gap: 30px;
}

.navigation a {
    font-size: 12px;
    color: #c9c6c2;
    transition: 0.3s;
}

.navigation a:hover {
    color: var(--purple);
}

.navigation .nav-button {
    background: var(--purple);
    color: #171717;
    padding: 12px 18px;
    border-radius: 4px;
    font-weight: 700;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 22px;
    cursor: pointer;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 690px;

    display: grid;
    grid-template-columns: 1fr 0.85fr;
    align-items: center;
    gap: 65px;
}

.hero h1 {
    font-size: clamp(48px, 6vw, 78px);
    line-height: 1.08;
    letter-spacing: -4px;
    margin: 25px 0;
}

.hero h1 span {
    color: var(--purple);
}

.hero-content > p {
    color: var(--grey);
    font-size: 15px;
    max-width: 510px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 35px;
    flex-wrap: wrap;
}

.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;

    padding: 14px 20px;
    border-radius: 4px;

    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.primary-button {
    background: var(--purple);
    color: #171717;
    border: 1px solid var(--purple);
}

.primary-button:hover {
    background: #c2a2ff;
    transform: translateY(-3px);
}

.secondary-button {
    border: 1px solid var(--border);
    color: white;
}

.secondary-button:hover {
    border-color: var(--purple);
}

.hero-location {
    margin-top: 40px;
    color: var(--grey);
    font-size: 16px;
}

.hero-location i {
    color: var(--purple);
    margin-right: 8px;
}


/* HERO VISUAL */

.hero-visual {
    position: relative;
}

.visual-main {
    height: 420px;
    background: #252128;
    border: 1px solid #ffffff1a;

    padding: 22px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.visual-top,
.visual-bottom {
    display: flex;
    justify-content: space-between;

    font-size: 9px;
    letter-spacing: 1.5px;
    color: #aaa2b4;
}

.visual-center {
    text-align: center;
}

.visual-symbol {
    font: 700 120px/1 "Space Grotesk";
    color: var(--purple);
}

.visual-symbol span {
    color: white;
}

.visual-center h2 {
    font-size: 36px;
    letter-spacing: 2px;
    margin-top: 15px;
}

.visual-center p {
    font-size: 8px;
    letter-spacing: 3px;
    margin-top: 15px;
    color: #a8a0b1;
}

.visual-caption {
    text-align: right;
    font-size: 10px;
    color: var(--grey);
    margin-top: 12px;
}


/* =========================
   INTRODUCTION
========================= */

.intro {
    display: grid;
    grid-template-columns: 0.5fr 1.5fr;
    gap: 70px;

    background: #f1efeb;
    color: #202020;
}

.intro .section-label {
    color: #7551b3;
}

.intro-content {
    max-width: 850px;
}

.intro h2 {
    font-size: clamp(38px, 5vw, 66px);
}

.intro h2 span {
    color: #8053c7;
}

.intro p {
    max-width: 680px;
    font-size: 18px;
    color: #66615e;
    margin-top: 25px;
}

.text-link {
    display: inline-flex;
    gap: 15px;
    margin-top: 30px;
    font-size: 14px;
    font-weight: 700;
    color: #7544bc;
}


/* =========================
   SERVICES
========================= */

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 35px;
    margin-bottom: 55px;
}

.section-heading h2 {
    margin-top: 15px;
}

.section-heading > p {
    max-width: 350px;
    font-size: 13px;
    color: var(--grey);
}

.services-list {
    border-top: 1px solid var(--border);
}

.service-item {
    display: grid;
    grid-template-columns: 0.3fr 1.4fr 1fr 40px;
    align-items: center;
    gap: 30px;

    padding: 35px 5px;

    border-bottom: 1px solid var(--border);

    transition: 0.3s;
}

.service-item:hover {
    padding-left: 18px;
    background: #ffffff05;
}

.service-number {
    color: var(--purple);
    font-size: 12px;
}

.service-main h3 {
    font-size: 23px;
    margin-bottom: 8px;
}

.service-main p {
    max-width: 430px;
    font-size: 16px;
    color: var(--grey);
}

.service-detail {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-detail span {
    font-size: 9px;
    padding: 6px 9px;
    border: 1px solid var(--border);
    border-radius: 3px;
    color: #c5c0ca;
}

.service-item > a {
    color: var(--purple);
}


/* =========================
   PROJECTS
========================= */

.work {
    background: #f1efeb;
    color: #202020;
}

.work .eyebrow {
    color: #8053c7;
}

.work .section-heading > p {
    color: #716c68;
}

.work-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.project-image {
    height: 350px;
    padding: 20px;
    overflow: hidden;
}

.project-one {
    background: #d9d4cb;
}

.project-two {
    background: #d7d2df;
}
.project-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
    border-radius: 8px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.mock-dashboard {
    height: 100%;
    background: #f8f7f9;
    display: flex;
    color: #24202c;
}

.dashboard-sidebar {
    width: 30%;
    background: #211b2d;
    color: white;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    font-size: 9px;
}

.dashboard-sidebar b {
    font-size: 14px;
    color: #c3a1ff;
}

.dashboard-content {
    padding: 18px;
    flex: 1;
}

.dashboard-content h3 {
    font-size: 18px;
    margin-bottom: 18px;
}

.dashboard-box {
    height: 35px;
    display: inline-block;
    width: 43%;
    margin-right: 4%;
    background: #e6e0ef;
}

.dashboard-chart {
    height: 130px;
    margin-top: 15px;
    background: linear-gradient(155deg, #e9e1f5, #c8b4e9);
}

.project-info {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.project-info span {
    font-size: 9px;
    letter-spacing: 1px;
    color: #8053c7;
}

.project-info h3 {
    font-size: 19px;
    margin-top: 5px;
}

.project-type {
    align-self: center;
    border: 1px solid #bbb1c8;
    padding: 6px 9px;
}

.portfolio-note {
    font-size: 10px;
    color: #746e68;
}


/* =========================
   DIFFERENCE
========================= */

.difference-heading {
    margin-bottom: 55px;
}

.difference-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
}

.difference-grid > div {
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

.difference-grid span {
    color: var(--purple);
    font-size: 11px;
}

.difference-grid h3 {
    font-size: 18px;
    margin: 20px 0 10px;
}

.difference-grid p {
    color: var(--grey);
    font-size: 12px;
}


/* =========================
   PROCESS
========================= */

.process {
    background: #242128;
}

.process h2 {
    max-width: 650px;
    margin-top: 20px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 65px;
    border-top: 1px solid var(--border);
}

.process-grid > div {
    padding: 25px 20px 10px 0;
    border-right: 1px solid var(--border);
}

.process-grid > div:not(:first-child) {
    padding-left: 20px;
}

.process-grid > div:last-child {
    border: none;
}

.process-grid span {
    color: var(--purple);
    font-size: 12px;
}

.process-grid h3 {
    margin: 20px 0 10px;
    font-size: 20px;
}

.process-grid p {
    font-size: 12px;
    color: var(--grey);
}


/* =========================
   LOCATION
========================= */

.location-section {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 70px;
    align-items: center;
    background: #f1efeb;
    color: #202020;
}

.location-section .eyebrow {
    color: #8053c7;
}

.location-description p {
    color: #68635f;
    font-size: 16px;
    margin-bottom: 18px;
}


/* =========================
   CONTACT
========================= */

.contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
}

.contact-heading h2 {
    margin-top: 20px;
}

.contact-heading p {
    color: var(--grey);
    font-size: 13px;
    margin-top: 25px;
    max-width: 400px;
}

.contact form label {
    display: block;
    font-size: 11px;
    color: #d5d0dc;
    margin-bottom: 18px;
}

.contact input,
.contact textarea,
.contact select {
    display: block;
    width: 100%;
    margin-top: 8px;

    background: #222027;
    border: 1px solid var(--border);
    border-radius: 3px;

    padding: 13px;
    color: white;
    outline: none;
    font-size: 12px;
}

.contact input:focus,
.contact textarea:focus,
.contact select:focus {
    border-color: var(--purple);
}

.contact textarea {
    resize: vertical;
}

.contact select option {
    background: #222027;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-status {
    margin-top: 12px;
    color: var(--grey);
    font-size: 10px;
}


/* =========================
   FOOTER
========================= */

.footer {
    padding: 40px 9% 20px;
    border-top: 1px solid var(--border);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-bottom: 35px;
}

.footer-top p {
    color: var(--grey);
    font-size: 12px;
    max-width: 300px;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 20px;

    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;

    color: var(--grey);
    font-size: 9px;
}

.footer-bottom a {
    color: var(--purple);
}


/* =========================
   FIXED CONTACT BUTTONS
========================= */

.floating-contact {
    position: fixed;
    right: 25px;
    bottom: 25px;

    display: flex;
    flex-direction: column;
    gap: 12px;

    z-index: 999;
}

.floating-contact a {
    width: 53px;
    height: 53px;

    border-radius: 50%;

    display: grid;
    place-items: center;

    color: white;
    font-size: 21px;

    box-shadow: 0 5px 20px #00000055;

    transition: 0.3s;
}

.call-float {
    background: #8053c7;
}

.whatsapp-float {
    background: #20bd66;
}

.floating-contact a:hover {
    transform: scale(1.1);
}


/* =========================
   SCROLL ANIMATION
========================= */

.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* =========================
   RESPONSIVENESS
========================= */

@media(max-width:1000px) {

    .section {
        padding-left: 6%;
        padding-right: 6%;
    }

    .header {
        padding: 0 6%;
    }

    .hero {
        gap: 35px;
    }

    .service-item {
        grid-template-columns: 35px 1fr 1fr 30px;
    }

    .difference-grid {
        grid-template-columns: 1fr 1fr;
    }

}


@media(max-width:750px) {

    .header {
        height: 72px;
    }

    .menu-toggle {
        display: block;
    }

    .navigation {
        display: none;

        position: absolute;
        top: 71px;
        left: 0;
        right: 0;

        padding: 25px 6%;

        background: #171717;

        flex-direction: column;
        align-items: stretch;
        gap: 20px;

        border-bottom: 1px solid var(--border);
    }

    .navigation.active {
        display: flex;
    }

    .navigation .nav-button {
        text-align: center;
    }


    .hero {
        grid-template-columns: 1fr;
        padding-top: 80px;
        gap: 45px;
    }

    .hero h1 {
        font-size: 51px;
        letter-spacing: -2.5px;
    }

    .visual-main {
        height: 350px;
    }


    .intro {
        grid-template-columns: 1fr;
        gap: 35px;
    }


    .section-heading {
        display: block;
    }

    .section-heading > p {
        margin-top: 20px;
    }


    .service-item {
        grid-template-columns: 30px 1fr 30px;
        gap: 15px;
    }

    .service-detail {
        grid-column: 2;
        grid-row: 2;
    }

    .service-item > a {
        grid-column: 3;
        grid-row: 1;
    }


    .work-grid {
        grid-template-columns: 1fr;
    }


    .difference-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }


    .process-grid {
        grid-template-columns: 1fr 1fr;
    }

    .process-grid > div {
        padding: 20px 12px 20px 0;
    }

    .process-grid > div:not(:first-child) {
        padding-left: 12px;
    }

    .process-grid > div:nth-child(2) {
        border-right: none;
    }

    .process-grid > div:nth-child(n+3) {
        border-top: 1px solid var(--border);
    }


    .location-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }


    .contact {
        grid-template-columns: 1fr;
        gap: 40px;
    }


    .footer-top {
        flex-direction: column;
        align-items: flex-start;
    }

}


@media(max-width:480px) {

    .section {
        padding: 75px 6%;
    }

    .hero h1 {
        font-size: 43px;
    }

    .visual-center h2 {
        font-size: 28px;
    }

    .difference-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .project-image {
        height: 270px;
        padding: 15px;
    }

    .floating-contact {
        right: 15px;
        bottom: 18px;
    }

    .floating-contact a {
        width: 48px;
        height: 48px;
        font-size: 19px;
    }

    .footer-bottom {
        flex-direction: column;
    }

}


@media(prefers-reduced-motion:reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }

}