:root {
    /* Warm Premium Palette */
    --bg-color: #FDFBF7;
    --bento-bg: #FFFFFF;
    --bento-border: rgba(28, 25, 23, 0.08);
    --text-primary: #1C1917; /* Deep Espresso */
    --text-secondary: #57534E;
    --text-muted: #78716C;
    --accent: #EA580C; /* Warm Rust/Orange */
    --accent-orange: #EA580C;
    --accent-blue: #3B82F6;
    --font-main: 'Plus Jakarta Sans', sans-serif;
    --border-radius-lg: 24px;
    --border-radius-md: 16px;
    --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.03);
}

/* Reusable Page Headers */
.page-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    letter-spacing: -2px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-primary);
}
.page-subtitle {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 15px;
    line-height: 1.6;
}

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

html, body {
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-color);
    background-image: radial-gradient(rgba(0,0,0,0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    color: var(--text-primary);
    font-family: var(--font-main);
}

body {
    padding: 40px 5%;
    line-height: 1.6;
    cursor: default;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

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

.muted-text {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.accent-text { color: var(--accent-orange); }
.accent-icon { color: var(--accent-orange); }

/* Floating Navbar */
.floating-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--bento-border);
    padding: 12px 24px;
    border-radius: 100px;
    width: max-content;
    margin: 0 auto 60px;
    box-shadow: var(--shadow-subtle);
    gap: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    position: sticky;
    top: 20px;
    z-index: 1000;
}

.nav-brand {
    font-weight: 800;
    font-size: 1rem;
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-links a {
    color: var(--text-muted);
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.time-module {
    padding: 6px 16px;
    background: var(--bg-color);
    border-radius: 100px;
    border: 1px solid var(--bento-border);
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* --- DASHBOARD SECTION (First Section from Screenshot) --- */
.dashboard-container {
    max-width: 1200px;
    margin: 0 auto 40px auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 20px;
}

.bento-module {
    background: var(--bento-bg);
    border: 1px solid var(--bento-border);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-subtle);
    position: relative;
    overflow: hidden;
}

.hero-module {
    grid-column: span 3;
    grid-row: span 2;
    background: linear-gradient(135deg, #ffffff 0%, #fffcf9 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid var(--bento-border);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    position: relative;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    top: -4px; left: -4px; right: -4px; bottom: -4px;
    background: rgba(16, 185, 129, 0.4);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

.hero-module h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-subtext {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 90%;
    margin-bottom: 30px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--text-primary);
    color: #fff;
    padding: 14px 28px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.3s;
}

.btn-primary i {
    background: rgba(255,255,255,0.2);
    padding: 6px;
    border-radius: 50%;
}

.location-module {
    grid-column: span 1;
    grid-row: span 2;
    display: flex;
    flex-direction: column;
}

.dark-module {
    background: #050505; /* Deep black for the dark globe */
    border-color: #222222;
    color: #ffffff;
    padding: 25px;
    position: relative;
    overflow: hidden;
}

.module-header-alt {
    position: relative;
    z-index: 10;
    margin-bottom: 10px;
    pointer-events: none; /* Let clicks pass to the globe */
}

.module-header-alt h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.reach-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    font-size: 0.75rem;
    color: #A3A3A3;
}

.green-dot {
    width: 6px;
    height: 6px;
    background-color: #84cc16;
    border-radius: 50%;
    box-shadow: 0 0 6px #84cc16;
}

.divider {
    color: #555;
    margin: 0 2px;
}

.globe-visual {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.globe-visual canvas {
    width: 100% !important;
    height: 100% !important;
    cursor: default;
    object-fit: cover;
}

.globe-visual canvas:active {
    cursor: default;
}

.exp-module {
    background: var(--text-primary);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.exp-module h2 {
    font-size: 4rem;
    color: var(--accent-orange);
}

.exp-module p {
    font-size: 0.85rem;
    color: #a0a0a0;
}

.stack-module {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stack-module h3 {
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 25px;
    font-weight: 700;
}

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

.stack-item {
    background: var(--bg-color);
    border: 1px solid var(--bento-border);
    border-radius: var(--border-radius-md);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 20px 10px;
    aspect-ratio: 1 / 1;
    transition: transform 0.3s, border-color 0.3s;
}

.stack-item:hover {
    border-color: rgba(28, 25, 23, 0.2);
    transform: translateY(-2px);
}

.stack-item i {
    font-size: 2rem;
    color: var(--text-primary);
}

.stack-item span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
}

.philosophy-module {
    background: var(--accent-orange);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quote-icon {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* --- THE REST OF ORIGINAL BENTO THEME --- */
.bento-container {
    max-width: 1200px;
    margin: 0 auto; margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.bento-box {
    background: var(--bento-bg);
    border: 1px solid var(--bento-border);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-subtle);
}

section {
    padding-top: 20px;
}

.section-title {
    margin-bottom: 20px;
    padding-left: 10px;
}

.section-title h2 {
    font-size: 2rem;
    letter-spacing: -0.5px;
}

/* Services */
.services-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-item {
    padding: 30px;
}

.service-item i {
    font-size: 2rem;
    color: var(--accent-orange);
    margin-bottom: 20px;
}

.service-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.service-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ---- SELECTED WORK — Stack-Wise Filter ---- */
.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-orange);
    margin-bottom: 6px;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    border: 1.5px solid var(--text-primary);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: background 0.25s, color 0.25s;
    align-self: flex-end;
    margin-bottom: 4px;
}

.btn-ghost:hover {
    background: var(--text-primary);
    color: #fff;
}

/* Filter tab bar */
.stack-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
    padding: 18px 20px;
    background: var(--bento-bg);
    border: 1px solid var(--bento-border);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-subtle);
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 20px;
    border-radius: 100px;
    border: 1.5px solid var(--bento-border);
    background: var(--bg-color);
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 600;
    font-family: var(--font-main);
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
}

.filter-btn.active {
    background: var(--text-primary);
    border-color: var(--text-primary);
    color: #fff;
}

/* 3-column card grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Hidden cards during filter */
.p-card.hidden {
    display: none;
}

/* Individual card */
.p-card {
    background: var(--bento-bg);
    border: 1px solid var(--bento-border);
    border-radius: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.p-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at top right, rgba(234, 88, 12, 0.08), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
    pointer-events: none;
}

.p-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.1), 0 10px 15px -5px rgba(0, 0, 0, 0.05);
    border-color: rgba(234, 88, 12, 0.2);
}

.p-card:hover::before {
    opacity: 1;
}

/* Coloured accent strip at the top */
.p-card-accent {
    height: 8px;
    width: 100%;
    flex-shrink: 0;
    transition: height 0.3s ease;
}

.p-card:hover .p-card-accent {
    height: 12px;
}

/* Card body */
.p-card-body {
    padding: 30px 24px 15px;
    flex: 1;
}

.p-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

/* Large stack icon */
.p-stack-icon {
    font-size: 2rem;
    line-height: 1;
    padding: 12px;
    background: rgba(0,0,0,0.03);
    border-radius: 12px;
    transition: all 0.4s ease;
}

.p-card:hover .p-stack-icon {
    transform: scale(1.1) rotate(-5deg);
    background: rgba(234, 88, 12, 0.08);
}

/* Category pill */
.p-card-cat {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    background: transparent;
    border: 1px solid var(--bento-border);
    border-radius: 100px;
    padding: 6px 14px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.p-card:hover .p-card-cat {
    color: var(--accent-orange);
    border-color: rgba(234, 88, 12, 0.2);
    background: rgba(234, 88, 12, 0.05);
}

.p-card-title {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.p-card-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

/* Tech chip tags */
.p-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.p-card-tags span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-color);
    border: 1px solid var(--bento-border);
    border-radius: 8px;
    padding: 6px 12px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.p-card:hover .p-card-tags span {
    border-color: rgba(0,0,0,0.1);
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

/* Card footer: stat + arrow */
.p-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px 24px;
    margin-top: auto;
    background: linear-gradient(to top, rgba(0,0,0,0.02), transparent);
    border-top: 1px solid var(--bento-border);
}

.p-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.p-stat-num {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    line-height: 1;
}

.p-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Arrow link button */
.p-card-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-color);
    border: 1px solid var(--bento-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--text-primary);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.p-card:hover .p-card-link {
    background: var(--text-primary);
    border-color: var(--text-primary);
    color: #fff;
    transform: rotate(45deg) scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}


/* Contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.direct-contact {
    display: inline-block;
    padding: 15px 25px;
    border: 1px solid var(--bento-border);
    border-radius: 16px;
    background: #FDFBF7;
    margin-top: 20px;
    font-weight: 600;
}
.direct-contact i {
    color: var(--accent-orange);
    margin-right: 10px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 18px 20px;
    background: #FDFBF7;
    border: 1px solid var(--bento-border);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent-orange);
}

.submit-btn {
    padding: 18px;
    background: var(--text-primary);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}

footer {
    text-align: center;
    padding: 40px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Hamburger Menu Button */
.hamburger {
    display: none !important;
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--text-primary);
    z-index: 1001;
    padding: 5px;
}

