/* ========================================
   DITYA PORTFOLIO
   Version : 1.0
======================================== */

:root{
    --bg:#080808;
    --surface:rgba(255,255,255,.05);
    --surface-hover:rgba(255,255,255,.08);
    --border:rgba(255,255,255,.08);
    --text:#ffffff;
    --muted:#a3a3a3;
    --radius:28px;
    --transition:.45s cubic-bezier(.2,.8,.2,1);
    --max-width:1400px;
}

/* ========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

/* Sembunyikan kursor standar bawaan browser */
body, a, button, input {
    cursor: none !important;
}

/* Canvas Kursor Melayang */
#fluidCursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none; /* Agar tidak memblokir tombol/link saat diklik */
    z-index: 99999;
}

body{
    background:var(--bg);
    color:var(--text);
    font-family:"Inter",sans-serif;
    overflow-x:hidden;
    line-height:1.6;
}

body h2,h3,a {
    font-family: 'Space Grotesk', sans-serif;
}

img{
    width:100%;
    display:block;
}

a{
    color:inherit;
    text-decoration:none;
}

button{
    font:inherit;
    cursor:pointer;
}

section{
    width:min(92%,var(--max-width));
    margin:auto;
    padding:120px 0;
}

/* ========================= */

body::before{
    content:"";
    position:fixed;
    inset:0;
    pointer-events:none;
    opacity:.08;
    background-image:
    radial-gradient(circle at 20% 30%,rgba(255,255,255,.06),transparent 25%),
    radial-gradient(circle at 80% 10%,rgba(255,255,255,.05),transparent 25%),
    radial-gradient(circle at 50% 90%,rgba(255,255,255,.05),transparent 25%);
    z-index:-2;
}

.glass{
    background:rgba(255,255,255,.05);
    backdrop-filter:blur(22px);
    -webkit-backdrop-filter:blur(22px);
    border:1px solid rgba(255,255,255,.08);
    box-shadow:
    0 20px 80px rgba(0,0,0,.25);
    border-radius:28px;
}

.navbar{
    position:fixed;
    width:min(92%,1400px);
    height:74px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:0 28px;
    z-index:200;
    transition:var(--transition);
    left:50%;
    top:25px;
    transform:translateX(-50%);
    width:min(1200px,92%);
    border-radius:999px;
    transition:.4s; 
}

.navbar.scrolled{
    background:rgba(12,12,12,.55);
    backdrop-filter:blur(22px);
    border:1px solid rgba(255,255,255,.08);
}

.logo{
    font-size:20px;
    font-weight:700;
    letter-spacing:2px;
}

.logo{
    display:flex;
    align-items:center;
}

.logo img{
    height:32px;
    width:auto;
    display:block;
    transition:.35s ease;
}

.logo:hover img{
    transform:scale(1.05);
    opacity:.85;
}

nav{
    display:flex;
    gap:40px;
}

nav a{
    color:rgba(255,255,255,.7);
    transition:var(--transition);
}

nav a:hover{
    color:white;
}


.menu-toggle{
    display:none;
    width:52px;
    height:52px;
    border:none;
    background:none;
    color:#fff;
    justify-content:center;
    align-items:center;
}

.menu-toggle svg{
    width:24px;
    height:24px;
    position:absolute;
    transition:.35s ease;
}

.icon-close{
    opacity:0;
    transform:rotate(-90deg) scale(.8);
}

.menu-toggle.active .icon-menu{
    opacity:0;
    transform:rotate(90deg) scale(.8);
}

.menu-toggle.active .icon-close{
    opacity:1;
    transform:rotate(0) scale(1);
}

