/* Global Reset & Base Styles */
:root {
    --bg-dark: #020405;
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --accent-green: #00ff88;
    --accent-green-dim: rgba(0, 255, 136, 0.1);
    --grid-color: rgba(0, 255, 136, 0.15);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.text-center {
    text-align: center;
}

.text-accent {
    color: var(--accent-green);
}

.text-accent-bold {
    color: var(--accent-green);
    font-weight: 600;
}

.text-accent-highlight {
    color: var(--accent-green);
    font-weight: 600;
    font-family: monospace;
    /* Optional styling for the arrow sequence */
}

.mt-2 {
    margin-top: 1rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 140px 2rem 4rem;
    /* Top padding for navbar */
    overflow: hidden;
}

/* Grid Background */
.grid-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 60px 60px;
    /* Slightly larger grid */
    background-position: center top;
    z-index: 0;
    pointer-events: none;
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    opacity: 0.8;
}

/* Back Link */
.back-link {
    position: absolute;
    top: 120px;
    left: 40px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-green);
    font-weight: 500;
    font-size: 0.95rem;
    z-index: 10;
}

.back-link:hover {
    transform: translateX(-5px);
    text-decoration: underline;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
}

/* Hero Tag */
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.2);
    color: var(--accent-green);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.hero-tag svg {
    width: 16px;
    height: 16px;
}

/* Typography */
/* Typography Responsive */
@media (max-width: 1440px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 1100px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 1024px) {
    .hero-section {
        min-height: auto;
        padding-top: 120px;
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .hero-desc-box {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }

    .hero-desc-box p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .back-link {
        top: 90px;
        left: 1.5rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.85rem;
    }
}


/* Description Box */
.hero-desc-box {
    background: rgba(2, 4, 5, 0.8);
    border: 1px solid rgba(0, 255, 136, 0.15);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 0 40px rgba(0, 255, 136, 0.05);
    max-width: 1000px;
    text-align: center;
    position: relative;
    backdrop-filter: blur(10px);
}

.hero-desc-box p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.hero-desc-box p:last-child {
    margin-bottom: 0;
}

/* 
   ---------------------------
   Enterprises Section 
   ---------------------------
*/
.enterprises-section {
    padding: 6rem 0 8rem;
    position: relative;
}

.enterprise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

/* Enterprises Grid Responsive */
@media (max-width: 968px) {
    .enterprises-section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2.25rem;
    }

    .enterprise-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.85rem;
    }
}


.enterprise-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.enterprise-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(0, 255, 136, 0.2);
    transform: translateY(-5px);
}

.card-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
}

.card-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 0;
}

.card-text {
    padding: 2rem 2.5rem 2.5rem;
}

.enterprise-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.enterprise-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Feature Columns */
.features-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
}

.check-list-small {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.check-list-small li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.check-list-small li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-green);
    font-weight: bold;
}

/*
   ---------------------------
   What We Enable Section
   ---------------------------
*/
.enable-section {
    padding: 6rem 0 8rem;
}

.enable-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

/* Enable Grid Responsive */
@media (max-width: 1024px) {
    .enable-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .enable-section {
        padding: 4rem 0;
    }

    .enable-grid {
        grid-template-columns: 1fr;
    }
}


.enable-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.enable-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(0, 255, 136, 0.3);
    transform: translateY(-5px);
}

.icon-box {
    width: auto;
    height: auto;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: none;
}

