/* --- GLOBAL STYLES & VARIABLES --- */
:root {
    --bg-color: #0a0a0a;
    --text-color: #ffffff;
    --text-muted: #888888;
    --accent-color: #00e5ff;
    --font-main: 'Space Grotesk', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* --- SCROLL PROGRESS BAR --- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-color);
    z-index: 1001;
    transition: width 0.1s linear;
}

/* --- NOISE TEXTURE OVERLAY --- */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

a {
    color: inherit;
    text-decoration: none;
}

a {
    color: inherit;
    text-decoration: none;
}

/* --- NAVIGATION BAR --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4rem;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(10,10,10,0.8), rgba(10,10,10,0));
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.nav-logo {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    position: relative;
}

/* Iconic dot interaction mimicking premium design layouts */
.nav-logo::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--accent-color);
    border-radius: 50%;
    margin-left: 4px;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition-smooth);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.5s var(--ease-out-expo);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Mobile responsive optimization */
@media (max-width: 768px) {
    .navbar {
        padding: 1.5rem 2rem;
    }
    .nav-links {
        gap: 1.5rem;
    }
    .nav-links a {
        font-size: 0.9rem;
    }
}

/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 4rem;
    position: relative;
    background-color: var(--bg-color);
    overflow: hidden;
}

/* Grid pattern overlay */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 229, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
}

/* Animated gradient orb */
.hero::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    animation: heroOrbFloat 8s ease-in-out infinite alternate;
}

@keyframes heroOrbFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-40px, 40px) scale(1.1); }
}

.hero-content {
    max-width: 900px;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(3rem, 7vw, 6.5rem);
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: -0.04em;
    margin-bottom: 2.5rem;
    overflow: hidden;
}

.hero-line {
    display: block;
    transform: translateY(100%);
    opacity: 0;
    animation: heroLineReveal 1s var(--ease-out-expo) forwards;
}

.hero-line-accent {
    color: var(--accent-color);
}

@keyframes heroLineReveal {
    0% { transform: translateY(100%); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

.hero-tagline {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-muted);
    max-width: 600px;
    letter-spacing: -0.01em;
    opacity: 0;
    animation: heroFadeIn 1s var(--ease-out-expo) 0.6s forwards;
}

@keyframes heroFadeIn {
    to { opacity: 1; }
}

/* Scroll Cue Layout & Subtle CSS Animation */
.scroll-cue {
    position: absolute;
    bottom: 3rem;
    left: 4rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.scroll-text {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    font-weight: 500;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent-color), transparent);
    transform-origin: top;
    animation: scrollLineGrow 2s var(--ease-out-expo) infinite;
    position: relative;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -2.5px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-color);
    animation: scrollDotPulse 2s var(--ease-out-expo) infinite;
}

@keyframes scrollDotPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.3;
        transform: scale(0.6);
    }
}

@keyframes scrollLineGrow {
    0% {
        transform: scaleY(0);
        opacity: 0;
    }
    30% {
        transform: scaleY(1);
        opacity: 1;
    }
    60% {
        transform: scaleY(1);
        transform-origin: bottom;
    }
    100% {
        transform: scaleY(0);
        transform-origin: bottom;
        opacity: 0;
    }
}

/* Mobile responsive scaling for Hero */
@media (max-width: 768px) {
    .hero {
        padding: 0 2rem;
    }
    .hero-title {
        line-height: 1.05;
        margin-bottom: 2rem;
    }
    .scroll-cue {
        left: 2rem;
        bottom: 2rem;
    }
    .scroll-line {
        height: 40px;
    }
}
/* --- ABOUT SECTION --- */
.about-section {
    min-height: 80vh;
    width: 100%;
    padding: 10rem 4rem;
    display: flex;
    align-items: center;
    background-color: var(--bg-color);
    border-top: 1px solid rgba(255, 255, 255, 0.05); /* Ultra-subtle section boundary */
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Creative asymmetric split */
    gap: 4rem;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.about-label h2 {
    font-size: 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    color: var(--text-color);
    position: sticky;
    top: 6rem; /* Keeps label visible as you scroll past on desktop */
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.about-lead {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--text-color);
}

.about-body {
    font-size: clamp(1.1rem, 1.5vw, 1.25rem);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 680px;
}

/* Mobile responsive adjustments */
@media (max-width: 968px) {
    .about-section {
        padding: 6rem 2rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr; /* Stacks vertically on smaller screens */
        gap: 2rem;
    }
    
    .about-label h2 {
        position: static; /* Removes sticky positioning on mobile */
        font-size: 1.2rem;
    }
    
    .about-content {
        gap: 1.5rem;
    }
}
/* --- SERVICES SECTION --- */
.services-section {
    min-height: 100vh;
    width: 100%;
    padding: 10rem 4rem;
    background-color: var(--bg-color);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.services-header h2 {
    font-size: 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin-bottom: 6rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-column {
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 2.5rem;
    position: relative;
}

.service-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 1.5rem;
}

.service-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--accent-color);
    fill: none;
    stroke-width: 1.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-title {
    font-size: clamp(2.5rem, 4.5vw, 4rem);
    font-weight: 700;
    line-height: 1.0;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
}

.service-desc {
    font-size: clamp(1.1rem, 1.5vw, 1.25rem);
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 520px;
}

/* Technical Tags Layout */
.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: auto; /* Pushes tags to the bottom if column contents vary */
}