/* Responsive */
@media (max-width: 1024px) {
    .dashboard-container { grid-template-columns: repeat(2, 1fr); }
    .hero-module { grid-column: span 2; }
    .location-module { grid-column: span 1; }
    .exp-module { grid-column: span 1; }
    .stack-module { grid-column: span 2; }
    .philosophy-module { grid-column: span 1; }
    .services-bento { grid-template-columns: repeat(2, 1fr); }
    .contact-wrapper { grid-template-columns: 1fr; }
    .work-item { grid-template-columns: 40px 1fr 40px; }
    .work-meta { display: none; }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .dashboard-container { grid-template-columns: 1fr; }
    .hero-module, .location-module, .stack-module, .exp-module, .philosophy-module { grid-column: span 1; }
    .services-bento { grid-template-columns: 1fr; }
    .floating-nav { 
        width: 92%;
        top: 15px;
        z-index: 1001;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgba(255, 255, 255, 0.98) !important;
        transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    }
    body.menu-open .floating-nav {
        background: transparent !important;
        border-color: transparent !important;
        box-shadow: none !important;
    }
    .hamburger {
        display: block !important;
    }
    .nav-links { 
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        background: rgba(255, 255, 255, 0.45);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border: none;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 20px;
        gap: 35px;
        display: flex; 
        text-align: center;
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s ease;
        z-index: 999;
    }
    .nav-links a {
        font-size: 1.5rem;
        font-weight: 700;
        letter-spacing: -0.5px;
        color: var(--text-primary);
        opacity: 0;
        transform: translateY(15px);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }
    .nav-links.active {
        opacity: 1;
        visibility: visible;
    }
    .nav-links.active a {
        opacity: 1;
        transform: translateY(0);
    }
    .nav-links.active a:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.active a:nth-child(2) { transition-delay: 0.15s; }
    .nav-links.active a:nth-child(3) { transition-delay: 0.2s; }
    .nav-links.active a:nth-child(4) { transition-delay: 0.25s; }
    .nav-links.active a:nth-child(5) { transition-delay: 0.3s; }
    .nav-links.active a:nth-child(6) { transition-delay: 0.35s; }
    
    /* Responsive Fixes for Typography and Spacing */
    .hero-module h1 { font-size: clamp(2.5rem, 8vw, 4rem); }
    .hero-title .emphasis { font-size: clamp(3rem, 10vw, 5rem); }
    .exp-module h2 { font-size: clamp(2.5rem, 10vw, 4rem); }
    .contact-info h2 { font-size: clamp(2rem, 8vw, 3rem); }
    
    .bento-container { padding: 0 15px; }
    .hero-module, .location-module, .stack-module, .exp-module, .philosophy-module, .service-bento-card, .bento-box {
        padding: 25px;
    }
    .contact-wrapper { 
        padding: 25px; 
        gap: 30px; 
    }
    .direct-contact {
        padding: 12px 20px;
        font-size: 1rem;
        max-width: 100%;
        box-sizing: border-box;
        word-break: break-all;
    }
    
    body {
        overflow-x: hidden; /* Prevent horizontal scrolling */
        padding: 20px 4%;
    }
    img, svg, video {
        max-width: 100%;
        height: auto;
    }
    .time-module {
        display: none !important;
    }
    .portfolio-grid { grid-template-columns: 1fr; }
    .stack-grid { grid-template-columns: repeat(2, 1fr); }
    .stack-filter { gap: 8px; padding: 14px; }
}
/* Global Cursor Fixes */
.btn-primary, .btn-ghost, .magnetic, .p-card-link, button, .stack-item, .feature-card {
    cursor: pointer;
}