.icon-box img {
    max-width: 64px;
    max-height: 64px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.enable-card h3 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.enable-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/*
   ---------------------------
   Innovation Journey Section (Compact / Single Viewport)
   ---------------------------
*/
.journey-section {
    padding: 2rem 0 4rem;
    /* Tight padding */
    min-height: 100vh;
    /* Occupy viewport */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.journey-section .section-header {
    margin-bottom: 2rem;
}

.journey-section .section-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* Sticky Nav Wrapper - Compact */
.journey-nav-wrapper {
    position: sticky;
    top: 70px;
    z-index: 50;
    background: rgba(2, 4, 5, 0.95);
    backdrop-filter: blur(10px);
    margin-bottom: 1rem;
    /* Very tight to content */
    padding: 0.5rem 0;
    /* Simpler bar */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.journey-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.journey-nav::before {
    content: '';
    position: absolute;
    top: 16px;
    /* Adjust line to center of smaller circle */
    left: 50px;
    right: 50px;
    height: 2px;
    background: rgba(0, 255, 136, 0.2);
    z-index: 0;
}

.journey-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    cursor: pointer;
    width: 100px;
    /* Smaller touch target */
}

.step-num {
    width: 32px;
    height: 32px;
    /* Smaller circles */
    background: #020405;
    /* Black bg to hide green line behind */
    border: 2px solid rgba(0, 255, 136, 0.2);
    border-radius: 50%;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    transition: all 0.3s ease;
}

.journey-nav-item span {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0.7;
}

/* Active State for Nav */
.journey-nav-item:hover .step-num,
.journey-nav-item.active .step-num {
    background: var(--accent-green);
    border-color: var(--accent-green);
    color: #000;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.4);
    transform: scale(1.1);
}

.journey-nav-item:hover span,
.journey-nav-item.active span {
    color: var(--text-primary);
    opacity: 1;
}

/* Journey Nav Responsive */
@media (max-width: 1024px) {
    .journey-nav {
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 1rem;
        gap: 1.5rem;
    }

    .journey-nav::before {
        display: none;
    }

    .journey-nav-item {
        flex: 0 0 auto;
        width: auto;
    }
}

@media (max-width: 768px) {
    .journey-section .section-title {
        font-size: 2rem;
    }

    .step-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .step-visual {
        max-height: 300px;
    }

    .journey-step h3 {
        font-size: 1.5rem;
    }
}


.journey-steps-track {
    display: grid;
    /* Stack items */
    width: 100%;
    position: relative;
}

.journey-step {
    grid-area: 1 / 1;
    /* All steps occupy the same space */
    width: 100%;
    min-height: auto;
    /* Remove large height forcing */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    margin-bottom: 0;

    /* Fade Transition Logic */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease-in-out;
    z-index: 0;
}

.journey-step.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

.step-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    /* Tighter Layout */
    align-items: center;
    width: 100%;
    max-width: 1100px;
}

.step-grid.left-text .step-visual {
    order: 2;
    /* Image on right */
}

/* Images */
.step-visual {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Frame */
    max-height: 400px;
    /* Cap height */
    max-width: 100%;
}

.step-visual img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 400px;
    object-fit: contain;
}

