/* ===== site styles (moved from style.css) ===== */
/* Reset defaults so landing section fills the entire viewport with no gaps */
*{
    box-sizing: border-box;
}
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #070707; /* match landing background to avoid flashes */
    overflow-x: hidden;
    font-family: 'Advent Pro', sans-serif;
    scroll-behavior: smooth;
}

/* Performance optimizations */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

video {
    will-change: auto;
}

.parallax-video-inner,
.testimonial-slide,
.box {
    will-change: auto;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* ===== Animated site background (global) =====
   - Subtle moving gradient layer + slowly drifting blurred blobs
   - Low opacity to keep content readable
   - Respects prefers-reduced-motion
*/
body.site-animated::before,
body.site-animated::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0; /* sits under UI but above the body background */
}

/* animated color gradient (slow) - optimized */
body.site-animated::before {
    background: linear-gradient(120deg, rgba(5,10,15,0.6), rgba(10,30,25,0.5), rgba(5,10,15,0.6));
    mix-blend-mode: overlay;
    opacity: 0.5;
    transform: translateZ(0);
    will-change: auto;
    background-size: 200% 200%;
    animation: bgGradientShift 50s linear infinite;
}

@keyframes bgGradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* blurred drifting blobs for depth - optimized */
body.site-animated::after {
    background-image: radial-gradient( at 10% 20%, rgba(97,255,201,0.06) 0 12%, transparent 40%),
                      radial-gradient( at 80% 80%, rgba(0,95,61,0.05) 0 10%, transparent 38%),
                      radial-gradient( at 60% 30%, rgba(255,188,0,0.04) 0 14%, transparent 40%);
    filter: blur(20px);
    opacity: 0.8;
    transform: translateZ(0);
    will-change: auto;
    animation: blobsDrift 40s ease-in-out infinite;
}

@keyframes blobsDrift {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(4px, 6px, 0); }
}

/* Respect user preference for reduced motion */
@media (prefers-reduced-motion: reduce) {
    body.site-animated::before, body.site-animated::after { animation: none; transition: none; }
}

/* Ensure content stacks above the animated layers */
/* many components already set z-index; set a base stacking context for the app */
main, .about-wrapper, .site-nav, #footer, .yoda-tabs-section { position: relative; z-index: 2; }

/* Per-section decorative overlay helper class (useful if you want extra depth per section) */
.section-deco::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 10% 20%, rgba(97,255,201,0.03), transparent 15%),
                radial-gradient(circle at 80% 80%, rgba(0,95,61,0.02), transparent 18%);
    pointer-events: none;
    z-index: 1;
}

/* Testimonials carousel - Modern 3D Card Stack Design */
.testimonials-section {
    padding: 120px 20px 140px;
    background: linear-gradient(180deg, #2a2e2c 0%, #1a1a1a 30%, #0a0a0a 60%, #050505 80%, #000000 100%);
    color: #eee;
    margin: 0;
    position: relative;
    overflow-x: hidden;
    overflow-y: visible;
}

/* Animated gradient background */
.testimonials-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 50% 0%, rgba(97, 255, 201, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(0, 95, 61, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* Removed for minimalistic design */

.testimonials-inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.testimonials-title {
    font-size: 2.8rem;
    margin: 0 0 80px 0;
    color: #fff;
    text-align: center;
    font-weight: 600;
    letter-spacing: 1px;
    font-family: 'Advent Pro', sans-serif;
    background: linear-gradient(135deg, #61ffc9 0%, rgba(97, 255, 201, 0.6) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.testimonial-carousel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    perspective: 1200px;
    overflow: visible;
}

.testimonial-viewport {
    overflow: visible;
    width: 100%;
    max-width: 750px;
    padding: 60px 0;
}

.testimonial-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.7s cubic-bezier(.25,.46,.45,.94);
    transform-style: preserve-3d;
    padding: 0 10px;
}

.testimonial-slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 50px 45px;
    background: rgba(10, 10, 10, 0.4);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(97, 255, 201, 0.1);
    transform: translateZ(0);
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.testimonial-slide:hover {
    border-color: rgba(97, 255, 201, 0.3);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
}

/* Removed for minimalistic design */

.testimonial-quote {
    font-size: 1.2rem;
    line-height: 1.9;
    margin: 0 0 40px 0;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    position: relative;
    z-index: 1;
    font-style: normal;
}

.testimonial-meta { 
    display: flex; 
    align-items: center; 
    gap: 16px; 
    padding-top: 30px;
    border-top: 1px solid rgba(97, 255, 201, 0.1);
    position: relative;
    z-index: 1;
}

.testimonial-meta img { 
    width: 56px; 
    height: 56px; 
    border-radius: 50%; 
    object-fit: cover;
    border: 2px solid rgba(97, 255, 201, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.testimonial-slide:hover .testimonial-meta img {
    border-color: rgba(97, 255, 201, 0.4);
}

.meta-text { 
    color: #d0d0d0; 
    font-size: 1rem; 
    line-height: 1.6;
    font-family: 'Advent Pro', sans-serif;
}

.meta-text strong { 
    color: #61ffc9; 
    font-weight: 700; 
    display: block; 
    margin-bottom: 4px;
}

.meta-text span { 
    color: rgba(255, 255, 255, 0.6); 
    font-size: 0.9rem;
}

.testimonial-arrow { 
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(97, 255, 201, 0.2);
    color: rgba(97, 255, 201, 0.8);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.testimonial-arrow:hover {
    background: rgba(10, 10, 10, 0.8);
    border-color: rgba(97, 255, 201, 0.5);
    color: #61ffc9;
}

.testimonial-arrow.prev { order: -1; }
.testimonial-arrow.next { order: 1; }

.testimonial-dots { 
    display: flex; 
    gap: 12px; 
    justify-content: center; 
    margin-top: 60px;
    flex-wrap: wrap;
}

.testimonial-dot { 
    width: 10px; 
    height: 10px; 
    border-radius: 50%; 
    background: rgba(97, 255, 201, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot:hover { 
    background: rgba(97, 255, 201, 0.4);
}

.testimonial-dot.active { 
    background: rgba(97, 255, 201, 0.8);
    width: 32px;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .testimonials-section { padding: 3rem 1rem; }
    .testimonials-title { font-size: 2rem; margin-bottom: 2rem; }
    .testimonial-slide { padding: 1.75rem; }
    .testimonial-quote { font-size: 1rem; }
    .testimonial-arrow { width: 44px; height: 44px; }
    .testimonial-carousel { perspective: 800px; }
}

#landing-page {
    min-height: 100vh;
    width: 100%;
    color: #ffffff;
    background-color: #070707;
    background-image: none;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 96px 24px;
    overflow: hidden;
}
#landing-page::before{
    content: '';
    position: absolute;
    inset: -20% -10% -20% -10%;
    background: radial-gradient(800px 800px at 20% 30%, rgba(97,255,201,0.10), transparent 60%),
                radial-gradient(800px 800px at 80% 70%, rgba(0,95,61,0.10), transparent 60%);
    pointer-events: none;
}

/* Minimal hero */
.hero-wrap{
    max-width: 980px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}
.hero-badge{
    text-transform: uppercase;
    letter-spacing: 6px;
    font-size: 0.9rem;
    color: #61ffc9;
    background: rgba(97,255,201,0.08);
    border: 1px solid rgba(97,255,201,0.25);
    padding: 8px 14px;
    border-radius: 999px;
}
.hero-title{
    font-family: 'Advent Pro', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin: 0;
}
.hero-subtitle{
    font-family: 'Advent Pro', sans-serif;
    font-size: 1.2rem;
    font-weight: 300;
    color: rgba(255,255,255,0.75);
    margin: 4px 0 0 0;
}
.hero-ctas{
    display: flex;
    gap: 14px;
    align-items: center;
    margin-top: 10px;
}
.btn-primary{
    padding: 14px 26px;
    border-radius: 12px;
    border: 1px solid rgba(97,255,201,0.4);
    background: #61ffc9;
    color: #0c0c0c;
    font-family: 'Advent Pro', sans-serif;
    font-size: 1rem;
    font-weight: 600;
}
.hero-links{ display: flex; gap: 10px; }
.hero-links .work{
    padding: 12px 18px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.06);
    color: #fff;
    font-family: 'Advent Pro', sans-serif;
}


/* ===== Parallax Videos Section ===== */
#parallax-section {
    background: linear-gradient(180deg, #000000 0%, #0a0a0a 30%, #1a1a1a 70%, #2a2e2c 100%);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

/* Animated mesh gradient background */
#parallax-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(97, 255, 201, 0.1) 0%, transparent 40%),
        radial-gradient(ellipse at 80% 80%, rgba(0, 95, 61, 0.1) 0%, transparent 45%);
    opacity: 0.7;
    pointer-events: none;
    z-index: 0;
}

/* Static grid pattern overlay - optimized */
#parallax-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(0deg, transparent 24%, rgba(97, 255, 201, 0.03) 25%, rgba(97, 255, 201, 0.03) 26%, transparent 27%, transparent),
        linear-gradient(90deg, transparent 24%, rgba(97, 255, 201, 0.03) 25%, rgba(97, 255, 201, 0.03) 26%, transparent 27%, transparent);
    background-size: 60px 60px;
    opacity: 0.2;
    pointer-events: none;
    z-index: 0;
}

.parallax-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.parallax-header {
    text-align: center;
    margin-bottom: 80px;
}

.parallax-title {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #61ffc9 0%, #005F3D 50%, #61ffc9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 16px 0;
    font-family: 'Advent Pro', sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 30px rgba(97, 255, 201, 0.1);
}

.parallax-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    font-weight: 300;
    font-family: 'Advent Pro', sans-serif;
    margin: 0;
    letter-spacing: 0.5px;
}

.parallax-videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.parallax-video-wrapper {
    position: relative;
    height: 400px;
    cursor: pointer;
}

.parallax-video-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(30, 30, 50, 0.9), rgba(20, 40, 60, 0.9));
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.5),
        inset 0 1px 1px rgba(255, 255, 255, 0.1),
        0 0 20px rgba(97, 255, 201, 0.1);
    transition: all 300ms ease;
    border: 1px solid rgba(97, 255, 201, 0.2);
}

