/* =============================================
   TOKENS
   ============================================= */
:root {
    --black:     #000000;
    --surface:   #111111;
    --surface-2: #1a1a1a;
    --line:      rgba(255,255,255,0.08);
    --primary:   #ffffff;
    --accent:    #cccccc;
    --success:   #e0e0e0;
    --primary-soft: rgba(255, 255, 255, 0.1);
    --accent-soft: rgba(204, 204, 204, 0.1);
    --success-soft: rgba(224, 224, 224, 0.1);
    --primary-glow: rgba(255, 255, 255, 0.2);
    --accent-glow: rgba(204, 204, 204, 0.2);
    --primary-dark:  #b0b0b0;
    --accent-dark:  #999999;
    --white:     #ffffff;
    --grey:      #888888;
    --light:     #e0e0e0;
    --f-display: 'Space Grotesk', sans-serif;
    --f-body:    'Plus Jakarta Sans', sans-serif;
    --ease-out:  cubic-bezier(0.22, 1, 0.36, 1);
}

/* =============================================
   BASE
   ============================================= */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--f-body);
    background: var(--black);
    color: var(--light);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: var(--f-body); }

/* =============================================
   CANVAS
   ============================================= */
#bg-canvas {
    position: fixed; inset: 0;
    z-index: 0; pointer-events: none;
    opacity: 0.6;
}

/* =============================================
   LAYOUT HELPERS
   ============================================= */
.wrap {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 2rem;
}

section { position: relative; z-index: 1; }

/* Dividers between sections */
section + section {
    position: relative;
}
section + section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.5;
}

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1,h2,h3,h4 { font-family: var(--f-display); color: var(--white); line-height: 1.05; letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: 1.25rem; font-weight: 700; }

.section-top {
    text-align: center;
    margin-bottom: 4rem;
}
.section-top .eyebrow {
    display: inline-block;
    font-size: 0.7rem; font-weight: 600;
    letter-spacing: 3px; text-transform: uppercase;
    color: var(--primary); margin-bottom: 1rem;
}
.section-top h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
}

/* =============================================
   NAVBAR
   ============================================= */
#nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 1.5rem 2rem;
    transition: background 0.4s var(--ease-out), padding 0.4s var(--ease-out);
}
#nav.solid {
    background: rgba(6,6,8,0.9);
    backdrop-filter: blur(20px);
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--line);
}
.nav-wrap {
    max-width: 1160px; margin: 0 auto;
    display: flex; align-items: center; gap: 3rem;
}
.wordmark {
    font-family: var(--f-display);
    font-size: 1.3rem; font-weight: 800;
    color: var(--white); letter-spacing: 2px;
    background: linear-gradient(90deg, var(--white), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s var(--ease-out);
}
.wordmark span { color: var(--primary); -webkit-text-fill-color: var(--primary); }
.nav-menu {
    display: flex; list-style: none; gap: 2.5rem; margin-right: auto;
}
.nav-menu a {
    font-size: 0.85rem; font-weight: 500;
    color: var(--grey);
    transition: color 0.25s;
}
.nav-menu a:hover { color: var(--primary); transform: translateY(-1px); }

.pill-btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.85rem; font-weight: 600;
    letter-spacing: 0.3px;
    padding: 10px 24px;
    border-radius: 8px;
    background: var(--primary);
    color: var(--black);
    border: none;
    box-shadow: 0 2px 0 var(--primary-dark);
    transition: all 0.2s ease;
    white-space: nowrap;
}
.pill-btn:hover { 
    transform: translateY(2px); 
    box-shadow: 0 0 0 var(--primary-dark);
}
.pill-btn:active {
    transform: translateY(4px);
    box-shadow: none;
}
.pill-btn i { font-size: 0.75rem; }

/* =============================================
   HERO
   ============================================= */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

