/* ================================================================
   About Page Redesign - Circuit Noir Theme
   ================================================================
   This stylesheet implements the modern Circuit Noir dark theme
   for the About page, matching the design system used across the site.
   ================================================================ */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap');

/* ----------------------------------------------------------------
   CSS Variables - Circuit Noir Theme
   ---------------------------------------------------------------- */
:root {
    /* Primary Colors */
    --bg-primary: #0a0f1a;
    --bg-secondary: #111827;
    --bg-tertiary: #1a2332;
    --bg-card: #151d2e;

    /* Accent Colors */
    --accent-cyan: #00d4ff;
    --accent-cyan-dim: rgba(0, 212, 255, 0.15);
    --accent-amber: #f59e0b;
    --accent-amber-dim: rgba(245, 158, 11, 0.15);

    /* Text Colors */
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    /* Effects */
    --glow-cyan: 0 0 20px rgba(0, 212, 255, 0.4);
    --border-subtle: rgba(255, 255, 255, 0.06);

    /* Typography */
    --font-mono: 'JetBrains Mono', monospace;
    --font-sans: 'DM Sans', sans-serif;
}

/* ----------------------------------------------------------------
   About Page Wrapper - Global Overrides
   ---------------------------------------------------------------- */
.about-redesign {
    background: var(--bg-primary) !important;
    font-family: var(--font-sans);
    color: var(--text-primary);
    overflow-x: hidden;
}

/* Force dark background on all sections within about-redesign */
.about-redesign section {
    background: var(--bg-primary) !important;
}

/* ----------------------------------------------------------------
   PCB Pattern Background
   ---------------------------------------------------------------- */
.about-redesign .pcb-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image:
        linear-gradient(var(--accent-cyan) 1px, transparent 1px),
        linear-gradient(90deg, var(--accent-cyan) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 1;
}

/* Radial gradient overlay for hero-like sections */
.about-redesign .radial-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at 70% 50%, var(--accent-cyan-dim) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

/* ----------------------------------------------------------------
   Typography - Scoped to .about-redesign
   ---------------------------------------------------------------- */
.about-redesign h1,
.about-redesign h2,
.about-redesign h3,
.about-redesign h4,
.about-redesign h5,
.about-redesign h6 {
    font-family: var(--font-mono);
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.about-redesign h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.1;
}

.about-redesign h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    line-height: 1.2;
}

.about-redesign h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    line-height: 1.3;
}

.about-redesign p {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.about-redesign a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: color 0.3s ease;
}

.about-redesign a:hover {
    color: var(--accent-amber);
}

/* ----------------------------------------------------------------
   Section Header Pattern
   ---------------------------------------------------------------- */
.about-redesign .section-header {
    margin-bottom: 60px;
}

.about-redesign .section-header .label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-cyan);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-redesign .section-header .label::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--accent-cyan);
}

.about-redesign .section-header h2 {
    font-family: var(--font-mono);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.about-redesign .section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
}

/* Centered section header variant */
.about-redesign .section-header.text-center {
    text-align: center;
}

.about-redesign .section-header.text-center .label {
    justify-content: center;
}

.about-redesign .section-header.text-center .label::before {
    display: none;
}

.about-redesign .section-header.text-center .label::after {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--accent-cyan);
}

.about-redesign .section-header.text-center p {
    margin-left: auto;
    margin-right: auto;
}

/* ----------------------------------------------------------------
   Container Styles
   ---------------------------------------------------------------- */
.about-redesign .container {
    position: relative;
    z-index: 2;
}

/* ----------------------------------------------------------------
   Utility Classes
   ---------------------------------------------------------------- */
.about-redesign .text-cyan {
    color: var(--accent-cyan) !important;
}

.about-redesign .text-amber {
    color: var(--accent-amber) !important;
}

.about-redesign .text-muted {
    color: var(--text-muted) !important;
}

.about-redesign .bg-card {
    background: var(--bg-card) !important;
}

.about-redesign .bg-secondary {
    background: var(--bg-secondary) !important;
}

/* ----------------------------------------------------------------
   Hero Section
   ---------------------------------------------------------------- */
.about-redesign .about-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    background: var(--bg-primary) !important;
}

/* Radial gradient effect */
.about-redesign .about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at 70% 50%, var(--accent-cyan-dim) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

/* PCB pattern for hero */
.about-redesign .about-hero .pcb-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image:
        linear-gradient(var(--accent-cyan) 1px, transparent 1px),
        linear-gradient(90deg, var(--accent-cyan) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 1;
}

/* Hero content container */
.about-redesign .about-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 24px;
}