.minimalist-hero {
    height: 100vh;
    width: 100%;
    position: relative;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Foto Fullscreen dengan sedikit dark overlay */
.hero-image-wrapper {
    width: 100%;
    height: 100%;
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

/* Tipografi Overlay */
.hero-overlay-text {
    position: absolute;
    font-size: 20rem; /* Sangat besar */
    font-weight: 900;
    color: #fff;
    /* Teknik Overlay: Teks seolah 'melubangi' atau menyatu dengan foto */
    mix-blend-mode: overlay; 
    pointer-events: none;
    letter-spacing: -10px;
    z-index: 2;
}

/* Footer Action di sudut bawah */
.hero-footer-actions {
    position: absolute;
    bottom: 50px;
    width: min(92%, 1400px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 3;
    display:flex;
    align-items:flex-end;
    gap:20px;
    flex-wrap:wrap;
}



.hero-footer-actions a {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-cta-group{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
}

/* ==== Glassmorphism: Hero CTA buttons ==== */
.glass-btn{
    position:relative;
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:14px 26px;
    border-radius:999px;
    font-weight:600;
    font-size:14px;
    color:#fff;
    text-decoration:none;
    background:rgba(255,255,255,0.08);
    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px);
    border:1px solid rgba(255,255,255,0.22);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.25),
        0 8px 24px rgba(0,0,0,0.25);
    transition:transform .3s ease, background .3s ease, border-color .3s ease, box-shadow .3s ease;
    overflow:hidden;
}
.glass-btn::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(120deg, rgba(255,255,255,0.18), rgba(255,255,255,0) 60%);
    pointer-events:none;
}
.glass-btn:hover{
    background:rgba(255,255,255,0.16);
    border-color:rgba(255,255,255,0.4);
    transform:translateY(-3px);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.3),
        0 12px 32px rgba(0,0,0,0.3);
}

/* Explore Works — glass bertint warna agar tetap terasa "primary" */
.glass-btn-primary{
    background:rgba(255,91,31,0.18);
    border-color:rgba(255,91,31,0.4);
    color:#fff;
}
.glass-btn-primary:hover{
    background:rgba(255,91,31,0.3);
    border-color:rgba(255,91,31,0.65);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.25),
        0 12px 32px rgba(255,91,31,0.25);
}

/* Icon buttons — glass juga, konsisten dengan tombol */
.glass-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    width:42px;
    height:42px;
    border-radius:50%;
    color:#fff;
    background:rgba(255,255,255,0.08);
    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px);
    border:1px solid rgba(255,255,255,0.22);
    box-shadow:inset 0 1px 0 rgba(255,255,255,0.25), 0 6px 18px rgba(0,0,0,0.2);
    transition:transform .3s ease, background .3s ease, border-color .3s ease;
}
.glass-icon svg{
    width:18px;
    height:18px;
    fill:currentColor;
}
.glass-icon:hover{
    background:rgba(255,255,255,0.18);
    border-color:rgba(255,255,255,0.4);
    transform:translateY(-3px);
}

/* Jarak antar ikon */
.social-links {
    display: flex;
    gap: 12px;
}


.hero-side-group{
    display:flex;
    align-items:flex-end;
    gap:22px;
}

.hero-qr{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:6px;
    padding:10px;
    border-radius:14px;
}
.hero-qr img{
    width:64px;
    height:64px;
    display:block;
    border-radius:6px;
}
.hero-qr span{
    font-size:9px;
    letter-spacing:0.5px;
    text-transform:uppercase;
    opacity:0.7;
}

/* Tombol Utama Ala Neon */
.btn-primary-neon {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ff3366;
    color: #fff;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 0 25px rgba(255, 51, 102, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary-neon:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 35px rgba(255, 51, 102, 0.7);
}

/* Sisi Kanan: Visual & Floating Card */
.hero-right-visual {
    position: relative;
    width: 100%;
}

.hero-media-wrapper {
    width: 100%;
    aspect-ratio: 4 / 5; /* Format potret sinematik */
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
}

.hero-media-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
}

/* Kartu Mengapung di Sudut Bawah */
.hero-floating-card {
    position: absolute;
    bottom: -20px;
    left: -30px;
    background: rgba(18, 18, 18, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 24px 28px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    max-width: 240px;
}

.hero-floating-card span {
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: #ff3366;
    font-weight: 700;
}

.hero-floating-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin: 6px 0 4px 0;
}

.hero-floating-card p {
    font-size: 0.85rem;
    color: #888;
}

