/* ==========================================================================
   TIMVEST WHAT WE BUILD STYLES (whatWeBuild.css)
   ========================================================================== */

/* --------------------------------------------------------------------------
   GLOBAL DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
    --bg-dark: #0d0d0d;
    --bg-card: #141414;
    --bg-card-alt: #1a1a1a;
    --brand-pill: #c8102e;
    --brand-red: #c8102e;
    --brand-red-hover: #a00c23;
    --accent-gold: #c8a362;
    --text-white: #ffffff;
    --text-black: #000000;
    --text-muted: rgba(255, 255, 255, 0.78);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --font-heading: 'Cinzel', 'Playfair Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --header-bg: transparent;
    --footer-bg: #050505;
    --input-bg: rgba(255, 255, 255, 0.08);
    --nav-text: rgba(255, 255, 255, 0.85);
    --nav-hover: #ffffff;
    --pill-text: #ffffff;
}

/* ==========================================================================
   PER-PILLAR COLOR CONTROLS (CUSTOMIZE EACH SECTION HERE)
   ========================================================================== */

/* 01. EDUCATION PILLAR (#education) */
#education {
    --pillar-bg: #f7f5ef;                      /* Section background */
    --pillar-title: #0d0d0d;                   /* Main heading color */
    --pillar-text: #0d0d0d;  /* Body paragraph color */
    --pillar-accent: #c8102e;                  /* Eyebrows, numbers, list markers c8a362*/
    --pillar-card-bg: #141414;                 /* Inner cards background */
    --pillar-card-title: #ffffff;              /* Card title color */
    --pillar-card-text: rgba(255, 255, 255, 0.78); /* Card text color */
    --pillar-card-border: rgba(255, 255, 255, 0.08); /* Card border color */
}

/* 02. ENTERPRISE PILLAR (#enterprise) */
#enterprise {
    --pillar-bg: #0f0f0f;
    --pillar-title: #ffffff;
    --pillar-text: rgba(255, 255, 255, 0.78);
    --pillar-accent: #c8a362;                  /* Highlight color for this section c8102e*/
    --pillar-card-bg: #161616;
    --pillar-card-title: #ffffff;
    --pillar-card-text: rgba(255, 255, 255, 0.78);
    --pillar-card-border: rgba(255, 255, 255, 0.08);
}

/* 03. FINANCIAL SERVICES PILLAR (#financial-services) */
#financial-services {
    --pillar-bg: #f7f5ef;
    --pillar-title: #0d0d0d;
    --pillar-text: #0d0d0d;
    --pillar-accent: #c8102e;
    --pillar-card-bg: #141414;
    --pillar-card-title: #ffffff;
    --pillar-card-text: rgba(255, 255, 255, 0.78);
    --pillar-card-border: rgba(255, 255, 255, 0.08);
}

/* 04. PROPERTY & INFRASTRUCTURE PILLAR (#infrastructure) */
#infrastructure {
    --pillar-bg: #0d0d0d;
    --pillar-title: #ffffff;
    --pillar-text: rgba(255, 255, 255, 0.78);
    --pillar-accent: #c8a362;
    --pillar-card-bg: #161616;
    --pillar-card-title: #ffffff;
    --pillar-card-text: rgba(255, 255, 255, 0.78);
    --pillar-card-border: rgba(255, 255, 255, 0.08);
}

/* 05. MANUFACTURING & SUPPLY PILLAR (#manufacturing) */
#manufacturing {
    --pillar-bg: #f7f5ef;
    --pillar-title: #0d0d0d;
    --pillar-text: #0d0d0d;
    --pillar-accent: #c8102e;
    --pillar-card-bg: #141414;
    --pillar-card-title: #ffffff;
    --pillar-card-text: rgba(255, 255, 255, 0.78);
    --pillar-card-border: rgba(255, 255, 255, 0.08);
}