.tech-tags span {
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-color);
    transition: var(--transition-smooth);
}

/* Subtle accent highlight on hover */
.tech-tags span:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    background-color: rgba(0, 229, 255, 0.02);
}

/* Mobile responsive adjustments */
@media (max-width: 968px) {
    .services-section {
        padding: 6rem 2rem;
    }
    
    .services-header h2 {
        margin-bottom: 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 668px) {
    .services-section {
        padding: 6rem 2rem;
    }
    
    .services-header h2 {
        margin-bottom: 3rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .service-column {
        padding-top: 1.5rem;
    }
    
    .service-title {
        margin-bottom: 1.5rem;
    }
}
/* --- WORK SECTION --- */
.work-section {
    min-height: 100vh;
    width: 100%;
    padding: 10rem 4rem;
    background-color: var(--bg-color);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.work-header h2 {
    font-size: 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
}

.work-intro {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 500px;
    line-height: 1.5;
}

.projects-list {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.project-item {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: center;
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.5s var(--ease-out-expo);
    cursor: default;
    position: relative;
}

.project-item:hover {
    border-bottom-color: rgba(255, 255, 255, 0.15);
    padding-left: 1rem;
}

.project-thumb {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.06), rgba(0, 229, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.5s var(--ease-out-expo);
}

.project-item:hover .project-thumb {
    border-color: rgba(0, 229, 255, 0.15);
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.1), rgba(0, 229, 255, 0.02));
}

.project-thumb svg {
    width: 32px;
    height: 32px;
    stroke: rgba(255, 255, 255, 0.15);
    fill: none;
    stroke-width: 1.2;
}

.project-item:hover .project-thumb svg {
    stroke: var(--accent-color);
}

.project-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.project-title {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.project-title a {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    transition: all 0.4s var(--ease-out-expo);
}

.project-title .arrow {
    color: var(--accent-color);
    opacity: 0;
    transform: translateX(-15px);
    font-size: 1.2em;
    transition: all 0.5s var(--ease-out-expo);
}

.project-item:hover .project-title a {
    color: var(--accent-color);
}

.project-item:hover .project-title .arrow {
    opacity: 1;
    transform: translateX(0);
}

.projects-list:hover .project-item:not(:hover) {
    opacity: 0.3;
}

/* --- ENHANCED PROJECT DETAILS --- */
.project-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 560px;
    margin-top: 0.5rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.project-tech span {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.3rem 0.7rem;
    background-color: rgba(0, 229, 255, 0.05);
    border: 1px solid rgba(0, 229, 255, 0.12);
    color: var(--accent-color);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .work-section {
        padding: 6rem 2rem;
    }
    
    .project-item {
        grid-template-columns: 80px 1fr;
        gap: 1rem;
        padding: 1.5rem 0;
    }
    
    .project-item:hover {
        padding-left: 0.5rem;
    }
    
    .project-thumb {
        aspect-ratio: 1;
        border-radius: 6px;
    }
    
    .project-thumb svg {
        width: 20px;
        height: 20px;
    }
    
    .project-meta {
        font-size: 0.7rem;
    }
    
    .project-title {
        font-size: clamp(1.1rem, 4vw, 1.5rem);
    }
    
    .project-title .arrow {
        opacity: 1;
        transform: translateX(0);
        font-size: 1.2em;
    }
    
    .project-item:hover .project-title a {
        transform: none;
    }

    .project-desc,
    .project-tech {
        display: none;
    }
}
/* --- STATS SECTION --- */
.stats-section {
    width: 100%;
    padding: 6rem 4rem;
    background-color: var(--bg-color);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--accent-color);
    margin-bottom: 0.75rem;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    font-weight: 500;
}

@media (max-width: 868px) {
    .stats-section {
        padding: 4rem 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-item {
        border-right: none;
        padding: 1.5rem;
    }
}

@media (max-width: 468px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* --- BLOG / INSIGHTS SECTION --- */
.section {
    width: 100%;
    padding: 10rem 4rem;
    background-color: var(--bg-color);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-color);
    font-weight: 500;
    display: block;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 500px;
    line-height: 1.5;
    margin-bottom: 4rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blog-card {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.5s var(--ease-out-expo);
    cursor: default;
    overflow: hidden;
}

.blog-card:hover {
    border-color: rgba(0, 229, 255, 0.15);
    transform: translateY(-4px);
}

.blog-card-thumb {
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.06), rgba(0, 229, 255, 0.01));
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.blog-card-thumb svg {
    width: 48px;
    height: 48px;
    stroke: rgba(255, 255, 255, 0.12);
    fill: none;
    stroke-width: 1.2;
}

.blog-card:hover .blog-card-thumb svg {
    stroke: var(--accent-color);
}

.blog-card-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-grow: 1;
}

.blog-date {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.blog-title {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.blog-excerpt {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-muted);
    flex-grow: 1;
}

.blog-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent-color);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s var(--ease-out-expo);
    margin-top: 0.5rem;
}

.blog-link:hover {
    gap: 0.75rem;
    opacity: 0.8;
}

.blog-grid:hover .blog-card:not(:hover) {
    opacity: 0.3;
}

/* Mobile responsive */
@media (max-width: 968px) {
    .section { padding: 6rem 2rem; }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-card-thumb { aspect-ratio: 16 / 9; }
}

@media (max-width: 668px) {
    .section { padding: 6rem 2rem; }
    .blog-grid { grid-template-columns: 1fr; }
    .blog-card-thumb { aspect-ratio: 16 / 8; }
    .blog-title { font-size: 1.1rem; }
    .section-subtitle { margin-bottom: 2.5rem; }
}

/* --- TEAM SECTION --- */
.team-section {
    min-height: 60vh;
    width: 100%;
    padding: 10rem 4rem;
    background-color: var(--bg-color);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.team-header h2 {
    font-size: 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin-bottom: 6rem;
}

.team-grid {
    display: flex;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
}

.team-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 4rem 4rem;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4rem;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.card-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 200px;
}

.card-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-card:hover::before {
    opacity: 1;
}

.member-avatar {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.15), rgba(0, 229, 255, 0.05));
    border: 1px solid rgba(0, 229, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.avatar-initials {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--accent-color);
}