/* Styling Tombol Secondary */
.btn-secondary {
    padding: 16px 32px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: #fff;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

/* Styling Social Media Links */
.hero-socials {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.hero-socials a {
    color: #888;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

.hero-socials a:hover {
    color: #ff3366;
}

/* Penyesuaian Foto */
.hero-media-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%) brightness(0.9); /* Sedikit sentuhan moody */
    transition: filter 0.5s ease;
}

.hero-media-wrapper:hover img {
    filter: grayscale(0%) brightness(1);
}

.btn{
    padding:18px 36px;
    border-radius:100px;
    background:rgba(255,255,255,.08);
    backdrop-filter:blur(20px);
    border:1px solid rgba(255,255,255,.18);
    transition:.35s ease;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    color:white;
}

.btn:hover{
    transform:translateY(-3px);
    background:rgba(255,255,255,.15);
}

/* ===========================
   CATEGORY
=========================== */
   /* =========================================
   STYLE 1: CINEMATIC EXPANDING ACCORDION
========================================= */
.categories h2{
    font-size:3rem;
    margin-top:10px;
}

.category-accordion {
    display: flex;
    flex-direction: row;
    height: 600px;
    gap: 16px;
    width: 100%;
    margin-top: 40px;
}

.category-accordion .category-card {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.6s ease;
    text-decoration: none;
    display: block;
    /* Kartu redup saat tidak di-hover */
    filter: grayscale(60%) brightness(0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Efek mekar saat di-hover */
.category-accordion:hover .category-card {
    filter: grayscale(100%) brightness(0.3);
}

.category-accordion .category-card:hover {
    flex: 4; /* Kartu melebar */
    filter: grayscale(0%) brightness(1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.category-accordion .card-bg,
.category-accordion .card-bg img,
.category-accordion .card-bg video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.category-accordion .category-card:hover .card-bg img,
.category-accordion .category-card:hover .card-bg video {
    transform: scale(1.05);
}

/* Teks dan Gradien Gelap di bawah */
.category-accordion .card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease 0.2s, transform 0.5s ease 0.2s;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.category-accordion .category-card:hover .card-content {
    opacity: 1;
    transform: translateY(0);
}

.category-accordion .card-content span {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--accent, #ff3366); /* Ganti warna accent jika beda */
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.category-accordion .card-content h3 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

/* FEATURED */
/* ============================= */

.featured{
    padding:160px 0;
}

.section-header{
    margin-bottom:50px;
}

.section-header span{
    letter-spacing:3px;
    font-size:.85rem;
    color:#8b8b8b;
}

.section-header h2{
    font-size:3rem;
    margin-top:10px;
}

/* ===========================
     GALLERY
=========================== */

.gallery-preview{
    padding:180px 0;
}

.masonry{
    column-count:3;
    column-gap:20px;
}

.item{
    margin-bottom:20px;
    overflow:hidden;
    border-radius:24px;
    cursor:pointer;
    position:relative;
}

.item img{
    width:100%;
    display:block;
    transition:.6s;
}

.item:hover img{
    transform:scale(1.06);
}

.gallery-button{
    margin-top:60px;
    display:flex;
    justify-content:center;
}

/* ==========================
   POPUP GALLERY
========================== */

.lightbox{
    position:fixed;
    inset:0;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:60px;
    background:rgba(10,10,10,.35);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
    opacity:0;
    visibility:hidden;
    transition:.35s ease;
    z-index:999;
}

.lightbox.show{
    opacity:1;
    visibility:visible;
}

.lightbox-content{
    max-width:min(1100px,90vw);
    max-height:85vh;
    transform:scale(.9);
    transition:.35s ease;
}

.lightbox.show .lightbox-content{
    transform:scale(1);
}

.lightbox img{
    display:block;
    max-width:100%;
    max-height:85vh;
    width:auto;
    height:auto;
    object-fit:contain;
    border-radius:22px;
    box-shadow:
        0 20px 80px rgba(0,0,0,.45);
}

/* ===================== */

.project-hero{
    height:100vh;
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
}

.project-hero video{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
}

.hero-text{
    position:relative;
    z-index:2;
    max-width:900px;
    text-align:center;
    padding:20px;
}

.hero-text span{
    letter-spacing:4px;
    text-transform:uppercase;
    color:#d0d0d0;
}

.hero-text h1{
    font-size:7rem;
    margin:25px 0;
}

.hero-text p{
    max-width:650px;
    margin:auto;
    font-size:1.2rem;
    color:#d2d2d2;
}

/* ==========================
PROJECT PAGE
========================== */

.project-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(
    180deg,
    rgba(0,0,0,.15),
    rgba(0,0,0,.65)
    );
}

.project-title{
    position:relative;
    z-index:2;
    text-align:center;
}

.project-title span{
    letter-spacing:5px;
    font-family: 'Space Grotesk', sans-serif;
    font-size:.9rem;
}

.project-title h1{
    font-size:7rem;
    margin-top:20px;
    font-weight:700;
}

/* INFO */

.project-info{
    width:min(1200px,90%);
    margin:auto;
    padding:140px 0;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:60px;
}

.project-info span{
    color:#9a9a9a;
    letter-spacing:3px;
    font-size:.8rem;
}

.project-info h3{
    margin-top:15px;
    font-size:1.6rem;
}

/* OVERVIEW */

.overview{
    width:min(1200px,90%);
    margin:auto;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:80px;
    padding-bottom:160px;
}

.overview h2{
    font-family: 'Space Grotesk', sans-serif;    
    font-size:3rem;
    line-height:1.15;
}

.overview p{
    line-height:1.9;
    color:#bcbcbc;
}

/* FINAL */

.final-result{
    width:min(1400px,92%);
    margin:auto;
    padding-bottom:180px;
}

.final-result .video-player{
    padding:18px;
    border-radius:30px;
    margin-top:40px;
}

.final-result .video-player video{
    width:100%;
    border-radius:20px;
    display:block;
}

/* NEXT */

.next-project{
    padding:180px 20px;
    text-align:center;
}

.next-project span{
    letter-spacing:4px;
    color:#8f8f8f;
}

.next-project h2{
    font-size:5rem;
    margin:20px 0;
}

.next-project a{
    font-size:1.2rem;
    text-decoration:none;
    color:white;
}

/* ==========================
   WHAT I DO
========================== */

.services{
    padding:180px 0;
}

.services-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:30px;
}

.service-card{
    padding:25px;
    transition:.4s ease;
}

.service-card:hover{
    transform:translateY(-8px);
    background:rgba(255, 255, 255, 0.11);
}

.service-icon{
    width:68px;
    height:68px;
    border-radius:20px;
    display:flex;
    justify-content:center;
    align-items:center;
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
    margin-bottom:28px;
}

.service-icon svg{
    width:30px;
    height:30px;
    color:#fff;
}

.service-card h3{
    font-size:1.5rem;
    margin-bottom:18px;
}

.service-card p{
    color:#a8a8a8;
    line-height:1.8;
    max-width:340px;
}

/*=============================
ABOUT
=============================*/

.about{
    display:grid;
    grid-template-columns:520px 1fr;
    gap:90px;
    align-items:center;
    padding:180px 0;
}

.about-image{
    overflow:hidden;
    border-radius:30px;
}

.about-image img{
    width:100%;
    aspect-ratio:4/5;
    object-fit:cover;
    transition:.7s;
}

.about-image:hover img{
    transform:scale(1.05);
}

.about-content>span{
    color:#777;
    letter-spacing:4px;
    font-size:.8rem;
}

.about-content h2{
    margin:20px 0;
    font-size:4rem;
    line-height:1;
}

.about-content p{
    max-width:650px;
    color:#b5b5b5;
    line-height:2;
}

.about-info{
    display:flex;
    gap:70px;
    margin:60px 0;
}

.about-info h3{
    font-size:2.4rem;
    margin-bottom:8px;
}

.about-info span{
    color:#888;
}

.about-bottom{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-top:40px;
}

.status{
    display:flex;
    align-items:center;
    gap:12px;
    color:#bdbdbd;
}

.status .dot{
    width:10px;
    height:10px;
    border-radius:50%;
    background:#3cff75;
    box-shadow:0 0 12px #3cff75;
}

.about-bottom a svg{
    width:28px;
    height:28px;
    fill:currentColor;
    color:#fff;
    stroke-linecap:round;
    stroke-linejoin:round;
    opacity:.7;
    flex-shrink:0;
    transition:.35s;
    padding-left:6px;
}

.about-bottom a:hover svg{
    transform:translateY(-2px);
    color:#352d85;
    opacity:1;
}

/*=========================
CREATIVE TOOLKIT
=========================*/

.tools{
    position:relative;
    padding:150px 0;
    overflow:hidden;
}

.tools .section-header{
    text-align:center;
    margin-bottom:70px;
}

.tools .section-header span{
    letter-spacing:4px;
    color:#8b8b8b;
}

.tools .section-header h2{
    font-size:3rem;
    margin-top:12px;
}

.marquee{
    position:relative;
    width:100%;
    overflow:hidden;
    margin:25px 0;
    padding:10px 0;
    mask-image:linear-gradient(
        to right,
        transparent,
        white 8%,
        white 92%,
        transparent
    );
    -webkit-mask-image:linear-gradient(
        to right,
        transparent,
        white 8%,
        white 92%,
        transparent
    );
}

.track{
    display:flex;
    align-items:center;
    gap:70px;
    width:max-content;
    will-change:transform;
    animation:leftMove 56s linear infinite;
}

.reverse .track{
    animation:rightMove 56s linear infinite;
}

.tool{
    display:flex;
    align-items:center;
    gap:16px;
    flex-shrink:0;
    white-space:nowrap;
    opacity:.65;
    transition:.35s ease;
}

.tool:hover{
    opacity:1;
    transform:translateY(-4px);
}

.tool img{
    width:36px;
    height:36px;
    object-fit:contain;
}

.tool span{
    font-size:1.05rem;
}

@keyframes leftMove{
    from{
        transform:translate3d(0,0,0);
    }
    to{
        transform:translate3d(-50%,0,0);
    }
}

@keyframes rightMove{
    from{
        transform:translate3d(-50%,0,0);
    }
    to{
        transform:translate3d(0,0,0);
    }
}

.tools::before{
    content:"TOOLKIT";
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    font-size:clamp(7rem,18vw,16rem);
    font-weight:800;
    letter-spacing:12px;
    color:rgba(255,255,255,.025);
    white-space:nowrap;
    pointer-events:none;
    user-select:none;
    z-index:-1;
}

/*==================================
FOOTER PREMIUM
==================================*/

.footer{
    width:min(92%,1400px);
    margin:180px auto 60px;
}

.footer-line{
    width:100%;
    height:1px;
    background:rgba(255,255,255,.08);
    margin-bottom:70px;
}

.footer-logo{
    display:flex;
    justify-content:center;
    margin-bottom:70px;
}

.footer-logo img{
    height:55px;
    width:auto;
    opacity:.9;
    transition:.4s;
}

.footer-logo img:hover{
    transform:scale(1.05);
}

.footer-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:80px;
    margin-bottom:80px;
}

.footer-grid span{
    display:block;
    margin-bottom:18px;
    font-size:.75rem;
    letter-spacing:4px;
    color:#777;
}

.footer-grid p,
.footer-grid a{
    color:#fff;
    font-size:1rem;
    transition:.3s;
}

.footer-grid a:hover{
    opacity:.6;
}

.footer-social{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.footer-bottom{
    border-top:1px solid rgba(255,255,255,.08);
    padding-top:35px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.footer-bottom p{
    color:#777;
}

.back-top{
    transition:.3s;
}

.back-top:hover{
    transform:translateY(-4px);
}

.footer-item p,
.footer-item a{
    display:flex;
    align-items:center;
    gap:12px;
}

.footer-item svg{
    width:18px;
    height:18px;
    fill:currentColor;
    color:#fff;
    stroke-linecap:round;
    stroke-linejoin:round;
    opacity:.7;
    flex-shrink:0;
    transition:.35s;
}

.footer-item a:hover svg{
    transform:translateY(-2px);
    color:#ff7738;
    opacity:1;
}

.footer-social{
    display:flex;
    flex-direction:column;
    gap:16px;
}

.footer-social a{
    transition:.35s;
}

.footer-social a:hover{
    transform:translateX(6px);
}

.footer-social a svg{
    width:18px;
    height:18px;
    fill:currentColor;
    color:#fff;
    stroke-linecap:round;
    stroke-linejoin:round;
    opacity:.7;
    flex-shrink:0;
    transition:.35s;
}

.footer-social a:hover svg{
    transform:translateY(-2px);
    color:#ff7738;
    opacity:1;
}

.chat-toggle{
    position:fixed;
    right:30px;
    bottom:30px;
    width:64px;
    height:64px;
    border:none;
    border-radius:50%;
    background:#fff;
    color:#111;
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:500;
    transition:.3s;
}

.chat-toggle svg{
    width:26px;
}

.chat-toggle:hover{
    transform:scale(1.08);
}

.chat-window{
    position:fixed;
    right:30px;
    bottom:110px;
    width:360px;
    height:560px;
    display:flex;
    flex-direction:column;
    opacity:0;
    visibility:hidden;
    transform:translateY(20px);
    transition:.35s;
    z-index:500;
}

.chat-window.show{
    opacity:1;
    visibility:visible;
    transform:none;
}

.chat-header{
    padding:24px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    border-bottom:1px solid rgba(255,255,255,.08);
}

.chat-header h3{
    font-size:1rem;
}

.chat-header span{
    color:#999;
    font-size:.85rem;
}

.chat-close{
    width:36px;
    height:36px;
    flex-shrink:0;
    display:flex;
    align-items:center;
    justify-content:center;
    border:0;
    background:transparent;
    color:rgba(255,255,255,.65);
    cursor:pointer;
    border-radius:50%;
    transition:.3s ease;
}

.chat-close svg{
    width:18px;
    height:18px;
}

.chat-close:hover{
    color:white;
    background:rgba(255,255,255,.08);
}

.chat-messages{
    flex:1;
    padding:20px;
    overflow:auto;
    display:flex;
    flex-direction:column;
    gap:15px;
}

.bot{
    background:rgba(255,255,255,.08);
    padding:16px;
    border-radius:18px;
    max-width:85%;
}

.user{
    margin-left:auto;
    background:#fff;
    color:#111;
    padding:16px;
    border-radius:18px;
    max-width:85%;
}

.chat-input{
    display:flex;
    padding:18px;
    gap:10px;
    border-top:1px solid rgba(255,255,255,.08);
}

.chat-input input{
    flex:1;
    background:transparent;
    border:none;
    outline:none;
    color:#fff;
    font-size: 16px;
}

.chat-input button{
    width:48px;
    height:48px;
    border:none;
    border-radius:50%;
    background:#fff;
    color:#111;
    display:flex;
    justify-content:center;
    align-items:center;
}

.chat-input svg{
    width:20px;
}

.typing{
    display:none;
    align-self:flex-start;
    background:rgba(255,255,255,.08);
    padding:18px;
    border-radius:18px;
    gap:6px;
}

.typing.show{
    display:flex;
}

.typing span{
    width:8px;
    height:8px;
    border-radius:50%;
    background:#fff;
    opacity:.4;
    animation:typing 1s infinite;
}

.typing span:nth-child(2){
    animation-delay:.2s;
}

.typing span:nth-child(3){
    animation-delay:.4s;
}

@keyframes typing{
    0%,100%{
        transform:translateY(0);
        opacity:.4;
    }
    50%{
        transform:translateY(-5px);
        opacity:1;
    }
}

.bot,
.user{
    animation:message .35s ease;
}

@keyframes message{
    from{
        opacity:0;
        transform:translateY(12px);
    }
    to{
        opacity:1;
        transform:none;
    }
}

.typing{
    display:none;
    align-items:center;
    gap:6px;
    margin:10px 0;
}

.typing.show{
    display:flex;
}

.typing span{
    width:8px;
    height:8px;
    border-radius:50%;
    background:#888;
    animation:typing 2s infinite;
}

.typing span:nth-child(2){
    animation-delay:.15s;
}

.typing span:nth-child(3){
    animation-delay:.3s;
}

@keyframes typing{
    0%,80%,100%{
        transform:scale(.5);
        opacity:.3;
    }
    40%{
        transform:scale(1);
        opacity:1;
    }
}

/* ==========================
   BACKGROUND MUSIC
========================== */

.music-toggle{
    position:fixed;
    left:30px;
    bottom:30px;
    width:44px;
    height:44px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid rgba(255,255,255,.12);
    background:rgba(10,10,10,.65);
    backdrop-filter:blur(12px);
    color:rgba(255,255,255,.6);
    border-radius:50%;
    cursor:pointer;
    z-index:500;
    transition:.3s ease;
}

.music-toggle:hover{
    color:white;
    background:rgba(255,255,255,.08);
    border-color:rgba(255,255,255,.25);
}

.music-icon{
    font-size:18px;
    line-height:1;
    transition:transform .3s ease, opacity .3s ease;
}

.music-toggle.playing .music-icon{
    animation:musicPulse 1.2s ease-in-out infinite;
}

@keyframes musicPulse{
    0%{
        transform:translateY(0) scale(1);
    }
    50%{
        transform:translateY(-2px) scale(1.12);
    }
    100%{
        transform:translateY(0) scale(1);
    }
}

/* ==========================
   SCROLL REVEAL
========================== */
.reveal{
    opacity:0;
    filter:blur(12px);
    transform:translateY(80px);
    transition:opacity .8s ease, transform .8s ease, filter .8s ease;
    will-change:opacity, transform, filter;
}

.reveal.show{
    opacity:1;
    filter:blur(0);
    transform:translateY(0);
}

.reveal.hide-up {
    opacity: 0;
    filter: blur(12px);
    transform: translateY(-50px);
    transition:opacity .6s ease, transform .6s ease, filter .6s ease;
}


/* ==========================
   FAQ STYLING
========================== */
.faq {
    padding: 160px 0;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border-radius: 24px;
    overflow: hidden;
    transition: background .3s ease, border-color .3s ease;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.faq-question {
    width: 100%;
    padding: 28px 32px;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    z-index: 100;
}

.faq-question, 
.faq-question * {
    pointer-events: auto !important;
}

.faq-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    transition: transform .35s cubic-bezier(.2,.8,.2,1);
    color: rgba(255, 255, 255, 0.7);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: #fff;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s cubic-bezier(.2,.8,.2,1), padding .4s ease;
    padding: 0 32px;
}

.faq-answer p {
    color: #a8a8a8;
    line-height: 1.8;
    font-size: 1rem;
    padding-bottom: 28px;
}


/* ==========================
   RESUME PAGE STYLING
========================== */
.resume-page {
    width: min(92%, 1200px);
    margin: auto;
    padding: 180px 0 100px;
}

.resume-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.resume-header span {
    letter-spacing: 4px;
    color: #888;
    font-size: .85rem;
    text-transform: uppercase;
}

.resume-header h1 {
    font-size: 3.5rem;
    margin: 15px 0 10px;
}

.resume-header p {
    color: #aaa;
    font-size: 1.1rem;
    line-height: 1.6;
}

.resume-actions {
    margin-top: 35px;
}

.btn-back {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: color .3s ease;
}

.btn-back:hover {
    color: #fff;
}

.resume-summary {
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1px solid rgba(255, 255, 255, .08);
}

.resume-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.resume-column h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.resume-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.resume-card {
    padding: 35px;
    border-radius: 28px;
    transition: transform .35s ease, background .35s ease;
}

.resume-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.resume-card .year {
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: #3cff75;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.resume-card h3 {
    font-size: 1.35rem;
    margin-bottom: 6px;
}

.resume-card .company {
    color: #888;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.resume-card .desc {
    color: #b5b5b5;
    line-height: 1.7;
    font-size: 0.95rem;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skills-tags span {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.9rem;
    color: #ddd;
}

/* ==========================================
   TRUE-RATIO RESPONSIVE MASONRY GRID
========================================== */

.design-bento-grid {
    display: columns; 
    columns: 3 300px; 
    column-gap: 24px;
    padding-bottom: 80px;
}

.design-card {
    break-inside: avoid; 
    margin-bottom: 24px;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform .4s cubic-bezier(.2,.8,.2,1), border-color .3s ease;
    cursor: pointer;
}

.design-card img {
    width: 100%;
    height: auto; 
    display: block;
    transition: transform .6s cubic-bezier(.2,.8,.2,1);
}

.design-card.item-wide,
.design-card.item-tall {
    grid-column: span 1;
    grid-row: span 1;
}

.design-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10, 10, 10, 0.9) 0%,
        rgba(10, 10, 10, 0.4) 50%,
        transparent 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity .35s ease;
}

.design-tag {
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: #3cff75;
    text-transform: uppercase;
    margin-bottom: 8px;
    transform: translateY(10px);
    transition: transform .35s ease;
}

.design-overlay h3 {
    font-size: 1.3rem;
    color: #fff;
    font-weight: 500;
    transform: translateY(10px);
    transition: transform .35s ease .05s;
}

.design-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.2);
}

.design-card:hover img {
    transform: scale(1.03);
}

.design-card:hover .design-overlay {
    opacity: 1;
}

.design-card:hover .design-tag,
.design-card:hover .design-overlay h3 {
    transform: translateY(0);
}


/* Modal Popup Styles */
.project-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease;
}

.project-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.modal-container {
    position: relative;
    width: min(90%, 1000px);
    max-height: 90vh;
    overflow-y: auto;
    background: rgba(20, 20, 20, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 32px;
    padding: 50px;
    z-index: 2;
    transform: translateY(20px) scale(0.97);
    transition: transform .35s cubic-bezier(.2,.8,.2,1);
}

.project-modal.active .modal-container {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background .3s ease;
}

.modal-close svg {
    width: 20px;
    height: 20px;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-content-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: start;
}

.modal-image-wrapper img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
    max-height: 500px;
}

.modal-info h2 {
    font-size: 2rem;
    margin: 10px 0 20px;
    color: #fff;
}

.modal-info p {
    color: #b5b5b5;
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 20px;
}

.btn-load {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .3s ease;
}

.btn-load:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.design-card.hidden {
    display: none !important;
}


/* ==========================================
   DYNAMIC SMOOTH MARQUEE STYLING
========================================== */
.video-marquee-section {
    padding: 140px 0;
    overflow: hidden;
    width: 100%;
}

.video-marquee-section .section-header {
    width: min(92%, var(--max-width));
    margin: 0 auto 60px auto;
}

.video-marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 40px 0; 
    mask-image: linear-gradient(to right, transparent, white 8%, white 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, white 8%, white 92%, transparent);
}