/* Background */
.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-gradient {
    position: absolute;
    inset: 0;
    background: transparent;
}
.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(255,255,255,0.08) 1px, transparent 0);
    background-size: 30px 30px;
    opacity: 0.8;
    animation: particleFloat 20s linear infinite;
}
@keyframes particleFloat {
    0% { background-position: 0 0; }
    100% { background-position: 30px 30px; }
}

.hero-wrap {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

/* Content Side */
.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-left: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary-soft), var(--accent-soft));
    border: 1px solid rgba(6, 182, 212, 0.4);
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    width: fit-content;
    box-shadow: 0 6px 25px rgba(6, 182, 212, 0.2);
}
.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent), 0 0 20px var(--accent), 0 0 30px var(--accent);
    animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
    0%, 100% { box-shadow: 0 0 10px var(--accent), 0 0 20px var(--accent); }
    50% { box-shadow: 0 0 15px var(--accent), 0 0 30px var(--accent), 0 0 45px var(--accent); }
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.title-line {
    font-family: var(--f-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--white);
    letter-spacing: -0.02em;
}
.title-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent), var(--primary));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s ease-in-out infinite;
}
@keyframes shimmer {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--grey);
    max-width: 550px;
}


/* Buttons */
.hero-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 16px 36px;
    background: var(--primary);
    color: var(--black);
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 0 var(--primary-dark), 0 8px 20px rgba(0,0,0,0.4);
    transition: all 0.2s ease;
    border: none;
    letter-spacing: 0.3px;
}
.btn-primary:hover {
    transform: translateY(2px);
    box-shadow: 0 2px 0 var(--primary-dark), 0 4px 15px rgba(0,0,0,0.3);
}
.btn-primary:active {
    transform: translateY(4px);
    box-shadow: 0 0 0 var(--primary-dark), 0 2px 10px rgba(0,0,0,0.2);
}
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 16px 32px;
    background: transparent;
    color: var(--white);
    border: 2px solid var(--line);
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 0 rgba(255,255,255,0.1), 0 8px 20px rgba(0,0,0,0.3);
}
.btn-secondary:hover {
    transform: translateY(2px);
    border-color: rgba(255,255,255,0.3);
    box-shadow: 0 2px 0 rgba(255,255,255,0.1), 0 4px 15px rgba(0,0,0,0.2);
}
.btn-secondary:active {
    transform: translateY(4px);
    box-shadow: 0 0 0 rgba(255,255,255,0.1), 0 2px 10px rgba(0,0,0,0.1);
}

/* Image Side */
.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}
.image-frame {
    position: relative;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 0 4px rgba(255,255,255,0.1), 0 0 40px rgba(255,255,255,0.1);
}
.image-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    z-index: 0;
    opacity: 0.8;
    pointer-events: none;
    animation: glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}
.image-border {
    position: absolute;
    inset: 0;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    z-index: 3;
    pointer-events: none;
    box-shadow: inset 0 0 20px rgba(255,255,255,0.1);
}
.profile-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    z-index: 2;
    transition: all 0.5s var(--ease-out);
}
.image-frame:hover .profile-img {
    transform: scale(1.03);
}
.image-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, rgba(255,255,255,0.1), transparent);
    z-index: 4;
    pointer-events: none;
}

/* =============================================
   ABOUT (RESTYLED)
   ============================================= */
#about { padding: 100px 0; }
.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3rem;
}
.about-text h2 {
    margin-bottom: 1.25rem;
}
.about-text p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--grey);
    max-width: 700px;
}
.stat-ribbon {
    display: flex;
    gap: 2rem;
    flex-wrap: nowrap;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 2rem 3rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}
.stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 3rem;
    background: transparent;
    border: none;
    border-radius: 0;
    gap: 0.75rem;
    transition: all 0.4s var(--ease-out);
    box-shadow: none;
    min-width: 160px;
    border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-box:last-child {
    border-right: none;
}
.stat-box:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.05);
}
.stat-box strong {
    font-family: var(--f-display);
    font-size: 2rem; font-weight: 800;
    color: var(--white);
    line-height: 1;
    text-shadow: 0 0 20px rgba(255,255,255,0.3);
}
.stat-box span {
    font-size: 0.8rem;
    color: var(--grey);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =============================================
   PRICING PLANS
   ============================================= */
#work { padding: 100px 0; }
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.pricing-card {
    position: relative;
    background: linear-gradient(135deg, var(--surface), var(--surface-2));
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: all 0.4s var(--ease-out);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.pricing-card:hover {
    border-color: rgba(255,255,255,0.3);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.7);
}
.pricing-card.featured {
    border-color: rgba(255,255,255,0.3);
    box-shadow: 0 15px 50px rgba(0,0,0,0.6);
}
.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--black);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}
.pricing-header {
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--line);
}
.pricing-header h3 {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}
.pricing-header p {
    color: var(--grey);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}
.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}
.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--light);
    font-size: 0.85rem;
    line-height: 1.4;
}
.pricing-features li i {
    color: var(--primary);
    font-size: 0.7rem;
    margin-top: 3px;
}
.pricing-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: transparent;
    color: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}
.pricing-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}
.pricing-btn.featured-btn {
    background: var(--primary);
    color: var(--black);
    border-color: var(--primary);
}
.pricing-btn.featured-btn:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* =============================================
   BLOGS
   ============================================= */
#blogs { padding: 100px 0; }
.blogs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.blog-card {
    background: linear-gradient(135deg, var(--surface), var(--surface-2));
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s var(--ease-out);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.blog-card:hover {
    border-color: rgba(255,255,255,0.3);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.7);
}
.blog-image {
    width: 100%;
    height: 140px;
    overflow: hidden;
}
.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--ease-out);
}
.blog-card:hover .blog-image img {
    transform: scale(1.05);
}
.blog-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.blog-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.blog-category {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    color: var(--primary);
}
.blog-date {
    font-size: 0.7rem;
    color: var(--grey);
}
.blog-content h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
    margin: 0;
}
.blog-content p {
    font-size: 0.8rem;
    color: var(--grey);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s;
    margin-top: auto;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    font-family: var(--f-body);
}
.blog-link:hover {
    color: var(--white);
    gap: 0.75rem;
}

/* =============================================
   COMPANIES
   ============================================= */
#companies { padding: 100px 0; }
.companies-slider {
    overflow: hidden;
    width: 100%;
    padding: 2rem 0;
    position: relative;
    mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.companies-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: companiesSlide 30s linear infinite;
}
.company-logo-item {
    flex-shrink: 0;
    width: 120px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--surface), var(--surface-2));
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.4s var(--ease-out);
}
.company-logo-item:hover {
    border-color: rgba(0, 128, 128, 0.4);
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 128, 128, 0.15);
}
.company-logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: 0.7;
    transition: all 0.3s;
}
.company-logo-item:hover img {
    opacity: 1;
}
@keyframes companiesSlide {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-33.33%, 0, 0); }
}
.companies-track:hover {
    animation-play-state: paused;
}

/* =============================================
   VENTURES (FLIP CARDS)
   ============================================= */
#ventures { padding: 100px 0; }
.ventures-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.venture-card {
    perspective: 1500px;
    height: 380px;
}
.venture-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}
.venture-card:hover .venture-inner {
    transform: rotateY(180deg);
}
.venture-front, .venture-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 24px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.venture-front {
    background: linear-gradient(145deg, rgba(20,20,20,0.95), rgba(30,30,30,0.95));
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.venture-back {
    background: linear-gradient(145deg, rgba(40,40,40,0.95), rgba(50,50,50,0.95));
    border: 2px solid rgba(255,255,255,0.15);
    transform: rotateY(180deg);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.venture-logo-img {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.15));
    border: 2px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    margin-bottom: 0.5rem;
}
.venture-logo-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}
.venture-front h3, .venture-back h3 {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}
.venture-front p {
    font-size: 1rem;
    color: var(--grey);
    line-height: 1.7;
}
.venture-back p {
    font-size: 0.95rem;
    color: var(--light);
    line-height: 1.8;
}
.flip-hint {
    font-size: 0.8rem;
    color: var(--primary);
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.7;
}
.venture-detail {
    flex-grow: 1;
}
.venture-pills-back {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.venture-pills-back span {
    font-size: 0.85rem;
    padding: 8px 16px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    color: var(--white);
    font-weight: 500;
}
.venture-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 12px 24px;
    background: var(--primary);
    color: var(--black);
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}
.venture-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(255,255,255,0.3);
}

