@import url('https://fonts.googleapis.com/css2?family=Questrial&family=Inter:wght@300;400;600&display=swap');

:root {
    --bg-color: #212126;
    --bg-darker: #1a1a1f;
    --accent-color: #6dcff6;
    --text-color: #ffffff;
    --text-muted: #888888;
    --gray-dark: #323337;
    --sidebar-width: 100px;
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --font-heading: 'Questrial', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    height: 100vh;
}

/* Scroll Container */
.main-wrapper {
    display: flex;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    height: 100%;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-logo img {
    width: 60px;
    opacity: 0.9;
}

.nav-indicator {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.nav-item {
    font-size: 0.7rem;
    font-family: var(--font-heading);
    color: var(--text-muted);
    text-decoration: none;
    letter-spacing: 2px;
    transition: var(--transition-smooth);
    position: relative;
    padding: 10px 0;
}

.nav-item.active {
    color: var(--text-color);
}

.nav-text {
    display: none; /* Hidden on desktop */
}

.nav-item.active::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    width: 15px;
    height: 1px;
    background: var(--text-color);
}

.close-sidebar {
    display: none; /* Hidden on desktop */
}

.scroll-hint {
    font-size: 1rem;
    color: var(--text-muted);
}

/* Main Content Area */
.content-area {
    margin-left: var(--sidebar-width);
    flex: 1;
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    position: relative;
}

/* Top Navigation */
.top-nav {
    position: fixed;
    top: 0;
    right: 0;
    left: var(--sidebar-width);
    display: flex;
    justify-content: flex-end;
    padding: 2.5rem 4rem;
    z-index: 90;
}

.top-nav a {
    color: var(--text-color);
    text-decoration: none;
    margin-left: 3rem;
    font-size: 0.8rem;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    opacity: 0.7;
    transition: var(--transition-smooth);
}

.top-nav a:hover {
    opacity: 1;
    color: var(--accent-color);
}

/* Feature Cards Grid (for services screen) */
.screen-section {
    width: 100%;
    height: 100vh;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    padding: 0 8rem;
    position: relative;
    overflow: hidden;
}

.section-label {
    position: absolute;
    top: 2.5rem;
    left: 4rem;
    font-size: 0.7rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--text-muted);
}

.background-canvas {
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    pointer-events: auto;
    z-index: 1;
}

#ocean-canvas {
    width: 100%;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero-content.dual-col {
    max-width: 1400px;
    display: flex;
    gap: 8rem;
    align-items: center;
    width: 100%;
}

.col-left {
    flex: 1.2;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
}

.col-right {
    flex: 1;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
}

.col-right h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.welcome-text {
    font-size: 0.8rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 1rem;
    display: block;
    font-family: var(--font-heading);
}

h1 {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 400;
    letter-spacing: -1px;
}

.description {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 450px;
    margin-bottom: 3rem;
}

.made-by-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.7rem;
    color: var(--text-muted);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    transition: var(--transition-smooth);
}

.made-by-badge:hover {
    border-color: var(--accent-color);
    color: var(--text-color);
    background: rgba(109, 207, 246, 0.05);
}

.made-by-badge .badge-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    border-radius: 50%;
}

/* Buttons */
.btn-play {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0.8rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.8rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    white-space: nowrap;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-play.secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}

.btn-play.secondary:hover {
    border-color: var(--accent-color);
    color: var(--text-color);
}

.play-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-color);
    font-size: 1.2rem;
}

.btn-play:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-color);
}

/* Feature Cards Grid (for services screen) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    width: 100%;
}

.feature-item h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

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

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    margin-top: 3rem;
    width: 100%;
}

.team-card {
    text-align: center;
    transition: var(--transition-smooth);
    background: rgba(255, 255, 255, 0.03);
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.team-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-color);
}

.profile-pic {
    width: 140px;
    height: 140px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--accent-color);
    box-shadow: 0 10px 30px rgba(109, 207, 246, 0.1);
    position: relative;
}

.profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.team-card:hover .profile-pic img {
    transform: scale(1.1);
}

.team-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.btn-linkedin {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.7rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 5px;
    transition: var(--transition-smooth);
}

.btn-linkedin:hover {
    background: var(--accent-color);
    color: var(--bg-color);
    box-shadow: 0 0 20px rgba(109, 207, 246, 0.4);
}

/* Journey Section */
.journey-container {
    width: 100%;
    overflow-x: auto;
    padding: 2rem 0;
    margin-top: 2rem;
    scrollbar-width: none; /* Firefox */
    touch-action: pan-x pan-y; /* Allow both horizontal and vertical scrolling */
    -webkit-overflow-scrolling: touch; /* Smooth scroll on iOS */
}

.journey-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.journey-track {
    display: flex;
    gap: 2.5rem;
    padding-right: 5vw; /* More breathing room at the end of the scroll */
}

.journey-card {
    flex: 0 0 350px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.journey-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-color);
}

