/* ============================================
   CN Dataworks Secondary Pages CSS
   About & Services pages - plain light background
   with modern card styling.
   ============================================ */

/* === CSS Custom Properties === */
:root {
    /* Brand Colors - matching homepage */
    --primary: #404041;
    --secondary: #F6EDE3;
    --dark: #2963A2;

    /* Industrial Palette */
    --accent-gold: #C9A962;
    --accent-gold-light: #D4B978;
    --accent-steel: #5A7D9A;
    --concrete: #64748b;
    --slate-steel: #475569;

    /* Light theme palette */
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --text-dark: #1a1a1a;
    --text-muted: #6c757d;
    --border-light: rgba(0, 0, 0, 0.08);

    /* Spacing */
    --section-padding: 80px;
    --section-padding-mobile: 40px;

    /* Typography */
    --font-display: 'Outfit', sans-serif;
    --font-body: 'DM Sans', sans-serif;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
}

/* === Base Styles === */
.secondary-content {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-light);
}

.secondary-content h1,
.secondary-content h2,
.secondary-content h3,
.secondary-content h4 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text-dark);
}

/* === Hero Section === */
.page-hero {
    padding: 80px 20px 20px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

.page-hero-container {
    max-width: 800px;
    margin: 0 auto;
}

.page-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.page-hero .hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.6;
}

/* Section Label Badge */
.section-label {
    display: inline-block;
    background: rgba(41, 99, 162, 0.1);
    color: var(--dark);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

/* Industry Badges */
.industry-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.industry-badges span {
    background: var(--bg-white);
    color: var(--text-dark);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-light);
}

.industry-badges span i {
    color: var(--accent-gold);
}

/* === Content Sections === */
.content-section {
    padding: 24px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* === Expertise Grid (About Page) === */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.expertise-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-light);
    transition: all var(--transition-medium);
}

.expertise-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.expertise-card .card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--dark), #1e4d7a);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.expertise-card .card-icon i {
    font-size: 1.6rem;
    color: white;
}

.expertise-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.expertise-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* === Industries Section (About Page) === */
.industries-section {
    text-align: center;
    margin-top: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-light);
}

.industries-heading {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

/* === Content Card (General Purpose) === */
.content-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-light);
    margin-bottom: 24px;
}

.content-card h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.content-card p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

.content-card p:last-child {
    margin-bottom: 0;
}

/* === Approach Section (About Page) === */
.approach-section {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 48px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    margin-bottom: 60px;
}

.approach-section h2 {
    text-align: center;
    margin-bottom: 24px;
}

.approach-section .lead {
    font-size: 1.15rem;
    color: var(--text-muted);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.approach-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.approach-card {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 24px;
}

.approach-card h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.approach-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* === Help Cards Grid (About Page) === */
.help-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.help-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-light);
    transition: all var(--transition-medium);
}

.help-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.help-card .card-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.help-card .card-header i {
    color: var(--accent-gold);
    font-size: 1.2rem;
    margin-top: 4px;
}

.help-card h4 {
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.4;
}

.help-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* === Founder Section === */
.founder-section {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 48px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    margin-bottom: 60px;
}

.founder-container {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    align-items: center;
}

.founder-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--accent-gold);
}

.founder-content h2 {
    font-size: 1.8rem;
    margin-bottom: 4px;
}

.founder-title {
    color: var(--dark);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 20px;
}

.founder-bio {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.founder-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.founder-tags span {
    background: rgba(41, 99, 162, 0.1);
    color: var(--dark);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* === Services Hero Cards === */
.services-hero-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

.service-nav-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-light);
    transition: all var(--transition-medium);
    text-decoration: none;
    color: inherit;
}

.service-nav-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--dark);
    color: inherit;
    text-decoration: none;
}

.service-nav-card .card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--dark), #1e4d7a);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.service-nav-card .card-icon i {
    font-size: 1.4rem;
    color: white;
}

.service-nav-card h3 {
    font-size: 1rem;
    margin: 0;
    line-height: 1.4;
}

/* === Service Section (Detailed) === */
.service-section {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    margin-bottom: 32px;
}

.service-section h2 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    text-align: center;
}

.service-section .lead {
    font-size: 1.1rem;
    color: var(--text-muted);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.service-content.single-column {
    grid-template-columns: 1fr;
}

.service-content p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

.service-content ul {
    color: var(--text-muted);
    line-height: 1.8;
    padding-left: 20px;
}

.service-content ul li {
    margin-bottom: 8px;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-muted);
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list li strong {
    color: var(--text-dark);
    display: block;
    margin-bottom: 4px;
}

.service-list li i {
    color: var(--dark);
    margin-right: 8px;
}

/* Service Image */
.service-image {
    text-align: center;
}

.service-image img {
    max-width: 100%;
    border-radius: 12px;
}

/* === Snowflake Partner Badge === */
.partner-badge-section {
    max-width: 900px;
    margin: 0 auto 32px;
    padding: 0 20px;
}

.partner-badge {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border: 2px solid rgba(41, 99, 162, 0.2);
    display: flex;
    align-items: center;
    gap: 32px;
}

.partner-badge img {
    width: 140px;
    height: auto;
    border-radius: 8px;
}

.partner-badge-text h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.partner-badge-text p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* === CTA Section === */
.page-cta {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-white);
    border-radius: 20px;
    margin: 40px auto;
    max-width: 700px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.page-cta h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.page-cta p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.page-cta .btn-primary {
    background: var(--accent-gold);
    color: #1a1a1a;
    padding: 16px 48px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition-medium);
}

.page-cta .btn-primary:hover {
    background: var(--accent-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(201, 169, 98, 0.3);
}

/* === Responsive Design === */
@media (max-width: 1000px) {
    .expertise-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .approach-content {
        grid-template-columns: 1fr;
    }

    .help-grid {
        grid-template-columns: 1fr;
    }

    .founder-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }

    .founder-image {
        display: flex;
        justify-content: center;
    }

    .founder-tags {
        justify-content: center;
    }

    .services-hero-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-content {
        grid-template-columns: 1fr;
    }

    .partner-badge {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 640px) {
    :root {
        --section-padding: 24px;
    }

    .page-hero {
        padding: 70px 20px 16px;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

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

    .industry-badges span {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .services-hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .service-nav-card {
        padding: 16px;
    }

    .service-nav-card .card-icon {
        width: 48px;
        height: 48px;
    }

    .service-nav-card h3 {
        font-size: 0.9rem;
    }

    .approach-section,
    .founder-section,
    .service-section {
        padding: 28px 20px;
    }

    .founder-image img {
        width: 150px;
        height: 150px;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .page-cta {
        padding: 40px 20px;
        margin: 20px;
    }

    .page-cta h2 {
        font-size: 1.6rem;
    }
}