/* Hero label */
.about-redesign .about-hero .hero-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-cyan);
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.about-redesign .about-hero .hero-label::before,
.about-redesign .about-hero .hero-label::after {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--accent-cyan);
}

/* Hero title */
.about-redesign .about-hero .hero-title {
    font-family: var(--font-mono);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

/* Cyan highlight text within title */
.about-redesign .about-hero .hero-title .highlight {
    color: var(--accent-cyan);
}

/* Hero subtitle/description */
.about-redesign .about-hero .hero-subtitle {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Hero responsive adjustments */
@media (max-width: 768px) {
    .about-redesign .about-hero {
        min-height: 50vh;
        padding: 100px 0 60px;
    }

    .about-redesign .about-hero .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .about-redesign .about-hero .hero-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .about-redesign .about-hero {
        min-height: 40vh;
        padding: 80px 0 40px;
    }

    .about-redesign .about-hero .hero-label::before,
    .about-redesign .about-hero .hero-label::after {
        width: 16px;
    }
}

/* ----------------------------------------------------------------
   Company Info Section
   ---------------------------------------------------------------- */
.about-redesign .company-section {
    position: relative;
    padding: 100px 0;
    background: var(--bg-primary) !important;
    overflow: hidden;
}

/* PCB pattern for company section */
.about-redesign .company-section .pcb-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.02;
    background-image:
        linear-gradient(var(--accent-cyan) 1px, transparent 1px),
        linear-gradient(90deg, var(--accent-cyan) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 1;
}

/* Company content grid layout */
.about-redesign .company-section .company-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    position: relative;
    z-index: 2;
}

/* Company info column */
.about-redesign .company-section .company-info {
    padding-right: 20px;
}

.about-redesign .company-section .company-info p {
    font-family: var(--font-sans);
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.about-redesign .company-section .company-info p:last-child {
    margin-bottom: 0;
}

/* Lead paragraph styling */
.about-redesign .company-section .company-info .lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 32px;
    padding-left: 20px;
    border-left: 3px solid var(--accent-cyan);
}

/* Company stats/highlights column */
.about-redesign .company-section .company-highlights {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Highlight card styling */
.about-redesign .company-section .highlight-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 28px 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.about-redesign .company-section .highlight-card:hover {
    border-color: var(--accent-cyan);
    transform: translateX(8px);
}

/* Gradient accent line on hover */
.about-redesign .company-section .highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-cyan), var(--accent-amber));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-redesign .company-section .highlight-card:hover::before {
    opacity: 1;
}

.about-redesign .company-section .highlight-card h4 {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.about-redesign .company-section .highlight-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Company section image styling */
.about-redesign .company-section .company-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.about-redesign .company-section .company-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    filter: brightness(0.9);
    transition: filter 0.3s ease;
}

.about-redesign .company-section .company-image:hover img {
    filter: brightness(1);
}

/* Cyan glow overlay on image */
.about-redesign .company-section .company-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-cyan-dim) 0%, transparent 50%);
    pointer-events: none;
}

/* Company section responsive adjustments */
@media (max-width: 1024px) {
    .about-redesign .company-section {
        padding: 80px 0;
    }

    .about-redesign .company-section .company-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .about-redesign .company-section {
        padding: 60px 0;
    }

    .about-redesign .company-section .company-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-redesign .company-section .company-info {
        padding-right: 0;
    }

    .about-redesign .company-section .company-info p {
        font-size: 1rem;
    }

    .about-redesign .company-section .company-info .lead {
        font-size: 1.125rem;
    }

    .about-redesign .company-section .highlight-card {
        padding: 24px;
    }

    .about-redesign .company-section .highlight-card:hover {
        transform: translateX(4px);
    }
}

@media (max-width: 480px) {
    .about-redesign .company-section {
        padding: 40px 0;
    }

    .about-redesign .company-section .company-info .lead {
        padding-left: 16px;
        font-size: 1rem;
    }

    .about-redesign .company-section .highlight-card {
        padding: 20px;
    }
}

/* ----------------------------------------------------------------
   Process Cards Section - Bento Grid
   ---------------------------------------------------------------- */
.about-redesign .process-section {
    position: relative;
    padding: 100px 0;
    background: var(--bg-primary) !important;
    overflow: hidden;
}

/* PCB pattern for process section */
.about-redesign .process-section .pcb-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.02;
    background-image:
        linear-gradient(var(--accent-cyan) 1px, transparent 1px),
        linear-gradient(90deg, var(--accent-cyan) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 1;
}

/* Process grid - Bento layout */
.about-redesign .process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 2;
}