.journey-img {
    height: 200px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.journey-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.journey-card:hover .journey-img img {
    transform: scale(1.1);
}

.date-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--accent-color);
    color: var(--bg-color);
    padding: 0.3rem 0.8rem;
    border-radius: 5px;
    font-size: 0.7rem;
    font-family: var(--font-heading);
    font-weight: 600;
}

.journey-body {
    padding: 2rem;
}

.journey-body h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.journey-body p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Fix Overlap & Arrow */
.journey-hero {
    max-width: 100% !important;
    width: 100% !important;
    padding-top: 4rem; 
    padding-right: 0 !important;
}

.journey-hero > *:not(.journey-wrapper) {
    padding-left: 5vw;
}

#capabilities .hero-content {
    max-width: 100% !important;
    width: 100% !important;
    padding-right: 0 !important;
}

#capabilities .hero-content > div:first-child {
    padding-left: 5vw;
}

.journey-wrapper {
    position: relative;
    width: 100%;
}

.scroll-arrow {
    position: absolute;
    right: 2rem;
    left: auto; /* For transition */
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
    background: rgba(33, 33, 38, 0.8);
    padding: 1rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10;
    pointer-events: none; /* Don't interfere with dragging */
    animation: bounceRight 2s infinite;
    transition: opacity 0.3s ease;
}

.scroll-arrow.scrolled-end {
    right: auto;
    left: 2rem;
    animation: bounceLeft 2s infinite;
}

.scroll-arrow.scrolled-end .arrow-icon {
    display: inline-block;
    transform: rotate(180deg);
}

.arrow-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

@keyframes bounceRight {
    0%, 20%, 50%, 80%, 100% {transform: translate(0, -50%);}
    40% {transform: translate(-10px, -50%);}
    60% {transform: translate(-5px, -50%);}
}

@keyframes bounceLeft {
    0%, 20%, 50%, 80%, 100% {transform: translate(0, -50%);}
    40% {transform: translate(10px, -50%);}
    60% {transform: translate(5px, -50%);}
}

@media (max-width: 1300px) {
    .scroll-arrow {
        right: 0;
        background: var(--bg-color);
        padding: 1rem;
        border-radius: 10px;
        box-shadow: -10px 0 20px var(--bg-color);
    }
}

/* Custom Scrollbar */
.content-area::-webkit-scrollbar {
    width: 4px;
}

.content-area::-webkit-scrollbar-track {
    background: var(--bg-color);
}

.content-area::-webkit-scrollbar-thumb {
    background: var(--gray-dark);
}

/* Responsiveness */
@media (max-width: 1024px) {
    .screen-section {
        padding: 0 4rem;
    }
    h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }
    .content-area {
        margin-left: 0;
    }
    .top-nav {
        left: 0;
        padding: 1.5rem 2rem;
    }
    .screen-section {
        padding: 0 2rem;
    }
    .background-watermark {
        width: 100%;
        right: -20%;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Section */
.contact-area {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    z-index: 10;
    width: 100%; /* Ensure it takes full width */
}

#contact .hero-content {
    max-width: 90vw !important; /* Allow it to expand for the large email */
}

.contact-label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-color);
    opacity: 0.8;
}

.contact-email.large {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 8vw, 4.5rem); /* Massive responsive font */
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    background-image: linear-gradient(
        to right, 
        #ffffff 20%, 
        var(--accent-color) 40%, 
        #ffffff 60%, 
        var(--accent-color) 80%
    );
    background-size: 200% auto;
    font-weight: 700;
    letter-spacing: -2px;
    white-space: nowrap; /* Keep on one line */
    animation: textShine 4s linear infinite, textGlow 3s ease-in-out infinite alternate;
}

@keyframes textShine {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

@keyframes textGlow {
    from { filter: drop-shadow(0 0 5px rgba(109, 207, 246, 0.2)); }
    to { filter: drop-shadow(0 0 20px rgba(109, 207, 246, 0.5)); }
}

#contact-canvas {
    width: 100% !important;
    height: 200px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    opacity: 1 !important; /* Remove opaque/semi-transparent feel */
    pointer-events: none;
}

.contact-email.large:hover {
    color: var(--accent-color);
    text-shadow: 0 0 30px rgba(109, 207, 246, 0.3);
}

/* How it Works Section */
.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.works-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.works-item:hover {
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

.works-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.works-item h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--accent-color);
}

.works-item p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-muted);
}

/* Capabilities Section */
.capabilities-container {
    padding-bottom: 1rem;
}

.cap-track {
    display: flex;
    gap: 2rem;
    padding-right: 5vw; /* Extra room for over-scroll */
}

.cap-card {
    min-width: 380px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 3px solid var(--accent-color);
    padding: 2.5rem;
    border-radius: 20px;
    transition: var(--transition-smooth);
}

.cap-card:hover {
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

.cap-icon {
    font-size: 2rem;
    color: var(--accent-color);
    display: block;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.cap-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.cap-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-muted);
}

/* Extended Capabilities Styling */
.capabilities-grid.extended {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.cap-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
/* Sticky Scroll to Top Button */
.sticky-top-btn {
    position: fixed;
    bottom: 3rem;
    right: 3rem;
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    color: var(--bg-color);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(109, 207, 246, 0.3);
}

.sticky-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sticky-top-btn:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 40px rgba(109, 207, 246, 0.5);
}

