/* ==========================================================================
   Self-Hosted Typography (Inter & Fira Code)
   ========================================================================== */

/* Inter 300 - Light */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('fonts/inter-latin-300-normal.woff2') format('woff2');
}

/* Inter 400 - Regular */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/inter-latin-400-normal.woff2') format('woff2');
}

/* Inter 500 - Medium */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/inter-latin-500-normal.woff2') format('woff2');
}

/* Inter 600 - Semi-Bold */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/inter-latin-600-normal.woff2') format('woff2');
}

/* Inter 700 - Bold */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/inter-latin-700-normal.woff2') format('woff2');
}

/* Fira Code 400 - Regular */
@font-face {
    font-family: 'Fira Code';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/fira-code-latin-400-normal.woff2') format('woff2');
}

/* Fira Code 500 - Medium */
@font-face {
    font-family: 'Fira Code';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/fira-code-latin-500-normal.woff2') format('woff2');
}

/* Fira Code 600 - Semi-Bold */
@font-face {
    font-family: 'Fira Code';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/fira-code-latin-600-normal.woff2') format('woff2');
}

:root {
    --text-color: #f4fdfb;
    --accent-color: #32e5a6; /* Xenoi luminous emerald (20% emerald shift) */
    --accent-cyan: #32e5a6;
    --accent-highlight: #b0fcdb; /* Luminous soft emerald highlight */
    --accent-teal: #16a782; /* Rich emerald-teal midtone */
    --accent-teal-dark: #0b4a3c; /* Deep ambient emerald-teal */
    --accent-text: #32e5a6; /* Glowing emerald for accents */
    --bg-color: #03100e; /* Deep obsidian with subtle emerald warmth */
    --bg-surface: rgba(8, 48, 40, 0.25);
    --nav-bg: rgba(3, 16, 14, 0.78);
    --border-color: rgba(50, 229, 166, 0.18);
    --glow-shadow: 0 0 25px rgba(50, 229, 166, 0.4);
    --site-gutter: 4.5rem; /* Universal left guideline across the entire site */
}

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

html {
    font-size: 95%; /* Increased content size by 5% */
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* Ambient vignette calibrated with subtle emerald warmth */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(ellipse at 70% 50%, transparent 25%, rgba(2, 10, 8, 0.25) 75%, rgba(1, 5, 4, 0.50) 100%),
                linear-gradient(90deg, rgba(1, 6, 5, 0.32) 0%, rgba(1, 6, 5, 0.10) 45%, transparent 100%);
}

#animation-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
    transform: translateZ(0);
    will-change: transform;
    filter: brightness(0.95) contrast(1.10) saturate(1.18) hue-rotate(-12deg); /* Shifted 20% toward emerald */
}

/* Header Banner - Visually invisible banner container with active working boundary */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0.45rem var(--site-gutter) 0.55rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 110;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    box-sizing: border-box;
    pointer-events: none;
}

.header > * {
    pointer-events: auto;
}

.logo {
    display: flex;
    align-items: center;
    line-height: 1;
    margin: 0;
    padding: 0;
    text-decoration: none;
    color: inherit;
    background: transparent;
    position: relative;
    z-index: 10;
}

.brand-logo-img {
    height: 70px;
    width: auto;
    display: block;
    margin: 0;
    object-fit: contain;
    background: transparent;
    filter: drop-shadow(0 0 16px rgba(50, 229, 166, 0.45));
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}

.logo:hover .brand-logo-img {
    transform: scale(1.02);
    filter: drop-shadow(0 0 24px rgba(50, 229, 166, 0.8));
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0.5rem 0.5rem 0.5rem 1.75rem;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Centered iconless pill buttons */
.btn:not(:has(.btn-icon)),
.btn-sm,
.footer-col .btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
    padding: 10px 22px;
    gap: 0;
    margin: 0;
    box-sizing: border-box;
    min-height: 38px;
    font-size: 0.88rem;
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-highlight) 0%, var(--accent-color) 60%, var(--accent-teal) 100%);
    color: #041a15;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
}

.btn:hover .btn-icon {
    transform: translateX(6px) scale(1.08);
    box-shadow: 0 0 20px rgba(50, 229, 166, 0.75);
}