/* 06. SOCIAL IMPACT PILLAR (#social-impact) */
#social-impact {
    --pillar-bg: #0f0f0f;
    --pillar-title: #ffffff;
    --pillar-text: rgba(255, 255, 255, 0.78);
    --pillar-accent: #c8a362;
    --pillar-card-bg: #161616;
    --pillar-card-title: #ffffff;
    --pillar-card-text: rgba(255, 255, 255, 0.78);
    --pillar-card-border: rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   BASE & LAYOUT STYLES
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: start;
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--pillar-accent, var(--accent-gold));
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.35rem;
    font-weight: 500;
    line-height: 1.2;
    color: var(--pillar-title, var(--text-white));
    margin-bottom: 1.25rem;
}

.body-text {
    font-size: 1.05rem;
    color: var(--pillar-text, var(--text-muted));
    line-height: 1.7;
}

.margin-top-md {
    margin-top: 2rem;
}

.margin-top-lg {
    margin-top: 3.5rem;
}

.text-center {
    text-align: center;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.hero-wrapper {
    position: relative;
    min-height: 60vh;
    background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.85) 100%), 
                url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    display: flex;
    flex-direction: column;
}

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.75rem 0;
    background: var(--header-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-slot {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-slot img {
    height: 70px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-text-fallback {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 0.1em;
}

.main-navigation {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2.25rem;
    list-style: none;
}

.nav-link {
    color: var(--nav-text);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--nav-hover);
}

.header-actions {
    display: flex;
    align-items: center;
}

.btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--brand-pill);
    color: var(--pill-text);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.65rem 1.6rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-height: 44px;
}

.btn-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 16, 46, 0.3);
    background-color: var(--brand-red-hover);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--nav-text);
    margin: 5px 0;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.about-hero {
    padding: 7rem 0 5rem 0;
    border-bottom: 1px solid var(--border-subtle);
    background: radial-gradient(circle at 80% 20%, rgba(200, 163, 98, 0.05) 0%, transparent 60%);
}

.hero-headline {
    font-family: var(--font-heading);
    font-size: 3.25rem;
    font-weight: 500;
    line-height: 1.15;
    margin-bottom: 2rem;
    max-width: 1050px;
}

.hero-headline .highlight {
    color: var(--accent-gold);
}

.hero-intro {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 880px;
    line-height: 1.7;
}

/* ==========================================================================
   PURPOSE & INTEGRATED VALUE
   ========================================================================== */
.purpose-conviction-section {
    background-color: #080808;
    padding: 4.5rem 0;
    border-bottom: 1px solid var(--border-subtle);
}

.conviction-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-left: 3px solid var(--brand-red);
    padding: 3rem;
    border-radius: 4px;
}

.card-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--pillar-accent, var(--brand-red));
    margin-bottom: 1rem;
    display: block;
}

.large-quote {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-white);
    line-height: 1.5;
}

/* ==========================================================================
   PILLARS QUICK NAV
   ========================================================================== */
.pillars-quicknav-section {
    background: var(--bg-card-alt);
    border-bottom: 1px solid var(--border-subtle);
    padding: 1.25rem 0;
    position: sticky;
    top: 0px;
    z-index: 900;
}

.pillars-nav-grid {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    overflow-x: auto;
    white-space: nowrap;
}

.pillar-nav-item {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.pillar-nav-item span {
    color: var(--accent-gold);
    margin-right: 0.3rem;
}

.pillar-nav-item:hover {
    color: var(--text-white);
}

/* ==========================================================================
   PILLAR SECTIONS (DYNAMIC THEMING INTEGRATION)
   ========================================================================== */
#education, 
#enterprise, 
#financial-services, 
#infrastructure, 
#manufacturing, 
#social-impact {
    background-color: var(--pillar-bg);
    color: var(--pillar-text);
    padding: 6rem 0;
    border-bottom: 1px solid var(--border-subtle);
}

.pillar-header-block {
    max-width: 900px;
}

.diff-number {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--pillar-accent);
    margin-bottom: 0.5rem;
    display: block;
    font-weight: 700;
}