.parallax-video-wrapper:hover .parallax-video-inner {
    transform: translateY(-8px);
    box-shadow: 
        0 16px 48px rgba(97, 255, 201, 0.25),
        inset 0 1px 1px rgba(255, 255, 255, 0.15),
        0 0 30px rgba(0, 95, 61, 0.2);
    border-color: rgba(97, 255, 201, 0.5);
}

.parallax-video-inner video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.parallax-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 20, 30, 0.95) 0%, rgba(15, 35, 50, 0.98) 100%);
    opacity: 0;
    transition: opacity 400ms ease;
    z-index: 2;
    pointer-events: none;
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.parallax-video-wrapper:hover .parallax-video-overlay {
    opacity: 1;
    pointer-events: auto;
}

.parallax-video-info {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    animation: slideInInfo 400ms ease forwards;
}

@keyframes slideInInfo {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.project-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #61ffc9;
    margin: 0;
    font-family: 'Advent Pro', sans-serif;
    letter-spacing: 1px;
    text-shadow: 0 4px 16px rgba(97, 255, 201, 0.3);
}

.project-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-family: 'Advent Pro', sans-serif;
    line-height: 1.5;
    font-weight: 400;
}

.project-tech {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.tech-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(97, 255, 201, 0.25) 0%, rgba(0, 95, 61, 0.25) 100%);
    border: 1px solid rgba(97, 255, 201, 0.6);
    color: #61ffc9;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: 'Advent Pro', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    transition: all 200ms ease;
}

.parallax-video-wrapper:hover .tech-tag {
    background: linear-gradient(135deg, rgba(97, 255, 201, 0.35) 0%, rgba(0, 95, 61, 0.35) 100%);
    border-color: rgba(97, 255, 201, 0.8);
}