/* Step Text */
.step-text {
    padding: 0;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.step-icon {
    width: auto;
    height: auto;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.step-icon img {
    max-width: 56px;
    max-height: 56px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.step-number-large {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(0, 255, 136, 0.4);
    /* Green with opacity */
    /* Faint background number */
    line-height: 1;
}

.journey-step h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    /* Reduced from 2.25rem */
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.step-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.step-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    /* Tighter list */
    margin-bottom: 1.5rem;
}

.step-list li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.step-list li::before {
    content: "✓";
    position: absolute;
    /* Check-circle icon logic simplified */
    left: 0;
    top: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid var(--accent-green);
    color: var(--accent-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: bold;
}

.step-output {
    background: rgba(0, 255, 136, 0.05);
    border-left: 4px solid var(--accent-green);
    padding: 1rem;
    border-radius: 0 8px 8px 0;
    font-size: 0.9rem;
    color: var(--text-primary);
    display: inline-block;
    /* Wrap tightly */
}

.output-label {
    color: var(--accent-green);
    font-weight: 700;
    margin-right: 0.5rem;
}

/* 
   ---------------------------
   Lab Setup Section
   ---------------------------
*/
.lab-setup-section {
    padding: 8rem 0;
    background: var(--bg-dark);
    /* Ensure background is consistent */
}

.lab-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.lab-card {
    background: #171B24;
    /* Darker card background */
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Subtle border */
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    min-height: 200px;
}

.lab-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 136, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lab-icon {
    width: 100%;
    height: 160px;
    /* Increased from 80px for better visibility */
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lab-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* Ensures whole image is visible without distortion */
    width: auto;
    height: auto;
}

.lab-card-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.lab-card:hover .lab-card-text {
    color: var(--text-primary);
}

/* Result Box */
.lab-result-box {
    background: rgba(0, 255, 136, 0.03);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.result-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.result-icon img {
    width: 100%;
    height: auto;
}

.lab-result-box p {
    color: var(--text-primary);
    font-size: 1rem;
    margin: 0;
}

.lab-result-box strong {
    color: var(--accent-green);
    font-weight: 700;
}

/* 
   ---------------------------
   Engagement Models Section
   ---------------------------
*/
.engagement-section {
    padding: 2rem 0 8rem;
}

.engagement-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.engagement-card {
    background: linear-gradient(180deg, #121212 0%, #0B0F0E 100%);
    /* Specified gradient */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.engagement-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 136, 0.3);
}

.icon-box-small {
    width: auto;
    height: auto;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.icon-box-small img {
    max-width: 64px;
    max-height: 64px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.engagement-card h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.engagement-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* 
   ---------------------------
   Why Work With Us Section
   ---------------------------
*/
.why-work-section {
    padding: 2rem 0 4rem;
    /* Reduced from 10rem */
}

.why-work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 2 rows of 3 */
    gap: 2rem;
    margin-top: 4rem;
}

.why-work-card {
    background: linear-gradient(180deg, #121212 0%, #0B0F0E 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.why-work-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 136, 0.3);
}

.icon-box-med {
    flex-shrink: 0;
    width: auto;
    height: auto;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box-med img {
    max-width: 80px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.why-text h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.why-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* 
   ---------------------------
   CTA Section
   ---------------------------
*/
.gccil-cta-section {
    padding: 4rem 0 6rem;
    /* Reduced from 8rem */
    position: relative;
    background: #050709;
    /* Darker than body */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-icon-wrapper {
    width: auto;
    height: auto;
    background: transparent;
    border-radius: 0;

    .cta-icon-wrapper img {
        max-width: 120px;
        max-height: 120px;
        width: auto;
        height: auto;
        object-fit: contain;
    }

    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.cta-contact-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: inline-block;
    padding: 1rem 2rem;
    color: var(--accent-green);
    font-weight: 500;
    margin-bottom: 3rem;
    font-size: 0.95rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.btn-primary {
    background: var(--accent-green);
    color: #000;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #00cc6a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--accent-green);
    border: 1px solid var(--accent-green);
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: rgba(0, 255, 136, 0.1);
    transform: translateY(-2px);
}

/* Comprehensive GCCIL Responsive Adjustments */
@media (max-width: 1200px) {
    .cta-title {
        font-size: 3rem;
    }
}

@media (max-width: 1024px) {
    .enable-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lab-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .engagement-grid,
    .why-work-grid {
        grid-template-columns: 1fr;
    }

    .journey-nav {
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 1rem;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .lab-setup-section {
        padding: 4rem 0;
    }

    .lab-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .lab-result-box {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .engagement-section {
        padding: 4rem 0;
    }

    .why-work-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .cta-title {
        font-size: 2.25rem;
    }

    .cta-subtitle {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary,
    .btn-outline {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-tag {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }

    .hero-desc-box {
        padding: 1.5rem;
    }

    .enterprise-card h3 {
        font-size: 1.25rem;
    }

    .features-columns {
        grid-template-columns: 1fr;
    }

    .journey-nav-item span {
        display: none;
    }

    .journey-nav-item {
        width: 40px;
    }
}


/* Footer Placeholder Fix */
#footer-placeholder {
    margin-top: auto;
}