/* Process card base styling */
.about-redesign .process-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Process card hover state */
.about-redesign .process-card:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-4px);
}

/* Gradient accent line on hover */
.about-redesign .process-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-amber));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-redesign .process-card:hover::before {
    opacity: 1;
}

/* Process card number badge */
.about-redesign .process-card .process-number {
    font-family: var(--font-mono);
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-cyan);
    opacity: 0.15;
    line-height: 1;
    margin-bottom: 16px;
    transition: opacity 0.3s ease;
}

.about-redesign .process-card:hover .process-number {
    opacity: 0.3;
}

/* Alternative: Styled number badge */
.about-redesign .process-card .number-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--accent-cyan-dim);
    border: 1px solid var(--accent-cyan);
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-cyan);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.about-redesign .process-card:hover .number-badge {
    background: var(--accent-cyan);
    color: var(--bg-primary);
    box-shadow: var(--glow-cyan);
}

/* Process card icon */
.about-redesign .process-card .process-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-cyan-dim);
    border-radius: 12px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.about-redesign .process-card .process-icon i {
    font-size: 1.5rem;
    color: var(--accent-cyan);
    transition: color 0.3s ease;
}

.about-redesign .process-card:hover .process-icon {
    background: var(--accent-cyan);
}

.about-redesign .process-card:hover .process-icon i {
    color: var(--bg-primary);
}

/* Process card title */
.about-redesign .process-card .process-title,
.about-redesign .process-card h3 {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

/* Process card description */
.about-redesign .process-card .process-desc,
.about-redesign .process-card p {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0;
}

/* Featured/Large process card variant */
.about-redesign .process-card.featured {
    grid-column: span 2;
    padding: 40px;
}

.about-redesign .process-card.featured .process-title,
.about-redesign .process-card.featured h3 {
    font-size: 1.5rem;
}

/* Process card with step indicator */
.about-redesign .process-card .step-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.about-redesign .process-card .step-indicator .step-number {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.about-redesign .process-card .step-indicator::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-subtle);
}

/* Process section responsive adjustments */
@media (max-width: 1024px) {
    .about-redesign .process-section {
        padding: 80px 0;
    }

    .about-redesign .process-grid {
        gap: 20px;
    }

    .about-redesign .process-card {
        padding: 28px;
    }

    .about-redesign .process-card.featured {
        padding: 32px;
    }
}

@media (max-width: 768px) {
    .about-redesign .process-section {
        padding: 60px 0;
    }

    .about-redesign .process-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .about-redesign .process-card {
        padding: 24px;
    }

    .about-redesign .process-card:hover {
        transform: translateY(-2px);
    }

    .about-redesign .process-card.featured {
        grid-column: span 1;
        padding: 24px;
    }

    .about-redesign .process-card .process-number {
        font-size: 2.5rem;
    }

    .about-redesign .process-card .number-badge {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .about-redesign .process-card .process-icon {
        width: 48px;
        height: 48px;
    }

    .about-redesign .process-card .process-icon i {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .about-redesign .process-section {
        padding: 40px 0;
    }

    .about-redesign .process-card {
        padding: 20px;
    }

    .about-redesign .process-card .process-title,
    .about-redesign .process-card h3 {
        font-size: 1.125rem;
    }

    .about-redesign .process-card .process-desc,
    .about-redesign .process-card p {
        font-size: 0.875rem;
    }
}

/* ----------------------------------------------------------------
   Team Section
   ---------------------------------------------------------------- */
.about-redesign .team-section {
    position: relative;
    padding: 100px 0;
    background: var(--bg-primary) !important;
    overflow: hidden;
}

/* PCB pattern for team section */
.about-redesign .team-section .pcb-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.02;
    background-image:
        linear-gradient(var(--accent-cyan) 1px, transparent 1px),
        linear-gradient(90deg, var(--accent-cyan) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 1;
}

/* Team grid layout */
.about-redesign .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    position: relative;
    z-index: 2;
}

/* Team member card styling - Higher specificity to override legacy .team-members styles */
.about-redesign .team-member,
.about-redesign .team-members .team-member {
    background: var(--bg-card) !important;
    background-color: var(--bg-card) !important;
    border: 1px solid var(--border-subtle) !important;
    border-radius: 8px !important;
    overflow: hidden;
    transition: all 0.3s ease;
}

.about-redesign .team-member:hover,
.about-redesign .team-members .team-member:hover {
    border-color: var(--accent-cyan) !important;
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Team member image container */
.about-redesign .team-member .team-image,
.about-redesign .team-members .team-member .team-image {
    position: relative;
    overflow: hidden;
    margin-bottom: 0 !important;
}

.about-redesign .team-member .team-image img,
.about-redesign .team-members .team-member .team-image img,
.about-redesign .team-members .team-member .team-image > img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    filter: brightness(0.9);
    transition: all 0.3s ease;
    border-radius: 0 !important;
}

.about-redesign .team-member:hover .team-image img,
.about-redesign .team-members .team-member:hover .team-image img {
    filter: brightness(1);
    transform: scale(1.05);
}

/* Cyan glow overlay on image */
.about-redesign .team-member .team-image::after,
.about-redesign .team-members .team-member .team-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 60%, var(--bg-card) 100%);
    pointer-events: none;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.about-redesign .team-member:hover .team-image::after,