/* =============================================
   PROJECTS (CARDS WITH SLIDE-UP OVERLAY)
   ============================================= */
#projects, #case-studies { padding: 100px 0; }
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
.project-card {
    position: relative;
    background: linear-gradient(135deg, var(--surface), var(--surface-2));
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s var(--ease-out);
    min-height: 320px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
@media (hover: hover) {
    .project-card:hover {
        border-color: rgba(0,128,128,0.4);
        transform: translateY(-8px);
        box-shadow: 0 20px 60px rgba(0,0,0,0.7);
    }
}
.project-img {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 320px;
}
.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.project-title-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.5rem 2rem;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0.4));
    z-index: 2;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.project-title-overlay h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
    line-height: 1.3;
}
.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0,0,0,0.95), rgba(20,20,20,0.95));
    transform: translateY(100%);
    transition: transform 0.4s var(--ease-out);
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    text-align: center;
}
@media (hover: hover) {
    .project-card:hover .project-overlay {
        transform: translateY(0);
    }
}
.project-overlay h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
}
.project-overlay p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.5;
    margin: 0;
}
.project-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 12px 28px;
    background: var(--primary);
    color: var(--black);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    width: fit-content;
    box-shadow: 0 2px 0 var(--primary-dark);
    letter-spacing: 0.3px;
}
.project-view-btn:hover {
    transform: translateY(2px);
    box-shadow: 0 0 0 var(--primary-dark);
}
.project-view-btn:active {
    transform: translateY(4px);
    box-shadow: none;
}

/* Modal Popup */
.project-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.project-modal.active {
    display: flex;
}
.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}
.modal-content {
    position: relative;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, var(--surface), var(--surface-2));
    border: none;
    border-radius: 0;
    animation: slideUp 0.4s var(--ease-out);
    box-shadow: none;
    overflow-y: auto;
}
.modal-close {
    position: fixed;
    top: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid var(--line);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 100;
    font-size: 1.2rem;
}
.modal-close:hover {
    background: rgba(0,128,128,0.2);
    border-color: var(--primary);
    color: var(--primary);
}
.modal-body {
    padding: 6rem 4rem 4rem;
    max-height: 100vh;
    overflow-y: auto;
}
.modal-body::-webkit-scrollbar {
    width: 8px;
}
.modal-body::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
}
.modal-body::-webkit-scrollbar-thumb {
    background: rgba(0,128,128,0.3);
    border-radius: 4px;
}
.modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(0,128,128,0.5);
}
.modal-body h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--white);
}
.blog-modal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.blog-modal-category {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 12px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    color: var(--primary);
}
.blog-modal-date {
    font-size: 0.9rem;
    color: var(--grey);
}
.modal-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.modal-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--light);
}
.modal-description p {
    margin: 0 0 1.5rem 0;
}
.modal-description p:last-child {
    margin-bottom: 0;
}
.modal-description strong {
    color: var(--white);
    font-weight: 700;
}
.modal-image-small-container {
    padding: 1rem;
}
.modal-image-small {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
}
@media (max-width: 768px) {
    .modal-content-grid {
        grid-template-columns: 1fr;
    }
    .modal-body {
        padding: 2rem;
    }
    .modal-body h2 {
        font-size: 1.8rem;
    }
    .modal-close {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }
}
.modal-body .modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}
.modal-body .modal-tags span {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
}
.modal-tools, .modal-results, .modal-deliverables {
    margin-bottom: 2rem;
}
.modal-tools strong, .modal-results strong, .modal-deliverables strong {
    display: block;
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}
.modal-tools p, .modal-results p, .modal-deliverables p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--light);
    margin-bottom: 0;
}
.modal-body .modal-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}
.modal-body .modal-links a {
    padding: 12px 28px;
    background: var(--primary);
    color: var(--black);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border: none;
    box-shadow: 0 2px 0 var(--primary-dark);
    letter-spacing: 0.3px;
}
.modal-body .modal-links a:hover {
    transform: translateY(2px);
    box-shadow: 0 0 0 var(--primary-dark);
}
.modal-body .modal-links a:active {
    transform: translateY(4px);
    box-shadow: none;
}
.modal-body .modal-links a.secondary {
    background: transparent;
    border: 2px solid var(--line);
    color: var(--white);
    box-shadow: none;
}
.modal-body .modal-links a.secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(0, 212, 170, 0.05);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =============================================
   EXPERIENCE
   ============================================= */