/* GRID LAYOUT FOR PORTFOLIO CARDS */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr));
    gap: 30px;
    padding-bottom: 100px;
}

.grid-card {
    background: var(--bento-bg);
    border: 1px solid var(--bento-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.grid-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-orange);
    box-shadow: 0 20px 40px rgba(234, 88, 12, 0.08);
}

.grid-card.hidden {
    display: none !important;
}

.gc-img-wrapper {
    height: 240px;
    width: 100%;
    overflow: hidden;
    border-bottom: 1px solid var(--bento-border);
    position: relative;
}

.gc-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.grid-card:hover .gc-img-wrapper img {
    transform: scale(1.06);
}

.gc-info {
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
}

.gc-cat {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-orange);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.gc-cat::before {
    content: '';
    width: 20px;
    height: 1px;
    background: var(--accent-orange);
}

.gc-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.gc-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.gc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.gc-tags span {
    padding: 6px 14px;
    background: var(--bg-color);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    border: 1px solid var(--bento-border);
}

@media(max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* Custom premium scrollbar for horizontal overflow elements */
.graph-wrapper::-webkit-scrollbar,
.ide-body::-webkit-scrollbar {
    height: 6px;
}

.graph-wrapper::-webkit-scrollbar-track,
.ide-body::-webkit-scrollbar-track {
    background: transparent;
}

.graph-wrapper::-webkit-scrollbar-thumb,
.ide-body::-webkit-scrollbar-thumb {
    background: var(--bento-border);
    border-radius: 100px;
}

.graph-wrapper::-webkit-scrollbar-thumb:hover,
.ide-body::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Direct Contact responsiveness overrides */
@media (max-width: 480px) {
    .direct-contact {
        display: block !important;
        width: 100% !important;
        padding: 15px 18px !important;
        text-align: center !important;
    }
    .direct-contact p {
        font-size: 0.95rem !important;
        word-break: break-all !important;
    }
}