.btn-dark {
    background: rgba(11, 74, 60, 0.35);
    color: #fff;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}
.btn-dark:hover {
    background: rgba(50, 229, 166, 0.15);
    border-color: rgba(50, 229, 166, 0.4);
}

.btn-light {
    background: #fff;
    color: #041a15;
    box-shadow: 0 0 20px rgba(50, 229, 166, 0.15);
}
.btn-light:hover {
    background: #e6faf5;
    box-shadow: 0 0 30px rgba(50, 229, 166, 0.4);
}

/* Page Layout */
.content {
    position: relative;
    z-index: 1;
}

/* Progressive darkness sheet beginning from Page 1 down to the last section (capped at 15%) */
.content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 0%,              /* Page 1 (Hero): 0% additional darkness */
        rgba(2, 10, 8, 0.02) 20%,         /* Page 1 transition to Page 2 */
        rgba(2, 10, 8, 0.05) 40%,         /* Page 2 (NGS & Genomics) */
        rgba(2, 10, 8, 0.08) 60%,         /* Page 3 (Multi-Omics) */
        rgba(2, 10, 8, 0.11) 80%,         /* Page 4 (Education & Training) */
        rgba(2, 10, 8, 0.15) 100%         /* Page 5 (Ready to Analyze - Last Section): Exactly 15% */
    );
}

.page {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 var(--site-gutter);
    position: relative;
    z-index: 1; /* Cleanly stacked above the darkness sheet */
    box-sizing: border-box;
}

.page-1 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end; /* Aligns hero content to the right side */
    padding-top: calc(70px + 0.7rem + 2.2rem);
    padding-bottom: 3.5rem;
    padding-left: var(--site-gutter);
    padding-right: var(--site-gutter);
    min-height: 100vh;
    box-sizing: border-box;
    width: 100%;
}

/* Hero Section matching Screenshot 541 - Right Side */
.hero-container {
    max-width: 645px; /* Increased by 5% */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    margin-left: auto; /* Positioned to the right side */
    margin-right: 0;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    z-index: 2;
}

.hero-badge {
    color: #dfa467;
    font-family: 'Fira Code', monospace;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 1.35rem;
    display: inline-block;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.hero-heading {
    font-size: clamp(3.05rem, 4.95vw, 4.85rem); /* Increased by 5% */
    font-weight: 600;
    line-height: 1.06;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin: 0 0 1.6rem 0;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.95), 0 1px 3px rgba(0, 0, 0, 0.9);
}

.hero-desc {
    font-size: clamp(1rem, 1.18vw, 1.12rem); /* Increased by 5% */
    line-height: 1.62;
    color: rgba(220, 240, 245, 0.88);
    max-width: 588px; /* Increased by 5% */
    margin: 0;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

/* Hero Bottom / Navigation */
.hero-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    padding: 0 !important;
    margin-top: 2rem;
}

.scroll-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    flex: 1;
}
.scroll-indicator .arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}

.floating-nav-container {
    position: fixed;
    top: calc(100vh - 6rem);
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    transition: top 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-nav-container.nav-fixed-top {
    top: 2.5rem;
}

.floating-nav {
    display: flex;
    align-items: center;
    gap: 2.65rem; /* Increased by 5% */
    background: var(--nav-bg);
    border: 1px solid var(--border-color);
    padding: 0.85rem 2.65rem; /* Increased by 5% */
    border-radius: 50px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(50, 229, 166, 0.08);
}

.floating-nav a {
    color: rgba(214, 245, 238, 0.65);
    text-decoration: none;
    font-size: 0.9rem; /* Increased by 5% */
    font-weight: 450;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    transition: color 0.3s;
}

.floating-nav a:hover, .floating-nav a.active {
    color: #ffffff;
}

.floating-nav .dot {
    width: 6.5px;
    height: 6.5px;
    background-color: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-color);
}

.floating-nav .plus {
    color: rgba(50, 229, 166, 0.4);
    font-weight: 300;
}

.spacer {
    flex: 1;
}

/* Top Banner Diminish Safeguard */
.banner-diminished {
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
}

/* Other Pages */
.text-block {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    background: transparent;
    padding: 0;
    margin-left: 0;
    margin-right: auto;
    max-width: 645px; /* Increased by 5% */
}

.page-1 .text-block, 
#services .text-block, 
.page-3 .text-block {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

#training .text-block, 
#about .text-block {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: none;
    position: relative;
}

.text-block.visible {
    opacity: 1;
    transform: translateY(0);
}

.text-block > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.text-block.visible > * {
    opacity: 1;
    transform: translateY(0);
}

.text-block.visible > *:nth-child(1) { transition-delay: 0.1s; }
.text-block.visible > *:nth-child(2) { transition-delay: 0.2s; }
.text-block.visible > *:nth-child(3) { transition-delay: 0.3s; }
.text-block.visible > *:nth-child(4) { transition-delay: 0.4s; }
.text-block.visible > *:nth-child(5) { transition-delay: 0.5s; }