.visit-btn {
    display: inline-block;
    background: linear-gradient(135deg, #61ffc9 0%, #005F3D 100%);
    color: #000;
    padding: 10px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Advent Pro', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 300ms ease;
    box-shadow: 0 4px 15px rgba(97, 255, 201, 0.4);
    border: none;
    cursor: pointer;
    align-self: center;
    margin-top: 8px;
}

.visit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(97, 255, 201, 0.6);
    background: linear-gradient(135deg, #2b8aef 0%, #61ffc9 100%);
}

/* Parallax scroll effect disabled */
.parallax-video-inner {
    background-attachment: initial; /* remove fixed background to stop parallax */
}

/* Responsive: Tablet */
@media (max-width: 980px) {
    .parallax-title { font-size: 3rem; }
    .parallax-subtitle { font-size: 1.1rem; }
    .parallax-videos-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .parallax-video-wrapper { height: 350px; }
    .project-name { font-size: 1.5rem; }
    .project-desc { font-size: 0.9rem; }
    .tech-tag { font-size: 0.75rem; padding: 5px 10px; }
    .visit-btn { font-size: 0.9rem; padding: 8px 18px; }
}

/* Responsive: Mobile */
@media (max-width: 768px) {
    #parallax-section { padding: 80px 0; }
    .parallax-title { font-size: 2.5rem; }
    .parallax-subtitle { font-size: 1rem; }
    .parallax-header { margin-bottom: 60px; }
    .parallax-videos-grid { grid-template-columns: 1fr; gap: 24px; }
    .parallax-video-wrapper { height: 300px; }
    .project-name { font-size: 1.3rem; }
    .project-desc { font-size: 0.85rem; }
    .tech-tag { font-size: 0.7rem; padding: 4px 8px; }
    .visit-btn { font-size: 0.85rem; padding: 8px 16px; }
}

/* Responsive: Small Mobile */
@media (max-width: 640px) {
    #parallax-section { padding: 60px 0; }
    .parallax-title { font-size: 2rem; }
    .parallax-subtitle { font-size: 0.95rem; }
    .parallax-header { margin-bottom: 40px; padding: 0 10px; }
    .parallax-videos-grid { gap: 18px; }
    .parallax-video-wrapper { height: 250px; }
    .project-name { font-size: 1.1rem; }
    .project-desc { font-size: 0.8rem; }
    .tech-tag { font-size: 0.65rem; padding: 3px 8px; }
    .visit-btn { font-size: 0.8rem; padding: 6px 14px; }
    .parallax-video-info { gap: 12px; }
}

/* Top navigation - visible on desktop by default, hidden on mobile */
.site-nav{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    background: #fff;
    transform: translateY(0);
    opacity: 1;
    transition: transform 260ms ease, opacity 260ms ease;
    z-index: 9999;
}

/* Desktop nav (>600px) - always visible */
@media (min-width: 601px) {
    .site-nav {
        transform: translateY(0) !important;
        opacity: 1 !important;
    }
}

.site-nav .nav-left{display:flex;align-items:center;gap:10px;color:#0c0c0c;font-style: italic; font-weight: bold; font-family:'Advent Pro',sans-serif}
.site-nav .dot{width:8px;height:8px;border-radius:50%;background:#0c0c0c;display:inline-block}
.site-nav .dot.hollow{background:transparent;border:2px solid #0c0c0c}
.site-nav .brand{font-size:1.2rem;letter-spacing:1px}
.nav-center{list-style:none;display:flex;gap:56px;margin:0;padding:0;color:#0c0c0c;font-weight: bold; font-family:'Advent Pro',sans-serif}
.nav-center li{font-size:1.2rem;cursor:pointer;padding:4px 0;}
.nav-center li a{color:inherit;text-decoration:none;display:inline-block;position:relative;transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1), color 280ms ease;}
.nav-center li a::after{content:'';position:absolute;bottom:-2px;left:0;width:0;height:1.5px;background:#0c0c0c;transition:width 300ms cubic-bezier(0.4, 0, 0.2, 1);}
.nav-center li a:hover{transform:translateY(-2px);}
.nav-center li a:hover::after{width:100%;}
.nav-right{display:flex;align-items:center;gap:24px;color:#0c0c0c;font-size:1.1rem;font-family:'Advent Pro',sans-serif}
.nav-right-contact{cursor:pointer;font-weight:bold;font-size:1.1rem;transition:transform 220ms ease;padding:4px 0;}
.nav-right-contact:hover{transform:scale(1.05);}
.nav-download{background:transparent;border:none;color:#0c0c0c;padding:4px 0;margin:0;font-family:'Advent Pro',sans-serif;font-weight:bold;font-size:1.1rem;cursor:pointer;outline:none;transition:transform 220ms ease;}
.nav-download:hover{background:transparent !important;transform:scale(1.05) !important;box-shadow:none !important;opacity:1 !important;}

/* keep space at top of page content so fixed nav doesn't cover content when visible */
body.has-nav-visible{
    padding-top: 56px;
}

.btn-contact{
    border: 1px solid #005F3D;
    background-color: #005F3D;
    color: white;
    font-family: 'Advent Pro', sans-serif;
    font-size: 1.5rem;
    padding: 0 10px 0 10px;
    align-items: center;
}
.work{
    background: none;
    color: white;
    border: 0px none transparent;
    font-family: 'Advent Pro', sans-serif;
    font-size: 2.5rem;
}

/* ===== Services Section ===== */
#services-section {
    background: #f8f8f8;
    padding: 180px 0;
}

.services-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 80px;
}

.services-header {
    margin-bottom: 100px;
}

.services-title {
    font-size: 5rem;
    font-weight: 600;
    color: #0c0c0c;
    margin: 0 0 30px 0;
    font-family: 'Advent Pro', sans-serif;
    letter-spacing: -2px;
    line-height: 1.1;
}

.services-subtitle {
    color: rgba(12, 12, 12, 0.4);
    font-size: 1.5rem;
    font-weight: 300;
    font-family: 'Advent Pro', sans-serif;
    margin: 0;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 80px;
}

.service-item {
    display: flex;
    flex-direction: column;
    gap: 24px;
    cursor: pointer;
    transition: transform 250ms ease;
}

.service-item:hover {
    transform: translateY(-4px);
}

.service-number {
    font-size: 7rem;
    font-weight: 700;
    color: rgba(12, 12, 12, 0.06);
    font-family: 'Advent Pro', sans-serif;
    line-height: 1;
    margin: 0;
    transition: color 200ms ease 0ms;
}

.service-item:hover .service-number {
    color: rgba(12, 12, 12, 0.1);
}

.service-content {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: -50px;
}

.service-name {
    font-size: 2.2rem;
    font-weight: 600;
    color: #0c0c0c;
    margin: 0;
    font-family: 'Advent Pro', sans-serif;
    letter-spacing: -0.5px;
    line-height: 1.2;
    transition: letter-spacing 200ms ease 50ms;
}

.service-item:hover .service-name {
    letter-spacing: 0px;
}

.service-desc {
    font-size: 1.1rem;
    color: rgba(12, 12, 12, 0.5);
    line-height: 1.7;
    margin: 0;
    font-family: 'Advent Pro', sans-serif;
    font-weight: 300;
    transition: color 200ms ease 100ms;
}

.service-item:hover .service-desc {
    color: rgba(12, 12, 12, 0.65);
}

.service-tech {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 6px;
}

.service-tech span {
    font-size: 0.95rem;
    color: rgba(12, 12, 12, 0.35);
    font-family: 'Advent Pro', sans-serif;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Responsive: Tablet */
@media (max-width: 980px) {
    #services-section { padding: 140px 0; }
    .services-container { padding: 0 50px; max-width: 900px; }
    .services-header { margin-bottom: 80px; }
    .services-title { font-size: 4rem; }
    .services-subtitle { font-size: 1.3rem; }
    .services-list { gap: 50px 60px; }
    .service-number { font-size: 6rem; }
    .service-name { font-size: 2rem; }
    .service-desc { font-size: 1rem; }
}

/* Responsive: Mobile */
@media (max-width: 768px) {
    #services-section { padding: 100px 0; }
    .services-container { padding: 0 30px; }
    .services-header { margin-bottom: 70px; }
    .services-title { font-size: 3rem; }
    .services-subtitle { font-size: 1.2rem; }
    .services-list { grid-template-columns: 1fr; gap: 60px; }
    .service-number { font-size: 5rem; }
    .service-content { margin-top: -40px; }
    .service-name { font-size: 1.8rem; }
    .service-desc { font-size: 1rem; }
}

/* Responsive: Small Mobile */
@media (max-width: 640px) {
    #services-section { padding: 80px 0; }
    .services-container { padding: 0 20px; }
    .services-header { margin-bottom: 60px; }
    .services-title { font-size: 2.5rem; }
    .services-subtitle { font-size: 1.1rem; }
    .services-list { gap: 50px; }
    .service-number { font-size: 4rem; }
    .service-content { margin-top: -30px; gap: 16px; }
    .service-name { font-size: 1.5rem; }
    .service-desc { font-size: 0.95rem; line-height: 1.6; }
    .service-tech span { font-size: 0.9rem; }
}

/* ===== Footer Section ===== */
#footer{
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(180deg, #000000 0%, #0a0a0a 30%, #070707 100%);
    position: relative;
    padding: 80px 0 60px 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Static gradient background overlay - optimized */
#footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(97, 255, 201, 0.04) 0%, transparent 50%),
                radial-gradient(circle at 30% 70%, rgba(0, 95, 61, 0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Static particles effect - optimized */
#footer::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: 
        radial-gradient(1px 1px at 25% 20%, rgba(255, 255, 255, 0.08), transparent),
        radial-gradient(2px 2px at 65% 80%, rgba(97, 255, 201, 0.1), transparent),
        radial-gradient(1px 1px at 45% 45%, rgba(0, 95, 61, 0.08), transparent),
        radial-gradient(1px 1px at 85% 15%, rgba(255, 255, 255, 0.06), transparent);
    opacity: 0.8;
    pointer-events: none;
    z-index: 0;
}

/* Footer section header */
.footer-header {
    text-align: center;
    margin-bottom: 60px;
    z-index: 2;
    position: relative;
    padding: 0 20px;
}

.footer-title {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #61ffc9 50%, #005F3D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 16px 0;
    font-family: 'Advent Pro', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.2rem;
    font-weight: 300;
    font-family: 'Advent Pro', sans-serif;
    margin: 0;
}

/* Footer background inserted as an inline image. Use max-width:100% so
   it displays at intrinsic height unless it's wider than the viewport,
   in which case it scales down to fit (prevents horizontal scrolling). */
.footer-bg{
    display: none;
}

.talk-to-me{
    color: white;
    font-size: 2.5rem;
    font-family: 'Advent Pro', sans-serif;
    font-weight: 700;
    position: relative;
    margin-bottom: 16px;
    z-index: 2;
    letter-spacing: 1px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 32px;
    font-family: 'Advent Pro', sans-serif;
    font-weight: 300;
}

.footer-section-title {
    color: white;
    font-size: 1.5rem;
    font-family: 'Advent Pro', sans-serif;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

/* Footer layout (three columns) */
.footer-inner{
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 0 6%;
    max-width: 1400px;
    margin: 0 auto;
    flex: 1;
    z-index: 2;
    gap: 40px;
}

.footer-left{
    flex: 0 0 22%;
}
.footer-center{
    flex: 0 0 20%;
}
.footer-right{
    flex: 1;
    max-width: 500px;
}

.social-list{
    list-style: none;
    padding: 0;
    margin: 0;
}
.social-list li{
    margin: 12px 0;
}
.social-list li a{
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Advent Pro', sans-serif;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}
.social-list li a::before {
    content: '→';
    margin-right: 8px;
    color: #61ffc9;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}
.social-list li a:hover{
    color: #61ffc9;
    transform: translateX(8px);
}
.social-list li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-nav{
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-block;
    text-align: left;
}
.footer-nav li{
    margin: 10px 0;
}
.footer-nav li a{
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Advent Pro', sans-serif;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}
.footer-nav li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #61ffc9;
    transition: width 0.3s ease;
}
.footer-nav li a:hover{
    color: #61ffc9;
}
.footer-nav li a:hover::after {
    width: 100%;
}

.footer-form{
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-form label{
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    text-transform: capitalize;
    font-family: 'Advent Pro', sans-serif;
    font-weight: 500;
    margin-bottom: 4px;
}
.footer-input, .footer-textarea{
    border-radius: 8px;
    border: 2px solid rgba(97, 255, 201, 0.2);
    padding: 12px 16px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-family: 'Advent Pro', sans-serif;
    transition: all 0.3s ease;
}
.footer-input:focus, .footer-textarea:focus{
    outline: none;
    border-color: #61ffc9;
    background: rgba(255, 255, 255, 0.08);
}
.footer-input::placeholder, .footer-textarea::placeholder{
    color: rgba(255, 255, 255, 0.4);
}
.footer-textarea{
    min-height: 120px;
    resize: vertical;
}
.footer-submit{
    margin-top: 8px;
    width: 100%;
    padding: 12px 16px;
    background: #61ffc9;
    color: #000;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-family: 'Advent Pro', sans-serif;
    font-size: 1.05rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}
.footer-submit:hover{
    background: #005F3D;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(97, 255, 201, 0.3);
}

.footer-bottom{
    position: relative;
    padding: 40px 6% 0 6%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    margin-top: auto;
    gap: 20px;
}
.footer-line{
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.15);
}
.footer-copy{
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
    text-align: center;
    font-family: 'Advent Pro', sans-serif;
    line-height: 1.6;
}
.footer-copy p {
    margin: 4px 0;
}

/* Tablet: adjust layout and spacing */
@media (max-width: 980px){
    .footer-title { font-size: 3rem; }
    .footer-subtitle { font-size: 1.15rem; }
    .footer-inner { padding: 0 5%; gap: 32px; }
    .footer-left { flex: 0 0 25%; }
    .footer-center { flex: 0 0 22%; }
    .footer-right { flex: 1; max-width: 450px; }
}

/* Small tablets: stack columns */
@media (max-width: 900px){
    .footer-inner { 
        flex-direction: column; 
        align-items: flex-start; 
        padding: 0 5%; 
        gap: 40px;
    }
    .footer-left, .footer-center, .footer-right { 
        flex: none;
        width: 100%; 
        max-width: 100%;
    }
    .talk-to-me { 
        font-size: 3rem; 
        margin-bottom: 32px; 
    }
    .footer-form { width: 100%; }
    .footer-submit { align-self: stretch; width: 100%; }
    .footer-bottom { padding: 32px 5% 0 5%; }
    .social-list, .footer-nav { 
        display: flex; 
        flex-wrap: wrap; 
        gap: 16px; 
    }
    .social-list li, .footer-nav li { margin: 0; }
}

/* ===== about & tech styles ===== */
:root{
	--warm-white: #fffaf0;
	--card-bg: #ffffff;
	--card-shadow: rgba(0,0,0,0.08);
	--accent: #005F3D;
}

/* Additional responsive tweaks for landing and header */
@media (max-width: 900px) {
    .btn-contact { font-size: 1rem; padding: 8px 12px; }
    .work { font-size: 1.6rem; }
}

/* Always show the top nav on small screens (mobile) for easier access */
@media (max-width: 600px) {
    .site-nav {
        transform: translateY(0) !important;
        opacity: 1 !important;
        transition: transform 220ms ease, opacity 220ms ease;
        background: rgba(255,255,255,0.96);
        backdrop-filter: blur(12px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.25);
        font-family: 'Advent Pro', sans-serif;
    }
    /* ensure body spacing when nav is visible on mobile */
    body { padding-top: 56px; }
}

/* Hamburger & mobile nav styles */
.nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10000;
}
.nav-toggle .hamburger {
    display: block;
    width: 22px;
    height: 2px;
    background: #0c0c0c;
    position: relative;
}
.nav-toggle .hamburger::before,
.nav-toggle .hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    background: #0c0c0c;
}
.nav-toggle .hamburger::before { top: -7px; }
.nav-toggle .hamburger::after { top: 7px; }

/* Mobile nav overlay */
.mobile-nav {
    display: flex;
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 260ms ease, visibility 260ms ease;
    font-family: 'Advent Pro', sans-serif;
}
.mobile-nav-inner { text-align: center; color: white; }
.mobile-close { position: fixed; right: 18px; top: 18px; background: transparent; border: 0; color: #fff; font-size: 1.8rem; cursor: pointer; z-index: 2147483648; pointer-events: auto; width:44px; height:44px; display:flex; align-items:center; justify-content:center; }
.mobile-nav-list { list-style: none; padding: 0; margin: 0 0 1rem 0; }
.mobile-nav-list li { margin: 0.7rem 0; }
.mobile-nav-list a { color: #fff; font-size: 1.15rem; text-decoration: none; font-weight: 500; }
.mobile-contact-link { display: inline-block; margin-top: 0.75rem; color: #111; background: #61ffc9; padding: 8px 16px; border-radius: 6px; text-decoration:none; font-weight:700; font-size: 1rem; }

/* Show hamburger and hide center links on smaller screens */
@media (max-width: 600px) {
    .nav-toggle { display: inline-flex; }
    .nav-center { display: none; }
    .nav-right { display: none; }
    .site-nav { justify-content: space-between; padding: 8px 14px; }
}

/* Mobile side-panel behavior for small screens (<=600px) */
@media (max-width: 600px) {
    .mobile-nav {
        display: flex; /* container for panel */
        align-items: stretch;
        justify-content: flex-end;
        background: rgba(0,0,0,0.35);
        z-index: 2147483647;
        pointer-events: none;
    }
    .mobile-nav.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    .mobile-nav-list a,
    .mobile-contact-link,
    .mobile-close { font-family: 'Advent Pro', sans-serif; }
    .mobile-nav-inner {
        width: 75%;
        max-width: 320px;
        height: 100%;
        background: linear-gradient(180deg, rgba(10,10,10,0.98), rgba(20,20,20,0.98));
        box-shadow: -20px 0 60px rgba(0,0,0,0.6);
        transform: translateX(100%);
        transition: transform 320ms cubic-bezier(.2,.9,.2,1);
        padding: 60px 20px 24px;
        display: flex;
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
        justify-content: flex-start;
    }
    .mobile-nav.is-open .mobile-nav-inner {
        transform: translateX(0);
    }
    /* position close button inside the panel area */
    .mobile-close { right: calc(20% + 18px); top: 18px; }
}

/* Desktop and larger: ensure mobile nav is not visible/clickable */
@media (min-width: 601px) {
    .mobile-nav { display: none !important; }
}

/* Button & interactive control transitions and effects (global)
   Applies to <button>, button-like elements and primary links used as buttons.
*/
button,
input[type="button"],
input[type="submit"],
.btn-contact,
.work,
.yoda-tabs-button,
.testimonial-arrow,
.footer-submit,
.nav-toggle,
.mobile-close,
.mobile-contact-link,
.mobile-nav-list a,
.box .content a,
.social-list a,
.footer-nav a {
    transition: transform 220ms cubic-bezier(.2,.9,.2,1),
                box-shadow 220ms cubic-bezier(.2,.9,.2,1),
                background-color 180ms ease,
                opacity 180ms ease;
    will-change: transform, box-shadow, opacity;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

/* Hover / focus effects */
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
.btn-contact:hover,
.work:hover,
.yoda-tabs-button:hover,
.testimonial-arrow:hover,
.footer-submit:hover,
.nav-toggle:hover,
.mobile-close:hover,
.mobile-contact-link:hover,
.mobile-nav-list a:hover,
.box .content a:hover,
.social-list a:hover,
.footer-nav a:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0,0,0,0.35);
    opacity: 0.98;
}

/* Non-layout transitions only — do NOT change positions/sizes.
   These ensure style changes (color/opacity/transform) animate smoothly
   without altering the UI or layout. */
.nav-center li,
.nav-right,
.brand,
.about-title,
.about-subtitle,
.hover-card,
.about-card,
.testimonial-quote,
.talk-to-me,
.footer-nav li,
.social-list li {
    transition: color 220ms ease, opacity 220ms ease, transform 260ms cubic-bezier(.2,.9,.2,1);
    will-change: color, opacity, transform;
}

/* Keep hover styles unchanged — but allow them to animate if present */
.nav-center li,
.footer-nav a,
.social-list a { -webkit-tap-highlight-color: rgba(0,0,0,0); }


.more-about {
    font-size: 2rem;
    position: relative;
    display: inline-block;
    font-family: advent pro, sans-serif;
    text-decoration: none;
    margin-top: 10px;
    z-index: 3;
    /* Animated gradient text for continuous color change */
    background: linear-gradient(90deg, #61ffc9, #00a3ff, #ff6ec7, #ffd166, #61ffc9);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: floatY 3.6s ease-in-out infinite, hueMove 6s linear infinite;
}

.more-about::after,
.more-about::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, #c2f0d8, #005F3D);
  bottom: -2px;
  left: 0;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease-out;
}

.more-about::before {
  transform-origin: left;
}
/* Hover can remain subtle; primary effect is always-on */
.more-about:hover{ opacity: 1; }
    

.more-about:hover::after,
.more-about:hover::before {
  transform: scaleX(1);
}

@keyframes floatY {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-6px); }
    100% { transform: translateY(0); }
}

@keyframes hueMove {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Tweak motion on small screens to avoid overlap */
@media (max-width: 700px){
    .more-about { animation: floatY 3s ease-in-out infinite, hueMove 7s linear infinite; }
}


@media (prefers-reduced-motion: reduce) {
    .nav-center li,
    .nav-right,
    .brand,
    .about-title,
    .about-subtitle,
    .hover-card,
    .about-card,
    .testimonial-quote,
    .talk-to-me,
    .footer-nav li,
    .social-list li {
        transition: none !important;
    }
}

/* Active / pressed */
button:active,
input[type="button"]:active,
input[type="submit"]:active,
.btn-contact:active,
.work:active,
.yoda-tabs-button:active,
.testimonial-arrow:active,
.footer-submit:active,
.nav-toggle:active,
.mobile-close:active,
.mobile-contact-link:active,
.mobile-nav-list a:active,
.box .content a:active {
    transform: translateY(-1px) scale(0.995);
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

/* Focus-visible for keyboard users */
button:focus-visible,
input[type="button"]:focus-visible,
input[type="submit"]:focus-visible,
.btn-contact:focus-visible,
.work:focus-visible,
.yoda-tabs-button:focus-visible,
.testimonial-arrow:focus-visible,
.footer-submit:focus-visible,
.nav-toggle:focus-visible,
.mobile-close:focus-visible,
.mobile-contact-link:focus-visible,
.mobile-nav-list a:focus-visible,
.box .content a:focus-visible {
    outline: 3px solid rgba(97,255,201,0.22);
    outline-offset: 3px;
}

/* Card footer with Visit and GitHub links */
.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 20px;
    padding-top: 20px;
}

.card-footer a {
    transition: all 0.3s ease;
}

.card-footer .github-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(97, 255, 201, 0.3);
    color: #61ffc9;
    cursor: pointer;
}

.card-footer .github-link:hover {
    background: rgba(97, 255, 201, 0.15);
    border-color: #61ffc9;
    transform: scale(1.1);
}

.card-footer .github-link svg {
    display: block;
    fill: currentColor;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    button,
    input[type="button"],
    input[type="submit"],
    .btn-contact,
    .work,
    .yoda-tabs-button,
    .testimonial-arrow,
    .footer-submit,
    .nav-toggle,
    .mobile-close,
    .mobile-contact-link,
    .mobile-nav-list a,
    .box .content a {
        transition: none !important;
        animation: none !important;
    }
}

@media (max-width: 600px) {
    #landing-page{
        padding: 64px 18px;
        align-items: center;
        justify-content: center;
    }
    .hero-wrap{ gap: 16px; }
    .hero-badge{ font-size: 0.8rem; letter-spacing: 4px; }
    .hero-title{ font-size: 2rem; }
    .hero-subtitle{ font-size: 1rem; }
    .hero-ctas{ flex-direction: column; gap: 10px; }
    .btn-primary, .hero-links .work{ width: 100%; }
    .site-nav .nav-center { display: none; }
    .site-nav { padding: 0 12px; height: 52px;}
    .site-nav .brand { font-size: 1rem;}
    .nav-toggle { width: 42px; height: 42px; }
}

/* Ensure video wrappers scale on small screens */
@media (max-width: 700px) {
    .yoda-tabs-video, .w-background-video { height: 260px; }
    .yoda-tabs-height { height: 300vh; }
}


/* Projects Stack Responsive */
@media (max-width: 768px) {
    .projects-stack-container { height: 2800px; }
    .project-card { max-width: 90%; height: 350px; }
    .project-overlay { padding: 24px; }
    .project-name { font-size: 1.7rem; }
    .project-brief { font-size: 0.95rem; }
    .project-link { width: 44px; height: 44px; top: 16px; right: 16px; }
    #works .works-title { font-size: 2.8rem; }
    #works .works-header { margin-bottom: 60px; }
}

@media (max-width: 640px) {
    .projects-stack-container { height: 2400px; }
    .project-card { max-width: 95%; height: 300px; border-radius: 12px; }
    .project-overlay { padding: 20px; }
    .project-name { font-size: 1.5rem; margin-bottom: 6px; }
    .project-brief { font-size: 0.9rem; }
    .project-link { width: 42px; height: 42px; top: 14px; right: 14px; }
    .project-link svg { width: 18px; height: 18px; }
    #works .works-title { font-size: 2.2rem; letter-spacing: 1px; }
    #works .works-header { margin-bottom: 50px; }
    
    .footer-title { font-size: 2.2rem; }
    .footer-subtitle { font-size: 1rem; }
    #footer { padding: 60px 0 40px 0; }
    .footer-header { margin-bottom: 40px; }
    .footer-inner { padding: 0 5%; }
    .talk-to-me { font-size: 2rem; margin-bottom: 24px; }
    .social-list li, .footer-nav li { font-size: 0.9rem; }
    .footer-form label { font-size: 1rem; }
    .footer-input, .footer-textarea { font-size: 0.95rem; padding: 10px 12px; }
    .footer-textarea { min-height: 80px; }
    .footer-bottom { 
        flex-direction: column; 
        gap: 12px; 
        text-align: center;
        padding: 24px 5% 0 5%;
    }
    .footer-line { display: none; }
    .footer-copy { text-align: center; font-size: 0.7rem; }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .footer-title { font-size: 1.8rem; }
    .footer-subtitle { font-size: 0.9rem; }
    .footer-header { margin-bottom: 30px; padding: 0 10px; }
    .footer-inner { padding: 0 4%; gap: 30px; }
    .talk-to-me { font-size: 1.6rem; margin-bottom: 20px; }
    .social-list, .footer-nav { gap: 12px; }
    .social-list li, .footer-nav li { font-size: 0.85rem; }
    .footer-bottom { padding: 20px 4% 0 4%; }
}

@media (max-width: 768px) {
    #works .works-title { font-size: 2.8rem; }
    #works .works-subtitle { font-size: 1.1rem; }
    
    .footer-title { font-size: 2.8rem; }
    .footer-subtitle { font-size: 1.1rem; }
    .footer-header { margin-bottom: 50px; }
    .footer-inner { padding: 0 5%; }
    .talk-to-me { font-size: 2.5rem; }
    .social-list li, .footer-nav li { font-size: 0.95rem; }
}

/* About section uses a dark, immersive background for the design hero */
#about-section {
    background: linear-gradient(180deg, #2a2e2c 0%, #4a4e4c 20%, #575e5b 50%, #4a4e4c 80%, #2a2e2c 100%);
    color: #fff;
}

/* Ensure landing and footer remain the dark #070707 (re-assert to avoid overrides) */
#landing-page,
#footer {
	background-color: #070707;
}

/* About / Tech wrapper */
#about-section {
    padding: 60px 28px;
}



.about-wrapper {
    width: min(1200px, 96%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 420px;
    grid-template-areas: "title title" "left right";
    gap: 28px;
    align-items: start;
    /* framed, inset look to match screenshot */
    background: rgba(0,0,0,0.82);
    border-radius: 18px;
    padding: 28px;
    border: 4px solid rgba(255,255,255,0.92);
    box-shadow: 0 18px 60px rgba(0,0,0,0.6), inset 0 2px 0 rgba(255,255,255,0.03);
}


/* Make the grid collapse to a single column on smaller screens */
@media (max-width: 980px) {
    .about-wrapper { grid-template-columns: 1fr; grid-template-areas: "title" "left" "right"; }
}

/* Shared card base */
.card {
	background: var(--card-bg);
	border-radius: 14px;
	box-shadow: 0 8px 28px var(--card-shadow);
	overflow: hidden;
	transition: transform 220ms ease, max-height 300ms ease;
	padding: 20px;
}

/* About card specifics (collapsible) */
.about-card {
    width: 100%;
    /* show full content via separate details block, keep this card as a title block */
    flex: none;
    max-width: none;
    cursor: default;
    position: relative;
}
.about-card:focus { outline: none; box-shadow: 0 8px 28px rgba(0,0,0,0.12); }


/* Hero title (spans full width) */
.about-card { grid-area: title; padding: 0; background: transparent; box-shadow: none; }
.about-header { display:flex; justify-content:space-between; align-items:flex-start; gap: 16px; }
.about-title { font-family: 'Advent Pro', sans-serif; font-size: 56px; line-height: 1.02; letter-spacing: 0.3px; color: #fff; font-weight: 700; margin:0; }
.about-subtitle { font-size: 18px; color: rgba(255,255,255,0.82); max-width: 68%; margin-top: 10px;font-family: 'Advent Pro', sans-serif; }
.cta-ghost{ background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); color:#fff; padding:10px 16px; border-radius:10px; cursor:pointer; }

@media (max-width: 900px){ .about-title{ font-size: 28px; } .about-subtitle{ max-width: 100%; } }


/* About details are displayed in a full-width block below the cards */

/* Left panel: portrait + timeline (large visual) */
.about-details { grid-area: left; background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)); border-radius: 18px; padding: 18px; color: #fff; box-shadow: 0 12px 40px rgba(0,0,0,0.6); overflow: hidden; position: relative; }
.about-left-panel { display:flex; flex-direction:column; gap:16px; }
.about-portrait { width:100%; height:auto; border-radius: 14px; object-fit:cover; display:block; margin-top:12px; box-shadow: 0 12px 30px rgba(0,0,0,0.6); }
.timeline { list-style:none; padding: 14px 0 0 0; margin:0; display:flex; flex-direction:column; gap:12px; }
.timeline li { display:flex; justify-content:space-between; align-items:center; background: rgba(255,255,255,0.02); padding:14px 16px; border-radius:12px; border:1px solid rgba(255,255,255,0.04); backdrop-filter: blur(6px); box-shadow: inset 0 6px 14px rgba(0,0,0,0.35); }
.timeline .year { opacity:0.95; font-weight:700; color: rgba(255,255,255,0.95); font-size:13px; }
.timeline .role { color: rgba(255,255,255,0.9); font-size:14px; max-width:70%; text-align:right; }

/* Hover-card: replace static portrait with animated SVG-pattern card */
.hover-card{
    /* make card adapt to its container width while keeping a pleasant aspect ratio */
    width: 100%;
    max-width: 100%;
    height: 560px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="10" cy="10" r="4" fill="%23ff7eb3" /><circle cx="4" cy="4" r="2" fill="%23ff758c" /><circle cx="16" cy="16" r="2" fill="%23ff758c" /></svg>') repeat;
    background-size: 50px 50px;
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 20px;
    text-align: center;
    cursor: pointer;
    transition: background 0.5s ease, transform 220ms ease, box-shadow 220ms ease;
    box-shadow: 0 14px 36px rgba(0,0,0,0.55);
    border: 1px solid rgba(255,255,255,0.03);
}

/* Keyframe animation for moving and changing patterned SVG colors */
@keyframes move-and-color {
    0% {
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="10" cy="10" r="4" fill="%23ff7eb3" /><circle cx="4" cy="4" r="2" fill="%23ff758c" /><circle cx="16" cy="16" r="2" fill="%23ff758c" /></svg>');
        background-position: 0 0;
    }
    50% {
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="10" cy="10" r="4" fill="%23ffcc00" /><circle cx="4" cy="4" r="2" fill="%2300ccff" /><circle cx="16" cy="16" r="2" fill="%23ff33cc" /></svg>');
        background-position: 25px 25px;
    }
    100% {
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="10" cy="10" r="4" fill="%2300ffaa" /><circle cx="4" cy="4" r="2" fill="%23ff0066" /><circle cx="16" cy="16" r="2" fill="%23ff6600" /></svg>');
        background-position: 50px 50px;
    }
}

/* Hover effect triggers the animation */
.hover-card:hover{
    animation: move-and-color 3s linear infinite;
    box-shadow: 0 26px 56px rgba(0,0,0,0.65);
}

@media (max-width: 900px){ .hover-card{display: none; height:220px; } }

/* Right column panels */
.about-right { grid-area: right; display:flex; flex-direction:column; gap:16px; }
.tools-panel { background: linear-gradient(180deg, rgba(0,0,0,0.50), rgba(0,0,0,0.28)); border-radius:18px; padding:18px; box-shadow: 0 18px 50px rgba(0,0,0,0.6); border:1px solid rgba(255,255,255,0.03); }
.tools-inner { padding-top:8px; }
.tool-logos { display:flex; flex-wrap:wrap; gap:12px; align-items:center; justify-content:flex-start; }
.tool-logos img { width:48px; height:48px; background: rgba(255,255,255,0.02); padding:8px; border-radius:12px; border:1px solid rgba(255,255,255,0.04); box-shadow: inset 0 3px 10px rgba(255,255,255,0.02), 0 8px 18px rgba(0,0,0,0.5); }

.testimonial, .contact-panel { background: linear-gradient(180deg, rgba(0,0,0,0.46), rgba(0,0,0,0.30)); border-radius:12px; padding:14px; color:#fff; box-shadow: 0 10px 34px rgba(0,0,0,0.5); border:1px solid rgba(255,255,255,0.03); }
.testimonial p{ color: rgba(255,255,255,0.92); margin: 10px 0; font-size:14px; }
.testimonial-author{ font-size:13px; opacity:0.9; margin-top:6px; }
.contact-card{ display:flex; flex-direction:column; gap:6px; font-weight:700; }


/* Tech card specifics (always expanded) */
.tech-card {
	flex: 0 1 340px;
	max-width: 380px;
}
.tech-card .card { padding: 18px; }

.tech-title { font-weight:600; margin-bottom:8px; color:#fffdfd;font-family: 'Advent Pro', sans-serif;
 }

/* Tech grid */
.tech-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(82px, 1fr));
	gap: 12px;
	align-items: center;
}
.tech-item {
	display:flex;
	flex-direction:column;
	align-items:center;
	justify-content:center;
	font-size:12px;
	color:#ede9e9;
	gap:8px;
	padding:8px;
	border-radius:8px;
	background: linear-gradient(180deg, rgba(0,0,0,0.02), transparent);
}
.tech-item img { width:36px; height:36px; object-fit:contain; filter: saturate(0.95); }

.expand-hint { position:absolute; right:14px; bottom:12px; font-size:12px; color:#777; opacity:0.9; }

/* Animated abstract fluid shape (about-section background) */
#about-section { position: relative; overflow: visible; }

/* SVG container */
.about-shape{
	position: absolute;
	right: -6%;
	top: -6%;
	width: 640px;
	height: 640px;
	pointer-events: none;
	z-index: 1;
	opacity: 0.95;
	mix-blend-mode: screen;
    transition: transform 300ms linear;
    /* hint to the browser these properties will animate for better performance */
    will-change: transform, opacity;
    transform-origin: 50% 50%;
	/* floating + slow hue rotation */
	animation: float-shape 20s ease-in-out infinite, hue-shift 40s linear infinite;
	filter: saturate(1.05) blur(0px);
}

/* SVG paths get softer edges */
.about-shape svg { width: 100%; height: 100%; display:block; }
.about-shape svg path {
	transition: opacity 300ms ease, transform 400ms ease;
    will-change: transform, opacity;
    /* ensure transforms relate to the path's own box for consistent morphing */
    transform-box: fill-box;
    transform-origin: 50% 50%;
}

/* floating motion */
@keyframes float-shape {
	0%   { transform: translate(0px, 0px) rotate(0deg) scale(1); }
	25%  { transform: translate(-14px, -8px) rotate(1.2deg) scale(1.02); }
	50%  { transform: translate(-6px, -22px) rotate(-0.6deg) scale(1.01); }
	75%  { transform: translate(10px, -12px) rotate(0.8deg) scale(0.99); }
	100% { transform: translate(0px, 0px) rotate(0deg) scale(1); }
}

/* gentle hue shift across the blobs to keep feel dynamic */
@keyframes hue-shift {
	0%   { filter: hue-rotate(0deg) saturate(1.05); }
	50%  { filter: hue-rotate(40deg) saturate(1.08); }
	100% { filter: hue-rotate(0deg) saturate(1.05); }
}

/* subtle pulsate (scale) on blob paths to augment morph animation */
.about-shape svg path {
	animation: pulse 10s ease-in-out infinite;
    transform-box: fill-box;
    transform-origin: 50% 50%;
}
@keyframes pulse {
	0%   { transform: scale(1); opacity: 0.95; }
	50%  { transform: scale(1.02); opacity: 1; }
	100% { transform: scale(1); opacity: 0.95; }
}

/* Make sure the cards sit above the shape */
.about-wrapper { position: relative; z-index: 2; }

/* Additional subtle animated decorative blobs specifically for the about section
    These are intentionally low-contrast to avoid impacting text legibility. */
.about-shape { will-change: transform, opacity; z-index: 1; }
.about-shape svg { filter: drop-shadow(0 10px 30px rgba(0,0,0,0.6)); }

/* Hide the decorative shape on very small screens */
@media (max-width: 700px){
	.about-shape{ display: none; }
}

/* Responsive: stack cards on small screens */
@media (max-width:900px){
	.about-wrapper { flex-direction: column; align-items: stretch; }
    .about-card, .tech-card { max-width: none; flex: 1 1 auto; }
    /* Remove restrictive height on mobile to prevent overlap/clipping */
    .about-card { max-height: none; }
    .about-card.expanded { max-height: none; }
    /* Provide spacing between text and tool icons */
    .about-right { margin-top: 16px; }
    .tool-logos { gap: 10px; margin-top: 12px; }
    .tool-logos img { width: 36px; height: 36px; }
}


/* ===== Works Section ===== */
#works {
    background: linear-gradient(180deg, #000000 0%, #0a0a0a 50%, #000000 100%);
    padding: 80px 0 100px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Static gradient background overlay - optimized */
#works::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(97, 255, 201, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(0, 95, 61, 0.05) 0%, transparent 50%);
    pointer-events: none;
    opacity: 0.8;
}

/* Static particles effect - optimized */
#works::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(97, 255, 201, 0.12), transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(255, 255, 255, 0.08), transparent);
    opacity: 0.7;
    pointer-events: none;
}

/* Testimonials Responsive */
@media (max-width: 980px) {
    .testimonials-title {
        font-size: 3rem;
        margin-bottom: 50px;
    }
    
    .testimonial-slide {
        padding: 35px;
    }
    
    .testimonial-arrow {
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
    }
    
    .testimonial-meta {
        gap: 12px;
    }
    
    .testimonial-meta img {
        width: 56px;
        height: 56px;
    }
}

@media (max-width: 900px) {
    .testimonials-section {
        padding: 80px 15px;
    }
    
    .testimonials-title {
        font-size: 2.6rem;
        margin-bottom: 45px;
    }
    
    .testimonial-carousel {
        gap: 15px;
    }
    
    .testimonial-slide {
        padding: 30px;
        border-radius: 16px;
    }
    
    .testimonial-quote {
        font-size: 1.2rem;
        line-height: 1.7;
        margin-bottom: 25px;
    }
    
    .testimonial-arrow {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 60px 15px;
    }
    
    .testimonials-title {
        font-size: 2.2rem;
        margin-bottom: 40px;
        letter-spacing: 1px;
    }
    
    .testimonial-carousel {
        flex-direction: column;
        gap: 0;
    }
    
    .testimonial-viewport {
        padding: 15px 0;
        order: 2;
    }
    
    .testimonial-arrow {
        width: 44px;
        height: 44px;
        font-size: 1.3rem;
        order: 2;
    }
    
    .testimonial-arrow.prev {
        margin-right: auto;
        margin-left: 0;
        order: 1;
    }
    
    .testimonial-arrow.next {
        margin-left: auto;
        margin-right: 0;
        order: 3;
    }
    
    .testimonial-slide {
        padding: 25px;
        border-radius: 12px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(97, 255, 201, 0.1);
    }
    
    .testimonial-quote {
        font-size: 1.05rem;
        line-height: 1.65;
        margin-bottom: 20px;
    }
    
    .testimonial-meta {
        gap: 12px;
        padding-top: 15px;
    }
    
    .testimonial-meta img {
        width: 48px;
        height: 48px;
    }
    
    .meta-text {
        font-size: 0.95rem;
    }
    
    .meta-text strong {
        margin-bottom: 2px;
    }
    
    .testimonial-dots {
        gap: 8px;
        margin-top: 30px;
    }
    
    .testimonial-dot {
        width: 10px;
        height: 10px;
    }
    
    .testimonial-dot.active {
        width: 28px;
    }
    
    .testimonial-slide::after {
        font-size: 60px;
        top: 10px;
        right: 20px;
    }
}

@media (max-width: 640px) {
    .testimonials-section {
        padding: 50px 12px;
    }
    
    .testimonials-title {
        font-size: 1.8rem;
        margin-bottom: 35px;
        letter-spacing: 0.5px;
    }
    
    .testimonial-slide {
        padding: 20px;
        border-radius: 12px;
    }
    
    .testimonial-quote {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 15px;
    }
    
    .testimonial-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .testimonial-arrow:hover {
        transform: scale(1.1);
    }
    
    .testimonial-meta {
        gap: 10px;
        padding-top: 12px;
    }
    
    .testimonial-meta img {
        width: 44px;
        height: 44px;
        min-width: 44px;
    }
    
    .meta-text {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .meta-text strong {
        margin-bottom: 2px;
    }
    
    .meta-text span {
        font-size: 0.85rem;
    }
    
    .testimonial-dots {
        gap: 6px;
        margin-top: 25px;
    }
    
    .testimonial-dot {
        width: 8px;
        height: 8px;
    }
    
    .testimonial-dot.active {
        width: 24px;
    }
    
    .testimonial-slide::after {
        font-size: 50px;
        top: 5px;
        right: 15px;
    }
    
    .testimonial-slide::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .testimonials-section {
        padding: 40px 10px;
    }
    
    .testimonials-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
        letter-spacing: 0;
    }
    
    .testimonial-slide {
        padding: 18px;
        border-radius: 10px;
        border: 1px solid rgba(97, 255, 201, 0.15);
    }
    
    .testimonial-quote {
        font-size: 0.95rem;
        line-height: 1.55;
        margin-bottom: 12px;
    }
    
    .testimonial-arrow {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
    
    .testimonial-meta {
        gap: 8px;
        padding-top: 10px;
    }
    
    .testimonial-meta img {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }
    
    .meta-text {
        font-size: 0.85rem;
        line-height: 1.35;
    }
    
    .meta-text strong {
        font-size: 0.85rem;
        margin-bottom: 1px;
    }
    
    .meta-text span {
        font-size: 0.8rem;
    }
    
    .testimonial-dots {
        gap: 5px;
        margin-top: 20px;
    }
    
    .testimonial-dot {
        width: 7px;
        height: 7px;
    }
    
    .testimonial-dot.active {
        width: 20px;
    }
    
    .testimonial-slide::after {
        font-size: 40px;
        top: 2px;
        right: 10px;
    }
}

/* Works section title */
#works .works-header {
    text-align: center;
    margin-bottom: 60px;
    z-index: 1;
    position: relative;
}

#works .works-title {
    font-size: 4rem;
    font-weight: 800;
    color: #ffb3ba;
    margin: 0 0 50px 0;
    font-family: 'Advent Pro', sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
}

#works .works-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.2rem;
    font-weight: 300;
    font-family: 'Advent Pro', sans-serif;
    margin: 0;
}

/* Projects Section - Clean Grid Design */
#works {
    background: linear-gradient(180deg, #000000 0%, #0a0a0a 50%, #000000 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

#works::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(97, 255, 201, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(0, 95, 61, 0.05) 0%, transparent 50%);
    pointer-events: none;
    opacity: 0.8;
}

.works-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.works-header {
    text-align: center;
    margin-bottom: 80px;
}

.works-title {
    font-size: 4rem;
    font-weight: 800;
    color: #ffb3ba;
    margin: 0 0 16px 0;
    font-family: 'Advent Pro', sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.works-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Advent Pro', sans-serif;
    font-weight: 300;
    margin: 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(360px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.project-item {
    background: rgba(20, 20, 20, 0.6);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.project-item:hover {
    transform: translateY(-6px);
    border-color: rgba(97, 255, 201, 0.3);
    box-shadow: 0 16px 40px rgba(97, 255, 201, 0.12);
}

.project-image {
    position: relative;
    width: 100%;
    height: 380px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 700ms cubic-bezier(0.4, 0, 0.2, 1);
}

.project-item:hover .project-image img {
    transform: scale(1.08);
}

.project-overlay-hover {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 400ms ease;
}

.project-item:hover .project-overlay-hover {
    opacity: 1;
}

.project-content {
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}

.project-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    font-family: 'Advent Pro', sans-serif;
    letter-spacing: -0.4px;
}

.project-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    font-family: 'Advent Pro', sans-serif;
    font-weight: 300;
    line-height: 1.6;
}

.project-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.project-tags span {
    padding: 8px 16px;
    background: rgba(97, 255, 201, 0.1);
    border: 1px solid rgba(97, 255, 201, 0.25);
    border-radius: 18px;
    font-size: 0.9rem;
    color: #61ffc9;
    font-family: 'Advent Pro', sans-serif;
    font-weight: 400;
    transition: all 300ms ease;
}

.project-item:hover .project-tags span {
    background: rgba(97, 255, 201, 0.15);
    border-color: rgba(97, 255, 201, 0.4);
}

.project-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    background: rgba(97, 255, 201, 0.1);
    border: 1px solid rgba(97, 255, 201, 0.3);
    border-radius: 12px;
    color: #61ffc9;
    font-family: 'Advent Pro', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 350ms cubic-bezier(0.4, 0, 0.2, 1);
    align-self: flex-start;
    margin-top: auto;
}

.project-btn:hover {
    background: #61ffc9;
    color: #0c0c0c;
    border-color: #61ffc9;
    transform: translateX(3px);
}

.project-btn svg {
    transition: transform 300ms ease;
}

.project-btn:hover svg {
    transform: rotate(45deg);
}

@media (max-width: 980px) {
    .works-container {
        padding: 0 30px;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, minmax(300px, 1fr));
        gap: 32px;
    }
    
    .works-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .works-title {
        font-size: 2.5rem;
    }
    
    .works-subtitle {
        font-size: 1rem;
    }
    
    .project-image {
        height: 220px;
    }
    
    .project-content {
        padding: 22px;
    }
    
    .project-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 600px) {
    #works {
        padding: 60px 0;
    }
    
    .works-container {
        padding: 0 20px;
    }
    
    .works-header {
        margin-bottom: 50px;
    }
    
    .works-title {
        font-size: 2rem;
    }
    
    .project-image {
        height: 260px;
    }
    
    .project-content {
        padding: 18px;
        gap: 12px;
    }
    
    .project-title {
        font-size: 1.3rem;
    }
    
    .project-description {
        font-size: 0.95rem;
    }
    
    .project-btn {
        padding: 12px 22px;
        font-size: 0.95rem;
    }
}

/* Ongoing projects section (3-column row) */
#ongoing-projects {
    background: linear-gradient(180deg, #050505 0%, #0c0c0c 50%, #050505 100%);
    padding: 80px 0 100px;
    position: relative;
}

#ongoing-projects::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 15% 20%, rgba(97, 255, 201, 0.05) 0%, transparent 45%),
                radial-gradient(circle at 85% 80%, rgba(255, 179, 186, 0.05) 0%, transparent 45%);
    pointer-events: none;
}

.ongoing-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 1;
}