.about-redesign .team-members .team-member:hover .team-image::after {
    opacity: 0.3;
}

/* Team member description box - Higher specificity to override legacy styles */
.about-redesign .team-member .team-desc,
.about-redesign .team-members .team-member .team-desc {
    padding: 24px 20px !important;
    text-align: center;
    background: var(--bg-card) !important;
    background-color: var(--bg-card) !important;
}

.about-redesign .team-member .team-desc h3,
.about-redesign .team-members .team-member .team-desc h3,
.about-redesign .team-members .team-member .team-desc > h3 {
    font-family: var(--font-mono) !important;
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    color: var(--text-primary) !important;
    margin-bottom: 8px !important;
    letter-spacing: -0.02em !important;
    line-height: 1.4 !important;
}

.about-redesign .team-member .team-desc span,
.about-redesign .team-members .team-member .team-desc span,
.about-redesign .team-members .team-member .team-desc > span {
    font-family: var(--font-mono) !important;
    font-size: 0.85rem !important;
    color: var(--accent-cyan) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    line-height: 1.4 !important;
}

.about-redesign .team-member .team-desc p,
.about-redesign .team-members .team-member .team-desc p,
.about-redesign .team-members .team-member .team-desc > p {
    font-family: var(--font-sans) !important;
    font-size: 0.9rem !important;
    color: var(--text-secondary) !important;
    line-height: 1.6 !important;
    margin-top: 12px !important;
    margin-bottom: 0 !important;
}

/* Social links within team member */
.about-redesign .team-member .social-icons,
.about-redesign .team-members .team-member .social-icons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
}