.diff-card {
    background-color: var(--pillar-card-bg);
    border: 1px solid var(--pillar-card-border);
    padding: 2.25rem;
    border-radius: 4px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.diff-card h3 {
    color: var(--pillar-card-title);
    font-family: var(--font-heading);
    margin-bottom: 0.75rem;
}

.diff-card p {
    color: var(--pillar-card-text);
}

.diff-card:hover {
    border-color: var(--pillar-accent);
}

.bullet-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.bullet-list li {
    position: relative;
    padding-left: 1.25rem;
    color: var(--pillar-card-text);
    font-size: 0.95rem;
}

.bullet-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--pillar-accent);
    font-weight: bold;
}

.vm-card {
    background: var(--pillar-card-bg);
    border: 1px solid var(--pillar-card-border);
    padding: 2.5rem;
    border-radius: 6px;
}

.vm-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--pillar-accent);
    display: block;
    margin-bottom: 1rem;
}

.vm-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--pillar-card-title);
    margin-bottom: 0.85rem;
}

.vm-card p {
    color: var(--pillar-card-text);
}

.capability-tags-wrapper {
    margin-top: 1.75rem;
    border-top: 1px solid var(--pillar-card-border);
    padding-top: 1.25rem;
}

.tags-title {
    font-size: 0.8rem;
    color: var(--pillar-card-text);
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.tags-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pill {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--pillar-card-text);
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--pillar-card-border);
    padding: 0.4rem 0.85rem;
    border-radius: 20px;
}

.horizon-card {
    background: var(--pillar-card-bg);
    border: 1px solid var(--pillar-card-border);
    border-left: 3px solid var(--pillar-accent);
    padding: 2.5rem;
    border-radius: 4px;
}

.horizon-body {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--pillar-card-text);
}

.regulatory-card {
    background: #181112;
    border: 1px solid rgba(200, 16, 46, 0.3);
    padding: 2rem;
    border-radius: 4px;
}

/* ==========================================================================
   IMPACT FRAMEWORK TABLE
   ========================================================================== */
.milestones-wrapper {
    background: var(--pillar-card-bg);
    border: 1px solid var(--pillar-card-border);
    padding: 3rem;
    border-radius: 6px;
}

.milestones-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1.75rem;
    color: var(--pillar-accent);
}

.table-responsive {
    overflow-x: auto;
}

.impact-framework-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.impact-framework-table th {
    padding: 1rem;
    border-bottom: 1px solid var(--pillar-card-border);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    color: var(--pillar-accent);
    text-transform: uppercase;
}

.impact-framework-table td {
    padding: 1.2rem 1rem;
    border-bottom: 1px solid var(--pillar-card-border);
    font-size: 0.95rem;
    color: var(--pillar-card-text);
}

.impact-framework-table td strong {
    color: var(--pillar-card-title);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background-color: var(--footer-bg);
    padding: 5rem 0 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.footer-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-brand-col .logo-slot img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.footer-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.footer-address {
    font-size: 1.5rem;
    line-height: 1.3;
    font-weight: 600;
    color: #ffffff;
    max-width: 440px;
    letter-spacing: -0.02em;
    margin-top: 0.35rem;
}

.newsletter-box {
    margin-top: 1rem;
    max-width: 440px;
}

.newsletter-label {
    display: block;
    font-size: 0.85rem;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.newsletter-input-wrap {
    background-color: var(--input-bg);
    border-radius: 100px;
    padding: 5px 6px 5px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.newsletter-input-wrap input {
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 0.9rem;
    width: 100%;
}

.newsletter-input-wrap input::placeholder {
    color: var(--text-muted);
}

.btn-newsletter {
    background-color: #ffffff;
    color: #111111;
    border: none;
    border-radius: 50px;
    padding: 0.65rem 1.6rem;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: opacity 0.2s ease;
    white-space: nowrap;
}

.btn-newsletter:hover {
    opacity: 0.9;
}

.newsletter-consent {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 1rem;
    line-height: 1.5;
}

.newsletter-consent a {
    color: #ffffff;
    text-decoration: underline;
}

.footer-col h4 {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.footer-col a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: var(--brand-pill);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.copyright-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.compliance-disclaimer {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.6;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
    .grid-2col {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .hero-headline {
        font-size: 2.5rem;
    }
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
    .nav-list {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    .hero-headline {
        font-size: 2rem;
    }
    .footer-top {
        grid-template-columns: 1fr;
    }
}