#experience { padding: 100px 0; }
.exp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
.exp-card {
    background: linear-gradient(135deg, var(--surface), var(--surface-2));
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.5s var(--ease-out);
    position: relative;
    cursor: pointer;
}
.exp-card::after {
    content: '';
    position: absolute;
    left: 0; top: 2.5rem; width: 3px; height: 35px;
    background: var(--primary);
    border-radius: 0 4px 4px 0;
    box-shadow: 0 0 10px var(--primary);
    transition: height 0.4s ease;
}
.exp-card:hover::after {
    height: 70px;
}
.exp-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 128, 128, 0.35);
    box-shadow: 0 15px 50px rgba(0,0,0,0.6);
}
.exp-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.exp-period {
    font-size: 0.85rem;
    color: var(--grey);
    font-weight: 500;
}
.exp-badge {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 100px;
    background: rgba(0, 128, 128, 0.1);
    color: var(--primary);
    border: 1px solid rgba(0, 128, 128, 0.25);
}
.exp-badge.past {
    background: rgba(255, 255, 255, 0.02);
    color: var(--grey);
    border-color: var(--line);
}
.exp-company {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.exp-company i {
    color: var(--primary);
}
.exp-card p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--grey);
}

/* =============================================
   CERTIFICATIONS (SPACIOUS GRID)
   ============================================= */
#certs { padding: 100px 0; }
.certs-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.certs-grid-bottom {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.cert-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.8rem 1.5rem;
    background: linear-gradient(135deg, var(--surface), var(--surface-2));
    border: 1px solid var(--line);
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
    min-height: 160px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
.cert-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.cert-card:hover {
    border-color: rgba(255,255,255,0.3);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.cert-card:hover::before {
    opacity: 1;
}
.cert-logo {
    width: 90px;
    height: 90px;
    border-radius: 16px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    transition: all 0.4s var(--ease-out);
    padding: 0;
}
.cert-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.cert-card:hover .cert-logo {
    transform: scale(1.12) rotate(3deg);
}
.cert-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}
.cert-card p {
    font-size: 0.85rem;
    color: var(--grey);
    font-weight: 500;
    line-height: 1.5;
}

/* Override for bottom row - compressed */
.certs-grid-bottom .cert-card {
    min-height: 160px;
    padding: 1.8rem 1.5rem;
}
.certs-grid-bottom .cert-logo {
    width: 90px;
    height: 90px;
    margin-bottom: 1.2rem;
    padding: 0;
    background: transparent;
    border: none;
}
.certs-grid-bottom .cert-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
}

/* =============================================
   COMPANIES I WORKED WITH (infinite loop slider)
   ============================================= */