.member-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.member-role {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-color);
    font-weight: 500;
}

.member-name {
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.member-bio {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.member-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.member-skills span {
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.member-skills span:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    background-color: rgba(0, 229, 255, 0.03);
}

.member-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s var(--ease-out-expo);
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: rgba(255, 255, 255, 0.5);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.4s var(--ease-out-expo);
}

.social-link:hover {
    border-color: var(--accent-color);
    background-color: rgba(0, 229, 255, 0.06);
    transform: translateY(-3px);
}

.social-link:hover svg {
    stroke: var(--accent-color);
}

/* --- INTERACTIVE CARD HOVER --- */
.team-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background-color: rgba(255, 255, 255, 0.03);
    transform: translateY(-4px);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .team-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2.5rem 2rem;
    }
    
    .card-left {
        flex-direction: row;
        align-items: center;
        gap: 1.5rem;
        min-width: unset;
    }
    
    .member-avatar {
        margin-bottom: 0;
        width: 60px;
        height: 60px;
    }
    
    .member-meta {
        margin-bottom: 0.25rem;
    }
    
    .member-name {
        font-size: 1.5rem;
    }
    
    .member-bio {
        font-size: 1rem;
    }
}

@media (max-width: 668px) {
    .team-section {
        padding: 6rem 2rem;
    }
    
    .team-header h2 {
        margin-bottom: 3rem;
    }
    
    .team-card {
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }

    .card-left {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .member-avatar {
        margin-bottom: 1rem;
    }
    
    .member-name {
        font-size: 1.75rem;
    }
    
    .member-bio {
        font-size: 0.95rem;
    }
    
    .member-skills span {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}
/* --- CONTACT / FOOTER SECTION --- */
.footer-section {
    min-height: 90vh;
    width: 100%;
    padding: 10rem 4rem 4rem 4rem;
    background-color: var(--bg-color);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
    gap: 6rem;
}

.footer-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cta-title {
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin-bottom: 3rem;
}

.cta-title span {
    color: var(--text-muted);
}

.cta-email {
    font-size: clamp(1.5rem, 3.5vw, 3.5rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    color: var(--accent-color);
    position: relative;
    padding-bottom: 0.5rem;
}

/* Underline interaction for primary email */
.cta-email::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
    transform: scaleX(1);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.cta-email:hover::after {
    transform: scaleX(0);
    transform-origin: right;
}

/* Bottom Row Layout */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 3rem;
}

.brand-logo {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    display: block;
    margin-bottom: 0.5rem;
}

.brand-copy {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 2.5rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.footer-links a {
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--accent-color);
}

/* --- SCROLL ANIMATIONS CORE STATES --- */
.section-hidden {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- STAGGERED TEAM CARD ANIMATIONS --- */
.card-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .footer-section {
        padding: 6rem 2rem 2rem 2rem;
        min-height: auto;
    }
    
    .footer-container {
        gap: 4rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }
    
    .footer-links {
        width: 100%;
        justify-content: space-between;
        gap: 1rem;
    }
}
/* --- LENIS SMOOTH SCROLL OPTIMIZATIONS --- */
html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overflow: clip;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}