:root {
    --bg-dark: #0b0b0f;
    --bg-card: #121319;
    --bg-soft: #1d1f28;
    --text: #f5f5f5;
    --text-soft: #c9cbd1;
    --primary: #ff004f;
    --primary-soft: rgba(255, 0, 79, 0.16);
    --border: rgba(255, 255, 255, 0.08);
    --shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.bg-accents {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bg-orb {
    position: absolute;
    display: block;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.28;
    background: radial-gradient(circle, rgba(255,0,79,0.8), rgba(255,0,79,0));
    animation: bgFloat 16s ease-in-out infinite alternate;
}

.orb-1 {
    width: 360px;
    height: 360px;
    top: 8%;
    left: -5%;
}

.orb-2 {
    width: 420px;
    height: 420px;
    top: 38%;
    right: -8%;
    animation-delay: 1.2s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    bottom: 6%;
    left: 20%;
    animation-delay: 2.4s;
}

@keyframes bgFloat {
    0% {
        transform: translate3d(0, 0, 0) scale(0.95);
    }
    100% {
        transform: translate3d(30px, -24px, 0) scale(1.08);
    }
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
textarea {
    font: inherit;
}

button,
a {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease, opacity 0.25s ease;
}

button:active,
a:active {
    transform: scale(0.98);
}

.reveal,
.reveal-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible,
.reveal-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-item {
    transition-delay: 120ms;
}

.container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

#home {
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.82)), url(images/pfp.png) center/cover no-repeat;
    padding: 30px 0 80px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 70px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    color: var(--text);
    text-decoration: none;
    visibility: visible;
    opacity: 1;
}

.brand-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    padding: 4px;
    background: #f5f5f5;
    border-radius: 50%;
    display: block;
}

.brand-name {
    color: var(--text);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

nav {
    margin-left: auto;
}

nav ul {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
    flex-wrap: wrap;
}

nav ul li a {
    text-decoration: none;
    color: var(--text);
    font-size: 1.05rem;
    position: relative;
    transition: color 0.3s ease;
}

nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary);
}

nav ul li a:hover::after {
    width: 100%;
}

.header-text {
    max-width: 700px;
    padding-top: 60px;
}

.header-text p {
    font-size: 1.1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-soft);
    margin-bottom: 20px;
}

.header-text h1 {
    font-size: clamp(2.8rem, 5vw, 5rem);
    line-height: 1.08;
    font-weight: 700;
}

.header-text h1 span {
    color: var(--primary);
}

.header-buttons {
    display: flex;
    gap: 18px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 999px;
    padding: 0.9rem 1.6rem;
    font-weight: 600;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease, filter 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 30px rgba(255, 0, 79, 0.18);
}

.btn:active,
.slide-btn:active,
.dot:active {
    transform: scale(0.97);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 15px 30px rgba(255, 0, 79, 0.3);
}

.btn-secondary {
    border: 1px solid var(--border);
    color: var(--text);
    background: rgba(255, 255, 255, 0.02);
}

section {
    padding: 100px 0;
}

.section-light {
    background: linear-gradient(180deg, rgba(17, 19, 25, 1) 0%, rgba(12, 13, 18, 1) 100%);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 24px;
}

.row {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    gap: 54px;
}

.about-col-1 img {
    width: 100%;
    max-width: 480px;
    border-radius: 22px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    margin: 0 auto;
}

.about-col-2 {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.about-col-2 p {
    color: var(--text-soft);
    font-size: 1.05rem;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(120px, 1fr));
    gap: 18px;
    margin-top: 12px;
}

.about-highlights div {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px 16px;
    text-align: center;
}

.about-highlights h3 {
    color: var(--primary);
    font-size: 1.7rem;
    margin-bottom: 6px;
}

.about-highlights p {
    font-size: 0.92rem;
    color: var(--text-soft);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 28px;
    margin-top: 28px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 32px 22px;
    box-shadow: var(--shadow);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 0, 79, 0.4);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.service-card p {
    color: var(--text-soft);
}

.showcase-section {
    padding-top: 90px;
}

.showcase-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.eyebrow {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    font-size: 0.72rem;
    margin-bottom: 8px;
}

.showcase-nav {
    display: flex;
    gap: 12px;
}

.slide-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text);
    font-size: 1.3rem;
    cursor: pointer;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.slide-btn:hover {
    transform: translateY(-2px) scale(1.02);
    border-color: rgba(255, 0, 79, 0.5);
    background: rgba(255, 0, 79, 0.08);
    box-shadow: 0 0 0 10px rgba(255, 0, 79, 0.05);
}

.slider-shell {
    background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 22px;
    box-shadow: var(--shadow);
}

.slides-track {
    position: relative;
    min-height: 360px;
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 26px;
    opacity: 0;
    transform: translateY(18px) scale(0.985);
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.55s ease;
}

.slide.active {
    position: relative;
    opacity: 1;
    transform: translateY(0) scale(1);
    visibility: visible;
    pointer-events: auto;
}

.slide-copy {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tag {
    display: inline-block;
    width: fit-content;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    padding: 0.45rem 0.8rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.slide-copy h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.1;
}

.slide-copy p {
    color: var(--text-soft);
}

.slide-copy a {
    display: inline-flex;
    width: fit-content;
    color: var(--text);
    text-decoration: none;
    background: var(--primary);
    padding: 0.8rem 1.3rem;
    border-radius: 999px;
    font-weight: 600;
    transition: transform 0.25s ease;
}

.slide-copy a:hover {
    transform: translateY(-2px);
}

.slide-media {
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide-media img {
    width: min(100%, 320px);
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    background: rgba(255,255,255,0.05);
}

.slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.dot:hover {
    transform: scale(1.16);
    box-shadow: 0 0 0 6px rgba(255, 0, 79, 0.12);
}

.dot.active {
    background: var(--primary);
    transform: scale(1.15);
    box-shadow: 0 0 0 8px rgba(255, 0, 79, 0.12);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(240px, 1fr));
    gap: 28px;
    margin-top: 28px;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 0, 79, 0.35);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.38);
}

.project-image {
    display: block;
    height: 220px;
    width: 100%;
    object-fit: cover;
    background-size: cover;
    background-position: center;
}

.project-one {
    object-position: center;
}

.project-two {
    object-position: center;
}

.project-three {
    object-position: center;
}

.project-content {
    padding: 22px 20px 26px;
}

.project-content h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.project-content p {
    color: var(--text-soft);
    margin-bottom: 16px;
}

.project-content a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.contact-copy {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-copy p {
    color: var(--text-soft);
    font-size: 1.04rem;
}

.contact-list {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 24px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(10, 10, 15, 0.7);
    color: var(--text);
    padding: 0.9rem 1rem;
    resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #9ba0a8;
}

.contact-form button {
    border: none;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    padding: 1rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.25s ease;
}

.contact-form button:hover {
    transform: translateY(-2px);
}

footer {
    background: #08090d;
    border-top: 1px solid var(--border);
    padding: 24px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    color: var(--text-soft);
}

.footer-inner a {
    color: var(--primary);
    text-decoration: none;
}

@media (max-width: 900px) {
    .row,
    .contact-wrapper,
    .project-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .topbar {
        flex-direction: column;
        align-items: flex-start;
    }

    nav {
        margin-left: 0;
    }
}

@media (max-width: 560px) {
    #home {
        min-height: auto;
    }

    .header-text {
        padding-top: 40px;
    }

    .header-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn {
        width: 100%;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}