#companies { padding: 80px 0; }
.companies-slider-container {
    overflow: hidden;
    width: 100%;
}
.companies-slider {
    display: flex;
    gap: 4rem;
    animation: scroll 20s linear infinite;
    width: max-content;
}
.companies-slider:hover {
    animation-play-state: paused;
}
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.company-logo {
    flex-shrink: 0;
    width: 150px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s ease;
}
.company-logo:hover {
    border-color: rgba(255,255,255,0.3);
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}
.company-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.7);
    transition: all 0.3s ease;
}
.company-logo:hover img {
    filter: grayscale(0%) brightness(1);
}
.certs-grid-bottom .cert-card p {
    font-size: 0.8rem;
}


/* =============================================
   TESTIMONIALS
   ============================================= */
#testimonials { padding: 100px 0; }
.testi-slider-wrap {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}
.testi-slider {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.36, 1);
    width: 100%;
    gap: 2rem;
}
.testi-card {
    flex: 0 0 calc(50% - 1rem);
    width: calc(50% - 1rem);
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--surface), var(--surface-2));
    border: 1px solid rgba(6, 182, 212, 0.15);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-sizing: border-box;
    transition: all 0.4s var(--ease-out);
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    position: relative;
    overflow: hidden;
}
.testi-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--success));
    opacity: 0;
    transition: opacity 0.3s;
}
.testi-card:hover {
    border-color: rgba(6, 182, 212, 0.4);
    box-shadow: 0 15px 50px rgba(0,0,0,0.6), 0 0 30px rgba(6, 182, 212, 0.1);
    transform: translateY(-5px);
}
.testi-card:hover::before {
    opacity: 1;
}
.testi-card > p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--light);
    font-style: italic;
    flex: 1;
}
.testi-card > p::before {
    content: '"';
    color: var(--accent);
    font-size: 2rem;
    line-height: 0;
    margin-right: 8px;
    vertical-align: -0.3em;
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}
.testi-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}
.testi-author strong { 
    display: block; 
    font-size: 1rem; 
    color: var(--white); 
    font-weight: 600;
}
.testi-author span { 
    font-size: 0.85rem; 
    color: var(--accent); 
    font-weight: 500;
}

/* =============================================
   CONTACT (INFO ONLY)
   ============================================= */
#contact { padding: 100px 0; }
.contact-info {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.contact-info h2 { margin: 0.5rem 0 1rem; }
.contact-info > p { font-size: 1.05rem; color: var(--grey); line-height: 1.8; margin-bottom: 3rem; }
.contact-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}
.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 1rem;
    background: linear-gradient(135deg, var(--surface), var(--surface-2));
    border: 1px solid var(--line);
    border-radius: 12px;
    transition: all 0.4s var(--ease-out);
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
.contact-card:hover {
    border-color: rgba(255,255,255,0.3);
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.6);
}
.card-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.15));
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--white);
}
.contact-card h3 {
    font-size: 0.9rem;
    color: var(--white);
}
.contact-card p {
    font-size: 0.75rem;
    color: var(--grey);
    word-break: break-all;
}

/* =============================================
   FOOTER
   ============================================= */
footer {
    position: relative;
    padding: 3rem 2rem 2rem;
    z-index: 1;
}
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.5;
}
.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr auto;
    gap: 3rem;
    align-items: center;
}
.footer-brand p {
    font-size: 0.85rem;
    color: var(--grey);
    margin-top: 0.5rem;
}
.footer-nav {
    display: flex;
    gap: 2rem;
}
.footer-nav a {
    font-size: 0.9rem;
    color: var(--grey);
    transition: color 0.3s;
}
.footer-nav a:hover {
    color: var(--primary);
}
.footer-socials {
    display: flex;
    gap: 1rem;
}
.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--surface), var(--surface-2));
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--grey);
    transition: all 0.3s;
}
.footer-socials a:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
}
.footer-bottom {
    position: relative;
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
}
.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.5;
}
.footer-bottom p {
    font-size: 0.8rem;
    color: var(--grey);
}