.video-marquee-track {
    display: flex;
    align-items: center;
    gap: 35px;
    width: max-content;
    will-change: transform;
    animation: smoothMarquee 40s linear infinite;
}

@keyframes smoothMarquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.marquee-video-card {
    width: 300px;
    flex-shrink: 0;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform .4s cubic-bezier(.2,.8,.2,1), border-color .3s ease, box-shadow .3s ease;
    cursor: pointer;
}

.marquee-video-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.marquee-video-card.item-up {
    transform: translateY(-40px);
}

.marquee-video-card.item-down {
    transform: translateY(40px);
}

.marquee-video-card.item-up:hover {
    transform: translateY(-48px) scale(1.02);
}

.marquee-video-card.item-down:hover {
    transform: translateY(32px) scale(1.02);
}

.marquee-video-card video {
    width: 100%;
    height: auto !important;
    display: block;
    object-fit: contain;
    pointer-events: none;
}

.marquee-info {
    padding: 16px 20px;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.marquee-info span {
    font-size: 0.75rem;
    color: var(--muted);
    letter-spacing: 2px;
}

.marquee-info h3 {
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
}



/* =========================================================
    ENHANCED HERO HEADER & NEW SHOWCASE SECTION
========================================================= */
        
.design-hero {
    padding: 160px 0 80px;
    width: min(90%, 1100px);
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(255, 51, 102, 0.08);
    border: 1px solid rgba(255, 51, 102, 0.25);
    border-radius: 50px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: #ff3366;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-badge .pulse-dot {
    width: 6px;
    height: 6px;
    background-color: #ff3366;
    border-radius: 50%;
    box-shadow: 0 0 10px #ff3366;
}

.design-hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.05;
    color: #fff;
    margin-bottom: 20px;
}

.design-hero h1 span {
    background: linear-gradient(135deg, #ffffff 30%, rgba(255,255,255,0.35));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.design-hero p {
    max-width: 680px;
    margin: 0 auto 40px;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    width: fit-content;
    margin: 0 auto;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.capabilities-section {
    width: min(90%, 1100px);
    margin: 120px auto;
    padding-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.section-header-left {
    margin-bottom: 50px;
}

.section-header-left span {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: #ff3366;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.section-header-left h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -1px;
    color: #fff;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.cap-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.cap-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.25);
}

.cap-card.large {
    grid-column: span 2;
}

.cap-icon {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #fff;
}

.cap-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.cap-card p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}