.about-redesign .team-member .social-icons a,
.about-redesign .team-members .team-member .social-icons a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.about-redesign .team-member .social-icons a:hover,
.about-redesign .team-members .team-member .social-icons a:hover {
    background: var(--accent-cyan-dim);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

/* Override legacy .row styling for team-members within about-redesign */
.about-redesign .team-members.row {
    position: relative;
    z-index: 2;
}

/* Team section responsive adjustments */
@media (max-width: 1024px) {
    .about-redesign .team-section {
        padding: 80px 0;
    }

    .about-redesign .team-grid {
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .about-redesign .team-section {
        padding: 60px 0;
    }

    .about-redesign .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .about-redesign .team-member:hover,
    .about-redesign .team-members .team-member:hover {
        transform: translateY(-4px);
    }

    .about-redesign .team-member .team-desc,
    .about-redesign .team-members .team-member .team-desc {
        padding: 20px 16px !important;
    }

    .about-redesign .team-member .team-desc h3,
    .about-redesign .team-members .team-member .team-desc h3 {
        font-size: 1rem !important;
    }
}

@media (max-width: 480px) {
    .about-redesign .team-section {
        padding: 40px 0;
    }

    .about-redesign .team-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .about-redesign .team-member .team-desc,
    .about-redesign .team-members .team-member .team-desc {
        padding: 16px !important;
    }

    .about-redesign .team-member .team-desc h3,
    .about-redesign .team-members .team-member .team-desc h3 {
        font-size: 0.95rem !important;
    }

    .about-redesign .team-member .team-desc span,
    .about-redesign .team-members .team-member .team-desc span {
        font-size: 0.8rem !important;
    }
}

/* ----------------------------------------------------------------
   Legacy Element Overrides
   ----------------------------------------------------------------
   Hide legacy inspiro-slider and other template elements that
   conflict with the modern Circuit Noir design
   ---------------------------------------------------------------- */

/* Hide legacy inspiro-slider completely within about-redesign */
.about-redesign .inspiro-slider,
.about-redesign #slider,
.about-redesign .slider-wrapper,
.about-redesign .slide-captions,
.about-redesign .flickity-slider {
    display: none !important;
}

/* Override legacy box-fancy styles */
.about-redesign .box-fancy {
    background: var(--bg-card) !important;
    border: none !important;
}

/* Override legacy background-grey/background-light classes */
.about-redesign .background-grey,
.about-redesign .background-light {
    background: var(--bg-primary) !important;
}

/* Override body-inner for about page to ensure dark background */
.body-inner:has(.about-redesign) {
    background: var(--bg-primary) !important;
}

/* Fallback for browsers that don't support :has() */
.about-redesign ~ *,
.about-redesign * {
    /* Ensure no unexpected white backgrounds appear */
}

/* Override any col-lg classes within about-redesign */
.about-redesign [class*="col-"] {
    background: transparent !important;
}

/* Override legacy heading colors to ensure light text on dark background */
.about-redesign h1:not(.hero-title),
.about-redesign h2:not(.hero-title),
.about-redesign h3:not(.hero-title),
.about-redesign h4:not(.hero-title),
.about-redesign h5,
.about-redesign h6 {
    color: var(--text-primary) !important;
}

/* Override any legacy span elements that might have dark text */
.about-redesign .highlight-card span,
.about-redesign .process-card span,
.about-redesign .company-info span {
    color: var(--text-secondary) !important;
}

/* Ensure all paragraphs have readable light text */
.about-redesign p {
    color: var(--text-secondary) !important;
}

/* Special override for lead paragraphs */
.about-redesign .lead {
    color: var(--text-primary) !important;
}

/* Override any links that might have dark text */
.about-redesign a:not(.btn):not([class*="social"]) {
    color: var(--accent-cyan) !important;
}

.about-redesign a:not(.btn):not([class*="social"]):hover {
    color: var(--accent-amber) !important;
}

/* Override any list items */
.about-redesign li {
    color: var(--text-secondary) !important;
}

/* Override strong/bold text */
.about-redesign strong,
.about-redesign b {
    color: var(--text-primary) !important;
}

/* ----------------------------------------------------------------
   Global Responsive Breakpoints
   ----------------------------------------------------------------
   These are consolidated global adjustments for all sections
   ---------------------------------------------------------------- */

/* Large Tablets and Small Desktops (1200px) */
@media (max-width: 1200px) {
    .about-redesign .section-header {
        margin-bottom: 48px;
    }

    .about-redesign .section-header h2 {
        font-size: clamp(1.5rem, 4vw, 2.25rem);
    }
}

/* Tablets (1024px) */
@media (max-width: 1024px) {
    .about-redesign .section-header {
        margin-bottom: 40px;
    }

    .about-redesign .section-header p {
        font-size: 1rem;
    }

    /* Reduce padding on all sections */
    .about-redesign section {
        padding: 80px 0 !important;
    }
}

/* Mobile Landscape and Small Tablets (768px) */
@media (max-width: 768px) {
    .about-redesign .section-header {
        margin-bottom: 32px;
        text-align: center;
    }

    .about-redesign .section-header .label {
        justify-content: center;
    }

    .about-redesign .section-header .label::before {
        display: none;
    }

    .about-redesign .section-header p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    /* Reduce section padding for mobile */
    .about-redesign section {
        padding: 60px 0 !important;
    }

    /* Typography adjustments */
    .about-redesign h1 {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }

    .about-redesign h2 {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .about-redesign h3 {
        font-size: clamp(1.125rem, 4vw, 1.375rem);
    }

    .about-redesign p {
        font-size: 0.95rem;
        line-height: 1.65;
    }
}

/* Mobile Portrait (480px) */
@media (max-width: 480px) {
    .about-redesign .section-header {
        margin-bottom: 24px;
    }

    .about-redesign .section-header .label {
        font-size: 0.7rem;
        letter-spacing: 0.15em;
    }

    /* Further reduce section padding on small screens */
    .about-redesign section {
        padding: 40px 0 !important;
    }

    /* Container padding */
    .about-redesign .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* Typography for small screens */
    .about-redesign h1 {
        font-size: clamp(1.5rem, 8vw, 2rem);
    }

    .about-redesign h2 {
        font-size: clamp(1.25rem, 6vw, 1.75rem);
    }

    .about-redesign p {
        font-size: 0.9rem;
    }

    /* Reduce hover effect intensity on touch devices */
    .about-redesign .process-card:hover,
    .about-redesign .team-member:hover,
    .about-redesign .highlight-card:hover {
        transform: none;
    }
}

/* Extra Small Devices (375px) */
@media (max-width: 375px) {
    .about-redesign .section-header .label {
        font-size: 0.65rem;
    }

    .about-redesign .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    /* Stack any remaining inline elements */
    .about-redesign .process-card .step-indicator {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .about-redesign .process-card .step-indicator::after {
        width: 100%;
    }
}