/* =============================================
   ANIMATIONS
   ============================================= */
.fade-in, .slide-up {
    opacity: 0;
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.fade-in { transform: translateY(20px); }
.slide-up { transform: translateY(30px); }

.fade-in.visible, .slide-up.visible { opacity: 1; transform: translateY(0); }

/* Stagger delays for children */
.hero-badge.fade-in    { transition-delay: 0.1s; }
.hero-title.fade-in  { transition-delay: 0.2s; }
.hero-description.fade-in    { transition-delay: 0.3s; }
.hero-buttons.fade-in  { transition-delay: 0.4s; }
.hero-image.fade-in  { transition-delay: 0.5s; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .hero-wrap { grid-template-columns: 1fr; gap: 3rem; }
    .hero-image { order: -1; }
    .image-frame { width: 320px; height: 320px; }
    .pricing-cards { grid-template-columns: repeat(2, 1fr); }
    .ventures-grid { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr; }
    .blogs-grid { grid-template-columns: repeat(2, 1fr); }
    .certs-grid { grid-template-columns: repeat(2, 1fr); }
    
    /* Tablet project cards - show overlay by default */
    .project-overlay {
        transform: translateY(0);
        background: linear-gradient(135deg, rgba(0,0,0,0.85), rgba(20,20,20,0.85));
        padding: 1.75rem;
        gap: 0.875rem;
    }
    .project-title-overlay {
        display: none;
    }
    .project-card {
        aspect-ratio: auto;
        min-height: 300px;
    }
    .project-img {
        min-height: 300px;
    }
    .project-overlay h3 {
        font-size: 1.1rem;
        line-height: 1.3;
    }
    .project-overlay p {
        font-size: 0.85rem;
        line-height: 1.5;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .project-view-btn {
        padding: 11px 22px;
        font-size: 0.9rem;
    }
    .certs-grid-bottom { grid-template-columns: repeat(2, 1fr); }
    .contact-cards { grid-template-columns: repeat(3, 1fr); }
    .contact-block { grid-template-columns: 1fr; gap: 3rem; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .footer-nav { justify-content: center; flex-wrap: wrap; }
}
@media (max-width: 768px) {
    .nav-menu, #nav .pill-btn { display: none; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
    .image-frame { width: 280px; height: 280px; }
    .stat-ribbon { gap: 1rem; }
    .stat-box { min-width: 120px; padding: 1.2rem 1.5rem; }
    .testi-slider { gap: 0; }
    .testi-card { flex: 0 0 100%; width: 100%; }
    .pricing-cards { grid-template-columns: 1fr; }
    .ventures-grid { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr; }
    .blogs-grid { grid-template-columns: 1fr; }
    .exp-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .certs-grid { grid-template-columns: repeat(2, 1fr); }
    .certs-grid-bottom { grid-template-columns: repeat(2, 1fr); }
    .contact-cards { grid-template-columns: repeat(2, 1fr); }
    .field-row { grid-template-columns: 1fr; }
    .footer-row { flex-direction: column; text-align: center; }
    .copy { margin-left: 0; }
    .companies-slider { gap: 2rem; }
    .company-logo { width: 120px; height: 60px; }
    
    /* Mobile project cards - show overlay by default */
    .project-overlay {
        transform: translateY(0);
        background: linear-gradient(135deg, rgba(0,0,0,0.9), rgba(20,20,20,0.9));
        padding: 1.25rem;
        gap: 0.625rem;
    }
    .project-title-overlay {
        display: none;
    }
    .project-card {
        min-height: 240px;
    }
    .project-img {
        min-height: 240px;
    }
    .project-overlay h3 {
        font-size: 0.95rem;
        line-height: 1.2;
    }
    .project-overlay p {
        font-size: 0.75rem;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .project-view-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}
@media (max-width: 480px) {
    .certs-grid { grid-template-columns: 1fr; }
    .certs-grid-bottom { grid-template-columns: 1fr; }
}