.section-title {
    font-size: 4.75rem; /* Increased by 5% */
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.95), 0 0 40px rgba(0, 0, 0, 0.8);
}

.text-block p {
    font-size: 1.1rem; /* Increased by 5% */
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    max-width: 455px; /* Increased by 5% */
    text-shadow: 0 4px 15px rgba(0,0,0,1), 0 8px 30px rgba(0,0,0,0.8);
}

.align-left, .align-right {
    margin-left: 0;
    margin-right: auto;
    text-align: left;
}

.align-center {
    display: flex;
    flex-direction: column;
    align-items: center !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.align-center p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.page-5 {
    justify-content: center !important;
}

.page-5 .text-block {
    max-width: 820px;
    margin: 0 auto !important;
}

/* "Ready to analyze your data?" Box - Styled similar to team member cards */
.cta-card {
    background: rgba(4, 28, 22, 0.72);
    border: 1px solid rgba(50, 229, 166, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 3rem 3.5rem;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(50, 229, 166, 0.12), 0 0 25px rgba(4, 26, 22, 0.5);
    isolation: isolate;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateY(24px) translateZ(0);
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.35s ease, 
                box-shadow 0.35s ease;
}

.cta-card.visible {
    opacity: 1;
    transform: translateY(0) translateZ(0);
}

.cta-card.visible:hover {
    transform: translateY(-4px) translateZ(0);
    border-color: rgba(50, 229, 166, 0.45);
    box-shadow: 0 15px 40px rgba(50, 229, 166, 0.22), 0 0 35px rgba(4, 26, 22, 0.6);
}

.cta-card > * {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-card.visible > * {
    opacity: 1;
    transform: translateY(0);
}

.cta-card.visible > *:nth-child(1) { transition-delay: 0.12s; }
.cta-card.visible > *:nth-child(2) { transition-delay: 0.22s; }
.cta-card.visible > *:nth-child(3) { transition-delay: 0.32s; }
.cta-card.visible > *:nth-child(4) { transition-delay: 0.42s; }

.cta-card .section-title {
    font-size: clamp(2.2rem, 3.5vw, 3.2rem);
    margin-bottom: 1.2rem;
    color: #ffffff;
}

.cta-card p {
    font-size: 1.05rem;
    line-height: 1.65;
    color: rgba(220, 240, 245, 0.9);
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.cta-card .cta-quote {
    font-size: 1.15rem;
    line-height: 1.6;
    max-width: 660px;
    font-style: italic;
    color: var(--accent-text);
    margin: 1.5rem auto 2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.text-center {
    text-align: center;
}

.mt-4 { margin-top: 2rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Subpage Containers */
.page-container,
.quote-container {
    max-width: 910px; /* Increased by 5% */
    min-height: calc(100vh - 14rem);
    margin: 6.5rem 0 4rem var(--site-gutter);
    padding: 0;
    box-sizing: border-box;
}

/* Responsive */
@media (max-width: 1024px) {
    :root { --site-gutter: 3rem; }
    .section-title { font-size: 3.75rem; }
    .page { padding: 0 var(--site-gutter); }
    .header { padding: 0.35rem var(--site-gutter); }
    .floating-nav {
        gap: 1.6rem;
        padding: 0.75rem 1.8rem;
    }
}

/* Testimonial Section */
.testimonial-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

.testimonial-card {
    background: rgba(4, 28, 22, 0.7);
    border: 1px solid rgba(50, 229, 166, 0.15);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 14px;
    padding: 2.2rem;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(50, 229, 166, 0.45);
    box-shadow: 0 10px 30px rgba(50, 229, 166, 0.15);
}

.quote-mark {
    font-family: 'Fira Code', monospace;
    font-size: 4.5rem;
    color: rgba(50, 229, 166, 0.22);
    position: absolute;
    top: -12px;
    left: 20px;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    font-style: italic;
}

.testimonial-author {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

.author-name {
    color: var(--accent-text);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.author-role {
    font-family: 'Fira Code', monospace;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ==========================================================================
   Site Footer (matching Screenshot 540)
   ========================================================================== */
.site-footer {
    position: relative;
    z-index: 10;
    background: linear-gradient(180deg, rgba(2, 13, 13, 0.45) 0%, rgba(2, 10, 10, 0.94) 22%, rgba(2, 8, 8, 0.98) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 64px var(--site-gutter, 24px) 32px;
    color: var(--text-color);
}

.footer-inner {
    max-width: 1180px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    align-items: start;
    column-gap: 48px;
    row-gap: 32px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 16px;
    text-decoration: none !important;
}

.footer-logo-img {
    height: 48px;
    width: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 0 16px rgba(50, 229, 166, 0.35));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-logo:hover .footer-logo-img {
    transform: scale(1.03);
    filter: drop-shadow(0 0 24px rgba(50, 229, 166, 0.65));
}

.footer-col-brand .footer-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    max-width: 360px;
    margin-bottom: 12px;
}

.footer-col-brand .footer-disclaimer {
    font-size: 0.88rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.5);
    max-width: 360px;
    margin: 0;
}

.footer-heading {
    font-family: 'Fira Code', monospace;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--accent-cyan, #20e6cb);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
    margin: 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none !important;
    font-size: 15px;
    transition: color 0.2s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #ffffff;
    text-decoration: none !important;
}

.footer-email {
    color: var(--accent-cyan, #20e6cb);
    font-weight: 500;
    font-size: 15px;
    text-decoration: none !important;
    display: inline-block;
    margin-bottom: 16px;
    transition: color 0.2s ease;
    word-break: break-all;
}

.footer-email:hover {
    color: #ffffff;
    text-decoration: none !important;
}

.footer-muted-text,
.footer-contact-desc {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0 0 16px 0;
}

.footer-bottom {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: #ffffff;
    text-decoration: none !important;
}

@media (max-width: 900px) {
    .site-footer {
        padding: 48px var(--site-gutter, 24px) 24px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        column-gap: 32px;
        row-gap: 36px;
    }
    .footer-col-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    :root {
        --site-gutter: 1.6rem;
    }
    .header {
        padding: 0.3rem var(--site-gutter);
    }
    .brand-logo-img,
    .footer-logo-img {
        height: 55px;
    }
    .hero-container {
        max-width: 100%;
        margin-left: auto;
        margin-right: 0;
    }
    .hero-heading {
        font-size: clamp(2.2rem, 7.5vw, 2.75rem);
    }
    .section-title {
        font-size: clamp(2.1rem, 7vw, 2.75rem);
        word-break: break-word;
    }
    .text-block p {
        font-size: 1rem;
        max-width: 100%;
    }
    .page {
        min-height: 100vh;
        min-height: 100dvh;
        height: auto;
        padding: 4.5rem var(--site-gutter);
    }
    .page-1 {
        min-height: 100vh;
        min-height: 100dvh;
        height: auto;
        padding-top: calc(55px + 0.6rem + 1.8rem);
        padding-left: var(--site-gutter);
        padding-right: var(--site-gutter);
        padding-bottom: 2.5rem;
    }
    .hero-bottom {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }
    .scroll-indicator, .spacer {
        display: none;
    }
    .floating-nav-container {
        width: calc(100% - 2rem);
        max-width: 440px;
        top: calc(100vh - 4.5rem);
        top: calc(100dvh - 4.5rem);
    }
    .floating-nav-container.nav-fixed-top {
        top: 4.8rem;
    }
    .floating-nav {
        gap: 0.75rem;
        padding: 0.6rem 0.95rem;
        width: 100%;
        justify-content: space-around;
    }
    .floating-nav a {
        font-size: 0.78rem;
        gap: 0.3rem;
    }
    .floating-nav .dot {
        width: 5px;
        height: 5px;
    }
    .floating-nav .plus {
        display: none;
    }
    .page-container,
    .quote-container {
        margin: 5.5rem var(--site-gutter) 3.5rem;
        max-width: 100%;
    }
    .cta-card {
        padding: 2.2rem 1.4rem;
        max-width: 100%;
    }
    .cta-card .section-title {
        font-size: clamp(1.8rem, 6vw, 2.4rem);
    }
    .site-footer {
        padding: 3.5rem var(--site-gutter) 2.5rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.2rem;
    }
    .footer-legal .cookie-pref {
        margin-left: 0;
    }
}

@media (max-width: 380px) {
    .floating-nav {
        gap: 0.45rem;
        padding: 0.5rem 0.6rem;
    }
    .floating-nav a {
        font-size: 0.71rem;
    }
}

/* ==========================================================================
   NEW PAGES STYLES: Career Navigator, Internships, For Colleges
   ========================================================================== */

/* Responsive Card Grids */
.card-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
}

.card-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
}

.pathway-card,
.track-card,
.offering-card,
.info-card {
    background: rgba(4, 28, 22, 0.65);
    border: 1px solid rgba(50, 229, 166, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.75rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.pathway-card:hover,
.track-card:hover,
.offering-card:hover,
.info-card:hover {
    transform: translateY(-4px);
    border-color: rgba(50, 229, 166, 0.45);
    box-shadow: 0 10px 30px rgba(50, 229, 166, 0.12);
}

.card-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(50, 229, 166, 0.1);
    border: 1px solid rgba(50, 229, 166, 0.25);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    flex-shrink: 0;
}

.card-title {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.card-desc {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
    line-height: 1.55;
}

/* Numbered Steps */
.step-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
}

.step-item {
    background: rgba(4, 28, 22, 0.65);
    border: 1px solid rgba(50, 229, 166, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.4rem 1.6rem;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.step-item:hover {
    transform: translateX(4px);
    border-color: rgba(50, 229, 166, 0.4);
}

.step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(50, 229, 166, 0.12);
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fira Code', monospace;
    font-weight: 600;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.step-content h3,
.step-content h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.step-content p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Internship Comparison Grid */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 2.5rem;
}

.comparison-card {
    background: rgba(4, 28, 22, 0.75);
    border: 1px solid rgba(50, 229, 166, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 14px;
    padding: 2rem 1.6rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.comparison-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 12px 35px rgba(50, 229, 166, 0.15);
}

.comparison-card.featured {
    border-color: var(--accent-color);
    background: rgba(4, 32, 25, 0.85);
    box-shadow: 0 0 25px rgba(50, 229, 166, 0.1);
}

.comparison-header {
    border-bottom: 1px solid rgba(50, 229, 166, 0.15);
    padding-bottom: 1.2rem;
    margin-bottom: 1.2rem;
}

.comparison-title {
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.comparison-duration {
    font-family: 'Fira Code', monospace;
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.comparison-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
    margin-bottom: 1.5rem;
}

.comparison-row {
    font-size: 0.92rem;
    line-height: 1.5;
}

.comparison-label {
    font-family: 'Fira Code', monospace;
    font-size: 0.78rem;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.2rem;
    display: block;
}

.comparison-val {
    color: rgba(255, 255, 255, 0.82);
}

.pill-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.pill-item {
    background: rgba(50, 229, 166, 0.08);
    border: 1px solid rgba(50, 229, 166, 0.22);
    color: #ffffff;
    padding: 0.45rem 0.9rem;
    border-radius: 9999px;
    font-size: 0.88rem;
    font-weight: 450;
    transition: all 0.2s ease;
}

.pill-item:hover {
    background: rgba(50, 229, 166, 0.16);
    border-color: var(--accent-color);
    transform: translateY(-1px);
}

/* Subpage Tabs Navigation (Career Navigator · Internships · For Colleges) */
.subpage-tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    margin-bottom: 1.5rem;
    padding: 0.5rem 0.8rem;
    background: rgba(4, 28, 22, 0.45);
    border: 1px solid rgba(50, 229, 166, 0.15);
    border-radius: 8px;
    width: fit-content;
    max-width: 100%;
    font-family: 'Fira Code', monospace;
    font-size: 0.82rem;
    box-sizing: border-box;
}

.subpage-tabs a {
    color: rgba(214, 245, 238, 0.65);
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.subpage-tabs a:hover {
    color: var(--accent-color);
}

.subpage-tabs a[aria-current="page"] {
    color: var(--accent-cyan);
    font-weight: 600;
}

.subpage-tabs .tab-sep {
    color: rgba(214, 245, 238, 0.3);
    user-select: none;
}

@media (max-width: 1024px) {
    .card-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .card-grid-3,
    .card-grid-2,
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    .comparison-card {
        padding: 1.6rem 1.3rem;
    }
}

/* Accessibility & Technical SEO utilities */
.skip-to-content {
    position: absolute;
    top: -9999px;
    left: -9999px;
    z-index: 99999;
    padding: 0.65rem 1.25rem;
    background: var(--bg-color);
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    border-radius: 6px;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(50, 229, 166, 0.35);
    transition: none;
}

.skip-to-content:focus {
    top: 1rem;
    left: 1rem;
}

.page-summary {
    background: rgba(4, 30, 24, 0.55);
    border-left: 3px solid var(--accent-color);
    border-radius: 0 10px 10px 0;
    padding: 1.15rem 1.4rem;
    margin: 1.5rem 0 2.2rem;
    color: rgba(220, 245, 240, 0.92);
    font-size: 1.05rem;
    line-height: 1.65;
}

.page-summary p {
    margin: 0;
}

.inline-link {
    color: var(--accent-color);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.inline-link:hover {
    color: var(--accent-highlight);
}

.hidden {
    display: none !important;
}