.sticky-top-btn:active {
    transform: scale(0.95);
}

/* Interview Section Styles */
.interview-section {
    height: auto;
    min-height: 100vh;
    padding: 6rem 8rem;
    display: flex;
    align-items: center;
}

.interview-hero {
    width: 100%;
    max-width: 1400px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.interview-text-col {
    flex: 1;
    max-width: 500px;
}

.interview-video-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 2rem;
}

.video-container {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    background: rgba(255,255,255,0.02);
    width: 100%;
}

.main-video {
    max-width: 460px;
    aspect-ratio: 16/9;
}

.sub-video {
    max-width: 460px;
}

@media (max-width: 1024px) {
    .hero-content.dual-col {
        flex-direction: column;
        gap: 3rem;
        padding: 4rem 2rem;
        max-width: 100%;
    }
    
    .screen-section {
        padding: 0 3rem;
        height: auto;
        min-height: 100vh;
        align-items: flex-start;
        padding-top: 6rem;
    }

    .top-nav {
        padding: 1.5rem 2rem;
        overflow-x: auto;
        white-space: nowrap;
        background: linear-gradient(180deg, rgba(33, 33, 38, 0.9) 0%, rgba(33, 33, 38, 0) 100%);
    }

    .section-label {
        top: 6rem;
        left: 3rem;
    }
}

.mobile-header {
    display: none;
}

@media (max-width: 768px) {
    .mobile-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 1.5rem;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: rgba(33, 33, 38, 0.85);
        backdrop-filter: blur(10px);
        z-index: 150;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .mobile-logo {
        width: 40px;
        height: auto;
    }

    .hamburger-menu {
        background: none;
        border: none;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        gap: 5px;
        padding: 5px;
    }

    .hamburger-menu span {
        display: block;
        width: 25px;
        height: 2px;
        background-color: var(--text-color);
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        transform-origin: center;
    }

    .hamburger-menu.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }
    .hamburger-menu.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .sidebar {
        position: fixed !important;
        top: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        height: 100vh !important;
        width: 280px !important;
        transform: translateX(-100%) !important;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease !important;
        z-index: 9999 !important;
        background: rgba(20, 20, 25, 0.98) !important;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 6rem !important; 
        padding-bottom: 3rem !important;
        pointer-events: none !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        opacity: 0 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }

    .sidebar.open {
        transform: translateX(0) !important;
        opacity: 1 !important;
        pointer-events: auto !important; /* Allow clicks when open */
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.8) !important;
    }

    .close-sidebar {
        display: flex !important;
        position: absolute;
        top: 2rem;
        right: 2rem;
        background: none;
        border: none;
        color: var(--text-color);
        font-size: 2rem;
        cursor: pointer;
        z-index: 10001;
        width: 40px;
        height: 40px;
        align-items: center;
        justify-content: center;
        transition: transform 0.3s ease;
    }

    .close-sidebar:hover {
        transform: scale(1.1);
        color: var(--accent-color);
    }

    .nav-indicator {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
        align-items: flex-start !important;
        width: 100%;
        padding-left: 3rem;
    }

    .nav-item {
        font-size: 1.2rem !important;
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .nav-text {
        display: inline-block !important;
        font-size: 1.1rem;
        color: var(--text-color);
        letter-spacing: 1px;
    }

    .nav-item.active::after {
        display: none; /* Hide the little line on mobile, use colors instead */
    }

    .scroll-hint {
        display: none !important;
    }
    .content-area {
        margin-left: 0;
        scroll-snap-type: none !important;
    }

    .team-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .top-nav {
        display: none; /* Hide top nav on small mobile since we have hamburger */
    }

    .screen-section {
        padding: 6rem 1.5rem 2rem 1.5rem;
    }

    .section-label {
        top: 4.5rem;
        left: 1.5rem;
    }

    .capabilities-grid, .journey-container {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 0 1.5rem;
        gap: 1.5rem;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: none !important;
        touch-action: pan-x pan-y !important;
    }

    .cap-card, .journey-card {
        scroll-snap-align: none !important;
        flex-shrink: 0;
    }

    /* Interview Mobile Overrides */
    .interview-section {
        padding: 4rem 1.5rem;
    }

    .interview-hero {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .interview-text-col {
        max-width: 100%;
    }

    .interview-text-col .description {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .interview-video-col {
        align-items: center;
        width: 100%;
    }

    .video-container {
        max-width: 100%;
    }

    .cap-card {
        min-width: 250px; /* Prevent cards from getting too squished */
    }

    .sticky-top-btn {
        bottom: 2rem;
        right: 2rem;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}


.cap-header .cap-icon {
    margin-bottom: 0;
}

.cap-list {
    list-style: none;
    padding: 0;
}

.cap-list li {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.2rem;
}

.cap-list li::before {
    content: "•";
    color: var(--accent-color);
    position: absolute;
    left: 0;
}

.cap-list li strong {
    color: var(--text-color);
    display: block;
    margin-bottom: 0.2rem;
}