.ongoing-header {
    text-align: center;
    margin-bottom: 48px;
}

.ongoing-title {
    font-size: 3rem;
    margin: 0 0 12px 0;
    font-family: 'Advent Pro', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #61ffc9;
}

.ongoing-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    margin: 0;
    font-family: 'Advent Pro', sans-serif;
}

.ongoing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.ongoing-card {
    background: linear-gradient(160deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
    border: 1px solid rgba(97, 255, 201, 0.12);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.ongoing-card:hover {
    transform: translateY(-6px);
    border-color: rgba(97, 255, 201, 0.4);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
}

.ongoing-media {
    position: relative;
    height: 190px;
    overflow: hidden;
}

.ongoing-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 280ms ease;
}

.ongoing-card:hover .ongoing-media img {
    transform: scale(1.05);
}

.ongoing-pill {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 0.8rem;
    font-family: 'Advent Pro', sans-serif;
    letter-spacing: 0.5px;
}

.ongoing-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ongoing-body h3 {
    margin: 0;
    font-size: 1.4rem;
    color: #fff;
    font-family: 'Advent Pro', sans-serif;
}

.ongoing-body p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.5;
    font-family: 'Advent Pro', sans-serif;
}

.ongoing-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.ongoing-meta span {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: #d8f9ee;
    font-size: 0.9rem;
    font-family: 'Advent Pro', sans-serif;
}

.ongoing-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.ongoing-status {
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-family: 'Advent Pro', sans-serif;
    background: rgba(97, 255, 201, 0.12);
    color: #61ffc9;
    border: 1px solid rgba(97, 255, 201, 0.35);
}

.ongoing-status.review {
    background: rgba(255, 179, 186, 0.12);
    color: #ffb3ba;
    border-color: rgba(255, 179, 186, 0.4);
}

.ongoing-status.shipping {
    background: rgba(255, 255, 255, 0.08);
    color: #f2f2f2;
    border-color: rgba(255, 255, 255, 0.16);
}

.ongoing-link {
    color: #0c0c0c;
    background: #61ffc9;
    border-radius: 12px;
    padding: 10px 14px;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Advent Pro', sans-serif;
    letter-spacing: 0.5px;
    transition: transform 180ms ease, box-shadow 180ms ease;
    box-shadow: 0 10px 25px rgba(97, 255, 201, 0.25);
}

.ongoing-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(97, 255, 201, 0.4);
}

@media (max-width: 1024px) {
    .ongoing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ongoing-title { font-size: 2.6rem; }
}

@media (max-width: 720px) {
    #ongoing-projects { padding: 60px 0 80px; }
    .ongoing-container { padding: 0 20px; }
    .ongoing-grid { grid-template-columns: 1fr; }
    .ongoing-media { height: 200px; }
    .ongoing-title { font-size: 2.2rem; }
    .ongoing-subtitle { font-size: 1rem; }
}

